Add new package: authd (#18955)

This commit is contained in:
darmac 2020-10-11 09:58:29 +08:00 committed by GitHub
parent ff5d95da95
commit edfac1a04f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')