From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 11 22:30:37 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B64FD16A4CE for ; Thu, 11 Nov 2004 22:30:37 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86B4243D45 for ; Thu, 11 Nov 2004 22:30:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iABMUb0a036085 for ; Thu, 11 Nov 2004 22:30:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iABMUbmn036081; Thu, 11 Nov 2004 22:30:37 GMT (envelope-from gnats) Resent-Date: Thu, 11 Nov 2004 22:30:37 GMT Resent-Message-Id: <200411112230.iABMUbmn036081@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Frank W. Josellis" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4348A16A4CE; Thu, 11 Nov 2004 22:25:41 +0000 (GMT) Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7BBC43D1D; Thu, 11 Nov 2004 22:25:40 +0000 (GMT) (envelope-from frank@dynamical-systems.org) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.43) id 1CSNNr-0003CH-GP; Thu, 11 Nov 2004 23:25:39 +0100 Received: from p50878307.dip0.t-ipconnect.de ([80.135.131.7] helo=achilles.tractrix.org)(TLSv1:AES256-SHA:256) (Exim 4.43 #2) id 1CSNNq-0001jQ-Ts; Thu, 11 Nov 2004 23:25:39 +0100 Received: from achilles.tractrix.org (localhost.tractrix.org [127.0.0.1]) by achilles.tractrix.org (8.13.1/8.13.1) with ESMTP id iABMPagQ000473; Thu, 11 Nov 2004 23:25:36 +0100 (CET) (envelope-from frank@dynamical-systems.org) Received: (from root@localhost) by achilles.tractrix.org (8.13.1/8.13.1/Submit) id iABMPUqS000472; Thu, 11 Nov 2004 23:25:30 +0100 (CET) (envelope-from frank@dynamical-systems.org) Message-Id: <200411112225.iABMPUqS000472@achilles.tractrix.org> Date: Thu, 11 Nov 2004 23:25:30 +0100 (CET) From: "Frank W. Josellis" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Yen-Ming Lee Subject: ports/73840: Update port: net/siproxd to 0.5.9 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 22:30:37 -0000 >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 +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: