Name : mldonkey Relocations: (not relocatable)
Version : 2.6.7 Vendor: Penguin Liberation Front
Release : 2plf Build Date: Mon 07 Nov 2005
09:12:28 PM CET
Install Date: (not installed) Build Host: ryu.zarb.org
Group : System/Servers Source RPM: (none)
Size : 5443781 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.6.7-2plf
- mldonkey needs specifically ocaml 3.08, so build that locally on cooker
- fix init script (bug #83)
- fix incoming dir (bug #84)
---------------
---------------
Index: downloads.ini
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/downloads.ini,v
retrieving revision 1.7
diff -u -r1.7 downloads.ini
--- downloads.ini 12 Jan 2005 15:06:52 -0000 1.7
+++ downloads.ini 7 Nov 2005 20:18:27 -0000
@@ -1,12 +1,12 @@
(* The directory where temporary files should be put *)
temp_directory = "/var/cache/mldonkey"
(* Name of GUI to start *)
- mldonkey_gui = "/usr/bin/mldonkey/mlgui"
+ mldonkey_gui = "/usr/bin/mlgui"
(* Directory where mldonkey binaries are installed *)
mldonkey_bin = "/usr/lib/mldonkey"
(* Directories where files will be shared *)
shared_directories = [
- { dirname = "/space/mldonkey/incoming"
+ { dirname = "/var/lib/mldonkey/incoming"
networks = []
strategy = all_files
priority = 0
Index: mldonkey.init
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/mldonkey.init,v
retrieving revision 1.13
diff -u -r1.13 mldonkey.init
--- mldonkey.init 22 Oct 2004 00:09:11 -0000 1.13
+++ mldonkey.init 7 Nov 2005 20:18:27 -0000
@@ -55,12 +55,12 @@
start() {
gprintf "Starting Mldonkey: "
- params="-daemon -run_as_user mldonkey"
+ params="-run_as_user mldonkey"
if [ log_ok ] ; then
params="$params -log_file $LOGFILE"
fi
cd $mlhome
- daemon --check mlnet $NICE $mldonkey $params
+ daemon --check mlnet $NICE $mldonkey $params </dev/null >/dev/null
2>&1 &
touch /var/lock/subsys/mlnet
echo
}
Index: mldonkey.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/mldonkey.spec,v
retrieving revision 1.36
diff -u -r1.36 mldonkey.spec
--- mldonkey.spec 2 Nov 2005 14:33:39 -0000 1.36
+++ mldonkey.spec 7 Nov 2005 20:18:27 -0000
@@ -2,11 +2,16 @@
%define Name Mldonkey
%define summary Door to the 'donkey' network
%define version 2.6.7
-%define rel 1
+%define rel 2
%define release %mkrel %rel
%define distsuffix plf
+# Local versions for mldonkey, as it doesn't build with ocaml 3.09 that cooker
has
+%define ocaml_version 3.08.4
+%define lablgtk_version 2.6.0
+%define ocaml_major %(echo %ocaml_version | perl -pi -e "s/\.[0-9]$//")
+
Name: %{name}
Version: %{version}
Release: %{release}
@@ -27,16 +32,25 @@
Source9: mldonkey_df_monitor.sh
Source10: mlgui.sh
Source11: mldonkey.logrotate
+Source12:
http://pauillac.inria.fr/caml/distrib/ocaml-%ocaml_major/ocaml-%ocaml_version.tar.bz2
+Source13:
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-%lablgtk_version.tar.bz2
URL: http://www.nongnu.org/mldonkey
Group: System/Servers
BuildRoot: %{_tmppath}/%{name}-buildroot
+%if %mdkversion <= 200600
BuildRequires: ocaml >= 3.08
BuildRequires: camlp4
+BuildRequires: ocaml-lablgtk2-devel
+%else
+# Buildrequires for local ocaml:
+BuildRequires: XFree86-devel ncurses-devel tcl tk emacs-bin
+# Buildrequires for local ocaml-lablgtk2:
+BuildRequires: gnomeui2-devel gnome-panel-devel gtkspell-devel
+%endif
BuildRequires: libncurses-devel
BuildRequires: libgd-devel
BuildRequires: libgtk+2-devel
BuildRequires: librsvg-devel
-BuildRequires: ocaml-lablgtk2-devel
Epoch: 1
Requires: nc
@@ -135,10 +149,13 @@
%patch0
%patch1
%patch3 -p1
+bzcat %SOURCE12 | gzip > patches/ocaml-%ocaml_version.tar.gz
+bzcat %SOURCE13 | gzip > patches/lablgtk-%lablgtk_version.tar.gz
+perl -pi -e
"s/^[[:space:]]*REQUIRED_LABLGTK=[0-9\.]*$/REQUIRED_LABLGTK=%lablgtk_version/"
config/configure.in
%build
( cd config; autoconf )
-%configure2_5x --enable-gui
+%configure2_5x --enable-gui --enable-batch
%make
%make use_tags
@@ -200,7 +217,9 @@
perl -i -pe 's|/usr/lib/%{name}|%{_libdir}/%{name}|g' \
%{buildroot}%{_bindir}/mlnet %{buildroot}%{_bindir}/mlgui \
%{buildroot}%{_initrddir}/mldonkey \
- %{buildroot}%{_sysconfdir}/cron.d/mldonkey_df_monitor
+ %{buildroot}%{_sysconfdir}/cron.d/mldonkey_df_monitor \
+ %{buildroot}%{_localstatedir}/%{name}/downloads.ini \
+ %{buildroot}%{_libdir}/%{name}/mldonkey_df_monitor.sh
# ed2k_submit
install -d -m 755 %{buildroot}%{_datadir}/services/
@@ -320,6 +339,11 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* 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)
+- fix incoming dir (bug #84)
+
* Sat Oct 29 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.6.7-1plf
- upgrade to 2.6.7 (bug #33)
- patch3: disable build errors for unused variables
_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce