Skip to content

Commit

Permalink
libconfig: update to 1.7.2
Browse files Browse the repository at this point in the history
* Update MASTER_SITES and HOMEPAGE

  ----- version 1.7.2 ------
01-05  Mark Lindner  <markl@avalon>

  * lib/libconfig.c - fixed slow leak in config_destroy()
  * <multiple> - miscellaenous build file fixes

  ----- version 1.7.1 ------

2017-11-15  Mark Lindner  <markl@avalon>

  * lib/wincompat.c, lib/wincompat.h - added fsync() implementation for
    Windows
  * lib/libconfig.c, lib/libconfig.h - added CONFIG_OPTION_FSYNC
  * lib/libconfigcpp.c++, lib/libconfig.h++ - added Config::OptionFsync
  * doc/libconfig.texi - Documentation updates

2017-11-14  Mark Lindner  <markl@avalon>

  * lib/strbuf.c - bugfix in strbuf_append_char()

  ----- version 1.7 ------

2017-10-24  Mark Lindner  <markl@avalon>

  * INSTALL - Added information about installing from a git snapshot
  * configure.ac - Bumped version to 1.7
  * doc/libconfig.texi - Updated documentation, added new chapter on
    libconfig bindings/implementations for other languages
  * examples/c/Makefile.am, examples/c/example4.c, examples/c/example4.cfg,
    examples/c/cfg_includes/*.cfg - New example program
  * lib/Makefile.am - bumped library version to 11:0:0; added new source
    files
  * lib/grammar.c, lib/grammar.y, lib/scanner.c, lib/scanner.h - regenerated
  * lib/grammar.y - allow optional trailing comma in lists and arrays
  * *.vcproj - updated with new source files, library dependency
  * lib/libconfig.c, lib/libconfig.h - various code cleanup;
    reworked options API; moved some value parsing logic into lib/util.c
    and lib/util.h; added new option
    CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION; bugfix to disallow adding a
    group or a list to an array; changed default float precision from 2 to 6;
    fixed conversion between int and int64 types; added config_clear();
    added support for include functions; added config_set_hook() and
    config_get_hook()
  * lib/libconfigcpp.c++, lib/libconfig.h++ - moved Option enum from Setting
    to Config; added OptionAllowScientificNotation; added clear();
    reworked options API; added evaluateIncludePath(); fixed casting to
    unsigned int (don't clip negative values to 0)
  * lib/parsectx.c, lib/parsectx.h - code cleanup
  * lib/scanctx.c, lib/scanctx.h - added support for include functions;
    code cleanup; removed non-portable directory reading code;
  * lib/scanner.l - added support for include functions; moved some parsing
    code to lib/util.c and lib/util.h; code cleanup
  * lib/strbuf.c, lib/strbuf.h - added strbuf_append_char(); code cleanup
  * lib/strvec.c, lib/strvec.h - new functions for managing arrays of
    string pointers (for filename lists)
  * lib/util.c, lib/util.h - value parsing and formatting code and memory
    management macros and functions extracted from other files
  * lib/wincompat.h - new macros for testing relative paths; replaced
    INT32_MAX/INT32_MIN with INT_MAX/INT_MIN.
  * tests/tests.c - fixed test failures and improper testing of int type
    conversions

  ----- version 1.6 ------

2015-12-31  Jose Luis Tallon <[email protected]>

  * Added include_dir feature (support for Debian-style conf.d/
    includes) (pull request #36)

  * Added octal_ints feature (support for integer expressed in octal,
    useful for permissions and masks in UNIX-like systems (pull req #42)

  * Fixed "Removing a setting removes all siblings" (issue #41)
    Props random85

  * Allow specifying the number of decimals wanted when outputting
    Based upon a suggestion by zhaopingsun (issue #31)

  * Make libconfig usable from CMake (pull request/issue #28)
    Props thfi

  * Documentation fixes
    - Copyright and examples
    - Included TeX patch from Debian (fixes FTBS with TeXlive)

  * Resync Debian packaging
    includes updated packages for GCC5 transition

2015-10-14  Thomas Fischer <[email protected]>

  * configure, configure.ac, debian/libconfig++9-dev.install,
    debian/libconfig9-dev.install, lib/Makefile.am, lib/Makefile.in,
    lib/libconfig++Config.cmake.in, lib/libconfigConfig.cmake.in,
    libconfig.spec.in - locating libconfig in CMake-based projects

2015-08-14  Mark Lindner  <markl@neuromancer>

  * lib/wincompat.h - Fixed Windows portability issue
  * lib/libconfig.h++ - added missing operator[](std::string&).
  • Loading branch information
triaxx committed Oct 8, 2018
1 parent 5295fa8 commit d7d37bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
11 changes: 7 additions & 4 deletions devel/libconfig/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.9 2015/05/28 07:21:01 wiz Exp $
# $NetBSD: Makefile,v 1.10 2018/10/08 20:58:12 triaxx Exp $

DISTNAME= libconfig-1.5
DISTNAME= libconfig-1.7.2
CATEGORIES= devel
MASTER_SITES= http://www.hyperrealm.com/libconfig/
MASTER_SITES= http://hyperrealm.github.io/libconfig/dist/

MAINTAINER= [email protected]
HOMEPAGE= http://www.hyperrealm.com/libconfig/
HOMEPAGE= http://hyperrealm.github.io/libconfig/
COMMENT= Simple library for manipulating structured configuration files
LICENSE= gnu-lgpl-v2.1

Expand All @@ -18,4 +18,7 @@ USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= lib/libconfig++.pc.in
PKGCONFIG_OVERRIDE+= lib/libconfig.pc.in

# https://github.com/hyperrealm/libconfig/pull/127
CHECK_PORTABILITY_SKIP= contrib/ls-config/debian/postinst

.include "../../mk/bsd.pkg.mk"
4 changes: 3 additions & 1 deletion devel/libconfig/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/03 14:58:01 rillig Exp $
@comment $NetBSD: PLIST,v 1.2 2018/10/08 20:58:12 triaxx Exp $
include/libconfig.h
include/libconfig.h++
info/libconfig.info
lib/cmake/libconfig++/libconfig++Config.cmake
lib/cmake/libconfig/libconfigConfig.cmake
lib/libconfig++.la
lib/libconfig.la
lib/pkgconfig/libconfig++.pc
Expand Down
10 changes: 5 additions & 5 deletions devel/libconfig/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.6 2015/11/03 03:27:39 agc Exp $
$NetBSD: distinfo,v 1.7 2018/10/08 20:58:12 triaxx Exp $

SHA1 (libconfig-1.5.tar.gz) = 24306c7efce07669a4053d0977a45e2f3a3add79
RMD160 (libconfig-1.5.tar.gz) = 32b65e64982d281a21c668a1c20ca57f1f5bc7ef
SHA512 (libconfig-1.5.tar.gz) = 16bead52ee8c880b25fd1ee6fa83c115dc51830f2f7954389bd8b72cc0e6fc05fc63fe415bd929851894a9f3a1127d51cfc4223149514246e9566305556b7bcd
Size (libconfig-1.5.tar.gz) = 644432 bytes
SHA1 (libconfig-1.7.2.tar.gz) = 1da1e7f4e0e376582a8414d2be1acc9dbf6649b5
RMD160 (libconfig-1.7.2.tar.gz) = 582d4e94779eec04016a2d424cf26d218321502e
SHA512 (libconfig-1.7.2.tar.gz) = b0fcc403325fde217bd6509f10e8458958c8a93ff0a400da2602d62b7873e87f43ee6f1763ba30b3316e35a282a766c781a94b4d021b8c7e6ae2cf2cf108dd84
Size (libconfig-1.7.2.tar.gz) = 721362 bytes

0 comments on commit d7d37bd

Please sign in to comment.