summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-11-08 12:18:53 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-11-08 12:18:53 +0000
commit1c3f1dff30ad1ac168aaff3e9e34fd7aa355535e (patch)
tree136fb6c6c1faf4367aa97ce2439419af4d124e88 /sys-apps/rng-tools/rng-tools-3.ebuild
parentVersion bump to beta1. Bug #341587 (diff)
downloadgentoo-2-1c3f1dff30ad1ac168aaff3e9e34fd7aa355535e.tar.gz
gentoo-2-1c3f1dff30ad1ac168aaff3e9e34fd7aa355535e.tar.bz2
gentoo-2-1c3f1dff30ad1ac168aaff3e9e34fd7aa355535e.zip
Version bump, remove old versions. rng-tools-3 contains support for TPM devices.
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/rng-tools/rng-tools-3.ebuild')
-rw-r--r--sys-apps/rng-tools/rng-tools-3.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-apps/rng-tools/rng-tools-3.ebuild b/sys-apps/rng-tools/rng-tools-3.ebuild
new file mode 100644
index 000000000000..31d0beea5637
--- /dev/null
+++ b/sys-apps/rng-tools/rng-tools-3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-3.ebuild,v 1.1 2010/11/08 12:18:52 nelchael Exp $
+
+EAPI=2
+inherit autotools
+
+DESCRIPTION="Daemon to use hardware random number generators."
+HOMEPAGE="http://gkernel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gkernel/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am
+ eautoreconf
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog
+ newinitd "${FILESDIR}/rngd-initd-${PV}" rngd
+ newconfd "${FILESDIR}/rngd-confd-${PV}" rngd
+}