diff options
author | Christoph Mende <angelos@gentoo.org> | 2014-03-22 15:00:30 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2014-03-22 15:00:30 +0000 |
commit | 6561830d966f1178cb32e23e82261592281566ef (patch) | |
tree | faef4e0c666a89d562d64b5f647cb015fb5e1a45 /sys-apps/audio-entropyd | |
parent | Stable for HPPA (bug #504794). (diff) | |
download | gentoo-2-6561830d966f1178cb32e23e82261592281566ef.tar.gz gentoo-2-6561830d966f1178cb32e23e82261592281566ef.tar.bz2 gentoo-2-6561830d966f1178cb32e23e82261592281566ef.zip |
Move audio-entropyd to sys-apps
(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 84F20B43)
Diffstat (limited to 'sys-apps/audio-entropyd')
-rw-r--r-- | sys-apps/audio-entropyd/ChangeLog | 188 | ||||
-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 |
7 files changed, 313 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/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> |