summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2022-05-05 11:06:02 -0400
committerAnthony G. Basile <blueness@gentoo.org>2022-05-05 11:06:02 -0400
commit37fdfcc4301cc665c46d1607592b789244521585 (patch)
tree6cbdccc01ace5cc658750e9d265df86da81aff9b /sys-apps
parentnet-vpn/tor: version bump to 0.4.7.7 (diff)
downloadgentoo-37fdfcc4301cc665c46d1607592b789244521585.tar.gz
gentoo-37fdfcc4301cc665c46d1607592b789244521585.tar.bz2
gentoo-37fdfcc4301cc665c46d1607592b789244521585.zip
sys-apps/haveged: version bump to 1.9.18
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/haveged/Manifest1
-rw-r--r--sys-apps/haveged/haveged-1.9.18.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-apps/haveged/Manifest b/sys-apps/haveged/Manifest
index 7842be154882..9f024ef91150 100644
--- a/sys-apps/haveged/Manifest
+++ b/sys-apps/haveged/Manifest
@@ -1,2 +1,3 @@
DIST haveged-1.9.15.tar.gz 493789 BLAKE2B 08d956651e3e717bdaf42f957bca93d0f74049b38219b2d283c3b0e2dc49be0061c8a58b742c63cb1f8b03f8060ed9816735879d023c5dc606a0362e81b56f75 SHA512 405fe15e3711de503d4d28f5f67fc9f393da03eb80d2a5f6167c3539fda4f11f7e7b8e795a6770d6dfa3273ee887133898c1ca4b41d80c62e1997d8796f4325e
DIST haveged-1.9.17.tar.gz 495429 BLAKE2B e1f89bc47a9920517ffe9040b4bfcf2fb25e8b7f7404b16fe526fc225550050d602446ccba7442cb68b797c1b12d6e93e1826cc847c27e1a6d3a04814c31b4cb SHA512 0db4fc287dc80b6d7fbe6e1b4a6fb73bcab9db6604b437ac127f4fb4aeef64867d7bb90b24b4286e5e46e85db8e85f4b5fc15f189a8fe1f071ec79c9b5f24095
+DIST haveged-1.9.18.tar.gz 495798 BLAKE2B 73e93fff2edfb39e4b5966fb9e1e631e073d9da3aca3e85ef579a1824f3243484dc4b6891b385358969b1d4224bdbfb2d58a6c3fa62e7bed5fe5a8788c625f49 SHA512 ef2e0ae3be68a8fba16371c3347d52ecf9748269ae30eef2e5c26aad6cfb516f87295e1e56be902df1064e7d4ace04863dd094d62b69e584608f779d63b42d8e
diff --git a/sys-apps/haveged/haveged-1.9.18.ebuild b/sys-apps/haveged/haveged-1.9.18.ebuild
new file mode 100644
index 000000000000..d244e8e4456f
--- /dev/null
+++ b/sys-apps/haveged/haveged-1.9.18.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 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
+}