Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18934 - Additions to the mldonkey ebuild (init.d script)
Summary: Additions to the mldonkey ebuild (init.d script)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 18:32 UTC by Sam Cole
Modified: 2003-08-12 11:53 UTC (History)
1 user (show)

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


Attachments
/etc/init.d/mldonkey (mldonkey,1.56 KB, text/plain)
2003-04-07 18:33 UTC, Sam Cole
Details
/etc/conf.d/mldonkey (mldonkey,525 bytes, text/plain)
2003-04-07 18:33 UTC, Sam Cole
Details
another, much simpler (but definitly not as powerful) rc script (mldonkey-2.04.rc,317 bytes, text/plain)
2003-05-10 20:05 UTC, Christian Loitsch
Details
the corresponding config file (mldonkey-2.04.config,196 bytes, text/plain)
2003-05-10 20:05 UTC, Christian Loitsch
Details
an ebuild for the (not yet available 2.04 version) (mldonkey-2.04.ebuild,2.71 KB, text/plain)
2003-05-10 20:08 UTC, Christian Loitsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Cole 2003-04-07 18:32:18 UTC
I wrote the attatched init.d script for Gentoo, like to see them included in
Portage.
These scripts assume the inclusion of a user called donkey along with a home
directory in /home/donkey/ also I needed to emerge netcat before using.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sam Cole 2003-04-07 18:33:18 UTC
Created attachment 10349 [details]
/etc/init.d/mldonkey
Comment 2 Sam Cole 2003-04-07 18:33:59 UTC
Created attachment 10350 [details]
/etc/conf.d/mldonkey
Comment 3 Christian Loitsch 2003-05-10 20:05:16 UTC
Created attachment 11775 [details]
another, much simpler (but definitly not as powerful) rc script

all this rc-script does is start and stop mldonkey.  It uses the -daemon and
-log_file flag of mlnet (which only exists since v 2.04rc1-9)

what's most annoying: it shows all files shared before going into quiet mode :(
Comment 4 Christian Loitsch 2003-05-10 20:05:45 UTC
Created attachment 11776 [details]
the corresponding config file
Comment 5 Christian Loitsch 2003-05-10 20:08:25 UTC
Created attachment 11777 [details]
an ebuild for the (not yet available 2.04 version)

mldonkey said 2? days ago (today=Sun 11 05 2003), that the new version should
come out this week.

This ebuild features a config part which creates an mldonkey user/group.

It might be a good idea to mix the rc-scripts and use this ebuild.
Comment 6 Christian Loitsch 2003-05-11 09:47:08 UTC
if you don't want mldonkey to show all files it shares, just add
> /dev/null to the line starting it.
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2003-06-12 07:16:03 UTC
sorry, don't have time to look after this bug. Maybe someone else has time?
Comment 8 Julian Hoch 2003-08-12 09:40:49 UTC
hi, not knowing about these files I made a script/ebuild myself, bug #25695 (mldonkey-2.5.3-r1 in portage tree)
I included now some of your ideas in a new version, if you want to further develop  the script please contact me.
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2003-08-12 11:53:24 UTC
Closing, as we got this fixed in bug 25695 thanks to Julian.