--- mldonkey-2.5-3/config/configure 2003-06-05 17:32:49.000000000 +1000 +++ mldonkey-2.5-3-patched/config/configure 2003-06-07 10:33:01.000000000 +1000 @@ -1410,7 +1410,7 @@ powerpc-*-linux*) arch=power; model=ppc; system=elf;; powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;; powerpc-*-darwin*) arch=power; model=ppc; system=rhapsody - REQUIRED_OCAML=3.06+27 + REQUIRED_OCAML=3.06 echo "***************************************************" echo --- mldonkey-2.5-3/src/daemon/common/commonOptions.ml 2003-06-05 17:32:50.000000000 +1000 +++ mldonkey-2.5-3-patched/src/daemon/common/commonOptions.ml 2003-06-07 10:56:06.000000000 +1000 @@ -423,7 +423,7 @@ let ask_for_gui = define_option downloads_ini ["ask_for_gui"] - "Ask for GUI start" bool_option true + "Ask for GUI start" bool_option false let start_gui = define_option downloads_ini ["start_gui"] "Automatically Start the GUI" bool_option false @@ -432,11 +432,11 @@ let mldonkey_bin = define_option downloads_expert_ini ["mldonkey_bin"] "Directory where mldonkey binaries are installed" - string_option bin_dir + string_option "@FINKPREFIX@/bin" let mldonkey_gui = define_option downloads_expert_ini ["mldonkey_gui"] "Name of GUI to start" string_option - (Filename.concat bin_dir "mlgui") + "@FINKPREFIX@/bin/mldonkey_gui" (* let filter_search = define_option downloads_expert_ini ["filter_search"] @@ -945,7 +945,7 @@ set this option, mldonkey will log this info in the file until you use the 'close_log' command. The log file may become very large. You can also enable logging in a file after startup using the 'log_file' command." - string_option "" + string_option "./mldonkey.log" let max_upload_slots = define_option downloads_ini ["max_upload_slots"] --- mldonkey-2.5-3/donkey 2003-06-07 10:34:33.000000000 +1000 +++ mldonkey-2.5-3-patched/donkey 2003-05-24 01:29:06.000000000 +1000 @@ -0,0 +1,26 @@ +#!/bin/sh +# +# Start/Stop script for mldonkey + +case "$1" in + start) + if [ ! -d ~/.mldonkey ]; then + echo "Creating $HOME/.mldonkey" + cd @FINKPREFIX@/share; cp -r mldonkey $HOME/.mldonkey + fi + echo "Starting mldonkey" + cd ~/.mldonkey && exec @FINKPREFIX@/bin/mlnet -daemon + ;; + + stop) + echo "Stopping mldonkey" + killall mlnet + ;; + + *) + echo "Start/Stop script for mldonkey" + echo "Usage: $0 {start|stop}" + exit 1 + ;; + +esac