Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 336386

Summary: net-p2p/rtorrent and net-libs/libtorrent : added ipv6 support
Product: Gentoo Linux Reporter: Maik Nijhuis <manyac>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: zubkov318
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://libtorrent.rakshasa.no/ticket/1111
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rtorrent ebuild that applies ipv6 patch
patch that adds ipv6 support
libtorrent ebuild that applies ipv6 patch
patch that adds ipv6 support

Description Maik Nijhuis 2010-09-07 20:58:22 UTC
Patches are out that add ipv6 support to rtorrent and libtorrent. I've modified their ebuilds for using these patches.

Reproducible: Always
Comment 1 Maik Nijhuis 2010-09-07 20:59:40 UTC
Created attachment 246399 [details]
rtorrent ebuild that applies ipv6 patch
Comment 2 Maik Nijhuis 2010-09-07 21:01:35 UTC
Created attachment 246400 [details, diff]
patch that adds ipv6 support
Comment 3 Maik Nijhuis 2010-09-07 21:02:06 UTC
Created attachment 246402 [details]
libtorrent ebuild that applies ipv6 patch
Comment 4 Maik Nijhuis 2010-09-07 21:04:40 UTC
Created attachment 246404 [details, diff]
patch that adds ipv6 support

Put the patch in the files/ directory of net-libs/libtorrent to make it work. (For the rtorrent patch, do the same with the files/ directory of net-p2p/rtorrent.)
Comment 5 Maik Nijhuis 2010-09-07 21:07:50 UTC
Upstream still has to apply these patches. Until then, you can apply them yourself using these ebuilds and patches.
Comment 6 Agostino Sarubbo gentoo-dev 2010-09-07 21:29:15 UTC
(In reply to comment #1)
> Created an attachment (id=246399) [details]
> rtorrent ebuild that applies ipv6 patch
> 

Please add in src_configure() " || die "econf failed"
and
add in src_install() " || die "dodoc failed"

:)
Comment 7 Agostino Sarubbo gentoo-dev 2010-09-07 21:30:05 UTC
(In reply to comment #3)
> Created an attachment (id=246402) [details]
> libtorrent ebuild that applies ipv6 patch
> 

Please add in src_configure() " || die "econf failed"
and
add in src_install() " || die "dodoc failed"

:)
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-09-07 22:20:15 UTC
(In reply to comment #7)
> Please add in src_configure() " || die "econf failed"
> and
> add in src_install() " || die "dodoc failed"

Wrong. 

econf dies on it's own, it's a internal Portage function. 

and documentation install doesn't need to || die, the app will continue to work fine even if one of the docs fail.
Comment 9 Alexander Zubkov 2011-10-22 08:32:13 UTC
Actually, rtorrent does not support ipv6 "out of the box" now. There some ipv6 code, but it seems not full support.
This is also discussed here: http://libtorrent.rakshasa.no/ticket/1111
This patches worked for me for versions 0.8.7/0.12.7