ports/76483: Update: audio/listener 0.6 -> 0.8
David Thiel
lx at redundancy.redundancy.org
Wed Jan 19 23:00:44 UTC 2005
>Number: 76483
>Category: ports
>Synopsis: Update: audio/listener 0.6 -> 0.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 19 23:00:43 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: David Thiel
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 9 21:41:16 PST 2005 root at redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386
>Description:
Updating the listener ambient sound monitor from 0.6 to 0.8. From
the ChangeLog:
Version 0.8: added external filter supported. included is a low- and
highpass filter and a coding example. also the maximum length of a
sample-file can be set
Version 0.7: one can now let listener treat a stereo soundcard as 2
soundcards using an included softwaresplitter (no kernel patch required)
enabling you to monitor 2 rooms with only 1 soundcard
>How-To-Repeat:
>Fix:
diff -ruN listener.old/Makefile listener/Makefile
--- listener.old/Makefile Wed Jan 19 09:16:46 2005
+++ listener/Makefile Wed Jan 19 09:29:08 2005
@@ -6,8 +6,8 @@
#
PORTNAME= listener
-PORTVERSION= 0.6
-CATEGORIES= audio
+PORTVERSION= 0.8
+CATEGORIES= audio security
MASTER_SITES= http://www.vanheusden.com/listener/
EXTRACT_SUFX= .tgz
@@ -16,7 +16,7 @@
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile
-DOCS= INSTALL
+DOCS= manual.html
post-install:
diff -ruN listener.old/distinfo listener/distinfo
--- listener.old/distinfo Wed Jan 19 09:16:46 2005
+++ listener/distinfo Wed Jan 19 09:17:14 2005
@@ -1,2 +1,2 @@
-MD5 (listener-0.6.tgz) = 6c71df6f7b32eeec9a4db487179e539d
-SIZE (listener-0.6.tgz) = 8402
+MD5 (listener-0.8.tgz) = bb99dc9d440bd6a1c08f3470f5163bda
+SIZE (listener-0.8.tgz) = 15272
diff -ruN listener.old/files/patch-Makefile listener/files/patch-Makefile
--- listener.old/files/patch-Makefile Wed Jan 19 09:16:46 2005
+++ listener/files/patch-Makefile Wed Jan 19 09:26:42 2005
@@ -1,7 +1,7 @@
---- /tmp/Makefile Wed Nov 24 15:33:50 2004
-+++ Makefile Wed Nov 24 16:11:51 2004
+--- Makefile.old Wed Jan 19 09:19:02 2005
++++ Makefile Wed Jan 19 09:21:43 2005
@@ -1,8 +1,8 @@
- VERSION=0.6
+ VERSION=0.8
-INSTALL_PREFIX=/usr/local
+INSTALL_PREFIX=${PREFIX}
@@ -10,22 +10,23 @@
+CFLAGS+=-L${LOCALBASE}/lib -I${LOCALBASE}/include -Wall -DVERSION=\"$(VERSION)\"
OBJSsl=sl.o snd_dev.o error.o utils.o
- OBJSli=listener.o snd_dev.o error.o utils.o
-@@ -10,17 +10,17 @@
- all: setlistener listener
+ OBJSli=listener.o snd_dev.o error.o utils.o lib.o
+@@ -11,10 +11,10 @@
+ all: setlistener listener listenersoundpipe
setlistener: $(OBJSsl)
-- $(CC) -g -Wall -W $(OBJSsl) -lncurses -o setlistener
+- $(CC) -g -Wall -W $(OBJSsl) -ldl -lncurses -o setlistener
+ $(CC) $(CFLAGS) -g -Wall -W $(OBJSsl) -lncurses -o setlistener
- strip setlistener
listener: $(OBJSli)
-- $(CC) -g -Wall -W $(OBJSli) -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
+- $(CC) -g -Wall -W $(OBJSli) -ldl -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
+ $(CC) $(CFLAGS) -g -Wall -W $(OBJSli) -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
- strip listener
- install: setlistener listener
+ listenersoundpipe: $(OBJSsp)
+ $(CC) -g -Wall -W $(OBJSsp) -o listenersoundpipe
+@@ -23,7 +23,7 @@
cp setlistener $(INSTALL_PREFIX)/bin
+ cp listenersoundpipe $(INSTALL_PREFIX)/bin
cp listener $(INSTALL_PREFIX)/bin
- cp listener.conf $(INSTALL_PREFIX)/etc/
+ cp listener.conf $(INSTALL_PREFIX)/etc/listener.conf.sample
diff -ruN listener.old/pkg-plist listener/pkg-plist
--- listener.old/pkg-plist Wed Jan 19 09:16:46 2005
+++ listener/pkg-plist Wed Jan 19 09:29:00 2005
@@ -1,5 +1,6 @@
bin/setlistener
bin/listener
+bin/listenersoundpipe
etc/listener.conf.sample
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/manual.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list