Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id AAF477A47B for ; Sun, 19 Jun 2016 20:44:25 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 5AF6585EDC; Sun, 19 Jun 2016 20:44:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E1A1085E7D for ; Sun, 19 Jun 2016 20:44:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id AlFzXJNMLEK6 for ; Sun, 19 Jun 2016 20:44:24 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1B93385DFE for ; Sun, 19 Jun 2016 20:44:24 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 16402FBB5; Sun, 19 Jun 2016 20:44:24 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1466369064114240" MIME-Version: 1.0 Date: Sun, 19 Jun 2016 20:44:24 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/confuse To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20160619204424.16402FBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1466369064114240 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sun Jun 19 20:44:24 UTC 2016 Modified Files: pkgsrc/devel/confuse: Makefile distinfo Log Message: Updated confuse to 3.0. [v3.0][] - 2016-03-03 --------------------- This release signifies a major change in libConfuse. On out-of-memory conditions at run time, invalid API input, and some other odd use-cases, libConfuse will no longer `assert()`. Instead, `NULL` or `CFG_FAIL` is returned with an error code for you to handle. For some users this will completely change how your application works, so heads up! The library ABI version has also been stepped due to this. Special thanks in this release goes out to Frank Hunleth, Peter Rosin and David Grayson for their tireless efforts in helping improve this library! **Note:** libConfuse no longer calls `setlocale()` for `LC_MESSAGES` and `LC_CTYPE`. See the documentation for `cfg_init()` for details. ### Changes * Support for handling unknown options. The idea is to provide future proofing of configuration files, i.e. if a new parameter is added, the new config file will not fail if loaded in an older version of your program. See the `CFGF_IGNORE_UNKNOWN` flag in the documenation for more information. Idea and implementation by Frank Hunleth. * Add public API for removing sections at runtime, by Peter Rosin. * Allow `cfg_opt_getval()` on options that are `CFGF_MULTI` sections, by Peter Rosin. * Add `cfg_setmulti()` and `cfg_opt_setmulti()`, by Peter Rosin. * Add CLI example of how to manage configuration changes at runtime, also by Peter Rosin. * Support for Travis-CI and Coverity Scan, by Joachim Nilsson. * Use `autoreconf` in `autogen.sh` instead of calling tools separately. * Powershell script for AppVeyor CI to build libConfuse with MSYS2 by David Grayson. * Removed calls to `setlocale()` intended to localize messages, with `LC_MESSAGES`, and region specific types, with `LC_CTYPE`. This is now the responsibility of the user of the library. * Reindent to Linux coding style for a clear and well defined look, this to ease future maintenance. Issue #33 * Add support for `CFGF_DEPRECATED` and `CFGF_DROP` option flags. The former causes libConfuse to print a deprecated warning message and the latter drops the read value on input. Idea and implementation by Sebastian Geiger. Issue #24 * Add `HACKING.md` document to detail maintenance and release checklists ### Fixes * Do not assert on API input validation, memory allocation, or similar. Instead, return error code to user for further handling. This change also includes fixes for a lot of unchecked API return values, e.g., `strdup()`. Issue #37 * Protect callers arguments to `cfg_setopt()`, by Peter Rosin * If new value to `cfg_setopt()` fails parsing, do not lose old value, by Peter Rosin. * Fixes to update support for older versions of Microsoft Visual Studio as well as MSYS2/mingw-w64 by Peter Rosin and David Grayson. * Issue #45: `cfg_init()` does not report error on multiple options with the same name. Fixed by Peter Rosin. * Fixes for memory leaks, invalid expressions, unused variables and missing error handling, all thanks to Coverity Scan To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/confuse/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/confuse/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1466369064114240 Content-Disposition: inline Content-Length: 1722 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/confuse/Makefile diff -u pkgsrc/devel/confuse/Makefile:1.16 pkgsrc/devel/confuse/Makefile:1.17 --- pkgsrc/devel/confuse/Makefile:1.16 Wed Nov 25 22:10:16 2015 +++ pkgsrc/devel/confuse/Makefile Sun Jun 19 20:44:23 2016 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.16 2015/11/25 22:10:16 wiedi Exp $ +# $NetBSD: Makefile,v 1.17 2016/06/19 20:44:23 wiz Exp $ -DISTNAME= confuse-2.8 +DISTNAME= confuse-3.0 CATEGORIES= devel -MASTER_SITES= https://github.com/martinh/ -GITHUB_TAG= v2.8 +MASTER_SITES= ${MASTER_SITE_GITHUB:=martinh/} +GITHUB_TAG= v${PKGVERSION_NOREV} GITHUB_PROJECT= libconfuse MAINTAINER= pkgsrc-users@NetBSD.org Index: pkgsrc/devel/confuse/distinfo diff -u pkgsrc/devel/confuse/distinfo:1.6 pkgsrc/devel/confuse/distinfo:1.7 --- pkgsrc/devel/confuse/distinfo:1.6 Tue Nov 3 19:32:50 2015 +++ pkgsrc/devel/confuse/distinfo Sun Jun 19 20:44:23 2016 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2015/11/03 19:32:50 bsiegert Exp $ +$NetBSD: distinfo,v 1.7 2016/06/19 20:44:23 wiz Exp $ -SHA1 (confuse-2.8.tar.gz) = 787951c94f52b0d7029b1c66bef610632e33fa53 -RMD160 (confuse-2.8.tar.gz) = a4a7775da950e894d888c9b176afb8422cbaf605 -SHA512 (confuse-2.8.tar.gz) = f52608ec90ce1e90b57ee378979519f7047cd3570be6fc93965f85f5840b49e9823f3b412e16785f3968d80341e7f9fa19500dfe94e74748f398644b0dadea3b -Size (confuse-2.8.tar.gz) = 85757 bytes +SHA1 (confuse-3.0.tar.gz) = f212b31464b3ac24e783f374af8f8055e47c427b +RMD160 (confuse-3.0.tar.gz) = 8a92bf3a9f7d4f9692ecb38359deff1eb9e0a2ff +SHA512 (confuse-3.0.tar.gz) = e2e01b7f259b934681a86594b37755bbc87a84ebcd83fe500ab4b405152187551391a94f2474cfac5f0f2740273c144c2d9294fce912f88e595a985b9356f9e8 +Size (confuse-3.0.tar.gz) = 110565 bytes --_----------=_1466369064114240--