---- openvpn-2.4.0/src/plugins/auth-pam/auth-pam.c~ 2016-12-26 12:51:00.000000000 +0100
-+++ openvpn-2.4.0/src/plugins/auth-pam/auth-pam.c 2016-12-29 23:25:05.328832460 +0100
-@@ -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.4.9
+Version: 2.5.0
Release: 1
License: GPL v2
Group: Networking/Daemons
Source0: https://build.openvpn.net/downloads/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 446df6dc29364d00929ea9c725412cb8
+# Source0-md5: ba426e2217833b522810d6c06f7cc8f7
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.tmpfiles
ac_cv_socket_socket=no \
ac_cv_resolv_gethostbyname=no \
--enable-iproute2 \
- --enable-password-save \
%{?with_pkcs11:--enable-pkcs11} \
+ --enable-async-push \
--enable-selinux \
--enable-systemd \
+ --enable-x509-alt-username \
--with-crypto-library=openssl
%{__make}