Package Details: openfortigui 0.9.8-1

Git Clone URL: https://aur.archlinux.org/openfortigui.git (read-only, click to copy)
Package Base: openfortigui
Description: OpenFortiGUI is an open-source VPN-Client to connect to Fortigate VPN-Hardware. It is based on openfortivpn and adds an easy to use and nice GUI on top of it, written in Qt5.
Upstream URL: https://github.com/theinvisible/openfortigui.git
Licenses: GPL3
Submitter: macfly
Maintainer: macfly
Last Packager: macfly
Votes: 17
Popularity: 0.158980
First Submitted: 2018-01-03 19:14 (UTC)
Last Updated: 2022-11-25 10:06 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

macfly commented on 2022-11-25 10:10 (UTC)

Updated to 0.9.8-1

pad commented on 2022-11-24 10:15 (UTC) (edited on 2022-11-24 10:21 (UTC) by pad)

updated PKGBUILD for 0.9.8-1

diff --git a/PKGBUILD b/PKGBUILD
index 5faf16f..9d32286 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
 # Maintainer: Charles Delfly <charles@delfly.fr>
 pkgname=openfortigui
-pkgver=0.9.6
+pkgver="0.9.8"
 pkgrel=1
 pkgdesc="OpenFortiGUI is an open-source VPN-Client to connect to Fortigate VPN-Hardware. It is based on openfortivpn and adds an easy to use and nice GUI on top of it, written in Qt5."
 arch=('i686' 'x86_64')
 url="https://github.com/theinvisible/openfortigui.git"
 license=('GPL3')
 groups=()
-depends=('qt5-base' 'qtkeychain' 'qt5-translations' 'openssl' 'ppp' 'sudo')
+depends=('qt5-base' 'qtkeychain' 'qt5-translations' 'openssl-1.1' 'ppp' 'sudo')
 makedepends=('git')
 provides=()
 conflicts=()
 replaces=()
 options=()
 install=
-source=("git+https://github.com/theinvisible/$pkgname.git#tag=v$pkgver" "user-env.patch")
+source=("git+https://github.com/theinvisible/$pkgname.git#tag=v$pkgver-$pkgrel" "user-env.patch")
 noextract=()
 md5sums=('SKIP' '7f1e96dea4ce324b59b8190640f22c43')

zeroconf commented on 2022-11-05 23:11 (UTC)

Possibly newer version of OpenFortiGUI will help - https://github.com/theinvisible/openfortigui/tags - currently 0.9.8 is out.

zeroconf commented on 2022-11-05 23:06 (UTC) (edited on 2022-11-05 23:06 (UTC) by zeroconf)

Due to recent OpenSSL upgrade, libraries, files have been changed. Hopefully can you fix also openfortigui and its dependencies accordingly.

When trying to run openfortigui:

openfortigui: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

when searching

find /usr/ -type f -iname "*libcrypto.so*"

/usr/lib32/libcrypto.so.3
/usr/lib/libcrypto.so.3

There should be not made any manual intervention but I tried and did not succeed. Luckily those symlinks can be easily deleted again.

Then I made symlink

cd /usr/lib/
sudo ln -s libcrypto.so.3 libcrypto.so.1.1

Next missing thing:

openfortigui: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Searching again

find /usr/ -type f -iname "*libssl.so*"

/usr/lib32/libssl.so.3
/usr/lib/libssl.so.3

... symlinking again:

cd /usr/lib/
sudo ln -s libssl.so.3 libssl.so.1.1

Finally I have

LC_ALL=C ll /usr/lib/libssl*
lrwxrwxrwx 1 root root     11 Nov  1 20:21 /usr/lib/libssl.so -> libssl.so.3
-rwxr-xr-x 1 root root 420208 Oct 14 12:34 /usr/lib/libssl3.so
lrwxrwxrwx 1 root root     11 Nov  6 00:41 /usr/lib/libssl.so.1.1 -> libssl.so.3
-rwxr-xr-x 1 root root 651008 Nov  1 20:21 /usr/lib/libssl.so.3

