commit 1f151bf6fbb4bf9b43a15a97cc6f4fa89231cc1c
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Wed Nov 4 08:16:31 2020 +0100

    - up to 2.5.0

 openvpn-pam.patch | 9 +++++----
 openvpn.spec      | 7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/openvpn.spec b/openvpn.spec
index a082cf2..8b1672d 100644
--- a/openvpn.spec
+++ b/openvpn.spec
@@ -6,12 +6,12 @@
 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
@@ -158,10 +158,11 @@ CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags liblz4)"
        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}
diff --git a/openvpn-pam.patch b/openvpn-pam.patch
index 46f3f63..71229b6 100644
--- a/openvpn-pam.patch
+++ b/openvpn-pam.patch
@@ -1,7 +1,8 @@
---- 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";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvpn.git/commitdiff/1f151bf6fbb4bf9b43a15a97cc6f4fa89231cc1c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to