46273a8eb9
CVE-2019-15513 was fixed upstream in 2015 with commit 19e29ffc15dbd958e8e6a648ee0982c68353516f, which is older than the commit we currently use in LIBUCI_VERSION. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [yann.morin.1998@free.fr: reword comment and commit log] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
856 B
Makefile
29 lines
856 B
Makefile
################################################################################
|
|
#
|
|
# libuci
|
|
#
|
|
################################################################################
|
|
|
|
LIBUCI_VERSION = 52bbc99f69ea6f67b6fe264f424dac91bde5016c
|
|
LIBUCI_SITE = https://git.openwrt.org/project/uci.git
|
|
LIBUCI_SITE_METHOD = git
|
|
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
|
|
LIBUCI_CPE_ID_VENDOR = openwrt
|
|
LIBUCI_INSTALL_STAGING = YES
|
|
LIBUCI_DEPENDENCIES = libubox
|
|
|
|
# Fixed in commit 19e29ffc15dbd958e8e6a648ee0982c68353516f, older than LIBUCI_VERSION
|
|
LIBUCI_IGNORE_CVES += CVE-2019-15513
|
|
|
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
|
LIBUCI_DEPENDENCIES += lua
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
|
LIBUCI_LICENSE += , GPL-2.0 (lua bindings)
|
|
else
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|