* [Buildroot] [git commit] package/open-isns: new package
@ 2022-09-24 14:40 Thomas Petazzoni via buildroot
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni via buildroot @ 2022-09-24 14:40 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=4052bad5adc47b9fe964548e7608e9b784acaf28
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
DEVELOPERS | 3 +++
package/Config.in | 1 +
package/open-isns/Config.in | 7 +++++++
package/open-isns/open-isns.hash | 3 +++
package/open-isns/open-isns.mk | 32 ++++++++++++++++++++++++++++++++
5 files changed, 46 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index 103b5f223c..4a760a9b9a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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
diff --git a/package/Config.in b/package/Config.in
index afe2dcc21d..360a1645c9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/open-isns/Config.in b/package/open-isns/Config.in
new file mode 100644
index 0000000000..a9bf7bbc1d
--- /dev/null
+++ b/package/open-isns/Config.in
@@ -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
diff --git a/package/open-isns/open-isns.hash b/package/open-isns/open-isns.hash
new file mode 100644
index 0000000000..653fabaa9f
--- /dev/null
+++ b/package/open-isns/open-isns.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 9611344733c0cdf14395f60880950ea4c3c7d6b765565b6493ad3e1afbe216de open-isns-0.102.tar.gz
+sha256 00a89b0d18aacd4114decf79122db87bf35bddaf2bc50e383c9c9f4c263390b2 COPYING
diff --git a/package/open-isns/open-isns.mk b/package/open-isns/open-isns.mk
new file mode 100644
index 0000000000..ae8fb41578
--- /dev/null
+++ b/package/open-isns/open-isns.mk
@@ -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))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-24 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24 14:40 [Buildroot] [git commit] package/open-isns: new package Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).