Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 220355
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Raúl Porcel <armin76@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Benedikt Morbach <benedikt.morbach@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
deluge-0.6_pre9999.ebuild proposed ebuild text/plain Benedikt Morbach 2008-05-05 12:42 0000 1.48 KB Details
deluged.init proposed initscript text/plain Benedikt Morbach 2008-05-05 12:43 0000 1.44 KB Details
deluged.conf proposed default conf.d file text/plain Benedikt Morbach 2008-05-05 12:44 0000 39 bytes Details
deluge-0.6_pre9999.ebuild proposed ebuild text/plain Benedikt Morbach 2008-05-05 12:54 0000 1.76 KB Details
deluged.conf proposed default conf.d file text/plain Benedikt Morbach 2008-05-05 12:55 0000 138 bytes Details
deluge-0.6_pre9999.ebuild Updated use flags text/plain Andrew Resch 2008-05-17 17:43 0000 1.69 KB Details
deluged.init new initscript, using getent text/plain Benedikt Morbach 2008-05-18 12:26 0000 1.44 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 220355 depends on: Show dependency tree
Bug 220355 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-05 12:42 0000
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 From Benedikt Morbach 2008-05-05 12:42:44 0000 -------
Created an attachment (id=151907) [details]
proposed ebuild

------- Comment #2 From Benedikt Morbach 2008-05-05 12:43:06 0000 -------
Created an attachment (id=151909) [details]
proposed initscript

------- Comment #3 From Benedikt Morbach 2008-05-05 12:44:23 0000 -------
Created an attachment (id=151911) [details]
proposed default conf.d file

the init script and config file should be named deluged (for deluge daemon)

------- Comment #4 From Benedikt Morbach 2008-05-05 12:54:25 0000 -------
Created an attachment (id=151913) [details]
proposed ebuild

New ebuild, added some info about the daemon thing

------- Comment #5 From Benedikt Morbach 2008-05-05 12:55:19 0000 -------
Created an attachment (id=151915) [details]
proposed default conf.d file

New conf.d file, added comments

------- Comment #6 From Andrew Resch 2008-05-17 17:43:23 0000 -------
Created an attachment (id=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 From Jonas Jonsson 2008-05-17 19:47:06 0000 -------
The initscript doesn't work with users in ldap, should use getent passwd
instead of /etc/passwd.

------- Comment #8 From Jonas Jonsson 2008-05-17 19:52:13 0000 -------
You need to use --chuid also to get the user correct.

------- Comment #9 From Benedikt Morbach 2008-05-18 12:26:04 0000 -------
Created an attachment (id=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 From Zider 2008-05-22 18:28:55 0000 -------
dev-python/setuptools should be added as dependency, since it won't run without
it.

------- Comment #11 From Mathieu Rochette 2008-06-05 09:50:24 0000 -------
looks like dev-python/pyxdg is another needed dependancy

------- Comment #12 From Pascal Lim 2008-06-10 08:07:25 0000 -------
You should add whitespace after "(" and before ")" in you RDEPEND.  Paludis
doesn't seem to like it without. :p

------- Comment #13 From Raúl Porcel 2008-06-12 15:27:51 0000 -------
In CVS, thanks for the stuff.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug