aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'security/openvpn')
-rw-r--r--security/openvpn/Makefile5
-rw-r--r--security/openvpn/distinfo6
-rw-r--r--security/openvpn/files/patch-doc_man-sections_generic-options.rst4
-rw-r--r--security/openvpn/files/patch-doc_tests_authentication-plugins.md11
-rw-r--r--security/openvpn/files/patch-sample__sample-config-files__loopback-server12
-rw-r--r--security/openvpn/files/patch-sample_sample-config-files_server.conf21
-rw-r--r--security/openvpn/files/patch-sample_sample-plugins_keying-material-exporter-demo_server.ovpn11
7 files changed, 9 insertions, 61 deletions
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 7c44e64f7dba..4a04c1934186 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -1,6 +1,6 @@
PORTNAME= openvpn
-DISTVERSION= 2.6.14
-PORTREVISION?= 1
+DISTVERSION= 2.6.15
+PORTREVISION?= 0
CATEGORIES= security net net-vpn
MASTER_SITES= https://swupdate.openvpn.org/community/releases/ \
https://build.openvpn.net/downloads/releases/ \
@@ -105,7 +105,6 @@ pre-everything::
.endif
post-patch:
- ${RM} sample/sample-keys/dh2048.pem # no longer needed
${REINPLACE_CMD} -E -i '' -e 's/(user|group) nobody/\1 openvpn/' \
-e 's/"nobody"( after init)/"openvpn" \1/' \
${WRKSRC}/sample/sample-config-files/*.conf \
diff --git a/security/openvpn/distinfo b/security/openvpn/distinfo
index 9274b1ed493c..514208b4bb7b 100644
--- a/security/openvpn/distinfo
+++ b/security/openvpn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1743554391
-SHA256 (openvpn-2.6.14.tar.gz) = 9eb6a6618352f9e7b771a9d38ae1631b5edfeed6d40233e243e602ddf2195e7a
-SIZE (openvpn-2.6.14.tar.gz) = 1926343
+TIMESTAMP = 1758657418
+SHA256 (openvpn-2.6.15.tar.gz) = e35513ee15995e3c71adfd8891b9f33522896c70b3baa2ed9a23c7a42c4d7bde
+SIZE (openvpn-2.6.15.tar.gz) = 1917742
diff --git a/security/openvpn/files/patch-doc_man-sections_generic-options.rst b/security/openvpn/files/patch-doc_man-sections_generic-options.rst
index 28c93860b329..ccb2493991c4 100644
--- a/security/openvpn/files/patch-doc_man-sections_generic-options.rst
+++ b/security/openvpn/files/patch-doc_man-sections_generic-options.rst
@@ -1,6 +1,6 @@
---- doc/man-sections/generic-options.rst.orig 2025-04-02 06:53:10 UTC
+--- doc/man-sections/generic-options.rst.orig 2025-09-22 09:50:37 UTC
+++ doc/man-sections/generic-options.rst
-@@ -514,5 +514,8 @@ --user user
+@@ -513,5 +513,8 @@ --user user
since it is usually used by other system services already. Always
create a dedicated user for openvpn.
diff --git a/security/openvpn/files/patch-doc_tests_authentication-plugins.md b/security/openvpn/files/patch-doc_tests_authentication-plugins.md
deleted file mode 100644
index d680c64019f7..000000000000
--- a/security/openvpn/files/patch-doc_tests_authentication-plugins.md
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/tests/authentication-plugins.md.orig 2025-04-02 06:53:10 UTC
-+++ doc/tests/authentication-plugins.md
-@@ -36,7 +36,7 @@ To build the needed authentication plug-in, run:
- verb 4
- dev tun
- server 10.8.0.0 255.255.255.0
-- dh sample/sample-keys/dh2048.pem
-+ dh none
- ca sample/sample-keys/ca.crt
- cert sample/sample-keys/server.crt
- key sample/sample-keys/server.key
diff --git a/security/openvpn/files/patch-sample__sample-config-files__loopback-server b/security/openvpn/files/patch-sample__sample-config-files__loopback-server
index 3eac712d9054..06b3eb9f184d 100644
--- a/security/openvpn/files/patch-sample__sample-config-files__loopback-server
+++ b/security/openvpn/files/patch-sample__sample-config-files__loopback-server
@@ -1,6 +1,6 @@
---- sample/sample-config-files/loopback-server.orig 2025-04-02 06:53:10 UTC
+--- sample/sample-config-files/loopback-server.orig 2025-09-22 09:50:37 UTC
+++ sample/sample-config-files/loopback-server
-@@ -9,15 +9,15 @@
+@@ -9,8 +9,8 @@
# ./openvpn --config sample-config-files/loopback-client (In one window)
# ./openvpn --config sample-config-files/loopback-server (Simultaneously in another window)
@@ -11,11 +11,3 @@
remote localhost
local localhost
dev null
- verb 3
- reneg-sec 10
- tls-server
--dh sample-keys/dh2048.pem
-+dh none
- ca sample-keys/ca.crt
- key sample-keys/server.key
- cert sample-keys/server.crt
diff --git a/security/openvpn/files/patch-sample_sample-config-files_server.conf b/security/openvpn/files/patch-sample_sample-config-files_server.conf
deleted file mode 100644
index ba2194589405..000000000000
--- a/security/openvpn/files/patch-sample_sample-config-files_server.conf
+++ /dev/null
@@ -1,21 +0,0 @@
---- sample/sample-config-files/server.conf.orig 2025-04-02 06:53:10 UTC
-+++ sample/sample-config-files/server.conf
-@@ -87,11 +87,6 @@ key server.key # This file should be kept secret
- cert server.crt
- key server.key # This file should be kept secret
-
--# Diffie hellman parameters.
--# Generate your own with:
--# openssl dhparam -out dh2048.pem 2048
--dh dh2048.pem
--
- # Allow to connect to really old OpenVPN versions
- # without AEAD support (OpenVPN 2.3.x or older)
- # This adds AES-256-CBC as fallback cipher and
-@@ -307,4 +302,4 @@ verb 3
-
- # Notify the client that when the server restarts so it
- # can automatically reconnect.
--explicit-exit-notify 1
-\ No newline at end of file
-+explicit-exit-notify 1
diff --git a/security/openvpn/files/patch-sample_sample-plugins_keying-material-exporter-demo_server.ovpn b/security/openvpn/files/patch-sample_sample-plugins_keying-material-exporter-demo_server.ovpn
deleted file mode 100644
index 2ff14e611905..000000000000
--- a/security/openvpn/files/patch-sample_sample-plugins_keying-material-exporter-demo_server.ovpn
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample/sample-plugins/keying-material-exporter-demo/server.ovpn.orig 2025-04-02 06:53:10 UTC
-+++ sample/sample-plugins/keying-material-exporter-demo/server.ovpn
-@@ -8,7 +8,7 @@ key ../../sample-keys/server.key
- ca ../../sample-keys/ca.crt
- cert ../../sample-keys/server.crt
- key ../../sample-keys/server.key
--dh ../../sample-keys/dh2048.pem
-+dh none
-
- server 10.8.0.0 255.255.255.0
- port 1194