summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/rng-tools/package.py
blob: 63c956409fc8a662aead4818dc911836bafc5c50 (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
26
27
28
29
30
31
32
33
# 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 RngTools(AutotoolsPackage):
    """This is a random number generator daemon.
    It monitors a set of entropy sources, and supplies
    entropy from them to the system kernel's /dev/random
    machinery."""

    homepage = "https://github.com/nhorman/rng-tools/"
    url = "https://github.com/nhorman/rng-tools/archive/v6.10.tar.gz"

    license("GPL-2.0-or-later")

    version("6.10", sha256="2e462821aaa7d6dc24646aa0d2239d97cb8b07b3e60715159a9edcaa9189f8ef")
    version("6.9", sha256="a57a7f51a2e3c0faa8afb979709a4c0cbea36d0b52fd835b104f8fb4fd1fa610")
    version("6.8", sha256="93e548d4aaf2a1897d4b677f41d8473db1c7f57648adeca18cafa1907e410bb3")

    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")
    depends_on("m4", type="build")
    depends_on("gettext")
    depends_on("curl")
    depends_on("jansson")
    depends_on("libp11")
    depends_on("librtlsdr")
    depends_on("sysfsutils")