mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: Add network-manager-vpnc.
* gnu/packages/gnome.scm (network-manager-vpnc): New variable.
This commit is contained in:
parent
633422b0e6
commit
d376129f0b
1 changed files with 49 additions and 0 deletions
|
@ -5485,6 +5485,55 @@ (define-public network-manager-openvpn
|
|||
(license license:gpl2+)
|
||||
(properties `((upstream-name . "NetworkManager-openvpn")))))
|
||||
|
||||
(define-public network-manager-vpnc
|
||||
(package
|
||||
(name "network-manager-vpnc")
|
||||
(version "1.2.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://gnome/sources/NetworkManager-vpnc/"
|
||||
(version-major+minor version)
|
||||
"/NetworkManager-vpnc-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'configure 'patch-path
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
|
||||
(let* ((vpnc (string-append (assoc-ref inputs "vpnc")
|
||||
"/sbin/vpnc"))
|
||||
(modprobe (string-append (assoc-ref inputs "kmod")
|
||||
"/bin/modprobe"))
|
||||
(pretty-ovpn (string-append "\"" vpnc "\"")))
|
||||
(substitute* "src/nm-vpnc-service.c"
|
||||
(("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
|
||||
(("\"/usr/sbin/vpnc\"") pretty-ovpn)
|
||||
(("\"/sbin/vpnc\"") pretty-ovpn)
|
||||
(("/sbin/modprobe") modprobe)))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("intltool" ,intltool)))
|
||||
(inputs
|
||||
`(("gtk+" ,gtk+)
|
||||
("kmod" ,kmod)
|
||||
("vpnc" ,vpnc)
|
||||
("network-manager" ,network-manager)
|
||||
("network-manager-applet" ,network-manager-applet) ;for libnma
|
||||
("libsecret" ,libsecret)))
|
||||
(home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
|
||||
(synopsis "VPNC plug-in for NetworkManager")
|
||||
(description
|
||||
"Support for configuring virtual private networks based on VPNC.
|
||||
Compatible with Cisco VPN concentrators configured to use IPsec.")
|
||||
(license license:gpl2+)
|
||||
(properties `((upstream-name . "NetworkManager-vpnc")))))
|
||||
|
||||
(define-public mobile-broadband-provider-info
|
||||
(package
|
||||
(name "mobile-broadband-provider-info")
|
||||
|
|
Loading…
Reference in a new issue