summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-06-24 21:35:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-06-24 21:35:39 +0000
commit3fda0ec78b9993e173934d759705f9c24a6d76bb (patch)
tree9822938f1bef93e87748512e07906c4f71fcc209 /sys-apps/timer_entropyd
parentRemove old version. (diff)
downloadgentoo-2-3fda0ec78b9993e173934d759705f9c24a6d76bb.tar.gz
gentoo-2-3fda0ec78b9993e173934d759705f9c24a6d76bb.tar.bz2
gentoo-2-3fda0ec78b9993e173934d759705f9c24a6d76bb.zip
Version bump.
(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/timer_entropyd')
-rw-r--r--sys-apps/timer_entropyd/ChangeLog8
-rw-r--r--sys-apps/timer_entropyd/timer_entropyd-0.2.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/timer_entropyd/ChangeLog b/sys-apps/timer_entropyd/ChangeLog
index 61f58ab0860f..706955b47015 100644
--- a/sys-apps/timer_entropyd/ChangeLog
+++ b/sys-apps/timer_entropyd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/timer_entropyd
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/ChangeLog,v 1.12 2012/06/24 21:25:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/ChangeLog,v 1.13 2012/06/24 21:35:39 flameeyes Exp $
+
+*timer_entropyd-0.2 (24 Jun 2012)
+
+ 24 Jun 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ +timer_entropyd-0.2.ebuild:
+ Version bump.
24 Jun 2012; Diego E. Pettenò <flameeyes@gentoo.org>
-files/timer_entropyd.initd, -timer_entropyd-0.1-r2.ebuild:
diff --git a/sys-apps/timer_entropyd/timer_entropyd-0.2.ebuild b/sys-apps/timer_entropyd/timer_entropyd-0.2.ebuild
new file mode 100644
index 000000000000..c9640e27e68f
--- /dev/null
+++ b/sys-apps/timer_entropyd/timer_entropyd-0.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 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.2.ebuild,v 1.1 2012/06/24 21:35:39 flameeyes Exp $
+
+EAPI=4
+
+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}"/${PN}-0.1-syslog.patch
+}
+
+src_compile() {
+ use debug && append-cppflags -D_DEBUG
+
+ tc-export CC
+ emake DEBUG= || die
+}
+
+src_install() {
+ exeinto /usr/libexec
+ doexe ${PN}
+ dodoc Changes readme.txt
+ 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"
+}