Security update to 2.1.8
All users running older versions are recommended to upgrade and re-run the configuration wizard.
This commit is contained in:
parent
04e8ef71ef
commit
470b1a772a
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2007/10/23 08:27:14 wilfried Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2008/11/20 07:49:51 wilfried Exp $
|
||||
|
||||
COMMENT= No-IP.com Dynamic DNS client
|
||||
|
||||
V= 2.1.7
|
||||
V= 2.1.8
|
||||
DISTNAME= noip-${V}
|
||||
PKGNAME= no-ip-${V}
|
||||
CATEGORIES= net
|
||||
@ -25,7 +25,7 @@ NO_REGRESS= Yes
|
||||
ALL_TARGET= noip2
|
||||
|
||||
do-configure:
|
||||
@perl -pi -e 's|_SYSCONFDIR_|${SYSCONFDIR}|g' ${WRKSRC}/noip2.c
|
||||
@${SUBST_CMD} ${WRKSRC}/noip2.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/noip2 ${PREFIX}/sbin
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (noip-2.1.7.tar.gz) = e2tkwIcIwrFHw3XdoHSo3A==
|
||||
RMD160 (noip-2.1.7.tar.gz) = ulUBw4lyplfdVcVqDq5eRuB3wC4=
|
||||
SHA1 (noip-2.1.7.tar.gz) = 9DNWo3qBpTg4Kppdm2IE+WzA/lc=
|
||||
SHA256 (noip-2.1.7.tar.gz) = EQWiPLCpV8Sx58R72b/tAPGgib3d0qafab9PgEf3ojc=
|
||||
SIZE (noip-2.1.7.tar.gz) = 147640
|
||||
MD5 (noip-2.1.8.tar.gz) = ngXK9DVDjLPtc0yL62xR6Q==
|
||||
RMD160 (noip-2.1.8.tar.gz) = x6Ma2NDpSRHrfSxXo7CLimPFegs=
|
||||
SHA1 (noip-2.1.8.tar.gz) = P4fkXMrpg5+Ovk39BqedM1B8pN4=
|
||||
SHA256 (noip-2.1.8.tar.gz) = MixCgSRKoOnKf1iRJ1X0X6z1cT11wzUuI3MxKkxv4+U=
|
||||
SIZE (noip-2.1.8.tar.gz) = 89536
|
||||
|
@ -1,12 +1,13 @@
|
||||
$OpenBSD: patch-Makefile,v 1.4 2006/10/18 22:02:39 wilfried Exp $
|
||||
--- Makefile.orig Fri Feb 24 17:45:51 2006
|
||||
+++ Makefile Wed Oct 18 23:58:14 2006
|
||||
@@ -1,16 +1,15 @@
|
||||
$OpenBSD: patch-Makefile,v 1.5 2008/11/20 07:49:51 wilfried Exp $
|
||||
--- Makefile.orig Thu Nov 13 02:31:49 2008
|
||||
+++ Makefile Thu Nov 20 08:40:53 2008
|
||||
@@ -1,5 +1,4 @@
|
||||
TGT=noip2
|
||||
-CC=gcc
|
||||
PKG=noip-2.1.tgz
|
||||
|
||||
PREFIX=/usr/local
|
||||
CONFDIR=${PREFIX}/etc
|
||||
@@ -7,11 +6,11 @@ CONFDIR=${PREFIX}/etc
|
||||
BINDIR=${PREFIX}/bin
|
||||
|
||||
# these defines are for Linux
|
||||
@ -21,12 +22,12 @@ $OpenBSD: patch-Makefile,v 1.4 2006/10/18 22:02:39 wilfried Exp $
|
||||
|
||||
# for early BSD systems without getifaddrs(), uncomment the next line
|
||||
#ARCH=bsd
|
||||
@@ -21,7 +20,7 @@ ARCH=linux
|
||||
@@ -22,7 +21,7 @@ ARCH=linux
|
||||
# ARCH=sun
|
||||
|
||||
${TGT}: Makefile ${TGT}.c
|
||||
- ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||
+ ${CC} ${CFLAGS} -D${ARCH} ${TGT}.c -o ${TGT} ${LIBS}
|
||||
- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||
+ ${CC} -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||
|
||||
install: ${TGT}
|
||||
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-noip2_c,v 1.5 2007/10/23 08:27:14 wilfried Exp $
|
||||
--- noip2.c.orig Mon Aug 27 23:54:19 2007
|
||||
+++ noip2.c Tue Oct 23 09:49:14 2007
|
||||
@@ -218,11 +218,8 @@
|
||||
$OpenBSD: patch-noip2_c,v 1.6 2008/11/20 07:49:51 wilfried Exp $
|
||||
--- noip2.c.orig Fri Nov 14 04:11:44 2008
|
||||
+++ noip2.c Thu Nov 20 08:39:55 2008
|
||||
@@ -232,11 +232,8 @@
|
||||
#define NODNSGROUP "@@NO_GROUP@@"
|
||||
#define HOST 1
|
||||
#define GROUP 2
|
||||
@ -10,8 +10,8 @@ $OpenBSD: patch-noip2_c,v 1.5 2007/10/23 08:27:14 wilfried Exp $
|
||||
-#endif
|
||||
-#define CONFIG_FILEPATH PREFIX"/etc"
|
||||
-#define CONFIG_FILENAME PREFIX"/etc/no-ip2.conf"
|
||||
+#define CONFIG_FILEPATH "_SYSCONFDIR_"
|
||||
+#define CONFIG_FILENAME "_SYSCONFDIR_/no-ip2.conf"
|
||||
+#define CONFIG_FILEPATH "${SYSCONFDIR}"
|
||||
+#define CONFIG_FILENAME "${SYSCONFDIR}/no-ip2.conf"
|
||||
#define CONFSTRLEN 1024
|
||||
#define MAX_DEVLEN 16
|
||||
#define MAX_INSTANCE 4
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2004/10/14 14:11:51 xsa Exp $
|
||||
sbin/noip2
|
||||
@comment $OpenBSD: PLIST,v 1.6 2008/11/20 07:49:51 wilfried Exp $
|
||||
@bin sbin/noip2
|
||||
share/doc/no-ip/
|
||||
share/doc/no-ip/README.FIRST
|
||||
share/examples/no-ip/
|
||||
|
Loading…
Reference in New Issue
Block a user