commit: 9bc74ef2bb91373de0beb13c6e2acad4dab7d993 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Sat Mar 31 14:27:58 2018 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Sat Mar 31 14:28:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc74ef2
sys-apps/haveged: bump 1.9.2 to EAPI=6 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-apps/haveged/haveged-1.9.2-r1.ebuild | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/sys-apps/haveged/haveged-1.9.2-r1.ebuild b/sys-apps/haveged/haveged-1.9.2-r1.ebuild new file mode 100644 index 00000000000..8b3a59788d3 --- /dev/null +++ b/sys-apps/haveged/haveged-1.9.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit 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 ~arm64 ~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() { + econf \ + --bindir=/usr/sbin \ + --enable-nistest \ + --disable-static \ + --disable-threads +} + +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 +}
