summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/authd/package.py
blob: 3eac5f7724c8f9d18deff463963e8810552b3ae8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2023 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.package 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"

    license("GPL-2.0-only")

    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(f"prefix={prefix}", "install")