diff options
Diffstat (limited to 'media-sound/audio-entropyd')
-rw-r--r-- | media-sound/audio-entropyd/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/audio-entropyd/Manifest | 7 | ||||
-rw-r--r-- | media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild | 5 | ||||
-rw-r--r-- | media-sound/audio-entropyd/files/audio-entropyd.conf | 13 | ||||
-rw-r--r-- | media-sound/audio-entropyd/files/audio-entropyd.init | 4 |
5 files changed, 29 insertions, 6 deletions
diff --git a/media-sound/audio-entropyd/ChangeLog b/media-sound/audio-entropyd/ChangeLog index 5ef85af4105d..4f4d157d99b6 100644 --- a/media-sound/audio-entropyd/ChangeLog +++ b/media-sound/audio-entropyd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/audio-entropyd # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.3 2004/03/31 23:01:46 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.4 2004/04/02 22:42:38 method Exp $ + + 02 Apr 2004; Joshua Brindle <method@gentoo.org> audio-entropyd-0.0.6.ebuild, + files/audio-entropyd.init: + fixed up the init file and conf.d to read more variables 01 Apr 2004; David Holm <dholm@gentoo.org> audio-entropyd-0.0.6.ebuild: Added to ~ppc. diff --git a/media-sound/audio-entropyd/Manifest b/media-sound/audio-entropyd/Manifest index 62d25b433e5e..7290d8ab984d 100644 --- a/media-sound/audio-entropyd/Manifest +++ b/media-sound/audio-entropyd/Manifest @@ -1,5 +1,6 @@ -MD5 098dd8d1fc709b157234be2171b09ca8 ChangeLog 681 -MD5 ea50355eb0f144455d5d5eb0e2fd7a35 audio-entropyd-0.0.6.ebuild 827 MD5 96e29d7bb8e68a4c9e642e3b4029f762 metadata.xml 325 -MD5 2757f0e52154501b6667de60d04be131 files/audio-entropyd.init 666 +MD5 1d32df47ccb52764aa514e1b5cff1f90 audio-entropyd-0.0.6.ebuild 887 +MD5 8b3a3b0f00f1bfbfd35838f64f66099f ChangeLog 850 MD5 0585a52027bab216bab4009edb0dd4e4 files/digest-audio-entropyd-0.0.6 68 +MD5 e0349c460443583e597ef6c1f63cb9af files/audio-entropyd.init 776 +MD5 8592534118c85eae46cc0e39483f1b90 files/audio-entropyd.conf 300 diff --git a/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild b/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild index fa2ca9ae668d..709d39a3d170 100644 --- a/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild +++ b/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild,v 1.3 2004/03/31 23:01:46 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild,v 1.4 2004/04/02 22:42:38 method Exp $ DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device." HOMEPAGE="http://www.vanheusden.com/aed/" @@ -34,4 +34,7 @@ src_install() { insinto /etc/init.d insopts -m0755 newins ${FILESDIR}/${PN}.init ${PN} + + insinto /etc/conf.d + newins ${FILESDIR}/${PN}.conf ${PN} } diff --git a/media-sound/audio-entropyd/files/audio-entropyd.conf b/media-sound/audio-entropyd/files/audio-entropyd.conf new file mode 100644 index 000000000000..dcd7993b7ba7 --- /dev/null +++ b/media-sound/audio-entropyd/files/audio-entropyd.conf @@ -0,0 +1,13 @@ +# /etc/conf.d/audio-entropyd: +# $Header: + +# The acceptable values are DEVICE, READSIZE and SAMPLERATE +# These defaults give the optimum entropy + +#DEVICE="/dev/dsp" + +#READSIZE *must* be a power of 2 +READSIZE="65536" + +#SAMPLERATE must be a valid sampling rate of your audio source +SAMPLERATE="44050" diff --git a/media-sound/audio-entropyd/files/audio-entropyd.init b/media-sound/audio-entropyd/files/audio-entropyd.init index dacf5debb37e..f861f699be41 100644 --- a/media-sound/audio-entropyd/files/audio-entropyd.init +++ b/media-sound/audio-entropyd/files/audio-entropyd.init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/files/audio-entropyd.init,v 1.2 2004/03/31 10:14:35 method Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/files/audio-entropyd.init,v 1.3 2004/04/02 22:42:38 method Exp $ depend() { need modules @@ -11,6 +11,8 @@ depend() { start() { local params="" [ -n "$DEVICE" ] && params="$params -d $DEVICE" + [ -n "$READSIZE" ] && params="$params -r $READSIZE" + [ -n "$SAMPLERATE" ] && params="$params -N $SAMPLERATE" ebegin "Starting audio entropy gathering daemon" start-stop-daemon --start --quiet --exec /usr/sbin/audio-entropyd -- ${params} |