-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";
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
%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