diff options
author | Hanno Böck <hanno@gentoo.org> | 2003-10-05 17:09:34 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2003-10-05 17:09:34 +0000 |
commit | eea9e92f8ef0f86d8f9efce69d0bfb21360a2af7 (patch) | |
tree | bd1da2907e6b58364bf51355bc1174fe66cc445b /sys-apps/rng-tools | |
parent | forced macros build to fix gtk related issue, added check for previous versio... (diff) | |
download | gentoo-2-eea9e92f8ef0f86d8f9efce69d0bfb21360a2af7.tar.gz gentoo-2-eea9e92f8ef0f86d8f9efce69d0bfb21360a2af7.tar.bz2 gentoo-2-eea9e92f8ef0f86d8f9efce69d0bfb21360a2af7.zip |
fix rng-tools for 2.6 kernel
Diffstat (limited to 'sys-apps/rng-tools')
-rw-r--r-- | sys-apps/rng-tools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/rng-tools/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/rng-tools/files/rngd | 7 | ||||
-rw-r--r-- | sys-apps/rng-tools/rng-tools-1.0.ebuild | 4 |
4 files changed, 17 insertions, 8 deletions
diff --git a/sys-apps/rng-tools/ChangeLog b/sys-apps/rng-tools/ChangeLog index eb5f7f8fb417..cbe5134d53e1 100644 --- a/sys-apps/rng-tools/ChangeLog +++ b/sys-apps/rng-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/rng-tools # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/ChangeLog,v 1.1 2003/08/20 14:06:58 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/ChangeLog,v 1.2 2003/10/05 17:09:28 hanno Exp $ + +*rng-tools-1.0 (05 Oct 2003) + + 05 Oct 2003; Hanno Boeck <hanno@gentoo.org> rng-tools-1.0.ebuild, + files/rngd: + Fix for latest 2.6 kernels. Mark as x86 stable. 20 Aug 2003; Hanno Boeck <hanno@gentoo.org> files/rngd: New package for using random number generators. diff --git a/sys-apps/rng-tools/Manifest b/sys-apps/rng-tools/Manifest index ce1bc0f21dd0..6e3fd79d3cae 100644 --- a/sys-apps/rng-tools/Manifest +++ b/sys-apps/rng-tools/Manifest @@ -1,4 +1,4 @@ -MD5 eb24309eaa35b5dfd63ceeb541a07c03 rng-tools-1.0.ebuild 644 -MD5 84863570fa4efa6a8c74fcdfe1552eaf ChangeLog 326 +MD5 6c7b8f7743b154db01702d3a998d88b5 ChangeLog 489 +MD5 d3cfb7f096d5b70a206c34e6fb8c7823 rng-tools-1.0.ebuild 643 MD5 25da430ad0aab2964839df1b25d14d45 files/digest-rng-tools-1.0 64 -MD5 ab3e84cda9340b2a5427ce46e84a2937 files/rngd 910 +MD5 70df45a4be8eba62fb25b3cb53e74b8b files/rngd 1075 diff --git a/sys-apps/rng-tools/files/rngd b/sys-apps/rng-tools/files/rngd index 738f8fe63068..80f24047eaf3 100644 --- a/sys-apps/rng-tools/files/rngd +++ b/sys-apps/rng-tools/files/rngd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/files/rngd,v 1.1 2003/08/20 14:06:58 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/files/rngd,v 1.2 2003/10/05 17:09:28 hanno Exp $ depend() { need localmount @@ -10,7 +10,10 @@ depend() { start() { ebegin "Starting hardware RNG daemon" - if [ -e /dev/hwrandom ]; then + if [ -e /dev/hw_random ]; then + start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/hw_random + eend $? "Failed to start hardware RNG daemon" + elif [ -e /dev/hwrandom ]; then start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/hwrandom eend $? "Failed to start hardware RNG daemon" elif [ -e /dev/i810_rng ]; then diff --git a/sys-apps/rng-tools/rng-tools-1.0.ebuild b/sys-apps/rng-tools/rng-tools-1.0.ebuild index 4c2ef1eeb04d..50dcddcb0e0b 100644 --- a/sys-apps/rng-tools/rng-tools-1.0.ebuild +++ b/sys-apps/rng-tools/rng-tools-1.0.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-1.0.ebuild,v 1.1 2003/08/20 14:06:58 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-1.0.ebuild,v 1.2 2003/10/05 17:09:28 hanno Exp $ 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="~x86" +KEYWORDS="x86" IUSE="" DEPEND="virtual/glibc" S=${WORKDIR}/${P} |