2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-09-22 10:11:05 +02:00
|
|
|
#
|
|
|
|
# libconfuse
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2020-06-25 15:36:36 +02:00
|
|
|
LIBCONFUSE_VERSION = 3.3
|
2015-11-05 18:03:12 +01:00
|
|
|
LIBCONFUSE_SOURCE = confuse-$(LIBCONFUSE_VERSION).tar.xz
|
|
|
|
LIBCONFUSE_SITE = https://github.com/martinh/libconfuse/releases/download/v$(LIBCONFUSE_VERSION)
|
2011-09-01 16:47:49 +02:00
|
|
|
LIBCONFUSE_INSTALL_STAGING = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBCONFUSE_CONF_OPTS = --disable-rpath
|
2014-06-26 21:20:54 +02:00
|
|
|
LIBCONFUSE_LICENSE = ISC
|
2014-10-26 19:45:19 +01:00
|
|
|
LIBCONFUSE_LICENSE_FILES = LICENSE
|
package: switch to _CPE_ID_VALID
Now that we document _CPE_ID_VALID, and that it shall be used instead of
setting a default value to one of the other _CPE_ID_* variables, change
all of the existing packages to use it, to avoid any error when we later
extend check-package to validate the sanity ofthe _CPE_ID_* variables.
Mechanical change done within the reference container, running the new
check in check-package, to report the CPE_ID errors:
$ make check-package 2>/dev/null \
|awk '{
split($(1), a, ":"); fname = a[1]
split($(2), a, "'\''"); val = a[2]
new_var = $(8); gsub("_CPE_ID_.*", "_CPE_ID_VALID", new_var)
printf("%s %s %s %s\n", fname, $(8), val, new_var)
}' \
|while read fname var val new_var; do
sed -r -i -e "s/${var}[[:space:]]*=[[:space:]]*${val}/${new_var} = YES/" "${fname}"
done
$ git diff -I'CPE_ID_(VENDOR|VALID)'
[empty]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-10 22:24:58 +01:00
|
|
|
LIBCONFUSE_CPE_ID_VALID = YES
|
2017-07-04 12:28:51 +02:00
|
|
|
LIBCONFUSE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
2016-08-18 20:24:37 +02:00
|
|
|
|
2022-09-18 12:13:17 +02:00
|
|
|
# 0001-Fix-163-unterminated-username-used-with-getpwnam.patch
|
|
|
|
LIBCONFUSE_IGNORE_CVES += CVE-2022-40320
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2013-03-17 09:19:42 +01:00
|
|
|
$(eval $(host-autotools-package))
|