package/open-isns: new package

Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
TIAN Yuanhao 2022-09-11 17:52:42 -07:00 committed by Thomas Petazzoni
parent 15972770cf
commit 4052bad5ad
5 changed files with 46 additions and 0 deletions

View File

@ -2782,6 +2782,9 @@ F: package/python-influxdb/
N: Sven Oliver Moll <svolli@svolli.de>
F: package/most/
N: TIAN Yuanhao <tianyuanhao3@163.com>
F: package/open-isns/
N: Theo Debrouwere <t.debrouwere@televic.com>
F: board/beagleboardx15/
F: configs/beagleboardx15_defconfig

View File

@ -1922,6 +1922,7 @@ menu "Networking"
source "package/nss-myhostname/Config.in"
source "package/nss-pam-ldapd/Config.in"
source "package/omniorb/Config.in"
source "package/open-isns/Config.in"
source "package/open62541/Config.in"
source "package/openldap/Config.in"
source "package/openmpi/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_OPEN_ISNS
bool "open-isns"
depends on BR2_USE_MMU # fork()
help
iSNS server and client for Linux.
https://github.com/open-iscsi/open-isns

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 9611344733c0cdf14395f60880950ea4c3c7d6b765565b6493ad3e1afbe216de open-isns-0.102.tar.gz
sha256 00a89b0d18aacd4114decf79122db87bf35bddaf2bc50e383c9c9f4c263390b2 COPYING

View File

@ -0,0 +1,32 @@
################################################################################
#
# open-isns
#
################################################################################
OPEN_ISNS_VERSION = 0.102
OPEN_ISNS_SITE = $(call github,open-iscsi,open-isns,v$(OPEN_ISNS_VERSION))
OPEN_ISNS_LICENSE = LGPL-2.1+
OPEN_ISNS_LICENSE_FILES = COPYING
OPEN_ISNS_INSTALL_STAGING = YES
OPEN_ISNS_CONF_OPTS = -Dslp=disabled
ifeq ($(BR2_PACKAGE_OPENSSL),y)
OPEN_ISNS_DEPENDENCIES += openssl
OPEN_ISNS_CONF_OPTS += -Dsecurity=enabled
else
OPEN_ISNS_CONF_OPTS += -Dsecurity=disabled
endif
ifeq ($(BR2_INIT_SYSTEMD),)
define OPEN_ISNS_REMOVE_SYSTEMD_UNITS
rm $(TARGET_DIR)/usr/lib/systemd/system/isnsd.service
rm $(TARGET_DIR)/usr/lib/systemd/system/isnsd.socket
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/lib/systemd/system
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/lib/systemd
endef
OPEN_ISNS_POST_INSTALL_TARGET_HOOKS += OPEN_ISNS_REMOVE_SYSTEMD_UNITS
endif
$(eval $(meson-package))