Changelog:
- f3fc0b7 libuci: fix false positive warning on older gcc versions
- 16ff0ba CMakeLists: add support for including ABIVERSION in the library version number
- 047b2ef CMakeLists.txt: bump minimum cmake version
- fb3c234 add support for an override config directory
- 10f7996 file: Ignore config file with '.' in name
- 5781664 remove internal usage of redundant uci_ptr.last
- 3cda251 file: Fix uci -m import command
- 04d0c46 uci: macro uci_alloc_element not in uci.h
- ae61e1c uci: optimize update section in uci_set
- 16e8a3b uci: fix memory leak uci_set on update section
- b2f3417 uci: maintain option position in uci_add_list
- 74f2797 uci: fix atomicity of uci_add_list
- 47697e6 uci: fix use-after-free uci_add_list
- 7e01d66 uci: optimize update option in uci_set
- b7ceda9 uci: maintain option position in uci_set
- 9b6605e uci: fix use-after-free uci_set on update option
- f49a2fd delta: simplify uci_load_delta() by using a helper
- 5de3871 cli: drop redundant uci_add_delta_path() call for -P
- f84f49f cmake: Allow override of install directories
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3e2e593409)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
30 lines
894 B
Makefile
30 lines
894 B
Makefile
################################################################################
|
|
#
|
|
# libuci
|
|
#
|
|
################################################################################
|
|
|
|
LIBUCI_VERSION = f3fc0b76040685829191debc03edf72f486ae8ae
|
|
LIBUCI_SITE = https://git.openwrt.org/project/uci.git
|
|
LIBUCI_SITE_METHOD = git
|
|
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
|
|
LIBUCI_LICENSE_FILES = cli.c libuci.c
|
|
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))
|