summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2012-03-22 12:56:51 +0000
committerobache <obache>2012-03-22 12:56:51 +0000
commit76f330c41eed16b075fadd62a8e3eaf47eb8b727 (patch)
tree812fc69e6ad8b6b470a7dfef6599ac5983416d2f
parent13bc0c4e156bc8867599737fc084ea0e72994fc9 (diff)
downloadpkgsrc-76f330c41eed16b075fadd62a8e3eaf47eb8b727.tar.gz
Update miniupnpd to 1.6.20120320.
per PR 46236 by David Howland. while here, set LICENSE=modified-bsd. 2012/03/19: Fix ipfilter support (thanks dhowland https://github.com/dhowland) 2012/03/14: Changes to miniupnpd.init.d.script by Shawn Landden 2012/03/05: fixed reload_from_lease_file(). 2012/02/15: Change parselanaddr() function to allow 192.168.1.1/255.255.255.0 in configuration file. Change read_permission_line() to allow 192.168.1.1/255.255.255.0 in permission line (in configuration file). 2012/02/12: More syntax checks in upnppermissions.c 2012/02/11: Fix ipfw/Mac OS X specific source files to compile ok with -ansi flag 2012/02/09: Make HTTP listen socket non blocking (so accept() can't block) Make SSDP receive sockets non blocking use sockaddr_to_string() in SendSSDPAnnonce2 to handle IPv6 addresses 2012/02/06: Make HTTP (SOAP) sockets non blocking. 2012/02/05: Compile ok with -ansi flag. Save a few bytes in options.c using a string repository, instead of a fixed size buffer for each option value. 2012/02/04: Added friendly_name= option to config file 2012/02/03: Anchor name (PF) is now configurable through the config file with anchor= Added test of presence of /lib/libip4tc.so and /lib/libip6tc.so files in Makefile.linux in order to add -lip4tc and -lip6tc to LIBS accordingly. 2012/02/01: always handle EAGAIN, EWOULDBLOCK and EINTR after recv()/recvfrom() calls 2012/01/20: Always #include <netinet/in.h> before #include <arpa/inet.h> (for OpenBSD) .onrdomain field was added in pf with OpenBSD 5.0. Add PFRULE_HAS_ONRDOMAIN 2012/01/02: Fixing netfilter/iptables_*.sh scripts for new ifconfig output format. getifaddr.c: added additional checks on structure returned by getifaddrs() Fixing Mac OS X makefile for installation 2011/11/18: avoid infinite loop in SendResp_upnphttp() in case of error Replaced SendResp_upnphttp() + CloseSocket_upnphttp() by SendRespAndClose_upnphttp() Tomato specifics in genconfig.sh 2011/07/30: netfilter : Added a tiny_nf_nat.h file to compile with iptables installed headers. include xtables.h instead of iptables.h VERSION 1.6 : released the 2011/07/25 A lot of work on IPv6 support and IGDv2. Support of lease duration, etc. VERSION 1.5 : released the 2011/01/01 bugfixed and is now compatible with OpenBSD >= 4.7. It includes preliminary support for the version 2 of the UPnP Internet Gateway specification.
-rw-r--r--net/miniupnpd/Makefile5
-rw-r--r--net/miniupnpd/distinfo9
-rw-r--r--net/miniupnpd/patches/patch-Makefile15
3 files changed, 23 insertions, 6 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile
index 241ecbacdf5..e29510dd4ba 100644
--- a/net/miniupnpd/Makefile
+++ b/net/miniupnpd/Makefile
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.5 2010/05/11 08:53:29 roy Exp $
+# $NetBSD: Makefile,v 1.6 2012/03/22 12:56:51 obache Exp $
#
-DISTNAME= miniupnpd-1.4.20100308
+DISTNAME= miniupnpd-1.6.20120320
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/download.php?file=
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://miniupnp.free.fr/
COMMENT= UPnP IGD service with NAT-PMP support
+LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
diff --git a/net/miniupnpd/distinfo b/net/miniupnpd/distinfo
index 2bb56906cf9..6d52d5f6fff 100644
--- a/net/miniupnpd/distinfo
+++ b/net/miniupnpd/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2010/05/11 08:53:29 roy Exp $
+$NetBSD: distinfo,v 1.5 2012/03/22 12:56:51 obache Exp $
-SHA1 (miniupnpd-1.4.20100308.tar.gz) = f10be7da41dab4bb3faf083af71c421462048826
-RMD160 (miniupnpd-1.4.20100308.tar.gz) = 7e34a3787ff25251e16b581608fa1a2791f7ca59
-Size (miniupnpd-1.4.20100308.tar.gz) = 92889 bytes
+SHA1 (miniupnpd-1.6.20120320.tar.gz) = f99a6f102e02a37e6d048814ea3e5aed9214998d
+RMD160 (miniupnpd-1.6.20120320.tar.gz) = cb7da6525d8d1a5ddc9deab07dc2289cca63fd71
+Size (miniupnpd-1.6.20120320.tar.gz) = 127968 bytes
+SHA1 (patch-Makefile) = dd25b91d30b5a505999795842d4d6902db950fc7
diff --git a/net/miniupnpd/patches/patch-Makefile b/net/miniupnpd/patches/patch-Makefile
new file mode 100644
index 00000000000..36666db9f49
--- /dev/null
+++ b/net/miniupnpd/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2012/03/22 12:56:51 obache Exp $
+
+* Honor user setting CFLAGS.
+
+--- Makefile.orig 2012-03-05 20:37:13.000000000 +0000
++++ Makefile
+@@ -11,7 +11,7 @@
+ # Linux users, please use Makefile.linux :
+ # make -f Makefile.linux
+
+-CFLAGS = -pipe -Wall -Os -ansi
++CFLAGS ?= -pipe -Wall -Os -ansi
+ #CFLAGS = -pipe -Wall -O -g -DDEBUG -ansi
+ CC ?= gcc
+ RM = rm -f