Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139235 - net-misc/openssh should have x11-apps/xauth as RDEPEND on USE=X
Summary: net-misc/openssh should have x11-apps/xauth as RDEPEND on USE=X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 13:09 UTC by Ian Stakenvicius
Modified: 2024-02-19 06:16 UTC (History)
1 user (show)

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 Ian Stakenvicius 2006-07-04 13:09:25 UTC
Since with our new stable modular X, all we need to do X11-forwarding via SSH is to have x11-apps/xauth (and dependencies) installed, it would be handy to have this as an RDEPEND in the ebuilds.  In order to keep most entirely-non-X servers happy, it should probably be turned on only with a USE flag, say 'X'.

This is entirely unnecessary for the building of openssh, but would provide a straight-foward way of letting users know what to do if they want to enable x11-forwarding w/o having xorg-x11 installed, and without having to debug their ssh -X session or delve deeply into documentation.
Comment 1 SpanKY gentoo-dev 2006-07-04 15:24:02 UTC
done, cheers
Comment 2 Larry the Git Cow gentoo-dev 2024-02-19 06:16:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b305efd9c1f5c34528aa0022e47b04f758bcd2f

commit 1b305efd9c1f5c34528aa0022e47b04f758bcd2f
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-02-19 05:28:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-19 06:16:02 +0000

    net-misc/openssh: remove pointless USE=X
    
    It was originally added in 2006 with the following rationale:
    
    > Since with our new stable modular X, all we need to do X11-forwarding
    > via SSH is to have x11-apps/xauth (and dependencies) installed, it would
    > be handy to have this as an RDEPEND in the ebuilds.  In order to keep
    > most entirely-non-X servers happy, it should probably be turned on only
    > with a USE flag, say 'X'.
    
    > This is entirely unnecessary for the building of openssh, but would
    > provide a straight-foward way of letting users know what to do if they
    > want to enable x11-forwarding w/o having xorg-x11 installed, and without
    > having to debug their ssh -X session or delve deeply into documentation.
    
    It is the textbook rationale for optfeature. However, in 2006,
    optfeature didn't exist -- it was added in 2014 through bug 498988.
    
    (And of course the real solution is GLEP 62 "IUSE_RUNTIME".)
    
    It is now 2024 and enabling/disabling USE=X still causes openssh to
    pointlessly recompile and rebuild itself, invalidating binhosts in the
    process.
    
    Bug: https://bugs.gentoo.org/139235
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/openssh/openssh-9.6_p1-r3.ebuild | 399 ++++++++++++++++++++++++++++++
 1 file changed, 399 insertions(+)