GNU bug report logs -
#59644
[PATCH] gnu: Add network-manager-fortisslvpn.
Previous Next
Reported by: Arjan Adriaanse <arjan <at> adriaan.se>
Date: Sun, 27 Nov 2022 21:59:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59644 in the body.
You can then email your comments to 59644 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#59644
; Package
guix-patches
.
(Sun, 27 Nov 2022 21:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arjan Adriaanse <arjan <at> adriaan.se>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 27 Nov 2022 21:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gnome.scm (network-manager-fortisslvpn): New variable.
---
This package can be used as VPN plugin in the NetworkManager service
and its definition is based on the other VPN plugin packages.
gnu/packages/gnome.scm | 62 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f81b44cca2..ec16ae042a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -72,6 +72,7 @@
;;; Copyright © 2022 Leo Nikkilä <hello <at> lnikki.la>
;;; Copyright © 2022 Rene Saavedra <nanuui <at> protonmail.com>
;;; Copyright © 2022 Alexandros Theodotou <alex <at> zrythm.org>
+;;; Copyright © 2022 Arjan Adriaanse <arjan <at> adriaan.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8710,6 +8711,67 @@ (define-public network-manager-openconnect
;; so that 'network-manager-service-type' creates it.
(user-accounts . ("nm-openconnect"))))))
+(define-public network-manager-fortisslvpn
+ (package
+ (name "network-manager-fortisslvpn")
+ (version "1.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://gnome/sources/NetworkManager-fortisslvpn/"
+ (version-major+minor version)
+ "/NetworkManager-fortisslvpn-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1ynsqmv8xz1cffnai4hfh0ab0dmlazpv72krhlsv45mm95iy4mdh"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "Makefile.in"
+ ;; do not try to make state directory
+ (("\\$\\(DESTDIR\\)\\$\\(fortisslvpn_statedir\\)") "")
+ ;; use state directory of the NetworkManager service
+ (("\\$\\(fortisslvpn_statedir\\)")
+ "/var/lib/NetworkManager")))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:configure-flags '("--enable-absolute-paths"
+ "--localstatedir=/var"
+ "--with-gtk4=yes")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'patch-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((ovpn (search-input-file inputs "/bin/openfortivpn"))
+ (pretty-ovpn (string-append "\"" ovpn "\"")))
+ (for-each
+ (lambda (file)
+ (substitute* file
+ (("\"/usr/local/bin/openfortivpn\"") pretty-ovpn)
+ (("\"/usr/bin/openfortivpn\"") pretty-ovpn)))
+ '("src/nm-fortisslvpn-service.c"
+ "properties/nm-fortisslvpn-editor.c"))))))))
+ (native-inputs
+ (list intltool
+ `(,glib "bin")
+ pkg-config))
+ (inputs
+ (list gtk+
+ gtk
+ kmod
+ libnma
+ libsecret
+ network-manager
+ openfortivpn
+ pango-next ;TODO: remove after it's the default
+ ppp))
+ (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
+ (synopsis "Fortinet SSLVPN plug-in for NetworkManager")
+ (description
+ "This extension of NetworkManager allows it to take care of connections
+to virtual private networks (VPNs) via Fortinet SSLVPN.")
+ (license license:gpl2+)
+ (properties `((upstream-name . "NetworkManager-fortisslvpn")))))
+
(define-public mobile-broadband-provider-info
(package
(name "mobile-broadband-provider-info")
base-commit: e75e699ec30fd7d9eab50dd2c98a3a25fe50ffc0
--
2.38.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 05 Dec 2022 16:17:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arjan Adriaanse <arjan <at> adriaan.se>
:
bug acknowledged by developer.
(Mon, 05 Dec 2022 16:17:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 59644-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Arjan Adriaanse <arjan <at> adriaan.se> skribis:
> * gnu/packages/gnome.scm (network-manager-fortisslvpn): New variable.
I passed it through ‘guix style’ and committed. Thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 03 Jan 2023 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.