6985955a69
Fixes the following security issues: CVE-2023-50246: Fix heap buffer overflow in jvp_literal_number_literal https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc CVE-2023-50268: fix stack-buffer-overflow if comparing nan with payload https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
798 B
Makefile
29 lines
798 B
Makefile
################################################################################
|
|
#
|
|
# jq
|
|
#
|
|
################################################################################
|
|
|
|
JQ_VERSION = 1.7.1
|
|
JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
|
|
JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation)
|
|
JQ_LICENSE_FILES = COPYING
|
|
JQ_CPE_ID_VENDOR = jq_project
|
|
JQ_INSTALL_STAGING = YES
|
|
|
|
# uses c99 specific features
|
|
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
|
HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99"
|
|
|
|
HOST_JQ_CONF_OPTS += --without-oniguruma
|
|
|
|
ifeq ($(BR2_PACKAGE_ONIGURUMA),y)
|
|
JQ_DEPENDENCIES += oniguruma
|
|
JQ_CONF_OPTS += --with-oniguruma
|
|
else
|
|
JQ_CONF_OPTS += --without-oniguruma
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|