# ChangeLog for sys-apps/timer_entropyd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/ChangeLog,v 1.7 2011/05/03 11:46:29 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/ChangeLog,v 1.8 2011/10/22 00:21:28 flameeyes Exp $
+
+*timer_entropyd-0.1-r3 (22 Oct 2011)
+
+ 22 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ +timer_entropyd-0.1-r3.ebuild, +files/timer_entropyd.initd.1:
+ Bump to update the OpenRC.
03 May 2011; Jeremy Olexa <darkside@gentoo.org>
-timer_entropyd-0.1-r1.ebuild, timer_entropyd-0.1-r2.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX timer_entropyd-0.1-syslog.patch 833 RMD160 2f0fc41c0a769a87d255888b42e1defdefd40b85 SHA1 d8246d808eaa8a295a8d1526b5d000d4aa711687 SHA256 996148cde4eec366077bdd72791daf777236c3080ad97bd87c9a29b1ce4a82a1
AUX timer_entropyd.initd 552 RMD160 12966e311a31404916868a89bcba810990612796 SHA1 5876a85ec7d5b641a1e982139accf21f2199bf5f SHA256 67737528183104a57d6ff8cab55ca05d9535523a138351adcf468e319519daed
+AUX timer_entropyd.initd.1 365 RMD160 e634189ab8c7093872f9e779699b5dfdca0a3d83 SHA1 947048dab67c87a5592146c201c50a10c59a5383 SHA256 bf2d381e2cd174ebba4654f0992a3e9f48a1a9b37199a24ed2c282ea8260be0d
DIST timer_entropyd-0.1.tgz 8152 RMD160 79b4f441ba87a646db37f6a0d36160ced8aa5d56 SHA1 02121b4eb6f3dcf2fc1d58193d5b963892391d0a SHA256 4b00b7abfd0b0f1bc1b7acb38cd37eaf6e12c04185cfb9d3f1368624f22257a9
EBUILD timer_entropyd-0.1-r2.ebuild 1057 RMD160 00b84adbae79f697797d836f9bda5410922cf0e5 SHA1 85dd23563ad62452d92c20640c86616c2401dc5b SHA256 4569ddf14c8b876b001c07d4afa4e948dd52dc1857d7e5e71eff0a8c27a67f94
-MISC ChangeLog 1500 RMD160 c7112558ba6efe166621080e23b46251cdd9eb03 SHA1 01c66355556037232976d70b1029391be3aa3888 SHA256 9907649af18dedc10e6f5671dcd4e25dc3a9dfc0724ec3b6af5c144db66a3da3
+EBUILD timer_entropyd-0.1-r3.ebuild 1062 RMD160 a89b1f8ae6f0f6acaf9841cd3e8b4b8e5b2cdd0c SHA1 fb11ee79e0269f6827560e3646ce06e83cd81539 SHA256 0adf03083d0ef3de1a80b304f00253766705af4641d471c1a91ad29e341388fe
+MISC ChangeLog 1689 RMD160 5bdd51f97a5bafcc0c399a1189a52fb78914fe90 SHA1 d9ee4116398c0dce641b0dfec8dcc0d7f1a80d9c SHA256 90b4ab7888d9fd7b7e49b026b0833d2bb15596fccbd1b63d8309940b1437b782
MISC metadata.xml 468 RMD160 b4760f2baa850a97b3f7d50578eaf487818611a3 SHA1 7d889b0d0de9390ea7d08633db0aa83f55f4e1a5 SHA256 45a3543a9893f1604f3f3c6a383601a7a9e94a74f5ea66a07b3d766c6811e543
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk59sbwACgkQfXuS5UK5QB08sAP/buSRNwtHty8o7Mh7672pxQV7
-WjchUnp0qKt5oXokMexuTihCqDP05MU+Ok51TGA6dKR9sRAcwRADXR47aak0/e2w
-IxIh8ZPbrXJM7lXcoWjse3H3NffO0twk/HZElGZQhUUjfl80VYUG5QstWG3LaJV2
-NVXuJgIbPEgtdiic2Cg=
-=G9fo
+iEYEARECAAYFAk6iDIUACgkQAiZjviIA2Xjm4wCgr3AGFOdZ0FVUI0IKyF1ThIII
+Z2oAoL54Nwne9xzLe37aBLVMIQsByz0G
+=GDJy
-----END PGP SIGNATURE-----
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/files/timer_entropyd.initd.1,v 1.1 2011/10/22 00:21:28 flameeyes Exp $
+
+command=/usr/libexec/timer_entropyd
+
+depend() {
+ need localmount
+ before net
+ use logger
+
+ provide entropy
+}
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/timer_entropyd-0.1-r3.ebuild,v 1.1 2011/10/22 00:21:28 flameeyes Exp $
+
+EAPI=2
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="A timer-based entropy generator"
+HOMEPAGE="http://www.vanheusden.com/te/"
+SRC_URI="http://www.vanheusden.com/te/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+src_prepare() {
+ sed -i -e 's:-O2::' Makefile || die
+ epatch "${FILESDIR}"/${P}-syslog.patch
+}
+
+src_compile() {
+ use debug && append-flags -D_DEBUG
+
+ tc-export CC
+ emake DEBUG= || die
+}
+
+src_install() {
+ exeinto /usr/libexec
+ doexe ${PN} || die "doexe failed"
+ dodoc Changes readme.txt || die
+ newinitd "${FILESDIR}/timer_entropyd.initd.1" ${PN} || die
+}
+
+pkg_postinst() {
+ elog "To start ${PN} at boot do rc-update add ${PN} default"
+ elog "To start ${PN} now do /etc/init.d/${PN} start"
+ elog "To check the amount of entropy, cat /proc/sys/kernel/random/entropy_avail"
+}