Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/haveged/
Date: Sat, 31 Mar 2018 14:28:24
Message-Id: 1522506495.9bc74ef2bb91373de0beb13c6e2acad4dab7d993.blueness@gentoo
1 commit: 9bc74ef2bb91373de0beb13c6e2acad4dab7d993
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 31 14:27:58 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 31 14:28:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc74ef2
7
8 sys-apps/haveged: bump 1.9.2 to EAPI=6
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-apps/haveged/haveged-1.9.2-r1.ebuild | 41 ++++++++++++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/sys-apps/haveged/haveged-1.9.2-r1.ebuild b/sys-apps/haveged/haveged-1.9.2-r1.ebuild
16 new file mode 100644
17 index 00000000000..8b3a59788d3
18 --- /dev/null
19 +++ b/sys-apps/haveged/haveged-1.9.2-r1.ebuild
20 @@ -0,0 +1,41 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit systemd
27 +
28 +DESCRIPTION="A simple entropy daemon using the HAVEGE algorithm"
29 +HOMEPAGE="http://www.issihosts.com/haveged/"
30 +SRC_URI="http://www.issihosts.com/haveged/${P}.tar.gz"
31 +
32 +LICENSE="GPL-3+"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
35 +IUSE="selinux"
36 +
37 +DEPEND=""
38 +RDEPEND="!<sys-apps/openrc-0.11.8
39 + selinux? ( sec-policy/selinux-entropyd )"
40 +
41 +# threads are broken right now, but eventually
42 +# we should add $(use_enable threads)
43 +src_configure() {
44 + econf \
45 + --bindir=/usr/sbin \
46 + --enable-nistest \
47 + --disable-static \
48 + --disable-threads
49 +}
50 +
51 +src_install() {
52 + default
53 +
54 + # Install gentoo ones instead
55 + newinitd "${FILESDIR}"/haveged-init.d.3 haveged
56 + newconfd "${FILESDIR}"/haveged-conf.d haveged
57 +
58 + systemd_newunit "${FILESDIR}"/service.gentoo ${PN}.service
59 + insinto /etc
60 + doins "${FILESDIR}"/haveged.conf
61 +}