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

Bug 608926

Summary: net-p2p/rtorrent - scgi_port in /usr/share/doc/rtorrent/rtorrent.x.x.x is missing
Product: Gentoo Linux Reporter: Mauro Crociara <realnot>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/rakshasa/rtorrent/pull/677
Whiteboard:
Package list:
Runtime testing required: ---

Description Mauro Crociara 2017-02-11 10:51:01 UTC
Hi guys, I don't know if this is a bug or not, but I think adding this row to the default config could avoid wasting time in future.

Last night I wanted to try a fancy UI for rtorrent `flood` https://github.com/jfurrow/flood, which require xmlrpc to work (I enabled the use flag on portage.use). I spent a bit of time to figure out why rtorrent wasn't able to communicate with the UI.

The UI come with: `scgi_port` parameter and rtorrent come with `port_range` parameter. As reported here https://github.com/rakshasa/rtorrent/wiki/RPC-Setup-XMLRPC, to use rtorrent with xml-rpc you need to add scgi_port = <the_port> inside the rtorrent conffig.

I ask if you could add a row like

# Port range to use for listening.
port_range = 69151-69151

# Scgi-port (use this in case you compiled rtorrent with xmlrpc support)
scgi_port = localhost:5000

Or, at least, If someone sets the flag xmlrpc, ships the config with the parameter scgi-port

Thanks
Comment 1 Stephen Shkardoon 2018-01-13 13:12:21 UTC
I've filed a bug upstream to include this documentation - https://github.com/rakshasa/rtorrent/pull/677.

Given it's low impact and being only a documentation problem, it doesn't seem worth including a patch just for Gentoo.
Comment 2 Jason Zaman gentoo-dev 2018-01-14 03:12:47 UTC
(In reply to Stephen Shkardoon from comment #1)
> I've filed a bug upstream to include this documentation -
> https://github.com/rakshasa/rtorrent/pull/677.
> 
> Given it's low impact and being only a documentation problem, it doesn't
> seem worth including a patch just for Gentoo.

Thanks for filing the upstream bug. I think I agree with closing this, i'd rather carry as few patches in the ebuild as we can and this is better fixed upstream :)

I believe all the rest of the xmlrpc stuff works fine, feel free to open a new bug or re-open this if there is more :).