summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-22 17:53:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-22 17:53:44 +0000
commit8927011e49032433c5fe030630387ba252981c32 (patch)
tree56dce54f958e298357fb381160cd142f902c8b7b /sys-apps/timer_entropyd
parentFix ebuild for Prefix, bump to EAPI=3 (diff)
downloadhistorical-8927011e49032433c5fe030630387ba252981c32.tar.gz
historical-8927011e49032433c5fe030630387ba252981c32.tar.bz2
historical-8927011e49032433c5fe030630387ba252981c32.zip
Initial import to portage of timer_entropyd; ebuild proxy-maintained and submitted by Pavel Stratil, and polished by me. Using -r1 as base revision to override sunrise-provided ebuild.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/timer_entropyd')
-rw-r--r--sys-apps/timer_entropyd/ChangeLog12
-rw-r--r--sys-apps/timer_entropyd/Manifest15
-rw-r--r--sys-apps/timer_entropyd/files/timer_entropyd.initd22
-rw-r--r--sys-apps/timer_entropyd/metadata.xml12
-rw-r--r--sys-apps/timer_entropyd/timer_entropyd-0.1-r1.ebuild40
5 files changed, 101 insertions, 0 deletions
diff --git a/sys-apps/timer_entropyd/ChangeLog b/sys-apps/timer_entropyd/ChangeLog
new file mode 100644
index 000000000000..2bd65bebdbe8
--- /dev/null
+++ b/sys-apps/timer_entropyd/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sys-apps/timer_entropyd
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/timer_entropyd/ChangeLog,v 1.1 2010/05/22 17:53:44 flameeyes Exp $
+
+*timer_entropyd-0.1-r1 (22 May 2010)
+
+ 22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +timer_entropyd-0.1-r1.ebuild, +files/timer_entropyd.initd, +metadata.xml:
+ Initial import to portage of timer_entropyd; ebuild proxy-maintained and
+ submitted by Pavel Stratil, and polished by me. Using -r1 as base revision
+ to override sunrise-provided ebuild.
+
diff --git a/sys-apps/timer_entropyd/Manifest b/sys-apps/timer_entropyd/Manifest
new file mode 100644
index 000000000000..3815338d637f
--- /dev/null
+++ b/sys-apps/timer_entropyd/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX timer_entropyd.initd 534 RMD160 af18844ce9a44f66a6525bfda945095723d1da80 SHA1 e9c30f4b4ec892f348c2b499cb164dc38aba7278 SHA256 614bc17a558adc46c60828fdf26ae312779e91a7666c44751bf811345014ed0f
+DIST timer_entropyd-0.1.tgz 8152 RMD160 79b4f441ba87a646db37f6a0d36160ced8aa5d56 SHA1 02121b4eb6f3dcf2fc1d58193d5b963892391d0a SHA256 4b00b7abfd0b0f1bc1b7acb38cd37eaf6e12c04185cfb9d3f1368624f22257a9
+EBUILD timer_entropyd-0.1-r1.ebuild 1013 RMD160 a6f6214f2959609de7470f8f666baa2781b688cf SHA1 b3c596403d3ccf8373740600feb9306f3a25c5cf SHA256 fa3247ba226ff5021412796f80016b03838311c41cd43031469c4677130bc17e
+MISC ChangeLog 585 RMD160 82f38de0a62718b41d3d4092a21a9ed48198b0ed SHA1 b984b9942193d5887b162975a98c92fca93eb006 SHA256 9b2383efa6b4ef67a6a480b656993eeeb7b18671cc9d830c53fdd0c8a3ca2dd3
+MISC metadata.xml 379 RMD160 c52401e8ef97f2f404d4f173421aeb939c98a88b SHA1 090ad212930388a2ff9c8261af807546b24f73df SHA256 50e6772c4e7b84ef6b1e17bc6e43667e9f0fa740616f80c933b19348a21785e5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkv4GfgACgkQAiZjviIA2XgfVgCgi1AAsL+vJVBVItEkzQfDRVkI
+HOUAoOf67f6PtBiOww7RkqA0DgnDt2V6
+=1+Ta
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/timer_entropyd/files/timer_entropyd.initd b/sys-apps/timer_entropyd/files/timer_entropyd.initd
new file mode 100644
index 000000000000..5d9a12fcabc7
--- /dev/null
+++ b/sys-apps/timer_entropyd/files/timer_entropyd.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2010 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,v 1.1 2010/05/22 17:53:44 flameeyes Exp $
+
+depend() {
+ need localmount
+ before net
+ use logger
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec /usr/libexec/timer_entropyd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec /usr/libexec/timer_entropyd
+ eend $?
+}
diff --git a/sys-apps/timer_entropyd/metadata.xml b/sys-apps/timer_entropyd/metadata.xml
new file mode 100644
index 000000000000..e12def24c0a2
--- /dev/null
+++ b/sys-apps/timer_entropyd/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>pavel.stratil-jun@fenix.cz</email>
+ <description>Proxied co-maintainer, CC on all bugs</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-apps/timer_entropyd/timer_entropyd-0.1-r1.ebuild b/sys-apps/timer_entropyd/timer_entropyd-0.1-r1.ebuild
new file mode 100644
index 000000000000..d8a6600cb3ee
--- /dev/null
+++ b/sys-apps/timer_entropyd/timer_entropyd-0.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 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-r1.ebuild,v 1.1 2010/05/22 17:53:44 flameeyes Exp $
+
+EAPI=2
+
+inherit 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
+}
+
+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" ${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"
+}