ports/137813: [PATCH] audio/voipong: update to 2.0

Sylvio Cesar scjamorim at bsd.com.br
Sat Aug 15 22:40:39 UTC 2009


>Number:         137813
>Category:       ports
>Synopsis:       [PATCH] audio/voipong: update to 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 15 22:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Update to 2.0

You can see log in mine tinderbox:
http://www.scjamorim.org/Home/voipong-2.0.log

Added file(s):
- pkg-plist
- files/patch-Makefile.bsd

Port maintainer (siseci at EnderUNIX.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- voipong-2.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/voipong/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	7 Apr 2009 15:45:03 -0000	1.6
+++ Makefile	15 Aug 2009 22:33:53 -0000
@@ -6,31 +6,30 @@
 #
 
 PORTNAME=	voipong
-PORTVERSION=	1.1
+PORTVERSION=	2.0
 CATEGORIES=	audio
 MASTER_SITES=	http://www.enderunix.org/voipong/
 
 MAINTAINER=	siseci at EnderUNIX.org
 COMMENT=	Detect Voice Over IP calls and dump them to separate wave files
 
-GNU_CONFIGURE=	yes
-
+USE_LDCONFIG=	yes
 SUB_FILES=	pkg-message
-PLIST_FILES=	bin/voipong etc/voipong.conf-dist
-PORTDOCS=	AUTHORS INSTALL README THANKS
+PORTDOCS=	ALGORITHMS AUTHORS ChangeLog COPYING INSTALL KNOWN_BUGS \
+		LICENSE  NEWS README THANKS TODO
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^CFLAGS=""||' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e \
-		's|$${prefix}/share/voipong|${DOCSDIR}|; \
-		 s|COPYING||; s|LICENSE||' \
-		${WRKSRC}/Makefile.in
-.ifdef NOPORTDOCS
-	${REINPLACE_CMD} '/install-data-am:/s/install-${PORTNAME}dataDATA//' \
-		${WRKSRC}/Makefile.in
-.endif
-
+	@${MV} ${WRKSRC}/Makefile.bsd ${WRKSRC}/Makefile
 post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${DOCSDIR}/users-manual
+	${INSTALL_DATA} ${WRKSRC}/docs/users-manual/*.html ${DOCSDIR}/users-manual/
+	${INSTALL_DATA} ${WRKSRC}/docs/users-manual/*.css ${DOCSDIR}/users-manual/
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/voipong/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo	22 Nov 2005 15:16:12 -0000	1.2
+++ distinfo	15 Aug 2009 22:33:53 -0000
@@ -1,3 +1,3 @@
-MD5 (voipong-1.1.tar.gz) = e5b012434e5aeb8188bad1579f7e9f47
-SHA256 (voipong-1.1.tar.gz) = 08973834bdda36a7b71ed0da9bd682858f3e91cbf76cfb5cbd3fea0719b62ae3
-SIZE (voipong-1.1.tar.gz) = 157070
+MD5 (voipong-2.0.tar.gz) = 4b3e16c5d8399bba86b3caf1887550ff
+SHA256 (voipong-2.0.tar.gz) = d22aac1bf7adf2fc9e0cebbc1292b763d16c8d4a0e7ebbd6d4d460201986e9a3
+SIZE (voipong-2.0.tar.gz) = 76426
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	15 Aug 2009 22:33:53 -0000
@@ -0,0 +1,26 @@
+bin/voipong
+bin/voipctl
+etc/voipong.conf.example
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/book.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/compilation.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/config-netfile.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/config.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/docbook.css
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/dsom.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/examples-msnetmeeting.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/features.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/index.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/installation.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/installports.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/intro.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/thanks.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/usage-livecd.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/usage-nonpriv.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/usage-voipctl.html
+%%PORTDOCS%%%%DOCSDIR%%/users-manual/usage.html
+lib/voipong/modvocoder_pcma.so
+lib/voipong/modvocoder_pcmu.so
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/users-manual
+ at dirrm lib/voipong
Index: files/patch-Makefile.bsd
===================================================================
RCS file: files/patch-Makefile.bsd
diff -N files/patch-Makefile.bsd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.bsd	15 Aug 2009 22:33:54 -0000
@@ -0,0 +1,24 @@
+--- Makefile.bsd.orig	2009-08-15 01:16:17.000000000 -0300
++++ Makefile.bsd	2009-08-15 01:17:18.000000000 -0300
+@@ -54,16 +54,15 @@
+ 	$(CC) -g -o voipctl voipctl.o voipongglobals.o conf.o miscutil.o $(CFLAGS) 
+ 
+ install:
+-	mkdir -p /usr/local/etc/voipong
+-	mkdir -p /usr/local/etc/voipong/modules
++	mkdir -p /usr/local/lib/voipong
+ 	cp voipong /usr/local/bin/
+ 	cp voipctl /usr/local/bin/
+-	cp etc/voipong.conf /usr/local/etc/voipong/
++	cp etc/voipong.conf /usr/local/etc/voipong.conf.example
+ 	chmod 750 /usr/local/bin/voipong
+ 	chmod 750 /usr/local/bin/voipctl
+-	chmod 600 /usr/local/etc/voipong/voipong.conf
+-	cp modvocoder_*.so /usr/local/etc/voipong/modules/
+-	chmod 500 /usr/local/etc/voipong/modules/*
++	chmod 600 /usr/local/etc/voipong.conf.example
++	cp modvocoder_*.so /usr/local/lib/voipong/
++	chmod 500 /usr/local/lib/voipong/*
+ 
+ cls:
+ 	$(CLEARX)
Index: files/pkg-message.in
===================================================================
RCS file: /home/ncvs/ports/audio/voipong/files/pkg-message.in,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-message.in
--- files/pkg-message.in	24 May 2005 00:53:18 -0000	1.1
+++ files/pkg-message.in	15 Aug 2009 22:33:54 -0000
@@ -1,6 +1,6 @@
 ---------------------------------------------------------------------
 You should now copy
-  %%PREFIX%%/etc/voipong.conf-dist
+  %%PREFIX%%/etc/voipong.conf.example
 to
   %%PREFIX%%/etc/voipong.conf
 and edit it as appropriate.
--- voipong-2.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list