gnu: openssh: Update to 6.8p1.

* gnu/packages/ssh.scm (openssh): Update to 6.8p1.  Make 'patch-tests'
  substitution more robust.
This commit is contained in:
Mark H Weaver 2015-03-25 23:09:22 -04:00
parent a31a6d22d6
commit e4160d0585

View file

@ -122,7 +122,7 @@ (define-public libssh2
(define-public openssh
(package
(name "openssh")
(version "6.7p1")
(version "6.8p1")
(source (origin
(method url-fetch)
(uri (let ((tail (string-append name "-" version ".tar.gz")))
@ -131,7 +131,7 @@ (define-public openssh
(string-append "ftp://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/"
tail))))
(sha256 (base32
"01smf9pvn2sk5qs80gkmc9acj07ckawi1b3xxyysp3c5mr73ky5j"))))
"03hnrqvjq6ghg1mp3gkarfxh6g3x1n1vjrzpbc5lh9717vklrxiz"))))
(build-system gnu-build-system)
(inputs `(("groff" ,groff)
("openssl" ,openssl)
@ -149,9 +149,10 @@ (define-public openssh
(alist-cons-before
'check 'patch-tests
(lambda _
;; remove tests that require the user sshd
;; remove 't-exec' regress target which requires user 'sshd'
(substitute* "regress/Makefile"
(("t10 t-exec") "t10")))
(("^(REGRESS_TARGETS=.*) t-exec(.*)" all pre post)
(string-append pre post))))
(alist-replace
'install
(lambda* (#:key (make-flags '()) #:allow-other-keys)