commit:     3d93dca3cff1356e6b42fcfa8cee26fce6ee6456
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 17 14:58:12 2017 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Nov 17 16:20:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d93dca3

sys-apps/haveged: version bump to 1.9.2

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-apps/haveged/Manifest             |  1 +
 sys-apps/haveged/haveged-1.9.2.ebuild | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/sys-apps/haveged/Manifest b/sys-apps/haveged/Manifest
index d9052303736..4953315352b 100644
--- a/sys-apps/haveged/Manifest
+++ b/sys-apps/haveged/Manifest
@@ -1 +1,2 @@
 DIST haveged-1.9.1.tar.gz 474845 SHA256 
9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715 SHA512 
267d62cfeb886ea00fa412de1a91a34821460d0f4ad789dcfb3547018300e1cbf480917571b19652f2d449369293031d9534f9533bbf6a59560f4f10608c9cd2
 WHIRLPOOL 
a930d0a007c91dbc3b7c83a1ccfb659f53aa3f151b8b3984dc7208697ddb1f73ce7012c7c968dd5295b2e90e62db03e1c582267c1b8b5230745735f462a1f757
+DIST haveged-1.9.2.tar.gz 473890 SHA256 
82d5d23551bb79476e01ea55eadfd83410f6b24ad7349a238a08ea3c7e190234 SHA512 
623df6a5d55b9ec5c7da013c73eeb3ce047c2037d0b643047a5c43772e63ea4c2d9df7c3cfe1ce748bf7c5d2f08fa1ddaf64af6b9e46229b6fde73558edc1fe4
 WHIRLPOOL 
f19b931788e15258df97d9f1e6fa0f99f2e52c94ec7525bb8b7401a6724b525d6fe959ef65b4576446d0f11d7485bec8d047efe0883a370926fbbfaa172cced1

diff --git a/sys-apps/haveged/haveged-1.9.2.ebuild 
b/sys-apps/haveged/haveged-1.9.2.ebuild
new file mode 100644
index 00000000000..2541023e40a
--- /dev/null
+++ b/sys-apps/haveged/haveged-1.9.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils systemd
+
+DESCRIPTION="A simple entropy daemon using the HAVEGE algorithm"
+HOMEPAGE="http://www.issihosts.com/haveged/";
+SRC_URI="http://www.issihosts.com/haveged/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="selinux"
+
+DEPEND=""
+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() {
+       local myeconfargs=(
+               --bindir=/usr/sbin
+               --enable-nistest
+               --disable-static
+               --disable-threads
+       )
+
+       autotools-utils_src_configure
+}
+
+src_install() {
+       autotools-utils_src_install
+
+       # 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
+}

Reply via email to