From edfac1a04f442804b875415659161479d2936c98 Mon Sep 17 00:00:00 2001 From: darmac Date: Sun, 11 Oct 2020 09:58:29 +0800 Subject: [PATCH] Add new package: authd (#18955) --- .../repos/builtin/packages/authd/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/authd/package.py 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 00000000000..eff73618258 --- /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')