diff options
author | roy <roy> | 2010-05-11 08:53:29 +0000 |
---|---|---|
committer | roy <roy> | 2010-05-11 08:53:29 +0000 |
commit | c61d48d24b768f55c94d568680b3c76767cb7967 (patch) | |
tree | d5b6e18741f062e07c097cd2761911e989d91ab4 /net/miniupnpd/patches | |
parent | 7fdcaabc56154615625e76f958c5aebc711456e4 (diff) | |
download | pkgsrc-c61d48d24b768f55c94d568680b3c76767cb7967.tar.gz |
Update to miniupnpd-1.4.20100308
Changes include:
* ipfilter fixes
* NAT-PMP source address should now be right
Diffstat (limited to 'net/miniupnpd/patches')
-rw-r--r-- | net/miniupnpd/patches/patch-aa | 35 | ||||
-rw-r--r-- | net/miniupnpd/patches/patch-ab | 37 | ||||
-rw-r--r-- | net/miniupnpd/patches/patch-ac | 13 | ||||
-rw-r--r-- | net/miniupnpd/patches/patch-ad | 21 | ||||
-rw-r--r-- | net/miniupnpd/patches/patch-ae | 29 |
5 files changed, 0 insertions, 135 deletions
diff --git a/net/miniupnpd/patches/patch-aa b/net/miniupnpd/patches/patch-aa deleted file mode 100644 index f7668799368..00000000000 --- a/net/miniupnpd/patches/patch-aa +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2009/06/04 07:54:26 hasso Exp $ - ---- genconfig.sh.orig 2008-10-01 15:49:26 +0300 -+++ genconfig.sh 2009-05-07 11:23:34 +0300 -@@ -96,14 +96,25 @@ case $OS_NAME in - ;; - NetBSD) - OS_URL=http://www.netbsd.org/ -- if [ -f /usr/include/net/pfvar.h ] ; then -- echo "#define USE_PF 1" >> ${CONFIGFILE} -- FW=pf -+ FWNAME_UPPER="$(echo $FWNAME | tr '[a-z]' '[A-Z]')" -+ if [ ! "x$FWNAME" = "x" ]; then -+ FW=${FWNAME} -+ echo "#define USE_${FWNAME_UPPER} 1" >> ${CONFIGFILE} - else -- echo "#define USE_IPF 1" >> ${CONFIGFILE} -- FW=ipf -+ if [ -f /usr/include/net/pfvar.h ] ; then -+ echo "#define USE_PF 1" >> ${CONFIGFILE} -+ FW=pf -+ else -+ echo "#define USE_IPF 1" >> ${CONFIGFILE} -+ FW=ipf -+ fi - fi - ;; -+ DragonFly) -+ OS_URL=http://www.dragonflybsd.org/ -+ echo "#define USE_PF 1" >> ${CONFIGFILE} -+ FW=pf -+ ;; - SunOS) - echo "#define USE_IPF 1" >> ${CONFIGFILE} - FW=ipf diff --git a/net/miniupnpd/patches/patch-ab b/net/miniupnpd/patches/patch-ab deleted file mode 100644 index bf12ae94a82..00000000000 --- a/net/miniupnpd/patches/patch-ab +++ /dev/null @@ -1,37 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2009/01/06 23:39:53 jmcneill Exp $ - ---- Makefile.orig 2008-10-09 08:50:46.000000000 -0400 -+++ Makefile 2009-01-06 18:32:05.000000000 -0500 -@@ -5,7 +5,7 @@ - # This Makefile should work for *BSD and SunOS/Solaris - # Linux users, please use Makefile.linux - #CFLAGS = -Wall -Os --CFLAGS = -Wall -O -g -DDEBUG -+CFLAGS = -Wall -O -g -DDEBUG $(PKG_CFLAGS) - CC = gcc - RM = rm -f - MV = mv -@@ -83,8 +83,8 @@ LIBS += -lsocket -lnsl -lkstat -lresolv - - # set PREFIX variable to install in the wanted place - --INSTALLBINDIR = $(PREFIX)/sbin --INSTALLETCDIR = $(PREFIX)/etc -+INSTALLBINDIR = $(DESTDIR)$(PREFIX)/sbin -+INSTALLETCDIR = $(DESTDIR)$(PREFIX)/share/examples/miniupnpd - - all: $(EXECUTABLES) - -@@ -97,8 +97,10 @@ clean: - - install: miniupnpd genuuid - strip miniupnpd -- $(INSTALL) -m 555 miniupnpd $(INSTALLBINDIR) -- $(INSTALL) miniupnpd.conf $(INSTALLETCDIR) -+ $(BSD_INSTALL_PROGRAM_DIR) $(INSTALLBINDIR) -+ $(BSD_INSTALL_DATA_DIR) $(INSTALLETCDIR) -+ $(BSD_INSTALL_PROGRAM) miniupnpd $(INSTALLBINDIR) -+ $(BSD_INSTALL) -m 644 miniupnpd.conf $(INSTALLETCDIR) - - # genuuid is using the uuid cli tool available under OpenBSD 4.0 in - # the uuid-1.5.0 package diff --git a/net/miniupnpd/patches/patch-ac b/net/miniupnpd/patches/patch-ac deleted file mode 100644 index 85027a6d1ca..00000000000 --- a/net/miniupnpd/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2009/01/06 23:39:53 jmcneill Exp $ - ---- miniupnpd.c.orig 2009-01-06 18:28:56.000000000 -0500 -+++ miniupnpd.c 2009-01-06 18:29:19.000000000 -0500 -@@ -344,7 +344,7 @@ init(int argc, char * * argv, struct run - struct sigaction sa; - /*const char * logfilename = 0;*/ - const char * presurl = 0; -- const char * optionsfile = "/etc/miniupnpd.conf"; -+ const char * optionsfile = PKG_DEFAULT_CONFIG; - - /* first check if "-f" option is used */ - for(i=2; i<argc; i++) diff --git a/net/miniupnpd/patches/patch-ad b/net/miniupnpd/patches/patch-ad deleted file mode 100644 index 5eefa1397a4..00000000000 --- a/net/miniupnpd/patches/patch-ad +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2009/06/04 07:54:26 hasso Exp $ - ---- pf/obsdrdr.c.orig 2008-08-24 22:54:57 +0300 -+++ pf/obsdrdr.c 2009-06-04 10:35:24 +0300 -@@ -7,11 +7,16 @@ - - #include <sys/types.h> - #include <sys/socket.h> -+#include <sys/param.h> - #include <net/if.h> - #include <netinet/in.h> - #include <netinet/tcp.h> - #include <arpa/inet.h> -+#ifdef __DragonFly__ -+#include <net/pf/pfvar.h> -+#else - #include <net/pfvar.h> -+#endif - #include <fcntl.h> - #include <sys/ioctl.h> - #include <unistd.h> diff --git a/net/miniupnpd/patches/patch-ae b/net/miniupnpd/patches/patch-ae deleted file mode 100644 index fee692e03df..00000000000 --- a/net/miniupnpd/patches/patch-ae +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2009/06/04 07:54:26 hasso Exp $ - ---- bsd/getifstats.c.orig 2009-05-07 11:38:00 +0300 -+++ bsd/getifstats.c 2009-05-07 11:40:14 +0300 -@@ -11,10 +11,14 @@ - #include <net/if.h> - #include <arpa/inet.h> - #include <netinet/in.h> --#if defined(__FreeBSD__) -+#if defined(__FreeBSD__) || defined(__DragonFly__) - #include <net/if_var.h> - #endif -+#if defined(__DragonFly__) -+#include <net/pf/pfvar.h> -+#else - #include <net/pfvar.h> -+#endif - #include <kvm.h> - #include <fcntl.h> - #include <nlist.h> -@@ -34,7 +38,7 @@ struct nlist list[] = { - int - getifstats(const char * ifname, struct ifdata * data) - { --#if defined(__FreeBSD__) -+#if defined(__FreeBSD__) || defined(__DragonFly__) - struct ifnethead ifh; - #elif defined(__OpenBSD__) || defined(__NetBSD__) - struct ifnet_head ifh; |