sys-apps/haveged - 1.9.15 (gentoo)

Search

Package Information

Description:
A simple entropy daemon using the HAVEGE algorithm
Homepage:
https://www.issihosts.com/haveged/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.9.15 8 amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit systemd

DESCRIPTION="A simple entropy daemon using the HAVEGE algorithm"
HOMEPAGE="https://www.issihosts.com/haveged/"
SRC_URI="https://github.com/jirka-h/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv x86"
IUSE="selinux static-libs threads"

RDEPEND="
	!<sys-apps/openrc-0.11.8
	selinux? ( sec-policy/selinux-entropyd )
"

src_configure() {
	local myeconfargs=(
		$(use_enable static-libs static)
		$(use_enable threads)
		--bindir=/usr/sbin
		--enable-nistest
	)
	econf "${myeconfargs[@]}"
}

src_install() {
	default

	# Install gentoo ones instead
	newinitd "${FILESDIR}"/haveged-init.d.3 haveged
	newconfd "${FILESDIR}"/haveged-conf.d haveged

	systemd_newunit "${FILESDIR}"/service.gentoo ${PN}.service
	insinto /etc
	doins "${FILESDIR}"/haveged.conf

	find "${ED}" -type f -name "*.la" -delete || die
}

USE Flags

Dependencies

RDEPEND

	!<sys-apps/openrc-0.11.8
	selinux? ( sec-policy/selinux-entropyd )

Manifest for 1.9.15

Type File Size Source URLs
DIST haveged-1.9.15.tar.gz 493789 bytes https://github.com/jirka-h/haveged/archive/v1.9.15.tar.gz