Name        : mldonkey                     Relocations: (not relocatable)
Version     : 2.7.0                             Vendor: Penguin Liberation Front
Release     : 1plf                          Build Date: Thu 24 Nov 2005 
09:09:47 PM CET
Install Date: (not installed)               Build Host: ryu.zarb.org
Group       : System/Servers                Source RPM: (none)
Size        : 5478690      License: GPL
Signature   : (none)
Packager    : Anssi Hannula <[EMAIL PROTECTED]>
URL         : http://www.nongnu.org/mldonkey
Summary     : Door to the 'donkey' network
Description :
MLDonkey is a door to the 'donkey' network, a decentralized network used to
exchange big files on the Internet. It is written in a wonderful language,
called Objective-Caml, and present most features of the basic Windows donkey
client, plus some more:
  - It should work on most UNIX-compatible platforms.
  - You can remotely command your client, either by telnet, on a WEB browser,
    or with the GTK interface.
  - You can connect to several servers, and each search will query all the
     connected servers.
  - You can select mp3s by bitrates in queries (useful ?).
  - You can select the name of a downloaded file before moving it to your
    incoming directory.
  - You can have several queries in the graphical user interface at the same
     time.
  - You can remember your old queries results in the command-line interface.
  - You can search in the history of all files you have seen on the network.

It can also access other peer-to-peer networks:
- Direct Connect
- Open Napster
- Gnutella LimeWire
- Soulseek
- Audio Galaxy
- OpenFT
- Overnet
- Bittorent
- FileTP

This package is in PLF because it contains a P2P software.

---------------
Anssi Hannula <[EMAIL PROTECTED]> 2.7.0-1plf
- 2.7.0
- fix init script
- fix double buildrequires ncurses-devel
---------------

---------------
Index: mldonkey.init
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/mldonkey.init,v
retrieving revision 1.14
diff -u -r1.14 mldonkey.init
--- mldonkey.init       7 Nov 2005 20:18:27 -0000       1.14
+++ mldonkey.init       26 Nov 2005 13:10:53 -0000
@@ -4,6 +4,8 @@
 #
 # Laurent Culioli <[EMAIL PROTECTED]>
 #
+# Currently maintained by Anssi Hannula <[EMAIL PROTECTED]>
+#
 # chkconfig: 345 90 15
 # description: Mldonkey is client to access multiple peer-to-peer network
 # processname: mlnet
@@ -56,12 +58,27 @@
 start() {
         gprintf "Starting Mldonkey: "
         params="-run_as_user mldonkey"
+       numstarted=0
         if [ log_ok ] ; then
                 params="$params -log_file $LOGFILE"
         fi
         cd $mlhome
+       # This is a hack. If someone knows a cleaner solution, mail me at 
<[EMAIL PROTECTED]>
         daemon --check mlnet $NICE $mldonkey $params </dev/null >/dev/null 
2>&1 &
-        touch /var/lock/subsys/mlnet
+        timeout=0
+        while true; do
+                timeout=$(($timeout + 1))
+                sleep 1
+                if ! pidof $mldonkey >/dev/null; then
+                        echo_failure
+                        break
+                fi
+                if [ $(grep -c "Core started$" $LOGFILE 2>/dev/null || echo 1) 
-gt $numstarted ] || [ $timeout -gt 10 ]; then
+                        echo_success
+                        touch /var/lock/subsys/mlnet
+                        break
+                fi
+        done
         echo
 }
 
Index: mldonkey.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/mldonkey.spec,v
retrieving revision 1.37
diff -u -r1.37 mldonkey.spec
--- mldonkey.spec       7 Nov 2005 20:18:27 -0000       1.37
+++ mldonkey.spec       26 Nov 2005 13:10:53 -0000
@@ -1,8 +1,8 @@
 %define name   mldonkey
 %define Name   Mldonkey
 %define summary        Door to the 'donkey' network
-%define version        2.6.7
-%define rel    2
+%define version        2.7.0
+%define rel    1
 
 %define release %mkrel %rel
 %define distsuffix plf
@@ -20,7 +20,7 @@
 Patch0:                %{name}_command.patch.bz2
 Patch1:                %{name}_submit.patch.bz2
 Patch3:                mldonkey-2.5.30.17-no-unused-errors.patch.bz2
-Source0:       %{name}-%{version}.tar.bz2
+Source0:       
http://savannah.nongnu.org/download/mldonkey/%{name}-%{version}.tar.bz2
 Source1:       %{name}-icon-16.png
 Source2:       %{name}-icon-32.png
 Source3:       %{name}-icon-48.png
@@ -43,7 +43,7 @@
 BuildRequires: ocaml-lablgtk2-devel
 %else
 # Buildrequires for local ocaml:
-BuildRequires: XFree86-devel ncurses-devel tcl tk emacs-bin
+BuildRequires: XFree86-devel tcl tk emacs-bin
 # Buildrequires for local ocaml-lablgtk2:
 BuildRequires: gnomeui2-devel gnome-panel-devel gtkspell-devel
 %endif
@@ -339,6 +339,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Thu Nov 24 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.7.0-1plf
+- 2.7.0
+- fix init script
+- fix double buildrequires ncurses-devel
+
 * Mon Nov  7 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.6.7-2plf
 - mldonkey needs specifically ocaml 3.08, so build that locally on cooker
 - fix init script (bug #83)


_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce

Reply via email to