summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-04-21 20:52:56 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-04-21 20:52:56 +0000
commit72ed4de0e5a140aa62e2a66d937159fb53f394ef (patch)
tree1be2be976c8bfa97a82b955db7b32726b34df891 /sys-apps/rng-tools
parentStop using insinto /etc/conf.d and use the newconfd function instead, bug #17... (diff)
downloadgentoo-2-72ed4de0e5a140aa62e2a66d937159fb53f394ef.tar.gz
gentoo-2-72ed4de0e5a140aa62e2a66d937159fb53f394ef.tar.bz2
gentoo-2-72ed4de0e5a140aa62e2a66d937159fb53f394ef.zip
Use newinitd, newconfd and doenvd, see bug #174266.
(Portage version: 2.1.2.4)
Diffstat (limited to 'sys-apps/rng-tools')
-rw-r--r--sys-apps/rng-tools/ChangeLog7
-rw-r--r--sys-apps/rng-tools/rng-tools-2.ebuild25
2 files changed, 17 insertions, 15 deletions
diff --git a/sys-apps/rng-tools/ChangeLog b/sys-apps/rng-tools/ChangeLog
index f613d17c2aa4..267933fecad3 100644
--- a/sys-apps/rng-tools/ChangeLog
+++ b/sys-apps/rng-tools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/rng-tools
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/ChangeLog,v 1.19 2006/09/03 09:43:37 nelchael Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/ChangeLog,v 1.20 2007/04/21 20:52:56 nelchael Exp $
+
+ 21 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> rng-tools-2.ebuild:
+ Use newinitd, newconfd and doenvd, see bug #174266.
03 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> -files/rngd,
-rng-tools-1.1.ebuild:
diff --git a/sys-apps/rng-tools/rng-tools-2.ebuild b/sys-apps/rng-tools/rng-tools-2.ebuild
index 66567d70b52e..4f05ce22ea52 100644
--- a/sys-apps/rng-tools/rng-tools-2.ebuild
+++ b/sys-apps/rng-tools/rng-tools-2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-2.ebuild,v 1.6 2006/09/03 09:39:27 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-2.ebuild,v 1.7 2007/04/21 20:52:56 nelchael Exp $
DESCRIPTION="Daemon to use hardware random number generators."
HOMEPAGE="http://gkernel.sourceforge.net/"
@@ -9,27 +9,26 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc x86"
IUSE=""
-DEPEND="virtual/libc"
+DEPEND=""
src_unpack() {
+
unpack ${A}
+
# we want this extra tool
cd ${S}
- echo 'bin_PROGRAMS = randstat' >contrib/Makefile.am
+ echo 'bin_PROGRAMS = randstat' > contrib/Makefile.am
aclocal
automake
-}
-src_compile() {
- econf || die
- emake || die
}
src_install() {
- einstall || die
+
+ make DESTDIR="${D}" install || die
+
dodoc AUTHORS ChangeLog
- exeinto /etc/init.d
- doexe ${FILESDIR}/2/rngd
- insinto /etc/conf.d
- newins ${FILESDIR}/2/rngd-conf rngd
+ doinitd ${FILESDIR}/2/rngd
+ newconfd ${FILESDIR}/2/rngd-conf rngd
+
}