- Update to 2.1.9
- Take maintainership PR: 140643 Approved by: kay.abendroth@raxion.net (maintainer)
This commit is contained in:
parent
20ab034897
commit
bfcec71ece
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244401
4 changed files with 40 additions and 37 deletions
|
@ -6,12 +6,12 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= noip
|
PORTNAME= noip
|
||||||
PORTVERSION= 2.1.7
|
PORTVERSION= 2.1.9
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= dns
|
CATEGORIES= dns
|
||||||
MASTER_SITES= http://www.no-ip.com/client/linux/
|
MASTER_SITES= http://www.no-ip.com/client/linux/ \
|
||||||
|
CRITICAL
|
||||||
|
|
||||||
MAINTAINER= kay.abendroth@raxion.net
|
MAINTAINER= ehaupt@FreeBSD.org
|
||||||
COMMENT= No-IP.com's dynamic DNS update client
|
COMMENT= No-IP.com's dynamic DNS update client
|
||||||
|
|
||||||
ALL_TARGET= noip2
|
ALL_TARGET= noip2
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (noip-2.1.7.tar.gz) = 7b6b64c08708c2b147c375dda074a8dc
|
MD5 (noip-2.1.9.tar.gz) = eed8e9ef9edfb7ddc36e187de867fe64
|
||||||
SHA256 (noip-2.1.7.tar.gz) = 1105a23cb0a957c4b1e7c47bd9bfed00f1a089bdddd2a69f69bf4f8047f7a237
|
SHA256 (noip-2.1.9.tar.gz) = 86ad0a6362263a33f59a658d1b1ce428e255556ddad0d062aa0ee4b7f412f98a
|
||||||
SIZE (noip-2.1.7.tar.gz) = 147640
|
SIZE (noip-2.1.9.tar.gz) = 152995
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
--- Makefile.orig 2007-08-11 20:35:34.000000000 +0200
|
--- Makefile.orig 2009-11-17 20:19:54.000000000 +0100
|
||||||
+++ Makefile 2007-12-24 12:18:38.000000000 +0100
|
+++ Makefile 2009-11-17 20:22:51.000000000 +0100
|
||||||
@@ -1,13 +1,13 @@
|
@@ -1,8 +1,8 @@
|
||||||
TGT=noip2
|
TGT=noip2
|
||||||
-CC=gcc
|
-CC=gcc
|
||||||
+MYCC=${CC}
|
+CC?=gcc
|
||||||
|
PKG=noip-2.1.tgz
|
||||||
|
|
||||||
-PREFIX=/usr/local
|
-PREFIX=/usr/local
|
||||||
-CONFDIR=${PREFIX}/etc
|
+PREFIX?=/usr/local
|
||||||
-BINDIR=${PREFIX}/bin
|
CONFDIR=${PREFIX}/etc
|
||||||
+MYPREFIX=${PREFIX}
|
BINDIR=${PREFIX}/bin
|
||||||
+MYCONFDIR=${PREFIX}/etc
|
|
||||||
+MYBINDIR=${PREFIX}/bin
|
|
||||||
|
|
||||||
# these defines are for Linux
|
@@ -11,7 +11,7 @@
|
||||||
-LIBS=
|
ARCH=linux
|
||||||
-ARCH=linux
|
|
||||||
+#LIBS=
|
|
||||||
+#ARCH=linux
|
|
||||||
|
|
||||||
# for Mac OS X and BSD systems that have getifaddr(), uncomment the next line
|
# for Mac OS X and BSD systems that have getifaddr(), uncomment the next line
|
||||||
#ARCH=bsd_with_getifaddrs
|
-#ARCH=bsd_with_getifaddrs
|
||||||
@@ -21,7 +21,7 @@
|
+ARCH=bsd_with_getifaddrs
|
||||||
|
|
||||||
|
# for early BSD systems without getifaddrs(), uncomment the next line
|
||||||
|
#ARCH=bsd
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
# ARCH=sun
|
# ARCH=sun
|
||||||
|
|
||||||
${TGT}: Makefile ${TGT}.c
|
${TGT}: Makefile ${TGT}.c
|
||||||
- ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||||
+ ${MYCC} ${CFLAGS} -Dbsd_with_getifaddrs -DPREFIX=\"${MYPREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
+ ${CC} -Wall -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||||
|
|
||||||
install: ${TGT}
|
install: ${TGT}
|
||||||
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi
|
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
--- noip2.c.orig 2007-08-27 23:54:19.000000000 +0200
|
--- noip2.c.orig 2009-11-17 20:23:40.000000000 +0100
|
||||||
+++ noip2.c 2007-12-24 12:25:18.000000000 +0100
|
+++ noip2.c 2009-11-17 20:27:45.000000000 +0100
|
||||||
@@ -185,7 +185,7 @@
|
@@ -198,7 +198,7 @@
|
||||||
#define CLIENT_IP_PORT 8245
|
#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: Linux-DUC/"VERSION
|
||||||
+#define USER_AGENT "User-Agent: FreeBSD-DUC/"VERSION
|
+#define USER_AGENT "User-Agent: FreeBSD-DUC/"VERSION
|
||||||
#define SETTING_SCRIPT "settings.php?"
|
#define SETTING_SCRIPT "settings.php?"
|
||||||
#define USTRNG "username="
|
#define USTRNG "username="
|
||||||
#define PWDSTRNG "&pass="
|
#define PWDSTRNG "&pass="
|
||||||
@@ -292,7 +292,7 @@
|
@@ -308,7 +308,7 @@
|
||||||
#define CMSG21 "Please select the Internet interface from this list.\n"
|
#define CMSG21 "Please select the Internet interface from this list.\n"
|
||||||
#define CMSG22 "By typing the number associated with it."
|
#define CMSG22 "By typing the number associated with it."
|
||||||
#define CMSG23 "Too many network devices. Limit is %d"
|
#define CMSG23 "Too many network devices. Limit is %d"
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
#define CMSG25 "Can't create config file (%s)"
|
#define CMSG25 "Can't create config file (%s)"
|
||||||
#define CMSG25a "Re-run noip, adding '-c configfilename' as a parameter."
|
#define CMSG25a "Re-run noip, adding '-c configfilename' as a parameter."
|
||||||
#define CMSG26 "Can't rename config file (%s)"
|
#define CMSG26 "Can't rename config file (%s)"
|
||||||
@@ -502,7 +502,7 @@
|
@@ -525,7 +525,7 @@
|
||||||
fprintf(stderr, "[ -d][ -D pid]");
|
fprintf(stderr, "[ -d][ -D pid]");
|
||||||
#endif
|
#endif
|
||||||
fprintf(stderr, "[ -i addr][ -S][ -M][ -h]");
|
fprintf(stderr, "[ -i addr][ -S][ -M][ -h]");
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
fprintf(stderr, "Options: -C create configuration data\n");
|
fprintf(stderr, "Options: -C create configuration data\n");
|
||||||
fprintf(stderr, " -F force NAT off\n");
|
fprintf(stderr, " -F force NAT off\n");
|
||||||
fprintf(stderr, " -Y select all hosts/groups\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
|
dq = (unsigned char *)devs; // point at name list
|
||||||
for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
|
for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
|
||||||
if (ifa->ifa_addr->sa_family == AF_LINK) {
|
if (ifa->ifa_addr->sa_family == AF_LINK) {
|
||||||
|
@ -40,12 +40,15 @@
|
||||||
- || ifd->ifi_type == IFT_BRIDGE
|
- || ifd->ifi_type == IFT_BRIDGE
|
||||||
- || ifd->ifi_type == IFT_OTHER
|
- || ifd->ifi_type == IFT_OTHER
|
||||||
- || ifd->ifi_type == IFT_GIF)
|
- || ifd->ifi_type == IFT_GIF)
|
||||||
+ if (ifd->ifi_type == IFT_OTHER
|
- continue;
|
||||||
+ || ifd->ifi_type == IFT_GIF
|
|
||||||
+ || ifd->ifi_type == IFT_LOOP
|
|
||||||
+ || ifd->ifi_type == IFT_FAITH)
|
|
||||||
continue;
|
|
||||||
-#endif
|
-#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
|
q = dq; // add new name into list
|
||||||
p = ifa->ifa_name;
|
p = ifa->ifa_name;
|
||||||
devnum++;
|
devnum++;
|
||||||
|
|
Loading…
Reference in a new issue