head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.86 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.84 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.82 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.80 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.78 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.76 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.74 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.72 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.70 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.68 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.66 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.64 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.62 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.60 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.58 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.56 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.54 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.52 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.50 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.48 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.46 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.44 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.42 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.40 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.36 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.16 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.38 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.34 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.32 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.30 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.28 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.26 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.24 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.22 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.20 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.18 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.14 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.12 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.10 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.8 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.6 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.4 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.2 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.3.0.64 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.62 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.60 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.58 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.56 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.54 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.52 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.50 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.48 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.46 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.44 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.42 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.40 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.38 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.36 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.34 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.32 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.30 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.28 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.26 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.24 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.22 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.20 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.18 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.16 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.14 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.12 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.10 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.8 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.6 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.2 pkgsrc-2008Q1:1.2.0.4 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.2 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.1.1.1.0.6 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.4 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.2 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2026.08.23.07.40.58; author wiz; state Exp; branches; next 1.4; commitid rAXTt83aNe7RyJSG; 1.4 date 2015.11.03.19.32.50; author bsiegert; state Exp; branches; next 1.3; commitid cZ4Fr1YfyH7NkGHy; 1.3 date 2008.04.23.21.57.05; author wiz; state Exp; branches; next 1.2; 1.2 date 2007.12.21.20.32.45; author joerg; state Exp; branches; next 1.1; 1.1 date 2007.03.02.01.56.46; author dmcmahill; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.03.02.01.56.46; author dmcmahill; state Exp; branches; next ; desc @@ 1.5 log @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` * Optional JSON-style `[ ]` list syntax, enable with `CFGF_JSON_LISTS` flag to `cfg_init()`; `cfg_print()` then emits `[ ]` as well. The default `{ }` syntax is unchanged * Georgian translation, by Temuri Doghonadze * Updated Swedish, French, and German translations, Joachim Wiberg ### Fixes * Issue #147: fix the bundled `fmemopen()` replacement for systems without a native one (e.g. older macOS/BSD), so the write-then-read round-trip works; diagnosed by sevan * Issue #150: comments are now accepted anywhere between tokens, e.g. inside lists and inline C-style, not only before an option name * Issue #152: fail to build with gettext 0.20, by heitbaum * Issue #153: German translation update * Issue #158: `cfg_addtsec()` returns the existing section when the title already exists, matching the documented behavior * Issue #163: heap overflow in `cfg_tilde_expand()`, found by Han Zheng * Issue #172: document the working MSYS2/MINGW64 Windows build; the old windows/mingw instructions were obsolete and failed to link * Issue #179: `cfg_addlist()` now preserves default list values when appending, by Yi Chen * Issue #180: `isspace()` argument fix, could crash the lexer, by Thomas Klausner * Issue #182: guard against stack exhaustion from deeply nested sections, by Yi Chen * Issue #187: null dereference on an empty comment (e.g. `#`) with `CFGF_COMMENTS` enabled, found and fixed by Benjamin Ali * Fix null termination when expanding environment variables, by Igor Ponomarenko * Only apply search path logic to relative pathnames, absolute paths are no longer altered, by Rasmus Villemoes * Remove spurious 'no such option' errors for `KEYSTRVAL` sections * Fix `configure` failure with autoconf 2.73, backslash continuations in the `AC_CONFIG_FILES` list are no longer accepted @ text @@@comment $NetBSD$ include/confuse.h lib/libconfuse.la lib/pkgconfig/libconfuse.pc share/doc/confuse/AUTHORS share/doc/confuse/ChangeLog.md share/doc/confuse/LICENSE share/doc/confuse/README.md share/locale/de/LC_MESSAGES/confuse.mo share/locale/fr/LC_MESSAGES/confuse.mo share/locale/ka/LC_MESSAGES/confuse.mo share/locale/sv/LC_MESSAGES/confuse.mo @ 1.4 log @Update confuse to 2.8. Changes - Support for specifying a searchpath for cfg_parse(), by J.J. Green - Restore build of shared library by default, by Nathan Phillip Brink - Added German translation, contributed by Chris Leick, Aurelien Jarno, and Tux^verdreifelt. - Document CFG_SIMPLE_STR for doxygen, by Nathan Phillip Brink - Update ISC license to 2007 version, by Joachim Nilsson - Write files in a Bourne shell compatible way, by Alvaro G. M - Fix mid-string environment variable substitution, by Frank Hunleth Fixes - Various ISO C90 and -ansi fixes by Carlo Marcelo Arenas Belon - Fix C++ compiler warnings for const strings, by Craig McQueen - Fix make distcheck and out-of-source builds, by Nathan Phillip Brink - Fix missing .gitignore files, by Carlo Marcelo Arenas Belon - Fix CFG_SIMPLE_INT on 64-bit systems, by Carlo Marcelo Arenas Belon - Coding style cleanup by J.J. Green - Fix issue #27: searchpath free problems. Fix to new feature introduced in this release cycle. - Improved support for MSYS2 by David Grayson. @ text @d11 1 @ 1.3 log @Update to 2.6: New in 2.6 ---------- * added French translation contributed by Matthieu Sion * added build script and instructions for compiling with Mingw under Windows (contributed by Matthieu Sion) * now accepts a simplified list append syntax: option += "value" insted of option += {"value"} * added flag CFGF_NO_TITLE_DUPES: multiple section titles must be unique (duplicates raises an error, only applies to sections) (suggested by Brian Fallik) * fixed rpm builds, patch by Dan Lipsitt * always installs pkg-config .pc script * remove obsolete confuse-config script in favour of pkg-config * fixed a bug reported by Josh Kropf with single sections with titles * added patch that escapes values with quotes and backslashes when printing. * fixed a memory leak in default values for string lists, reported by Vineeth Neelakant. * windows build files now only in separate zip distribution @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2007/12/21 20:32:45 joerg Exp $ d5 5 @ 1.2 log @I18N (PR 37581) and DESTDIR support. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/02 01:56:46 dmcmahill Exp $ d5 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 @@comment $NetBSD$ d5 1 @ 1.1.1.1 log @import confuse-2.5 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. @ text @@