From a84ffd057d14175dfc8e95595a8cd721ab8dc56b Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 18 Jul 2023 17:28:04 +0200 Subject: [PATCH] - updated to 2.6.4 --- openvpn-pam.patch | 10 +++++----- openvpn.spec | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/openvpn-pam.patch b/openvpn-pam.patch index 859e105..71229b6 100644 --- a/openvpn-pam.patch +++ b/openvpn-pam.patch @@ -1,8 +1,8 @@ -diff -urNp openvpn-2.4.0.orig/src/plugins/auth-pam/auth-pam.c openvpn-2.4.0/src/plugins/auth-pam/auth-pam.c ---- openvpn-2.4.0.orig/src/plugins/auth-pam/auth-pam.c 2016-12-26 11:51:00.000000000 +0000 -+++ openvpn-2.4.0/src/plugins/auth-pam/auth-pam.c 2017-02-10 07:39:15.426673734 +0000 -@@ -698,7 +698,7 @@ pam_server(int fd, const char *service, - struct user_pass up; +diff -urN openvpn-2.5.0.org/src/plugins/auth-pam/auth-pam.c openvpn-2.5.0/src/plugins/auth-pam/auth-pam.c +--- openvpn-2.5.0.org/src/plugins/auth-pam/auth-pam.c 2020-10-28 08:25:23.000000000 +0100 ++++ openvpn-2.5.0/src/plugins/auth-pam/auth-pam.c 2020-11-04 08:10:17.559124764 +0100 +@@ -894,7 +894,7 @@ + char ac_file_name[PATH_MAX]; int command; #ifdef USE_PAM_DLOPEN - static const char pam_so[] = "libpam.so"; diff --git a/openvpn.spec b/openvpn.spec index cde373a..92ff202 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -5,12 +5,12 @@ Summary: VPN Daemon Summary(pl.UTF-8): Serwer VPN Name: openvpn -Version: 2.5.7 +Version: 2.6.4 Release: 1 License: GPL v2 Group: Networking/Daemons Source0: http://swupdate.openvpn.net/community/releases/%{name}-%{version}.tar.gz -# Source0-md5: 0715df64dcebc9b49bf301b2e1541ba4 +# Source0-md5: 67475138cef9c464213b7fe0e924b93d Source1: %{name}.init Source2: %{name}.sysconfig Source7: %{name}-update-resolv-conf @@ -191,7 +191,6 @@ fi %files %defattr(644,root,root,755) %doc AUTHORS README* ChangeLog sample/sample-{config-files,keys,scripts} doc/management-notes.txt -%doc *.IPv6 %dir %{_sysconfdir}/openvpn %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} %attr(755,root,root) %{_sbindir}/openvpn -- 2.46.0