summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-08 11:27:04 +0800
committerGitHub <noreply@github.com>2020-04-07 22:27:04 -0500
commite16593e551b2373aac8412c87337f982ee8f425b (patch)
tree69f2fa23d4ae01d46e2c11521b694a915558a43b /var
parent998dc7a121088ceed237958942c23b8bfc8cd5e2 (diff)
downloadspack-e16593e551b2373aac8412c87337f982ee8f425b.tar.gz
spack-e16593e551b2373aac8412c87337f982ee8f425b.tar.bz2
spack-e16593e551b2373aac8412c87337f982ee8f425b.tar.xz
spack-e16593e551b2373aac8412c87337f982ee8f425b.zip
Add new package: open-isns (#15914)
* Add new package: open-isns * refine args
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/open-isns/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/open-isns/package.py b/var/spack/repos/builtin/packages/open-isns/package.py
new file mode 100644
index 0000000000..220db25ce0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/open-isns/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OpenIsns(AutotoolsPackage):
+ """This is the iSNS server, supporting persistent storage
+ of registrations in a file based database."""
+
+ homepage = "https://github.com/open-iscsi/open-isns"
+ url = "https://github.com/open-iscsi/open-isns/archive/v0.100.tar.gz"
+
+ version('0.100', sha256='b011edbb0f31690aaca902a8ecf4e1f17b01d6c9e9afc51909d26b0993b4328f')
+ version('0.99', sha256='a8febecf888d5a38abfa2fcb290194d993b1a7f5bea0cb61f5cf2e9f9e5273c2')
+ version('0.98', sha256='c5cbd161e51fb993728c04e56d3da693b73eb3f4e81d17f66eb5b7653c29e8eb')
+ version('0.97', sha256='c1c9ae740172e55a1ff33bc22151ec3d916562bf5d60c8420cd64496343683a9')
+ version('0.96', sha256='487fd0d87826423ea99dc159826d0b654a5da016ed670d4395a77bfa4f62e2ec')
+
+ def configure_args(self):
+ args = ['--enable-shared']
+ return args
+
+ def install(self, spec, prefix):
+ make('install')
+ make('install_hdrs')
+ make('install_lib')