c19cca0452
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>
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# shellinabox
|
|
#
|
|
################################################################################
|
|
|
|
SHELLINABOX_VERSION = 2.20
|
|
SHELLINABOX_SITE = $(call github,shellinabox,shellinabox,v$(SHELLINABOX_VERSION))
|
|
SHELLINABOX_LICENSE = GPL-2.0 with OpenSSL exception
|
|
SHELLINABOX_LICENSE_FILES = COPYING GPL-2
|
|
SHELLINABOX_CPE_ID_VALID = YES
|
|
|
|
# 0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch
|
|
SHELLINABOX_IGNORE_CVES += CVE-2018-16789
|
|
|
|
# Fetching from Github, and patching Makefile.am, so we need to autoreconf
|
|
SHELLINABOX_AUTORECONF = YES
|
|
|
|
# The OpenSSL support is supposed to be optional, but in practice,
|
|
# with OpenSSL disabled, it fails to build. See
|
|
# https://github.com/shellinabox/shellinabox/issues/385.
|
|
SHELLINABOX_DEPENDENCIES = zlib openssl
|
|
SHELLINABOX_CONF_OPTS = \
|
|
--disable-runtime-loading \
|
|
--enable-ssl
|
|
|
|
# musl's implementation of utmpx is a dummy one, and some aspects of
|
|
# it cause build failures in shellinabox
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
SHELLINABOX_CONF_OPTS += --disable-utmp
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|