diff options
author | 2014-03-22 15:00:34 +0000 | |
---|---|---|
committer | 2014-03-22 15:00:34 +0000 | |
commit | 1bc7f71e3c1dd150c3238f476f68d8ae7b104a6b (patch) | |
tree | c0b5152bbfe6b3e5d98fafc68c9a0ff8473f9497 /sys-apps/audio-entropyd | |
parent | Stable for HPPA (bug #504794). (diff) | |
download | historical-1bc7f71e3c1dd150c3238f476f68d8ae7b104a6b.tar.gz historical-1bc7f71e3c1dd150c3238f476f68d8ae7b104a6b.tar.bz2 historical-1bc7f71e3c1dd150c3238f476f68d8ae7b104a6b.zip |
Move audio-entropyd to sys-apps
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
RepoMan-Options: --force
Manifest-Sign-Key: 0x84F20B43
Diffstat (limited to 'sys-apps/audio-entropyd')
-rw-r--r-- | sys-apps/audio-entropyd/ChangeLog | 188 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/Manifest | 18 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/audio-entropyd-2.0.3.ebuild | 37 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch | 13 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch | 27 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/files/audio-entropyd.conf-2 | 13 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/files/audio-entropyd.init-2 | 26 | ||||
-rw-r--r-- | sys-apps/audio-entropyd/metadata.xml | 9 |
8 files changed, 331 insertions, 0 deletions
diff --git a/sys-apps/audio-entropyd/ChangeLog b/sys-apps/audio-entropyd/ChangeLog new file mode 100644 index 000000000000..1ac631a3305e --- /dev/null +++ b/sys-apps/audio-entropyd/ChangeLog @@ -0,0 +1,188 @@ +# ChangeLog for media-sound/audio-entropyd +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v 1.1 2014/03/22 15:00:30 angelos Exp $ + + 16 Jul 2012; Christoph Mende <angelos@gentoo.org> + -audio-entropyd-2.0.1-r1.ebuild: + Remove old + + 08 Jul 2012; Christoph Mende <angelos@gentoo.org> audio-entropyd-2.0.3.ebuild: + Fix compilation with -g* flags + + 07 Jun 2012; Brent Baude <ranger@gentoo.org> audio-entropyd-2.0.3.ebuild: + Marking audio-entropyd-2.0.3 ppc for bug 417721 + + 31 May 2012; Christoph Mende <angelos@gentoo.org> audio-entropyd-2.0.3.ebuild: + Remove -g from CFLAGS and add missing dependency on media-libs/alsa-lib + + 30 May 2012; Jeff Horelick <jdhore@gentoo.org> audio-entropyd-2.0.3.ebuild: + marked x86 per bug 417721 + + 27 May 2012; Agostino Sarubbo <ago@gentoo.org> audio-entropyd-2.0.3.ebuild: + Stable for amd64, wrt bug #417721 + + 13 May 2012; <swift@gentoo.org> audio-entropyd-2.0.1-r1.ebuild, + audio-entropyd-2.0.3.ebuild: + SELinux policy for audio-entropyd is in selinux-entropyd now + +*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 + + 18 Jul 2010; <nixnut@gentoo.org> audio-entropyd-2.0.1-r1.ebuild: + ppc stable #320927 + + 01 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> + audio-entropyd-2.0.1-r1.ebuild: + x86 stable wrt bug #320927 + + 25 May 2010; Pacho Ramos <pacho@gentoo.org> + audio-entropyd-2.0.1-r1.ebuild: + stable amd64, bug 320927 + +*audio-entropyd-2.0.1-r1 (12 Nov 2009) + + 12 Nov 2009; Christoph Mende <angelos@gentoo.org> + +files/audio-entropyd.conf-1, +files/audio-entropyd.init-1, + audio-entropyd-1.0.5.ebuild, +files/audio-entropyd.conf-2, + +files/audio-entropyd.init-2, -audio-entropyd-2.0.1.ebuild, + +audio-entropyd-2.0.1-r1.ebuild, -files/audio-entropyd.conf, + -files/audio-entropyd.init: + Fix init script for 2.0.1 (bug 271882), thanks to Tim O'Kelly + + 04 Nov 2009; Christoph Mende <angelos@gentoo.org> + audio-entropyd-2.0.1.ebuild: + Added missing alsa-utils dep (bug #287402) + +*audio-entropyd-2.0.1 (25 May 2009) + + 25 May 2009; Christoph Mende <angelos@gentoo.org> + -audio-entropyd-1.0.1.ebuild, -files/audio-entropyd-1.0.1-uclibc.patch, + +audio-entropyd-2.0.1.ebuild, +files/audio-entropyd-2.0.1-ldflags.patch, + +files/audio-entropyd-2.0.1-uclibc.patch: + Version bump + + 22 Apr 2009; Markus Meier <maekke@gentoo.org> audio-entropyd-1.0.5: + amd64 stable, bug #259792 + + 20 Mar 2009; Raúl Porcel <armin76@gentoo.org> + audio-entropyd-1.0.5.ebuild: + x86 stable wrt #259792 + + 18 Mar 2009; Brent Baude <ranger@gentoo.org> audio-entropyd-1.0.5.ebuild: + stable ppc, bug 259792 + + 09 Feb 2009; Christoph Mende <angelos@gentoo.org> + +files/audio-entropyd-1.0.5-ldflags.patch, audio-entropyd-1.0.5.ebuild: + Respect LDFLAGS + +*audio-entropyd-1.0.5 (04 Jan 2009) + + 04 Jan 2009; Christoph Mende <angelos@gentoo.org> + +files/audio-entropyd-1.0.5-uclibc.patch, +audio-entropyd-1.0.5.ebuild: + Version bump + + 14 May 2008; Christoph Mende <angelos@gentoo.org> + -audio-entropyd-1.0.0.ebuild: + Drop old + + 26 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org> + audio-entropyd-1.0.1.ebuild: + ppc stable, bug #206736 + + 22 Jan 2008; Christoph Mende <angelos@gentoo.org> + +files/audio-entropyd-1.0.1-uclibc.patch, audio-entropyd-1.0.1.ebuild: + Work around compilation failures on uclibc + + 21 Jan 2008; Markus Meier <maekke@gentoo.org> + -audio-entropyd-0.0.6.ebuild: + old + + 21 Jan 2008; Markus Meier <maekke@gentoo.org> audio-entropyd-1.0.1.ebuild: + x86 stable, bug #206736 + + 20 Jan 2008; Christoph Mende <angelos@gentoo.org> + audio-entropyd-1.0.1.ebuild: + Stable on amd64 wrt bug #206736 + +*audio-entropyd-1.0.1 (15 Dec 2007) + + 15 Dec 2007; Christoph Mende <angelos@gentoo.org> + +audio-entropyd-1.0.1.ebuild: + Version bump + + 18 Aug 2007; Christoph Mende <angelos@gentoo.org> + audio-entropyd-1.0.0.ebuild: + Added dodoc + + 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> + audio-entropyd-1.0.0.ebuild: + ppc. stable + + 01 Aug 2007; Christoph Mende <angelos@gentoo.org> + audio-entropyd-1.0.0.ebuild: + Stable on amd64 + +*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, + metadata.xml, +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. + + 24 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + audio-entropyd-0.0.6.ebuild: + Use newconfd/newinitd. + + 14 Aug 2004; Sven Wegener <swegener@gentoo.org> files/audio-entropyd.conf: + Fixed CVS Header. + + 04 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + audio-entropyd-0.0.6.ebuild: + ~sparc added + + 04 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + audio-entropyd-0.0.6.ebuild: + ~amd64. + + 02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> + audio-entropyd-0.0.6.ebuild: + Overdue stable. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + audio-entropyd-0.0.6.ebuild: + virtual/glibc -> virtual/libc + + 07 May 2004; Brandon Hale <tseng@gentoo.org> audio-entropyd-0.0.6.ebuild: + Remove S= + + 07 Apr 2004; Chris PeBenito <pebenito@gentoo.org> + audio-entropyd-0.0.6.ebuild: + Add SELinux policy RDEP + + 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. + + 31 Mar 2004; Joshua Brindle <method@gentoo.org> audio-entropyd-0.0.6.ebuild, + files/audio-entropyd.init: + updated init file and ebuild courtesy of Cory Visi <cory@visi.name> + +*audio-entropyd-0.0.6 (31 Mar 2004) + + 31 Mar 2004; Joshua Brindle <method@gentoo.org> audio-entropyd-0.0.6.ebuild, + metadata.xml, files/audio-entropyd.init: + initial import diff --git a/sys-apps/audio-entropyd/Manifest b/sys-apps/audio-entropyd/Manifest new file mode 100644 index 000000000000..33761af9c0dc --- /dev/null +++ b/sys-apps/audio-entropyd/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX audio-entropyd-2.0.1-ldflags.patch 358 SHA256 466eb7a2e2513708ef11ac9dbf54773ee8861b94ff0c111e6e89ed69dedee479 SHA512 0a1456d0580a08193e2b4e2a408405a0b412de0c54838ce950e6dc2490bc3f45276a86f53f2e7489b3f47343afddcb250d906ef0cb5ddce65f6b51bcab57d2e0 WHIRLPOOL 92656f7e399289403cfd53023c85de7ebc3ac494386b0850136d58f947cd7cc6784a141d15e18c3fb3bbc2e42ae85d393733f03cdd45c0f6b9445954279f4663 +AUX audio-entropyd-2.0.1-uclibc.patch 708 SHA256 78d5f8cf969cc199c8651f6b2d4f451c9b79afba457e5253edffedd7c4f5cc49 SHA512 9e78deb5a813307f1cc87cef0cd10121c0a48b9fcda573a868687b307f95ce4f318a8dc845699c054dda9acb71a1ba0d16bb545c0f0f2ebf38ec834d58eaea3e WHIRLPOOL 8870929374af4edd758117ce8286da6c1a9eb7882811a9ebc032c91ec926fd7d1ffb81ef5c607feeceeb426814c37905ac12e2ff1e9fa285efd14a7e750cfe27 +AUX audio-entropyd.conf-2 467 SHA256 4c71e81ace88315f59ffc9336b615f9d48ec4651289bba4b281782a0103a4969 SHA512 5f0aeba92bd233239a73bbb538db70bfa0c96a0d38f9e186411fecdb308a43c9f85a6e1ee650c8d5ad1cf5ee92a4e616556cd52280b7e2aa02dcb58ab4f6598e WHIRLPOOL 2541ab4e8aa0284ce64973756f31f1543264772b1ecc2ff42f22531982b18ec2b4b9812e6915a848efee1a4a3c63dc9eb2794acabcb04df089e3e3fa48cff414 +AUX audio-entropyd.init-2 760 SHA256 557d4017471a8962ec973f88917c6b45e6cb7b06f6478c75dd92b6adc3050f4a SHA512 e2116aa8ab9dab2d9157e4385f1ac13034e0a17ef53d13d2dd764192996e90163f4086edec6b083e67762a753aaef82de60286ca3c028fff0b74dd9797ee2f8d WHIRLPOOL 5d97ae90f5627d2eac11a61bb5ef9da545e41d48d205a757f2330d9e36044aef31a1d9fb22c586c5004a6fa0f8b3a2b92a6784fa45249390d90712fec1fa1f61 +DIST audio-entropyd-2.0.3.tgz 16681 SHA256 6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff SHA512 d21c2d547235accdd460bcaf1ff5f5696db2988d385c3c52aad0d651865386409682f8747d1823765f0c0925bf28f38abdfc0b114d239f494c7eb699c5ed3ebf WHIRLPOOL e653b7cccda00323b5f17a675d72cef1a9adf9915dcd27041e63993073a378d92ab5779d25434ecd48ecbb74b45abc4217e4b629c98ba3885589727ef90edf6d +EBUILD audio-entropyd-2.0.3.ebuild 1010 SHA256 e90c340d7fc1b68917432e9739ea38b7f6916659e92a9751b47b746ba6c33498 SHA512 de107dda954f94ba3c6c07ae05c234c13c606f26c840313ef6f7c117431d9bf067bb4f6c220f5fb08098ca245567e193d9f8af81fd9f2253c12b9a0e563c6710 WHIRLPOOL 02cab59b314d1b2a605e9da4ceb26802a32dc2cde7409ce606208be3082b63db14f4a2575b3d384ee218cfbc15ba29717ea96ec7c1ecd1d1cb2766a040349187 +MISC ChangeLog 6098 SHA256 db78f9f86a7dcf2cb0f9dec88a246d712ad5bedd4564735452903118c0f7c360 SHA512 46d4881e5e321a44d05fcef3c2e6e07da8d75d90756d74db3845c68729e353486dd35f4e32d0f3fe8270098b85e68c1550985fafd3d956997e05a83954046bb1 WHIRLPOOL dc0d57f15082bd4f40740efe0539a56713f207de7b26d7c07c890ad8d0b46825b4cb5995aff7b7312fb6b342c1968304177686053df0568eceb21057c0899756 +MISC metadata.xml 335 SHA256 499ec23df9ece8b5e6c25dcd9af4f3e468a73404fc1373eb996cdeeb27982475 SHA512 e1896c81f2c7227171435ec3662fd93d9f5f663f392333cd6f625db0b91e2ecf6dd53163ea7fb33bc2da1b3c30f7b91bd7ba7bb5be8a8d69f23b645e99c06bce WHIRLPOOL 8fb339b4f7882548d35ee5bb80c9b444ffd8a4121d5c45700a3731bca856504bb8b63ec802a3d1d7d2278cf61b465f4326162b8b366e02b7d750942c228f55e5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iF4EAREIAAYFAlMtpY8ACgkQmWq1bYTyC0OCvAD/TcbhGfw3/RgXWPZCSUmbzyXt +SZnB7VyO5ORSwmIe0BMA/0DMdYJ9T4ffnzMavNoisbek9Ne9W1Drvp3hwUXWfQbU +=umRy +-----END PGP SIGNATURE----- diff --git a/sys-apps/audio-entropyd/audio-entropyd-2.0.3.ebuild b/sys-apps/audio-entropyd/audio-entropyd-2.0.3.ebuild new file mode 100644 index 000000000000..9ca986a8aa87 --- /dev/null +++ b/sys-apps/audio-entropyd/audio-entropyd-2.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/audio-entropyd-2.0.3.ebuild,v 1.1 2014/03/22 15:00:30 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-entropyd ) + media-sound/alsa-utils + media-libs/alsa-lib" + +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}:" \ + -e "/^WARNFLAGS/s: -g::" Makefile || die +} + +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/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch b/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch new file mode 100644 index 000000000000..870e9121140d --- /dev/null +++ b/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 95a84a6..340f95f 100644 +--- a/Makefile ++++ b/Makefile +@@ -12,7 +12,7 @@ TARGETS=audio-entropyd + all: $(TARGETS) + + audio-entropyd: 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/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch b/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch new file mode 100644 index 000000000000..bdf5adeff825 --- /dev/null +++ b/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch @@ -0,0 +1,27 @@ +--- 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/sys-apps/audio-entropyd/files/audio-entropyd.conf-2 b/sys-apps/audio-entropyd/files/audio-entropyd.conf-2 new file mode 100644 index 000000000000..03f267461217 --- /dev/null +++ b/sys-apps/audio-entropyd/files/audio-entropyd.conf-2 @@ -0,0 +1,13 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd.conf-2,v 1.1 2014/03/22 15:00:29 angelos Exp $ + +# /etc/conf.d/audio-entropyd + +# The acceptable values are DEVICE, READSIZE and SAMPLERATE +# These defaults give the optimum entropy + +#DEVICE="hw:0" + +#SAMPLERATE must be a valid sampling rate of your audio source +SAMPLERATE="44050" diff --git a/sys-apps/audio-entropyd/files/audio-entropyd.init-2 b/sys-apps/audio-entropyd/files/audio-entropyd.init-2 new file mode 100644 index 000000000000..193edbd056b9 --- /dev/null +++ b/sys-apps/audio-entropyd/files/audio-entropyd.init-2 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd.init-2,v 1.1 2014/03/22 15:00:29 angelos Exp $ + +depend() { + need modules + use alsasound +} + +start() { + local params="" + [ -n "$DEVICE" ] && params="$params -d $DEVICE" + [ -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 ${?} +} diff --git a/sys-apps/audio-entropyd/metadata.xml b/sys-apps/audio-entropyd/metadata.xml new file mode 100644 index 000000000000..bc557e5fa607 --- /dev/null +++ b/sys-apps/audio-entropyd/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> +</maintainer> +<longdescription>Audio-entropyd generates entropy-data for the /dev/random device.</longdescription> +</pkgmetadata> |