Updated mldonkey to 2.6.9 and fixed some possible errors in initscript.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 29 Nov 2008 12:55:40 +0000 (13:55 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 29 Nov 2008 12:55:40 +0000 (13:55 +0100)
lfs/mldonkey
src/initscripts/init.d/mldonkey

index 1d22f40..868a6aa 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.9.2
+VER        = 2.9.6
 
 THISAPP    = mldonkey-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mldonkey
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 457564a0baedabe262254de660420c1c
+$(DL_FILE)_MD5 = 5da87678449bf87ce0c78f37e7871eb9
 
 install : $(TARGET)
 
index ef0918a..aee02a0 100644 (file)
@@ -18,6 +18,8 @@
 case "${1}" in
        start)
                boot_mesg "Starting mldonkey..."
+               chown mldonkey.mldonkey /opt/mldonkey -R &>/dev/null
+               rm -f /opt/mldonkey/.mldonkey/*tmp* 2>/dev/null
                HOME=/opt/mldonkey /opt/mldonkey/mlnet >/dev/null 2>&1 &
                evaluate_retval
                ;;