Log

Author Commit Date CI Message
Ariadne Conill dd57abfe 2020-05-24T14:44:01 pkgconf 1.7.0.
Ariadne Conill 82d57184 2020-05-24T14:53:37 meson: fix detection of strndup() on windows
Ariadne Conill 4fb7683c 2020-05-24T14:40:47 add support for the PKGCONF_PKG_PKGF_DONT_MERGE_SPECIAL_FRAGMENTS flag used in build2.
Ariadne Conill fb9c2258 2020-05-24T14:37:13 update NEWS for previous patch
Ben 011db1bb 2020-04-26T17:28:03 Do not complain about malformed whitespace from \n on Version line Every version line has a newline at the end; the malformed whitespace checker should just check for trailing spaces and tabs. Resolves https://todo.sr.ht/~kaniini/pkgconf/15
Ariadne Conill fce1199b 2020-05-24T14:34:17 cli: add support for PKG_CONFIG_MSVC_SYNTAX env variable Patch from Dan Kegel.
Olaf Hering cdc2bf88 2020-05-24T14:29:19 use correct autoconf macro name AC_CONFIG_MACRO_DIR without trailing S is known by autoconf since 2.58. AC_CONFIG_MACRO_DIR with trailing S is known by autoconf newer than 2.69. This fixes libtool after 'autoreconf -fi'. Fixes commit a8a65c7f6c6b6463bbdee119c0ff71536925e455 Related to issue #145 Signed-off-by: Olaf Hering <olaf@aepfle.de>
Ariadne Conill 80508f71 2020-05-24T14:27:52 NEWS: start NEWS for 1.7.0 was hoping to go straight into 2.0 but we need a new maintenance branch :(
Ariadne Conill 382a89c1 2020-05-24T14:18:16 pkg: pkgconf_compare_version(): do not return levenshtein distance in strcmp() case
Tobias Stoeckmann 92745ad9 2020-05-24T21:51:14 libpkgconf: parser: fix out of boundary access It is possible to trigger an out of boundary access with specially crafted files. If a line consist of only a key and spaces, then op will point to '\0'-ending of the buffer. Since p is iterated by one byte right past this ending '\0', the next read access to p is effectively out of bounds. Theoretically this can also lead to out of boundary writes if spaces are encountered. Proof of concept (I recommend to compile with address sanitizer): $ echo -n a > poc.pc $ dd if=/dev/zero bs=1 count=65533 | tr '\0' ' ' >> poc.pc $ pkgconf poc.pc
Tobias Stoeckmann bd4ed1ca 2020-05-24T20:51:48 libpkgconf: fileio: prevent buffer overflow. pkgconf_fgetline is called with a user-defined buffer, its size, and a FILE stream to read input from. If the buffer is almost completely filled and the file stream contains an escaped character, then it is possible to trigger an off-by-one buffer overflow with a '\0' character. Easiest example to trigger this: char buf[2]; pkgconf_fgetline(buf, sizeof(buf), stdin); Enter "\\" (two backslashes) and press enter. If the library and the program are compiled with address sanitizer, you will see the program crashing. Otherwise it depends on your architecture what happens. Since nobody should be using a buffer of only size 1 or 2, keep enough space for a possibly escaped character in while loop by subtracting one more byte for this situation, not just for '\0'.
Ariadne Conill 62bbd3b6 2020-01-21T10:32:36 cli: remove --version to --modversion remapping This has been a source of frequent complaints, so we drop it. Resolves: https://todo.sr.ht/~kaniini/pkgconf/6
Ariadne Conill 48dc665a 2019-10-19T00:56:17 personality: add support for WantDefaultStatic setting
Ariadne Conill 40fe4835 2019-10-19T00:45:49 cli: main: add --shared option
Ariadne Conill f1ce3936 2019-09-30T05:22:21 fix pkgconf-personality man page
Ariadne Conill 2adafc27 2019-08-23T12:47:22 libpkgconf: personality: return the default personality if loading a personality file failed
Ariadne Conill 19aa93e3 2019-08-04T15:54:24 prepare for pkgconf 2.0 development
Nicolas Braud-Santoni 1d8c6b71 2019-07-12T16:50:51 Fix troff markup in pkgconf-personality(5) A list was started with .Bl but not ended (with .El)
Nicolas Braud-Santoni db3ba0ef 2019-07-12T16:50:50 Fix spelling in pkg.m4(7)
Ariadne Conill af1fbf98 2019-07-12T08:54:24 builds: add fedora meson build
Ariadne Conill 3f178f71 2019-07-12T08:42:11 builds: add fedora rawhide build
Ariadne Conill f3e1073f 2019-07-12T08:31:21 build: include meson build files in generated tarballs
Ariadne Conill d351e6ae 2019-07-12T08:23:36 Revert "tests: remove some no longer relevant bitrot in the test environment file" This reverts commit 107ad34f8fdae7af0f38afaa51e0ca8fdbee8250. Breaks autoconf.
Ariadne Conill 061627f0 2019-07-12T08:20:05 meson: bump required version to 0.47 for copy directive
Ariadne Conill 107ad34f 2019-07-12T08:19:19 tests: remove some no longer relevant bitrot in the test environment file
Ariadne Conill c862e030 2019-07-12T06:53:37 pkgconf 1.6.3.
Ariadne Conill 5f3aa3a8 2019-07-12T06:53:25 cli: bump copyright notice to 2019
Ariadne Conill 286e3547 2019-07-12T06:46:29 update NEWS for 1.6.3.
Ariadne Conill 3740bfb6 2019-07-12T06:42:08 tests: add test for malformed versions generating a diagnostic with --validate
Ariadne Conill a91e0bf2 2019-07-12T06:37:46 tests: explicitly test --print-provides with malformed versions
Ariadne Conill c10f6999 2019-07-12T06:35:48 libpkgconf: pkg: generate diagnostic for and trim malformed versions
Ariadne Conill 312b4e51 2019-07-12T06:22:41 tests: add test for malformed version handling
Ariadne Conill 3783d657 2019-07-12T06:15:35 tests: add malformed-version fixture
Ariadne Conill 6c3356a0 2019-07-12T05:56:35 update README [ci skip]
Ariadne Conill 833294f5 2019-07-12T05:52:37 builds: add freebsd CI build
Ariadne Conill cab8eddc 2019-07-12T05:48:22 build: remove no longer included CMakeLists files
Ariadne Conill 7a395932 2019-07-12T05:45:16 drop CMake support
Ariadne Conill c816ce69 2019-07-11T03:36:03 pkgconf 1.6.2. (closes #38, #40, #41)
Ariadne Conill 0a247fa1 2019-07-11T03:42:37 man: pkgconf: add --modversion description (closes #34)
Ariadne Conill 7e0b0fad 2019-07-11T03:38:58 libpkgconf: path: fix memory leak when deduping paths (closes #39)
Ariadne Conill 03e5d0fd 2019-07-11T03:30:56 update AUTHORS using `git shortlog -e`
Ariadne Conill c7c3ddbf 2019-07-11T03:24:50 add mailmap
kaniini 984dc984 2019-06-16T05:59:03 Merge branch 'lfs-fix' of a_tsoy/pkgconf into master
Alexander Tsoy db9c1e96 2019-06-07T19:19:28 fix the order of header includes config.h should be included before stdinc.h, otherwise large file support is not enabled. Downstream bug: https://bugs.gentoo.org/687548
William Pitcock ebfcaf50 2019-05-25T15:59:55 normalize include guards. closes #33
kaniini 7460d287 2019-05-18T00:52:09 Merge branch 'fix-msvc-build' of seungha.yang/pkgconf into master
Seungha Yang 5436558e 2019-05-11T01:15:24 main: Fix build with MSVC Use pkgconf_strndup() since strndup() might be unavailable
William Pitcock 0ba98da2 2019-05-06T15:22:11 lite: remove --simulate
William Pitcock 2d0c1f5c 2019-05-06T15:15:41 lite: disable debug logging
William Pitcock 43ca536b 2019-05-06T15:13:17 lite: disable some bloat
William Pitcock fb98f5a8 2019-05-06T14:41:52 lite: add build system for pkgconf-lite mode
William Pitcock bd6f90a8 2019-05-04T03:01:11 ci: add freebsd test build
William Pitcock 7a8f96a9 2019-05-04T02:54:52 add cmake test build
William Pitcock 8d322b89 2019-05-04T02:50:27 add meson test build
William Pitcock bf1c18a1 2019-05-04T02:47:28 add test sr.ht autoconf alpine edge build
William Pitcock be601122 2019-03-23T22:38:50 pkgconf 1.6.1.
William Pitcock 662957ca 2019-03-23T22:33:55 libpkgconf: tuple: tighten quoting logic a bit closes #12
William Pitcock 3afd14c4 2019-03-23T22:27:05 libpkgconf: path: use realpath(3) to deduplicate the search path closes #24
William Pitcock ba1f48e4 2019-03-23T22:17:04 libpkgconf: client: ensure PKG_CONFIG_LIBDIR being empty overrides the default search paths closes #25
William Pitcock 45eae203 2019-03-23T21:56:13 start NEWS for 1.6.1.
kaniini 3e8103c7 2019-03-07T00:01:39 Merge branch 'master' of esmil/pkgconf into master
Emil Renner Berthing d926e75b 2019-03-06T16:03:32 main: fix personalities when argv[0] contains path
William Pitcock e2fdd6f4 2019-01-14T14:12:32 pkgconf 1.6.0.
William Pitcock 9315ee9e 2019-01-14T14:07:19 tests: add orphaned-requires-private test
William Pitcock 737e326a 2019-01-14T14:04:50 tests: add orphaned requires.private testcase
William Pitcock 183e68df 2019-01-14T13:52:04 libpkgconf: add LIBPKGCONF_VERSION macro
William Pitcock 5c7c9127 2019-01-14T13:49:41 doc: update fragment API docs
William Pitcock 6854265f 2019-01-14T13:48:23 libpkgconf: pkg: use pkgconf_fragment_copy_list() to clean up cflags gathering logic (closes #20)
William Pitcock 36a5b7ac 2019-01-14T13:48:02 libpkgconf: fragment: add pkgconf_fragment_copy_list()
William Pitcock 0ae52182 2019-01-14T13:11:59 libpkgconf: pkg: clean up pkgconf_parser interactions (closes #13)
William Pitcock 059b2f61 2018-10-22T15:12:44 add a code of conduct
William Pitcock 74133eda 2018-10-15T10:23:35 pkgconf 1.5.4.
kaniini ccd2440c 2018-09-27T02:07:31 Merge branch 'fix-slashes' of nacho/pkgconf into master
Ignacio Casal Quinteiro 2c059710 2018-09-17T15:20:28 Canonicalize paths before using them This fixes a problem where on Windows the prefix would not match if the prefix is generated with backslashes and the rest of the variables use normal slashes
Ignacio Casal Quinteiro 9f17da92 2018-09-17T15:20:00 On Windows the path prefix should be checked caseless
Ignacio Casal Quinteiro c9dffb85 2018-09-17T15:19:18 Fix build on windows with meson
William Pitcock 101b99b5 2018-07-28T19:47:53 pkgconf 1.5.3.
William Pitcock 47284486 2018-07-28T19:45:57 regress: add test for empty tuple buffer overflow issue
kaniini 3b5626a0 2018-07-29T00:18:09 Merge branch 'master' of awilfox/pkgconf into master
A. Wilcox 9b7affe0 2018-07-28T19:06:33 tuple: Ensure buf length is always >= 1 in dequote If a key is defined with no value, dequote will allocate a buffer with a length of 0. Since the buffer's length is 0, any manipulation of its content is UB. Example .pc file: prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include xcflags= xlibs= -lSM -lICE -lX11 Name: Obt Description: Openbox Toolkit Library Version: 3.6 Requires: glib-2.0 libxml-2.0 Libs: -L${libdir} -lobt ${xlibs} Cflags: -I${includedir}/openbox/3.6 ${xcflags} Output using pkgconf 1.5.2 on x86_64 Linux/musl: % pkgconf --cflags obt-3.5 -I/usr/include/openbox/3.6 \�\\�I\�\ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
William Pitcock 4735e172 2018-07-19T17:30:33 pkgconf 1.5.2.
William Pitcock 7939732f 2018-07-19T17:27:02 build: install pkgconf-personality(5) manpage
William Pitcock 41f80315 2018-07-19T17:25:28 man: add pkgconf-personality(5)
kaniini 7e89a304 2018-07-05T13:35:54 Merge branch 'graham/system-paths-regression' of pkgconf/pkgconf into master
Graham Ollis fb08ae2b 2018-06-25T06:36:57 environment variables for system paths should override compiled-in defaults
William Pitcock 56015682 2018-06-16T16:36:40 pkgconf 1.5.1.
William Pitcock 6f05fec4 2018-06-16T16:35:44 pkg: give a correctly sized vtable to the parser
William Pitcock 8f6e071d 2018-06-16T16:35:19 tests: add test fixture for bogus .pc files
William Pitcock b77c04f3 2018-06-14T16:17:54 update NEWS
William Pitcock b46bb93c 2018-06-14T16:12:04 libpkgconf: tuple: properly dequote tuples when added from the parser (closes legacy github bug #186)
William Pitcock ae7faf73 2018-06-14T16:11:21 tests: add testcase for tuple dequoting bug (legacy github bug #186)
William Pitcock 854a6adf 2018-06-14T15:31:00 tests: add tuple-quoting fixture
William Pitcock 36734944 2018-06-14T14:49:24 README: make it more clear the git repo has moved
Graham Ollis 273d1d04 2018-05-29T17:36:04 use pkgconf_strlcpy On Debian/Ubuntu I get: CC libpkgconf/personality.lo libpkgconf/personality.c: In function ‘load_personality_with_path’: libpkgconf/personality.c:195:3: warning: implicit declaration of function ‘strlcpy’ [-Wimplicit-function-declaration] strlcpy(pathbuf, path, sizeof pathbuf); ^~~~~~~ CC libpkgconf/parser.lo CCLD libpkgconf.la ar: `u' modifier ignored since `D' is the default (see `U') CC cli/pkgconf-main.o CC cli/pkgconf-getopt_long.o CC cli/pkgconf-renderer-msvc.o CCLD pkgconf ./.libs/libpkgconf.so: undefined reference to `strlcpy'
William Pitcock 2b5202dd 2018-06-14T14:45:33 cmake: likewise
William Pitcock 782c88ce 2018-06-14T14:43:01 meson: set PERSONALITY_PATH to something useful
William Pitcock ea98ff3e 2018-06-04T13:13:42 not at github anymore
William Pitcock ab8df572 2018-05-10T13:41:47 NEWS: mention progress on #166
William Pitcock 8aa66222 2018-05-10T13:37:40 main: deduce the cross-compilation triplet based on program name
William Pitcock db7845b4 2018-05-10T13:36:49 configure: fix search path for triplets