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-public libssh
(package
(name "libssh")
(version "0.9.2")
(version "0.9.3")
(source (origin
(method git-fetch)
(uri (git-reference
@ -79,23 +79,13 @@
(commit (string-append "libssh-" version))))
(sha256
(base32
"14g4rvp91skn2hlsjyhkv58vhng65xrf34cfqffixa4al869hzgj"))
"175i3xybg69d5lb078334v6dd3njm743kww8f67ix9w33969rmzf"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(outputs '("out" "debug"))
(arguments
'(#: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.
#:tests? #f))
(inputs `(("zlib" ,zlib)