debian/0000755000000000000000000000000011672136037007174 5ustar debian/librplay3.shlibs0000644000000000000000000000004211672106177012301 0ustar librplay 3 librplay3 (>= 3.3.2-2) debian/rules0000755000000000000000000000420111672111041010235 0ustar #!/usr/bin/make -f # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. SHELL=/bin/bash i = $(shell pwd)/debian/tmp b = $(shell pwd)/debian/build package = rplay soname = 3 l = lib$(package)$(soname) build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir ./configure --prefix=/usr --sysconfdir=/etc/rplay --without-x \ --enable-rplayd-user=nobody --enable-rplayd-group=audio $(MAKE) CFLAGS="-O2 -D_REENTRANT" (cd contrib/mailsound; $(MAKE) CFLAGS="-O2 -g") touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f contrib/mailsound/mailsound{,.o} \ gsm/Makefile rx/{config.*,Makefile} dh_clean install: install: build dh_testdir dh_testroot dh_prep $(MAKE) install prefix=$(i)/usr \ infodir=$(i)/usr/share/info \ mandir=$(i)/usr/share/man # Lintian overrides cd debian ; \ for f in *.lintian ; do \ [ -r "$$f" ] && { \ mkdir -p "$${f%%.lintian}/usr/share/lintian/overrides" ;\ install -m 644 "$$f" "$${f%%.lintian}/usr/share/lintian/overrides/$${f%%.lintian}" ;\ } ;\ done install contrib/mailsound/mailsound $(i)/usr/bin mkdir -p $(i)/usr/share/perl5 install -m 664 perl/{RPlay.pm,rplay.ph,RPTP.pm} $(i)/usr/share/perl5 install perl/Mailsound $(i)/usr/bin install -m 644 contrib/mailsound/mailsound.1 $(i)/usr/share/man/man1 install -m 644 perl/Mailsound.1 $(i)/usr/share/man/man1 install -d $(i)/etc/rplay install -m 644 etc/rplay.{conf,helpers,hosts,servers} $(i)/etc/rplay dh_movefiles binary: binary-indep binary-arch binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installmenu dh_installinit -prplay-server --init-script=rplay -- defaults 99 10 dh_installman dh_installinfo dh_installchangelogs ChangeLog dh_strip dh_link dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/librplay3.postrm0000644000000000000000000000003711672106177012345 0ustar #!/bin/sh set -e #DEBHELPER# debian/librplay3.lintian0000644000000000000000000000024311672106177012456 0ustar #due to arch- and optimisation-dependent symbols the symbols-file is not #maintainable and FTBSs occur on lots of architectures librplay3: no-symbols-control-file debian/devrplay3.lintian0000644000000000000000000000024311672106177012466 0ustar #due to arch- and optimisation-dependent symbols the symbols-file is not #maintainable and FTBSs occur on lots of architectures devrplay3: no-symbols-control-file debian/rplay-client.info0000644000000000000000000000015611672106177012460 0ustar debian/tmp/usr/share/info/RPTP.info debian/tmp/usr/share/info/RPLAY.info debian/tmp/usr/share/info/rplay.info debian/librplay3-dev.prerm0000644000000000000000000000022711672106177012723 0ustar #!/bin/sh set -e pkg=librplay3-dev if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$pkg ]; then rm -f /usr/doc/$pkg fi #DEBHELPER# debian/rplay-server.examples0000644000000000000000000000004211672106177013365 0ustar etc/rplay.helpers etc/rplay.hosts debian/rplay-server.postrm0000644000000000000000000000015711672106177013102 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rmdir --ignore-fail-on-non-empty /etc/rplay fi #DEBHELPER# debian/rplay-client.mime0000644000000000000000000000051211672106177012450 0ustar audio/wav; rplay %s; description="WAV Audio" audio/x-wav; rplay %s; description="WAV Audio" audio/au; rplay %s; description="Sun Audio" audio/basic; rplay %s; description="Basic Audio" audio/mpeg; rplay %s; description="MPEG Audio" audio/x-mpeg; rplay %s; description="MPEG Audio" audio/x-aiff; rplay %s; description="AIFF Audio" debian/librplay-perl.files0000644000000000000000000000011211672106177012772 0ustar usr/share/perl5/RPlay.pm usr/share/perl5/RPTP.pm usr/share/perl5/rplay.ph debian/librplay3-dev.files0000644000000000000000000000007311672106177012677 0ustar usr/include/rplay.h usr/lib/librplay.a usr/lib/librplay.so debian/rplay-client.prerm0000644000000000000000000000021711672106177012650 0ustar #!/bin/sh set -e pkg=rplay if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$pkg ]; then rm -f /usr/doc/$pkg fi #DEBHELPER# debian/rplay-server.rplay0000644000000000000000000000305011672134555012701 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: rplay # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: start and stop the rplay daemon # Description: Enable service provided by rplay daemon. # rplayd is the sound server for the rplay audio system. The server lis- # tens for requests to play, pause, continue, and stop sounds using both # the RPLAY and RPTP protocols. ### END INIT INFO # there have been requests to have rplay start up *late* and stop *early* FLAGS="defaults 99 10" test -x /usr/sbin/rplayd || exit 0 . /lib/lsb/init-functions if egrep "^rplay" /etc/inetd.conf > /dev/null; then log_warning_msg "RPlayd is currently started from inetd" exit 0 fi case "$1" in start) log_begin_msg "Starting rplay server" "rplayd" if start-stop-daemon --start --quiet \ --exec /usr/sbin/rplayd > /dev/null 2>&1; then log_end_msg 0 else log_end_msg 1 fi ;; stop) log_begin_msg "Stopping rplay server" "rplayd" if start-stop-daemon --stop --quiet --exec /usr/sbin/rplayd; then log_end_msg 0 else log_end_msg 1 fi ;; reload|force-reload) /usr/bin/rplay --reset ;; restart) log_begin_msg "Restarting rplay server" "rplayd" start-stop-daemon --stop --quiet --exec /usr/sbin/rplayd if start-stop-daemon --start --quiet \ --exec /usr/sbin/rplayd > /dev/null 2>&1; then log_end_msg 0 else log_end_msg 1 fi ;; *) log_failure_msg "Usage: /etc/init.d/rplay {start|stop|reload}" exit 1 ;; esac exit 0 debian/librplay3.files0000644000000000000000000000006011672106177012117 0ustar usr/lib/librplay.so.3.3.2 usr/lib/librplay.so.3 debian/changelog0000644000000000000000000002140711672135506011052 0ustar rplay (3.3.2-14) unstable; urgency=low * debian/control: Standards version moved to 3.9.2 (no changes) * debian/control: dependency on dpatch removed * debian/control: add dependency on libperl4-corelibs-perl to librplay-perl * debian/control: architecture: all for librplay-perl * debian/source/format: changed to 3.0 (quilt) * debian/rules: dpatch removed * debian/rules: build-arch and build-indep according to lintian recommendation added * debian/patches: moved from dpatch to quilt * debian/rplay-server.rplay: add Description: to init-script -- Thorsten Alteholz Wed, 14 Dec 2011 18:04:35 +0100 rplay (3.3.2-13) unstable; urgency=low * New maintainer (Closes: #473853) * patch to avoid crash in case there is nothing to play (Closes: #502610) * debian/copyright: copyright collected from source files (Closes: #532449) * debian/control: depend on libreadline-dev (Closes: #553842) * debian/control: renaming rplay-perl to librplay-perl (Closes: #575930) according to apt-rdepends only rplay-contrib depends on rplay-perl, so simply renaming should do no harm * debian/control: use Breaks: instead of Conflitcs: for older vresion of package * debian/control: dependency on dpkg (>= 1.15.4) | install-info added * debian/control: dependency on debhelper (>= 8.0.0) * debian/control: standard bumped to 3.9.1 * debian/control: new package for shared library added as lintian complained about a shared library within another package, the library has to be moved from rplay-client to a separate package * debian/control: lintian overrides for symbol file added * debian/control: DM-Upload-Allowed added * debian/rules: dh_clean -k replaced by dh_prep * debian/compat: 5 changed to 8 * debian/README.source added * debian/source/format: start with format 1.0 * debian/*inst: change -e to set -e * debian/*rm: change -e to set -e * the following maintainer scripts have been removed (they are empty): - librplay3-dev.postinst - rplay-client.postinst -- Thorsten Alteholz Sat, 27 Nov 2010 16:00:00 +0100 rplay (3.3.2-12) unstable; urgency=low * QA upload. * Acknowledging NMU: thanks to Peter Eisentraut who took care * debian/control - set QA group as maintainer - bump Standards-Version to 3.8.0 - added Homepage field - added dpatch build-dep - replaced ${Source-Version} with ${binary:Version} in librplay3-dev dep - section fixed for librplay3-dev (libdevel) - set section: perl for rplay-perl - short descriptions re-worded * debian/watch - added * debian/rules - added dpatch stuff - removed '-s' option from install call; thanks to Julien Danjou for the report; Closes: #437921 - removed '-' in front of clean target commands - removed commented dh_* call - installed upstream changelog directly (passing the filename to dh_installchangelog) - make call are now made with $(MAKE) - init file installation moved from install to binary-arch target * debian/patches/01_previous_changes.dpatch - added to remove direct upstream code changes * debian/copyright - clearly separated copyright and license notices - indented copyright, license and upstream author with 4 spaces - reformat the location of a Debian system of GPLv2 license text - left only the caption of GPLv2 license text * debian/rplay-contrib.postinst - removed since empty * debian/rplay-client.postrm - removed since empty * debian/patches/10_fix_manpages.dpatch - added to fix hyphen-used-as-minus-sign lintian warnings * debian/rplay-server.rplay - applied the patch from Christian Perrier; thanks to him; Closes: #389067 * debian/librplay3.docs - removed installation of changelog, we do it in debian/rules -- Sandro Tosi Sun, 17 Aug 2008 23:58:00 +0200 rplay (3.3.2-11.1) unstable; urgency=low * Non-maintainer upload. * Added LSB formatted dependency info in init.d script (closes: #468571) -- Peter Eisentraut Wed, 02 Apr 2008 01:02:28 +0200 rplay (3.3.2-11) unstable; urgency=low * re-generated configure script (closes: 369208) -- lantz moore Sat, 10 Jun 2006 11:05:13 -0700 rplay (3.3.2-10) unstable; urgency=low * build-depends on libreadline6-dev (closes: 326302) * -dev depends on libc6-dev (closes: 337791) * documented monitor command in rptp (closes: 293899) -- lantz moore Sun, 1 Jan 2006 15:06:51 -0800 rplay (3.3.2-9) unstable; urgency=low * removed "transitional" rplay package (closes: 308703) * removed bogus and unused inetd decl (closes: 288437) * include errno.h instead of extern definition (closes: 280274) * no longer creates the /usr/doc link (closes: 322834) * applied patch for gnu and kfreebsd-gnu (closes: 267997) -- lantz moore Wed, 24 Aug 2005 16:56:50 -0700 rplay (3.3.2-8) unstable; urgency=low * better arg passing in rplaydsp. (closes: Bug#133199) * rplayd now closes stdin. (closes: 135672) * fixed redundant declarations. (closes: 138699) * better ogg helper. -- lantz moore Tue, 2 Apr 2002 17:44:19 -0800 rplay (3.3.2-7) unstable; urgency=low * *finally* moved librplay3-dev to development section. -- lantz moore Sat, 9 Feb 2002 16:14:32 -0800 rplay (3.3.2-6) unstable; urgency=low * make sure that we can actually write data to rplayd. (closes: Bug#89352) * added some spaces to the description of the rplay package to make the formatting happy. (closes: Bug#123598) -- lantz moore Fri, 1 Feb 2002 12:16:48 -0800 rplay (3.3.2-5) unstable; urgency=low * rmdir /etc/rplay on purge. (closes: Bug#74397) * redirect std{err,out} to /dev/null in init script. (closes: Bug#120849) * beefed up the manpage for rplaydsp. (closes: Bug#112624) * fixed typo in librplay3-dev description. (closes: Bug#110478) * merged Marcus Brinkmann's hurd patches. (closes: Bug#77044) * fixed a few lintian warnings. * added vorbis-tools suggestion to rplay-server and helper description in rplay.helpers. -- lantz moore Thu, 6 Dec 2001 14:03:26 -0800 rplay (3.3.2-4) unstable; urgency=low * /etc/init.d/rplay starts at 99 and dies at 10. (closes: Bug#67203) * rplay-server suggested some non-existent/experimental version of xmp. (closes: Bug#74179) * /etc/rplay is completely removed upon purging. (closes: Bug#74379) * rplayd now uses the regex facilities from libc and no longer depends on librx. * installed default rplay.hosts. -- lantz moore Sat, 21 Oct 2000 15:50:33 -0700 rplay (3.3.2-3) unstable; urgency=high * recompile using libreadline4. (closes: Bug#63176) * fixed up copyright file. * fixed Depends lines in control file. (closes: Bug#51934) * added rplaydsp and moved devrplay.so to rplay-client. -- lantz moore Tue, 2 May 2000 14:44:43 -0700 rplay (3.3.2-2) unstable; urgency=medium * added soname and -D_REENTRANT (fixes 37125, 48520) * split package into subcomponents (fixes 36910) -- lantz moore Sun, 7 Nov 1999 21:20:59 -0800 rplay (3.3.2-1) unstable; urgency=low * new upstream version. * install the new devrplay library. * depends on perl5, closes 41473. -- lantz moore Sun, 18 Jul 1999 22:53:52 -0700 rplay (3.3.1-3) unstable; urgency=low * upstream patches fixing an annoying sprintf problem. -- lantz moore Wed, 4 Nov 1998 09:14:49 -0800 rplay (3.3.1-2) unstable; urgency=low * forgot to remove install-mime from prerm. Bug#28395 -- lantz moore Thu, 22 Oct 1998 10:47:45 -0700 rplay (3.3.1-1) unstable; urgency=low * new upstream source. * use update-mime. -- lantz moore Thu, 15 Oct 1998 09:28:29 -0700 rplay (3.3.0-4) unstable; urgency=low * moved startup script to 40 so that rplayd gets started after amd. -- lantz moore Fri, 31 Jul 1998 09:30:30 -0700 rplay (3.3.0-3) unstable; urgency=low * applied upstream "broadcast" patch. * changed mpeg helper regex to match mp[1-3] * fixed all lintian warnings. -- lantz moore Wed, 29 Jul 1998 13:53:06 -0700 rplay (3.3.0-2) unstable; urgency=medium * fixed info installation bug. * fixed "corrupt installation bug" Bug#24494. * use the init.d and purge files for debstd. * remove /etc/rplay/rplay.hosts from the distribution. -- lantz moore Sun, 12 Jul 1998 20:39:04 -0700 rplay (3.3.0-1) unstable; urgency=low * Initial Release. -- lantz moore Mon, 22 Jun 1998 13:55:25 -0700 debian/rplay-server.preinst0000644000000000000000000000043511672106177013241 0ustar #!/bin/sh set -e case "$1" in install) ;; upgrade) start-stop-daemon --stop --quiet --exec /usr/sbin/rplayd || true ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 0 ;; esac if [ ! -x /etc/init.d/rplay ]; then exit 0 fi #DEBHELPER# debian/not-used/0000755000000000000000000000000011672106177010734 5ustar debian/not-used/librplay3-dev.postinst0000644000000000000000000000004011672106177015210 0ustar #!/bin/sh set -e #DEBHELPER# debian/not-used/rplay-client.postinst0000644000000000000000000000003711672106177015144 0ustar #!/bin/sh set -e #DEBHELPER# debian/rplay-contrib.prerm0000644000000000000000000000022711672106177013033 0ustar #!/bin/sh set -e pkg=rplay-contrib if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$pkg ]; then rm -f /usr/doc/$pkg fi #DEBHELPER# debian/rplay-server.postinst0000644000000000000000000000054211672106177013437 0ustar #!/bin/sh set -e pkg=rplayd if [ "$1" = "configure" ]; then if [ -e /etc/init.d/rplayd ]; then rm /etc/init.d/rplayd fi if [ ! -e /etc/rplay/rplay.hosts ]; then echo "RPlayd is currently configured to only allow connections from localhost." echo " man rplay.hosts(5) for details of how to modify this." fi fi #DEBHELPER# debian/rplay-contrib.files0000644000000000000000000000014211672106177013004 0ustar usr/bin/mailsound usr/bin/Mailsound usr/share/man/man1/mailsound.1 usr/share/man/man1/Mailsound.1 debian/librplay3-dev.info0000644000000000000000000000005011672106177012523 0ustar debian/tmp/usr/share/info/librplay.info debian/devrplay3.files0000644000000000000000000000002611672106177012131 0ustar usr/lib/devrplay.so.3 debian/rplay-server.prerm0000644000000000000000000000022011672106177012672 0ustar #!/bin/sh set -e pkg=rplayd if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$pkg ]; then rm -f /usr/doc/$pkg fi #DEBHELPER# debian/patches/0000755000000000000000000000000011672110107010611 5ustar debian/patches/20_soname.patch0000644000000000000000000000106011672107543013424 0ustar Author: Thorsten Alteholz Description: Add soname to library devrplay.so --- rplay.orig/devrplay/Makefile.in +++ rplay/devrplay/Makefile.in @@ -13,12 +13,12 @@ .c.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -LDFLAGS= $(LD_OPTIONS) -shared @LDFLAGS@ @LIBS@ -L../librplay -lrplay -ldl - -TARGET= devrplay.so +TARGET= devrplay.so.3 SRCS= devrplay.c OBJS= devrplay.o +LDFLAGS= $(LD_OPTIONS) -Wl,-soname -Wl,$(TARGET) -shared @LDFLAGS@ @LIBS@ -L../librplay -lrplay -ldl + all: $(TARGET) #$(TARGET): $(OBJS) ../librplay/librplay.so debian/patches/series0000644000000000000000000000012111672107543012032 0ustar 01_previous_changes.patch 10_fix_manpages.patch 20_soname.patch 30_contrib.patch debian/patches/10_fix_manpages.patch0000644000000000000000000001057611672107541014614 0ustar Author: Sandro Tosi Description: Added to fix hyphen-used-as-minus-sign lintian warning --- rplay.orig/contrib/mailsound/mailsound.1 +++ rplay/contrib/mailsound/mailsound.1 @@ -3,7 +3,7 @@ mailsound \- play sounds when mail is received .SH SYNOPSIS .B mailsound -[-hszZvrd] soundname \.\.\. +[\-hszZvrd] soundname \.\.\. .SH DESCRIPTION mailsound allows a user to play sounds when new mail arrives. It reads a mail message from stdin and uses Mark Boyns' @@ -89,10 +89,10 @@ Here is a sample $HOME/.mailsounds file: .IP .nf -Andrew.* -r Passing_Train riot arrp flinstones +Andrew.* \-r Passing_Train riot arrp flinstones root.* out! -daemon.* -v 220 sci_fi_fun -MAILER.* -S 1000,10000 cuckoo pig Oomph +daemon.* \-v 220 sci_fi_fun +MAILER.* \-S 1000,10000 cuckoo pig Oomph *. pigs .fi .SH FILES --- rplay.orig/doc/rplay.1 +++ rplay/doc/rplay.1 @@ -43,8 +43,8 @@ Examples: ulaw,8000,8,1,big-endian,0 gsm,8000 Shorthand info is provided for Sun's audio devices using the -following options: --info-amd, --info-dbri, --info-cs4231. -There's also: --info-ulaw and --info-gsm. +following options: \-\-info\-amd, \-\-info\-dbri, \-\-info\-cs4231. +There's also: \-\-info\-ulaw and \-\-info\-gsm. .TP .I "\-p, \-\-pause" Pause sounds. @@ -70,7 +70,7 @@ .TP .I "\-\-rptp, \-\-RPTP" Force the use of the RPTP protocol. -See `--rplay' for more information about protocols. +See `\-\-rplay' for more information about protocols. .TP .I "\-R N, \-\-sample\-rate=N" Play sounds at sample rate N, default = 0. --- rplay.orig/doc/rplay.helpers.5 +++ rplay/doc/rplay.helpers.5 @@ -15,7 +15,7 @@ .IP .SH EXAMPLE - .*mp3$ linear16,44100,16,2,little-endian /usr/bin/mpg123 -s -q -r 44100 --stereo - + .*mp3$ linear16,44100,16,2,little\-endian /usr/bin/mpg123 \-s \-q \-r 44100 \-\-stereo \- .SH FILES .B /usr/local/etc/rplay.helpers .SH "SEE ALSO" --- rplay.orig/doc/rplayd.8 +++ rplay/doc/rplayd.8 @@ -68,9 +68,9 @@ Close /dev/dsp after N idle seconds, disabled with 0 (5). .TP .I "\-F N, \-\-audio_flush=N" -Flush /dev/dsp after N idle seconds, disabled with 0 (-1). -N = -1 : flush when spool is empty. -N = -2 : flush after each audio write. (not recommended) +Flush /dev/dsp after N idle seconds, disabled with 0 (\-1). +N = \-1 : flush when spool is empty. +N = \-2 : flush after each audio write. (not recommended) N should be <= to the audio close timeout. .TP .I "\-\-audio\-format=FORMAT" @@ -88,13 +88,13 @@ INFO is of the form: format,sample-rate,bits,channels Examples: `ulaw,8000,8,1' and `linear-16,44100,16,2' Also provided are: - --audio-info-ulaw, --info-ulaw -> ulaw,8000,8,1 + \-\-audio\-info\-ulaw, \-\-info\-ulaw \-> ulaw,8000,8,1 .TP .I "\-\-audio\-match" Attempt to match the sample rate of the audio device with the sample rate of the current sound when no other sounds -are playing. If the match fails, --audio-sample-rate is used. -This option overrides --audio-bufsize. +are playing. If the match fails, \-\-audio\-sample\-rate is used. +This option overrides \-\-audio\-bufsize. .TP .I "\-\-audio\-port=PORT[,PORT...]" Output audio to the specified audio port(s). @@ -184,11 +184,11 @@ .TP .I "\-\-port=PORT, \-\-rplay\-port=PORT" Use PORT as the RPLAY/UDP port. (5555) -(--other-rplay-port may also be available) +(\-\-other\-rplay\-port may also be available) .TP .I "\-\-rptp\-port=PORT" Use PORT as the RPTP/TCP port. (5556) -(--other-rptp-port may also be available) +(\-\-other\-rptp\-port may also be available) .TP .I "\-S FILE, \-\-servers=FILE" Use FILE for rplay.servers (/etc/rplay/rplay.servers). --- rplay.orig/doc/rptp.1 +++ rplay/doc/rptp.1 @@ -9,7 +9,6 @@ report its status. See the output of the .B rptp help command for a list of available commands. -.OPTIONS .SH SEE ALSO .IR rplayd (8), .IR rplay (1) --- rplay.orig/perl/Mailsound.1 +++ rplay/perl/Mailsound.1 @@ -21,7 +21,7 @@ file, use something like: .nf - \\yourusername, |"/usr/local/bin/Mailsound -h soundhostname" + \\yourusername, |"/usr/local/bin/Mailsound \-h soundhostname" .fi For @@ -30,13 +30,13 @@ .nf :0 ic - | /usr/local/bin/Mailsound -h doctor:doit + | /usr/local/bin/Mailsound \-h doctor:doit .fi .SH OPTIONS .TP .I \-\-host=hostname[:hostname ...] -Play sounds on the specifed host(s). +Play sounds on the specified host(s). .TP .I \-\-file=filename Specify an alternate configuration file. debian/patches/01_previous_changes.patch0000644000000000000000000025101111672107537015513 0ustar Author: Sandro Tosi Description: New patch generated from rplay 3.3.2-12 diff.gz --- rplay.orig/configure +++ rplay/configure @@ -527,6 +527,8 @@ +BUILD_TARGETS="include lib adpcm" + export srcdir RPLAY_VERSION=`$srcdir/version` @@ -544,7 +546,7 @@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:548: checking for $ac_word" >&5 +echo "configure:550: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -574,7 +576,7 @@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:578: checking for $ac_word" >&5 +echo "configure:580: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -625,7 +627,7 @@ # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:629: checking for $ac_word" >&5 +echo "configure:631: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -657,7 +659,7 @@ fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:661: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:663: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -668,12 +670,12 @@ cat > conftest.$ac_ext << EOF -#line 672 "configure" +#line 674 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -699,12 +701,12 @@ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:703: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:705: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:708: checking whether we are using GNU C" >&5 +echo "configure:710: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -713,7 +715,7 @@ yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -732,7 +734,7 @@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:736: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:738: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -797,7 +799,7 @@ echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:801: checking for POSIXized ISC" >&5 +echo "configure:803: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then @@ -818,7 +820,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:822: checking how to run the C preprocessor" >&5 +echo "configure:824: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -833,13 +835,13 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -850,13 +852,13 @@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -867,13 +869,13 @@ rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -928,7 +930,7 @@ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:932: checking for a BSD compatible install" >&5 +echo "configure:934: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -981,7 +983,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:985: checking whether ln -s works" >&5 +echo "configure:987: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1004,7 +1006,7 @@ # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1008: checking for $ac_word" >&5 +echo "configure:1010: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1036,7 +1038,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1040: checking for $ac_word" >&5 +echo "configure:1042: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ETAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1071,7 +1073,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1075: checking for $ac_word" >&5 +echo "configure:1077: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_MAKEDEPEND'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1106,7 +1108,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1110: checking for $ac_word" >&5 +echo "configure:1112: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1141,7 +1143,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1145: checking for $ac_word" >&5 +echo "configure:1147: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1176,7 +1178,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1180: checking for $ac_word" >&5 +echo "configure:1182: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1211,7 +1213,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1215: checking for $ac_word" >&5 +echo "configure:1217: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DVIPS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1247,12 +1249,12 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:1251: checking for $ac_hdr that defines DIR" >&5 +echo "configure:1253: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@ -1260,7 +1262,7 @@ DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:1264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -1285,7 +1287,7 @@ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:1289: checking for opendir in -ldir" >&5 +echo "configure:1291: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1293,7 +1295,7 @@ ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1326,7 +1328,7 @@ else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:1330: checking for opendir in -lx" >&5 +echo "configure:1332: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1334,7 +1336,7 @@ ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1368,12 +1370,12 @@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1372: checking for ANSI C header files" >&5 +echo "configure:1374: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1381,7 +1383,7 @@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1398,7 +1400,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1416,7 +1418,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1437,7 +1439,7 @@ : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -1448,7 +1450,7 @@ exit (0); } EOF -if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -1472,12 +1474,12 @@ fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:1476: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:1478: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1486,7 +1488,7 @@ struct tm *tp; ; return 0; } EOF -if { (eval echo configure:1490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -1506,21 +1508,21 @@ fi -for ac_hdr in fcntl.h sys/file.h sys/ioctl.h sys/time.h stdlib.h unistd.h memory.h string.h strings.h utime.h limits.h gsm.h gsm/gsm.h rxposix.h rx/rxposix.h +for ac_hdr in fcntl.h sys/file.h sys/ioctl.h sys/time.h stdlib.h unistd.h memory.h string.h strings.h utime.h limits.h gsm.h gsm/gsm.h regex.h rxposix.h rx/rxposix.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1514: checking for $ac_hdr" >&5 +echo "configure:1516: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1547,12 +1549,12 @@ done echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:1551: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:1553: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1568,7 +1570,7 @@ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:1572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -1590,12 +1592,12 @@ echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:1594: checking for working const" >&5 +echo "configure:1596: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -1665,12 +1667,12 @@ fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:1669: checking for size_t" >&5 +echo "configure:1671: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1702,17 +1704,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1706: checking for $ac_hdr" >&5 +echo "configure:1708: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1741,12 +1743,12 @@ for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1745: checking for $ac_func" >&5 +echo "configure:1747: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1794,7 +1796,7 @@ done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:1798: checking for working mmap" >&5 +echo "configure:1800: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1802,7 +1804,7 @@ ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -1965,7 +1967,7 @@ fi echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 -echo "configure:1969: checking for 8-bit clean memcmp" >&5 +echo "configure:1971: checking for 8-bit clean memcmp" >&5 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1973,7 +1975,7 @@ ac_cv_func_memcmp_clean=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_memcmp_clean=yes else @@ -2001,12 +2003,12 @@ test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:2005: checking for vprintf" >&5 +echo "configure:2007: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else @@ -2053,12 +2055,12 @@ if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:2057: checking for _doprnt" >&5 +echo "configure:2059: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else @@ -2106,12 +2108,12 @@ fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2110: checking return type of signal handlers" >&5 +echo "configure:2112: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2128,7 +2130,7 @@ int i; ; return 0; } EOF -if { (eval echo configure:2132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -2149,12 +2151,12 @@ for ac_func in getcwd gethostname mkdir re_comp regcomp select snprintf socket strdup strerror strstr fstat fchmod fchown utime utimes memmove sigset vsnprintf waitpid random srandom do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2153: checking for $ac_func" >&5 +echo "configure:2155: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2202,7 +2204,7 @@ done echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:2206: checking for socket in -lsocket" >&5 +echo "configure:2208: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2210,7 +2212,7 @@ ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2242,7 +2244,7 @@ fi echo $ac_n "checking for t_accept in -lnsl""... $ac_c" 1>&6 -echo "configure:2246: checking for t_accept in -lnsl" >&5 +echo "configure:2248: checking for t_accept in -lnsl" >&5 ac_lib_var=`echo nsl'_'t_accept | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2250,7 +2252,7 @@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2283,7 +2285,7 @@ echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6 -echo "configure:2287: checking for readline in -lreadline" >&5 +echo "configure:2289: checking for readline in -lreadline" >&5 ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2291,7 +2293,7 @@ ac_save_LIBS="$LIBS" LIBS="-lreadline $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2317,7 +2319,10 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - RL_LIBS="-lreadline" + cat >> confdefs.h <<\EOF +#define HAVE_LIBREADLINE 1 +EOF + RL_LIBS="-lreadline" else echo "$ac_t""no" 1>&6 fi @@ -2325,7 +2330,7 @@ echo $ac_n "checking for gsm_decode in -lgsm""... $ac_c" 1>&6 -echo "configure:2329: checking for gsm_decode in -lgsm" >&5 +echo "configure:2334: checking for gsm_decode in -lgsm" >&5 ac_lib_var=`echo gsm'_'gsm_decode | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2333,7 +2338,7 @@ ac_save_LIBS="$LIBS" LIBS="-lgsm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2359,42 +2364,91 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - HAVE_GSM="yes" + GSM_LIBS="-lgsm"; GSM_INCS="" else echo "$ac_t""no" 1>&6 + + GSM_LIBS="-L../gsm -lgsm"; GSM_INCS="-I\${srcdir}/../gsm" + BUILD_TARGETS="$BUILD_TARGETS gsm" + fi -if test "$HAVE_GSM" = "yes"; then - GSM_LIBS="-lgsm" - GSM_INCS="" + + + +for ac_func in regcomp +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:2383: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - GSM_LIBS="-L../gsm -lgsm" - GSM_INCS="-I\${srcdir}/../gsm" -fi + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); +int main() { +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi -echo $ac_n "checking for regncomp in -lrx""... $ac_c" 1>&6 -echo "configure:2379: checking for regncomp in -lrx" >&5 -ac_lib_var=`echo rx'_'regncomp | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +echo $ac_n "checking for regcomp in -lrx""... $ac_c" 1>&6 +echo "configure:2433: checking for regcomp in -lrx" >&5 +ac_lib_var=`echo rx'_'regcomp | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lrx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2409,18 +2463,22 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - HAVE_RX="yes" + RX_LIBS="-lrx"; RX_INCS="" else echo "$ac_t""no" 1>&6 + + RX_LIBS="-L../rx -lrx"; RX_INCS="-I\${srcdir}/../rx" + BUILD_TARGETS="$BUILD_TARGETS rx" + subdirs="rx" +s%@subdirs@%$subdirs%g + + fi -if test "$HAVE_RX" = "yes"; then - RX_LIBS="-lrx" - RX_INCS="" -else - RX_LIBS="-L../rx -lrx" - RX_INCS="-I\${srcdir}/../rx" + fi +done + @@ -2434,9 +2492,9 @@ if test -z "$RPLAY_TARGET"; then echo $ac_n "checking for sun""... $ac_c" 1>&6 -echo "configure:2438: checking for sun" >&5 +echo "configure:2496: checking for sun" >&5 cat > conftest.$ac_ext <&6 -echo "configure:2464: checking for solaris" >&5 +echo "configure:2522: checking for solaris" >&5 if test ! -f /vmunix; then is_solaris=yes RPLAY_TARGET="solaris" @@ -2473,9 +2531,9 @@ if test -z "$RPLAY_TARGET"; then echo $ac_n "checking for linux""... $ac_c" 1>&6 -echo "configure:2477: checking for linux" >&5 +echo "configure:2535: checking for linux" >&5 cat > conftest.$ac_ext <&6 -echo "configure:2505: checking for hpux" >&5 +echo "configure:2563: checking for hpux" >&5 cat > conftest.$ac_ext <&6 -echo "configure:2533: checking for sgi" >&5 +echo "configure:2591: checking for sgi" >&5 cat > conftest.$ac_ext <&6 -echo "configure:2557: checking for multimedia development kit" >&5 +echo "configure:2615: checking for multimedia development kit" >&5 for ac_hdr in audio.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2562: checking for $ac_hdr" >&5 +echo "configure:2620: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2604,12 +2662,12 @@ if test -z "$RPLAY_TARGET"; then echo $ac_n "checking for FreeBSD""... $ac_c" 1>&6 -echo "configure:2608: checking for FreeBSD" >&5 +echo "configure:2666: checking for FreeBSD" >&5 cat > conftest.$ac_ext < */ +#define _GNU_SOURCE +#define __USE_GNU + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -34,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -56,6 +60,7 @@ static int dsp_speed; static int dsp_blksize; static int streaming; +static int opened; static char * getsound() @@ -95,12 +100,35 @@ if (strcmp(pathname, "/dev/dsp") == 0) { + char response[RPTP_MAX_LINE]; + char *acc; + rplay_fd = rptp_open(rplay_default_host(), RPTP_PORT, response, sizeof(response)); if (rplay_fd < 0) { rptp_perror(rplay_default_host()); } + else + { + rptp_putline(rplay_fd, "access"); + rptp_getline(rplay_fd, response, sizeof(response)); + acc = rptp_parse(response, "access"); + + if (!acc || !strchr(acc, 'w')) + { + fprintf(stderr, + "RPLAY-ERROR: please add 'w' to rplay.hosts or man rplay.hosts\n"); + errno = EACCES; + close(rplay_fd); + rplay_fd = -1; + } + else + { + opened = 1; + } + } + return rplay_fd; } else @@ -158,6 +186,7 @@ break; } + /* if (spool_id == -1 && dsp_fmt && dsp_speed && dsp_channels) { char response[RPTP_MAX_LINE]; @@ -174,11 +203,18 @@ getsound()); rptp_getline(rplay_fd, response, sizeof(response)); + if (response[0] != RPTP_OK) + { + errno = EINVAL; + return -1; + } + spool_id = atoi(1 + rptp_parse(response, "id")); rptp_putline(rplay_fd, "put id=#%d size=0", spool_id); rptp_getline(rplay_fd, response, sizeof(response)); } + */ return 0; } @@ -214,7 +250,7 @@ if (!func) func = (int (*)(int, const void *, size_t)) dlsym(REAL_LIBC, "write"); - if (fd == rplay_fd && !streaming) + if (fd == rplay_fd && !streaming && opened) { char info[64]; char response[RPTP_MAX_LINE]; @@ -241,7 +277,7 @@ } /* otherwise let rplayd figure out the format using the sound header and/or name. */ - + streaming = 1; rptp_putline(rplay_fd, "play input=flow %s sound=\"%s\"", info, getsound()); @@ -269,6 +305,7 @@ rplay_fd = -1; spool_id = -1; streaming = 0; + opened = 0; dsp_fmt = dsp_speed = dsp_channels = dsp_speed = dsp_blksize = 0; } --- rplay.orig/etc/rplay.hosts +++ rplay/etc/rplay.hosts @@ -1,5 +1,6 @@ -# Sample rplay.hosts -# -# this file describes what machines can read from or write to this server -# *:rwx -# would allow anyone to read or write to this server. +# default rplay.hosts +# see the rplay.hosts(5) for details on the format and meaning of this +# file + +# give the localhost the default permissions +localhost --- rplay.orig/etc/rplay.helpers +++ rplay/etc/rplay.helpers @@ -3,7 +3,6 @@ # # ## MPEG -\.mp[1-3]$ linear16,44100,16,2,little-endian /usr/bin/mpg123 --stdout --quiet --rate 44100 --stereo - +\.mp[1-3]$ linear16,44100,16,2,little-endian /usr/bin/mpg123 --stdout --quiet --rate 44100 --stereo - -## MODS -#\.\(669\|alm\|amd\|far\|mod\|mtm\|okt\|ptm\|rad\|s3m\|stm\|wow\|xm\)$ linear16,44100,16,2,little-endian /usr/local/bin/xmp --stereo --little-endian -b 16 -f 44100 --stdout --nocmd /dev/fd/0 +\.ogg$ linear16,44100,16,2,little-endian /usr/bin/ogg123 -q -d raw -o byteorder:little -f - /dev/fd/0 --- rplay.orig/include/config.h.in +++ rplay/include/config.h.in @@ -40,7 +40,7 @@ /* * Use host authentication. */ -#define AUTH +#define AUTH /* * Support rplay 2.0 packets. If you define this then you @@ -75,7 +75,7 @@ * 1 - System and rplayd errors. * 2 - + RPTP connections, get, put, find. * 3 - + play, stop, pause, continue, etc. - * 4 - + Debug messages. + * 4 - + Debug messages. * * Note that the logging level can also be specified with * rplayd command line options. This is only used if @@ -192,6 +192,7 @@ #undef HAVE_LIBREADLINE #undef HAVE_RANDOM #undef HAVE_SRANDOM +#undef HAVE_REGCOMP #undef HAVE_STDC_HEADERS #undef HAVE_MEMORY_H @@ -207,6 +208,7 @@ #undef HAVE_GSM_H #undef HAVE_GSM_GSM_H +#undef HAVE_REGEX_H #undef HAVE_RXPOSIX_H #undef HAVE_RX_RXPOSIX_H --- rplay.orig/librplay/Makefile.in +++ rplay/librplay/Makefile.in @@ -9,7 +9,7 @@ MKINSTALLDIRS= @srcdir@/../mkinstalldirs CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@/../include @DEFS@ -LDFLAGS= $(LD_OPTIONS) -shared @LDFLAGS@ +LDFLAGS= $(LD_OPTIONS) -shared -Xlinker -soname -Xlinker librplay.so.3 @LDFLAGS@ .c.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) $< @@ -33,7 +33,10 @@ $(RANLIB) $@ librplay.so: $(SHAREDOBJS) - $(CC) -o $@ $(SHAREDOBJS) $(LDFLAGS) + $(CC) -o $@.@RPLAY_VERSION@ $(SHAREDOBJS) $(LDFLAGS) + ln -fs $@.@RPLAY_VERSION@ $@.3 + ln -fs $@.@RPLAY_VERSION@ $@ + # # For HP-UX comment above and uncomment below. @@ -50,14 +53,16 @@ install: all $(MKINSTALLDIRS) $(libdir) $(INSTALL_DATA) $(TARGET) $(libdir) - $(INSTALL_DATA) librplay.so $(libdir) + $(INSTALL_DATA) librplay.so.@RPLAY_VERSION@ $(libdir) + (cd $(libdir) && ln -s librplay.so.@RPLAY_VERSION@ librplay.so.3) + (cd $(libdir) && ln -s librplay.so.@RPLAY_VERSION@ librplay.so) uninstall: $(RM) $(libdir)/$(TARGET) $(RM) $(libdir)/librplay.so clean: - $(RM) $(OBJS) $(SHAREDOBJS) $(TARGET) librplay.so a.out core *~ *.bak *.orig TAGS + $(RM) $(OBJS) $(SHAREDOBJS) $(TARGET) librplay.so* a.out core *~ *.bak *.orig TAGS distclean: clean $(RM) Makefile --- rplay.orig/perl/RPlay.pm +++ rplay/perl/RPlay.pm @@ -44,8 +44,8 @@ my ($that_host, $that_port) = @_; my ($pat, $name, $aliases, $proto, $port, $udp); my (@bytes, $addrtype, $length, $old); - my ($that, $that_addr, $that_addr); - my ($this, $this_addr, $this_addr); + my ($that, $that_addr); + my ($this, $this_addr); $sockaddr = 'S n a4 x8'; --- rplay.orig/rplay/rplay.c +++ rplay/rplay/rplay.c @@ -42,6 +42,11 @@ #define OPTIONS "+spcN:P:h:rv:n:R:b:i:" +/* Make sure MAXPATHLEN is defined. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + struct option longopts[] = { {"continue", no_argument, NULL, 'c'}, --- rplay.orig/rplayd/sound.c +++ rplay/rplayd/sound.c @@ -64,6 +64,9 @@ #ifdef HAVE_HELPERS #include "helper.h" #endif /* HAVE_HELPERS */ +#ifdef HAVE_REGEX_H +#include +#else #ifdef HAVE_RX_RXPOSIX_H #include #else @@ -73,6 +76,12 @@ #include "rxposix.h" #endif #endif +#endif + +/* Make sure MAXPATHLEN is defined. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif SOUND *sounds = NULL; int sound_count = 0; @@ -143,9 +152,9 @@ //memset ((char *) &bad_dirs, 0, sizeof (bad_dirs)); - if (regncomp(&bad_dirs, buf, strlen(buf), REG_ICASE | REG_NOSUB)) + if (regcomp(&bad_dirs, buf, REG_ICASE | REG_NOSUB)) { - report(REPORT_ERROR, "bad_dirs: regncomp failed\n"); + report(REPORT_ERROR, "bad_dirs: regcomp failed\n"); done(1); } @@ -162,7 +171,7 @@ #endif { /* return 1 if bad */ - return regnexec(&bad_dirs, dir, strlen(dir), 0, 0, 0) ? 0 : 1; + return regexec(&bad_dirs, dir, 0, 0, 0) ? 0 : 1; } #endif /* BAD_DIRS */ --- rplay.orig/rplayd/sound.h +++ rplay/rplayd/sound.h @@ -170,9 +170,9 @@ int gsm_bit_frame_bytes; /* Number of bytes in gsm_bit_frame */ int gsm_fixed_buffer_size; #endif /* HAVE_GSM */ -#ifdef HAVE_CDROM +#if defined(HAVE_CDROM) || defined(HAVE_HELPERS) int pid; -#endif /* HAVE_CDROM */ +#endif /* HAVE_CDROM || HAVE_HELPERS */ } SINDEX; --- rplay.orig/rplayd/helper.h +++ rplay/rplayd/helper.h @@ -26,6 +26,9 @@ #ifdef HAVE_HELPERS +#ifdef HAVE_REGEX_H +#include +#else #ifdef HAVE_RX_RXPOSIX_H #include #else @@ -35,6 +38,7 @@ #include "rxposix.h" #endif #endif +#endif typedef struct _helper { --- rplay.orig/rplayd/rplayd.h +++ rplay/rplayd/rplayd.h @@ -73,7 +73,6 @@ extern fd_set read_mask; extern fd_set write_mask; extern int debug; -extern int inetd; extern int rptp_timeout; extern char hostname[]; extern char *hostaddr; @@ -133,7 +132,7 @@ extern int monitor_count; extern BUFFER *monitor_buffers; -extern int errno; +#include #ifdef __STDC__ extern void usage (); --- rplay.orig/rplayd/helper.c +++ rplay/rplayd/helper.c @@ -43,6 +43,11 @@ #include "helper.h" #include "misc.h" +/* Make sure MAXPATHLEN is defined. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + HELPER *helpers = NULL; static time_t helper_read_time; @@ -110,7 +115,7 @@ done(1); } //memset ((char *) &hp->pattern, 0, sizeof (hp->pattern)); - error = regncomp(&hp->pattern, pat, strlen(pat), REG_ICASE | REG_NOSUB); + error = regcomp(&hp->pattern, pat, REG_ICASE | REG_NOSUB); if (error) { report(REPORT_ERROR, "helper_read: %d line %d\n", error, line); @@ -188,7 +193,7 @@ for (hp = helpers; hp; hp = hp->next) { - if (regnexec(&hp->pattern, sound, strlen(sound), 0, 0, 0) == 0) + if (regexec(&hp->pattern, sound, 0, 0, 0) == 0) { return hp; } --- rplay.orig/rplayd/native.c +++ rplay/rplayd/native.c @@ -22,7 +22,7 @@ */ - +#include #ifdef HAVE_CONFIG_H #include "config.h" #endif --- rplay.orig/rplayd/rplayd.c +++ rplay/rplayd/rplayd.c @@ -333,6 +333,9 @@ progname = argv[0]; + /* no need to keep stdin around */ + close(0); + servers_file = tilde_expand(RPLAY_SERVERS); #ifdef HAVE_HELPERS helpers_file = tilde_expand(RPLAY_HELPERS); @@ -1466,7 +1469,7 @@ char *buf = rplay_audio_buf; int size = rplay_audio_size; int n; - + while (size) { n = MIN(BUFFER_SIZE - monitor_buffers->offset, size); @@ -1483,7 +1486,7 @@ } } } - + rplay_audio_size = 0; /* Flush when the audio stream has ended. */ --- rplay.orig/rplayd/spool.c +++ rplay/rplayd/spool.c @@ -43,6 +43,11 @@ #include "flange.h" #endif +/* Make sure MAXPATHLEN is defined. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + SPOOL *spool = NULL; /* List of spool entries. */ int spool_size = 0; /* Number of entries in the spool. */ int spool_nplaying = 0; /* Number of playing sounds. */ @@ -1127,8 +1132,8 @@ spool_flow_pause(sp); } } -#endif /* HAVE_CDROM */ } +#endif /* HAVE_CDROM */ } else { --- rplay.orig/rplayd/xhash.c +++ rplay/rplayd/xhash.c @@ -36,6 +36,11 @@ #include "hash.h" #include "rplayd.h" +/* Make sure MAXPATHLEN is defined. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + static struct hash_control *htable; #ifdef DEBUG --- rplay.orig/rplayd/cache.c +++ rplay/rplayd/cache.c @@ -47,6 +47,11 @@ #include "spool.h" #include "cache.h" +/* Make sure MAXPATHLEN is defined. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + static DIR *cache_dir; static char cache_path[MAXPATHLEN]; static char cache_directory[MAXPATHLEN]; --- rplay.orig/rplayd/host.c +++ rplay/rplayd/host.c @@ -33,6 +33,9 @@ #include "host.h" #include "buffer.h" #include "misc.h" +#ifdef HAVE_REGEX_H +#include +#else #ifdef HAVE_RX_RXPOSIX_H #include #else @@ -42,6 +45,7 @@ #include "rxposix.h" #endif #endif +#endif #ifdef AUTH @@ -197,35 +201,31 @@ } strcat(expr_monitor, "$"); - error = regncomp(&access_read, expr_read, strlen(expr_read), - REG_ICASE | REG_NOSUB); + error = regcomp(&access_read, expr_read, REG_ICASE | REG_NOSUB); if (error) { - report(REPORT_ERROR, "host_read: regncomp: %d\n", error); + report(REPORT_ERROR, "host_read: regcomp: %d\n", error); done(1); } - error = regncomp(&access_write, expr_write, strlen(expr_write), - REG_ICASE | REG_NOSUB); + error = regcomp(&access_write, expr_write, REG_ICASE | REG_NOSUB); if (error) { - report(REPORT_ERROR, "host_read: regncomp: %d\n", error); + report(REPORT_ERROR, "host_read: regcomp: %d\n", error); done(1); } - error = regncomp(&access_execute, expr_execute, strlen(expr_execute), - REG_ICASE | REG_NOSUB); + error = regcomp(&access_execute, expr_execute, REG_ICASE | REG_NOSUB); if (error) { - report(REPORT_ERROR, "host_read: regncomp: %d\n", error); + report(REPORT_ERROR, "host_read: regcomp: %d\n", error); done(1); } - error = regncomp(&access_monitor, expr_monitor, strlen(expr_monitor), - REG_ICASE | REG_NOSUB); + error = regcomp(&access_monitor, expr_monitor, REG_ICASE | REG_NOSUB); if (error) { - report(REPORT_ERROR, "host_read: regncomp: %d\n", error); + report(REPORT_ERROR, "host_read: regcomp: %d\n", error); done(1); } } @@ -432,7 +432,7 @@ done(1); } - n = regnexec(re, p, strlen(p), 0, 0, 0); + n = regexec(re, p, 0, 0, 0); return !n; } --- rplay.orig/rplayd/timer.c +++ rplay/rplayd/timer.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "rplayd.h" #include "timer.h" --- rplay.orig/rplayd/Makefile.in +++ rplay/rplayd/Makefile.in @@ -25,7 +25,7 @@ $(CC) -c $(CPPFLAGS) $(CFLAGS) $< LDFLAGS= $(LD_OPTIONS) -L../librplay -lrplay -L../lib -lrp \ - -L../adpcm -ladpcm @GSM_LIBS@ -L../rx -lrx @LDFLAGS@ @LIBS@ -lm + -L../adpcm -ladpcm @GSM_LIBS@ @RX_LIBS@ @LDFLAGS@ @LIBS@ -lm TARGET= rplayd @@ -54,7 +54,7 @@ install: all $(MKINSTALLDIRS) $(sbindir) $(INSTALL_PROGRAM) $(TARGET) $(sbindir)/$(TARGET) - @test -x $(bindir)/$(TARGET) && echo "" && echo " Note: Consider removing $(bindir)/$(TARGET)" && echo "" + @(test -x $(bindir)/$(TARGET) && echo "" && echo " Note: Consider removing $(bindir)/$(TARGET)" && echo "") || true uninstall: $(RM) $(bindir)/$(TARGET) --- rplay.orig/rplayd/audio/audio_FreeBSD.c +++ rplay/rplayd/audio/audio_FreeBSD.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include /* * for the poor folks who don't have a sound card, but use the pc speaker --- /dev/null +++ rplay/rplayd/audio/audio_gnu.h @@ -0,0 +1,37 @@ +/* $Id: audio_generic.h,v 1.3 1999/03/10 07:58:10 boyns Exp $ */ + +/* + * Copyright (C) 1993-99 Mark R. Boyns + * + * This file is part of rplay. + * + * rplay is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * rplay is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rplay; see the file COPYING. If not, write to the + * Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + */ + + + +#ifndef _audio_generic_h +#define _audio_generic_h + +#include "rplay.h" + +#define RPLAY_AUDIO_DEVICE "/dev/audio" +#define RPLAY_AUDIO_TIMEOUT 5 +#define RPLAY_AUDIO_FLUSH_TIMEOUT -1 +#define RPLAY_AUDIO_RATE 10 +#define RPLAY_AUDIO_BYTE_ORDER RPLAY_BIG_ENDIAN + +#endif /* _audio_generic_h */ --- /dev/null +++ rplay/rplayd/audio/audio_gnu.c @@ -0,0 +1,287 @@ +/* $Id: audio_generic.c,v 1.5 1999/03/10 07:58:10 boyns Exp $ */ + +/* + * Copyright (C) 1993-99 Mark R. Boyns + * + * This file is part of rplay. + * + * rplay is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * rplay is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rplay; see the file COPYING. If not, write to the + * Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + */ + + + +#include "rplayd.h" + +/* + * System audio include files: + */ +#include +#include +#include +#ifdef ultrix +#include +#else +#include +#endif +#include + +/* + * External variables: + */ +extern char *rplay_audio_device; +extern int rplay_audio_sample_rate; +extern int rplay_audio_channels; +extern int rplay_audio_precision; +extern int rplay_audio_format; +extern int rplay_audio_port; +extern int optional_sample_rate; +extern int optional_precision; +extern int optional_channels; +extern int optional_format; +extern int optional_port; + +/* + * Internal variables: + */ +static int rplay_audio_fd = -1; + +static RPLAY_AUDIO_TABLE generic_table[] = +{ + {8000, RPLAY_FORMAT_ULAW, 1, 1}, + {0, 0, 0, 0} +}; + +/* + * Initialize the audio device. + * This routine must set the following external variables: + * rplay_audio_sample_rate + * rplay_audio_precision + * rplay_audio_channels + * rplay_audio_format + * rplay_audio_port + * + * and may use the following optional parameters: + * optional_sample_rate + * optional_precision + * optional_channels + * optional_format + * optional_port + * + * optional_* variables with values of zero should be ignored. + * + * Return 0 on success and -1 on error. + */ +int +rplay_audio_init() +{ + if (rplay_audio_fd == -1) + { + rplay_audio_open(); + if (rplay_audio_fd == -1) + { + report(REPORT_ERROR, "rplay_audio_init: cannot open %s\n", + rplay_audio_device); + return -1; + } + } + + rplay_audio_sample_rate = 8000; + rplay_audio_precision = 8; + rplay_audio_channels = 1; + rplay_audio_format = RPLAY_FORMAT_ULAW; + rplay_audio_port = RPLAY_AUDIO_PORT_SPEAKER; + rplay_audio_table = generic_table; + + return 0; +} + +/* + * Open the audio device. + * + * Return 0 on success and -1 on error. + */ +int +rplay_audio_open() +{ + int flags; + + rplay_audio_fd = open(rplay_audio_device, O_WRONLY | O_NDELAY, 0); + if (rplay_audio_fd < 0) + { + return -1; + } + + if (fcntl(rplay_audio_fd, F_SETFD, 1) < 0) + { + report(REPORT_ERROR, + "rplay_audio_open: close-on-exec %d\n", + sys_err_str(errno)); + /* return -1; */ + } + + if (rplay_audio_init() < 0) + { + return -1; + } + + /* + * Make sure the audio device writes are non-blocking. + */ + flags = fcntl(rplay_audio_fd, F_GETFL, 0); + if (flags < 0) + { + return -1; + } + flags |= FNDELAY; + if (fcntl(rplay_audio_fd, F_SETFL, flags) < 0) + { + return -1; + } + + return 0; +} + +/* + * Is the audio device open? + * + * Return 1 for true and 0 for false. + */ +int +rplay_audio_isopen() +{ + return rplay_audio_fd != -1; +} + +/* + * Flush the audio device. + * + * Return 0 on success and -1 on error. + */ +int +rplay_audio_flush() +{ + return 0; +} + +/* + * Write nbytes from buf to the audio device. + * + * Return the number of bytes written on success and -1 on error. + */ +#ifdef __STDC__ +int +rplay_audio_write(char *buf, int nbytes) +#else +int +rplay_audio_write(buf, nbytes) + char *buf; + int nbytes; +#endif +{ + int n, nleft, nwritten; + char *p; + + nleft = nbytes; + nwritten = 0; + + for (p = buf; nleft > 0; nleft -= n, p += n) + { + n = write(rplay_audio_fd, p, nleft); + if (n < 0) + { + if (errno == EWOULDBLOCK) + { + return nwritten; + } + else if (errno != EINTR) + { + return -1; + } + n = 0; + } + else + { + nwritten += n; + } + } + + return nwritten; +} + +/* + * Close the audio device. + * + * Return 0 on success and -1 on error. + */ +int +rplay_audio_close() +{ + if (rplay_audio_fd != -1) + { + close(rplay_audio_fd); + } + + rplay_audio_fd = -1; + + return 0; +} + +/* + * Return the volume of the audio device. + * + * Return 0-255 or -1 on error. + */ +int +rplay_audio_get_volume() +{ +#ifdef FAKE_VOLUME + return rplay_audio_volume; +#else /* not FAKE_VOLUME */ + return -1; +#endif /* not FAKE_VOLUME */ +} + +/* + * Set the volume of the audio device. + * Input should be 0-255. + * + * Return the volume of the audio device 0-255 or -1. + */ +#ifdef __STDC__ +int +rplay_audio_set_volume(int volume) +#else +int +rplay_audio_set_volume(volume) + int volume; +#endif +{ +#ifdef FAKE_VOLUME + if (volume < RPLAY_MIN_VOLUME) + { + volume = RPLAY_MIN_VOLUME; + } + else if (volume > RPLAY_MAX_VOLUME) + { + volume = RPLAY_MAX_VOLUME; + } + rplay_audio_volume = volume; + + return rplay_audio_volume; +#else /* not FAKE_VOLUME */ + return -1; +#endif /* not FAKE_VOLUME */ +} --- rplay.orig/rptp/rptp.c +++ rplay/rptp/rptp.c @@ -532,6 +532,8 @@ printf("help Display help information.\n"); printf("info Display sound information.\n"); printf("list Display various server information.\n"); + printf("monitor Monitor the audio output of rplayd.\n"); + printf(" Requires \"m\" permission in rplay.hosts\n"); printf("open Connect to a server.\n"); printf("pause Pause sounds that are playing.\n"); printf("play Play sounds\n"); @@ -783,7 +785,7 @@ } fwrite(rptp_buf, 1, n, fp); size -= n; - + sprintf(line, "\r%s %d/%d %d%%", filename, total_size - size, total_size, (int)(((float)(total_size-size)/total_size)*100)); @@ -1018,7 +1020,7 @@ char line[80]; int n, size; int sample_rate, precision, channels, sample_size; - + if (!connected()) { return; debian/patches/30_contrib.patch0000644000000000000000000000105411672107544013607 0ustar Author: Thorsten Alteholz Description: void crash if there is nothing to play --- rplay.orig/contrib/mailsound/mailsound.c +++ rplay/contrib/mailsound/mailsound.c @@ -132,8 +132,8 @@ { compare(buffer, address, size); } - - play_sound(av[1], 0); + /* if there is nothing to play, play nothing */ + if (av[1]!=NULL) play_sound(av[1], 0); fclose(fl); exit(0); } @@ -189,9 +189,7 @@ av[ac++] = token; token = strtok(NULL, " \t"); } - subject_re = NULL; - parse_args(ac, av, size); if (subject_re) debian/source/0000755000000000000000000000000011672107113010465 5ustar debian/source/format0000644000000000000000000000001411672107113011673 0ustar 3.0 (quilt) debian/librplay3.docs0000644000000000000000000000004611672106177011751 0ustar NEWS PORTING README README.linux TODO debian/rplay-client.files0000644000000000000000000000017711672106177012632 0ustar usr/bin/rplay usr/bin/rptp usr/bin/rplaydsp usr/share/man/man1/rplay.1 usr/share/man/man1/rplaydsp.1 usr/share/man/man1/rptp.1 debian/compat0000644000000000000000000000000211672106177010374 0ustar 8 debian/librplay3.postinst0000644000000000000000000000004011672106177012676 0ustar #!/bin/sh set -e #DEBHELPER# debian/copyright0000644000000000000000000001154211672106177011134 0ustar This package was debianized by lantz moore . It was downloaded from ftp://rplay.doit.org/pub/rplay-3.3.2.tar.gz Upstream Author: Mark Boyns . Copyright: Copyright (C) 1993-2000 Mark R. Boyns License: This program is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. On a Debian system the complete text of the GNU General Public License v2 can be found in the file `/usr/share/common-licenses/GPL-2' The gsm part of this software has the following copyright: Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, Technische Universitaet Berlin Any use of this software is permitted provided that this notice is not removed and that neither the authors nor the Technische Universitaet Berlin are deemed to have made any representations as to the suitability of this software for any purpose nor are held responsible for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. As a matter of courtesy, the authors request to be informed about uses this software has found, about bugs in this software, and about any improvements that may be of general interest. Berlin, 28.11.1994 Jutta Degener Carsten Bormann Following files have different copyrights, all under GPL-2: ./contrib/xjukebox-0.9/xjukebox.c: Copyright (C) 1993 Raphael Quinet ./contrib/xjukebox-0.9/Makefile: Copyright (C) 1993 Raphael Quinet ./contrib/xjukebox-0.9/widgets.c: Copyright (C) 1993 Raphael Quinet ./contrib/xjukebox-0.9/Imakefile: Copyright (C) 1993 Raphael Quinet ./contrib/xjukebox-0.9/rptpstuff.c: Copyright (C) 1993 Raphael Quinet ./contrib/mailsound/mailsound.c: Copyright (C) 1993 Andrew Scherpbier ./contrib/jukebox-1.3/jukebox.c: Copyright (c) 1993 by Raphael Quinet ./contrib/rplaytool-1.1/getopt.h: Copyright (C) 1989 - 1993 FSF, Inc. ./contrib/rplaytool-1.1/getopt.c: Copyright (C) 1987 - 1994 FSF, Inc. ./contrib/rplaytool-1.1/getopt1.c: Copyright (C) 1987 - 1993 FSF, Inc. ./devrplay/devrplay.c: Copyright (C) 1998, 1999 Manish Singh ./lib/getopt.h: Copyright (C) 1989 - 1993 Free Software Foundation, Inc. ./lib/hash.c: Copyright (C) 1987 - 1992 Free Software Foundation, Inc. ./lib/hash.h: Copyright (C) 1987, 1992 Free Software Foundation, Inc. ./lib/getopt.c: Copyright (C) 1987 - 1994 FSF, Inc. ./lib/getopt1.c: Copyright (C) 1987 - 1993 FSF, Inc. ./lib/ansidecl.h: Copyright 1991, 1992 Free Software Foundation, Inc. ./librplay/async.c: Copyright (C) 1995 Andrew Scherpbier ./rx/rxspencer.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxnode.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxcset.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxcset.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxstr.c: Copyright (C) 1995, 1996 Tom Lord ./rx/inst-rxposix.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxbitset.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxposix.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxsimp.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxgnucomp.c: Copyright (C) 1992 - 1995 FSF, Inc. ./rx/rxunfa.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxstr.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxnfa.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxanal.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxnode.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxbasic.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxgnucomp.h: Copyright (C) 1992 - 1995 Free Software Foundation, Inc. ./rx/rxcontext.h: Copyright (C) 1995, 1996 Tom Lord ./rx/hashrexp.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxposix.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxsuper.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rx.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rgx.c: Copyright (C) 1995 Free Software Foundation, Inc. ./rx/rx.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxhash.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxproto.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxsimp.h: Copyright (C) 1995, 1996 Tom Lord ./rx/_rx.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxspencer.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxsuper.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxanal.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxdbug.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxunfa.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxhash.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxbasic.c: Copyright (C) 1995, 1996 Tom Lord ./rx/rxall.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxnfa.h: Copyright (C) 1995, 1996 Tom Lord ./rx/rxbitset.c: Copyright (C) 1995, 1996 Tom Lord FSF, Inc. = Free Software Foundation, Inc. debian/README.debian0000644000000000000000000000032011672106177011272 0ustar rplay for DEBIAN ---------------------- A patch, supplied by Mark Boyns , correcting rplay broadcasting has been applied. lantz moore , Tue, 16 Jun 1998 19:11:13 -0700 debian/README.source0000644000000000000000000000030011672106177011346 0ustar This package uses dpatch for upstream source code patch management. Please read /usr/share/doc/dpatch/README.source for more information how to apply, unapply, add, modify or remove patches. debian/rplay-server.files0000644000000000000000000000041611672106177012656 0ustar usr/sbin/rplayd usr/share/man/man5/rplay.conf.5 usr/share/man/man5/rplay.helpers.5 usr/share/man/man5/rplay.hosts.5 usr/share/man/man5/rplay.servers.5 usr/share/man/man8/rplayd.8 etc/rplay/rplay.conf etc/rplay/rplay.servers etc/rplay/rplay.helpers etc/rplay/rplay.hosts debian/watch0000644000000000000000000000007111672106177010225 0ustar version=3 http://rplay.doit.org/dist/rplay-(.*)\.tar\.gz debian/control0000644000000000000000000001235511672134134010601 0ustar Source: rplay Section: sound Priority: optional Maintainer: Thorsten Alteholz Standards-Version: 3.9.2 Build-Depends: libgsm1-dev, libreadline-dev, debhelper (>= 8.0.0), dpkg (>= 1.15.4) | install-info Homepage: http://rplay.doit.org/ DM-Upload-Allowed: yes Package: rplay-client Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info, devrplay3 Breaks: rplay (<< 3.3.2-9) Replaces: rplay (<< 3.3.2-9) Description: rplay network audio system - basic clients This package contains the basic rplay clients (rplay, rptp). The clients are used to play sounds on the local host or remote systems. . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm. Package: devrplay3 Architecture: any Depends: ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info, ${misc:Depends} Breaks: rplay (<< 3.3.2-9) Replaces: rplay (<< 3.3.2-9) Description: rplay network audio system - basic library This package contains the basic rplay library (devrplay). . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm. Package: rplay-server Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: rplay (<< 3.3.2-9) Replaces: rplay (<< 3.3.2-9) Suggests: mpg123, vorbis-tools Description: rplay network audio system - server This package contains the rplay server. The rplay server allows sounds to be played on the system. . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm. Package: librplay3 Architecture: any Depends: ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info, ${misc:Depends} Breaks: rplay (<< 3.3.2-9) Replaces: rplay (<< 3.3.2-9) Section: libs Description: rplay network audio system - shared libraries Contains shared libraries for the rplay network audio system. . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm. Package: librplay3-dev Architecture: any Breaks: rplay (<< 3.3.2-9) Replaces: rplay (<< 3.3.2-9) Depends: libc6-dev | libc-dev, librplay3 (= ${binary:Version}), dpkg (>= 1.15.4) | install-info, ${misc:Depends} Section: libdevel Description: rplay network audio system - development libraries Contains header files and development libraries for the rplay network audio system. . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm. Package: librplay-perl Architecture: all Breaks: rplay (<< 3.3.2-9) Conflicts: rplay-perl Replaces: rplay (<< 3.3.2-9) Depends: ${perl:Depends}, ${misc:Depends}, libperl4-corelibs-perl | perl (<< 5.12.3-7) Section: perl Description: rplay network audio system - perl modules Contains perl modules which aid in creating rplay-aware perl scripts. . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm. Package: rplay-contrib Architecture: any Depends: ${shlibs:Depends}, librplay-perl, ${perl:Depends}, ${misc:Depends} Breaks: rplay (<< 3.3.2-9) Replaces: rplay (<< 3.3.2-9) Description: rplay network audio system - contributed binaries Contains mailsounds and Mailsounds each of which can be used to play sounds on a system when new mail arrives. . RPlay allows sounds to be played to and from local and remote Unix systems. Sounds can be played with or without sending audio data over the network using either UDP or TCP/IP. RPlay audio servers can be configured to share sound files with each other. . Support for RPlay is included in several applications. These include xpilot, xlockmore, xboing, fvwm, and ctwm.