2014-03-20 23:17:11 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuci
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-16 23:53:57 +02:00
|
|
|
LIBUCI_VERSION = 4b3db1179747b6a6779029407984bacef851325c
|
2021-02-11 00:16:36 +01:00
|
|
|
LIBUCI_SITE = https://git.openwrt.org/project/uci.git
|
|
|
|
LIBUCI_SITE_METHOD = git
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
|
2021-07-18 10:04:18 +02:00
|
|
|
LIBUCI_LICENSE_FILES = cli.c libuci.c
|
2021-07-17 23:48:53 +02:00
|
|
|
LIBUCI_CPE_ID_VENDOR = openwrt
|
2014-03-20 23:17:11 +01:00
|
|
|
LIBUCI_INSTALL_STAGING = YES
|
|
|
|
LIBUCI_DEPENDENCIES = libubox
|
|
|
|
|
2021-07-17 23:48:54 +02:00
|
|
|
# Fixed in commit 19e29ffc15dbd958e8e6a648ee0982c68353516f, older than LIBUCI_VERSION
|
|
|
|
LIBUCI_IGNORE_CVES += CVE-2019-15513
|
|
|
|
|
2014-04-19 02:47:01 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
2014-04-05 16:36:57 +02:00
|
|
|
LIBUCI_DEPENDENCIES += lua
|
2014-10-19 20:04:47 +02:00
|
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
|
2016-02-09 14:17:37 +01:00
|
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
2014-04-05 16:36:57 +02:00
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2019-10-26 10:45:54 +02:00
|
|
|
LIBUCI_LICENSE += , GPL-2.0 (lua bindings)
|
2014-03-20 23:17:11 +01:00
|
|
|
else
|
2014-10-19 20:04:46 +02:00
|
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
|
2014-03-20 23:17:11 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|