The confget utility examines a INI-style configuration file and retrieves
the value of the specified variables from the specified section.
Its intended use is to let shell scripts use the same INI-style
configuration files as other programs, to avoid duplication of data.
The confget utility may retrieve the values of one or more variables,
list all the variables in a specified section, list only those whose names
or values match a specified pattern (shell glob or regular expression), or
check if a variable is present in the file at all. It has a "shell-quoting"
output mode that quotes the variable values in a way suitable for passing
them directly to a Bourne-style shell.
===> The following configuration options are available for confget-5.1.2:
EXAMPLES=on: Build and/or install examples
PCRE=on: Use Perl Compatible Regular Expressions
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Update to 2.3.0
Changes: http://devel.ringlet.net/textproc/confget/CHANGES
- fix a typographical error in the previous changelog entry
- also exclude the PyPy implementation from the check for too many long options
in the 14-bespoke-too-many test
- Python implementation:
- reformat the source code using the black tool
- handle input encodings correctly for the standard input
- add the get_parser() method to return a ConfigParser object
- make the unit tests less verbose
- move the configuration for the black, flake8, and pylint tools out of
tox.ini into other configuration files
- C implementation:
- show the correct version number in the "-q features" output
Update to 2.2.0
Changes: http://devel.ringlet.net/textproc/confget/CHANGES
- add a Python implementation: a confget library that may also be invoked from
the command line with the same inteface as the C confget tool
- generate the TAP tests automatically from JSON definitions
Update to 2.1.0
Changes: http://devel.ringlet.net/textproc/confget/CHANGES
- allow the installation commands to be overridden, e.g. for package builds
which do not require root privileges
- add "-q features" and "-q feature NAME" with only the "BASE" feature defined
so far
- support "--help" and "--version"
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends
With hat: portmgr
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
Add a port of confget-1.01, a simple tool to read variables from
configuration files and display their values in a way suitable for
use in shell scripts.