guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4d9caf02ded6dc170a4bf5978612fca5558c0168
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Tue Sep 15 22:04:37 2026 +0200
gnu: Deprecate network-manager-fortisslvpn for network-manager-openconnect.
* gnu/packages/gnome.scm (network-manager-fortisslvpn): Remove, and add
deprecated alias for …
(network-manager-openconnect): … this.
---
gnu/packages/gnome.scm | 76 ++------------------------------------------------
1 file changed, 3 insertions(+), 73 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index daa78a25b5a..5c08ac26eb9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8746,79 +8746,9 @@ Cisco's AnyConnect SSL VPN.")
;; so that 'network-manager-service-type' creates it.
(user-accounts . ("nm-openconnect"))))))
-(define-public network-manager-fortisslvpn
- ;; Use the latest commit from the master branch to gain ppp >= 2.5.0
- ;; support.
- (let ((commit "0296450f9bb8b3f34e0032103a9c5ba359553320")
- (revision "0"))
- (package
- (name "network-manager-fortisslvpn")
- (version (git-version "1.4.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://gitlab.gnome.org/GNOME/NetworkManager-fortisslvpn")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0qgzm60y7kjvsda12m0sckd2v3x4nxf4g9k829sy2sqrmhhai7ws"))
- (modules '((guix build utils)))
- (snippet '(substitute* "Makefile.am"
- ;; Use state directory of the NetworkManager service.
- (("^(fortisslvpn_statedir = ).*" _ head)
- (string-append head "/var/lib/NetworkManager"))
- ;; Do not try to make state directory.
- (("\\$\\(mkinstalldirs).*fortisslvpn_statedir)")
- "true")))))
- (build-system gnu-build-system)
- (arguments
- (list
- #:configure-flags
- #~(list "--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 autoconf
- automake
- intltool
- `(,glib "bin")
- `(,gtk "bin")
- libtool
- libxml2
- pkg-config))
- (inputs
- (list gtk+
- gtk
- kmod
- libnma
- libsecret
- network-manager
- openfortivpn
- 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-deprecated/public-alias network-manager-fortisslvpn
+ network-manager-openconnect)
(define-public network-manager-libreswan
(package