Revert "gnu: openssh: Clean-up custom install phase."
This reverts commit 7754136e46
.
This commit is contained in:
parent
cac6c3bad5
commit
1ebb908d44
|
@ -220,17 +220,20 @@ a server that supports the SSH-2 protocol.")
|
||||||
#t))
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
|
(lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
;; install without host keys and system configuration files
|
||||||
;; install without host keys and system configuration files
|
(apply invoke "make" "install-nosysconf" make-flags)
|
||||||
(apply invoke "make" "install-nosysconf" make-flags)
|
(install-file "contrib/ssh-copy-id"
|
||||||
(install-file "contrib/ssh-copy-id"
|
(string-append (assoc-ref outputs "out")
|
||||||
(string-append out "/bin/"))
|
"/bin/"))
|
||||||
(chmod (string-append out "/bin/ssh-copy-id") #o555)
|
(chmod (string-append (assoc-ref outputs "out")
|
||||||
(install-file "contrib/ssh-copy-id.1"
|
"/bin/ssh-copy-id") #o555)
|
||||||
(string-append out "/share/man/man1/"))
|
(install-file "contrib/ssh-copy-id.1"
|
||||||
;; Don't install the PRIVSEP_PATH directory.
|
(string-append (assoc-ref outputs "out")
|
||||||
(delete-file-recursively (string-append out "/var"))
|
"/share/man/man1/"))
|
||||||
#t))))))
|
;; Don't install the PRIVSEP_PATH directory.
|
||||||
|
(delete-file-recursively
|
||||||
|
(string-append (assoc-ref outputs "out") "/var"))
|
||||||
|
#t)))))
|
||||||
(synopsis "Client and server for the secure shell (ssh) protocol")
|
(synopsis "Client and server for the secure shell (ssh) protocol")
|
||||||
(description
|
(description
|
||||||
"The SSH2 protocol implemented in OpenSSH is standardised by the
|
"The SSH2 protocol implemented in OpenSSH is standardised by the
|
||||||
|
|
Loading…
Reference in New Issue