Mon Aug 24 08:18:12 2020 UTC ()
confuse: update to 3.3.

[v3.3][] - 2020-06-25
---------------------

### Changes
* Support building static library on Windows
* Support for `fmemopen()` in Windows UWP applications
* Support for `cfg_getopt(cfg, "sub=name|option")`, i.e., get an option
  from a sub-section, by Peter Rosin
* Support for `CFGF_MODIFIED` flag, to detect changes to settings
  in memory after parsing, by Peter Rosin
* Support for filtering out settings when printing, by Peter Rosin
* Support for dynamic key=value sections with no pre-runtime knowledge
  of setting names, useful for environment variables and similar
* Updated German translation, by Chris Leick

### Fixes
* Fix loop-forever bug found by Christian Reitter; a .conf file
  containing only "=", will cause even the simplest parser to loop
  forever in internal function `cfg_getopt_secidx()`
* Issue #113: Fail to build `strdup()` replacement
* Issue #118: Fix build on Windows, missing `fmemopen()` replacement
* Issue #120: Handle shell and C++ comments with no space separator
* Issue #125: Drop developer debug msg `QSTR: ...`
* Issue #131: Fix `CFG_PTR_CB()` regression, segfaults when, e.g.,
  `cfg_free()` is called.  Found and fixed by Peter Rosin
* Issue #135: Revert `CFGF_RESET` flag if `cfg_setmulti()` family fail
* Issue #137: Memory leak in `cfg_setopt()` for PTR options


(wiz)
diff -r1.22 -r1.23 pkgsrc/devel/confuse/Makefile
diff -r1.9 -r1.10 pkgsrc/devel/confuse/distinfo

cvs diff -r1.22 -r1.23 pkgsrc/devel/confuse/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/confuse/Makefile 2019/05/01 07:15:18 1.22
+++ pkgsrc/devel/confuse/Makefile 2020/08/24 08:18:12 1.23
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: Makefile,v 1.22 2019/05/01 07:15:18 wiz Exp $ 1# $NetBSD: Makefile,v 1.23 2020/08/24 08:18:12 wiz Exp $
2 2
3DISTNAME= confuse-3.2.2 3DISTNAME= confuse-3.3
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=martinh/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=martinh/}
6GITHUB_RELEASE= v${PKGVERSION_NOREV} 
7GITHUB_PROJECT= libconfuse 6GITHUB_PROJECT= libconfuse
 7GITHUB_RELEASE= v${PKGVERSION_NOREV}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10#HOMEPAGE= https://github.org/martinh/libconfuse/ 10#HOMEPAGE= https://github.org/martinh/libconfuse/
11COMMENT= Configuration file parser library 11COMMENT= Configuration file parser library
12LICENSE= isc 12LICENSE= isc
13 13
14BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 14BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
15BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools 15BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
16 16
17GNU_CONFIGURE= YES 17GNU_CONFIGURE= YES
18CONFIGURE_ARGS+= --enable-shared 18CONFIGURE_ARGS+= --enable-shared
19USE_LIBTOOL= YES 19USE_LIBTOOL= YES
20USE_PKGLOCALEDIR= YES 20USE_PKGLOCALEDIR= YES

cvs diff -r1.9 -r1.10 pkgsrc/devel/confuse/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/confuse/distinfo 2019/05/01 07:15:18 1.9
+++ pkgsrc/devel/confuse/distinfo 2020/08/24 08:18:12 1.10
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.9 2019/05/01 07:15:18 wiz Exp $ 1$NetBSD: distinfo,v 1.10 2020/08/24 08:18:12 wiz Exp $
2 2
3SHA1 (confuse-3.2.2.tar.gz) = fa7d106da08fd107905e9ea2c072e8d21b914e94 3SHA1 (confuse-3.3.tar.gz) = 09fd05cebe41f56d68a8fafa80070d060dea30b9
4RMD160 (confuse-3.2.2.tar.gz) = 998b11e8fe60e817a3d0bd5d962d89f96dc65b2e 4RMD160 (confuse-3.3.tar.gz) = 17eb2c5c29368fab839a5b45e58b5aeb74c7d196
5SHA512 (confuse-3.2.2.tar.gz) = 2415aae20135331e577e727c152eaad129d591155e6fcdd64720f81ad74f4c29a13d6e401deaa90f313dc070e44df2b6d1e7146f21aef41dc206f86bd47e95ed 5SHA512 (confuse-3.3.tar.gz) = 07f994ca670778ea3dd667b96e1109a90f1f886184b124a9249b60c724d35e423600ed33b46d46ef9299b8b531784e8023af6fad4c88b72791c86c0b1b7c370e
6Size (confuse-3.2.2.tar.gz) = 752915 bytes 6Size (confuse-3.3.tar.gz) = 775369 bytes