Skip to content

Commit deb8816

Browse files
committed
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
1 parent e41ac6e commit deb8816

4 files changed

Lines changed: 10 additions & 36 deletions

File tree

‎devel/confuse/Makefile‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.26 2025/05/05 14:52:00 wiz Exp $
1+
# $NetBSD: Makefile,v 1.27 2026/08/23 07:40:58 wiz Exp $
22

3-
DISTNAME= confuse-3.3
4-
PKGREVISION= 1
3+
DISTNAME= confuse-3.4
54
CATEGORIES= devel
65
MASTER_SITES= ${MASTER_SITE_GITHUB:=libconfuse/}
76
GITHUB_PROJECT= libconfuse
@@ -24,9 +23,8 @@ USE_TOOLS+= pkg-config msgfmt autoconf automake flex
2423
PKGCONFIG_OVERRIDE+= libconfuse.pc.in
2524
INSTALLATION_DIRS= lib include
2625

27-
# the included, but generated, lexer.c includes a
28-
# definition of a function which is then not used.
29-
BUILDLINK_TRANSFORM+= rm:-Werror
26+
# as of 3.4, 1 test failure
27+
TEST_TARGET= check
3028

3129
.include "../../devel/gettext-lib/buildlink3.mk"
3230
.include "../../mk/bsd.pkg.mk"

‎devel/confuse/PLIST‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.4 2015/11/03 19:32:50 bsiegert Exp $
1+
@comment $NetBSD: PLIST,v 1.5 2026/08/23 07:40:58 wiz Exp $
22
include/confuse.h
33
lib/libconfuse.la
44
lib/pkgconfig/libconfuse.pc
@@ -8,4 +8,5 @@ share/doc/confuse/LICENSE
88
share/doc/confuse/README.md
99
share/locale/de/LC_MESSAGES/confuse.mo
1010
share/locale/fr/LC_MESSAGES/confuse.mo
11+
share/locale/ka/LC_MESSAGES/confuse.mo
1112
share/locale/sv/LC_MESSAGES/confuse.mo

‎devel/confuse/distinfo‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
$NetBSD: distinfo,v 1.13 2025/05/05 14:52:00 wiz Exp $
1+
$NetBSD: distinfo,v 1.14 2026/08/23 07:40:58 wiz Exp $
22

3-
BLAKE2s (confuse-3.3.tar.gz) = 2d74ad1e3582901d2f888ade7d6be765cf5477d920e7527de2b39e852c74b2fe
4-
SHA512 (confuse-3.3.tar.gz) = 07f994ca670778ea3dd667b96e1109a90f1f886184b124a9249b60c724d35e423600ed33b46d46ef9299b8b531784e8023af6fad4c88b72791c86c0b1b7c370e
5-
Size (confuse-3.3.tar.gz) = 775369 bytes
6-
SHA1 (patch-src_lexer.c) = 27aec50a046526260783566612ebc5ef3a415729
3+
BLAKE2s (confuse-3.4.tar.gz) = e27d68b8ad8e5296526e335ce2cd76868faf2080b3e7a1198b8687dbeb4c905f
4+
SHA512 (confuse-3.4.tar.gz) = 3d803c0296454e8b3c03bd5d391859a00e805d351ed94296cfac39f3a5524aaf1907d25b3fa711f8bd71de92d44d55cbc10d934d480c01f39f324ef81a39e4cc
5+
Size (confuse-3.4.tar.gz) = 1028703 bytes

‎devel/confuse/patches/patch-src_lexer.c‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)