The NetBSD Project

CVS log for pkgsrc/devel/confuse/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / confuse

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 6 12:40:35 2023 UTC (10 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 5 12:35:25 2020 UTC (3 years, 4 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

confuse: Fix HOMEPAGE

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 24 08:18:12 2020 UTC (3 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Wed May 1 07:15:18 2019 UTC (4 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

confuse: update to 3.2.2.

[v3.2.2][] - 2018-08-19
-----------------------

This is a security patch release for CVE-2018-14447.  The vulnerability
affects all releases since v3.1 when the `CFGF_COMMENTS` functionality
was first introduced.

### Fixes
* Issue #109: Out of bounds read in `lexer.l:trim_whitespace()`.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 15 13:55:00 2018 UTC (5 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.20: +3 -6 lines
Diff to previous 1.20 (colored)

Update to 3.2.1

Changelog:
[v3.2.1][] - 2017-08-17
-----------------------

### Fixes
* Issue #101: Bump ABI major number due to incompatible change in struct
  when adding option annotation/comments in [v.3.1][]: `1.1.0 -> 2.0.0`


[v3.2][] - 2017-06-03
---------------------

### Fixes
* Issue #96: Add Windows/mingw compatible `fmemopen()` replacement
* Issue #98: Fix v3.1 regression, segfault on comment-only lines


[v3.1][] - 2017-05-24
---------------------

### Changes
* Refactored `CFGF_IGNORE_UNKNOWN` support, libConfuse now properly
  ignores any type and sub-section without the need for declaring an
  `__unknown` option.  When the flag is set all unknown options,
  including unknown sub-sections with, in turn, unknown options, are
  now fully ignored
* Issue #69: New API for creating titled sections at runtime,
  by Jonas Johansson @jonasj76
* Issue #92: Support for option annotation/comments.  Every option can
  now have a comment, which is both read and written from/to file.
  Disabled by default, enable with `CFGF_COMMENTS` flag in `cfg_init()`
* ABI bump: 1.0.0 --> 1.1.0, due to new functionality

### Fixes
* Build unit tests statically for easier debugging
* Issue #21: Major refactor of lexer to fix memory leaks, `cfg_free()`
  now properly releases all memory.  By Joachim Nilsson @troglobit
* Issue #64: Fixed MSVC build errors, by George Koskeridis @Gikoskos
* Issue #65: SIGSEGV when parsed default values are used with include,
  by Dmitri Zhabinski
* Issue #71: Fix syntax in rpm spec file, for CentOS/RHEL7
* Issue #73: Adjust gettext version requirement to build on CentOS/RHEL7.
  GNU gettext v0.18.2.1 update `AM_GNU_GETTEXT()` to use AC_PROG_MKDIR_P
  instead of `AM_PROG_MKDIR_P`, but v0.18.1.1 is included in Ubuntu 12.04
  LTS.  Fortunately Ubuntu 14.04 LTS ships v0.18.3.1 and Debian Jessie
  ships v0.19.3.  Unfortunately, CentOS7 and RHEL7 ships v0.18.2.1, so
  for best compat. level at this point in time we require v0.18.2.
* Issue #74: Fix typos in documentation, by Luca Ceresoli
* Issue #79: Add `fmemopen()` compat for *BSD, including macOS

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 3 08:36:52 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Comment out dead MASTER_SITES/HOMEPAGEs.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:14 2017 UTC (6 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Switch github HOMEPAGEs to https.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 27 12:22:13 2016 UTC (7 years, 8 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

Avoid to include "../../mk/fetch/github.mk" in package Makefile

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jun 19 20:44:23 2016 UTC (7 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 25 22:10:16 2015 UTC (8 years, 4 months ago) by wiedi
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

bulk build wants flex

Revision 1.15 / (download) - annotate - [select for diffs], Sat Nov 7 19:31:17 2015 UTC (8 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

gettext-tools is a build dependency, make it so.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 6 20:12:01 2015 UTC (8 years, 5 months ago) by bsiegert
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Explicitly depend on gettext-tools and gettext-m4. Fix build when these
packages are not installed.

From joerg and wiz via email.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 3 19:32:50 2015 UTC (8 years, 5 months ago) by bsiegert
Branch: MAIN
Changes since 1.12: +12 -6 lines
Diff to previous 1.12 (colored)

Update confuse to 2.8.

Changes

- Support for specifying a searchpath for cfg_parse(), by J.J. Green
- Restore build of shared library by default, by Nathan Phillip Brink
- Added German translation, contributed by Chris Leick, Aurelien Jarno, and
  Tux^verdreifelt.
- Document CFG_SIMPLE_STR for doxygen, by Nathan Phillip Brink
- Update ISC license to 2007 version, by Joachim Nilsson
- Write files in a Bourne shell compatible way, by Alvaro G. M
- Fix mid-string environment variable substitution, by Frank Hunleth

Fixes

- Various ISO C90 and -ansi fixes by Carlo Marcelo Arenas Belon
- Fix C++ compiler warnings for const strings, by Craig McQueen
- Fix make distcheck and out-of-source builds, by Nathan Phillip Brink
- Fix missing .gitignore files, by Carlo Marcelo Arenas Belon
- Fix CFG_SIMPLE_INT on 64-bit systems, by Carlo Marcelo Arenas Belon
- Coding style cleanup by J.J. Green
- Fix issue #27: searchpath free problems. Fix to new feature introduced in
  this release cycle.
- Improved support for MSYS2 by David Grayson.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:08 2014 UTC (9 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 31 11:16:47 2012 UTC (11 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 22 13:43:16 2011 UTC (12 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

recursive bump from gettext-lib shlib bump.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 2 16:10:34 2010 UTC (13 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Update to 2.7:

New in 2.7
----------

* Bugfix release.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 4 02:52:44 2010 UTC (13 years, 8 months ago) by dmcmahill
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

Remove -Werror.  There is a defined but not used function in the
generated lex output file.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 7 08:34:22 2010 UTC (13 years, 11 months ago) by ahoka
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Drop maintainership on these packages, I am no longer interested.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jun 13 06:46:41 2009 UTC (14 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Ran pkglint --autofix on the devel/ category. Most of the changes are
simple white-space issues like indentation and trailing spaces. The
others are cross-references for Makefile.common.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 13 13:20:14 2008 UTC (15 years, 8 months ago) by ahoka
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Change my email address.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 23 21:57:05 2008 UTC (15 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.3: +8 -5 lines
Diff to previous 1.3 (colored)

Update to 2.6:

New in 2.6
----------

* added French translation contributed by Matthieu Sion
* added build script and instructions for compiling with Mingw under Windows
   (contributed by Matthieu Sion)
* now accepts a simplified list append syntax:
    option += "value"
      insted of
    option += {"value"}
* added flag CFGF_NO_TITLE_DUPES: multiple section titles must be unique
  (duplicates raises an error, only applies to sections)
  (suggested by Brian Fallik)
* fixed rpm builds, patch by Dan Lipsitt
* always installs pkg-config .pc script
* remove obsolete confuse-config script in favour of pkg-config
* fixed a bug reported by Josh Kropf with single sections with titles
* added patch that escapes values with quotes and backslashes when printing.
* fixed a memory leak in default values for string lists,
  reported by Vineeth Neelakant.
* windows build files now only in separate zip distribution

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 21 20:32:45 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

I18N (PR 37581) and DESTDIR support.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 15 18:34:58 2007 UTC (17 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Needs pkg-config, otherwise bin/confuse-config is installed.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 2 01:56:46 2007 UTC (17 years, 1 month ago) by dmcmahill
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

import confuse-2.5

libConfuse is a configuration file parser library, licensed under the
terms of the LGPL, and written in C. It supports sections and (lists
of) values (strings, integers, floats, booleans or other sections), as
well as some other features (such as single/double-quoted strings,
environment variable expansion, functions and nested include
statements). It makes it very easy to add configuration file
capability to a program using a simple API.

The goal of libConfuse is not to be the configuration file parser
library with a gazillion of features. Instead, it aims to be easy to
use and quick to integrate with your code. libConfuse was called
libcfg before, but was changed to not confuse with other similar
libraries.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 2 01:56:46 2007 UTC (17 years, 1 month ago) by dmcmahill
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>