Package Details: openfortigui 0.9.10-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://hadler.me/linux/openfortigui/
Licenses: GPL3
Submitter: macfly
Maintainer: macfly
Last Packager: macfly
Votes: 22
Popularity: 0.003417
First Submitted: 2018-01-03 19:14 (UTC)
Last Updated: 2024-03-19 09:14 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

elliotwutingfeng commented on 2020-09-02 03:47 (UTC)

Same here, changing to Exec=openfortigui in /usr/share/applications/openfortigui.desktop fixes the non-working desktop shortcut bug.

mihaib commented on 2020-08-04 08:37 (UTC)

I agree with aborigines but:

If I use Exec=/usr/bin/openfortigui it does not work but if I only use Exec=openfortigui it works...

aborigines commented on 2020-07-09 01:30 (UTC) (edited on 2020-07-09 01:34 (UTC) by aborigines)

hi macfly

in user-env.patch this line is wrong

Exec=/usr/bin/sudo /usr/bin/openfortigui

should be

Exec=/usr/bin/openfortigui

ps. after update can't start openfortigui with the menu

aminvakil commented on 2020-06-24 14:37 (UTC)

Sorry, I'd upgraded my Arch and haven't reboot, after a reboot it got fixed, one of these packages broke the compilation.

upgraded systemd-libs (245.6-7 -> 245.6-8)
upgraded lib32-libelf (0.179-1 -> 0.180-1)
upgraded rsync (3.2.0-1 -> 3.2.1-1)
upgraded systemd (245.6-7 -> 245.6-8)
upgraded systemd-sysvcompat (245.6-7 -> 245.6-8)

jvybihal commented on 2020-06-24 11:08 (UTC)

I just want to say thanks. Upgraded to new version with no issues. No problem with compilation.

aminvakil commented on 2020-06-24 10:54 (UTC)

And these:

proc/vpnworker.cpp: In function ‘int pppd_run(tunnel*)’:
<command-line>: error: expected primary-expression before ‘/’ token
proc/vpnworker.cpp:173:36: note: in expansion of macro ‘PPP_PATH’
  173 |     static const char ppp_path[] = PPP_PATH;
      |                                    ^~~~~~~~
<command-line>: error: ‘usr’ was not declared in this scope
proc/vpnworker.cpp:173:36: note: in expansion of macro ‘PPP_PATH’
  173 |     static const char ppp_path[] = PPP_PATH;
      |                                    ^~~~~~~~
<command-line>: error: ‘sbin’ was not declared in this scope
proc/vpnworker.cpp:173:36: note: in expansion of macro ‘PPP_PATH’
  173 |     static const char ppp_path[] = PPP_PATH;
      |                                    ^~~~~~~~
<command-line>: error: ‘pppd’ was not declared in this scope
proc/vpnworker.cpp:173:36: note: in expansion of macro ‘PPP_PATH’
  173 |     static const char ppp_path[] = PPP_PATH;
      |                                    ^~~~~~~~

aminvakil commented on 2020-06-24 10:53 (UTC)

Thanks on updating!

Although it gives me these errors:

openfortivpn/src/userinput.c: In function ‘read_password’:
openfortivpn/src/userinput.c:322:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  322 |  for (i = 0; i < len; i++) {
      |                ^
openfortivpn/src/tunnel.c: In function ‘pppd_run’:
<command-line>: error: expected expression before ‘/’ token

make: *** [Makefile:47: sub-openfortigui-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

macfly commented on 2020-06-24 10:47 (UTC)

Add in version 0.9.0-2 suggestion from @aminvakil (remove -j option in make, fix sudoers.d permission, update desktop file) and @aborigines (Update sudo group to be wheel).

aminvakil commented on 2020-03-20 18:48 (UTC) (edited on 2020-03-20 18:53 (UTC) by aminvakil)

Just a couple of things I thought can be used to improve this package, if I'm wrong on any of them, please excuse me:

1) Hard-coding number of threads in make isn't something useful, I think it should either be make or make -j$(nproc), the first one leaves to the user if he has changed all its make to use another number of threads or not and the second one just uses all threads to build the package, either way make -j4 isn't useful.

2) By default /etc/sudoers.d permissions is 640 and if you change its permission after mkdir its folder, it would prevent warning saying:

"warning: directory permissions differ on /etc/sudoers.d/ filesystem: 750 package: 755".

3) As it doesn't work without adding a line from patch to /etc/sudoers.d and it should be run from terminal using sudo, having a file in /usr/share/applications which doesn't work is useless, so I suggest changing Exec line from:

Exec=/usr/bin/openfortigui

to

Exec=/usr/bin/sudo /usr/bin/openfortigui

in /usr/share/applications/openfortigui.desktop.