diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-09-05 12:11:45 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-09-05 12:14:34 +0200 |
commit | c0121a540e2f58fbf2747eb266b593bf5947fee1 (patch) | |
tree | 76549f0b0a4dba159949f85d97382dba0df52e7d /sys-apps/haveged | |
parent | package.mask: Masked =sys-process/psmisc-23.2 (diff) | |
download | gentoo-c0121a540e2f58fbf2747eb266b593bf5947fee1.tar.gz gentoo-c0121a540e2f58fbf2747eb266b593bf5947fee1.tar.bz2 gentoo-c0121a540e2f58fbf2747eb266b593bf5947fee1.zip |
sys-apps/haveged: Version 1.9.4.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'sys-apps/haveged')
-rw-r--r-- | sys-apps/haveged/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/haveged/haveged-1.9.4.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/haveged/Manifest b/sys-apps/haveged/Manifest index 412cc3b974b5..501880f66e2d 100644 --- a/sys-apps/haveged/Manifest +++ b/sys-apps/haveged/Manifest @@ -1,2 +1,3 @@ DIST haveged-1.9.1.tar.gz 474845 BLAKE2B bec7ecaac93f7b6ab746dcb228172272bf7575e33d6ea1e2d1cc8a8fa63187db5e41565a5b49d922c6f4c222d71452e41d0b2dd00984eda179a8026fb76432ce SHA512 267d62cfeb886ea00fa412de1a91a34821460d0f4ad789dcfb3547018300e1cbf480917571b19652f2d449369293031d9534f9533bbf6a59560f4f10608c9cd2 DIST haveged-1.9.2.tar.gz 494682 BLAKE2B a972d128b19fecc3d01e17bd4cf6d5ec03ae716c4b4934c73193e03f3d3f9ff3461a8280ec0a20885499fd334343deb193ddc98b0697b2b14f92fff897bbf59b SHA512 65f70950fb90ef9c24ff3bf1b26e19a9cde2bec4749e2e64d5461a51646a20cf610efa2a5014219b8605957afa0084abd2ba11c7dc15f9379afce784971627b8 +DIST haveged-1.9.4.tar.gz 493215 BLAKE2B e1a8bbda36c35523c7a0c72a1377d7006440742961f9be4527d52b7e05b176334529ee032f5bdf902e729fcfe045a7a0558dfea7c50a95019747d1158f1e4a19 SHA512 20017c7637779c0cfa414233bb67efb2976f92c08e4eb1b7ea41ccd483dad755629d8e05fb8560a2db811fc2ded7d05fa081ab10c59341cb4c206595a964641d diff --git a/sys-apps/haveged/haveged-1.9.4.ebuild b/sys-apps/haveged/haveged-1.9.4.ebuild new file mode 100644 index 000000000000..4e82730b448d --- /dev/null +++ b/sys-apps/haveged/haveged-1.9.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit systemd + +DESCRIPTION="A simple entropy daemon using the HAVEGE algorithm" +HOMEPAGE="http://www.issihosts.com/haveged/" +SRC_URI="https://github.com/jirka-h/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="selinux static-libs" + +RDEPEND=" + !<sys-apps/openrc-0.11.8 + selinux? ( sec-policy/selinux-entropyd ) +" + +# threads are broken right now, but eventually +# we should add $(use_enable threads) +src_configure() { + econf \ + $(use_enable static-libs static) \ + --bindir=/usr/sbin \ + --enable-nistest \ + --disable-threads +} + +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 +} |