git: 15f6f743434d - 2026Q2 - security/openvpn: Update to bugfix release 2.7.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jul 2026 20:17:59 UTC
The branch 2026Q2 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=15f6f743434d37eb358d36b64341c5fce9449734
commit 15f6f743434d37eb358d36b64341c5fce9449734
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2026-05-01 06:41:39 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-01 20:17:30 +0000
security/openvpn: Update to bugfix release 2.7.4
Remove --enable-strict option, now unsupported upstream
Changelog: https://github.com/OpenVPN/openvpn/blob/v2.7.4/Changes.rst
Obtained from: GitHub repo
(cherry picked from commit 68035ac676e92b0eeb2965baaae02b6f6d676c11)
---
security/openvpn/Makefile | 4 ++--
security/openvpn/distinfo | 6 +++---
security/openvpn/files/patch-doc_man-sections_generic-options.rst | 4 ++--
security/openvpn/files/patch-tests__t_cltsrv.sh | 6 +++---
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 4edb3e80587d..d3ddda1cb6de 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -1,5 +1,5 @@
PORTNAME= openvpn
-DISTVERSION= 2.7.2
+DISTVERSION= 2.7.4
PORTREVISION?= 0
CATEGORIES= security net net-vpn
MASTER_SITES= https://swupdate.openvpn.org/community/releases/ \
@@ -28,7 +28,7 @@ SHEBANG_FILES= sample/sample-scripts/auth-pam.pl \
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS+= --enable-strict --with-crypto-library=openssl
+CONFIGURE_ARGS+= --with-crypto-library=openssl
# set PLUGIN_LIBDIR so that unqualified plugin paths are found:
CONFIGURE_ENV+= PLUGINDIR="${PREFIX}/lib/openvpn/plugins"
diff --git a/security/openvpn/distinfo b/security/openvpn/distinfo
index bb32bd0d9c76..08cc6a4d4ed6 100644
--- a/security/openvpn/distinfo
+++ b/security/openvpn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1776894161
-SHA256 (openvpn-2.7.2.tar.gz) = 9c3e150a595fc9a375221f2fa9f10524a9c064536cf81c96e3ba66c735b86f26
-SIZE (openvpn-2.7.2.tar.gz) = 2107857
+TIMESTAMP = 1777517989
+SHA256 (openvpn-2.7.4.tar.gz) = 18db05f3d5eee3663db1914590044e5f96ff5cd47b6e7846c6a350806c23dbce
+SIZE (openvpn-2.7.4.tar.gz) = 2092050
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 ccb2493991c4..eb492e0899cf 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-09-22 09:50:37 UTC
+--- doc/man-sections/generic-options.rst.orig 2026-04-25 20:34:09 UTC
+++ doc/man-sections/generic-options.rst
-@@ -513,5 +513,8 @@ --user user
+@@ -473,5 +473,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-tests__t_cltsrv.sh b/security/openvpn/files/patch-tests__t_cltsrv.sh
index e15cfcd807ee..072302214db6 100644
--- a/security/openvpn/files/patch-tests__t_cltsrv.sh
+++ b/security/openvpn/files/patch-tests__t_cltsrv.sh
@@ -1,4 +1,4 @@
---- tests/t_cltsrv.sh.orig 2026-02-04 16:27:00 UTC
+--- tests/t_cltsrv.sh.orig 2026-04-25 20:34:09 UTC
+++ tests/t_cltsrv.sh
@@ -1,7 +1,7 @@
#! /bin/sh
@@ -9,7 +9,7 @@
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
-@@ -23,8 +23,9 @@ openvpn="${openvpn:-${top_builddir}/src/openvpn/openvp
+@@ -21,8 +21,9 @@ openvpn="${openvpn:-${top_builddir}/src/openvpn/openvp
top_srcdir="${top_srcdir:-..}"
top_builddir="${top_builddir:-..}"
openvpn="${openvpn:-${top_builddir}/src/openvpn/openvpn}"
@@ -21,7 +21,7 @@
addopts=
case `uname -s` in
FreeBSD)
-@@ -46,18 +47,38 @@ downscript="../tests/t_cltsrv-down.sh"
+@@ -44,18 +45,38 @@ downscript="../tests/t_cltsrv-down.sh"
# make sure that the --down script is executable -- fail (rather than
# skip) test if it isn't.
downscript="../tests/t_cltsrv-down.sh"