./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:
[pkgtools/cwrappers]

Master sites:

SHA1: 1da1e7f4e0e376582a8414d2be1acc9dbf6649b5
RMD160: 582d4e94779eec04016a2d424cf26d218321502e
Filesize: 704.455 KB

Version history: (Expand)


CVS history: (Expand)


   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

* 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 <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:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
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
	  directory
	* 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
	  loss)
	* 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) | Package updated
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:
---------------
Add LICENSE
   2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2010-05-07 10:34:23 by Adam Hoka | Files touched by this commit (17)
Log message:
Drop maintainership on these packages, I am no longer interested.
   2009-03-20 20:25:55 by Joerg Sonnenberger | Files touched by this commit (1252)
Log message:
Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
   2008-08-13 15:20:14 by Adam Hoka | Files touched by this commit (5)
Log message:
Change my email address.