Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270655 - Add debian's ssh-argv0 to net-misc/openssh-5.2_p1-r1
Summary: Add debian's ssh-argv0 to net-misc/openssh-5.2_p1-r1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.openssh.com/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 06:01 UTC by r01
Modified: 2009-08-23 10:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description r01 2009-05-21 06:01:20 UTC
I have used other distros and remembered before openssh provides a "ssh-argv0" program, which is very useful in scripts, but now it disappered; I cannot find any recorded reason why it not be installed? Or gentoo never installed it?

However, you can still find ssh-argv0 on debian openssh-client filelist,

http://packages.debian.org/sid/openssh-client

Please add that program when installing openssh.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-05-25 14:13:13 UTC
The program you mentioned is a debian specific addition (as shown by looking in [1] which is the difference between the upstream version and the debian version of openssh).  As such I've altered your bug to be an enhancement request for ssh-argv0 to be added to the openssh package and CCed the appropriate herd.  Having said that, don't be surprised if they suggest it should be a separate package, it's entirely their choice.

[1] http://ftp.de.debian.org/debian/pool/main/o/openssh/openssh_5.1p1-5.diff.gz
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-25 23:32:19 UTC
We've never used the Debian patch and thus never had that script. It was never shipped by upstream OpenBSD.

That said, I'd be willing to include just that script in future releases of our openssh ebuild, if you could please extract the script, related documentation and buildsystem modifications for it from the latest patch and present them here as a directly usable patch.

P.S. It seems to have compatibility warnings all over it, so I'd suggest fixing your scripts to make them more portable.
Comment 3 SpanKY gentoo-dev 2009-08-23 10:23:23 UTC
basically this script allows you to omit the "ssh" part of:
ssh somehost .....

you could do the same thing with:
somehost() { ssh somehost "$@"; }

seems kind of useless to me