GNU bug report logs -
#22024
openssh does not install ssh-copy-id and its manpage
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22024 in the body.
You can then email your comments to 22024 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#22024
; Package
guix
.
(Fri, 27 Nov 2015 08:11:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Florian Paul Schmidt <mista.tapas <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 27 Nov 2015 08:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
see. subject.
- --
https://fps.io
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJWWA/YAAoJEA5f4Coltk8Zv0gH/AxyEXh6g0op+xNuWgbLCM5c
zc/rSDIlHIXL6IraclfhsvTPv6pPOTY33z9aV8mJ4vZJ2/Y+6VcuSb+qikTLUPiW
KeiAwdhPcG/MN2fN2pQVT8DyNFIgh7tCkmEUdPhzREhuudUgQTS0W3BhjxXIFE22
DMNb35bej0bFPjLOWt5kO2EoisIZA/DRwZH10/G3TAC+Io/Mc20RMN9LAA7K9uko
Oqm34OyFcwPpQZhtRP1SaSr4ipcMqaWzDxkHGeI6RNZb7WS0RrCajDub/8gGL+iW
WPjZUcvylx6L7wSmZ/3Z8S1L9p7DVMnz3Q9oQO1IBWlsHYUHG8b2/1bB8n7wKws=
=sXuD
-----END PGP SIGNATURE-----
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22024
; Package
guix
.
(Fri, 27 Nov 2015 10:39:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 22024 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This fixes bug #22024.
[0001-gnu-openssh-Use-modify-phases-syntax.patch (text/x-patch, inline)]
From 65c9863898e1ddc2a1443b557003f0cbc25442d8 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Date: Fri, 27 Nov 2015 10:57:03 +0100
Subject: [PATCH 1/2] gnu: openssh: Use modify-phases syntax.
* gnu/packages/ssh.scm (openssh)[arguments]: Use modify-phases syntax.
---
gnu/packages/ssh.scm | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 2f4f8a2..26729ea 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -129,26 +129,25 @@ a server that supports the SSH-2 protocol.")
(arguments
`(#:test-target "tests"
#:phases
- (alist-cons-after
- 'configure 'reset-/var/empty
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "Makefile"
- (("PRIVSEP_PATH=/var/empty")
- (string-append "PRIVSEP_PATH=" out "/var/empty")))))
- (alist-cons-before
- 'check 'patch-tests
- (lambda _
- ;; remove 't-exec' regress target which requires user 'sshd'
- (substitute* "regress/Makefile"
- (("^(REGRESS_TARGETS=.*) t-exec(.*)" all pre post)
- (string-append pre post))))
- (alist-replace
- 'install
- (lambda* (#:key (make-flags '()) #:allow-other-keys)
- ;; install without host keys and system configuration files
- (zero? (apply system* "make" "install-nosysconf" make-flags)))
- %standard-phases)))))
+ (modify-phases %standard-phases
+ (add-after 'configure 'reset-/var/empty
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("PRIVSEP_PATH=/var/empty")
+ (string-append "PRIVSEP_PATH=" out "/var/empty")))
+ #t)))
+ (add-before 'check 'patch-tests
+ (lambda _
+ ;; remove 't-exec' regress target which requires user 'sshd'
+ (substitute* "regress/Makefile"
+ (("^(REGRESS_TARGETS=.*) t-exec(.*)" all pre post)
+ (string-append pre post)))
+ #t))
+ (replace 'install
+ (lambda* (#:key (make-flags '()) #:allow-other-keys)
+ ;; install without host keys and system configuration files
+ (zero? (apply system* "make" "install-nosysconf" make-flags)))))))
(synopsis "Client and server for the secure shell (ssh) protocol")
(description
"The SSH2 protocol implemented in OpenSSH is standardised by the
--
2.1.0
[0002-gnu-openssh-Install-ssh-copy-id.patch (text/x-patch, inline)]
From baf260ebda0a70ec3c7d6f35e1c1bb64a37f0aac Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Date: Fri, 27 Nov 2015 11:35:50 +0100
Subject: [PATCH 2/2] gnu: openssh: Install ssh-copy-id.
* gnu/packages/ssh.scm (openssh)[arguments]: Install "ssh-copy-id" and
documentation.
---
gnu/packages/ssh.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 26729ea..5c222a2 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -145,9 +145,19 @@ a server that supports the SSH-2 protocol.")
(string-append pre post)))
#t))
(replace 'install
- (lambda* (#:key (make-flags '()) #:allow-other-keys)
+ (lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
;; install without host keys and system configuration files
- (zero? (apply system* "make" "install-nosysconf" make-flags)))))))
+ (and (zero? (apply system* "make" "install-nosysconf" make-flags))
+ (begin
+ (install-file "contrib/ssh-copy-id"
+ (string-append (assoc-ref outputs "out")
+ "/bin/"))
+ (chmod (string-append (assoc-ref outputs "out")
+ "/bin/ssh-copy-id") #o555)
+ (install-file "contrib/ssh-copy-id.1"
+ (string-append (assoc-ref outputs "out")
+ "/share/man/man1/"))
+ #t)))))))
(synopsis "Client and server for the secure shell (ssh) protocol")
(description
"The SSH2 protocol implemented in OpenSSH is standardised by the
--
2.1.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22024
; Package
guix
.
(Fri, 27 Nov 2015 15:03:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 22024 <at> debbugs.gnu.org (full text, mbox):
Woow, that was fast! :-)
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> skribis:
> From 65c9863898e1ddc2a1443b557003f0cbc25442d8 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
> Date: Fri, 27 Nov 2015 10:57:03 +0100
> Subject: [PATCH 1/2] gnu: openssh: Use modify-phases syntax.
>
> * gnu/packages/ssh.scm (openssh)[arguments]: Use modify-phases syntax.
OK!
> From baf260ebda0a70ec3c7d6f35e1c1bb64a37f0aac Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
> Date: Fri, 27 Nov 2015 11:35:50 +0100
> Subject: [PATCH 2/2] gnu: openssh: Install ssh-copy-id.
>
> * gnu/packages/ssh.scm (openssh)[arguments]: Install "ssh-copy-id" and
> documentation.
Please add “Fixes” and “Reported by” lines.
Could you check whether that increases the size of the closure? That
would be the case if ‘ssh-copy-id’ is a Perl script for instance.
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22024
; Package
guix
.
(Fri, 27 Nov 2015 16:34:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 22024 <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 11/27/2015 11:38 AM, Ricardo Wurmus wrote:
> This fixes bug #22024.
>
Wow, thanks :)
Flo
- --
https://fps.io
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJWWIXZAAoJEA5f4Coltk8ZlksH/18HM9V/ao40QXgVw06D0lO2
8xeVcGXmCJV5Nv4S7juZQyAfGZliMZQE5W17BZy8b4wprBIFM6JlUf5sydj4a4Bh
h2nZL/jHMscgTGuQlFqeO+TVwJGNL3Oj/lUoS5zDZXNwHYFfqwU0wOoOra724pF6
UQvAgJU8oDAf9gXoK0FX+GgYQrZRyJsErTM6LGJ/ykLNrETkL7F1sjLX6TjNVhN8
4N7UahP7l6tI2658vWemHVyBdbTRPr9VDryDOx+bXMis7eIGiNc22ZvrxoGLUc2F
GfM1OpS1XBpkH4IBK9B6ZXAgJjde1nPwIReeNqhJb7/hFwLiNTrkEir0f8ed1Pg=
=U2Ow
-----END PGP SIGNATURE-----
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22024
; Package
guix
.
(Mon, 30 Nov 2015 14:17:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 22024 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
>> From baf260ebda0a70ec3c7d6f35e1c1bb64a37f0aac Mon Sep 17 00:00:00 2001
>> From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
>> Date: Fri, 27 Nov 2015 11:35:50 +0100
>> Subject: [PATCH 2/2] gnu: openssh: Install ssh-copy-id.
>>
>> * gnu/packages/ssh.scm (openssh)[arguments]: Install "ssh-copy-id" and
>> documentation.
>
> Please add “Fixes” and “Reported by” lines.
Done. I have pushed both commits.
> Could you check whether that increases the size of the closure? That
> would be the case if ‘ssh-copy-id’ is a Perl script for instance.
This is before the patch:
store item total self
/gnu/store/xlgw7bx4payq017zcjyrs68hwixybkn0-openssh-7.0p1 77.3 3.9 5.1%
/gnu/store/zmqhwsl9vvxr4ihdnhwwpc3dpgmpsgsy-openssl-1.0.2d 73.0 12.3 15.9%
/gnu/store/54wpn20cik292k5hl4nxsivv614xl8c2-zlib-1.2.7 61.1 0.3 0.5%
/gnu/store/zy233badri3sffqi2s2kq8md6qz65iiz-gcc-4.9.3-lib 60.7 22.9 29.6%
/gnu/store/qv7bk62c22ms9i11dhfl71hnivyc82k2-glibc-2.22 37.9 36.5 47.2%
/gnu/store/7jhakv1r1nbs2sr2f7ammq256w7niarh-bash-static-4.3.39 1.4 1.4 1.8%
and this is after:
$ guix size /gnu/store/65rd6p154y13dqcbkbimnwjq39k8dnym-openssh-7.0p1
store item total self
/gnu/store/65rd6p154y13dqcbkbimnwjq39k8dnym-openssh-7.0p1 91.5 3.9 4.3%
/gnu/store/zmqhwsl9vvxr4ihdnhwwpc3dpgmpsgsy-openssl-1.0.2d 73.0 12.3 13.4%
/gnu/store/54wpn20cik292k5hl4nxsivv614xl8c2-zlib-1.2.7 61.1 0.3 0.4%
/gnu/store/zy233badri3sffqi2s2kq8md6qz65iiz-gcc-4.9.3-lib 60.7 22.9 25.0%
/gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39 52.0 6.3 6.9%
/gnu/store/92f66z198h876byrjwwbgzv9rfsdm048-readline-6.3 45.7 1.2 1.3%
/gnu/store/5ljf8bnl2z5ykrrcs8352b9lh8j6139h-ncurses-6.0 44.5 6.6 7.3%
/gnu/store/qv7bk62c22ms9i11dhfl71hnivyc82k2-glibc-2.22 37.9 36.5 39.9%
/gnu/store/7jhakv1r1nbs2sr2f7ammq256w7niarh-bash-static-4.3.39 1.4 1.4 1.5%
There are new references to bash, readline, and ncurses. It’s a bash
script, so a new reference to bash is expected. I wonder why it also
retains references to readline and ncurses, though.
~~ Ricardo
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Mon, 30 Nov 2015 18:58:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Florian Paul Schmidt <mista.tapas <at> gmx.net>
:
bug acknowledged by developer.
(Mon, 30 Nov 2015 18:58:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 22024-done <at> debbugs.gnu.org (full text, mbox):
Fixed in commit 36f26211bbb.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22024
; Package
guix
.
(Tue, 01 Dec 2015 21:57:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 22024 <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> skribis:
> and this is after:
>
> $ guix size /gnu/store/65rd6p154y13dqcbkbimnwjq39k8dnym-openssh-7.0p1
> store item total self
> /gnu/store/65rd6p154y13dqcbkbimnwjq39k8dnym-openssh-7.0p1 91.5 3.9 4.3%
> /gnu/store/zmqhwsl9vvxr4ihdnhwwpc3dpgmpsgsy-openssl-1.0.2d 73.0 12.3 13.4%
> /gnu/store/54wpn20cik292k5hl4nxsivv614xl8c2-zlib-1.2.7 61.1 0.3 0.4%
> /gnu/store/zy233badri3sffqi2s2kq8md6qz65iiz-gcc-4.9.3-lib 60.7 22.9 25.0%
> /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39 52.0 6.3 6.9%
> /gnu/store/92f66z198h876byrjwwbgzv9rfsdm048-readline-6.3 45.7 1.2 1.3%
> /gnu/store/5ljf8bnl2z5ykrrcs8352b9lh8j6139h-ncurses-6.0 44.5 6.6 7.3%
> /gnu/store/qv7bk62c22ms9i11dhfl71hnivyc82k2-glibc-2.22 37.9 36.5 39.9%
> /gnu/store/7jhakv1r1nbs2sr2f7ammq256w7niarh-bash-static-4.3.39 1.4 1.4 1.5%
>
> There are new references to bash, readline, and ncurses. It’s a bash
> script, so a new reference to bash is expected.
OK, sounds reasonable.
> I wonder why it also retains references to readline and ncurses,
> though.
These are indirect references (Bash depends on Readline.)
Thanks,
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 30 Dec 2015 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 123 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.