gnunet-config - manipulate GNUnet configuration files and provide information on how GNUnet was built


GNUNET-CONFIG(1) General Commands Manual GNUNET-CONFIG(1)

NAME

gnunet-config — manipulate GNUnet configuration files and provide information on how GNUnet was built

SYNOPSIS

gnunet-config [−b BACKEND −-supported-backend=BACKEND] [−C −-cflags] [−c FILENAME −-config=FILENAME] [−F −-full] [−f −-filename] [−h −-help] [−j −-libs] [−L LOGLEVEL −-loglevel=LOGLEVEL] [−o OPTION −-option=OPTION] [−p −-prefix] [−r −-rewrite] [−S −|-list-sections] [−s SECTION −-section=SECTION] [−V VALUE −-value VALUE] [−v −-version]

DESCRIPTION

gnunet-config can be used to read or modify GNUnet configuration files. It can also provide information to properly build applications on top of GNUnet, like appropriate values for CFLAGS or the installation prefix.

−b BACKEND | −-supported-backend=BACKEND

Tests whether the specified BACKEND is supported by the current installation. The backend must match the name of a plugin, e.g. "namestore_postgres" for the Postgres database backend of the "NAMESTORE" service. If the BACKEND is supported, gnunet-config will return a status code of 0 (success), otherwise 77 (unsupported). When this option is specified, no other options may be specified. Specifying this option together with other options will cause gnunet-config to return a status code of 1 (error).

−C | −-cflags

Print an appropriate value for CFLAGS to compile applications on top of GNUnet.

−c FILENAME | −-config=FILENAME

Use the configuration file FILENAME.

−F | −-full

Write the full configuration, not just the deltas to the defaults.

−f | −-filename

Try to perform expansions as if the option values represent filenames (will also be applied even if the option is not really a filename).

−h | −-help

Print short help on options.

−j | −-libs

Print an appropriate value for LIBS to compile applications on top of GNUnet.

−L LOGLEVEL | −-loglevel=LOGLEVEL

Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.

−o OPTION | −-option=OPTION

Which configuration option should be accessed or edited. Required to set a value. If not given, all values of a given section will be printed in the format "OPTION = VALUE".

−p | −-prefix

Print GNUnet’s installation prefix (for example /usr/local.)

−r | −-rewrite

Write the configuration to file, even if it did not change.

−S −|-list-sections

List available configuration sections for use with --section.

−s SECTION | −-section=SECTION

Which configuration section should be accessed or edited. Required option.

−V VALUE | −-value VALUE

Configuration value to store in the given section under the given option. Must only be given together with -s and -o options.

−v | −-version

Print GNUnet version number.

SEE ALSO

The full documentation for gnunet is maintained as a Texinfo manual. If the info(1) and gnunet programs are properly installed at your site, the command

info gnunet

should give you access to the complete handbook,

info gnunet-c-tutorial

will give you access to a tutorial for developers.

Depending on your installation, this information is also available in gnunet(7) and gnunet-c-tutorial(7).

BUGS

Report bugs by using https://bugs.gnunet.org or by sending electronic mail to ⟨[email protected]⟩. GNU July 15, 2012 GNUNET-CONFIG(1)


Updated 2024-01-29 - jenkler.se | uex.se