gnu: gvpe: Update to 3.1.

* gnu/packages/vpn.scm (gvpe): Update to 3.1.
[source]: Remove obsolete snippet.
[native-inputs]: Add pkg-config.
This commit is contained in:
Tobias Geerinckx-Rice 2018-10-27 04:17:34 +02:00
parent b2d286545d
commit 574d877e40
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -48,27 +48,17 @@ (define-module (gnu packages vpn)
(define-public gvpe (define-public gvpe
(package (package
(name "gvpe") (name "gvpe")
(version "3.0") (version "3.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/gvpe/gvpe-" (uri (string-append "mirror://gnu/gvpe/gvpe-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1v61mj25iyd91z0ir7cmradkkcm1ffbk52c96v293ibsvjs2s2hf")) "1cz8n75ksl0l908zc5l3rnfm1hv7130s2w8710799fr5sxrdbszi"))))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove the outdated bundled copy of glibc's getopt, which
;; provides a 'getopt' declaration that conflicts with that
;; of glibc 2.26.
(substitute* "lib/Makefile.in"
(("getopt1?\\.(c|h|\\$\\(OBJEXT\\))") ""))
(for-each delete-file
'("lib/getopt.h" "lib/getopt.c"))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "http://software.schmorp.de/pkg/gvpe.html") (home-page "http://software.schmorp.de/pkg/gvpe.html")
(native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("openssl" ,openssl) (inputs `(("openssl" ,openssl)
("zlib" ,zlib))) ("zlib" ,zlib)))
(synopsis "Secure VPN among multiple nodes over an untrusted network") (synopsis "Secure VPN among multiple nodes over an untrusted network")