summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2020-06-17 11:57:54 -0400
committerAnthony G. Basile <blueness@gentoo.org>2020-06-17 11:57:54 -0400
commit9dcc2e1ba9a607bdf32905f75155022047f176fb (patch)
tree5ae55e47a93e74492c05dbb567741e8ec77a6668 /sys-apps/haveged/haveged-1.9.10.ebuild
parentsys-apps/agedu: version bump to 20200617 (diff)
downloadgentoo-9dcc2e1ba9a607bdf32905f75155022047f176fb.tar.gz
gentoo-9dcc2e1ba9a607bdf32905f75155022047f176fb.tar.bz2
gentoo-9dcc2e1ba9a607bdf32905f75155022047f176fb.zip
sys-apps/haveged: version bump to 1.9.10 and 1.9.11
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'sys-apps/haveged/haveged-1.9.10.ebuild')
-rw-r--r--sys-apps/haveged/haveged-1.9.10.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/haveged/haveged-1.9.10.ebuild b/sys-apps/haveged/haveged-1.9.10.ebuild
new file mode 100644
index 00000000000..c439fda1326
--- /dev/null
+++ b/sys-apps/haveged/haveged-1.9.10.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# 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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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
+}