From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 6 22:40:16 2003 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 8CACD37B401 for ; Wed, 6 Aug 2003 22:40:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D4543F93 for ; Wed, 6 Aug 2003 22:40:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h775eFUp008908 for ; Wed, 6 Aug 2003 22:40:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h775eFCK008907; Wed, 6 Aug 2003 22:40:15 -0700 (PDT) Resent-Date: Wed, 6 Aug 2003 22:40:15 -0700 (PDT) Resent-Message-Id: <200308070540.h775eFCK008907@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, John Saunders Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4509D37B404 for ; Wed, 6 Aug 2003 22:31:53 -0700 (PDT) Received: from pakprotector.homeunix.net (c211-29-165-141.carlnfd2.nsw.optusnet.com.au [211.29.165.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 797F943F3F for ; Wed, 6 Aug 2003 22:31:51 -0700 (PDT) (envelope-from john@nlc.net.au) Received: from sentinel.pakprotector.com (localhost [127.0.0.1]) h7753txP017925 for ; Thu, 7 Aug 2003 15:03:56 +1000 (EST) (envelope-from john@nlc.net.au) Received: (from john@localhost) by sentinel.pakprotector.com (8.12.9/8.12.9/Submit) id h7753tgx017924; Thu, 7 Aug 2003 15:03:55 +1000 (EST) Message-Id: <200308070503.h7753tgx017924@sentinel.pakprotector.com> Date: Thu, 7 Aug 2003 15:03:55 +1000 (EST) From: John Saunders To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/55335: [patch] Update ddclient to latest 3.6.3 version X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Saunders List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 05:40:16 -0000 >Number: 55335 >Category: ports >Synopsis: [patch] Update ddclient to latest 3.6.3 version >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 06 22:40:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: John Saunders >Release: FreeBSD 5.1-CURRENT i386 >Organization: Northlink Communications Pty Ltd >Environment: System: FreeBSD sentinel.pakprotector.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Jul 30 16:09:41 EST 2003 root@sentinel.pakprotector.com:/usr/obj/usr/src/sys/SENTINEL i386 >Description: Update ddclient to 3.6.3, also fix problem with sample scripts not including /usr/local/sbin in PATH and hence not being able to run ddclient program. >How-To-Repeat: >Fix: diff -urN ddclient.orig/Makefile ddclient/Makefile --- ddclient.orig/Makefile Fri Mar 7 17:07:39 2003 +++ ddclient/Makefile Thu Aug 7 14:30:28 2003 @@ -6,9 +6,9 @@ # PORTNAME= ddclient -PORTVERSION= 3.6.2 +PORTVERSION= 3.6.3 CATEGORIES= net -MASTER_SITES= http://burry.ca:4141/ddclient/ +MASTER_SITES= http://members.rogers.com/ddclient/pub/ MAINTAINER= dirk@FreeBSD.org COMMENT= Update dynamic DNS entries @@ -22,9 +22,10 @@ @${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample @${MKDIR} ${PREFIX}/share/ddclient .for i in COPYING COPYRIGHT README README.cisco sample-etc_cron.d_ddclient \ - sample-etc_dhclient-enter-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \ + sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \ sample-etc_ppp_ip-up.local - @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/ddclient + @/usr/bin/perl -pe 's|%%PREFIX%%|${PREFIX}|g' < ${WRKSRC}/$i > ${WRKDIR}/$i + @${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/ddclient .endfor @/usr/bin/perl -pe 's|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/ddclient.sh.sample > ${WRKDIR}/ddclient.sh.sample @${INSTALL_SCRIPT} ${WRKDIR}/ddclient.sh.sample ${PREFIX}/etc/rc.d diff -urN ddclient.orig/distinfo ddclient/distinfo --- ddclient.orig/distinfo Wed Jan 23 19:54:17 2002 +++ ddclient/distinfo Thu Aug 7 14:22:10 2003 @@ -1 +1 @@ -MD5 (ddclient-3.6.2.tar.gz) = 40741dbf315889b1bd1b08e36ca665c0 +MD5 (ddclient-3.6.3.tar.gz) = dfa5ff6967cb854de804d4e7b9633fdc diff -urN ddclient.orig/files/patch-ab ddclient/files/patch-ab --- ddclient.orig/files/patch-ab Thu Jan 1 10:00:00 1970 +++ ddclient/files/patch-ab Thu Aug 7 14:40:47 2003 @@ -0,0 +1,50 @@ +--- sample-etc_cron.d_ddclient.orig Sun Jun 15 03:39:16 2003 ++++ sample-etc_cron.d_ddclient Thu Aug 7 14:31:15 2003 +@@ -10,8 +10,8 @@ + ###################################################################### + ## force an update twice a month (only if you are not using daemon-mode) + ## +-## 30 23 1,15 * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet -force ++## 30 23 1,15 * * root %%PREFIX%%/sbin/ddclient -daemon=0 -syslog -quiet -force + ###################################################################### + ## retry failed updates every hour (only if you are not using daemon-mode) + ## +-##0 * * * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet retry ++##0 * * * * root %%PREFIX%%/sbin/ddclient -daemon=0 -syslog -quiet retry +--- sample-etc_dhclient-exit-hooks.orig Sun Jun 15 03:39:16 2003 ++++ sample-etc_dhclient-exit-hooks Thu Aug 7 14:38:38 2003 +@@ -2,10 +2,10 @@ + ###################################################################### + ## $Header: /home/paul/src/ddclient/RCS/sample-etc_dhclient-exit-hooks,v 1.1 2002/11/03 20:20:16 root Exp $ + ###################################################################### +-# The /etc/dhclient-enter-hooks script is run by the ISC DHCP client's standard ++# The /etc/dhclient-exit-hooks script is run by the ISC DHCP client's standard + # update script whenever dhclient obtains or renews an address. + +-PATH=/usr/sbin:${PATH} ++PATH=%%PREFIX%%/sbin:${PATH} + case "$new_ip_address" in + 10.*) ;; + 172.1[6-9].* | 172.2[0-9].* | 172.3[0-1].*) ;; +--- sample-etc_dhcpc_dhcpcd-eth0.exe.orig Sun Jun 15 03:39:16 2003 ++++ sample-etc_dhcpc_dhcpcd-eth0.exe Thu Aug 7 14:33:00 2003 +@@ -2,7 +2,7 @@ + ###################################################################### + ## $Header: /home/paul/src/ddclient/RCS/sample-etc_dhcpc_dhcpcd-eth0.exe,v 3.6 2002/11/03 20:20:16 root Exp $ + ###################################################################### +-PATH=/usr/sbin:${PATH} ++PATH=%%PREFIX%%/sbin:${PATH} + + ## update the DNS server unless the IP address is a private address + ## that may be used as a internal LAN address. This may be true if +--- sample-etc_ppp_ip-up.local.orig Sun Jun 15 03:39:16 2003 ++++ sample-etc_ppp_ip-up.local Thu Aug 7 14:33:32 2003 +@@ -16,7 +16,7 @@ + ## in the environment as either PPP_LOCAL or IPLOCAL. + ## + ###################################################################### +-PATH=/usr/sbin:${PATH} ++PATH=%%PREFIX%%/sbin:${PATH} + IP= + IP=${IP:-$PPP_LOCAL} + IP=${IP:-$IPLOCAL} diff -urN ddclient.orig/pkg-descr ddclient/pkg-descr --- ddclient.orig/pkg-descr Mon Aug 27 02:07:01 2001 +++ ddclient/pkg-descr Thu Aug 7 14:43:29 2003 @@ -1,4 +1,4 @@ ddclient is a Perl client used to update dynamic DNS entries for accounts on many dynamic DNS services. -WWW: http://burry.ca:4141/ddclient/ +WWW: http://members.rogers.com/ddclient/pub/ diff -urN ddclient.orig/pkg-plist ddclient/pkg-plist --- ddclient.orig/pkg-plist Mon Aug 27 02:07:01 2001 +++ ddclient/pkg-plist Thu Aug 7 14:42:20 2003 @@ -6,7 +6,7 @@ share/ddclient/README share/ddclient/README.cisco share/ddclient/sample-etc_cron.d_ddclient -share/ddclient/sample-etc_dhclient-enter-hooks +share/ddclient/sample-etc_dhclient-exit-hooks share/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe share/ddclient/sample-etc_ppp_ip-up.local @dirrm share/ddclient >Release-Note: >Audit-Trail: >Unformatted: