Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 19:27:44 -0400 (EDT)
From:      cjm2@altavista.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22280: Upgrade ddup port to version 3.0
Message-ID:  <200010242327.e9ONRiA46111@cartman.weeble.dyndns.org>

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

>Number:         22280
>Category:       ports
>Synopsis:       Upgrade ddup port to latest version (prev version obsolete)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 24 16:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Christopher J. Michaels
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
none
>Environment:

	FreeBSD 4.1.1-STABLE i386

>Description:

	The ddup program has been upgraded to version 3.0.  This pr updates
	the port to match the latest version.

	This is a required update for the ddup port as the old version will
	be obsolete in the near future.

>How-To-Repeat:

	See diff below.
	* files/patch-ad has been deleted.

>Fix:

diff -ruN ddup.orig/Makefile ddup/Makefile
--- ddup.orig/Makefile	Thu Oct 12 18:53:47 2000
+++ ddup/Makefile	Tue Oct 24 19:11:55 2000
@@ -6,23 +6,23 @@
 #
 
 PORTNAME=	ddup
-PORTVERSION=	2.2
+PORTVERSION=	3.0
 CATEGORIES=	net
-MASTER_SITES=	ftp://ddup.sourceforge.net/pub/ddup/
-DISTNAME=	ddup-2.2Dm
+MASTER_SITES=	ftp://ftp.ddup.org/pub/ddup/
+DISTFILES=	ddup-3.0-unix.tar.gz
 
 MAINTAINER=	cjm2@altavista.net
 
 MAN1=		ddup.1
 MANCOMPRESSED=	yes
 
-WRKSRC=		${WRKDIR}/ddup-2.2Dm
+#WRKSRC=		${WRKDIR}/ddup-2.2Dm
 
 # Uncomment this if you want to enable debugging.
 #DEBUG=		-g
 
 pre-build:
-	${ECHO} "char *file_name = \"${PREFIX}/etc/ddup.conf\";" > ${WRKSRC}/options.h
+	${ECHO} "#define file_name \"${PREFIX}/etc/ddup.conf\"" > ${WRKSRC}/options.h
 
 do-build:
 	cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c ddup.c
@@ -36,10 +36,10 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ddup ${PREFIX}/sbin
-	${INSTALL_SCRIPT} ${WRKSRC}/testip ${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${WRKSRC}/ddupcron.sh ${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/ddup.1.gz ${PREFIX}/man/man1
 	${MKDIR} ${PREFIX}/share/doc/ddup
-	${INSTALL_MAN} ${WRKSRC}/INSTALL-C ${PREFIX}/share/doc/ddup
+	${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/ddup
 	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/ddup
 	${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/ddup
 
diff -ruN ddup.orig/distinfo ddup/distinfo
--- ddup.orig/distinfo	Sun Feb 27 02:23:34 2000
+++ ddup/distinfo	Tue Oct 24 19:03:30 2000
@@ -1 +1 @@
-MD5 (ddup-2.2Dm.tar.gz) = 8c4a4bcabca77da7e1ceda12f57a2108
+MD5 (ddup-3.0-unix.tar.gz) = 6ca3f43ed54a1da2a151387e08171d09
diff -ruN ddup.orig/files/patch-ad ddup/files/patch-ad
--- ddup.orig/files/patch-ad	Tue Feb 22 21:52:34 2000
+++ ddup/files/patch-ad	Wed Dec 31 19:00:00 1969
@@ -1,16 +0,0 @@
---- testip.orig	Sat Feb 19 13:31:53 2000
-+++ testip	Sat Feb 19 13:33:40 2000
-@@ -5,7 +5,7 @@
- HOST=$1
- # Change IFACE to your network interface name
- IFACE="tun0"
--IFCHECK=$(/sbin/ifconfig|grep -1 $IFACE|cut -s -d ' ' -f12|grep addr|cut -d ':' -f2)
-+IFCHECK=$(/sbin/ifconfig -a|grep -1 $IFACE|cut -s -d ' ' -f12|grep addr|cut -d ':' -f2)
- # This line uses the 'host' command to check DNS you can comment this out
- #if you use the nslookup one
- DNSCHECK=$(host $HOST|cut -d ' ' -f4)
-@@ -21,4 +21,3 @@
- 	#for options
- 	/usr/local/sbin/ddup --host $HOST --wildcard
- fi
--	
diff -ruN ddup.orig/pkg-comment ddup/pkg-comment
--- ddup.orig/pkg-comment	Thu Feb 10 18:15:55 2000
+++ ddup/pkg-comment	Tue Oct 24 18:47:35 2000
@@ -1 +1 @@
-A DynDNS.org client for UNIX
+A DynDNS.org client for UNIX (Now support NIC v2.0)
diff -ruN ddup.orig/pkg-descr ddup/pkg-descr
--- ddup.orig/pkg-descr	Tue Feb 22 21:52:35 2000
+++ ddup/pkg-descr	Tue Oct 24 19:11:39 2000
@@ -1,9 +1,18 @@
-DD-UP in C by Thomas Gandy (tegandy@enid.com)
----------------------------------------------------------
+DD-UP is a program that is used to update a host provided by the 
+Free DynDNS service of dyndns.org.
 
-DD-UP is a program that is used to update a host
-provided by the Free DynDNS service of dyndns.org.
+This version supports:
+ - Dynamic Hostnames
+ - Static Hostnames
+ - DynDNS.Org NIC v2.0
 
-WWW: http://ddup.sourceforce.net/
+Features in this version include:
+ - Automatic IP Detection
+ - Manual IP Specification
+ - Wildcard hosts
+ - Backup MX hosts
+ - Operation through a proxy server
+
+WWW: http://www.ddup.org/
 
 EMAIL: cjm2@altavista.net
diff -ruN ddup.orig/pkg-message ddup/pkg-message
--- ddup.orig/pkg-message	Tue Feb 22 21:52:35 2000
+++ ddup/pkg-message	Tue Oct 24 19:11:46 2000
@@ -3,8 +3,3 @@
 *** you MUST make your configuration file by typing  ***
 *** ddup --makeconf                                  ***
 ********************************************************
-********************************************************
-*** If you are upgrading or are a first time user    ***
-*** you MUST make your configuration file by typing  ***
-*** ddup --makeconf                                  ***
-********************************************************
diff -ruN ddup.orig/pkg-plist ddup/pkg-plist
--- ddup.orig/pkg-plist	Tue Feb 22 21:52:35 2000
+++ ddup/pkg-plist	Tue Oct 24 19:12:35 2000
@@ -1,6 +1,6 @@
 sbin/ddup
-sbin/testip
+sbin/ddupcron.sh
 share/doc/ddup/README
-share/doc/ddup/INSTALL-C
+share/doc/ddup/INSTALL
 share/doc/ddup/COPYING
 @dirrm share/doc/ddup

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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