kumquat-buildroot/package/open-iscsi/open-iscsi.mk
Fabrice Fontaine 4856c75b2f package/open-iscsi: add OPEN_ISCSI_CPE_ID_VENDOR
cpe:2.3🅰️open-iscsi_project:open-iscsi is a valid CPE identifier for
this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aopen-iscsi_project%3Aopen-iscsi

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2023-02-09 21:44:31 +01:00

31 lines
974 B
Makefile

################################################################################
#
# open-iscsi
#
################################################################################
OPEN_ISCSI_VERSION = 2.1.8
OPEN_ISCSI_SITE = $(call github,open-iscsi,open-iscsi,$(OPEN_ISCSI_VERSION))
# The COPYING file says GPL-2.0, but there is some GPL-3.0+ code as
# well. See https://github.com/open-iscsi/open-iscsi/issues/379
OPEN_ISCSI_LICENSE = GPL-2.0+, GPL-3.0+
OPEN_ISCSI_LICENSE_FILES = COPYING
OPEN_ISCSI_CPE_ID_VENDOR = open-iscsi_project
OPEN_ISCSI_DEPENDENCIES = kmod open-isns openssl util-linux
OPEN_ISCSI_CONF_OPTS = -Ddbroot=/var/lib/iscsi
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
OPEN_ISCSI_DEPENDENCIES += systemd
OPEN_ISCSI_CONF_OPTS += -Dno_systemd=false
else
OPEN_ISCSI_CONF_OPTS += -Dno_systemd=true
endif
define OPEN_ISCSI_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_SCSI_LOWLEVEL)
$(call KCONFIG_ENABLE_OPT,CONFIG_ISCSI_TCP)
endef
$(eval $(meson-package))