summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-22 16:53:28 +0800
committerGitHub <noreply@github.com>2020-04-22 10:53:28 +0200
commit4c9c6b2a68ec26413cfbd9fccd73187db84c8337 (patch)
treeea421e3b0763c15e816f954a4d83e6b89aba161e /var
parent1e243023d835925502abfdde9a42ca890be9ee07 (diff)
downloadspack-4c9c6b2a68ec26413cfbd9fccd73187db84c8337.tar.gz
spack-4c9c6b2a68ec26413cfbd9fccd73187db84c8337.tar.bz2
spack-4c9c6b2a68ec26413cfbd9fccd73187db84c8337.tar.xz
spack-4c9c6b2a68ec26413cfbd9fccd73187db84c8337.zip
linux-pam: added package at v1.3.1 (#16137)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/linux-pam/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/linux-pam/package.py b/var/spack/repos/builtin/packages/linux-pam/package.py
new file mode 100644
index 0000000000..0dff1e0654
--- /dev/null
+++ b/var/spack/repos/builtin/packages/linux-pam/package.py
@@ -0,0 +1,26 @@
+# 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 LinuxPam(AutotoolsPackage):
+ """Linux PAM (Pluggable Authentication Modules for Linux) project."""
+
+ homepage = "http://www.linux-pam.org/"
+ url = "https://github.com/linux-pam/linux-pam/releases/download/v1.3.1/Linux-PAM-1.3.1.tar.xz"
+
+ version('1.3.1', sha256='eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db')
+
+ depends_on('m4', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+
+ def configure_args(self):
+ config_args = [
+ '--includedir=' + self.prefix.include.security
+ ]
+ return config_args