]> Pileus Git - ~andy/sunrise/commitdiff
sys-apps/timer_entropyd: New ebuild to address bug 308599.
authorMartin Jackson <mjo@gentoo.org>
Sun, 21 Mar 2010 19:11:38 +0000 (19:11 +0000)
committerMartin Jackson <mjo@gentoo.org>
Sun, 21 Mar 2010 19:11:38 +0000 (19:11 +0000)
svn path=/sunrise/; revision=10323

sys-apps/timer_entropyd/ChangeLog [new file with mode: 0644]
sys-apps/timer_entropyd/Manifest [new file with mode: 0644]
sys-apps/timer_entropyd/files/timer_entropyd.initd [new file with mode: 0644]
sys-apps/timer_entropyd/metadata.xml [new file with mode: 0644]
sys-apps/timer_entropyd/timer_entropyd-0.1.ebuild [new file with mode: 0644]

diff --git a/sys-apps/timer_entropyd/ChangeLog b/sys-apps/timer_entropyd/ChangeLog
new file mode 100644 (file)
index 0000000..5c2c1f2
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for sys-apps/timer_entropyd
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  21 Mar 2010; Michael Orlitzky <michael@orlitzky.com>
+  +timer_entropyd-0.1.ebuild, +files/timer_entropyd.initd, +metadata.xml:
+  New ebuild to address bug 308599.
+
diff --git a/sys-apps/timer_entropyd/Manifest b/sys-apps/timer_entropyd/Manifest
new file mode 100644 (file)
index 0000000..bac8f21
--- /dev/null
@@ -0,0 +1,5 @@
+AUX timer_entropyd.initd 489 RMD160 b14da1d71901a9cc3f7768f8915b698102002463 SHA1 5ac9890dc4c2ea59d369a8af997da6199909fb00 SHA256 df2e69c607f3e1809454a65a18aafd878624161b62b07e72c21d8ad1442b8f3d
+DIST timer_entropyd-0.1.tgz 8152 RMD160 79b4f441ba87a646db37f6a0d36160ced8aa5d56 SHA1 02121b4eb6f3dcf2fc1d58193d5b963892391d0a SHA256 4b00b7abfd0b0f1bc1b7acb38cd37eaf6e12c04185cfb9d3f1368624f22257a9
+EBUILD timer_entropyd-0.1.ebuild 471 RMD160 aaa9456dd5038bc2ba015438cc9d71800896b125 SHA1 97bffbf2224a53dfc9ad9033a4ee53f80ca61052 SHA256 45dc7c748b20a41365a3cfa072c04b5f1312033739cac321341ecf03eab7c618
+MISC ChangeLog 290 RMD160 dfa864ffad4103c2d467630d9d97dccc67407bc2 SHA1 10bae0fbb6f339c7b241c372788af0145a82a908 SHA256 678ec0f3f962acde45d98c0f2cbbe5af15e6ed6f426cd844420271b6fdfb217b
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sys-apps/timer_entropyd/files/timer_entropyd.initd b/sys-apps/timer_entropyd/files/timer_entropyd.initd
new file mode 100644 (file)
index 0000000..4b3dfaf
--- /dev/null
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+       need localmount
+       after bootmisc modules isapnp coldplug hotplug
+       before net
+}
+
+start() {
+       ebegin "Starting timer_entropyd"
+       start-stop-daemon --start --quiet \
+               --exec /usr/sbin/timer_entropyd > /dev/null
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping timer_entropyd"
+       start-stop-daemon --stop --quiet --exec /usr/sbin/timer_entropyd
+       eend $?
+}
diff --git a/sys-apps/timer_entropyd/metadata.xml b/sys-apps/timer_entropyd/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/sys-apps/timer_entropyd/timer_entropyd-0.1.ebuild b/sys-apps/timer_entropyd/timer_entropyd-0.1.ebuild
new file mode 100644 (file)
index 0000000..99ecd86
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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=""
+
+src_install() {
+       dosbin ${PN} || die "failed to install daemon"
+       newinitd "${FILESDIR}/timer_entropyd.initd" ${PN} || die
+       dodoc Changes readme.txt || die
+}