Version 1.0.33 released. Allow compilation from a build directory. Source code cleanups. Fix some options specified on the command line not surviving a HUP signal. Handle tun/tap device returning EPERM or EBUSY. Disable PMTUDiscovery when TCPOnly is used. Support the —runstatedir option of the autoconf 2.70.
Port changes: - "patch-doc_tinc_texi" committed upstream. - "Using $< in a non-suffix rule context is a GNUmake idiom (Makefile:840)" enable USE_GMAKE. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/net/tinc/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile 4 Oct 2017 20:51:36 -0000 1.4 +++ Makefile 15 Dec 2017 19:56:36 -0000 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.4 2017/10/04 20:51:36 rsadowski Exp $ COMMENT = Virtual Private Network (VPN) daemon -DISTNAME = tinc-1.0.32 +DISTNAME = tinc-1.0.33 CATEGORIES = net security HOMEPAGE = https://www.tinc-vpn.org/ @@ -22,8 +22,7 @@ CONFIGURE_STYLE = gnu CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -post-extract: - cd ${WRKSRC}/doc && tar xzf sample-config.tar.gz +USE_GMAKE = Yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc Index: distinfo =================================================================== RCS file: /cvs/ports/net/tinc/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 4 Oct 2017 20:51:36 -0000 1.4 +++ distinfo 15 Dec 2017 19:56:36 -0000 @@ -1,2 +1,2 @@ -SHA256 (tinc-1.0.32.tar.gz) = TbJP6v+NtLu37bekuPX47cObJutf7MyZ6OZ6aWDAVYc= -SIZE (tinc-1.0.32.tar.gz) = 496221 +SHA256 (tinc-1.0.33.tar.gz) = f29dxkRLxlGsY1yB9HRbzOWBu9HUXtYMvcTuEb67EPQ= +SIZE (tinc-1.0.33.tar.gz) = 486374 Index: patches/patch-doc_sample-config_tinc_conf =================================================================== RCS file: patches/patch-doc_sample-config_tinc_conf diff -N patches/patch-doc_sample-config_tinc_conf --- patches/patch-doc_sample-config_tinc_conf 3 Nov 2015 20:07:47 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ -$OpenBSD: patch-doc_sample-config_tinc_conf,v 1.1.1.1 2015/11/03 20:07:47 sthen Exp $ ---- doc/sample-config/tinc.conf.orig Mon Nov 2 21:58:56 2015 -+++ doc/sample-config/tinc.conf Mon Nov 2 21:59:17 2015 -@@ -16,7 +16,7 @@ Name = alpha - ConnectTo = beta - - # The tap device tinc will use. --# Default is /dev/tap0 for ethertap or FreeBSD, --# /dev/tun0 for Solaris and OpenBSD, --# and /dev/net/tun for Linux tun/tap device. --Device = /dev/net/tun -+# /dev/tap0 for ethertap, FreeBSD or OpenBSD -+# /dev/tun0 for Solaris -+# /dev/net/tun for Linux tun/tap -+Device = /dev/tap0 Index: patches/patch-doc_tinc_texi =================================================================== RCS file: /cvs/ports/net/tinc/patches/patch-doc_tinc_texi,v retrieving revision 1.4 diff -u -p -u -p -r1.4 patch-doc_tinc_texi --- patches/patch-doc_tinc_texi 4 Oct 2017 20:51:36 -0000 1.4 +++ patches/patch-doc_tinc_texi 15 Dec 2017 19:56:36 -0000 @@ -2,7 +2,7 @@ $OpenBSD: patch-doc_tinc_texi,v 1.4 2017 Index: doc/tinc.texi --- doc/tinc.texi.orig +++ doc/tinc.texi -@@ -2071,7 +2071,7 @@ In switch or hub modes ARP does work so the sender alr +@@ -2075,7 +2075,7 @@ In switch or hub modes ARP does work so the sender alr In those modes every interface should have a unique MAC address, so make sure they are not the same. Because switch and hub modes rely on MAC addresses to function correctly, these modes cannot be used on the following operating systems which don't have a `tap' style virtual network device: @@ -11,7 +11,7 @@ Index: doc/tinc.texi @c ================================================================== -@@ -2498,8 +2498,6 @@ For IPv6 addresses: +@@ -2502,8 +2502,6 @@ For IPv6 addresses: On some platforms, when running tinc in switch mode, the VPN interface must be set to tap mode with an ifconfig command: @multitable {Darwin (Mac OS X)} {ifconfig route add -bla network address netmask netmask prefixlength interface}