Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89523 - net-misc/wget ebuilds USE socks5 but do not DEPEND on a socks5 provider package
Summary: net-misc/wget ebuilds USE socks5 but do not DEPEND on a socks5 provider package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
: 89525 172828 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-18 06:44 UTC by Mihai Limbasan
Modified: 2007-03-30 20:49 UTC (History)
2 users (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 Mihai Limbasan 2005-04-18 06:44:12 UTC
All wget ebuilds employ use_with socks5 in src_compile() but do not DEPEND on any package that would provide libsocks.so.0.
If wget is emerged with the socks5 USE enabled yet no SOCKS5 package is installed the merge goes ahead just fine. But if a SOCKS5 package was already installed before wget was (re)emerged and socks5 is USEd, and depclean removes the SOCKS5 package for some reason, wget breaks because of the missing libsocks.so.0.
revdep-rebuild obviously fixes wget, but this is curing the symptom.
wget should either hard-DEPEND on net-misc/dante, or if tying wget to a specific SOCKS5 implementation is not desirable then a virtual/socks5 should be introduced, with dante providing it.
Comment 1 Mihai Limbasan 2005-04-18 06:56:12 UTC
*** Bug 89525 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-10 05:26:55 UTC
Thanks Mihai -- I chose to just rdepend on dante -- I don't see any other socks5 implementations. I've added Alin to this bug report to gather his thoughts on the subject.

Alin -- are we able to have virtual/socks5 as RDEPENDS in portage yet? (ie, are there multiple socks5 implementations?)
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2005-05-10 11:03:30 UTC
There isn't any other SOCKS library that I know of, at least not in the usual sense. The potential candidate to virtual/socks should install libsocks.so and socks.h.

net-proxy/tsocks is a kind of socks library but in a twisted way. Your application doesn't need SOCKS support for using it. Instead, you use LD_PRELOAD env var to load tsocks library, which will "proxy" all network calls through the SOCKS proxy.

Seemant, if you find another socks implementation lost somewhere in our tree, just let me know. I will move it to net-proxy, under net-proxy herd protection ;)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-30 20:49:51 UTC
*** Bug 172828 has been marked as a duplicate of this bug. ***