head 1.5; access; symbols pkgsrc-2017Q1:1.4.0.34 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.32 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.30 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.28 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.26 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.24 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.22 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.20 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.18 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.16 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.14 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.12 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.10 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.8 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.6 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.8 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.6 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.4 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.1.1.0.10 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.8 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.6 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.4 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.2 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2017.05.24.20.35.12; author adam; state dead; branches; next 1.4; commitid Gfltr6pV0iCvqGSz; 1.4 date 2013.03.26.23.31.49; author joerg; state Exp; branches; next 1.3; 1.3 date 2013.02.10.05.55.08; author manu; state Exp; branches; next 1.2; 1.2 date 2011.11.23.23.31.22; author joerg; state Exp; branches; next 1.1; 1.1 date 2010.07.14.04.46.25; author manu; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.07.14.04.46.25; author manu; state Exp; branches; next ; desc @@ 1.5 log @OpenVPN 2.4.2 Compared to OpenVPN 2.3 this is a major update with a large number of new features, improvements and fixes. Some of the major features are AEAD (GCM) cipher and Elliptic Curve DH key exchange support, improved IPv4/IPv6 dual stack support and more seamless connection migration when client's IP address changes (Peer-ID). Also, the new --tls-crypt feature can be used to increase users' connection privacy. Compared to OpenVPN 2.4.1 there are several bugfixes and small enhancements. A summary of the changes is available in Changes.rst. @ text @$NetBSD: patch-aa,v 1.4 2013/03/26 23:31:49 joerg Exp $ --- Makefile.orig 2009-11-07 05:12:24.000000000 +0100 +++ Makefile 2013-02-09 18:22:49.000000000 +0100 @@@@ -1,14 +1,14 @@@@ -prefix=/usr/pkg -PLUGINDIR=$(prefix)/lib/openvpn -bindir=/usr/local/bin +#prefix=/usr/pkg +PLUGINDIR=${DESTDIR}${OPENVPN_PLUGINSDIR} +bindir=${DESTDIR}${PREFIX}/bin -OPENVPN_SRC=../openvpn-2.1_rc20 -CFLAGS= -Wall -Werror -ansi -g -I$(OPENVPN_SRC) -DBINDIR=\"$(bindir)\" +OPENVPN_SRC=../${OPENVPN_DISTNAME} +CFLAGS= -Wall -Werror -ansi -g -I$(OPENVPN_SRC)/include -DBINDIR=\"$(bindir)\" OPENVPN_GROUP=nobody -LIBTOOL=libtool -INSTALL=install +#LIBTOOL=libtool +#INSTALL=install all: openvpn-acct-wtmpx.la logwtmpx @@@@ -22,10 +22,11 @@@@ logwtmpx: logwtmpx.o $(CC) -o $@@ -lutil $? install: openvpn-acct-wtmpx.la logwtmpx + $(INSTALL) -d -m 0755 $(PLUGINDIR) $(LIBTOOL) --mode=install cp openvpn-acct-wtmpx.la $(PLUGINDIR)/ - $(LIBTOOL) --mode=finish - $(INSTALL) -c -m 4754 -o root -g $(OPENVPN_GROUP) logwtmpx $(bindir)/ + $(INSTALL) -d -m 0755 $(bindir) + $(INSTALL) -c -m 0555 logwtmpx $(bindir)/ clean: rm -rf logwtmpx *.o *.so *.la *.lo .libs @ 1.4 log @Don't call libtool --mode=finish without argument, this will be fatal with the next version. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2013/02/10 05:55:08 manu Exp $ @ 1.3 log @Upgrade OpenVPN to 2.3.0 Bump openvpn-acct-wtmpx to add its licence and to take into account the new location of plugin directory Significant changes since 2.2.x: * Full IPv6 support * SSL layer modularised, enabling easier implementation for other SSL libraries * PolarSSL support as a drop-in replacement for OpenSSL * New plug-in API providing direct certificate access, improved logging API and easier to extend in the future * Added 'dev_type' environment variable to scripts and plug-ins - which is set to 'TUN' or 'TAP' * New feature: --management-external-key - to provide access to the encryption keys via the management interface * New feature: --x509-track option, more fine grained access to X.509 fields in scripts and plug-ins * New feature: --client-nat support * New feature: --mark which can mark encrypted packets from the tunnel, suitable for more advanced routing and firewalling * New feature: --management-query-proxy - manage proxy settings via the management interface (supercedes --http-proxy-fallback) * New feature: --stale-routes-check, which cleans up the internal routing table * New feature: --x509-username-field, where other X.509v3 fields can be used for the authentication instead of Common Name * Improved client-kill management interface command * Improved UTF-8 support - and added --compat-names to provide backwards compatibility with older scripts/plug-ins * Improved auth-pam with COMMONNAME support, passing the certificate's common name in the PAM conversation * More options can now be used inside blocks * Completely new build system, enabling easier cross-compilation and Windows builds * Much of the code has been better documented * Many documentation updates * Plenty of bug fixes and other code clean-ups @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2011/11/23 23:31:22 joerg Exp $ d27 1 a27 1 @@@@ -22,10 +22,12 @@@@ d34 1 a34 1 $(LIBTOOL) --mode=finish @ 1.2 log @Fix unprivileged build. Use SPECIAL_PERMS. Sort PLIST. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- Makefile.orig 2009-11-07 04:12:24.000000000 +0000 +++ Makefile @@@@ -1,13 +1,13 @@@@ d10 1 a10 1 +PLUGINDIR=${DESTDIR}${PREFIX}/lib/openvpn d13 4 a16 2 OPENVPN_SRC=../openvpn-2.1_rc20 CFLAGS= -Wall -Werror -ansi -g -I$(OPENVPN_SRC) -DBINDIR=\"$(bindir)\" d26 3 a28 1 @@@@ -23,9 +23,11 @@@@ logwtmpx: logwtmpx.o @ 1.1 log @Initial revision @ text @d2 1 d4 2 a5 2 +++ Makefile 2010-04-21 17:18:41.000000000 +0000 @@@@ -1,14 +1,14 @@@@ d24 1 a24 3 @@@@ -22,10 +22,12 @@@@ logwtmpx: logwtmpx.o d31 1 d33 1 a33 1 $(INSTALL) -c -m 4754 -o root -g $(OPENVPN_GROUP) logwtmpx $(bindir)/ @ 1.1.1.1 log @This OpenVPN plugin logs VPN logins and logouts in the wtmpx file. Using it, you can have a look of OpenPVN usage by the last(1) command. @ text @@