mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 12:09:15 -05:00
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:
parent
0222de2c65
commit
2ecb5e7901
1 changed files with 2 additions and 12 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue