Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220355 - net-p2p/deluge-0.6 live ebuild request
Summary: net-p2p/deluge-0.6 live ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Raúl Porcel (RETIRED)
URL: http://dev.deluge-torrent.org/browser...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 12:42 UTC by Benedikt Morbach
Modified: 2008-06-12 15:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed ebuild (deluge-0.6_pre9999.ebuild,1.48 KB, text/plain)
2008-05-05 12:42 UTC, Benedikt Morbach
Details
proposed initscript (deluged.init,1.44 KB, text/plain)
2008-05-05 12:43 UTC, Benedikt Morbach
Details
proposed default conf.d file (deluged.conf,39 bytes, text/plain)
2008-05-05 12:44 UTC, Benedikt Morbach
Details
proposed ebuild (deluge-0.6_pre9999.ebuild,1.76 KB, text/plain)
2008-05-05 12:54 UTC, Benedikt Morbach
Details
proposed default conf.d file (deluged.conf,138 bytes, text/plain)
2008-05-05 12:55 UTC, Benedikt Morbach
Details
Updated use flags (deluge-0.6_pre9999.ebuild,1.69 KB, text/plain)
2008-05-17 17:43 UTC, Andrew Resch
Details
new initscript, using getent (deluged.init,1.44 KB, text/plain)
2008-05-18 12:26 UTC, Benedikt Morbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Morbach 2008-05-05 12:42:00 UTC
deluge-0.6 is a complete rewrite of deluge, as 0.5 became harder to maintain over time. Because there is a deluge-9999 ebuild in the tree, which pulls from the trunk (that is 0.5) I think there should also be an ebuild that pulls from the 0.6 branch or maybe uses snapshots, as the 0.6 branch became pretty stable recently and the upstream devs started releasing nightlies for people to test it.

It should be p.masked like the -9999 ebuild.
I modified the -9999 ebuild to install deluge-0.6 and added an initscript because as of version 0.6, deluge features a daemon. I also made a config file where the user can specify under wich user he wants deluge to run. By default, the init script refuses to start, as it should _not_ run with root privileges

Reproducible: Always

Steps to Reproduce:
Comment 1 Benedikt Morbach 2008-05-05 12:42:44 UTC
Created attachment 151907 [details]
proposed ebuild
Comment 2 Benedikt Morbach 2008-05-05 12:43:06 UTC
Created attachment 151909 [details]
proposed initscript
Comment 3 Benedikt Morbach 2008-05-05 12:44:23 UTC
Created attachment 151911 [details]
proposed default conf.d file

the init script and config file should be named deluged (for deluge daemon)
Comment 4 Benedikt Morbach 2008-05-05 12:54:25 UTC
Created attachment 151913 [details]
proposed ebuild

New ebuild, added some info about the daemon thing
Comment 5 Benedikt Morbach 2008-05-05 12:55:19 UTC
Created attachment 151915 [details]
proposed default conf.d file

New conf.d file, added comments
Comment 6 Andrew Resch 2008-05-17 17:43:23 UTC
Created attachment 153453 [details]
Updated use flags

Deluge 0.6 does not currently need the libnotify or browser use flags.  I have added a 'gtk' useflag to prevent installing of pygtk dependencies on computers that only wish to run the daemon and/or non-gtk user-interfaces.
Comment 7 Jonas Jonsson 2008-05-17 19:47:06 UTC
The initscript doesn't work with users in ldap, should use getent passwd instead of /etc/passwd.
Comment 8 Jonas Jonsson 2008-05-17 19:52:13 UTC
You need to use --chuid also to get the user correct.
Comment 9 Benedikt Morbach 2008-05-18 12:26:04 UTC
Created attachment 153523 [details]
new initscript, using getent

Replaced /etc/passwd with getent passwd.

Over here, start-stop-daemon says that --chuid is deprecated in favor of --user, so I left that as it was.
Comment 10 Zider 2008-05-22 18:28:55 UTC
dev-python/setuptools should be added as dependency, since it won't run without it.
Comment 11 Mathieu Rochette 2008-06-05 09:50:24 UTC
looks like dev-python/pyxdg is another needed dependancy
Comment 12 Pascal Lim 2008-06-10 08:07:25 UTC
You should add whitespace after "(" and before ")" in you RDEPEND.  Paludis doesn't seem to like it without. :p
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2008-06-12 15:27:51 UTC
In CVS, thanks for the stuff.