devel/dotconf 1.3 MidnightBSD
Simple, powerful configuration-file parser
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- lgpl2.1
- Categories
- devel
Description
dot.conf is a simple configuration-file parser library written in C. The configuration files created for dot.conf look very similar to those used by the Apache Webserver. Even Container-Directives known from httpd.conf can easily be used in the exact same manner as for Apache-Modules. It supports various types of arguments, dynamically loadable modules that create their own configuration options on-the-fly, a here-documents feature to pass very long ARG_STR data to your app, ${NAME:-default} style environment variable substitution for arguments, and on-the-fly inclusion of additional config files. Some behaviour can be toggled with flags at runtime. To keep dotconf from printing out warnings, you can install your own customized error handler.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/dotconf | 1.3 |
| FreeBSD | devel/dotconf | 1.4.1_1 |
| OpenBSD | devel/dotconf | 1.3p0 |
| NetBSD | devel/dotconf | 1.4.1 |
| DragonFly | devel/dotconf | 1.4.1_1 |
| HardenedBSD | devel/dotconf | 1.4.1_1 |
| GhostBSD | devel/dotconf | 1.4.1_1 |
Install
Binary package:
mport install dotconf
From mports:
cd /usr/mports/devel/dotconf && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= dotconf>0:devel/dotconf
LIB_DEPENDS= libdotconf.so:devel/dotconf
Dependencies
Required by 1
Configuration
Options name: devel_dotconf
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| EXAMPLES | off |
- USES
- pathfix pkgconfig libtool
- Service scripts
- none
Files
pkg-plist 55
- include/dotconf.h
- lib/libdotconf.a
- lib/libdotconf.so
- lib/libdotconf.so.0
- lib/libdotconf.so.0.0.1
- libdata/pkgconfig/dotconf.pc
- share/doc/dotconf/dotconf-api.txt
- share/doc/dotconf/dotconf-features.txt
- share/examples/dotconf/README
- share/examples/dotconf/argdouble/Makefile
- share/examples/dotconf/argdouble/argdouble.c
- share/examples/dotconf/argdouble/argdouble.conf
- share/examples/dotconf/argdouble/output
- share/examples/dotconf/caseinsensitive/Makefile
- share/examples/dotconf/caseinsensitive/caseinsensitive.c
- share/examples/dotconf/caseinsensitive/caseinsensitive.conf
- share/examples/dotconf/caseinsensitive/output
- share/examples/dotconf/context/Makefile
- share/examples/dotconf/context/context.c
- share/examples/dotconf/context/context.conf
- share/examples/dotconf/context/output
- share/examples/dotconf/duplicates/Makefile
- share/examples/dotconf/duplicates/duplicate.c
- share/examples/dotconf/duplicates/first_module.c
- share/examples/dotconf/duplicates/output
- share/examples/dotconf/duplicates/sample.conf
- share/examples/dotconf/duplicates/second_module.c
- share/examples/dotconf/errorhandler/Makefile
- share/examples/dotconf/errorhandler/errorhandler.c
- share/examples/dotconf/errorhandler/errorhandler.conf
- share/examples/dotconf/errorhandler/output
- share/examples/dotconf/fallback/Makefile
- share/examples/dotconf/fallback/fallback.c
- share/examples/dotconf/fallback/fallback.conf
- share/examples/dotconf/fallback/output
- share/examples/dotconf/libpool/Makefile
- share/examples/dotconf/libpool/libpool.h
- share/examples/dotconf/libpool/pool.c
- share/examples/dotconf/maketest.sh
- share/examples/dotconf/modules/Makefile
- share/examples/dotconf/modules/include.conf
- share/examples/dotconf/modules/module.c
- share/examples/dotconf/modules/my_module.c
- share/examples/dotconf/modules/output
- share/examples/dotconf/modules/sample.conf
- share/examples/dotconf/noinline/Makefile
- share/examples/dotconf/noinline/noinline.c
- share/examples/dotconf/noinline/noinline.conf
- share/examples/dotconf/noinline/output
- share/examples/dotconf/simple/Makefile
- share/examples/dotconf/simple/included.conf
- share/examples/dotconf/simple/linecat.conf
- share/examples/dotconf/simple/output
- share/examples/dotconf/simple/simple.c
- share/examples/dotconf/simple/simple.conf
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| dotconf-1.3.tar.gz | 333301 | b0bccd7251df50b68b82888c5f9fa7932bd68ee3b9e880bce9456e692bf13e8e |
Master sites 1
- GENTOO