gnu: libssh: Update to 0.9.3 [fixes CVE-2019-14889].

* gnu/packages/ssh.scm (libssh): Update to 0.9.3.
[arguments]: Remove #:phases.
This commit is contained in:
Marius Bakke 2019-12-11 20:35:48 +01:00
parent 0222de2c65
commit 2ecb5e7901
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -71,7 +71,7 @@ (define-module (gnu packages ssh)
(define-public libssh (define-public libssh
(package (package
(name "libssh") (name "libssh")
(version "0.9.2") (version "0.9.3")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -79,23 +79,13 @@ (define-public libssh
(commit (string-append "libssh-" version)))) (commit (string-append "libssh-" version))))
(sha256 (sha256
(base32 (base32
"14g4rvp91skn2hlsjyhkv58vhng65xrf34cfqffixa4al869hzgj")) "175i3xybg69d5lb078334v6dd3njm743kww8f67ix9w33969rmzf"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(outputs '("out" "debug")) (outputs '("out" "debug"))
(arguments (arguments
'(#:configure-flags '("-DWITH_GCRYPT=ON") '(#:configure-flags '("-DWITH_GCRYPT=ON")
#:phases (modify-phases %standard-phases
(add-before 'configure 'avoid-werror
(lambda _
;; Avoid '-Werror'. Presumably this works fine with
;; gcc@8 on x86_64 but leads to errors with our older
;; compiler.
(substitute* "CompilerChecks.cmake"
(("-Werror=") "-W"))
#t)))
;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite. ;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
#:tests? #f)) #:tests? #f))
(inputs `(("zlib" ,zlib) (inputs `(("zlib" ,zlib)