Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316345 - net-proxy/tsocks-1.8_beta5-r? problem proxifying apps that use poll (Debian Bug#576301)
Summary: net-proxy/tsocks-1.8_beta5-r? problem proxifying apps that use poll (Debian B...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Andrew Savchenko
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 11:55 UTC by Claer
Modified: 2015-01-09 17:07 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 Claer 2010-04-20 11:55:46 UTC
As explained in the Debian bug report, tsocks is unable to "socksify" applications that use poll(). Applying the patch provided in the debian bug report corrected the problem for me. (at least for subversion program)

Reproducible: Always

Steps to Reproduce:
1. emerge tsocks
2. have a subversion repository behind a server that is accessible by ssh
3. tsocks svn up

Actual Results:  
The subversion checkout fail

Expected Results:  
The subversion checkout succeed

In order to test the patch provided by the debian reporter, I issued these commands :
# cd /usr/portage/net-proxy/tsocks
# cp tsocks-1.8_beta5-r5.ebuild tsocks-1.8_beta5-r6.ebuild
# cat < files/ tsocks-1.8_beta5-poll.patch
...
# diff -u tsocks-1.8_beta5-r5.ebuild tsocks-1.8_beta5-r6.ebuild
--- tsocks-1.8_beta5-r5.ebuild  2010-04-17 19:06:39.000000000 +0200
+++ tsocks-1.8_beta5-r6.ebuild  2010-04-20 13:36:06.000000000 +0200
@@ -21,6 +21,7 @@
 src_prepare() {
        epatch "${FILESDIR}/${P}-gentoo-r3.patch"
        epatch "${FILESDIR}/${P}-bsd.patch"
+       epatch "${FILESDIR}/${P}-poll.patch"
        use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch"
        eautoreconf
 }
Comment 1 Wormo (RETIRED) gentoo-dev 2010-04-21 07:13:09 UTC
Thanks for submitting this fix, assigning to maintainers
Comment 2 Claer 2010-07-19 14:36:20 UTC
(In reply to comment #1)
> Thanks for submitting this fix, assigning to maintainers
> 

Any news from maintainers ?
Comment 3 Claer 2012-04-16 15:11:03 UTC
The problem is still here, 2 years after report and patch provided :-(
Comment 4 Pacho Ramos gentoo-dev 2015-01-07 14:12:32 UTC
Still the same with current -r6?
Comment 5 Claer 2015-01-07 16:24:49 UTC
(In reply to Pacho Ramos from comment #4)
> Still the same with current -r6?

Hello,

Sorry I don't use gentoo anymore as my main workstation. Therefore I cannot confirm the resolution.

Regards,

Claer
Comment 6 Andrew Savchenko gentoo-dev 2015-01-09 17:07:27 UTC
Fixed in tsocks-1.8_beta5-r7.

Patch taken from Debian bug 576301, message 15 (the latest version in that thread).