gnu: strongswan: Update to 5.9.4.

* gnu/packages/vpn.scm (strongswan): Update to 5.9.4.
[arguments]: Don't explicitly return #t from phases.
[license]: Fix typo.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-27 13:07:38 +01:00
parent 58e7d1282a
commit 95cea73e7c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -303,14 +303,14 @@ (define-public gvpe
(define-public strongswan (define-public strongswan
(package (package
(name "strongswan") (name "strongswan")
(version "5.9.3") (version "5.9.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://download.strongswan.org/strongswan-" (uri (string-append "https://download.strongswan.org/strongswan-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 "1xy6c9c7bq5a5jmm04r9f9iqn39yrr1dkq81jhvpxsd4l1ban9ck")))) (base32 "063mi0kdlpd7r7s3py35yf80hvrv3nrdfvxpyn7ns25gqajg3za5"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -328,13 +328,11 @@ (define-public strongswan
(substitute* "src/libstrongswan/tests/suites/test_process.c" (substitute* "src/libstrongswan/tests/suites/test_process.c"
(("/bin/sh") (which "sh")) (("/bin/sh") (which "sh"))
(("/bin/echo") (which "echo")) (("/bin/echo") (which "echo"))
(("cat") (which "cat"))) (("cat") (which "cat")))))
#t))
(add-before 'check 'set-up-test-environment (add-before 'check 'set-up-test-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
"/share/zoneinfo")) "/share/zoneinfo")))))
#t)))
#:configure-flags #:configure-flags
(list (list
"--disable-ldap" "--disable-ldap"
@ -418,7 +416,7 @@ (define-public strongswan
;; src/libstrongswan/plugins/pkcs11/pkcs11.h ;; src/libstrongswan/plugins/pkcs11/pkcs11.h
(license:non-copyleft (license:non-copyleft
"file://src/libstrongswan/plugins/pkcs11/pkcs11.h" "file://src/libstrongswan/plugins/pkcs11/pkcs11.h"
"pkcs11 contains a unknown permissive license. View the specific "pkcs11 contains an unknown permissive license. View the specific
file for more details.") file for more details.")
;; These files are not included in the ;; These files are not included in the
;; build, they are disabled through ;; build, they are disabled through