gnu: wireguard-linux-compat: Update to 1.0.20201112.

* gnu/packages/vpn.scm (wireguard-linux-compat): Update to 1.0.20201112.
[arguments]: Build with linux-libre-5.4.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-17 02:18:54 +01:00
parent 79e27dcd48
commit 76ad954734
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -505,7 +505,7 @@ The peer-to-peer VPN implements a Layer 2 (Ethernet) network between the peers
(define-public wireguard-linux-compat (define-public wireguard-linux-compat
(package (package
(name "wireguard-linux-compat") (name "wireguard-linux-compat")
(version "1.0.20200623") (version "1.0.20201112")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://git.zx2c4.com/wireguard-linux-compat/" (uri (string-append "https://git.zx2c4.com/wireguard-linux-compat/"
@ -513,12 +513,13 @@ The peer-to-peer VPN implements a Layer 2 (Ethernet) network between the peers
".tar.xz")) ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0iclixsqfckaz6kz6a4lhzdary3xhfy1d0pz0pgrwy8m8mr3f28k")))) "1qcpg1rcmy4h529a0spjm50qgxjgjy20j29fpbrqsv5xq3qfgsl9"))))
(build-system linux-module-build-system) (build-system linux-module-build-system)
(outputs '("out" (outputs '("out"
"kernel-patch")) "kernel-patch"))
(arguments (arguments
`(#:tests? #f ; No test suite `(#:linux ,linux-libre-5.4 ; mustn't have WG built-in
#:tests? #f ; no test suite
#:modules ((guix build linux-module-build-system) #:modules ((guix build linux-module-build-system)
(guix build utils) (guix build utils)
(ice-9 popen) (ice-9 popen)
@ -538,7 +539,7 @@ The peer-to-peer VPN implements a Layer 2 (Ethernet) network between the peers
(call-with-output-file "wireguard.patch" (call-with-output-file "wireguard.patch"
(lambda (port) (lambda (port)
(format port "~a" str)))) (format port "~a" str))))
#t)) #t))
(add-after 'install 'install-patch (add-after 'install 'install-patch
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(install-file "wireguard.patch" (install-file "wireguard.patch"