summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-04-18 15:08:28 +0000
committerChristoph Mende <angelos@gentoo.org>2011-04-18 15:08:28 +0000
commit0be0fe18185a3cfbdb0ebb65f2b1f0730567bbfd (patch)
tree38ab83c7d69b00c1c2fd792d468aa81d5fbdc8ed /media-sound/audio-entropyd
parentremove unused sed, bug #363867 (diff)
downloadhistorical-0be0fe18185a3cfbdb0ebb65f2b1f0730567bbfd.tar.gz
historical-0be0fe18185a3cfbdb0ebb65f2b1f0730567bbfd.tar.bz2
historical-0be0fe18185a3cfbdb0ebb65f2b1f0730567bbfd.zip
Version bump
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'media-sound/audio-entropyd')
-rw-r--r--media-sound/audio-entropyd/ChangeLog8
-rw-r--r--media-sound/audio-entropyd/Manifest14
-rw-r--r--media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild35
-rw-r--r--media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch11
-rw-r--r--media-sound/audio-entropyd/files/audio-entropyd-1.0.5-uclibc.patch27
-rw-r--r--media-sound/audio-entropyd/files/audio-entropyd.conf-116
-rw-r--r--media-sound/audio-entropyd/files/audio-entropyd.init-127
7 files changed, 48 insertions, 90 deletions
diff --git a/media-sound/audio-entropyd/ChangeLog b/media-sound/audio-entropyd/ChangeLog
index 95c0d3ec02da..3d2df24b8543 100644
--- a/media-sound/audio-entropyd/ChangeLog
+++ b/media-sound/audio-entropyd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/audio-entropyd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.38 2011/03/02 19:54:41 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.39 2011/04/18 15:08:28 angelos Exp $
+
+*audio-entropyd-2.0.3 (18 Apr 2011)
+
+ 18 Apr 2011; Christoph Mende <angelos@gentoo.org>
+ +audio-entropyd-2.0.3.ebuild:
+ Version bump
02 Mar 2011; <angelos@gentoo.org> -audio-entropyd-1.0.5.ebuild:
Removed old
diff --git a/media-sound/audio-entropyd/Manifest b/media-sound/audio-entropyd/Manifest
index c4e7d5a42c09..11d505db8859 100644
--- a/media-sound/audio-entropyd/Manifest
+++ b/media-sound/audio-entropyd/Manifest
@@ -1,22 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX audio-entropyd-1.0.5-ldflags.patch 355 RMD160 e0c2d091ebac31f3194878358fd67235a6818c35 SHA1 3df88079151d45a812d40791f00b271e78f4d9c2 SHA256 4d3df6ae31f232a8b31072a2ee2b5f5cbec452ad184507b16d10a10766ad84e7
-AUX audio-entropyd-1.0.5-uclibc.patch 708 RMD160 e2691782d2420d1a5049d38f43b2ee9348d4ac88 SHA1 f7352eb1a532bc01966e1630bb2890f0289dd241 SHA256 78d5f8cf969cc199c8651f6b2d4f451c9b79afba457e5253edffedd7c4f5cc49
AUX audio-entropyd-2.0.1-ldflags.patch 358 RMD160 c83b574e0cc1b3e9c41b601e1a9d600037bc51db SHA1 fc09b803342035da97ca71920a4bafaa168d9af3 SHA256 466eb7a2e2513708ef11ac9dbf54773ee8861b94ff0c111e6e89ed69dedee479
AUX audio-entropyd-2.0.1-uclibc.patch 708 RMD160 e2691782d2420d1a5049d38f43b2ee9348d4ac88 SHA1 f7352eb1a532bc01966e1630bb2890f0289dd241 SHA256 78d5f8cf969cc199c8651f6b2d4f451c9b79afba457e5253edffedd7c4f5cc49
-AUX audio-entropyd.conf-1 525 RMD160 3c3281b01fece5fcbd0062575fd70bfddda6346a SHA1 c2db2ef87c8026db7fe1c5b755bcda3cca6cf300 SHA256 efbc451025ced05fd3b162389c52ce2e8d095fd97567378fed9793209f85944b
AUX audio-entropyd.conf-2 470 RMD160 1ea8a547e2238de04634a44cfb07380f1f0df0fb SHA1 fa575a12205a998b76dff1195869731e02b6f148 SHA256 7181f6c3488d1d5654be68a48f944b5293ce23091c9653024b03f95da690cb99
-AUX audio-entropyd.init-1 811 RMD160 78334ffa21d3b321534c52508b20548d75e8bbda SHA1 4a23896a81af62520514fa4639d0eea3fc64a53d SHA256 95fb16e5df30ca5401f23f8f699b5e0a67c876be42b7b95641a2c815ef420acc
AUX audio-entropyd.init-2 763 RMD160 4de06660eed1956c523b3e064aa6ebf18f29c774 SHA1 8c9f655b6626030c2925b3bab514e9e5c7805dc9 SHA256 a504fdd6dabc43c071eeb50a1d245345d1b78f4468b92fd6c3516fbdd888a0b5
DIST audio-entropyd-2.0.1.tgz 16523 RMD160 f489be7871b9350a62899201631c463bb7582d0e SHA1 7eb47966619563f8266af0a6d2a2c8e7eb615c4f SHA256 29d4350ad8ef26233e1b35ba0e8dd0b1138475c0f840008304677812dbdb2c15
+DIST audio-entropyd-2.0.3.tgz 16681 RMD160 f5d77f7a6315fb5d4645e31d9b457bc48d485a9f SHA1 b788559c6c01e17bb9d314ac2a7411bc30fbb8a2 SHA256 6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff
EBUILD audio-entropyd-2.0.1-r1.ebuild 1012 RMD160 04a902e2ca2edf6524073854410ca71eae3df99b SHA1 b112f76f039aeb7f8e89f4b46a21458078e72c4a SHA256 d8c2f0bc59b8448b069ee4c7cb173a7aeaa66d8909e7ef53490746aacb6aabbd
-MISC ChangeLog 5084 RMD160 9f6b8efb19ffe248ee213359efc9bb1fae4b22ff SHA1 b36a911b5b49c4e35a2c708daf6677240e6f2d63 SHA256 9d02ffdc129fefa4f41856e676bb624856a0e6765e4af670957a1add43e372b3
+EBUILD audio-entropyd-2.0.3.ebuild 965 RMD160 b859c103f2aeb35ddfd15f015b572e1450c85a89 SHA1 6ca7a23c14549d1cd3cf8c0ad5a554d7a339111e SHA256 70325c0c45b22e2b7c9513b88afa11ba32c51f6b48e809cc25e065245898b985
+MISC ChangeLog 5221 RMD160 1a10fb2426b49929065f8a5e45b8b6b02be4a02d SHA1 21e5b85fd49679d06333105ed2996e59198fb1d9 SHA256 02808217667c3374164d19f0d0b6cb8fa5a52f306ebaa2da85abb710f2477309
MISC metadata.xml 356 RMD160 568e872a5ceb11f8d3c1bb62efcc119e6fc27106 SHA1 6eeecb6f29b511f611ad0a7b8952ade06fbb6564 SHA256 6b303bda5a6488a0d54842af09772b893345fc218cef85009a1ed04aa35159f3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk1uoI8ACgkQmWq1bYTyC0PiFAEAvEzg2co0Mkwn7wYpVAbmZFaa
-dwpPqo2CCPmT3VyDpu4BAJD7UeIkqar4XYp0uQdBHc/xP/uSE/gxumgfGCST8+cm
-=stUw
+iF4EAREIAAYFAk2sU/IACgkQmWq1bYTyC0Ne7wEAlfn3+ckjJjlJiRX3T9t40Cex
+P2+xKb2So47zA++t02IBALaRaMynkovDetgwIYAfHZcTG6H8Hxhgy4niJKfpr/xm
+=IZw9
-----END PGP SIGNATURE-----
diff --git a/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild b/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild
new file mode 100644
index 000000000000..9010b45b49e8
--- /dev/null
+++ b/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild,v 1.1 2011/04/18 15:08:28 angelos Exp $
+
+EAPI=4
+inherit eutils 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"
+
+RDEPEND="selinux? ( sec-policy/selinux-audio-entropyd )
+ media-sound/alsa-utils"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
+ "${FILESDIR}/${PN}-2.0.1-ldflags.patch"
+ sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dosbin audio-entropyd
+ dodoc README TODO
+ newinitd "${FILESDIR}/${PN}.init-2" ${PN}
+ newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
+}
diff --git a/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch b/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch
deleted file mode 100644
index b0446b1919e1..000000000000
--- a/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig 2009-02-09 18:01:37.884656874 +0100
-+++ Makefile 2009-02-09 18:01:44.412654720 +0100
-@@ -12,7 +12,7 @@
- all: $(TARGETS)
-
- audio-entropyd: snd_dev.o audio-entropyd.o error.o proc.o val.o RNGTEST.o error.o
-- $(CC) -o $@ $^ $(LFLAGS)
-+ $(CC) $(LDFLAGS) -o $@ $^ $(LFLAGS)
-
- install: audio-entropyd
- cp audio-entropyd /usr/local/sbin/
diff --git a/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-uclibc.patch b/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-uclibc.patch
deleted file mode 100644
index bdf5adeff825..000000000000
--- a/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-uclibc.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- audio-entropyd-1.0.1.orig/error.c 2008-01-22 09:50:28 +0000
-+++ audio-entropyd-1.0.1/error.c 2008-01-22 09:53:51 +0000
-@@ -9,13 +9,13 @@
- #include <signal.h>
- #include <syslog.h>
- #include <regex.h>
--#if defined(__GLIBC__)
-+#if defined(__GLIBC__) && !defined(__UCLIBC__)
- #include <execinfo.h>
- #endif
-
- void print_trace(void)
- {
--#if defined(__GLIBC__)
-+#if defined(__GLIBC__) && !defined(__UCLIBC__)
- void *array[MAX_BACKTRACE_LENGTH];
- size_t size;
-
-@@ -39,7 +39,7 @@
- printf("\n\n\nDebug information:\n");
- if (errno) fprintf(stderr, "errno: %d=%s (if applicable)\n", errno, strerror(errno));
-
--#if defined(__GLIBC__)
-+#if defined(__GLIBC__) && !defined(__UCLIBC__)
- print_trace();
- #endif
-
diff --git a/media-sound/audio-entropyd/files/audio-entropyd.conf-1 b/media-sound/audio-entropyd/files/audio-entropyd.conf-1
deleted file mode 100644
index 75bdbcbe4756..000000000000
--- a/media-sound/audio-entropyd/files/audio-entropyd.conf-1
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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.conf-1,v 1.1 2009/11/12 09:54:21 angelos Exp $
-
-# /etc/conf.d/audio-entropyd
-
-# 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-1 b/media-sound/audio-entropyd/files/audio-entropyd.init-1
deleted file mode 100644
index 9f58d3474269..000000000000
--- a/media-sound/audio-entropyd/files/audio-entropyd.init-1
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/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-1,v 1.1 2009/11/12 09:54:21 angelos Exp $
-
-depend() {
- need modules
- use alsa
-}
-
-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 --pidfile /var/run/audio-entropyd.pid \
- --exec /usr/sbin/audio-entropyd -- ${params}
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping audio entropy gathering daemon"
- start-stop-daemon --stop --quiet --pidfile /var/run/audio-entropyd.pid
- eend ${?}
-}