BSD Ports

Vulnerable: version 3.4 is affected by 1 known vulnerability. See below.

devel/confuse 3.4 NetBSD

Configuration file parser library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
94c0c31498
License
isc
Categories
devel
Package size
62.7 KiB, 323.4 KiB installed

Description

libConfuse is a configuration file parser library, licensed under the terms of the LGPL, and written in C. It supports sections and (lists of) values (strings, integers, floats, booleans or other sections), as well as some other features (such as single/double-quoted strings, environment variable expansion, functions and nested include statements). It makes it very easy to add configuration file capability to a program using a simple API.

The goal of libConfuse is not to be the configuration file parser library with a gazillion of features. Instead, it aims to be easy to use and quick to integrate with your code. libConfuse was called libcfg before, but was changed to not confuse with other similar libraries.

Install

Binary package:

pkgin install confuse

From pkgsrc:

cd /usr/pkgsrc/devel/confuse && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.4
NetBSD 10.1 aarch643.3nb1
SmartOS / illumos x86_643.4
macOS 15 arm643.4

Dependencies

Known vulnerabilities 1

Commit history 1

DateCommitCreditsLog message
94c0c31498 wiz confuse: update to 3.4.
[v3.4][] - 2026-08-16 --------------------- ### Changes * Support for `CFGT_RAWSEC`, capture a section body verbatim, by Alexey Volokitin * Support for an `include()` function within a section, enabled with the `CFGF_USE_INCLUDE_FUNCTION` flag, by Alexey Volokitin * Support binary radix (`0b...`) for `CFG_INT`, issue #145 * Add support for fixed-width and unsigned integer types, `CFG_INT8/16/32/64` and `CFG_UINT8/16/32/64`, alongside the platform-width `CFG_INT`, issue #11 * Update doxygen documentation and sync with modern doxygen * Automatic large file support (LFS), by Mike Frysinger * `cfg_parse_buf()` now keeps a caller-set `cfg->filename` for `file:line` diagnostics, defaulting to `[buf]` only when unset, the same way `cfg_parse_fp()` handles `FILE` …