diff options
Diffstat (limited to 'media-sound')
5 files changed, 56 insertions, 7 deletions
diff --git a/media-sound/audio-entropyd/ChangeLog b/media-sound/audio-entropyd/ChangeLog index f4fb760cfc38..fa1a7d9a0766 100644 --- a/media-sound/audio-entropyd/ChangeLog +++ b/media-sound/audio-entropyd/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-sound/audio-entropyd # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.14 2007/02/03 18:38:35 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.15 2007/06/24 20:57:50 angelos Exp $ + +*audio-entropyd-1.0.0 (24 Jun 2007) + + 24 Jun 2007; Christoph Mende <angelos@gentoo.org> + files/audio-entropyd.init, audio-entropyd-0.0.6.ebuild, + +audio-entropyd-1.0.0.ebuild: + Taking over maintainership + Version bump to 1.0.0, thanks Jakub Moc + Stable on amd64 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. 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 2225fc06465a..4db972452a3b 100644 --- a/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild +++ b/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # 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.12 2005/08/24 16:43:13 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-0.0.6.ebuild,v 1.13 2007/06/24 20:57:50 angelos Exp $ DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device." HOMEPAGE="http://www.vanheusden.com/aed/" SRC_URI="http://www.vanheusden.com/aed/${P}.tgz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc ~amd64 ~sparc" +KEYWORDS="x86 ppc amd64 ~sparc" IUSE="selinux" DEPEND="virtual/libc" RDEPEND="${DEPEND} diff --git a/media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild b/media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild new file mode 100644 index 000000000000..459c75a65e09 --- /dev/null +++ b/media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-1.0.0.ebuild,v 1.1 2007/06/24 20:57:50 angelos Exp $ + +inherit toolchain-funcs + +DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device." +HOMEPAGE="http://www.vanheusden.com/aed/" +SRC_URI="http://www.vanheusden.com/aed/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="selinux" +DEPEND="virtual/libc" +RDEPEND="${DEPEND} + >=sys-apps/sed-4 + !amd64? ( selinux? ( sec-policy/selinux-audio-entropyd ) )" + +src_unpack() { + unpack ${A} + + cd ${S} + sed -i.orig \ + -e "s:^OPT_FLAGS=.*:OPT_FLAGS=$CFLAGS:" \ + Makefile +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + +src_install() { + dosbin audio-entropyd + + newinitd ${FILESDIR}/${PN}.init ${PN} + newconfd ${FILESDIR}/${PN}.conf ${PN} +} diff --git a/media-sound/audio-entropyd/files/audio-entropyd.init b/media-sound/audio-entropyd/files/audio-entropyd.init index f79fa6255626..63d7009750fc 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-2004 Gentoo Foundation # 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.4 2004/07/14 22:44:37 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/files/audio-entropyd.init,v 1.5 2007/06/24 20:57:50 angelos Exp $ depend() { need modules @@ -15,7 +15,8 @@ start() { [ -n "$SAMPLERATE" ] && params="$params -N $SAMPLERATE" ebegin "Starting audio entropy gathering daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/audio-entropyd -- ${params} + start-stop-daemon --start --quiet --pidfile /var/run/audio-entropyd.pid \ + --exec /usr/sbin/audio-entropyd -- ${params} eend ${?} } @@ -24,4 +25,3 @@ stop() { start-stop-daemon --stop --quiet --pidfile /var/run/audio-entropyd.pid eend ${?} } - diff --git a/media-sound/audio-entropyd/files/digest-audio-entropyd-1.0.0 b/media-sound/audio-entropyd/files/digest-audio-entropyd-1.0.0 new file mode 100644 index 000000000000..78395e95f097 --- /dev/null +++ b/media-sound/audio-entropyd/files/digest-audio-entropyd-1.0.0 @@ -0,0 +1,3 @@ +MD5 0957c4817aba487966fc711d77182576 audio-entropyd-1.0.0.tgz 18346 +RMD160 e380066952f34c222a12ea6b2ce54ed963be553b audio-entropyd-1.0.0.tgz 18346 +SHA256 b2166412f28c6ddaca16cc0bfa3c4b7fb85a6503d97dfac90168951d41189ac1 audio-entropyd-1.0.0.tgz 18346 |