textproc/confget 5.1.2 FreeBSD
Read variables from INI-style configuration files
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- textproc
- Package size
- 12.4 KiB, 22.6 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/confget | 5.1.2 |
| DragonFly | textproc/confget | 5.1.2 |
| HardenedBSD | textproc/confget | 5.1.2 |
| GhostBSD | textproc/confget | 5.1.2 |
Install
Binary package:
pkg install confget
From the ports tree:
cd /usr/ports/textproc/confget/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= confget>0:textproc/confget
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.1.2 | 5.1.2 | 4.1.1 | 5.1.2 | 5.1.2 |
| FreeBSD:14:quarterly | 5.1.2 | 5.1.2 | n/a | 5.1.2 | 5.1.2 |
| FreeBSD:15:latest | 5.1.2 | 5.1.2 | n/a | 5.1.2 | 5.1.2 |
| FreeBSD:15:quarterly | 5.1.2 | 5.1.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.1.2 | 5.1.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 1
No port depends on this one.
Configuration
Options name: textproc_confget
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off | Build and/or install examples |
| PCRE | on | Use Perl Compatible Regular Expressions |
- USES
- gmake tar:xz
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| confget-5.1.2.tar.xz | 60764 | e4c94b01ff2f88c952377721ff3f63bb641124fb101ab00f730682a33556ae2f |
Master sites 1
- https://devel.ringlet.net/files/textproc/confget/
Commit history 0
No commits in the history this site was built from.