summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2020-06-10 15:46:39 -0400
committerAnthony G. Basile <blueness@gentoo.org>2020-06-10 15:46:39 -0400
commitedaf06a3c918c00e2003ddd72dfea4b8a4f88818 (patch)
tree8e75d910e25536463aaa004f492162bd4a602b00
parentapp-text/xapian-omega: version bump to 1.4.16 (diff)
downloadgentoo-edaf06a3c918c00e2003ddd72dfea4b8a4f88818.tar.gz
gentoo-edaf06a3c918c00e2003ddd72dfea4b8a4f88818.tar.bz2
gentoo-edaf06a3c918c00e2003ddd72dfea4b8a4f88818.zip
sys-apps/haveged: version bump to 1.9.9
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--sys-apps/haveged/Manifest1
-rw-r--r--sys-apps/haveged/haveged-1.9.9.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/haveged/Manifest b/sys-apps/haveged/Manifest
index e43a714ae1c..b1be02eae63 100644
--- a/sys-apps/haveged/Manifest
+++ b/sys-apps/haveged/Manifest
@@ -2,3 +2,4 @@ DIST haveged-1.9.2.tar.gz 494682 BLAKE2B a972d128b19fecc3d01e17bd4cf6d5ec03ae716
DIST haveged-1.9.4.tar.gz 493215 BLAKE2B e1a8bbda36c35523c7a0c72a1377d7006440742961f9be4527d52b7e05b176334529ee032f5bdf902e729fcfe045a7a0558dfea7c50a95019747d1158f1e4a19 SHA512 20017c7637779c0cfa414233bb67efb2976f92c08e4eb1b7ea41ccd483dad755629d8e05fb8560a2db811fc2ded7d05fa081ab10c59341cb4c206595a964641d
DIST haveged-1.9.8.tar.gz 494473 BLAKE2B 3c656221ffc896a1c57cfcfa17524c1e40de04fc5cffa94ce71e0bf11a78b578b9f11f8e7683f2be7150d5ccfeba9eb2f553d9379006f2624bf78d5ed152da74 SHA512 6a4012c7ab0ad7df77ae61dd3aca072a7aeca942c180d37c8495009fad13a4c9c0e7bf64a3ffce00e50c06679d4b948c3930a960789a06edf074076cf68d37db
DIST haveged-1.9.8c.tar.gz 494470 BLAKE2B 840aa0b985107feb38a7b5823f94de3473e79f75542565e571c4ec9b2640dddcabb09d598e101678defbdd2eb04fe2fc1fb1f8466157e53d7c41272131450dec SHA512 24167e8a9773d96b3c57cd3e57def7e291f3de86873e796cafc1a59d3f89818c6cb8d46d05e5ae4eb2683fc86b313b1acaed7f210724dadb7df3939e1b3900aa
+DIST haveged-1.9.9.tar.gz 495495 BLAKE2B e0cf1a68cfc91b5a0aadb424024c44980a312f5bc5f680f0cba50edc97d82fa9cfea09fc09988cc2e4b02b245471f2a6847d518503fd33f596fa8a00069587e5 SHA512 0d30c2effb859f4960320a4681a368973960c17afa295704ec330a1bb792848ba3be5ab5428274b9dddaa5c6d50447e8bf99ff5de14c03a8d59cf87cc7a4e4ce
diff --git a/sys-apps/haveged/haveged-1.9.9.ebuild b/sys-apps/haveged/haveged-1.9.9.ebuild
new file mode 100644
index 00000000000..c439fda1326
--- /dev/null
+++ b/sys-apps/haveged/haveged-1.9.9.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
+}