Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openfortivpn for openSUSE:Factory 
checked in at 2024-11-30 13:31:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openfortivpn (Old)
 and      /work/SRC/openSUSE:Factory/.openfortivpn.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openfortivpn"

Sat Nov 30 13:31:43 2024 rev:30 rq:1227387 version:1.22.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/openfortivpn/openfortivpn.changes        
2024-07-02 18:19:32.238198093 +0200
+++ /work/SRC/openSUSE:Factory/.openfortivpn.new.28523/openfortivpn.changes     
2024-11-30 13:31:44.443439072 +0100
@@ -1,0 +2,8 @@
+Fri Nov 29 22:16:30 UTC 2024 - Richard Rahl <[email protected]>
+
+- fix an issue where an error happened with certificate logins for
+  FortiOS 7.4.4 by adding fix-certificate-login-error.patch
+- fix SLE12
+- use pkgconfig for devel packages
+
+-------------------------------------------------------------------

New:
----
  fix-certificate-login-error.patch

BETA DEBUG BEGIN:
  New:- fix an issue where an error happened with certificate logins for
  FortiOS 7.4.4 by adding fix-certificate-login-error.patch
- fix SLE12
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openfortivpn.spec ++++++
--- /var/tmp/diff_new_pack.tDwift/_old  2024-11-30 13:31:45.867498386 +0100
+++ /var/tmp/diff_new_pack.tDwift/_new  2024-11-30 13:31:45.871498552 +0100
@@ -23,14 +23,15 @@
 License:        GPL-3.0-or-later
 Group:          Productivity/Networking/Security
 URL:            https://github.com/adrienverge/openfortivpn
-Source0:        
https://github.com/adrienverge/openfortivpn/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         [email protected]
 Patch1:         openfortivpn-fix-usr-bin-env.patch
+Patch2:         
https://github.com/adrienverge/openfortivpn/commit/a6fe5cbd57a754cf46942642c57dae452e07c852.patch#/fix-certificate-login-error.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  openssl-devel
+BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(systemd)
 Requires:       ppp
-BuildRequires:  systemd-devel
 
 %description
 openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns a pppd
@@ -42,6 +43,9 @@
 %autosetup -p1
 
 %build
+%if 0%{?suse_version} < 1500
+export CFLAGS="%{optflags} -std=gnu99"
+%endif
 autoreconf -fiv
 %configure \
     --with-systemdsystemunitdir=%{_unitdir}

++++++ fix-certificate-login-error.patch ++++++
>From a6fe5cbd57a754cf46942642c57dae452e07c852 Mon Sep 17 00:00:00 2001
From: Voriaz <[email protected]>
Date: Mon, 22 Jul 2024 13:30:16 +0000
Subject: [PATCH] Patch certificate login error for FortiOS 7.4.4

---
 src/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http.c b/src/http.c
index 80322894..4a202ae3 100644
--- a/src/http.c
+++ b/src/http.c
@@ -651,7 +651,7 @@ int auth_log_in(struct tunnel *tunnel)
        tunnel->cookie[0] = '\0';
 
        if (username[0] == '\0' && tunnel->config->password[0] == '\0') {
-               snprintf(data, sizeof(data), "cert=&nup=1");
+               snprintf(data, sizeof(data), "");
                ret = http_request(tunnel, "GET", "/remote/login",
                                   data, &res, &response_size);
        } else {

Reply via email to