pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/miniupnpd miniupnpd: updated to 2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4cf9a4b3e69
branches:  trunk
changeset: 313697:c4cf9a4b3e69
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Oct 07 09:12:31 2018 +0000

description:
miniupnpd: updated to 2.1

VERSION 2.1
* option to store remaining time in leasefile
* pf: set dst address in rule if use_ext_ip_addr is set
* Add options for netfilter scripts
* Use monotonic clock for timeouts, etc.
* Add option force_igd_desc_v1 to force devices and services versions
   to 1 in IGD v2 mode
* Fix a few buffer overrun in SSDP and SOAP parsing
* PCP : reset epoch after address change
* merge https://github.com/miniupnp/miniupnp/tree/randomize_url branch
* get SSDP packet receiving interface index and use it to check if the
   packet is from a LAN
* default to client address for AddPortMapping when <NewInternalClient>
   is empty
* pass ext_if_name to add_pinhole()
* Fix UDA-1.2.10 Man header empty or invalid
* Do not try to open IPv6 sockets once it is disabled
* Fix "AddPinhole Twice" test
* fixes build for Solaris/SunOS
* fixes build error on DragonFly BSD

diffstat:

 net/miniupnpd/Makefile                 |   6 ++----
 net/miniupnpd/distinfo                 |  11 ++++++-----
 net/miniupnpd/patches/patch-minissdp.c |  16 ++++++++++++++++
 3 files changed, 24 insertions(+), 9 deletions(-)

diffs (58 lines):

diff -r 6185c8c4ab1e -r c4cf9a4b3e69 net/miniupnpd/Makefile
--- a/net/miniupnpd/Makefile    Sun Oct 07 09:02:04 2018 +0000
+++ b/net/miniupnpd/Makefile    Sun Oct 07 09:12:31 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2016/10/01 11:32:57 adam Exp $
+# $NetBSD: Makefile,v 1.23 2018/10/07 09:12:31 adam Exp $
 
-DISTNAME=      miniupnpd-2.0
+DISTNAME=      miniupnpd-2.1
 CATEGORIES=    net
 MASTER_SITES=  http://miniupnp.free.fr/files/download.php?file=
 
@@ -12,8 +12,6 @@
 EGDIR=         ${PREFIX}/share/examples/miniupnpd
 CONF_FILES=    ${EGDIR}/miniupnpd.conf ${PKG_SYSCONFDIR}/miniupnpd.conf
 
-MAKE_JOBS_SAFE=        no # genconfig.sh run in parallel with users of config.h
-
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 
diff -r 6185c8c4ab1e -r c4cf9a4b3e69 net/miniupnpd/distinfo
--- a/net/miniupnpd/distinfo    Sun Oct 07 09:02:04 2018 +0000
+++ b/net/miniupnpd/distinfo    Sun Oct 07 09:12:31 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.21 2016/10/01 11:32:57 adam Exp $
+$NetBSD: distinfo,v 1.22 2018/10/07 09:12:31 adam Exp $
 
-SHA1 (miniupnpd-2.0.tar.gz) = 0ec4766db6a8adf81736fb08d45fabf4bae8ebb9
-RMD160 (miniupnpd-2.0.tar.gz) = 5a0f816814fafa453cf1f168435a509bd98b0cdc
-SHA512 (miniupnpd-2.0.tar.gz) = c88036d3f4b065fc855572db8945d921641a71a23ffe8b52cb4ccb1a7cf3e7396841c436d54d7ff5968d034d8c4bfc91630719959000436230bb8c37e5bdc8d4
-Size (miniupnpd-2.0.tar.gz) = 217802 bytes
+SHA1 (miniupnpd-2.1.tar.gz) = 861f8e30a02ef6a5928fb8950a1f5a76e6393ba9
+RMD160 (miniupnpd-2.1.tar.gz) = f8a932f159810d49676498404f2c5658a81c672c
+SHA512 (miniupnpd-2.1.tar.gz) = c737faad21bfba1f59346cbe0082d24827f36c0422cfaa5e71180aa9f61e784eb19ea9d6abf2d005f92d4cde106eac8c66ecc88b30421de710f3c129ac15f4ae
+Size (miniupnpd-2.1.tar.gz) = 225458 bytes
 SHA1 (patch-genconfig.sh) = 2bd34c785bf4812e191144fd6cb5af89dccce1ee
+SHA1 (patch-minissdp.c) = 01d5a20359818d9d408f41c5047217c347871fc5
diff -r 6185c8c4ab1e -r c4cf9a4b3e69 net/miniupnpd/patches/patch-minissdp.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/miniupnpd/patches/patch-minissdp.c    Sun Oct 07 09:12:31 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-minissdp.c,v 1.1 2018/10/07 09:12:31 adam Exp $
+
+Fix building.
+
+--- minissdp.c.orig    2018-10-07 09:08:52.068679678 +0000
++++ minissdp.c
+@@ -873,8 +873,7 @@ ProcessSSDPRequest(int s, unsigned short
+               .msg_controllen = sizeof(cmbuf)
+       };
+       struct cmsghdr *cmptr;
+-#endif /* IP_PKTINFO */
+-#ifdef IP_RECVIF
++#elif definded(IP_RECVIF)
+       char cmbuf[CMSG_SPACE(sizeof(struct sockaddr_dl))];
+       struct iovec iovec = {
+               .iov_base = bufr,



Home | Main Index | Thread Index | Old Index