ROBSD-CONFIG(8)

NAME
robsd-config - robsd configuration utility

SYNOPSIS
robsd-config -m mode [-v var=val] [-]

DESCRIPTION
The robsd-config utility parses the configuration for all robsd utilities. In addition, lines read from standard input are interpolated and written to standard output. Interpolation allows configuration variables on the form ${variable} to be substituted with the corresponding value. The following additional variables are also available during interpolation for all modes:

arch
    CPU architecture.
builddir
    The current invocation directory rooted in robsddir.
comment-path
    Path to comment rooted in builddir.
inet
    inet(4) address associated with the egress interface.
inet6
    inet6(4) address associated with the egress interface.
machine
    Kernel architecture.
ncpu
    Number of online processors.
keep-dir
    Directory used by robsd-clean(8) while cleaning out old invocations.
tmp-dir
    Temporary directory rooted in builddir.

Additional variables in robsd mode:

bsd-reldir
    Release directory for the src tree rooted in builddir.
x11-reldir
    Release directory for the xenocara tree rooted in builddir.

Additional variables in robsd-cross mode:

target
    The target argument passed to robsd-cross(8).

Additional variables in robsd-regress mode:

rdomain
    Unique rdomain(4), incremented on every reference.
regress
    All configured regression tests.
regress-obj
    Additional directories requiring an object directory.
regress-*-env
    Environment variables for a given regression test.
regress-*-quiet
    Quiet option for a given regression test.
regress-*-root
    Root option for a given regression test.

The options are as follows:

-m mode
    Mode used to indicate the kind of configuration.

-v var=val
    Define an additional configuration variable available during interpolation.

-   Read and interpolate lines from standard input.

EXAMPLES

    $ echo '${regress}' | robsd-config -m robsd-regress -
    bin/csh bin/ksh sys/nfs
    $ echo '${regress-sys/nfs-root}' | robsd-config -m robsd-regress -
    1

DIAGNOSTICS

SEE ALSO
robsd-cross.conf(5), robsd-ports.conf(5), robsd-regress.conf(5), robsd.conf(5)

AUTHORS
Anton Lindqvist <anton@basename.se>