ports/73840: Update port: net/siproxd to 0.5.9

Frank W. Josellis frank at dynamical-systems.org
Thu Nov 11 22:30:37 UTC 2004


>Number:         73840
>Category:       ports
>Synopsis:       Update port: net/siproxd to 0.5.9
>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:   Thu Nov 11 22:30:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Frank W. Josellis
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD achilles.tractrix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Oct 3 22:22:17 CEST 2004 root@:/usr/obj/usr/src/sys/ACHILLES i386

>Description:
	- Fixing gnugetopt dependency for FreeBSD 5.x according to
	  PR ports/73795 (Thanks for the patch!)
	- Updating to version 0.5.9 

	Removed files:
	files/patch-src_siproxd.c
	files/patch-src_utils.c
	pkg-plist
	
>How-To-Repeat:

>Fix:

--- siproxd-0.5.9.patch begins here ---
diff -ruN siproxd.bak/Makefile siproxd/Makefile
--- siproxd.bak/Makefile	Thu Nov 11 17:52:59 2004
+++ siproxd/Makefile	Thu Nov 11 21:59:46 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	siproxd
-PORTVERSION=	0.5.8
+PORTVERSION=	0.5.9
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	siproxd
@@ -16,25 +16,34 @@
 
 LIB_DEPENDS=	osip2.2:${PORTSDIR}/net/libosip2
 
+USE_REINPLACE=	yes
 USE_GETOPT_LONG=yes
 USE_RC_SUBR=	yes
-HAS_CONFIGURE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	# empty
 
-PORTDOCS=	AUTHORS ChangeLog README RELNOTES \
-		doc/FAQ doc/KNOWN_BUGS doc/RFC3261_compliance.txt \
-		doc/sample_cfg_budgetone.txt doc/sample_cfg_x-lite.txt
+PORTDOCS1=	AUTHORS ChangeLog README RELNOTES
+PORTDOCS2=	FAQ KNOWN_BUGS RFC3261_compliance.txt \
+		sample_cfg_budgetone.txt sample_cfg_x-lite.txt
+PORTDOCS=	${PORTDOCS1} ${PORTDOCS2}
+PLIST_FILES=	etc/rc.d/siproxd.sh etc/siproxd.conf.example \
+		etc/siproxd_passwd.cfg sbin/siproxd
 
 .include <bsd.port.pre.mk>
 
+post-patch:
 .if ${OSVERSION} >= 500041
-LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+	@${REINPLACE_CMD} -e 's,-lgnugetopt,,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 .endif
 
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
+.for i in ${PORTDOCS1}
 	${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.for i in ${PORTDOCS2}
+	${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
 .endfor
 .endif
 	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff -ruN siproxd.bak/distinfo siproxd/distinfo
--- siproxd.bak/distinfo	Thu Nov 11 17:52:59 2004
+++ siproxd/distinfo	Thu Nov 11 22:00:35 2004
@@ -1,2 +1,2 @@
-MD5 (siproxd-0.5.8.tar.gz) = b987151719fced722b6df7d16c06f58d
-SIZE (siproxd-0.5.8.tar.gz) = 193802
+MD5 (siproxd-0.5.9.tar.gz) = 7428bc04eb8d60a5741d68190b06f10b
+SIZE (siproxd-0.5.9.tar.gz) = 198530
diff -ruN siproxd.bak/files/patch-src_siproxd.c siproxd/files/patch-src_siproxd.c
--- siproxd.bak/files/patch-src_siproxd.c	Thu Nov 11 17:52:59 2004
+++ siproxd/files/patch-src_siproxd.c	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- src/siproxd.c.orig	Thu Aug 26 19:32:08 2004
-+++ src/siproxd.c	Thu Oct 14 07:18:15 2004
-@@ -179,6 +179,7 @@
- /*
-  * Init stuff
-  */
-+   INFO(PACKAGE"-"VERSION"-"BUILDSTR" started");
- 
-    /* read the config file */
-    if (read_config(configfile, config_search) == STS_FAILURE) exit(1);
-@@ -245,7 +246,6 @@
-    /* initialize the registration facility */
-    register_init();
- 
--   INFO(PACKAGE"-"VERSION"-"BUILDSTR" started");
- /*
-  * silence the log - if so required...
-  */
diff -ruN siproxd.bak/files/patch-src_utils.c siproxd/files/patch-src_utils.c
--- siproxd.bak/files/patch-src_utils.c	Thu Nov 11 17:52:59 2004
+++ siproxd/files/patch-src_utils.c	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- src/utils.c.orig	Sun Aug 22 21:04:37 2004
-+++ src/utils.c	Thu Oct 14 07:18:15 2004
-@@ -247,12 +247,12 @@
-           * as it loads some dynamic libraries. Once chrootet
-           * these libraries will *not* be found and gethostbyname()
-           * calls will simply fail (return NULL pointer and h_errno=0).
-+          * Also (at least for FreeBSD) syslog() needs to be called
-+          * before chroot()ing - this is done in main() by an INFO().
-           * Took me a while to figure THIS one out
-           */
-          struct in_addr dummy;
--         DEBUGC(DBCLASS_DNS, "Initializing DNS, the following DNS "
--                             "failure is normal, don't worry");
--         get_ip_by_host("foobar", &dummy);
-+         get_ip_by_host("localhost", &dummy);
-          DEBUGC(DBCLASS_CONFIG,"chrooting to %s",
-                 configuration.chrootjail);
-          sts = chroot(configuration.chrootjail);
diff -ruN siproxd.bak/pkg-plist siproxd/pkg-plist
--- siproxd.bak/pkg-plist	Thu Nov 11 17:52:59 2004
+++ siproxd/pkg-plist	Thu Jan  1 01:00:00 1970
@@ -1,9 +0,0 @@
-etc/rc.d/siproxd.sh
-etc/siproxd.conf.example
-etc/siproxd_passwd.cfg
-sbin/siproxd
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/KNOWN_BUGS
-%%PORTDOCS%%%%DOCSDIR%%/RFC3261_compliance.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample_cfg_budgetone.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample_cfg_x-lite.txt
--- siproxd-0.5.9.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list