ports/140643: [update] dns/noip -> 2.1.9
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Nov 17 19:50:01 UTC 2009
>Number: 140643
>Category: ports
>Synopsis: [update] dns/noip -> 2.1.9
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 17 19:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 8.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.0-RC1 FreeBSD 8.0-RC1 #41 r197738: Sun Oct 4 11:00:31 UTC 2009 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386
>Description:
Update dns/noip to 2.1.9, the current version does not update the client ip
address.
>How-To-Repeat:
>Fix:
--- noip.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/noip/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile 19 Jul 2009 18:59:37 -0000 1.17
+++ Makefile 17 Nov 2009 19:43:48 -0000
@@ -6,10 +6,10 @@
#
PORTNAME= noip
-PORTVERSION= 2.1.7
-PORTREVISION= 2
+PORTVERSION= 2.1.9
CATEGORIES= dns
-MASTER_SITES= http://www.no-ip.com/client/linux/
+MASTER_SITES= http://www.no-ip.com/client/linux/ \
+ CRITICAL
MAINTAINER= kay.abendroth at raxion.net
COMMENT= No-IP.com's dynamic DNS update client
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/dns/noip/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo 28 Dec 2007 16:58:50 -0000 1.12
+++ distinfo 17 Nov 2009 19:43:48 -0000
@@ -1,3 +1,3 @@
-MD5 (noip-2.1.7.tar.gz) = 7b6b64c08708c2b147c375dda074a8dc
-SHA256 (noip-2.1.7.tar.gz) = 1105a23cb0a957c4b1e7c47bd9bfed00f1a089bdddd2a69f69bf4f8047f7a237
-SIZE (noip-2.1.7.tar.gz) = 147640
+MD5 (noip-2.1.9.tar.gz) = eed8e9ef9edfb7ddc36e187de867fe64
+SHA256 (noip-2.1.9.tar.gz) = 86ad0a6362263a33f59a658d1b1ce428e255556ddad0d062aa0ee4b7f412f98a
+SIZE (noip-2.1.9.tar.gz) = 152995
Index: files/patch-Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/noip/files/patch-Makefile,v
retrieving revision 1.4
diff -u -r1.4 patch-Makefile
--- files/patch-Makefile 28 Dec 2007 16:58:50 -0000 1.4
+++ files/patch-Makefile 17 Nov 2009 19:43:48 -0000
@@ -1,31 +1,31 @@
---- Makefile.orig 2007-08-11 20:35:34.000000000 +0200
-+++ Makefile 2007-12-24 12:18:38.000000000 +0100
-@@ -1,13 +1,13 @@
+--- Makefile.orig 2009-11-17 20:19:54.000000000 +0100
++++ Makefile 2009-11-17 20:22:51.000000000 +0100
+@@ -1,8 +1,8 @@
TGT=noip2
-CC=gcc
-+MYCC=${CC}
++CC?=gcc
+ PKG=noip-2.1.tgz
-PREFIX=/usr/local
--CONFDIR=${PREFIX}/etc
--BINDIR=${PREFIX}/bin
-+MYPREFIX=${PREFIX}
-+MYCONFDIR=${PREFIX}/etc
-+MYBINDIR=${PREFIX}/bin
-
- # these defines are for Linux
--LIBS=
--ARCH=linux
-+#LIBS=
-+#ARCH=linux
++PREFIX?=/usr/local
+ CONFDIR=${PREFIX}/etc
+ BINDIR=${PREFIX}/bin
+
+@@ -11,7 +11,7 @@
+ ARCH=linux
# for Mac OS X and BSD systems that have getifaddr(), uncomment the next line
- #ARCH=bsd_with_getifaddrs
-@@ -21,7 +21,7 @@
+-#ARCH=bsd_with_getifaddrs
++ARCH=bsd_with_getifaddrs
+
+ # for early BSD systems without getifaddrs(), uncomment the next line
+ #ARCH=bsd
+@@ -22,7 +22,7 @@
# ARCH=sun
${TGT}: Makefile ${TGT}.c
-- ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
-+ ${MYCC} ${CFLAGS} -Dbsd_with_getifaddrs -DPREFIX=\"${MYPREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
+- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
++ ${CC} -Wall -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
install: ${TGT}
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi
Index: files/patch-noip2.c
===================================================================
RCS file: /home/pcvs/ports/dns/noip/files/patch-noip2.c,v
retrieving revision 1.6
diff -u -r1.6 patch-noip2.c
--- files/patch-noip2.c 28 Dec 2007 16:58:50 -0000 1.6
+++ files/patch-noip2.c 17 Nov 2009 19:43:48 -0000
@@ -1,15 +1,15 @@
---- 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 @@
+--- noip2.c.orig 2009-11-17 20:23:40.000000000 +0100
++++ noip2.c 2009-11-17 20:27:45.000000000 +0100
+@@ -198,7 +198,7 @@
#define CLIENT_IP_PORT 8245
- #define VERSION "2.1.7"
+ #define VERSION "2.1.9"
-#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="
-@@ -292,7 +292,7 @@
+@@ -308,7 +308,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)"
-@@ -502,7 +502,7 @@
+@@ -525,7 +525,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");
-@@ -2119,17 +2119,12 @@
+@@ -2316,17 +2316,14 @@
dq = (unsigned char *)devs; // point at name list
for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
if (ifa->ifa_addr->sa_family == AF_LINK) {
@@ -40,12 +40,15 @@
- || ifd->ifi_type == IFT_BRIDGE
- || ifd->ifi_type == IFT_OTHER
- || ifd->ifi_type == IFT_GIF)
-+ if (ifd->ifi_type == IFT_OTHER
-+ || ifd->ifi_type == IFT_GIF
-+ || ifd->ifi_type == IFT_LOOP
-+ || ifd->ifi_type == IFT_FAITH)
- continue;
+- continue;
-#endif
++
++ if (ifd->ifi_type == IFT_OTHER
++ || ifd->ifi_type == IFT_GIF
++ || ifd->ifi_type == IFT_LOOP
++ || ifd->ifi_type == IFT_FAITH)
++ continue;
++
q = dq; // add new name into list
p = ifa->ifa_name;
devnum++;
--- noip.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list