misc/118989: [update] update port dns/noip to 2.1.7

Kay Abendroth kay.abendroth at raxion.net
Mon Dec 24 04:10:01 PST 2007


>Number:         118989
>Category:       misc
>Synopsis:       [update] update port dns/noip to 2.1.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 24 12:10:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kay Abendroth
>Release:        7.0 Alpha
>Organization:
>Environment:
FreeBSD susi.redhill.net 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Wed Apr 11 14:51:03 GMT 2007     root at susi.redhill.net:/usr/obj/usr/src/sys/SUSI  i386
>Description:
New upstream release.

   - Update to 2.1.7:
       * updated noip2.c: added SkipHeaders() instead of the magic 6 line pass
       * Changed to ip1.dynupdate.no-ip.com for ip retrieval
       * added fclose() for stdin, stdout & stderr to child
       * made Force_Update work on 30 day intervals
       * added version number into shared mem and -S display
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN dns/noip.orig/Makefile dns/noip/Makefile
--- dns/noip.orig/Makefile	Mon Feb 26 21:26:58 2007
+++ dns/noip/Makefile	Mon Dec 24 11:07:46 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	noip
-PORTVERSION=	2.1.4
+PORTVERSION=	2.1.7
 CATEGORIES=	dns
 MASTER_SITES=	http://www.no-ip.com/client/linux/ \
 		http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
diff -urN dns/noip.orig/distinfo dns/noip/distinfo
--- dns/noip.orig/distinfo	Mon Feb 26 21:26:58 2007
+++ dns/noip/distinfo	Mon Dec 24 11:07:40 2007
@@ -1,3 +1,3 @@
-MD5 (noip-2.1.4.tar.gz) = d65e221016a61cd4e412242c34c71ff1
-SHA256 (noip-2.1.4.tar.gz) = 8912301be611b842d0cf1a335275c367f3a80d507bc53c7460c68b52d71b1a7c
-SIZE (noip-2.1.4.tar.gz) = 102789
+MD5 (noip-2.1.7.tar.gz) = 7b6b64c08708c2b147c375dda074a8dc
+SHA256 (noip-2.1.7.tar.gz) = 1105a23cb0a957c4b1e7c47bd9bfed00f1a089bdddd2a69f69bf4f8047f7a237
+SIZE (noip-2.1.7.tar.gz) = 147640
\ No newline at end of file
diff -urN dns/noip.orig/files/patch-Makefile dns/noip/files/patch-Makefile
--- dns/noip.orig/files/patch-Makefile	Tue Oct 31 14:55:54 2006
+++ dns/noip/files/patch-Makefile	Mon Dec 24 11:26:38 2007
@@ -1,5 +1,5 @@
---- Makefile.orig	Wed Oct 18 11:13:47 2006
-+++ Makefile	Wed Oct 18 11:16:45 2006
+--- Makefile.orig	2007-08-11 20:35:34.000000000 +0200
++++ Makefile	2007-12-24 12:18:38.000000000 +0100
 @@ -1,13 +1,13 @@
  TGT=noip2
 -CC=gcc
@@ -9,8 +9,8 @@
 -CONFDIR=${PREFIX}/etc
 -BINDIR=${PREFIX}/bin
 +MYPREFIX=${PREFIX}
-+CONFDIR=${MYPREFIX}/etc
-+BINDIR=${MYPREFIX}/bin
++MYCONFDIR=${PREFIX}/etc
++MYBINDIR=${PREFIX}/bin
  
  # these defines are for Linux
 -LIBS=
diff -urN dns/noip.orig/files/patch-noip2.c dns/noip/files/patch-noip2.c
--- dns/noip.orig/files/patch-noip2.c	Mon Feb 26 21:26:58 2007
+++ dns/noip/files/patch-noip2.c	Mon Dec 24 11:27:19 2007
@@ -1,15 +1,15 @@
---- noip2.c.orig	Tue Feb 20 22:12:22 2007
-+++ noip2.c	Sun Feb 25 18:47:38 2007
-@@ -176,7 +176,7 @@
+--- noip2.c.orig	2007-08-27 23:54:19.000000000 +0200
++++ noip2.c	2007-12-24 12:25:18.000000000 +0100
+@@ -185,7 +185,7 @@
  #define CLIENT_IP_PORT		8245
  
- #define VERSION			"2.1.4"
+ #define VERSION			"2.1.7"
 -#define USER_AGENT		"User-Agent: Linux-DUC/"VERSION
 +#define USER_AGENT		"User-Agent: FreeBSD-DUC/"VERSION
  #define SETTING_SCRIPT		"settings.php?"
  #define USTRNG			"username="
  #define PWDSTRNG		"&pass="
-@@ -283,7 +283,7 @@
+@@ -292,7 +292,7 @@
  #define CMSG21	"Please select the Internet interface from this list.\n"
  #define CMSG22	"By typing the number associated with it."
  #define CMSG23	"Too many network devices.  Limit is %d"
@@ -18,7 +18,7 @@
  #define CMSG25	"Can't create config file (%s)"
  #define CMSG25a	"Re-run noip, adding '-c configfilename' as a parameter."
  #define CMSG26	"Can't rename config file (%s)"
-@@ -490,7 +490,7 @@
+@@ -502,7 +502,7 @@
          fprintf(stderr, "[ -d][ -D pid]");
  #endif                                                                          
  	fprintf(stderr, "[ -i addr][ -S][ -M][ -h]");
@@ -27,7 +27,7 @@
  	fprintf(stderr, "Options: -C               create configuration data\n");
  	fprintf(stderr, "         -F               force NAT off\n");
  	fprintf(stderr, "         -Y               select all hosts/groups\n");
-@@ -2058,17 +2058,12 @@
+@@ -2119,17 +2119,12 @@
  	dq = (unsigned char *)devs;     // point at name list
  	for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
  		if (ifa->ifa_addr->sa_family == AF_LINK) {


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


More information about the freebsd-bugs mailing list