mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add ocproxy.
* gnu/packages/vpn.scm (ocproxy): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c51e592d6c
commit
01224157b7
1 changed files with 36 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
||||||
|
;;; Copyright © 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -32,9 +33,11 @@ (define-module (gnu packages vpn)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages gnupg)
|
#:use-module (gnu packages gnupg)
|
||||||
|
#:use-module (gnu packages libevent)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
@ -206,6 +209,39 @@ (define-public vpnc-scripts
|
||||||
the entire VPN in a network namespace accessible only through SSH.")
|
the entire VPN in a network namespace accessible only through SSH.")
|
||||||
(license license:gpl2+))))
|
(license license:gpl2+))))
|
||||||
|
|
||||||
|
(define-public ocproxy
|
||||||
|
(package
|
||||||
|
(name "ocproxy")
|
||||||
|
(version "1.60")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/cernekee/ocproxy/archive/v"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1b4rg3xq5jnrp2l14sw0msan8kqhdxmsd7gpw9lkiwvxy13pcdm7"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)))
|
||||||
|
(inputs
|
||||||
|
`(("libevent" ,libevent)))
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'autogen
|
||||||
|
(lambda _ (invoke "sh" "autogen.sh"))))))
|
||||||
|
(home-page "https://github.com/cernekee/ocproxy")
|
||||||
|
(synopsis "OpenConnect proxy")
|
||||||
|
(description
|
||||||
|
"User-level @dfn{SOCKS} and port forwarding proxy for OpenConnect based
|
||||||
|
on LwIP. When using ocproxy, OpenConnect only handles network activity that
|
||||||
|
the user specifically asks to proxy, so the @dfn{VPN} interface no longer
|
||||||
|
\"hijacks\" all network traffic on the host.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public openconnect
|
(define-public openconnect
|
||||||
(package
|
(package
|
||||||
(name "openconnect")
|
(name "openconnect")
|
||||||
|
|
Loading…
Reference in a new issue