Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 15:03:55 +1000 (EST)
From:      John Saunders <john@nlc.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55335: [patch] Update ddclient to latest 3.6.3 version
Message-ID:  <200308070503.h7753tgx017924@sentinel.pakprotector.com>
Resent-Message-ID: <200308070540.h775eFCK008907@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308070503.h7753tgx017924>