From cc30bbb8b6094f1094a4757ce500cd2d9cef7deb Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Sat, 21 Apr 2007 20:52:56 +0000 Subject: [PATCH] Use newinitd, newconfd and doenvd, see bug #174266. Package-Manager: portage-2.1.2.4 --- sys-apps/rng-tools/ChangeLog | 7 +++++-- sys-apps/rng-tools/Manifest | 24 ++++++++++++------------ sys-apps/rng-tools/rng-tools-2.ebuild | 25 ++++++++++++------------- 3 files changed, 29 insertions(+), 27 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 rng-tools-2.ebuild: + Use newinitd, newconfd and doenvd, see bug #174266. 03 Sep 2006; Krzysiek Pawlik -files/rngd, -rng-tools-1.1.ebuild: diff --git a/sys-apps/rng-tools/Manifest b/sys-apps/rng-tools/Manifest index 0dc6e8d56606..5a521b46c0f7 100644 --- a/sys-apps/rng-tools/Manifest +++ b/sys-apps/rng-tools/Manifest @@ -10,14 +10,14 @@ MD5 e9e55a5a7508e446c3a993fc4563266e files/2/rngd-conf 259 RMD160 278957b8acad462fd5c888344fb21a52dffd1c6b files/2/rngd-conf 259 SHA256 4dff7a0c8406f5344f71d236e755877388e93ff6728eedfdfe6921b3de41d137 files/2/rngd-conf 259 DIST rng-tools-2.tar.gz 86429 RMD160 c40bc13068ffb48e28e1a8da274c0be40deb0a8a SHA1 45f43b0992b9978f9e0633d31d7f4b2a3643d293 SHA256 1126f0ecc8cab3af14a562cddc5d8ffeef47df7eba34a7aadcdee35a25ec2b1e -EBUILD rng-tools-2.ebuild 820 RMD160 c5c3f13620bd13cb52d19a29b59cfc39dcf39251 SHA1 3d1b7f9d503b7a2b87629f66f5b4f8287e42fa20 SHA256 b2065d23d450c46c1621f1bba002a57f91409c550a2e90d83c95779fe5152e2c -MD5 c741afda114cd3f3f414d375f6468b4f rng-tools-2.ebuild 820 -RMD160 c5c3f13620bd13cb52d19a29b59cfc39dcf39251 rng-tools-2.ebuild 820 -SHA256 b2065d23d450c46c1621f1bba002a57f91409c550a2e90d83c95779fe5152e2c rng-tools-2.ebuild 820 -MISC ChangeLog 2403 RMD160 e84e61b543058ac21014e249d3c7cb68431c16c6 SHA1 bbe39e684f49acc6bafd903e09f484a585f12fc5 SHA256 1f64457e8d7ef54d0063a8b02054e1a06c53980c21635f5fa5fb46aab01ba2ca -MD5 9bd4f95ef54a6346aa15d73bb6add87c ChangeLog 2403 -RMD160 e84e61b543058ac21014e249d3c7cb68431c16c6 ChangeLog 2403 -SHA256 1f64457e8d7ef54d0063a8b02054e1a06c53980c21635f5fa5fb46aab01ba2ca ChangeLog 2403 +EBUILD rng-tools-2.ebuild 751 RMD160 25e1c842f27d6aafa7031c0ad722189a507650df SHA1 71e4962d8c9c1ac0ff4d79bd315db8f6f09e6ff6 SHA256 edc153cf5ac130fd02d2df4cb53ab36f3a5d6a56a4df99313e23e34ee4a07128 +MD5 85e89f288de2b875b4142ccf5d37c767 rng-tools-2.ebuild 751 +RMD160 25e1c842f27d6aafa7031c0ad722189a507650df rng-tools-2.ebuild 751 +SHA256 edc153cf5ac130fd02d2df4cb53ab36f3a5d6a56a4df99313e23e34ee4a07128 rng-tools-2.ebuild 751 +MISC ChangeLog 2531 RMD160 23b86105317938a251458b9e6254c459a14eb758 SHA1 223c92af5a8e7132c5b3860b2dbb5fda7ab6a379 SHA256 e8f4071c6b2d4c3c2408d08278135fd4f414edbed67edb7c633c2a0fe53de917 +MD5 dbb3d6feddf1110cb4d98c989d01d009 ChangeLog 2531 +RMD160 23b86105317938a251458b9e6254c459a14eb758 ChangeLog 2531 +SHA256 e8f4071c6b2d4c3c2408d08278135fd4f414edbed67edb7c633c2a0fe53de917 ChangeLog 2531 MISC metadata.xml 231 RMD160 984878f0848eaa1ef84b38196bb704d218277437 SHA1 6015bdc80c95314a6250c06380f316ca4c753770 SHA256 c9a6ce79e19aa9257b980bda6f6b6332d0fcb81f50800bb12c1a1c6d2f5cd443 MD5 30a69f4bacf2860c8b7ed5ab0d2eb3b1 metadata.xml 231 RMD160 984878f0848eaa1ef84b38196bb704d218277437 metadata.xml 231 @@ -26,9 +26,9 @@ MD5 a762c1994f4fd83591b0663e29931a67 files/digest-rng-tools-2 232 RMD160 13a42c64c49190829073626bd2fb49c7c5768542 files/digest-rng-tools-2 232 SHA256 3ccc88dba2178b755570787efc1292ee33e06bb18987d274b1ad31a41191a5bb files/digest-rng-tools-2 232 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFE+qPPgo/w9rxVVVERAhkoAJ9vvxgxsXCa40ca5JEIrITSSFju6gCgwqBA -xDAyaA76mYWlO7QPVePe3kY= -=QfB5 +iD8DBQFGKnnUgo/w9rxVVVERAn5KAJ0X6gQZctNMwRGYAY0Eli3OXoyzPgCgqSZj +Cnv8hbYruUbtXgj+cpBmOf0= +=IpOk -----END PGP SIGNATURE----- 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 + } -- 2.26.2