package/fastd: libcap is optional not mandatory
libcap is an optional dependency which is available since version 7:
eaac494273
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e98610f039
commit
25ab2d8b11
@ -6,7 +6,6 @@ config BR2_PACKAGE_FASTD
|
|||||||
select BR2_PACKAGE_LIBUECC
|
select BR2_PACKAGE_LIBUECC
|
||||||
select BR2_PACKAGE_LIBSODIUM
|
select BR2_PACKAGE_LIBSODIUM
|
||||||
select BR2_PACKAGE_LIBSODIUM_FULL
|
select BR2_PACKAGE_LIBSODIUM_FULL
|
||||||
select BR2_PACKAGE_LIBCAP
|
|
||||||
help
|
help
|
||||||
Fast and Secure Tunneling Daemon
|
Fast and Secure Tunneling Daemon
|
||||||
|
|
||||||
|
@ -10,11 +10,18 @@ FASTD_SOURCE = fastd-$(FASTD_VERSION).tar.xz
|
|||||||
FASTD_LICENSE = BSD-2-Clause
|
FASTD_LICENSE = BSD-2-Clause
|
||||||
FASTD_LICENSE_FILES = COPYRIGHT
|
FASTD_LICENSE_FILES = COPYRIGHT
|
||||||
FASTD_CONF_OPTS = -DENABLE_LIBSODIUM=ON
|
FASTD_CONF_OPTS = -DENABLE_LIBSODIUM=ON
|
||||||
FASTD_DEPENDENCIES = host-bison host-pkgconf libuecc libsodium libcap
|
FASTD_DEPENDENCIES = host-bison host-pkgconf libuecc libsodium
|
||||||
|
|
||||||
# 0002-receive-fix-buffer-leak-when-receiving-invalid-packets.patch
|
# 0002-receive-fix-buffer-leak-when-receiving-invalid-packets.patch
|
||||||
FASTD_IGNORE_CVES += CVE-2020-27638
|
FASTD_IGNORE_CVES += CVE-2020-27638
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||||
|
FASTD_CONF_OPTS += -DWITH_CAPABILITIES=ON
|
||||||
|
FASTD_DEPENDENCIES += libcap
|
||||||
|
else
|
||||||
|
FASTD_CONF_OPTS += -DWITH_CAPABILITIES=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
FASTD_CONF_OPTS += -DENABLE_OPENSSL=ON
|
FASTD_CONF_OPTS += -DENABLE_OPENSSL=ON
|
||||||
FASTD_DEPENDENCIES += openssl
|
FASTD_DEPENDENCIES += openssl
|
||||||
|
Loading…
Reference in New Issue
Block a user