diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-10-11 09:58:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 20:58:29 -0500 |
commit | edfac1a04f442804b875415659161479d2936c98 (patch) | |
tree | d5b3616b708f04a3687baf4ef0ce5fd10d605af2 | |
parent | ff5d95da951b9ae12368aa9abcb479efa0e48e43 (diff) | |
download | spack-edfac1a04f442804b875415659161479d2936c98.tar.gz spack-edfac1a04f442804b875415659161479d2936c98.tar.bz2 spack-edfac1a04f442804b875415659161479d2936c98.tar.xz spack-edfac1a04f442804b875415659161479d2936c98.zip |
Add new package: authd (#18955)
-rw-r--r-- | var/spack/repos/builtin/packages/authd/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/authd/package.py b/var/spack/repos/builtin/packages/authd/package.py new file mode 100644 index 0000000000..eff7361825 --- /dev/null +++ b/var/spack/repos/builtin/packages/authd/package.py @@ -0,0 +1,23 @@ +# 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 Authd(MakefilePackage): + """authd is a small and fast RFC 1413 ident protocol daemon with + both xinetd server and interactive modes that supports IPv6 and + IPv4 as well as the more popular features of pidentd.""" + + homepage = "https://github.com/InfrastructureServices/authd" + url = "https://github.com/InfrastructureServices/authd/releases/download/v1.4.4/authd-1.4.4.tar.gz" + + version('1.4.4', sha256='71ee3d1c3e107c93e082148f75ee460c949b203c861dd20d48f7c5cfdc272bf8') + + def setup_run_environment(self, env): + env.prepend_path('PATH', self.prefix.sbin) + + def install(self, spec, prefix): + make('prefix={0}'.format(prefix), 'install') |