./devel/libconfig, Simple library for manipulating structured configuration files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.7.2, Package name: libconfig-1.7.2, Maintainer: pkgsrc-users

Libconfig is a simple library for manipulating structured configuration files.

Required to build:

Master sites:

Filesize: 704.455 KB

Version history: (Expand)

CVS history: (Expand)

   2022-07-25 13:12:30 by Thomas Klausner | Files touched by this commit (102)
Log message:
*: remove pkg-config from tools where no buildlink3.mk file is included

Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2018-10-08 22:58:12 by =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= | Files touched by this commit (3) | Package updated
Log message:
libconfig: update to 1.7.2


  ----- 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
  * 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
  * 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
  * 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
  * tests/tests.c - fixed test failures and improper testing of int type

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

2015-12-31  Jose Luis Tallon <jltallon@adv-solutions.net>

  * 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 <fischer@unix-ag.uni-kl.de>

  * 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&).
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-05-28 09:21:01 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 1.5:

	----- version 1.5 ------

2015-05-16  Mark Lindner  <markl@neuromancer>

	* lib/libconfig.c - Don't fclose() a null pointer.

2014-09-19  Mark Lindner  <markl@neuromancer>

	* lib/libconfig.c, lib/wincompat.h - check if file being opened is a
	* lib/libconfig.c, lib/libconfig.h, lib/libconfig.h++,
	  doc/libconfig.texi - added config_set_options(),
	  config_get_options(), setOptions(), getOptions().

2014-05-25  Mark Lindner  <markl@neuromancer>

	* lib/libconfig.c++, lib/libconfig.h++ - added patches from Matt
	  Renaud (added iterators, removed throws() specifications); added
	  Setting.lookup(); code cleanup; added patch from Yuri Dyachenko
	  (made exception constructors public)
	* lib/libconfig.c, lib/libconfig.h - renamed
	  config_setting_lookup_from() to config_setting_lookup() and
	  documented it; patch from Alexander Klauer (floating point precision
	* doc/libconfig.texi - documented new APIs, bumped version
	* lib/scanner.c, lib/scanner.h, lib/scanner.l, libconfig.c -
	  scanner code cleanup; and regenerated with flex 2.5.39
	* lib/grammar.c, lib/grammar.h, lib/grammar.y - parser code cleanup;
	  and regenerated with bison 3.0.2
	* README, ChangeLog - version updates

2014-01-21  Mark Lindner  <markl@neuromancer>

	* lib/libconfig.c - bugfix; capture root filename
	* tests/Makefile.am - fix for out-of-source builds
	* ac_config.h.in, aclocal.m4 - updated to newer autotools
   2013-10-30 22:15:49 by Guillaume Lasmayous | Files touched by this commit (4)
Log message:
Update devel/libconfig to 1.4.9.
From Nils Ratusznik via PR pkg/48316.

5 years worth of upstream changes, bugfixes and new features, too long
to copy and paste here.

pkgsrc changes: