summaryrefslogtreecommitdiff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-19 12:24:04 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-19 12:35:17 +0200
commitc85ed0e758d7fa230c08dba6b95c65ceac098d50 (patch)
treeb3440719c4f93ee64cd45afc71c966673f733c29 /gnu/packages/networking.scm
parente93f6b693b5b328a2fa6d03da26ff5ad7a7926a0 (diff)
downloadguix-patches-c85ed0e758d7fa230c08dba6b95c65ceac098d50.tar
guix-patches-c85ed0e758d7fa230c08dba6b95c65ceac098d50.tar.gz
gnu: Move strongswan to (gnu packages vpn).
See <https://logs.guix.gnu.org/guix/2021-06-19.log#015517>. * gnu/packages/networking.scm (strongswan): Move from here… * gnu/packages/vpn.scm (strongswan): …to here.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm128
1 files changed, 0 insertions, 128 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3f7511dece..fc8467f668 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -43,7 +43,6 @@
;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
-;;; Copyright © 2021 Domagoj Stolfa <ds815@gmx.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2849,133 +2848,6 @@ It then continually measures the response time and packet loss at each hop, and
displays the results in real time.")
(license license:gpl2+)))
-(define-public strongswan
- (package
- (name "strongswan")
- (version "5.9.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://download.strongswan.org/strongswan-"
- version ".tar.bz2"))
- (sha256
- (base32 "0qxhbash2nyh5k2h9zcysgwv61512w1wxk5plyai4b6v3rs2ziv1"))))
- (build-system gnu-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch-command-file-names
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/libstrongswan/utils/process.c"
- (("/bin/sh")
- (string-append (assoc-ref inputs "bash") "/bin/sh")))
-
- (substitute* "src/libstrongswan/tests/suites/test_process.c"
- (("/bin/sh") (which "sh"))
- (("/bin/echo") (which "echo"))
- (("cat") (which "cat")))
- #t))
- (add-before 'check 'set-up-test-environment
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
- "/share/zoneinfo"))
- #t)))
- #:configure-flags
- (list
- "--disable-ldap"
- "--disable-mysql"
- "--disable-systemd"
-
- ;; Disable BSD-4 licensed plugins.
- "--disable-blowfish"
- "--disable-des"
-
- ;; Make it usable. The default configuration is far too minimal to be
- ;; used with most common VPN set-ups.
- ;; See <https://wiki.strongswan.org/projects/strongswan/wiki/Autoconf>.
- "--enable-aesni"
- "--enable-attr-sql"
- "--enable-chapoly"
- "--enable-curl"
- "--enable-dhcp"
- "--enable-eap-aka"
- "--enable-eap-aka-3gpp"
- "--enable-eap-dynamic"
- "--enable-eap-identity"
- "--enable-eap-md5"
- "--enable-eap-mschapv2"
- "--enable-eap-peap"
- "--enable-eap-radius"
- "--enable-eap-sim"
- "--enable-eap-sim-file"
- "--enable-eap-simaka-pseudonym"
- "--enable-eap-simaka-reauth"
- "--enable-eap-simaka-sql"
- "--enable-eap-tls"
- "--enable-eap-tnc"
- "--enable-eap-ttls"
- "--enable-ext-auth"
- "--enable-farp"
- "--enable-ha"
- "--enable-led"
- "--enable-md4"
- "--enable-mediation"
- "--enable-openssl"
- "--enable-soup"
- "--enable-sql"
- "--enable-sqlite"
- "--enable-xauth-eap"
- "--enable-xauth-noauth"
- "--enable-xauth-pam"
-
- ;; Use libcap by default.
- "--with-capabilities=libcap")))
- (inputs
- `(("curl" ,curl)
- ("gmp" ,gmp)
- ("libcap" ,libcap)
- ("libgcrypt" ,libgcrypt)
- ("libsoup" ,libsoup)
- ("linux-pam" ,linux-pam)
- ("openssl" ,openssl)))
- (native-inputs
- `(("coreutils" ,coreutils)
- ("pkg-config" ,pkg-config)
- ("tzdata" ,tzdata-for-tests)))
- (synopsis "IKEv1/v2 keying daemon")
- (description "StrongSwan is an IPsec implementation originally based upon
-the FreeS/WAN project. It contains support for IKEv1, IKEv2, MOBIKE, IPv6,
-NAT-T and more.")
- (home-page "https://strongswan.org/")
- (license
- (list license:gpl2+
- ;; src/aikgen/*
- ;; src/libcharon/plugins/dnscert/*
- ;; src/libcharon/plugins/ext_auth/*
- ;; src/libcharon/plugins/vici/ruby/*
- ;; src/libcharon/plugins/xauth_pam/xauth_pam_listener.[ch]
- license:expat
- ;; src/inclue/sys/*
- license:bsd-3
- ;; src/libstrongswan/plugins/sha3/sha3_keccak.c
- license:public-domain
- ;; src/libstrongswan/plugins/pkcs11/pkcs11.h
- (license:non-copyleft
- "file://src/libstrongswan/plugins/pkcs11/pkcs11.h"
- "pkcs11 contains a unknown permissive license. View the specific
-file for more details.")
- ;; These files are not included in the
- ;; build, they are disabled through
- ;; options to ./configure
- ;;
- ;; src/libstrongswan/plugins/blowfish/bf_enc.c
- ;; src/libstrongswan/plugins/blowfish/bf_locl.h
- ;; src/libstrongswan/plugins/blowfish/bf_pi.h
- ;; src/libstrongswan/plugins/blowfish/bf_skey.c
- ;; src/libstrongswan/plugins/blowfish/blowfish_crypter.c
- ;; src/libstrongswan/plugins/des/des_crypter.c
- license:bsd-4))))
-
(define-public amule
(package
(name "amule")