LC_ALL=C ll /usr/lib/libcrypto*
lrwxrwxrwx 1 root root      14 Nov  1 20:21 /usr/lib/libcrypto.so -> libcrypto.so.3
lrwxrwxrwx 1 root root      14 Nov  6 00:42 /usr/lib/libcrypto.so.1.1 -> libcrypto.so.3
-rwxr-xr-x 1 root root 4484080 Nov  1 20:21 /usr/lib/libcrypto.so.3

We have also:

LC_ALL=C ll /usr/lib/libcrypt*
lrwxrwxrwx 1 root root      17 Nov  1 21:22 /usr/lib/libcrypt.so -> libcrypt.so.2.0.0
lrwxrwxrwx 1 root root      14 Nov  1 20:21 /usr/lib/libcrypto.so -> libcrypto.so.3
lrwxrwxrwx 1 root root      14 Nov  6 00:42 /usr/lib/libcrypto.so.1.1 -> libcrypto.so.3
-rwxr-xr-x 1 root root 4484080 Nov  1 20:21 /usr/lib/libcrypto.so.3
lrwxrwxrwx 1 root root      23 Nov  1 14:48 /usr/lib/libcryptsetup.so -> libcryptsetup.so.12.8.0
lrwxrwxrwx 1 root root      23 Nov  1 14:48 /usr/lib/libcryptsetup.so.12 -> libcryptsetup.so.12.8.0
-rwxr-xr-x 1 root root  513184 Nov  1 14:48 /usr/lib/libcryptsetup.so.12.8.0
lrwxrwxrwx 1 root root      17 Nov  1 21:22 /usr/lib/libcrypt.so.1 -> libcrypt.so.1.1.0
-rwxr-xr-x 1 root root  182208 Nov  1 21:22 /usr/lib/libcrypt.so.1.1.0
lrwxrwxrwx 1 root root      17 Nov  1 21:22 /usr/lib/libcrypt.so.2 -> libcrypt.so.2.0.0
-rwxr-xr-x 1 root root  165824 Nov  1 21:22 /usr/lib/libcrypt.so.2.0.0

Then after trying to run openfortigui, there will be messages:

openfortigui: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_0' not found (required by openfortigui)
openfortigui: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by openfortigui)

It seems that such trick does not work. No more ideas. Sounds like it needs a fix against new OpenSSL libraries. So, I deleted those symlinks again:

sudo rm /usr/lib/libssl.so.1.1
sudo rm /usr/lib/libcrypto.so.1.1

We have after OpenSSL upgrade: openssl 3.0.7-2

Searched a bit:

Thank you for fixing openfortigui dependencies!

codezero commented on 2022-03-14 15:54 (UTC) (edited on 2022-03-14 15:56 (UTC) by codezero)

I attempted today, still same error. Tried clearing install cache, dependencies and all. Still same result. I'm using openfortivpn on terminal while understanding why is not installing.

macfly commented on 2022-03-13 09:06 (UTC)

@codezero bits/strings_fortified.h is part of glibc so error seems strange, I've retried to build the package with last glibc 2.35-2 without issue.

codezero commented on 2022-03-11 16:32 (UTC)

Package install failure:

/usr/include/strings.h:144:12: fatal error: bits/strings_fortified.h: No such file or directory 144 | # include <bits/strings_fortified.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: [Makefile:1061: main.o] Error 1 make[1]: Leaving directory '/home/cz/.cache/yay/openfortigui/src/openfortigui/openfortigui' make: [Makefile:47: sub-openfortigui-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: openfortigui

GeBo commented on 2021-02-20 16:46 (UTC)

@jvybihal: Thanks! Removing make clean from PKGBUILD and then run makepkg did the trick.

jvybihal commented on 2021-02-20 12:45 (UTC)

@macfly I think you should not call make clean before qmake since in this stage, makefile does not exist yet:

==> Sources are ready.
==> Making package: openfortigui 0.9.3-1 (Sat 20 Feb 2021 01:40:13 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
make: *** No rule to make target 'clean'.  Stop.
==> ERROR: A failure occurred in build().
    Aborting...
error making: openfortigui

And since the makefile is generated, it feels arbitrary to include make clean at all.