mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
ebe599de08
With that FASTD_CPE_ID expands to: cpe:2.3🅰️fastd_project:fastd:21.0:*:*:*:*:*:*:* That's the same as listed on https://nvd.nist.gov/products/cpe/detail/826746 Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# fastd
|
|
#
|
|
################################################################################
|
|
|
|
FASTD_VERSION = 21
|
|
FASTD_SITE = https://github.com/NeoRaider/fastd/releases/download/v$(FASTD_VERSION)
|
|
FASTD_SOURCE = fastd-$(FASTD_VERSION).tar.xz
|
|
FASTD_LICENSE = BSD-2-Clause
|
|
FASTD_LICENSE_FILES = COPYRIGHT
|
|
FASTD_CPE_ID_VERSION = $(FASTD_VERSION).0
|
|
FASTD_DEPENDENCIES = host-bison host-pkgconf libuecc libsodium
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
FASTD_CONF_OPTS += -Dcapabilities=enabled
|
|
FASTD_DEPENDENCIES += libcap
|
|
else
|
|
FASTD_CONF_OPTS += -Dcapabilities=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
FASTD_CONF_OPTS += -Dcipher_aes128-ctr=enabled
|
|
FASTD_DEPENDENCIES += openssl
|
|
else
|
|
FASTD_CONF_OPTS += -Dcipher_aes128-ctr=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FASTD_STATUS_SOCKET),y)
|
|
FASTD_CONF_OPTS += -Dstatus_socket=enabled
|
|
FASTD_DEPENDENCIES += json-c
|
|
else
|
|
FASTD_CONF_OPTS += -Dstatus_socket=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
FASTD_CONF_OPTS += -Dsystemd=enabled
|
|
else
|
|
FASTD_CONF_OPTS += -Dsystemd=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_GCC_ENABLE_LTO),y)
|
|
FASTD_CONF_OPTS += -Db_lto=true
|
|
else
|
|
FASTD_CONF_OPTS += -Db_lto=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|