angelos 14/03/22 15:00:30 Added: audio-entropyd.conf-2 audio-entropyd-2.0.1-uclibc.patch audio-entropyd-2.0.1-ldflags.patch audio-entropyd.init-2 Log: 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)
Revision Changes Path 1.1 sys-apps/audio-entropyd/files/audio-entropyd.conf-2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd.conf-2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd.conf-2?rev=1.1&content-type=text/plain Index: audio-entropyd.conf-2 =================================================================== # 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" 1.1 sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch?rev=1.1&content-type=text/plain Index: audio-entropyd-2.0.1-uclibc.patch =================================================================== --- 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 1.1 sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-ldflags.patch?rev=1.1&content-type=text/plain Index: audio-entropyd-2.0.1-ldflags.patch =================================================================== 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/ 1.1 sys-apps/audio-entropyd/files/audio-entropyd.init-2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd.init-2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/files/audio-entropyd.init-2?rev=1.1&content-type=text/plain Index: audio-entropyd.init-2 =================================================================== #!/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 ${?} }