summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-03-17 15:49:35 +0800
committerGitHub <noreply@github.com>2020-03-17 08:49:35 +0100
commit402d89afa26d90f255b91f737cc8fa3a032fecbf (patch)
tree218f8098fb6a66f72590182749537030e09dd90d
parente3f97b37e64d4de70baf8e58fcd747b021d8f2f9 (diff)
downloadspack-402d89afa26d90f255b91f737cc8fa3a032fecbf.tar.gz
spack-402d89afa26d90f255b91f737cc8fa3a032fecbf.tar.bz2
spack-402d89afa26d90f255b91f737cc8fa3a032fecbf.tar.xz
spack-402d89afa26d90f255b91f737cc8fa3a032fecbf.zip
nfs-utils: added package at v2.4.2 (#15491)
-rw-r--r--var/spack/repos/builtin/packages/nfs-utils/package.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nfs-utils/package.py b/var/spack/repos/builtin/packages/nfs-utils/package.py
new file mode 100644
index 0000000000..be46c57030
--- /dev/null
+++ b/var/spack/repos/builtin/packages/nfs-utils/package.py
@@ -0,0 +1,34 @@
+# 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 NfsUtils(AutotoolsPackage):
+ """The NFS Utilities package contains the userspace server and client tools
+ necessary to use the kernel's NFS abilities. NFS is a protocol that allows
+ sharing file systems over the network."""
+
+ homepage = "http://linux-nfs.org/"
+ url = "https://sourceforge.net/projects/nfs/files/nfs-utils/2.4.2/nfs-utils-2.4.2.tar.gz/download"
+
+ version('2.4.2', sha256='bb08106cd7bd397c6cc34e2461bc7818a664450d2805da08b07e1ced88e5155f')
+ version('2.4.1', sha256='c0dda96318af554881f4eb1590bfe91f1aba2fba59ed2ac3ba099f80fdf838e9')
+ version('2.3.4', sha256='36e70b0a583751ead0034ebe5d8826caf2dcc7ee7c0beefe94d6ee5a3b0b2484')
+
+ depends_on('libtirpc')
+ depends_on('libevent')
+ depends_on('libdmx')
+ depends_on('lvm2')
+ depends_on('keyutils')
+ depends_on('sqlite')
+ depends_on('util-linux')
+
+ def setup_build_environment(self, env):
+ env.append_flags('LDFLAGS', '-lintl')
+
+ def configure_args(self):
+ args = ['--disable-gss', '--with-rpcgen=internal']
+ return args