|
From: <abe...@us...> - 2017-03-23 20:49:25
|
Revision: 8225
http://sourceforge.net/p/astlinux/code/8225
Author: abelbeck
Date: 2017-03-23 20:49:22 +0000 (Thu, 23 Mar 2017)
Log Message:
-----------
openvpn, version bump to 2.4.1, add rc.conf variable OVPNC_REMOTE_CERT_TLS to replace deprecated OVPNC_NSCERTTYPE variable
Modified Paths:
--------------
branches/1.0/package/openvpn/openvpn.mk
branches/1.0/package/openvpn/openvpnclient.init
branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf
Modified: branches/1.0/package/openvpn/openvpn.mk
===================================================================
--- branches/1.0/package/openvpn/openvpn.mk 2017-03-23 14:39:59 UTC (rev 8224)
+++ branches/1.0/package/openvpn/openvpn.mk 2017-03-23 20:49:22 UTC (rev 8225)
@@ -4,7 +4,7 @@
#
#############################################################
-OPENVPN_VERSION = 2.4.0
+OPENVPN_VERSION = 2.4.1
OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
OPENVPN_DEPENDENCIES = host-pkg-config openssl
Modified: branches/1.0/package/openvpn/openvpnclient.init
===================================================================
--- branches/1.0/package/openvpn/openvpnclient.init 2017-03-23 14:39:59 UTC (rev 8224)
+++ branches/1.0/package/openvpn/openvpnclient.init 2017-03-23 20:49:22 UTC (rev 8225)
@@ -84,6 +84,9 @@
if [ -n "$OVPNC_NSCERTTYPE" ]; then
echo "ns-cert-type $OVPNC_NSCERTTYPE" >> /tmp/etc/openvpnclient.conf
fi
+ if [ -n "$OVPNC_REMOTE_CERT_TLS" ]; then
+ echo "remote-cert-tls $OVPNC_REMOTE_CERT_TLS" >> /tmp/etc/openvpnclient.conf
+ fi
# Static settings -- fine for most users
echo "# Static settings
Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2017-03-23 14:39:59 UTC (rev 8224)
+++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2017-03-23 20:49:22 UTC (rev 8225)
@@ -708,8 +708,10 @@
#OVPNC_AUTH="SHA256"
## Enable User/Pass authentication using space separated user & pass"
#OVPNC_USER_PASS="user pass"
-## Define ns-cert-type if set
+## Define ns-cert-type if set (deprecated as of OpenVPN 2.4.1, to be removed with 2.5.x)
#OVPNC_NSCERTTYPE="server"
+## Define remote-cert-tls if set
+#OVPNC_REMOTE_CERT_TLS="server"
## Allow OpenVPN Client tunnel to LAN Interface(s), defaults to disallow.
## Use "INTIF" for 1st, "INT2IF" for 2nd, "INT3IF" for 3rd, or "INT4IF" for 4th Internal Interface, space separated for multiple
## Note: OpenVPN Client tunnel to DMZ Interface is allowed.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|