--- mldonkey-2.7.3.orig/debian/mldonkey-gui.install
+++ mldonkey-2.7.3/debian/mldonkey-gui.install
@@ -0,0 +1,3 @@
+mlgui  usr/bin/
+mlguistarter  usr/bin/
+debian/images/mlgui.xpm	usr/share/pixmaps/
--- mldonkey-2.7.3.orig/debian/po/templates.pot
+++ mldonkey-2.7.3/debian/po/templates.pot
@@ -0,0 +1,543 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-07-06 23:53+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"A configuration for MLDonkey has been detected, but the mldonkey_options "
+"executable cannot be found. Therefore, the settings from the current "
+"MLDonkey configuration cannot be fetched."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"This is a typical error, if you have uninstalled the mldonkey-server package "
+"and later reinstall it."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"Ignore this message in case you think there is nothing to be saved from your "
+"current configuration."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid "Your configuration will be saved to downloads.ini.dpkg."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid "Warning"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"A former installation of mldonkey-server has been detected, but we cannot "
+"find the directory coming with it."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"The installation will create a fresh directory with new .ini configuration "
+"files."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"Afterwards you can copy your old .ini configuration files to this new "
+"directory and re-run \"dpkg-reconfigure mldonkey-server\" to update the "
+"remaining debconf values stored in /etc/default/mldonkey-server."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "Bug #200500"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Previous versions of mldonkey-server suffer from a serious DFSG policy "
+"violation."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"The plugin for the fasttrack protocol (e.g. used by kazaa) of mldonkey-"
+"server was made with illegal coding practice. This version fixes the problem "
+"by removing this plugin from the MLDonkey package. Any fasttrack sources "
+"will be filtered out of your files.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Your entire fasttrack upload will disappear with the next restart of the "
+"mldonkey server."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "See /usr/share/doc/mldonkey-server/README.Debian for more information."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Launch at startup?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Do you want to launch MLDonkey as a system service?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose yes, each time your machine starts, the MLDonkey server will "
+"be started."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose no, you will need to launch MLDonkey yourself each time you "
+"want to use it."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "MLDonkey user:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "Define the user who will run the MLDonkey server process."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"Please do not choose a real user. For security reasons it is better if this "
+"user does not own any other data than the MLDonkey share."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"You will use this user account to share and get data from the peer-to-peer "
+"networks."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"This user will be a system user (if created). You won't be able to login "
+"into your system with this user name."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "MLDonkey group:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "Define the group which will run the MLDonkey server process."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Please do not choose a real group. For security reasons it is better if this "
+"group does not own any other data than the MLDonkey share."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Users of this group can start and stop the MLDonkey server and can also "
+"access the files fetched from the peer-to-peer networks."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid "Move old files?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"You have changed the MLDonkey user. You can change the ownership of your "
+"files to the new user."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"PS: the former user won't be deleted from /etc/passwd, you will have to do "
+"it yourself later (e.g. with deluser(8)), or you keep it along with the old "
+"configuration."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid "MLDonkey directory:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"Define the directory to which the MLDonkey server will be chdired and "
+"chrooted."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"The .ini configuration files, incoming and shared directories will be in "
+"this directory."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Move the old configuration?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"You have changed the mldonkey directory. You can move the old files to this "
+"new directory."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"If you choose no, the old directory won't be deleted. You will have to do it "
+"yourself."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Proceed changes?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid "Umask of MLDonkey:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Since MLDonkey will run as a system user, it is not easy to move/delete "
+"files from the incoming dir. By setting a umask, you can provide access to "
+"these files for MLDonkey's group or all users."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Examples: 0002 will give rw access to MLDonkey's group, 0000 will give "
+"access to all users."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid "Niceness of MLDonkey:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"MLDonkey uses heavy calculation from time to time (like hashing very big "
+"files). It should be a good idea to set a very kind level of niceness, "
+"depending on what ressources you want to give to MLDonkey."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"You can set values from -20 to 20. The bigger the niceness, the lower the "
+"priority of MLDonkey processes."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid "Shared directories:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"List of directories you want to share. By default, the incoming directory "
+"will always be shared."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"The syntax of this list is a list of strings separated by \";\". For "
+"example: share ; mp3"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Since MLDonkey will be chrooted, you need to specify shared dirs with "
+"regards to the new root directory of MLDonkey (e.g. if you want to share /"
+"var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey, you "
+"need to write \"share\" or \"/share\")."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Chroot support is not complete. For now, chroot is not possible, but it may "
+"be enabled in the near future."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "MLDonkey client name:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid ""
+"The name of your server. This is the name that will be presented to other "
+"users of the peer-to-peer networks."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "You could use the name of your website. Example: http://me.my.home/"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "Don't use \" or any other special characters."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid "Maximal download speed (kB/s):"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"Set the maximal download rate. It can be useful to limit this rate, in order "
+"to always have a minimal bandwidth for other internet applications."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"It has also been noticed that a full use of the bandwidth could cause "
+"problems with DSL connection handling. This is not a rule, it is just based "
+"on a few experiments."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "Maximal upload speed (kB/s):"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Set the maximal upload rate. You must keep in mind that a peer-to-peer "
+"network is based on sharing. Do not use a very low rate."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Some networks calculate the download credit by the upload rate. More upload "
+"speed means more download speed."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"As for the download speed, you should limit this rate so that you can still "
+"use the internet even when MLDonkey is running."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "0 means no limit."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "Maximal time to live for the server:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"MLDonkey needs to be restarted from time to time. This is safer for memory "
+"consumption and all. You need to set the time between automatic restarts (in "
+"hours)."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"The only problem with this is that you will loose some upload credits. You "
+"can set this variable to a very high value in order to be sure to have a "
+"sufficient time to gather a lot of credits."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "For example: 24 for one day, 168 for one week."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid "Password of admin user:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"As of version 2.04rc1, a new user management appears. The password is "
+"encrypted and stored in downloads.ini."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"If you want to add a new user for MLDonkeys user management or want to "
+"change the password, refer to /usr/share/doc/mldonkey-server/README.Debian."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Retype password of the admin user:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Please confirm your admin's password."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "Passwords do not match"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "The two password you enter must be the same."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "You will be asked until you can provide the same password twice."
+msgstr ""
--- mldonkey-2.7.3.orig/debian/po/vi.po
+++ mldonkey-2.7.3/debian/po/vi.po
@@ -0,0 +1,652 @@
+# Vietnamese Translation for MLDonkey.
+# Copyright © 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: mldonkey 2.5.9\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-07-06 23:53+0200\n"
+"PO-Revision-Date: 2005-09-21 20:54+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"A configuration for MLDonkey has been detected, but the mldonkey_options "
+"executable cannot be found. Therefore, the settings from the current "
+"MLDonkey configuration cannot be fetched."
+msgstr ""
+"Đã phát hiện một cấu hình MLDonkey, nhưng mà không tìm thấy tập tin chạy "
+"được « mldonkey_options » (các tùy chọn MLDonkey). Như thế thì không thể lấy "
+"thiết lập từ cấu hình MLDonkey hiện tại."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"This is a typical error, if you have uninstalled the mldonkey-server package "
+"and later reinstall it."
+msgstr ""
+"Lỗi này rất thường nếu bạn đã bỏ cài đặt gói mldonkey-server rồi cài đặt lại "
+"nó vào lúc sau."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"Ignore this message in case you think there is nothing to be saved from your "
+"current configuration."
+msgstr ""
+"Có thể bỏ qua thông điệp này, nếu bạn không muốn lưu gì trong cấu hình hiện "
+"tại."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid "Your configuration will be saved to downloads.ini.dpkg."
+msgstr "Cấu hình bạn sẽ được lưu vào <downloads.ini.dpkg>."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid "Warning"
+msgstr "Cảnh báo"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"A former installation of mldonkey-server has been detected, but we cannot "
+"find the directory coming with it."
+msgstr ""
+"Đã phát hiện một bản cài đặt trước của gói mldonkey-server, nhưng mà không "
+"tìm thấy thư mục thường có sẵn với nó."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"The installation will create a fresh directory with new .ini configuration "
+"files."
+msgstr ""
+"Bộ cài đặt này sẽ tạo một thư mục mới cũng có các tập tin dạng .ini mới."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"Afterwards you can copy your old .ini configuration files to this new "
+"directory and re-run \"dpkg-reconfigure mldonkey-server\" to update the "
+"remaining debconf values stored in /etc/default/mldonkey-server."
+msgstr ""
+"Sau nay, bạn có thể sao chép cấu hình .ini cũ vào thư mục mới này, rồi chạy "
+"lại lệnh « dpkg-reconfigure mldonkey-server » để cập nhật cạc giá trị "
+"debconf còn lại được cất giữ trong </etc/default/mldonkey-server>."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "Bug #200500"
+msgstr "Lỗi #200500"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Previous versions of mldonkey-server suffer from a serious DFSG policy "
+"violation."
+msgstr ""
+"Phiên bản trước của mldonkey-server chứa một vi phạm chính sách DFSG quan "
+"trọng."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"The plugin for the fasttrack protocol (e.g. used by kazaa) of mldonkey-"
+"server was made with illegal coding practice. This version fixes the problem "
+"by removing this plugin from the MLDonkey package. Any fasttrack sources "
+"will be filtered out of your files.ini."
+msgstr ""
+"Bộ cầm phít (plugin) cho giao thức Fasttrack (v.d. do Kazaa dùng) của "
+"mldonkey-server được lập một cách tạo mã bị cấm. Phiên bản này đã sửa vấn đề "
+"này bằng cách bỏ bộ cầm phít này ra gói MLDonkey. Mã nguồn Fasttrack nào sẽ "
+"được lọc ra các <files.ini> của bạn."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Your entire fasttrack upload will disappear with the next restart of the "
+"mldonkey server."
+msgstr ""
+"Lần sau khởi chạy lại mldonkey, toàn bộ dữ liệu tải lên fasttrack của bạn sẽ "
+"biến mất."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "See /usr/share/doc/mldonkey-server/README.Debian for more information."
+msgstr "Hãy xem tập tin Đọc Đi </usr/share/doc/mldonkey-server/README.Debian>."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Launch at startup?"
+msgstr "Khởi chạy khi khởi động máy không?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Do you want to launch MLDonkey as a system service?"
+msgstr ""
+"Bạn có muốn khởi chạy trình MLDonkey như là một dịch vụ hệ thống không?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose yes, each time your machine starts, the MLDonkey server will "
+"be started."
+msgstr ""
+"Nếu bạn chọn Có (yes) thì mỗi lúc khởi động máy, sẽ cũng khởi chạy một trình "
+"phục vụ MLDonkey."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose no, you will need to launch MLDonkey yourself each time you "
+"want to use it."
+msgstr ""
+"Nếu bạn chọn Không (no) thì bạn sẽ cần phải tự khởi chạy MLDonkey mỗi lúc "
+"muốn sử dụng nó."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "MLDonkey user:"
+msgstr "Người dùng MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "Define the user who will run the MLDonkey server process."
+msgstr "Hãy định nghĩa người dùng sẽ chạy tiến trình phục vụ MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"Please do not choose a real user. For security reasons it is better if this "
+"user does not own any other data than the MLDonkey share."
+msgstr ""
+"Hãy chọn một người dùng không phải là người thật. Vì lý do bảo mật, tốt hơn "
+"khi người dùng này không sở hữu dữ liệu khác với phần chia MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"You will use this user account to share and get data from the peer-to-peer "
+"networks."
+msgstr ""
+"Bạn sẽ sử dụng tài khoản người dùng này để chia ra và lấy dữ liệu từ những "
+"mạng đồng đẳng."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"This user will be a system user (if created). You won't be able to login "
+"into your system with this user name."
+msgstr ""
+"Nếu được tạo, người dùng này sẽ là một người dùng hệ thống. Như thế thì, bạn "
+"sẽ không thể đăng nhập hệ thống bằng tên người dùng này."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "MLDonkey group:"
+msgstr "Nhóm MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "Define the group which will run the MLDonkey server process."
+msgstr "Hãy định nghĩa nhóm sẽ chạy tiến trình phục vụ MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Please do not choose a real group. For security reasons it is better if this "
+"group does not own any other data than the MLDonkey share."
+msgstr ""
+"Hãy chọn một nhóm không phải là nhóm thật. Vì lý do bảo mật, tốt hơn khi "
+"nhóm này không sở hữu dữ liệu khác với phần chia MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Users of this group can start and stop the MLDonkey server and can also "
+"access the files fetched from the peer-to-peer networks."
+msgstr ""
+"Các người dùng trong nhóm này có thể khởi chạy và ngừng trình phục vụ "
+"MLDonkey, và cũng có thể truy cập các tập tin được lấy từ mạng đồng đẳng."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid "Move old files?"
+msgstr "Di chuyển tập tin cú không?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"You have changed the MLDonkey user. You can change the ownership of your "
+"files to the new user."
+msgstr ""
+"Bạn đã thay đổi người dùng MLDonkey. Cũng có thể gán họ sử hữu các tập tin "
+"của bạn."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"PS: the former user won't be deleted from /etc/passwd, you will have to do "
+"it yourself later (e.g. with deluser(8)), or you keep it along with the old "
+"configuration."
+msgstr ""
+"Ghi chú: sẽ không xóa bỏ người dùng trước ra </etc/password>. Bạn sẽ phải tự "
+"làm như thế (v.d. bằng « deluser(8) »), hoặc có thể giữ họ cùng với cấu hình "
+"cũ."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid "MLDonkey directory:"
+msgstr "Thư mục MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"Define the directory to which the MLDonkey server will be chdired and "
+"chrooted."
+msgstr ""
+"Hãy định nghĩa thư mục nơi sẽ « chdir » và « chroot » trình phục vụ MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"The .ini configuration files, incoming and shared directories will be in "
+"this directory."
+msgstr ""
+"Các tập tin cấu hình « .ini », thư mục gởi đến và chia sẻ, sẽ ở trong thư "
+"mục này."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Move the old configuration?"
+msgstr "Di chuyển cấu hình cũ không?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"You have changed the mldonkey directory. You can move the old files to this "
+"new directory."
+msgstr ""
+"Bạn đã thay đổi thư mục mldonkey. Cũng có thể di chuyển các tập tin cũ sang "
+"thư mục mới này."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"If you choose no, the old directory won't be deleted. You will have to do it "
+"yourself."
+msgstr ""
+"Nếu bạn chọn Không (no) thì sẽ không xóa bỏ thư mục cũ. Bạn sẽ tự làm như "
+"thế."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Proceed changes?"
+msgstr "Tiếp tục thay đổi không?"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid "Umask of MLDonkey:"
+msgstr "Umask của MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Since MLDonkey will run as a system user, it is not easy to move/delete "
+"files from the incoming dir. By setting a umask, you can provide access to "
+"these files for MLDonkey's group or all users."
+msgstr ""
+"Vì MLDonkey sẽ chạy như là một người dùng hệ thống, không phải dễ dàng để di "
+"chuyển hay xóa bỏ tập tin ra thư mục gửi đến. Bằng cách đặt một umask, bạn "
+"có thể cung cấp cách truy cập các tập tin này cho nhóm MLDonkey, hay cho mọi "
+"người dùng."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Examples: 0002 will give rw access to MLDonkey's group, 0000 will give "
+"access to all users."
+msgstr ""
+"Lấy thí dụ, 0002 sẽ cho nhóm mldonkey quyền đọc/viết, còn 0000 sẽ cho mọi "
+"người truy cập."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid "Niceness of MLDonkey:"
+msgstr "Độ ưu tiên truy cập tiềm năng của MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"MLDonkey uses heavy calculation from time to time (like hashing very big "
+"files). It should be a good idea to set a very kind level of niceness, "
+"depending on what ressources you want to give to MLDonkey."
+msgstr ""
+"Đôi khi MLDonkey thực hiện tiến trình tính toán lớn (v.d. băm tập tin rất "
+"lớn). Vì vậy ý kiến tốt là đặt độ ưu tiên truy cập tiềm năng hữu ích cho nó, "
+"phụ thuộc vào tiềm năng nào bạn muốn cho phép nó."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"You can set values from -20 to 20. The bigger the niceness, the lower the "
+"priority of MLDonkey processes."
+msgstr ""
+"Bạn có thể đặt một giá trị giữa -20 và 20. Càng lớn giá trị, càng thấp là ưu "
+"tiên của tiến trình MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid "Shared directories:"
+msgstr "Thư mục dùng chung:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"List of directories you want to share. By default, the incoming directory "
+"will always be shared."
+msgstr ""
+"Danh sách các thư mục mà bạn muốn chia sẻ. Mặc định là luôn chia sẻ thư mục "
+"gửi đến."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"The syntax of this list is a list of strings separated by \";\". For "
+"example: share ; mp3"
+msgstr ""
+"Cú pháp của danh sách này là danh sách chuỗi định giới bằng dấu cách và dấu "
+"chấm phẩy, v.d. « share ; mp3 »."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Since MLDonkey will be chrooted, you need to specify shared dirs with "
+"regards to the new root directory of MLDonkey (e.g. if you want to share /"
+"var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey, you "
+"need to write \"share\" or \"/share\")."
+msgstr ""
+"Vì sẽ « chroot » MLDonkey, bạn cần phải ghi rõ thư mục dùng chung tương ứng "
+"với thư mục gốc MLDonkey mới. (v.d. nếu bạn muốn chia sẻ </var/lib/mldonkey/"
+"share> và thư mục chính của người dùng MLDonkey là </var/lib/mldonkey>, thì "
+"bạn cần phải gõ « share » hay « /share »)."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Chroot support is not complete. For now, chroot is not possible, but it may "
+"be enabled in the near future."
+msgstr ""
+"Hiện thời cách hỗ trợ « chroot » chưa hoàn thành: không thể « chroot » trong "
+"MLDonkey. Tuy nhiên, chúng tôi mong muốn thực hiện cách hỗ trợ này trước lâu."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "MLDonkey client name:"
+msgstr "Tên trình khách MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid ""
+"The name of your server. This is the name that will be presented to other "
+"users of the peer-to-peer networks."
+msgstr ""
+"Tên của trình phục vụ bạn. Đây là tên sẽ được cung cấp cho các người dùng "
+"khác trên mạng đồng đẳng."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "You could use the name of your website. Example: http://me.my.home/"
+msgstr "Bạn có thể chọn tên của nơi Mạng mình, v.d. <http://tôi.miền_tôi.org>"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "Don't use \" or any other special characters."
+msgstr "Đừng dùng dấu trích dẫn hay ký tự đặc biệt nào."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid "Maximal download speed (kB/s):"
+msgstr "Tốc độ tải xuống tối đa (kB/g)"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"Set the maximal download rate. It can be useful to limit this rate, in order "
+"to always have a minimal bandwidth for other internet applications."
+msgstr ""
+"Hãy đặt tỷ lệ tải xuống tối đa. Có thể hữu ích để giới hạn tỷ lệ này, để đảm "
+"bảo độ rộng dải tần tối thiểu cho ứng dụng Mạng khác."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"It has also been noticed that a full use of the bandwidth could cause "
+"problems with DSL connection handling. This is not a rule, it is just based "
+"on a few experiments."
+msgstr ""
+"Cũng đã thấy khi dùng toàn độ rộng dải tần, đã gặp lỗi quản lý sự kết nối "
+"DSL. Không phải là quy tắc, chỉ đựa vào vài thử nghiệm."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "Maximal upload speed (kB/s):"
+msgstr "Tốc độ tải lên tối đa (kB/g)"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Set the maximal upload rate. You must keep in mind that a peer-to-peer "
+"network is based on sharing. Do not use a very low rate."
+msgstr ""
+"Hãy đặt tỷ lệ tải lên tối đa. Bạn hãy ghi nhớ rằng một mạng đồng đẳng (p2p) "
+"đựa vào chia sẻ tiềm năng. Đừng sử dụng một tỷ lệ rất thấp."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Some networks calculate the download credit by the upload rate. More upload "
+"speed means more download speed."
+msgstr ""
+"Một số mạng tính giá công trạng tải xuống theo tỷ lệ tải lên. Vì vậy càng "
+"cao tốc độ tải lên, càng cao tốc độ tải xuống."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"As for the download speed, you should limit this rate so that you can still "
+"use the internet even when MLDonkey is running."
+msgstr ""
+"Còn tốc độ tải xuống, bạn nên giới hạn tỷ lệ này để cho phép bạn tiếp tục sử "
+"dụng Mạng dù khi MLDonkey đang chạy."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "0 means no limit."
+msgstr "0 có nghĩa là vô hạn"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "Maximal time to live for the server:"
+msgstr "« Thời gian sống » (TTL) tối đa cho trình phục vụ:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"MLDonkey needs to be restarted from time to time. This is safer for memory "
+"consumption and all. You need to set the time between automatic restarts (in "
+"hours)."
+msgstr ""
+"Đôi khi cần phải khởi chạy lại MLDonkey, để bảo quản cách chiếm tiềm năng hệ "
+"thống đều đặn. Vì vậy bạn cần phải đặt thời gian giữa hai lần tự động khởi "
+"chạy lại (theo giờ)."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"The only problem with this is that you will loose some upload credits. You "
+"can set this variable to a very high value in order to be sure to have a "
+"sufficient time to gather a lot of credits."
+msgstr ""
+"Tiếc là lúc ấy bạn sẽ mất một số giá công trạng tải lên. Bạn có thể đặt biến "
+"này là một số rất cao, để đảm bảo bạn có đủ thời gian tập hợp rất nhiều giá "
+"công trạng."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "For example: 24 for one day, 168 for one week."
+msgstr "Lấy thí dụ, 24 giờ là một ngày, và 168 giờ là một tuần."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid "Password of admin user:"
+msgstr "Mật khẩu quản trị:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"As of version 2.04rc1, a new user management appears. The password is "
+"encrypted and stored in downloads.ini."
+msgstr ""
+"Từ phiên bản 2.04rc1, có một cách mới quản lý người dùng. Mật khẩu được mật "
+"mã và được lưu vào <downloads.ini>."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"If you want to add a new user for MLDonkeys user management or want to "
+"change the password, refer to /usr/share/doc/mldonkey-server/README.Debian."
+msgstr ""
+"Nếu bạn muốn thêm một người dùng mới vào sự quản trị người dùng MLDonkey,  "
+"hay muốn thay đổi mật khẩu thì hãy tham chiếu đến tập tin Đọc Đi </usr/share/"
+"doc/mldonkey-server/README.Debian>."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Retype password of the admin user:"
+msgstr "Hãy gõ lại mật khẩu quản trị:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Please confirm your admin's password."
+msgstr "Hãy xác nhận mật khẩu quản trị."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "Passwords do not match"
+msgstr "Hai mật khẩu không trùng nhau"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "The two password you enter must be the same."
+msgstr "Bạn phải nhập hai lần cùng một mật khẫu."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "You will be asked until you can provide the same password twice."
+msgstr "Không thể tiếp tục nếu bạn không cung cấp hai lần cùng một mật khẩu."
+
+#~ msgid "Restart after upgrade"
+#~ msgstr "Khởi chạy lại sau khi nâng cấp"
+
+#~ msgid "MLDonkey uses protocol based on credits and host uptime."
+#~ msgstr ""
+#~ "Trình MLDonkey sử dụng giao thức đựa vào điểm cám ơn và thời gian máy "
+#~ "trực tuyến."
+
+#~ msgid ""
+#~ "If you choose yes, each time the package is installed or upgraded "
+#~ "MLDonkey server will be restarted, loosing his credits on each protocol."
+#~ msgstr ""
+#~ "Nếu bạn chọn làm như thế, mỗi lúc cài đặt gói tin này, hay nâng cấp nó, "
+#~ "thì sẽ khởi chạy lại trình phục vụ MLDonkey, mất mọi điểm cám ơn cho mỗi "
+#~ "giao thức."
+
+#~ msgid ""
+#~ "If you choose no, the server won't be restarted, but you'll have to "
+#~ "restart it on your own, to benefit of the package upgrade. There could "
+#~ "also appears some issue when using  GUI ( protocol mismatch )."
+#~ msgstr ""
+#~ "Nếu bạn không chọn làm như thế, sẽ không khởi chạy lại trình phục vụ, "
+#~ "nhưng mà bạn sẽ phải tự khởi chạy nó để thực hiện phiên bản mới. Cũng "
+#~ "hình như gặp lỗi về sử dụng giao diện người dùng đồ họa (nhiều giao thức "
+#~ "không khớp được)."
--- mldonkey-2.7.3.orig/debian/po/fr.po
+++ mldonkey-2.7.3/debian/po/fr.po
@@ -0,0 +1,677 @@
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# Developers do not need to manually edit POT or PO files.
+#  <>, 2003.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: mldonkey-server 2.02.09\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-07-06 23:53+0200\n"
+"PO-Revision-Date: 2005-04-28 23:59+0200\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <sylvain.le-gall@polytechnique.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"A configuration for MLDonkey has been detected, but the mldonkey_options "
+"executable cannot be found. Therefore, the settings from the current "
+"MLDonkey configuration cannot be fetched."
+msgstr ""
+"L'application a dtect qu'une configuration de MLDonkey existe mais n'est "
+"pas capable de trouver le programme mldonkey_options, qui permet de lire les "
+"variables de la configuration actuelle de MLDonkey."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"This is a typical error, if you have uninstalled the mldonkey-server package "
+"and later reinstall it."
+msgstr ""
+"C'est une erreur classique, si vous avez dsinstall puis rinstall le "
+"paquet mldonkey-server."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"Ignore this message in case you think there is nothing to be saved from your "
+"current configuration."
+msgstr ""
+"Ignorez cet avertissement si vous considrez qu'il n'y a rien de particulier "
+" sauvegarder dans la configuration actuelle."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid "Your configuration will be saved to downloads.ini.dpkg."
+msgstr "Votre configuration sera sauve dans le fichier downloads.ini.dpkg."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid "Warning"
+msgstr "Attention"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"A former installation of mldonkey-server has been detected, but we cannot "
+"find the directory coming with it."
+msgstr ""
+"L'application a dtect une installation antrieure de mldonkey-server, mais "
+"ne peut trouver le rpertoire correspondant."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"The installation will create a fresh directory with new .ini configuration "
+"files."
+msgstr "L'installation va crer un nouveau rpertoire et de nouvelles options."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"Afterwards you can copy your old .ini configuration files to this new "
+"directory and re-run \"dpkg-reconfigure mldonkey-server\" to update the "
+"remaining debconf values stored in /etc/default/mldonkey-server."
+msgstr ""
+"Vous pourrez alors copier vos anciens fichiers de configuration dans le "
+"nouveau rpertoire et relancer dpkg-reconfigure mldonkey-server pour "
+"mettre  jour les rglages de debconf."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "Bug #200500"
+msgstr "Boguenumro 200500"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Previous versions of mldonkey-server suffer from a serious DFSG policy "
+"violation."
+msgstr ""
+"Les versions prcdentes de mldonkey-server comportaient un srieux problme "
+"de violation de la dfinition des logiciels libres selon Debian (Debian "
+"Free Software Guidelines)."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"The plugin for the fasttrack protocol (e.g. used by kazaa) of mldonkey-"
+"server was made with illegal coding practice. This version fixes the problem "
+"by removing this plugin from the MLDonkey package. Any fasttrack sources "
+"will be filtered out of your files.ini."
+msgstr ""
+"Le greffon fasttrack ( utilis par exemple pour kazaa ) de mldonkey-server "
+"relevait de pratiques illgales de programmation. Cette version corrige ce "
+"problme. Toute les rfrences  fasttrack seront supprimes de votre "
+"fichier files.ini."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Your entire fasttrack upload will disappear with the next restart of the "
+"mldonkey server."
+msgstr ""
+"Tous vos tlchargements fasttrack disparatront au prochain redmarrage de "
+"mldonkey."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "See /usr/share/doc/mldonkey-server/README.Debian for more information."
+msgstr ""
+"Veuillez consulter le fichier /usr/share/doc/mldonkey-server/README.Debian "
+"pour plus d'information."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Launch at startup?"
+msgstr "Faut-il lancer mldonkey au dmarrage du systme?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Do you want to launch MLDonkey as a system service?"
+msgstr "Souhaitez vous lancer MLDonkey comme un service systme ?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose yes, each time your machine starts, the MLDonkey server will "
+"be started."
+msgstr ""
+"Dans l'affirmative, un serveur MLDonkey sera lanc  chaque dmarrage de "
+"votre machine."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose no, you will need to launch MLDonkey yourself each time you "
+"want to use it."
+msgstr ""
+"Dans le cas contraire, vous devrez lancer MLDonkey chaque fois que vous "
+"souhaiterez l'utiliser."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "MLDonkey user:"
+msgstr "Utilisateur MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "Define the user who will run the MLDonkey server process."
+msgstr ""
+"Veuillez indiquer l'identifiant du propritaire du processus serveur "
+"MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"Please do not choose a real user. For security reasons it is better if this "
+"user does not own any other data than the MLDonkey share."
+msgstr ""
+"Vous devriez choisir un utilisateur ddi  cette tche. Pour des raisons de "
+"scurit, il est recommand que cet utilisateur ne possde pas de donnes "
+"autres que celles qui sont partages par MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"You will use this user account to share and get data from the peer-to-peer "
+"networks."
+msgstr ""
+"Ce compte sera utilis pour partager et tlcharger des donnes du rseau "
+"peer-to-peer."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"This user will be a system user (if created). You won't be able to login "
+"into your system with this user name."
+msgstr ""
+"Cet utilisateur sera un utilisateur systme (s'il est cr). Il ne sera pas "
+"capable de se connecter interactivement sur votre systme."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "MLDonkey group:"
+msgstr "Groupe MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "Define the group which will run the MLDonkey server process."
+msgstr ""
+"Veuillez indiquer le groupe qui sera propritaire du processus serveur "
+"MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Please do not choose a real group. For security reasons it is better if this "
+"group does not own any other data than the MLDonkey share."
+msgstr ""
+"Vous devriez choisir un groupe ddi  cette tche. Pour des raisons de "
+"scurit, il est recommand que ce groupe ne possde pas de donnes autres "
+"que celles qui sont partages par MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Users of this group can start and stop the MLDonkey server and can also "
+"access the files fetched from the peer-to-peer networks."
+msgstr ""
+"Ce groupe permet de dfinir qui peut lancer et arrter le serveur MLDonkey "
+"et qui peut accder aux donnes rcupres sur le rseau."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid "Move old files?"
+msgstr "Faut-il dplacer les anciens fichiers?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"You have changed the MLDonkey user. You can change the ownership of your "
+"files to the new user."
+msgstr ""
+"Vous avez chang l'utilisateur MLdonkey. Vous pouvez raffecter les anciens "
+"fichiers au nouvel utilisateur."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"PS: the former user won't be deleted from /etc/passwd, you will have to do "
+"it yourself later (e.g. with deluser(8)), or you keep it along with the old "
+"configuration."
+msgstr ""
+"PS: l'utilisateur prcdent ne sera pas supprim du fichier /etc/password, "
+"vous devrez le faire vous-mme ( avec deluser(8) par exemple ) ou le garder "
+"avec l'ancienne configuration."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid "MLDonkey directory:"
+msgstr "Rpertoire MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"Define the directory to which the MLDonkey server will be chdired and "
+"chrooted."
+msgstr ""
+"Veuillez indiquer le rpertoire dans lequel le serveur MLDonkey sera lanc "
+"et emprisonn (chroot)."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"The .ini configuration files, incoming and shared directories will be in "
+"this directory."
+msgstr ""
+"Les fichiers de configuration .ini, les rpertoires partags et de "
+"tlchargement seront placs dans ce rpertoire."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Move the old configuration?"
+msgstr "Faut-il dplacer l'ancienne configuration?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"You have changed the mldonkey directory. You can move the old files to this "
+"new directory."
+msgstr ""
+"Vous avez chang le rpertoire de MLDonkey. Vous pouvez dplacer les anciens "
+"fichiers vers le nouveau rpertoire."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"If you choose no, the old directory won't be deleted. You will have to do it "
+"yourself."
+msgstr ""
+"Si les donnes ne sont pas dplaces, l'ancien rpertoire ne sera pas "
+"dtruit. Vous devrez le faire vous-mme."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Proceed changes?"
+msgstr "tes-vous prt  effectuer les modifications?"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid "Umask of MLDonkey:"
+msgstr "Masque (umask) de MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Since MLDonkey will run as a system user, it is not easy to move/delete "
+"files from the incoming dir. By setting a umask, you can provide access to "
+"these files for MLDonkey's group or all users."
+msgstr ""
+"Comme MLDonkey se lancera avec les privilges d'un utilisateur systme, il "
+"n'est pas facile de dplacer/dtruire des fichiers du rpertoire de "
+"tlchargement. En utilisant un masque, vous pouvez autoriser l'accs  ces "
+"fichiers au groupe MLDonkey ou  tous les utilisateurs."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Examples: 0002 will give rw access to MLDonkey's group, 0000 will give "
+"access to all users."
+msgstr ""
+"Par exemple: 0002 donnera accs en lecture et en criture  tous les "
+"membres du groupe MLDonkey, 0000 donnera un accs complet  tous les "
+"utilisateurs."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid "Niceness of MLDonkey:"
+msgstr "Politesse de MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"MLDonkey uses heavy calculation from time to time (like hashing very big "
+"files). It should be a good idea to set a very kind level of niceness, "
+"depending on what ressources you want to give to MLDonkey."
+msgstr ""
+"MLDonkey peut mobiliser beaucoup de ressource de temps en temps (p. ex. lors "
+"du calcul des empreintes de certains gros fichiers). Il est recommand de "
+"rgler la priorit de MLDonkey avec une valeur de politesse (nice), en "
+"fonction des ressources que vous souhaitez allouer au service."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"You can set values from -20 to 20. The bigger the niceness, the lower the "
+"priority of MLDonkey processes."
+msgstr ""
+"Les valeurs possibles sont comprises entre -20 et +20. Plus la politesse est "
+"grande, moins le processus MLDonkey est prioritaire."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid "Shared directories:"
+msgstr "Rpertoires partags:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"List of directories you want to share. By default, the incoming directory "
+"will always be shared."
+msgstr ""
+"Veuillez indiquer la liste des rpertoires que vous souhaitez partager. Par "
+"dfaut, le rpertoire de tlchargement est toujours partag."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"The syntax of this list is a list of strings separated by \";\". For "
+"example: share ; mp3"
+msgstr ""
+"Les rpertoires doivent tre spars par des points-virgules. Exemple: "
+"share; mp3."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Since MLDonkey will be chrooted, you need to specify shared dirs with "
+"regards to the new root directory of MLDonkey (e.g. if you want to share /"
+"var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey, you "
+"need to write \"share\" or \"/share\")."
+msgstr ""
+"Comme MLDonkey sera emprisonn, vous devez indiquer les rpertoires partags "
+"relativement  la racine du rpertoire d'emprisonnement. Ainsi, si vous "
+"souhaitez partager /var/lib/mldonkey/share et que le rpertoire de MLDonkey "
+"est /var/lib/mldonkey, vous devez indiquer share ou /share."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Chroot support is not complete. For now, chroot is not possible, but it may "
+"be enabled in the near future."
+msgstr ""
+"La gestion de l'emprisonnement n'est pas complte. En consquence, cet "
+"emprisonnement n'est actuellement pas possible, mais cette option pourra "
+"tre active dans un futur proche."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "MLDonkey client name:"
+msgstr "Nom du serveur MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid ""
+"The name of your server. This is the name that will be presented to other "
+"users of the peer-to-peer networks."
+msgstr ""
+"Veuillez indiquer le nom de votre serveur. Ce sera le nom qui sera prsent "
+"aux autres utilisateurs du rseau peer-to-peer."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "You could use the name of your website. Example: http://me.my.home/"
+msgstr ""
+"Vous pouvez choisir le nom de votre serveur web. Exemple: http://moi.chez."
+"moi/."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "Don't use \" or any other special characters."
+msgstr "N'utilisez pas \" ou tout autre caractre non alphabtique."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid "Maximal download speed (kB/s):"
+msgstr "Vitesse maximale de tlchargement (ko/s):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"Set the maximal download rate. It can be useful to limit this rate, in order "
+"to always have a minimal bandwidth for other internet applications."
+msgstr ""
+"Veuillez choisir la vitesse maximale de tlchargement. Il peut tre utile "
+"de la limiter, afin de vous rserver une bande passante minimale pour "
+"d'autres applications internet."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"It has also been noticed that a full use of the bandwidth could cause "
+"problems with DSL connection handling. This is not a rule, it is just based "
+"on a few experiments."
+msgstr ""
+"Une utilisation maximale de la bande passante peut poser des problmes de "
+"connexion avec l'ADSL. C'est juste une constatation et non une rgle."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "Maximal upload speed (kB/s):"
+msgstr "Vitesse maximale d'envoi (ko/s):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Set the maximal upload rate. You must keep in mind that a peer-to-peer "
+"network is based on sharing. Do not use a very low rate."
+msgstr ""
+"Veuillez choisir la vitesse maximale d'envoi (upload). Souvenez-vous que "
+"les rseaux peer-to-peer sont bass sur le partage. Essayez de ne pas "
+"choisir une valeur trop basse."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Some networks calculate the download credit by the upload rate. More upload "
+"speed means more download speed."
+msgstr ""
+"Certains rseaux peer-to-peer calculent votre crdit de tlchargement avec "
+"la vitesse d'envoi. Plus la vitesse d'envoi est leve, plus la vitesse de "
+"tlchargement l'est."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"As for the download speed, you should limit this rate so that you can still "
+"use the internet even when MLDonkey is running."
+msgstr ""
+"Comme pour la vitesse de tlchargement, vous devriez limiter cette vitesse "
+"pour vous permettre d'utiliser internet mme si MLDonkey est actif."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "0 means no limit."
+msgstr "Une valeur nulle indique que la vitesse n'est pas limite."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "Maximal time to live for the server:"
+msgstr "Dure de vie maximale du serveur (en heures):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"MLDonkey needs to be restarted from time to time. This is safer for memory "
+"consumption and all. You need to set the time between automatic restarts (in "
+"hours)."
+msgstr ""
+"MLDonkey doit tre relanc de temps en temps. C'est plus sr pour la "
+"consommation mmoire et d'autres paramtres. Veuillez indiquer le dlai qui "
+"s'coulera entre les redmarrages."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"The only problem with this is that you will loose some upload credits. You "
+"can set this variable to a very high value in order to be sure to have a "
+"sufficient time to gather a lot of credits."
+msgstr ""
+"Ces redmarrages vous feront perdre certains crdits de tlchargement. Vous "
+"pouvez placer cette variable  des valeurs trs importantes, pour tre sr "
+"d'avoir un temps suffisant pour cumuler beaucoup de crdit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "For example: 24 for one day, 168 for one week."
+msgstr "Par exemple: 24 pour une journe, 168 pour une semaine."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid "Password of admin user:"
+msgstr "Mot de passe de l'utilisateur d'administration:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"As of version 2.04rc1, a new user management appears. The password is "
+"encrypted and stored in downloads.ini."
+msgstr ""
+"Depuis la version 2.04rc1, une politique de gestion des utilisateurs a t "
+"mise en place. Les mots de passe sont chiffrs dans le fichier downloads.ini."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"If you want to add a new user for MLDonkeys user management or want to "
+"change the password, refer to /usr/share/doc/mldonkey-server/README.Debian."
+msgstr ""
+"Si vous souhaitez ajouter un utilisateur pour MLDonkey ou changer de mot de "
+"passe, veuillez consulter le fichier /usr/share/doc/mldonkey-server/README."
+"Debian."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Retype password of the admin user:"
+msgstr "Confirmation du mot de passe de l'utilisateur d'administration:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Please confirm your admin's password."
+msgstr "Veuillez confirmer le mot de passe de l'administrateur."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "Passwords do not match"
+msgstr "Les mots de passe ne correspondent pas"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "The two password you enter must be the same."
+msgstr "Les deux mots de passe que vous avez indiqus sont diffrents."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "You will be asked until you can provide the same password twice."
+msgstr "Le mme mot de passe doit tre entr deux fois."
+
+#~ msgid "Restart after upgrade?"
+#~ msgstr "Redmarrer aprs une mise  jour ?"
+
+#~ msgid ""
+#~ "MLDonkey uses a credit system based on upload speed and MLDonkey's uptime."
+#~ msgstr ""
+#~ "MLDonkey utilise un systme de crdit bas sur la vitesse de "
+#~ "tlchargement et la longvit du client."
+
+#~ msgid ""
+#~ "If you choose yes, each time the package is installed or upgraded the "
+#~ "MLDonkey server will be first stopped and then restarted, loosing its "
+#~ "credits for each protocol."
+#~ msgstr ""
+#~ "Dans l'affirmative, chaque fois que le paquet sera install ou mis  jour "
+#~ "le serveur MLDonkey sera stopp et redmarr, perdant les crdits "
+#~ "accumuls."
+
+#~ msgid ""
+#~ "If you choose no, the server won't be restarted automatically, but you "
+#~ "will have to restart it yourself to benefit from the package upgrade. If "
+#~ "you don't restart it after an upgrade, then there could be some problems "
+#~ "when using the GUI (due to protocol incompatibilities)."
+#~ msgstr ""
+#~ "Si vous choisissez \" Non \", le serveur ne sera pas redmarr, mais vous "
+#~ "devrez le redmarrer vous mme, pour bnficier de la mise  jour. Il est "
+#~ "possible qu'il apparaisse des problmes avec l'interface graphique "
+#~ "( diffrence de protocol )."
--- mldonkey-2.7.3.orig/debian/po/ca.po
+++ mldonkey-2.7.3/debian/po/ca.po
@@ -0,0 +1,706 @@
+# mldonkey (debconf) translation to Catalan.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Aleix Badia i Bosch <abadia@ica.es> 2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-07-06 23:53+0200\n"
+"PO-Revision-Date: 2004-01-31 18:32GMT\n"
+"Last-Translator: Aleix Badia i Bosch <abadia@ica.es>>\n"
+"Language-Team: Debian L10n Catalan <debian-l10n-catalan@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid ""
+"A configuration for MLDonkey has been detected, but the mldonkey_options "
+"executable cannot be found. Therefore, the settings from the current "
+"MLDonkey configuration cannot be fetched."
+msgstr ""
+"S'ha detectat el fitxer de configuraci del MLDonkey, per no es troba "
+"l'executable mldonkey_options que permet recollir les variables de la "
+"configuraci actual."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid ""
+"This is a typical error, if you have uninstalled the mldonkey-server package "
+"and later reinstall it."
+msgstr ""
+"Aquest error s com, per resoldre'l desinstalleu i reinstalleu el paquet "
+"mldonkey-server."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid ""
+"Ignore this message in case you think there is nothing to be saved from your "
+"current configuration."
+msgstr ""
+"Ignoreu aquest avs si considereu que no s necessari desar res de la vostra "
+"configuraci actual."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid "Your configuration will be saved to downloads.ini.dpkg."
+msgstr "La vostra configuraci es desa a download.ini.dpkg"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid "Warning"
+msgstr "Avs"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"A former installation of mldonkey-server has been detected, but we cannot "
+"find the directory coming with it."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+#, fuzzy
+msgid ""
+"The installation will create a fresh directory with new .ini configuration "
+"files."
+msgstr "L'installaci crea un nou directori i noves opcions."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+#, fuzzy
+msgid ""
+"Afterwards you can copy your old .ini configuration files to this new "
+"directory and re-run \"dpkg-reconfigure mldonkey-server\" to update the "
+"remaining debconf values stored in /etc/default/mldonkey-server."
+msgstr ""
+"Llavors podeu copiar el fitxer de configuraci antic al nou directori i "
+"actualitzar els valors  de debconf tornant a executar dpkg-reconfigure "
+"mldonkey-server."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "Bug #200500"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Previous versions of mldonkey-server suffer from a serious DFSG policy "
+"violation."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"The plugin for the fasttrack protocol (e.g. used by kazaa) of mldonkey-"
+"server was made with illegal coding practice. This version fixes the problem "
+"by removing this plugin from the MLDonkey package. Any fasttrack sources "
+"will be filtered out of your files.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Your entire fasttrack upload will disappear with the next restart of the "
+"mldonkey server."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "See /usr/share/doc/mldonkey-server/README.Debian for more information."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid "Launch at startup?"
+msgstr "Executa a l'inici"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid "Do you want to launch MLDonkey as a system service?"
+msgstr "Voleu executar el MLDonkey com un servei del sistema"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid ""
+"If you choose yes, each time your machine starts, the MLDonkey server will "
+"be started."
+msgstr ""
+"Si escolliu s, el servidor de MLDonkey s'engegar cada vegada que s'inici "
+"l'ordinador."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid ""
+"If you choose no, you will need to launch MLDonkey yourself each time you "
+"want to use it."
+msgstr ""
+"Si trieu no, haureu d'engegar el MLDonkey cada vegada que el vulgueu "
+"utilitzar."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid "MLDonkey user:"
+msgstr "Usuari del MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid "Define the user who will run the MLDonkey server process."
+msgstr "Especifiqueu l'usuari propietari del procs del servidor de MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid ""
+"Please do not choose a real user. For security reasons it is better if this "
+"user does not own any other data than the MLDonkey share."
+msgstr ""
+"Seleccioneu un usuari que no sigui real. Per raons de seguretat s millor no "
+"tenir altres dades que no sigui les compartides pel MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid ""
+"You will use this user account to share and get data from the peer-to-peer "
+"networks."
+msgstr ""
+"Utilitzeu el compte d'aquest usuari per compartir i obtenir dades de la "
+"xarxa."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid ""
+"This user will be a system user (if created). You won't be able to login "
+"into your system with this user name."
+msgstr ""
+"Aquest usuari ser del sistema (si es crea). No podr entrar al vostre "
+"sistema."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid "MLDonkey group:"
+msgstr "Grup del MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid "Define the group which will run the MLDonkey server process."
+msgstr "Definiu el grup propietari del procs del servidor del MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid ""
+"Please do not choose a real group. For security reasons it is better if this "
+"group does not own any other data than the MLDonkey share."
+msgstr ""
+"Seleccioneu un grup que no sigui real. Per raons de seguretat s millor no "
+"tenir altres dades que no siguin les compartides pel MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid ""
+"Users of this group can start and stop the MLDonkey server and can also "
+"access the files fetched from the peer-to-peer networks."
+msgstr ""
+"Aquest grup defineix qui pot engegar i parar el servidor de MLDonkey i qui "
+"pot accedir  a les dades recollides de la xarxa."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+#, fuzzy
+msgid "Move old files?"
+msgstr "Desplaa el fitxer antic"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+#, fuzzy
+msgid ""
+"You have changed the MLDonkey user. You can change the ownership of your "
+"files to the new user."
+msgstr ""
+"Heu canviat de mldonkey_user. Podeu canviar la propietat del fitxer al nou "
+"usuari."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"PS: the former user won't be deleted from /etc/passwd, you will have to do "
+"it yourself later (e.g. with deluser(8)), or you keep it along with the old "
+"configuration."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+#, fuzzy
+msgid "MLDonkey directory:"
+msgstr "Directori del MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+#, fuzzy
+msgid ""
+"Define the directory to which the MLDonkey server will be chdired and "
+"chrooted."
+msgstr "Especifiqueu l'usuari propietari del procs del servidor de MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+#, fuzzy
+msgid ""
+"The .ini configuration files, incoming and shared directories will be in "
+"this directory."
+msgstr ""
+"El fitxer d'inicialitzaci, el directori compartit i d'entrada est en "
+"aquest directori."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid "Move the old configuration?"
+msgstr "Desplaa la configuraci antiga"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid ""
+"You have changed the mldonkey directory. You can move the old files to this "
+"new directory."
+msgstr ""
+"Heu canviat el directori del mldonkey. Podeu moure els antics fitxers al nou "
+"directori."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid ""
+"If you choose no, the old directory won't be deleted. You will have to do it "
+"yourself."
+msgstr ""
+"Si trieu que no, no es suprimir l'antic directori, ho haureu de fer "
+"manualment."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid "Proceed changes?"
+msgstr "Realitza els canvis."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+#, fuzzy
+msgid "Umask of MLDonkey:"
+msgstr "Permisos d'accs al MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+#, fuzzy
+msgid ""
+"Since MLDonkey will run as a system user, it is not easy to move/delete "
+"files from the incoming dir. By setting a umask, you can provide access to "
+"these files for MLDonkey's group or all users."
+msgstr ""
+"Els fitxers d'entrada no sn fcils de suprimir ni moure ja que el MLDonkey "
+"s'executa com a usuari del sistema. Modificant els permisos d'accs s "
+"possible donar accs al grup o a tots els usuaris."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+#, fuzzy
+msgid ""
+"Examples: 0002 will give rw access to MLDonkey's group, 0000 will give "
+"access to all users."
+msgstr ""
+"Exemples: el 0002 dona accs de lectura i escriptura al grup del mldonkey, "
+"0000 dona accs a tots els usuaris."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+#, fuzzy
+msgid "Niceness of MLDonkey:"
+msgstr "Connector del MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"MLDonkey uses heavy calculation from time to time (like hashing very big "
+"files). It should be a good idea to set a very kind level of niceness, "
+"depending on what ressources you want to give to MLDonkey."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"You can set values from -20 to 20. The bigger the niceness, the lower the "
+"priority of MLDonkey processes."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid "Shared directories:"
+msgstr "Directoris compartits"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"List of directories you want to share. By default, the incoming directory "
+"will always be shared."
+msgstr ""
+"Llista de directoris que voleu compartir. El directori d'entrada de dades s "
+"comparteix sempre per defecte."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"The syntax of this list is a list of strings separated by \";\". For "
+"example: share ; mp3"
+msgstr ""
+"La sintaxi d'aquesta llista s a una llista de cadenes de carcters "
+"separades per \";\". Per exemple : share ; mp3"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"Since MLDonkey will be chrooted, you need to specify shared dirs with "
+"regards to the new root directory of MLDonkey (e.g. if you want to share /"
+"var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey, you "
+"need to write \"share\" or \"/share\")."
+msgstr ""
+"A l'assignar el directori compartit cal tenir present que el MLDonkey varia "
+"el directori arrel durant l'execuci (si voleu compartir el directori /var/"
+"lib/mldonkey/share i el directori d'usuari del MLDonkey s /var/lib/"
+"mldonkey, cal definir el directori \"share\" o \"/share\" )."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Chroot support is not complete. For now, chroot is not possible, but it may "
+"be enabled in the near future."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid "MLDonkey client name:"
+msgstr "Nom del client del MLDonkey"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid ""
+"The name of your server. This is the name that will be presented to other "
+"users of the peer-to-peer networks."
+msgstr ""
+"El nom del servidor. Aquest nom es mostra als altres usuaris de la xarxa."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid "You could use the name of your website. Example: http://me.my.home/"
+msgstr ""
+"Podeu escollir el nom del vostre lloc web. Exemple : http://me.my.home/"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid "Don't use \" or any other special characters."
+msgstr "No utilitzeu \" o qualsevol carcter especial."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+#, fuzzy
+msgid "Maximal download speed (kB/s):"
+msgstr "Velocitat mxima de baixada"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+#, fuzzy
+msgid ""
+"Set the maximal download rate. It can be useful to limit this rate, in order "
+"to always have a minimal bandwidth for other internet applications."
+msgstr ""
+"Definiu la velocitat mxima de baixada. Per mantenir sempre una amplada de "
+"banda mnima, pot ser til limitar aquesta velocitat."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+#, fuzzy
+msgid ""
+"It has also been noticed that a full use of the bandwidth could cause "
+"problems with DSL connection handling. This is not a rule, it is just based "
+"on a few experiments."
+msgstr ""
+"S'ha comprovat que l's de tota l'amplada de banda pot causar errors amb el "
+"gestor de connexions de DSL."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid "Maximal upload speed (kB/s):"
+msgstr "Velocitat mxima de pujada"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid ""
+"Set the maximal upload rate. You must keep in mind that a peer-to-peer "
+"network is based on sharing. Do not use a very low rate."
+msgstr ""
+"Definiu la velocitat mxima de pujada. Cal que tingueu present que les "
+"xarxes punt a punt es basen en compartir. No utilitzeu una velocitat molt "
+"baixa."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid ""
+"Some networks calculate the download credit by the upload rate. More upload "
+"speed means more download speed."
+msgstr ""
+"Algunes xarxes calculen el crdit de baixada en funci de la velocitat de "
+"pujada. Ms velocitat  de pujada implica ms velocitat de baixada."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid ""
+"As for the download speed, you should limit this rate so that you can still "
+"use the internet even when MLDonkey is running."
+msgstr ""
+"Tal i com heu fet amb la velocitat de baixa, cal que limiteu aquesta "
+"velocitat per continuar fent servir la xarxa independentment de si el "
+"MLDonkey s'est executant."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "0 means no limit."
+msgstr "0 significa que no hi ha lmit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "Maximal time to live for the server:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid ""
+"MLDonkey needs to be restarted from time to time. This is safer for memory "
+"consumption and all. You need to set the time between automatic restarts (in "
+"hours)."
+msgstr ""
+"El MLDonkey s'ha de reiniciar en intervals de temps. s ms segur degut al "
+"consum de memria i d'altres qestions. Heu de definir l'interval de temps "
+"entre les reinicialitzacions automtiques ( en hores )."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid ""
+"The only problem with this is that you will loose some upload credits. You "
+"can set this variable to a very high value in order to be sure to have a "
+"sufficient time to gather a lot of credits."
+msgstr ""
+"L'nic problema que hi ha es que perdeu crdit de pujada Podeu augmentar "
+"suficientment aquesta variable com per tenir suficient temps per adquirir "
+"molt crdit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid "For example: 24 for one day, 168 for one week."
+msgstr "Per exemple: 24 per dia, 168 per setmana."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid "Password of admin user:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+#, fuzzy
+msgid ""
+"As of version 2.04rc1, a new user management appears. The password is "
+"encrypted and stored in downloads.ini."
+msgstr ""
+"Hi una una nova gesti d'usuaris igual que en la versi 2.04rc1. Les "
+"contrasenyes s'encripten i es guarden al download.ini. Cal que us connecteu "
+"una vegada per definir la contrasenya de l'administrador, ja que ara s una "
+"cadena de carcters buida."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"If you want to add a new user for MLDonkeys user management or want to "
+"change the password, refer to /usr/share/doc/mldonkey-server/README.Debian."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Retype password of the admin user:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Please confirm your admin's password."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "Passwords do not match"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "The two password you enter must be the same."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "You will be asked until you can provide the same password twice."
+msgstr ""
+
+#, fuzzy
+#~ msgid ""
+#~ "If you choose yes, each time the package is installed or upgraded the "
+#~ "MLDonkey server will be first stopped and then restarted, loosing its "
+#~ "credits for each protocol."
+#~ msgstr ""
+#~ "Si escolliu s, el servidor de MLDonkey s'engegar cada vegada que "
+#~ "s'inici l'ordinador."
+
+#~ msgid "mldonkey"
+#~ msgstr "mldonkey"
+
+#~ msgid "/var/lib/mldonkey"
+#~ msgstr "/var/lib/mldonkey"
+
+#~ msgid "share"
+#~ msgstr "comparteix"
+
+#~ msgid "Choose the protocol you want to use with your server."
+#~ msgstr "Seleccioneu el protocol que voleu que utilitzi el vostre servidor."
+
+#~ msgid ""
+#~ "EDonkey is default, take a look at the different port settings you need "
+#~ "to make ( firewall... )"
+#~ msgstr ""
+#~ "El EDonkey s l'opci predeterminada, feu una ullada a les diferents "
+#~ "configuracions dels  ports ( tallafocs... )"
+
+#~ msgid ""
+#~ "Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella, Fasttrack"
+#~ msgstr ""
+#~ "Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella, Fasttrack"
+
+#~ msgid "0"
+#~ msgstr "0"
+
+#~ msgid "Password GUI"
+#~ msgstr "Contrasenya del IUG"
+
+#~ msgid ""
+#~ "It is very important to do it : all people will be able to telnet to your "
+#~ "MLDonkey server with auth admin \"\"."
+#~ msgstr ""
+#~ "s molt important fer-ho: tota la gent podria connectar-se al seu "
+#~ "servidor de MLDonkey utilitzant telnet i amb l'autentificaci "
+#~ "d'administrador \"\""
+
+#~ msgid "To set this password, use the GUI/Web or telnet interface."
+#~ msgstr "Per definir la contrasenya utilitzeu l'interfcie GUI/Web o telnet."
+
+#~ msgid "48"
+#~ msgstr "48"
--- mldonkey-2.7.3.orig/debian/po/de.po
+++ mldonkey-2.7.3/debian/po/de.po
@@ -0,0 +1,763 @@
+# translation of de.po to German
+# translation of mldonkey_2.5.28-1_templates.po to German
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+# Jens Nachtigall <nachtigall@web.de>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: de\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-07-06 23:53+0200\n"
+"PO-Revision-Date: 2004-09-14 19:39+0200\n"
+"Last-Translator: Jens Nachtigall <nachtigall@web.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid ""
+"A configuration for MLDonkey has been detected, but the mldonkey_options "
+"executable cannot be found. Therefore, the settings from the current "
+"MLDonkey configuration cannot be fetched."
+msgstr ""
+"Wir stellen fest, dass eine Konfiguration für MLDonkey existiert. Allerdings "
+"können wir nicht das Programm mldonkey_options finden, welches es uns "
+"erlaubt die Variable der derzeitigen MLDonkey-Konfiguration zu bestimmen."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid ""
+"This is a typical error, if you have uninstalled the mldonkey-server package "
+"and later reinstall it."
+msgstr ""
+"Dies ist ein typischer Fehler, wenn Sie das Paket mldonkey-server "
+"deinstalliert haben sollten und danach wieder installieren."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid ""
+"Ignore this message in case you think there is nothing to be saved from your "
+"current configuration."
+msgstr ""
+"Ignorieren Sie diese Anmerkung, wenn Sie der Meinung sind, dass von Ihrer "
+"gegenwärtigen Konfiguration nichts gespeichert werden muss."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+#, fuzzy
+msgid "Your configuration will be saved to downloads.ini.dpkg."
+msgstr "Ihre Konfiguration wird in der Datei downloads.ini.dpkg gespeichert."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid "Warning"
+msgstr "Warnung"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+#, fuzzy
+msgid ""
+"A former installation of mldonkey-server has been detected, but we cannot "
+"find the directory coming with it."
+msgstr ""
+"Wir haben eine frühere Installation von mldonkey-server entdeckt, aber wir "
+"können nicht das dazugehörige Verzeichnis finden."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+#, fuzzy
+msgid ""
+"The installation will create a fresh directory with new .ini configuration "
+"files."
+msgstr ""
+"Diese Installation wird ein neues Verzeichnis mit neuen Einstellungen "
+"erzeugen."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+#, fuzzy
+msgid ""
+"Afterwards you can copy your old .ini configuration files to this new "
+"directory and re-run \"dpkg-reconfigure mldonkey-server\" to update the "
+"remaining debconf values stored in /etc/default/mldonkey-server."
+msgstr ""
+"Später können Sie ihre alte Konfigurations-Datei ins neue Verzeichnis "
+"kopieren. Mittels »dpkg-reconfigure mldonkey-server« können Sie dann den "
+"Wert in debconf aktualisieren."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "Bug #200500"
+msgstr "Fehlerbericht #200500"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+#, fuzzy
+msgid ""
+"Previous versions of mldonkey-server suffer from a serious DFSG policy "
+"violation."
+msgstr ""
+"Frühere Versionen von mldonkey-server litten unter einer ernsthafen "
+"Verletzung der Debian-Richtlinien für Freie Software."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+#, fuzzy
+msgid ""
+"The plugin for the fasttrack protocol (e.g. used by kazaa) of mldonkey-"
+"server was made with illegal coding practice. This version fixes the problem "
+"by removing this plugin from the MLDonkey package. Any fasttrack sources "
+"will be filtered out of your files.ini."
+msgstr ""
+"Die Fasttrack-Erweiterung von mldonkey-server kam mit Hilfe illegaler "
+"Programmierpraktiken zu Stande. Diese Version behebt das Problem. Alle "
+"Fasttrack-Quellen werden aus Ihrer files.ini herausgefiltert."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+#, fuzzy
+msgid ""
+"Your entire fasttrack upload will disappear with the next restart of the "
+"mldonkey server."
+msgstr ""
+"Ihr gesamter Fasttrack-Upload wird beim nächsten Starten von Mldonkey "
+"verschwinden."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+#, fuzzy
+msgid "See /usr/share/doc/mldonkey-server/README.Debian for more information."
+msgstr "Siehe /usr/share/doc/mldonkey-server/README.Debian."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid "Launch at startup?"
+msgstr "Beim Hochfahren starten?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid "Do you want to launch MLDonkey as a system service?"
+msgstr "Möchten Sie MLDonkey als System-Dienst starten?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid ""
+"If you choose yes, each time your machine starts, the MLDonkey server will "
+"be started."
+msgstr ""
+"Wenn Sie »Ja« wählen, wird jedes Mal, wenn Sie ihren Computer hochfahren,ein "
+"MLDonkey-Server gestartet."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+#, fuzzy
+msgid ""
+"If you choose no, you will need to launch MLDonkey yourself each time you "
+"want to use it."
+msgstr ""
+"Wenn Sie »Nein« wählen, müssen Sie MLDonkey jedes Mal starten, wenn Sie es "
+"nutzen möchten."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid "MLDonkey user:"
+msgstr "MLDonkey-Benutzer:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid "Define the user who will run the MLDonkey server process."
+msgstr ""
+"Bestimmen Sie den Benutzer, unter dessen Namen der MLDonkey-Server-Prozess "
+"laufen soll."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid ""
+"Please do not choose a real user. For security reasons it is better if this "
+"user does not own any other data than the MLDonkey share."
+msgstr ""
+"Bitte wählen Sie einen Benutzer, der kein realer Benutzer ist. Aus "
+"Sicherheitsgründen ist es besser, wenn dieser Benutzer keine weiteren Daten "
+"außer denen von MLDonkey besitzt."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid ""
+"You will use this user account to share and get data from the peer-to-peer "
+"networks."
+msgstr ""
+"Sie werden dieses Benutzerkonto nutzen, um Daten innerhalb des Netzwerkes zu "
+"tauschen."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+#, fuzzy
+msgid ""
+"This user will be a system user (if created). You won't be able to login "
+"into your system with this user name."
+msgstr ""
+"Dieser Benutzer wird ein System-Benutzer sein (sofern er erstellt wird). Sie "
+"werden sich nicht mit diesem Benutzernamen an Ihrem System anmelden können."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid "MLDonkey group:"
+msgstr "MLDonkey-Gruppe:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid "Define the group which will run the MLDonkey server process."
+msgstr ""
+"Bestimmen Sie die Gruppe, unter dessen Namen der MLDonkey-Server-Prozess "
+"laufen soll."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid ""
+"Please do not choose a real group. For security reasons it is better if this "
+"group does not own any other data than the MLDonkey share."
+msgstr ""
+"Bitte wählen Sie eine Gruppe, die keine reale Gruppe ist. Aus "
+"Sicherheitsgründen ist es besser, wenn diese Gruppe keine weiteren Daten "
+"außer denen von MLDonkey besitzt."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+#, fuzzy
+msgid ""
+"Users of this group can start and stop the MLDonkey server and can also "
+"access the files fetched from the peer-to-peer networks."
+msgstr ""
+"Diese Gruppe legt fest, wer den MLDonkey-Server starten oder stoppen darf "
+"undwer auf die Daten, die aus dem Netzwerk heruntergeladen wurden, zugreifen "
+"darf."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+#, fuzzy
+msgid "Move old files?"
+msgstr "Verschieben der alten Datei?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+#, fuzzy
+msgid ""
+"You have changed the MLDonkey user. You can change the ownership of your "
+"files to the new user."
+msgstr ""
+"Sie haben den MLDonkey-Benutzer verändert. Sie können den neuen Benutzer "
+"wieder zum Eigentümer Ihrer Datei machen."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+#, fuzzy
+msgid ""
+"PS: the former user won't be deleted from /etc/passwd, you will have to do "
+"it yourself later (e.g. with deluser(8)), or you keep it along with the old "
+"configuration."
+msgstr ""
+"PS: Der frühere Benutzer wird nicht aus /etc/password entfernt werden. Sie "
+"werden es selbst tun müssen, oder aber Sie behalten ihn zusammen mit der "
+"alten Konfiguration."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+#, fuzzy
+msgid "MLDonkey directory:"
+msgstr "MLDonkeys-Verzeichnis:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+#, fuzzy
+msgid ""
+"Define the directory to which the MLDonkey server will be chdired and "
+"chrooted."
+msgstr ""
+"Bestimmen Sie MLDonkeys neues Wurzelverzeichnis (engl. »chroot«), in welches "
+"MLDonkey wechseln wird."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+#, fuzzy
+msgid ""
+"The .ini configuration files, incoming and shared directories will be in "
+"this directory."
+msgstr ""
+"Sowohl die init-Datei als auch das zum Tausch freigegebene Verzeichnis und "
+"das Verzeichnis mit den heruntergeladenen Dateien (»incoming« genannt) "
+"werden sich in diesem Verzeichnis befinden."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid "Move the old configuration?"
+msgstr "Verschieben der alten Konfiguration?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid ""
+"You have changed the mldonkey directory. You can move the old files to this "
+"new directory."
+msgstr ""
+"Sie haben das MLDonkey-Verzeichnis verändert. Sie können die alte Datei in "
+"das neue Verzeichnis verschieben."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid ""
+"If you choose no, the old directory won't be deleted. You will have to do it "
+"yourself."
+msgstr ""
+"Wenn Sie »Nein« wählen, wird das alte Verzeichnis nicht gelöscht. Sie werden "
+"es selbst tun müssen."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+#, fuzzy
+msgid "Proceed changes?"
+msgstr "Änderungen durchführen?"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+#, fuzzy
+msgid "Umask of MLDonkey:"
+msgstr "Umask von MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+#, fuzzy
+msgid ""
+"Since MLDonkey will run as a system user, it is not easy to move/delete "
+"files from the incoming dir. By setting a umask, you can provide access to "
+"these files for MLDonkey's group or all users."
+msgstr ""
+"Da MLDonkey als ein System-Benutzer läuft, ist es nicht einfach Dateien des "
+"»incoming«-Verzeichnisses zu verschieben/löschen. Durch das Setzen einer "
+"Umask können für die Benutzergruppe oder für alle Benutzer Zugriff auf diese "
+"Dateien erlauben."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+#, fuzzy
+msgid ""
+"Examples: 0002 will give rw access to MLDonkey's group, 0000 will give "
+"access to all users."
+msgstr ""
+"Beispiele: 0002 erlaubt der Gruppe von mldonkey den Lese- und "
+"Schreibzugriff, 0000 erlaubt allen Benutzern Zugriff."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+#, fuzzy
+msgid "Niceness of MLDonkey:"
+msgstr "Nice-Wert von MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+#, fuzzy
+msgid ""
+"MLDonkey uses heavy calculation from time to time (like hashing very big "
+"files). It should be a good idea to set a very kind level of niceness, "
+"depending on what ressources you want to give to MLDonkey."
+msgstr ""
+"MLDonkey führt ab und zu sehr komplexe Berechnungen durch (beispielsweise "
+"die Berechnung der Hash-Werte für sehr große Dateien). Es ist wahrscheinlich "
+"eine gute Idee einen sehr hohen Nice-Wert einzugeben, abhängig davon welche "
+"Ressourcen Sie MLDonkey zur Verfügung stellen wollen."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+#, fuzzy
+msgid ""
+"You can set values from -20 to 20. The bigger the niceness, the lower the "
+"priority of MLDonkey processes."
+msgstr ""
+"Der Wert darf zwischen -20 und 20 sein. Desto größer der Nice-Wert, um so "
+"niedriger ist die Priorität des MLDonkey-Prozesses."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid "Shared directories:"
+msgstr "Zum Tausch freigegebene Verzeichnisse:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"List of directories you want to share. By default, the incoming directory "
+"will always be shared."
+msgstr ""
+"Liste der Verzeichnisse, die Sie zum Tausch freigeben möchten. Standardmäßig "
+"wird das Verzeichnis mit den heruntergeladenen Dateien (»incoming« genannt) "
+"immer freigegeben."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"The syntax of this list is a list of strings separated by \";\". For "
+"example: share ; mp3"
+msgstr ""
+"Die Syntax dieser Liste entspricht einer Liste von Zeichenketten, die durch "
+"ein \";\" voneinander getrennt sind. Zum Beispiel: share ; mp3"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"Since MLDonkey will be chrooted, you need to specify shared dirs with "
+"regards to the new root directory of MLDonkey (e.g. if you want to share /"
+"var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey, you "
+"need to write \"share\" or \"/share\")."
+msgstr ""
+"Da MLDonkey ein verändertes Wurzelverzeichnis zugewiesen bekommt (engl. "
+"»chroot«), müssen Sie das zum Tausch freigegebene Verzeichnis unter "
+"Beachtung des veränderten Wurzelverzeichnisses angeben. (Wenn Sie "
+"beispielsweise /var/lib/mldonkey/share zum Tausch freigeben wollen und "
+"MLDonkeys Wurzelverzeichnis ist /var/lib/mldonkey, dann müssten Sie \"share"
+"\" oder \"/share\" eingeben)."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+#, fuzzy
+msgid ""
+"Chroot support is not complete. For now, chroot is not possible, but it may "
+"be enabled in the near future."
+msgstr ""
+"Das Verändern des Wurzelverzeichnisses (engl. »chroot«) wird nicht "
+"vollständig unterstützt. Zurzeit ist ein Verändern des Wurzelverzeichnisses "
+"nicht möglich, aber es sollte vielleicht in Zukunft aktiviert werden."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid "MLDonkey client name:"
+msgstr "Name des MLDonkey-Clients:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid ""
+"The name of your server. This is the name that will be presented to other "
+"users of the peer-to-peer networks."
+msgstr ""
+"Der Name Ihres Servers. Unter diesem Namen werden Sie für andere Benutzer "
+"des Netzwerkes sichtbar sein."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid "You could use the name of your website. Example: http://me.my.home/"
+msgstr ""
+"Sie könnten den Namen Ihrer Website wählen. Zum Beispiel: http://ich.meine."
+"homepage/"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+#, fuzzy
+msgid "Don't use \" or any other special characters."
+msgstr "Benutzen Sie nicht \" oder andere spezielle Zeichen."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+#, fuzzy
+msgid "Maximal download speed (kB/s):"
+msgstr "Maximale Download-Geschwindigkeit (kO/s):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+#, fuzzy
+msgid ""
+"Set the maximal download rate. It can be useful to limit this rate, in order "
+"to always have a minimal bandwidth for other internet applications."
+msgstr ""
+"Bestimmen Sie die maximale Download-Geschwindigkeit. Es kann sinnvoll sein "
+"diese Geschwindigkeit zu begrenzen um immer eine minimale Bandbreite zur "
+"Verfügung zu haben."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+#, fuzzy
+msgid ""
+"It has also been noticed that a full use of the bandwidth could cause "
+"problems with DSL connection handling. This is not a rule, it is just based "
+"on a few experiments."
+msgstr ""
+"Es ist außerdem aufgefallen, dass das Nutzen der vollen Bandbreite Probleme "
+"im Umgang mit DSL-Verbindungen hervorrufen kann. Das ist nicht die Regel, es "
+"ist lediglich experimentell."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid "Maximal upload speed (kB/s):"
+msgstr "Maximale Upload-Geschwindigkeit (kO/s):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid ""
+"Set the maximal upload rate. You must keep in mind that a peer-to-peer "
+"network is based on sharing. Do not use a very low rate."
+msgstr ""
+"Bestimmen Sie die maximale Upload-Geschwindigkeit. Bitte denken Sie daran, "
+"dass ein Peer-to-Peer-Netzwerk vom Tauschen lebt. Benutzen Sie keine sehr "
+"niedrige Geschwindigkeit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid ""
+"Some networks calculate the download credit by the upload rate. More upload "
+"speed means more download speed."
+msgstr ""
+"Einige Netzwerke berechnen die Bonuspunkte für den Download über die Upload-"
+"Geschwindigkeit. Höhere Upload-Geschwindigkeit bedeutet höhere Download-"
+"Geschwindigkeit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+#, fuzzy
+msgid ""
+"As for the download speed, you should limit this rate so that you can still "
+"use the internet even when MLDonkey is running."
+msgstr ""
+"Es gilt dasselbe wie bei der Download-Geschwindigkeit: Sie sollten die "
+"Upload-Geschwindigkeit begrenzen, damit Sie das Netzwerk nutzen können, "
+"selbst wenn MLDonkey läuft."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "0 means no limit."
+msgstr "0 bedeutet kein Limit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid "Maximal time to live for the server:"
+msgstr "Maximale Lebenszeit des Servers:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid ""
+"MLDonkey needs to be restarted from time to time. This is safer for memory "
+"consumption and all. You need to set the time between automatic restarts (in "
+"hours)."
+msgstr ""
+"MLDonkey muss von Zeit zu Zeit neu gestartet werden. Das ist sicherer für "
+"den Speicherverbrauch und andere Sachen. Sie müssen die Zeit zwischen den "
+"automatisch durchgeführten Neustarts angeben (in Stunden)."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid ""
+"The only problem with this is that you will loose some upload credits. You "
+"can set this variable to a very high value in order to be sure to have a "
+"sufficient time to gather a lot of credits."
+msgstr ""
+"Das einzige Problem damit ist, dass Sie einige Upload-Bonuspunkte verlieren "
+"werden. Sie können dieser Variable einen sehr hohen Wert zuweisen, um "
+"genügend Zeit zu haben viele Bonuspunkte zu sammeln."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+#, fuzzy
+msgid "For example: 24 for one day, 168 for one week."
+msgstr "Zum Beispiel: 24 für einen Tag, 168 für eine Woche."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+#, fuzzy
+msgid "Password of admin user:"
+msgstr "Passwort des Benutzers mit Administrativrechten:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+#, fuzzy
+msgid ""
+"As of version 2.04rc1, a new user management appears. The password is "
+"encrypted and stored in downloads.ini."
+msgstr ""
+"Seit Version 2.04rc1 existiert ein neues Benutzer-Management. Die Passwörter "
+"sind verschlüsselt und werden in der Datei downloads.ini gespeichert."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+#, fuzzy
+msgid ""
+"If you want to add a new user for MLDonkeys user management or want to "
+"change the password, refer to /usr/share/doc/mldonkey-server/README.Debian."
+msgstr ""
+"Wenn Sie einen Benutzer hinzufügen wollen oder das Passwort verändern "
+"möchten, schauen Sie bitte in README.Debian nach."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+#, fuzzy
+msgid "Retype password of the admin user:"
+msgstr ""
+"Bitte wiederholen Sie das Passwort des Benutzers mit Administrativrechten:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+#, fuzzy
+msgid "Please confirm your admin's password."
+msgstr ""
+"Bitte bestätigen Sie das Passwort des Benutzers mit Administrativrechten."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+#, fuzzy
+msgid "Passwords do not match"
+msgstr "Die Passwörter stimmen nicht überein."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "The two password you enter must be the same."
+msgstr "Die beiden eingegebenen Passwörter müssen identisch sein."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+#, fuzzy
+msgid "You will be asked until you can provide the same password twice."
+msgstr ""
+"Sie werden so lange gefragt werden, bis Sie zweimal das gleiche Passwort "
+"eingegeben haben."
+
+#, fuzzy
+#~ msgid "Restart after upgrade?"
+#~ msgstr "Nach dem Upgrade neustarten?"
+
+#, fuzzy
+#~ msgid ""
+#~ "MLDonkey uses a credit system based on upload speed and MLDonkey's uptime."
+#~ msgstr ""
+#~ "MLDonkey benutzt ein Protokoll basierend auf Bonuspunkten und der "
+#~ "Gesamtlaufzeit des Servers."
+
+#, fuzzy
+#~ msgid ""
+#~ "If you choose yes, each time the package is installed or upgraded the "
+#~ "MLDonkey server will be first stopped and then restarted, loosing its "
+#~ "credits for each protocol."
+#~ msgstr ""
+#~ "Wenn Sie »Ja« wählen, dann verlieren Sie für jedes Protokoll MLDonkeys "
+#~ "Bonuspunkte jedes Mal, wenn der Server neu gestartet wird (z.B. durch "
+#~ "Installation oder Upgrade dieses Paketes)."
+
+#, fuzzy
+#~ msgid ""
+#~ "If you choose no, the server won't be restarted automatically, but you "
+#~ "will have to restart it yourself to benefit from the package upgrade. If "
+#~ "you don't restart it after an upgrade, then there could be some problems "
+#~ "when using the GUI (due to protocol incompatibilities)."
+#~ msgstr ""
+#~ "Wenn Sie »Nein« wählen, dann wird der Server nicht neu gestartet. "
+#~ "Stattdessen werden Sie ihn selbst neu starten müssen, um vom Paketupgrade "
+#~ "zu profitieren. Es könnten dadurch allerdings auch einige Probleme bei "
+#~ "der Benutzung der grafischen Oberfläche entstehen (Protokoll-"
+#~ "Inkompatibilitäten)."
--- mldonkey-2.7.3.orig/debian/po/POTFILES.in
+++ mldonkey-2.7.3/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] mldonkey-server.templates
--- mldonkey-2.7.3.orig/debian/po/cs.po
+++ mldonkey-2.7.3/debian/po/cs.po
@@ -0,0 +1,660 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mldonkey\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-07-06 23:53+0200\n"
+"PO-Revision-Date: 2005-10-23 11:08+0200\n"
+"Last-Translator: Jan Outrata <outrataj@upcase.inf.upol.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"A configuration for MLDonkey has been detected, but the mldonkey_options "
+"executable cannot be found. Therefore, the settings from the current "
+"MLDonkey configuration cannot be fetched."
+msgstr ""
+"Byla zjitna konfigurace MLDonkey, ale nelze nalzt program "
+"mldonkey_options. Proto nelze nahrt nastaven z aktuln konfigurace "
+"MLDonkey."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"This is a typical error, if you have uninstalled the mldonkey-server package "
+"and later reinstall it."
+msgstr ""
+"Toto je typick chyba, pokud jste odinstalovali balek mldonkey-server a "
+"pak jej znovu nainstalovali."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid ""
+"Ignore this message in case you think there is nothing to be saved from your "
+"current configuration."
+msgstr ""
+"Ignorujte tuto poznmku, pokud vs nenapad nic, co by mlo bt z va "
+"aktuln konfigurace zachovno."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:3
+msgid "Your configuration will be saved to downloads.ini.dpkg."
+msgstr "Vae konfigurace bude uloena do downloads.ini.dpkg"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid "Warning"
+msgstr "Upozornn"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"A former installation of mldonkey-server has been detected, but we cannot "
+"find the directory coming with it."
+msgstr ""
+"Byla zjitna pedchoz instalace mldonkey-server, ale nelze nalzt jeho "
+"adres."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"The installation will create a fresh directory with new .ini configuration "
+"files."
+msgstr "Instalace vytvo nov adres s novmi konfiguranmi soubory .ini."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:19
+msgid ""
+"Afterwards you can copy your old .ini configuration files to this new "
+"directory and re-run \"dpkg-reconfigure mldonkey-server\" to update the "
+"remaining debconf values stored in /etc/default/mldonkey-server."
+msgstr ""
+"Pak mete zkoprovat vae star konfiguran soubory .ini do tohoto novho "
+"adrese a znovu spustit \"dpkg-reconfigure mldonkey-server\" pro "
+"aktualizaci zbvajcch debconf hodnot uloench v /etc/default/mldonkey-"
+"server."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "Bug #200500"
+msgstr "Chyba #200500"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Previous versions of mldonkey-server suffer from a serious DFSG policy "
+"violation."
+msgstr ""
+"Pedchoz verze mldonkey-server trp vnm poruenm politiky smrnice DFSG."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"The plugin for the fasttrack protocol (e.g. used by kazaa) of mldonkey-"
+"server was made with illegal coding practice. This version fixes the problem "
+"by removing this plugin from the MLDonkey package. Any fasttrack sources "
+"will be filtered out of your files.ini."
+msgstr ""
+"Zsuvn modul serveru mldonkey-server pro protokol fasttrack (pouvan "
+"nap. programem kazaa) byl vytvoen pomoc protiprvnch programovacch "
+"praktik. Tato verze tento problm napravuje odstrannm tohoto modulu z "
+"balku MLDonkey. Z vaeho files.ini budou odfiltrovny vechny zdroje st "
+"fasttrack."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid ""
+"Your entire fasttrack upload will disappear with the next restart of the "
+"mldonkey server."
+msgstr ""
+"Vechna vae odchoz spojen st fasttrack zmiz pi dalm sputn "
+"serveru mldonkey."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:32
+msgid "See /usr/share/doc/mldonkey-server/README.Debian for more information."
+msgstr "Pro vce informac viz /usr/share/doc/mldonkey-server/README.Debian."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Launch at startup?"
+msgstr "Spoutt pi startu systmu?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid "Do you want to launch MLDonkey as a system service?"
+msgstr "Chcete spoutt MLDonkey jako systmovou slubu?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose yes, each time your machine starts, the MLDonkey server will "
+"be started."
+msgstr ""
+"Pokud zvolte ano, bude server MLDonkey sputn pi kadm startu vaeho "
+"potae."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:49
+msgid ""
+"If you choose no, you will need to launch MLDonkey yourself each time you "
+"want to use it."
+msgstr ""
+"Pokud zvolte ne, budete muset sami spustit MLDonkey vdy, kdy ho budete "
+"chtt pouvat."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "MLDonkey user:"
+msgstr "Uivatel MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid "Define the user who will run the MLDonkey server process."
+msgstr "Zadejte uivatele, pod kterm bude bet proces serveru MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"Please do not choose a real user. For security reasons it is better if this "
+"user does not own any other data than the MLDonkey share."
+msgstr ""
+"Nevybrejte skutenho uivatele. Z bezpenostnch dvod je lep, aby "
+"tento uivatel nevlastnil dn jin data ne sdlen MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"You will use this user account to share and get data from the peer-to-peer "
+"networks."
+msgstr ""
+"et tohoto uivatele budete pouvat pro sdlen a zskvn dat z peer-to-"
+"peer st."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:61
+msgid ""
+"This user will be a system user (if created). You won't be able to login "
+"into your system with this user name."
+msgstr ""
+"Tento uivatel bude systmov uivatel (pokud bude vytvoen). Nebude mon "
+"se pihlsit do systmu pod tmto uivatelskm jmnem."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "MLDonkey group:"
+msgstr "Skupina MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid "Define the group which will run the MLDonkey server process."
+msgstr "Zadejte skupinu, pod kterou bude bet proces serveru MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Please do not choose a real group. For security reasons it is better if this "
+"group does not own any other data than the MLDonkey share."
+msgstr ""
+"Nevybrejte skutenou skupinu. Z bezpenostnch dvod je lep, aby tato "
+"skupina nevlastnila dn jin data ne sdlen MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:77
+msgid ""
+"Users of this group can start and stop the MLDonkey server and can also "
+"access the files fetched from the peer-to-peer networks."
+msgstr ""
+"Uivatel z tto skupiny mohou sputt a zastavovat server MLDonkey a tak "
+"pistupovat k souborm staenm z peer-to-peer st."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid "Move old files?"
+msgstr "Pesunout star soubory?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"You have changed the MLDonkey user. You can change the ownership of your "
+"files to the new user."
+msgstr ""
+"Zmnili jste uivatele MLDonkey. Mete zmnit vlastnka soubor na novho "
+"uivatele."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:89
+msgid ""
+"PS: the former user won't be deleted from /etc/passwd, you will have to do "
+"it yourself later (e.g. with deluser(8)), or you keep it along with the old "
+"configuration."
+msgstr ""
+"PS: pedchoz uivatel nebude vymazn z /etc/passwd, muste to pozdji "
+"udlat sami (nap. pomoc deluser(8)), nebo ho mete ponechat spolu se "
+"starou konfigurac."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid "MLDonkey directory:"
+msgstr "Adres MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"Define the directory to which the MLDonkey server will be chdired and "
+"chrooted."
+msgstr ""
+"Zadejte adres, do kterho se server MLDonkey pepne a bude mu nastaven "
+"jako koenov adres."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:102
+msgid ""
+"The .ini configuration files, incoming and shared directories will be in "
+"this directory."
+msgstr ""
+"Konfiguran soubory .ini, pchoz a sdlen adrese budou v tomto "
+"adresi."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Move the old configuration?"
+msgstr "Pesunout starou konfiguraci?"
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"You have changed the mldonkey directory. You can move the old files to this "
+"new directory."
+msgstr ""
+"Zmnili jste adres mldonkey. Mete pesunout star soubory do tohoto "
+"novho adrese."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid ""
+"If you choose no, the old directory won't be deleted. You will have to do it "
+"yourself."
+msgstr ""
+"Pokud zvolte ne, star adres nebude vymazn. Budete to muset udlat sami."
+
+#. Type: boolean
+#. Description
+#: ../mldonkey-server.templates:113
+msgid "Proceed changes?"
+msgstr "Provst zmny?"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid "Umask of MLDonkey:"
+msgstr "Maska prv MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Since MLDonkey will run as a system user, it is not easy to move/delete "
+"files from the incoming dir. By setting a umask, you can provide access to "
+"these files for MLDonkey's group or all users."
+msgstr ""
+"Jeliko MLDonkey pob pod systmovm uivatelem, nen jednoduch "
+"pesunovat/mazat soubory z pchozho adrese. Nastavenm masky prv mete "
+"poskytnout pstup k tmto souborm skupin MLDonkey nebo vem uivatelm."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:125
+msgid ""
+"Examples: 0002 will give rw access to MLDonkey's group, 0000 will give "
+"access to all users."
+msgstr ""
+"Pklady: 0002 nastav pstup pro zpis skupin MLDonkey, 0000 nastav "
+"pstup vem uivatelm."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid "Niceness of MLDonkey:"
+msgstr "Hodnota nice MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"MLDonkey uses heavy calculation from time to time (like hashing very big "
+"files). It should be a good idea to set a very kind level of niceness, "
+"depending on what ressources you want to give to MLDonkey."
+msgstr ""
+"MLDonkey provd as od asu nron vpoty (jako hashovn velmi velkch "
+"soubor). Dobrm npadem je nastavit velmi pvtivou hodnotu nice, v "
+"zvislosti na vpoetnch zdrojch, kter chcete MLDonkey pidlit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:135
+msgid ""
+"You can set values from -20 to 20. The bigger the niceness, the lower the "
+"priority of MLDonkey processes."
+msgstr ""
+"Mete nastavit hodnoty od -20 do 20. m vt je hodnota nice, tm men "
+"prioritu maj procesy MLDonkey."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid "Shared directories:"
+msgstr "Sdlen adrese:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"List of directories you want to share. By default, the incoming directory "
+"will always be shared."
+msgstr ""
+"Seznam adres, kter chcete nasdlet. Pi vchozm nastaven je pchoz "
+"adres vdy sdlen."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"The syntax of this list is a list of strings separated by \";\". For "
+"example: share ; mp3"
+msgstr ""
+"Syntaxe tohoto seznamu je seznam etzc oddlench \";\". Napklad: "
+"share ; mp3 "
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Since MLDonkey will be chrooted, you need to specify shared dirs with "
+"regards to the new root directory of MLDonkey (e.g. if you want to share /"
+"var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey, you "
+"need to write \"share\" or \"/share\")."
+msgstr ""
+"Protoe bude mt MLDonkey nastaven nov koenov adres, muste zadat "
+"sdlen adrese s ohledem na tento nov koenov adres (nap. pokud "
+"chcete sdlet /var/lib/mldonkey/share a domovsk adres uivatele MLDonkey "
+"je /var/lib/mldonkey, muste zapsat \"share\" nebo \"/share\")."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:146
+msgid ""
+"Chroot support is not complete. For now, chroot is not possible, but it may "
+"be enabled in the near future."
+msgstr ""
+"Podpora zmny koenovho adrese nen hotov. Momentln nen zmna "
+"koenovho adrese mon, ale v blzk budoucnosti by mohla bt umonna."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "MLDonkey client name:"
+msgstr "Jmno klienta MLDonkey:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid ""
+"The name of your server. This is the name that will be presented to other "
+"users of the peer-to-peer networks."
+msgstr ""
+"Jmno vaeho serveru. Toto jmno bude prezentovno ostatnm uivatelm peer-"
+"to-peer st."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "You could use the name of your website. Example: http://me.my.home/"
+msgstr ""
+"Mete pout jmno va webov strnky. Pklad: http://ja.a.muj.domov/"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:163
+msgid "Don't use \" or any other special characters."
+msgstr "Nepouvejte \" nebo jakkoliv dal speciln znaky."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid "Maximal download speed (kB/s):"
+msgstr "Maximln rychlost stahovn (kB/s):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"Set the maximal download rate. It can be useful to limit this rate, in order "
+"to always have a minimal bandwidth for other internet applications."
+msgstr ""
+"Nastavte maximln rychlost stahovn. Me bt uiten tuto rychlost "
+"omezit, aby vdy zstala minimln rychlost pipojen pro ostatn "
+"internetov aplikace."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:185
+msgid ""
+"It has also been noticed that a full use of the bandwidth could cause "
+"problems with DSL connection handling. This is not a rule, it is just based "
+"on a few experiments."
+msgstr ""
+"Bylo t zaznamenno, e pln vyuit rychlosti me zpsobovat problmy s "
+"zenm DSL pipojen. Toto nen pravidlo, jen to vyplv z nkolika "
+"experiment."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "Maximal upload speed (kB/s):"
+msgstr "Maximln odchoz rychlost (kB/s):"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Set the maximal upload rate. You must keep in mind that a peer-to-peer "
+"network is based on sharing. Do not use a very low rate."
+msgstr ""
+"Nastavte maximln odchoz rychlost. Mjte na pamti, e s typu kad s "
+"kadm (peer-to-peer) je zaloena na sdlen. Nepouvejte pli nzkou "
+"rychlost."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"Some networks calculate the download credit by the upload rate. More upload "
+"speed means more download speed."
+msgstr ""
+"Nkter st vypotvaj kredit pro stahovn podle odchoz rychlosti. "
+"Vt odchoz rychlost znamen vt rychlost stahovn."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid ""
+"As for the download speed, you should limit this rate so that you can still "
+"use the internet even when MLDonkey is running."
+msgstr ""
+"Stejn jako u rychlosti stahovn byste mli i tuto rychlost omezit tak, aby "
+"bylo mon dle pouvat s i kdy MLDonkey b."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:198
+msgid "0 means no limit."
+msgstr "0 znamen bez omezen."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "Maximal time to live for the server:"
+msgstr "Maximln doba bhu serveru:"
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"MLDonkey needs to be restarted from time to time. This is safer for memory "
+"consumption and all. You need to set the time between automatic restarts (in "
+"hours)."
+msgstr ""
+"MLDonkey mus bt as od asu restartovn. Je to bezpenj kvli spoteb "
+"pamti a tak. Nastavte as mezi automatickmi restarty (v hodinch)."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid ""
+"The only problem with this is that you will loose some upload credits. You "
+"can set this variable to a very high value in order to be sure to have a "
+"sufficient time to gather a lot of credits."
+msgstr ""
+"Jedin problm s tmto je, e ztratte njak odchoz kredity. Mete "
+"nastavit tuto promnnou na velmi vysokou hodnotu, abyste mli dostatek asu "
+"na nasbrn spousty kredit."
+
+#. Type: string
+#. Description
+#: ../mldonkey-server.templates:213
+msgid "For example: 24 for one day, 168 for one week."
+msgstr "Napklad: 24 na jeden den, 168 na jeden tden."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid "Password of admin user:"
+msgstr "Heslo sprvce:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"As of version 2.04rc1, a new user management appears. The password is "
+"encrypted and stored in downloads.ini."
+msgstr ""
+"Od verze 2.04rc1 se objevuje nov sprva uivatel. Heslo je zaifrovno a "
+"uloeno v downloads.ini."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:226
+msgid ""
+"If you want to add a new user for MLDonkeys user management or want to "
+"change the password, refer to /usr/share/doc/mldonkey-server/README.Debian."
+msgstr ""
+"Pokud chcete pidat novho uivatele pro sprvu uivatel MLDonkey nebo "
+"zmnit heslo, podvejte se do /usr/share/doc/mldonkey-server/README.Debian."
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Retype password of the admin user:"
+msgstr "Napite znovu heslo sprvce:"
+
+#. Type: password
+#. Description
+#: ../mldonkey-server.templates:235
+msgid "Please confirm your admin's password."
+msgstr "Potvrte heslo sprvce."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "Passwords do not match"
+msgstr "Hesla nejsou stejn"
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "The two password you enter must be the same."
+msgstr "Ob zadan hesla mus bt stejn."
+
+#. Type: note
+#. Description
+#: ../mldonkey-server.templates:240
+msgid "You will be asked until you can provide the same password twice."
+msgstr "Budete tzni, dokud nezadte dvakrt stejn heslo."
+
+#~ msgid "Restart after upgrade?"
+#~ msgstr "Restartovat po aktualizaci"
+
+#~ msgid ""
+#~ "MLDonkey uses a credit system based on upload speed and MLDonkey's uptime."
+#~ msgstr "MLDonkey pouv protokol zaloen na kreditech a dob provozu."
+
+#~ msgid ""
+#~ "If you choose yes, each time the package is installed or upgraded the "
+#~ "MLDonkey server will be first stopped and then restarted, loosing its "
+#~ "credits for each protocol."
+#~ msgstr ""
+#~ "Pokud zvolte ano, vdy, kdy balek nainstalujete nebo aktualizujete, "
+#~ "bude server MLDonkey restartovn, co zpsob ztrtu kredit na kadm "
+#~ "protokolu."
+
+#~ msgid ""
+#~ "If you choose no, the server won't be restarted automatically, but you "
+#~ "will have to restart it yourself to benefit from the package upgrade. If "
+#~ "you don't restart it after an upgrade, then there could be some problems "
+#~ "when using the GUI (due to protocol incompatibilities)."
+#~ msgstr ""
+#~ "Pokud zvolte ne, server nebude restartovn, ale pro vyuit vylepen "
+#~ "jej budete muset restartovat sami. Mohou se tak vyskytnout njak "
+#~ "problmy pi pouvn GUI (neshoda protokol)."
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_command.ml
+++ mldonkey-2.7.3/debian/utils/mldonkey_command.ml
@@ -0,0 +1,171 @@
+open Unix;;
+
+let quit = "q"
+
+type application_state = {
+  mutable port : int;
+  mutable host : string;
+  mutable user : string;
+  mutable password : string option;
+  mutable use_stdin : bool;
+  mutable quiet : bool;
+  mutable verbose : bool;
+  }
+  
+let create_state () = {
+  port = 4000;
+  host = "localhost";
+  user = "admin";
+  password = None;
+  quiet = false;
+  verbose = false;
+  use_stdin = false;
+  }
+
+let commands_from_stdin =
+  let one_command _ = 
+    try
+      Some (read_line ())
+    with _ ->
+      None
+  in
+  Stream.from one_command
+
+type server_state = S_1 | S_2 | S_3 | End
+
+let mldonkey_result (from_server,to_client) =
+  let rec process_server state =
+    try
+      let new_char = input_char from_server
+      in
+      Buffer.add_char to_client new_char;
+      match (new_char, state) with
+      ('m',S_1) ->
+        process_server S_2
+      | ('\n',S_2) ->
+        process_server S_3
+      | ('>', S_3) ->
+        process_server End
+      | (' ',End) ->
+        ()
+      | _ ->
+        process_server S_1
+    with End_of_file ->
+      ()
+  in
+  process_server S_1;
+  Buffer.add_char to_client '\n'
+    
+
+let mldonkey_login (from_server,to_server) user password =
+  (* Approximate size of the login panel *)
+  let to_client = Buffer.create 600
+  in
+  let auth =
+    let real_password = 
+      match password with 
+      Some(x) -> x
+      | None ->
+        begin
+        prerr_string "Password : ";
+        read_line ()
+        end
+    in
+    "auth \""^user^"\" \""^real_password^"\"\n"
+  in
+  mldonkey_result (from_server,to_client);
+  output_string to_server auth;
+  flush to_server;
+  mldonkey_result (from_server,to_client);
+  to_client
+  
+let mldonkey_command (from_server,to_server) strm_commands = 
+  (* Arbitrary size *)
+  let to_client = Buffer.create 1000
+  in
+  let one_command cmd  =
+    output_string to_server (cmd ^ "\n");
+    flush to_server;
+    mldonkey_result (from_server,to_client)
+  in
+  Stream.iter one_command strm_commands;
+  to_client
+
+let mldonkey_logout (from_server,to_server) = 
+  (* Approximate size of the quit command *)
+  let to_client = Buffer.create 30
+  in
+  output_string to_server "q\n";
+  flush to_server;
+  mldonkey_result (from_server,to_client);
+  to_client
+
+let _ = 
+  let commands = ref []
+  in
+  let state = create_state ()
+  in
+  let _ = Arg.parse [
+    ("-P", Arg.Int ( fun x -> state.port <- x ), "Port of the telnet mldonkey server");
+    ("-h", Arg.String ( fun x -> state.host <- x ), "Host of the telnet mldonkey server");
+    ("-u", Arg.String ( fun x -> state.user <- x ), "Username to use while connecting");
+    ("-p", Arg.String ( fun x -> state.password <- Some x ), "Password to use while connecting");
+    ("-q", Arg.Unit ( fun () -> state.quiet <- true ), "Run without displaying command result");
+    ("-s", Arg.Unit ( fun () -> state.use_stdin <- true ), "Use stdin to enter command");
+    ("-v", Arg.Unit ( fun () -> state.verbose <- true ), "Display login information") ]
+    ( fun x -> commands := x :: !commands )
+    "Usage mldonkey_command [options] list_of_command \n where options are :"
+  in
+  let _ = 
+    if state.verbose then 
+    begin
+      print_string "MLDonkey command sender";
+      print_newline ();
+      Array.iter ( fun x -> print_string (x^" ") ) Sys.argv;
+      print_newline ()
+    end
+    else
+      ()
+  in
+  let hostent = gethostbyname state.host
+  in
+  let inet_host = Array.get hostent.h_addr_list 0
+  in
+  let strm_commands =
+    if state.use_stdin then
+      commands_from_stdin
+    else
+      Stream.of_list !commands
+  in
+  let (from_server, to_server) = 
+    open_connection (ADDR_INET (inet_host, state.port))
+  in
+  let result_login = mldonkey_login (from_server,to_server) 
+    state.user state.password
+  in
+  let result_commands = mldonkey_command (from_server,to_server) 
+    strm_commands
+  in
+  let result_logout = mldonkey_logout (from_server,to_server)
+  in
+  shutdown_connection from_server;
+  begin
+  if state.verbose then
+    Buffer.output_buffer Pervasives.stdout result_login
+  else
+    ()
+  end;
+  begin
+  if state.quiet then
+    ()
+  else
+    Buffer.output_buffer Pervasives.stdout result_commands
+  end;
+  begin
+  if state.verbose then
+    Buffer.output_buffer Pervasives.stdout result_logout
+  else
+    ()
+  end;
+  ()
+
--- mldonkey-2.7.3.orig/debian/utils/Makefile
+++ mldonkey-2.7.3/debian/utils/Makefile
@@ -0,0 +1,26 @@
+byte:
+	$(MAKE) -f Makefile.command byte
+	$(MAKE) -f Makefile.options byte
+	$(MAKE) -f Makefile.users byte
+	$(MAKE) -f Makefile.files byte
+	$(MAKE) -f Makefile.server byte
+	$(MAKE) -f Makefile.mlnet_pathological byte
+	$(MAKE) -f Makefile.submit byte
+
+opt:
+	$(MAKE) -f Makefile.command opt
+	$(MAKE) -f Makefile.options opt
+	$(MAKE) -f Makefile.users opt
+	$(MAKE) -f Makefile.files opt 
+	$(MAKE) -f Makefile.server opt
+	$(MAKE) -f Makefile.mlnet_pathological opt
+	$(MAKE) -f Makefile.submit opt
+
+clean:
+	$(MAKE) -f Makefile.command clean
+	$(MAKE) -f Makefile.options clean
+	$(MAKE) -f Makefile.users clean
+	$(MAKE) -f Makefile.files clean 
+	$(MAKE) -f Makefile.server clean
+	$(MAKE) -f Makefile.mlnet_pathological clean
+	$(MAKE) -f Makefile.submit clean
--- mldonkey-2.7.3.orig/debian/utils/Makefile.users
+++ mldonkey-2.7.3/debian/utils/Makefile.users
@@ -0,0 +1,195 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+#include ../../Makefile
+
+TOP = ../..
+HERE = debian/utils
+CDK = $(TOP)/src/utils/cdk
+BUILD = $(TOP)/build
+ULIB= $(TOP)/src/utils/lib
+
+SOURCES = type_options.ml parse_options.mly lexer_options.mll common_options.ml mldonkey_users.ml
+	
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mldonkey_users
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+INC = -I $(CDK) -I $(ULIB) #-I $(CONF)
+CAMLC = ocamlc $(INC)
+CAMLOPT = ocamlopt $(INC)
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=$(WITHUNIX) $(WITHSTR) -cclib -lz cdk.cma
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM= -custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	cd $(TOP) && $(CAMLOPT) -cc $(CXX) -linkall -o $(HERE)/$(EXEC) -I $(HERE) -I build $(patsubst %.cmo,%.cmx,$(LIBS:.cma=.cmxa)) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	cd $(TOP) && $(CAMLC) -cc $(CXX) $(CUSTOM)  -linkall -o $(HERE)/$(EXEC) -I $(HERE) -I build $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f parse_options.ml parse_options.mli lexer_options.ml .depend.users
+
+.depend.users: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.users
+
+depend: .depend.users
+
+include .depend.users
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_server.ml
+++ mldonkey-2.7.3/debian/utils/mldonkey_server.ml
@@ -0,0 +1,950 @@
+open Unix;;
+
+exception No_home_variable;;
+exception No_home_to_chdir;;
+exception Fails_daemonize;;
+exception Already_running;;
+exception No_pidfile;;
+exception Cant_find_logger;;
+exception Problem_with_logger;;
+exception Invalid_pidfile;;
+exception No_proc_entry of string;;
+
+type daemon_state = Terminate | Respawn | MlnetDied | Nop
+;;
+
+type action_type = Start | Stop | Restart 
+;;
+
+let (prio_min,prio_max) = (-20,20)
+;;
+
+type mldonkey_server_state = {
+  real_home : string option;
+  daemon : bool;
+  quiet : bool;
+  logfile : string option;
+  pidfile : string option;
+  program : string;
+  logger : string;
+  prg_args : string list;
+  chdir : string option;
+  chuid : int;
+  chgid : int;
+  umask : int;
+  nice  : int;
+  action : action_type;
+
+  (* Variable to determine the way we manage mlnet *)
+  end_duration : float;
+  max_alive : float;
+  min_alive : float;
+  respawn_after : float;
+
+  (* Filename that should be inspected. *)
+  (* I put them here, because this should 
+     become a command line option -- if needed,
+   *)
+  (* All path should be relative to chdir, where
+     all the .ini files should be.
+   *)
+
+  inifiles : string list;
+  passwdfiles : string list;
+}
+;;
+
+let user_home st =
+  match st.real_home with 
+  None ->
+    raise No_home_variable
+  | Some x ->
+    x
+;;
+
+let get_chdir st =
+  match st.chdir with
+  None ->
+    let real_filename = Filename.concat (user_home st) ".mldonkey"
+    in
+    real_filename
+  | Some x ->
+    x
+;;
+
+let get_pidfile st =
+  match st.pidfile with
+  None ->
+    let real_filename = Filename.concat (get_chdir st) "mldonkey.pid"
+    in
+    real_filename
+  | Some x ->
+    x
+;;
+
+let get_logfile st =
+  match st.logfile with
+  None ->
+    let real_filename = Filename.concat (get_chdir st) "mldonkey.log"
+    in
+    real_filename
+  | Some x ->
+    x
+;;
+  
+let get_inifiles st =
+  List.map (Filename.concat (get_chdir st)) st.inifiles
+;;
+
+let get_passwdfiles st =
+  List.map (Filename.concat (get_chdir st)) st.passwdfiles
+;;
+
+let default_mldonkey_server_state = 
+  {
+  real_home = 
+    (
+    try 
+      Some (getenv "HOME") 
+    with Not_found -> 
+      None
+    );
+  daemon = false;
+  quiet = false;
+  logfile = None;
+  pidfile = None;
+  program = "/usr/bin/mlnet";
+  logger = "/usr/bin/logger";
+  prg_args = [];
+  chdir = None;
+  chuid = Unix.getuid ();
+  chgid = Unix.getgid ();
+  umask = 0o0022;
+  nice  = 0;
+  action = Start;
+
+  (* 5 min *)
+  end_duration = 300.;
+
+  (* 15 min *)
+  min_alive = 900.;
+
+  (* 1 day *)
+  max_alive = 88400.;
+
+  (* 10 min *)
+  respawn_after = 600.;
+
+  inifiles = 
+    [
+      "bittorrent.ini";
+      "donkey.ini";
+      "files.ini";
+      "file_sources.ini";
+      "fileTP.ini";
+      "friends.ini";
+      "gnutella2.ini";
+      "gnutella.ini";
+      "searches.ini";
+      "servers.ini";
+      "shared_files_new.ini";
+      "stats.ini";
+      "stats_mod.ini";
+      "downloads.ini";
+    ];
+
+  passwdfiles =
+    [
+      "users.ini"
+    ];
+  }
+;;
+
+let get_mldonkey_server_state () =
+  let state = 
+    ref default_mldonkey_server_state
+  in
+  let add_args x = 
+    state := { !state with prg_args = x :: !state.prg_args }
+  in
+  let _ = Arg.parse [
+  (
+    "--daemon", 
+    Arg.Unit (fun x -> state := {!state with daemon = true}), 
+    "Run in daemon mode"
+  );
+  (
+    "--quiet", 
+    Arg.Unit (fun x -> state := {!state with quiet = true}), 
+    "Keep quiet"
+  );
+  (
+    "--logfile", 
+    Arg.String (fun x -> state := {!state with logfile = Some x}), 
+    "Where to put the log"
+  );
+  (
+    "--pidfile", 
+    Arg.String (fun x -> state := {!state with pidfile = Some x}), 
+    "Where to put the pid"
+  );
+  (
+    "--program", 
+    Arg.String (fun x -> state := {!state with program = x}), 
+    "Which program to start"
+  );
+  (
+    "--logger", 
+    Arg.String (fun x -> state := {!state with logger = x}),
+    "Logger program"
+  );
+  (
+    "--chdir", 
+    Arg.String (fun x -> state := {!state with chdir = Some x}), 
+    "Where to chdir"
+  );
+  (
+    "--chuid", 
+    Arg.String (fun x -> 
+      let passwd_ent =
+        Unix.getpwnam x
+      in
+      state := {!state with chuid = passwd_ent.pw_uid}
+    ), 
+    "Which user own the process"
+  );
+  (
+    "--chgid",
+    Arg.String (fun x ->
+      let group_ent =
+        Unix.getgrnam x
+      in
+      state := {!state with chgid = group_ent.gr_gid}
+    ),
+    "Which group own the process"
+  );
+  (
+    "--umask", 
+    Arg.String (fun x ->
+      state := {!state with umask = int_of_string ( "0o"^x )}
+    ),
+    "What umask to use"
+  );
+  (
+    "--nice",
+    Arg.Int (fun x ->
+      state := {!state with nice = x}
+    ),
+    "Niceness of the process"
+  );
+  (
+    "--end-duration", 
+    Arg.Int (fun x -> state := {!state with end_duration = float_of_int x }),
+    "How much time does it take to end mlnet"
+  );
+  (
+    "--max-alive", 
+    Arg.Int (fun x -> 
+      state := { !state with max_alive = (float_of_int x) *. 3600.}
+    ),
+    "For how long an instance of mlnet should run"
+  );
+  (
+    "--min-alive", 
+    Arg.Int (fun x -> state := {!state with min_alive = float_of_int x}),
+    "Minimun time between respawning"
+  );
+  (
+    "--respawn-after", 
+    Arg.Int (fun x -> state := {!state with respawn_after = float_of_int x}),
+    "When mlnet fails, how long to wait before restarting"
+  );
+  (
+    "--start", 
+    Arg.Unit (fun x -> state := {!state with action = Start}),
+    "Start mldonkey_server"
+  );
+  (
+    "--stop", 
+    Arg.Unit (fun x -> state := {!state with action = Stop}),
+    "Stop a running mldonkey_server ( use the pidfile )"
+  );
+  (
+    "--restart", 
+    Arg.Unit (fun x -> state := {!state with action = Restart}),
+    "Restart a running mldonkey_server ( use the pifile, only respawn mlnet )"
+  );
+  (
+    "--", 
+    Arg.Rest ( fun x -> add_args x ),
+    "MLnet arguments"
+  )
+  ]
+  add_args
+  "Usage mldonkey_server [options] -- [mlnet options] where options are :"
+  in
+  !state
+;;
+
+let print_log st str =
+  if st.quiet then
+    true
+  else if st.daemon then
+    (
+      (
+        match Unix.system (st.logger^" -t mldonkey_server \""^str^"\"") with
+          WEXITED(0) ->
+            ()
+        | WEXITED(127) ->
+            raise Cant_find_logger
+        | _ ->
+            raise Problem_with_logger
+      );
+      true
+    )
+  else
+    false
+;;
+
+let debug st str =
+  if print_log st str then
+    ()
+  else
+    (    
+      print_string str;
+      print_newline ()
+    )
+;;
+
+let warning st str = 
+  if print_log st str then
+    ()
+  else
+    (
+      prerr_string str;
+      prerr_newline ()
+    )
+;;
+
+let fatal st str =
+  prerr_string (" "^str);
+  prerr_newline ();
+  ignore (print_log st str)
+;;
+
+let go_home st =
+  debug st ("Chdir to home dir: "^(get_chdir st));
+  Unix.putenv "HOME" (get_chdir st);
+  Unix.putenv "MLDONKEY_STRINGS" (Filename.concat (get_chdir st) "mlnet_strings");
+  Sys.chdir (get_chdir st)
+;;
+
+let create_home st =
+  if Sys.file_exists (get_chdir st) then
+    ()
+  else
+    if not st.daemon then
+    begin
+      let answer =    
+        prerr_string ((get_chdir st)^" doesn't exists."^
+        " Do you want to create it? ( y/N )");
+        flush(Pervasives.stderr);
+        read_line ()
+      in
+      match answer with
+      "y" ->
+        Unix.mkdir (get_chdir st) 0o0755;
+        debug st ("Creating home dir: "^(get_chdir st))
+      | _ ->
+        raise No_home_to_chdir
+    end
+    else
+      raise No_home_to_chdir
+
+let set_uid_gid st =
+  debug st (
+    "Set uid/gid of the process ("^(string_of_int st.chuid)
+    ^", "^(string_of_int st.chgid)^")");
+  setgid st.chgid;
+  setuid st.chuid
+;;
+
+let set_umask st =
+  debug st ("Set umask of the process: "^(string_of_int st.umask));
+  ignore(umask st.umask)
+;;
+
+let set_nice st =
+  debug st ("Set niceness of the process: "^(string_of_int st.nice));
+  (* We are in the bound of the normal niceness *)
+  if prio_min <= st.nice && st.nice <= prio_max then
+    let current_nice = Unix.nice 0
+    in
+    (* Only root can lower the niceness of a process *)
+    if current_nice > st.nice && (Unix.getuid ()) <> 0 then
+      warning st ("Only root can lower the niceness of a process ("
+      ^(string_of_int current_nice)^" > "^(string_of_int st.nice)^")")
+    else
+      ignore (Unix.nice (st.nice - current_nice))
+  else
+    warning st ("Niceness out of bound ("^(string_of_int st.nice)
+    ^"not in ["^(string_of_int prio_min)^"; "^(string_of_int prio_max)^"])")
+;;
+
+(** Create a pidfile, holding the PID value of the process *)
+let create_pidfile st =
+  let pidfile = open_out (get_pidfile st)
+  in
+  debug st ("Writing PID ("^(string_of_int (Unix.getpid ()))^") to pidfile: "^(get_pidfile st));
+  output_string pidfile (string_of_int (Unix.getpid ()));
+  output_string pidfile "\n";
+  close_out pidfile
+;;
+
+(** Read a pidfile, return the PID value stored in it *)
+let read_pidfile st =
+  try
+    let pidfile = open_in (get_pidfile st)
+    in
+    let pid_server = int_of_string (input_line pidfile)
+    in
+    debug st ("Reading PID ("^(string_of_int pid_server)^") from pidfile: "^(get_pidfile st));
+    close_in pidfile;
+    pid_server
+  with 
+    Sys_error(_) ->
+      raise No_pidfile
+  | End_of_file 
+  | Failure "int_of_string" ->
+      raise Invalid_pidfile
+;;
+
+(** Remove a pidfile *)
+let close_pidfile st =
+  try
+    debug st ("Removing pidfile: "^(get_pidfile st));
+    Sys.remove (get_pidfile st)
+  with Sys_error(_) ->
+    raise No_pidfile
+;;
+
+(** Check that the given PID is a running instance of the program which we are
+    in *)
+let daemon_is_running st = 
+  let prog_inode_of_pid pid =
+    let proc_filename = 
+      List.fold_left Filename.concat "/proc" [ (string_of_int pid) ; "exe" ]
+    in
+    if Sys.file_exists proc_filename then
+      (* This condition is too hard: when upgrading you loose the inode number
+         because the script is reinstalled
+       *)
+      (*(Unix.stat proc_filename).Unix.st_ino*)
+      Unix.readlink proc_filename
+    else
+      raise (No_proc_entry proc_filename)
+  in
+  if Sys.file_exists (get_pidfile st) then
+    try 
+      let prev_pid = read_pidfile st
+      in
+      let real_prog_inode = prog_inode_of_pid (Unix.getpid ())
+      in
+      let prev_prog_inode = prog_inode_of_pid prev_pid
+      in
+      real_prog_inode = prev_prog_inode 
+    with 
+      Invalid_pidfile ->
+        (
+          warning st ("Invalid pidfile: "^(get_pidfile st));
+          false
+        )
+    | No_proc_entry proc ->
+        (
+          warning st ("Cannot open "^proc^" entry for the given pidfile: "
+          ^(get_pidfile st));
+          false
+        )
+  else
+    false
+;;
+
+(** Remove stale pidfile 
+ *)
+let remove_stale_pidfile st =
+  if not (daemon_is_running st) && Sys.file_exists (get_pidfile st) then
+    (
+      debug st ("Removing stale pidfile: "^(get_pidfile st));
+      Sys.remove (get_pidfile st)
+    )
+  else
+    ()
+;;
+
+(** Get problematic INI file for mldonkey. Returns a list of all problematic
+    files 
+  *)
+let check_tmp_ini_files lst_fl =
+  let check_one_tmp_ini_file lst fl =
+    let tmp_fl = 
+      fl ^ ".tmp"
+    in
+    if Filename.check_suffix fl ".ini" && Sys.file_exists tmp_fl then
+      tmp_fl :: lst
+    else
+      lst
+  in
+  List.fold_left check_one_tmp_ini_file [] lst_fl
+;;
+
+(** Check that user/group and perms are correctly sets for any 
+    directory/file that could be used by mldonkey. Returns a list of all
+    problematic files/directories.
+  *)
+let check_file_owner_perms (uid,gid) lst_fl =
+  let check_one_file_owner_perms lst fl =
+    let match_perm perm perm_to_match =
+      (* Check that the perm given are enough to match the perm_to_match,
+         in other word, that you have all the bit of the perm_to_match
+         in the perm 
+       *)
+      ( perm land perm_to_match ) = perm_to_match
+    in
+    (* First of all, does the file exist ? *)
+    if Sys.file_exists fl then
+      (* Get property of the file *)
+      let stat = Unix.stat fl
+      in
+      let enough_right =
+      (* We try to be sure that any program running with (uid,gid) has enough
+         right to read/write the file considered *)
+            (* The owner is the user *)
+            ( stat.Unix.st_uid = uid && match_perm stat.Unix.st_perm 0o600 )
+            (* The group owner match the group of the user *)
+         || ( stat.Unix.st_gid = gid && match_perm stat.Unix.st_perm 0o060 )
+            (* Rights given to "other" *)
+         || ( match_perm stat.Unix.st_perm 0o006 ) 
+      in
+      if enough_right then
+        lst
+      else
+        fl :: lst
+    else
+      (* The file doesn't exist, it will be created by mldonkey, if needed *)
+      lst
+  in
+  List.fold_left check_one_file_owner_perms [] lst_fl
+;;
+
+(** Check that the given list of file are only readable by the owner/group. It 
+    is used to check that the file containing password are not readable by the
+    group "other". Returns a list of problematic files
+  *)
+let check_file_security_perms lst_fl =
+  let check_one_file_security_perms lst fl =
+    if Sys.file_exists fl then
+      let stat = Unix.stat fl
+      in
+      (* Does other have read access to this file ? *)
+      if ( stat.Unix.st_perm land 0o004 ) <> 0 then
+        fl :: lst
+      else
+        lst
+    else
+      (* The file doesn't exist : we don't have problem *)
+      lst
+  in
+  List.fold_left check_one_file_security_perms [] lst_fl
+;;
+
+let sanity_check st = 
+  (* Checker function: apply the given function on the given list. If the
+     result is not an empty message, display the given message and solution 
+     to solve the problem and exit with the given exit code. 
+  *)
+  let check_fun check lst_fl message proposed_solution exit_code =
+    let result = check lst_fl
+    in
+    if result <> [] then
+      (
+        fatal st (message^": "^(String.concat ", " result)^" -- "^proposed_solution);
+        exit exit_code
+      )
+    else
+      ()
+  in
+  let pidfile = get_pidfile st 
+  in
+  let passwdfiles = get_passwdfiles st
+  in
+  let inifiles = get_inifiles st
+  in
+  let basedirs =
+    [
+      get_chdir st;
+      Filename.dirname pidfile
+    ]
+  in
+  let old_inifiles =
+    List.map ( fun x -> x ^ ".old" )
+    inifiles
+  in
+  (* Test existence of a few dirs *)
+  check_fun
+    (List.filter (fun fl -> not (Sys.file_exists fl)))
+    basedirs
+    "directory[ies] doesn't exist"
+    "create it first"
+    1;
+  check_fun 
+    check_tmp_ini_files 
+    (inifiles @ passwdfiles)
+    "temporary file[s] left" 
+    "delete it first" 
+    1;
+  check_fun 
+    (check_file_owner_perms (st.chuid,st.chgid))
+    (basedirs @ inifiles @ old_inifiles @ passwdfiles)
+    ("file[s] not owned by user "^(string_of_int st.chuid)
+    ^" or group "^(string_of_int st.chgid))
+    "reown it first"
+    1;
+  check_fun
+    check_file_security_perms 
+    passwdfiles
+    ("file[s] should be only readable by owner "^(string_of_int st.chuid)
+    ^" or group "^(string_of_int st.chgid))
+    "change permission"
+    1;
+  check_fun
+    (List.filter Sys.file_exists)
+    [Filename.concat (get_chdir st) "mlnet.pid"]
+    "file[s] should no exist"
+    "delete it first"
+    1;
+;;
+
+
+let stop_or_die st pid =
+  let timeout = ref false
+  in
+  let _ =
+    Sys.set_signal Sys.sigalrm (Sys.Signal_handle
+      ( fun x -> timeout := true ));
+    ignore (Unix.alarm (int_of_float st.end_duration));
+    debug st ("Waiting termination of process "^(string_of_int pid));
+    try 
+      Unix.kill pid Sys.sigterm;
+      ignore (waitpid [] pid )
+    with Unix.Unix_error(_, _, _) ->
+      ()
+  in
+  if !timeout then
+  begin
+    debug st ("Process "^(string_of_int pid)^" not responding, taking measure : SIGKILL");
+    try
+      Unix.kill pid Sys.sigkill
+    with Unix.Unix_error(_, _, _) ->
+      ()
+  end
+  else
+    debug st ("Process "^(string_of_int pid)^" terminated")
+;;
+
+let daemonize st = 
+  if st.daemon then
+    (
+      debug st ("Fork the process");
+      if Unix.fork () = 0 then
+        (
+          debug st ("Reset the group leader");
+          if Unix.setsid () = Unix.getpid () then
+            (
+              debug st ("Fork a second time the process");
+              if Unix.fork () = 0 then
+              (
+                debug st ("Close standard IO");
+                let fd = Unix.openfile "/dev/null" [ Unix.O_RDWR ] 0o0644 
+                in
+                List.iter (
+                  fun fd_std -> 
+                    Unix.close fd_std; 
+                    Unix.dup2 fd fd_std
+                  )
+                  [Unix.stdin; Unix.stdout; Unix.stderr];
+                Unix.close fd;
+                debug st ("Process is running in the background");
+                ()
+              )
+              else
+                exit 0
+            )
+          else
+            raise Fails_daemonize 
+        )
+      else
+        exit 0
+    )
+  else
+    ()  
+;;
+
+let start_mldonkey_server st =
+  sanity_check st;
+  if daemon_is_running st then
+    raise Already_running
+  else
+    ();
+  remove_stale_pidfile st;
+  set_nice st;
+  set_uid_gid st;
+  set_umask st;
+  create_home st;
+  go_home st;
+  daemonize st;
+  create_pidfile st;
+  let launch_mlnet st =
+    let (logger_stderr, mlnet_stderr) =
+      if st.daemon then
+        Unix.pipe ()
+      else
+        (stdin, stderr)
+    in
+    let (logger_stdout, mlnet_stdout) =
+      if st.daemon then
+        Unix.pipe ()
+      else
+        (stdin, stdout)
+    in
+    let args = Array.of_list 
+      (st.program :: (List.rev st.prg_args))
+    in
+    let pid_mlnet = 
+      debug st ("Launching MLnet process");
+      create_process st.program args
+      stdin
+      mlnet_stdout
+      mlnet_stderr
+    in
+    let pid_logger_stderr =
+      if logger_stderr != stdin then
+      begin
+        debug st ("Launching MLnet stderr logger");
+        create_process st.logger [| st.logger ; "-t"; "mlnet_error" |]
+        logger_stderr
+        stdout
+        stderr
+      end
+      else
+        0
+    in
+    let pid_logger_stdout =
+      if logger_stdout != stdin then
+      begin
+        debug st ("Launching MLnet stdout logger");
+        create_process st.logger [| st.logger ; "-t"; "mlnet" |]
+        logger_stdout
+        stdout
+        stderr
+      end
+      else
+        0
+    in
+    (
+      [pid_mlnet; pid_logger_stderr; pid_logger_stdout],
+      [logger_stderr; mlnet_stderr; logger_stdout; mlnet_stdout]
+    )
+  in
+  let stop_mlnet st (pids, fds) =
+    let str_pids = List.fold_left 
+      ( fun str x -> str^" "^(string_of_int x) ) 
+      "" pids
+    in
+    debug st ("Stopping processes PID ("^str_pids^" )") ;
+    begin
+    try
+      let close_fds x =
+        if x != stdout && x != stdin && x != stderr then
+          Unix.close x
+        else
+          ()
+      in
+      let stop_pids x =
+        if x != 0 then
+          stop_or_die st x
+        else
+          ()
+      in
+      List.iter stop_pids pids;
+      List.iter close_fds fds
+    with Unix.Unix_error(_,_,_) ->
+      ()
+    end;
+    debug st ("Process stopped PID ("^(str_pids)^" )")
+  in
+  let state = ref Nop
+  in
+  let terminate = ref false
+  in
+  let reload = ref false
+  in
+  let _ =
+    Sys.set_signal Sys.sigint ( Sys.Signal_handle 
+      ( fun x -> state := Terminate ));
+    Sys.set_signal Sys.sigterm ( Sys.Signal_handle
+      ( fun x -> state := Terminate ));
+    Sys.set_signal Sys.sighup ( Sys.Signal_handle
+      ( fun x -> state := Respawn ));
+    Sys.set_signal Sys.sigchld ( Sys.Signal_handle
+      ( fun x -> state := MlnetDied ));
+    Sys.set_signal Sys.sigpipe ( Sys.Signal_handle
+      ( fun x -> state := Terminate ))
+  in
+  while not !terminate do
+    let mlnet = launch_mlnet st 
+    in
+    let last_respawn = Unix.time ()
+    in
+    Sys.set_signal Sys.sigalrm ( Sys.Signal_handle
+      ( fun x -> state := Respawn ));
+    ignore (Unix.alarm ( int_of_float st.max_alive ));
+    reload := false;
+    while not !reload && not !terminate do
+      let _ = 
+        try
+          state := Nop;
+          begin
+          match Unix.wait () with
+          x,WEXITED(y) ->
+            debug st ("Process PID ( "^(string_of_int x)^
+            " ) exit with return code "^(string_of_int y))
+          | x,WSIGNALED(y) ->
+            debug st ("Process PID ( "^(string_of_int x)^
+            " ) was killed by signal "^(string_of_int y))
+          | x,WSTOPPED(y) ->
+            debug st ("Process PID ( "^(string_of_int x)^
+            " ) was stopped by signal "^(string_of_int y))
+          end;
+          state := MlnetDied
+        (* On peut etre interrompu par un signal extrieur *)
+        with Unix.Unix_error(EINTR,_,_) ->
+          ()
+      in
+      match !state with
+      Terminate ->
+        debug st ("Terminate process");
+        stop_mlnet st mlnet;
+        terminate := true
+      | Respawn ->
+        debug st ("Respawn process");
+        stop_mlnet st mlnet;
+        reload := true
+      | MlnetDied ->
+        if Unix.time () -. last_respawn < st.min_alive then
+        begin
+          debug st ("Process respawning too fast : only live "^
+            (string_of_float(Unix.time () -. last_respawn)));
+          stop_mlnet st mlnet;
+          terminate := true
+        end
+        else
+        begin
+          debug st ("Process died, respawning : live for "^
+            (string_of_float(Unix.time () -. last_respawn)));
+          stop_mlnet st mlnet;
+          reload := true
+        end
+      | Nop ->
+        ()
+    done;
+  done;
+  debug st "MLDonkey server end";
+  close_pidfile st
+;;
+
+
+let kill_mldonkey_server st signal signal_name=
+  if daemon_is_running st then
+    let pid_server = read_pidfile st
+    in
+    debug st ("Sending signal "^signal_name^" to process PID ( "^(string_of_int pid_server)^" )");
+    if signal = Sys.sigterm then
+      stop_or_die st pid_server
+    else
+    begin
+      try
+        Unix.kill pid_server signal
+      with Unix.Unix_error (_, _, _) ->
+        ()
+    end
+  else
+    debug st ("Daemon is not running")
+;;
+    
+let stop_mldonkey_server st =
+  kill_mldonkey_server st Sys.sigterm "SIGTERM"
+;;
+
+let restart_mldonkey_server st =
+  kill_mldonkey_server st Sys.sighup "SIGHUP"
+;;
+
+let _ = 
+  try
+    let state = get_mldonkey_server_state ()
+    in
+    begin
+    match state.action with
+    Start ->
+      start_mldonkey_server state
+    | Stop ->
+      stop_mldonkey_server state
+    | Restart ->
+      restart_mldonkey_server state
+    end;
+    exit 0
+  with No_home_variable ->  
+    begin
+    prerr_string (" Could not guess $HOME environnement variable : provide a --chdir or $HOME");
+    prerr_newline ()
+    end
+  | No_home_to_chdir ->
+    begin
+    prerr_string (" Home dir doesn't exist");
+    prerr_newline ()
+    end
+  | Fails_daemonize ->
+    begin
+    prerr_string (" Cannot daemonize process");
+    prerr_newline ()
+    end
+  | Already_running ->
+    begin
+    prerr_string (" Some others mldonkey_server are running ( a pidfile exists )");
+    prerr_newline ()
+    end
+  | No_pidfile ->
+    begin
+    prerr_string (" No pidfile, maybe no mldonkey_server are running");
+    prerr_newline ()
+    end
+  | Invalid_pidfile ->
+    begin
+    prerr_string (" Invalid pidfile, maybe the pidfile is corrupted");
+    prerr_newline ();
+    end
+  | No_proc_entry str ->
+    begin
+    prerr_string (" Cannot find /proc entry for "^str);
+    prerr_newline ();
+    end
+  | Unix.Unix_error (error,_,_) ->
+    begin 
+    prerr_string (" "^(error_message error));
+    prerr_newline ()
+    end
+in
+exit 1
+;;
+
+
--- mldonkey-2.7.3.orig/debian/utils/Makefile.mlnet_pathological
+++ mldonkey-2.7.3/debian/utils/Makefile.mlnet_pathological
@@ -0,0 +1,185 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+SOURCES = mlnet_pathological.ml
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mlnet_pathological
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+CAMLC = ocamlc
+CAMLOPT = ocamlopt 
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=$(WITHUNIX)
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM=-custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	$(CAMLC) -o $(EXEC) $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f .depend.mlnet_pathological
+
+.depend.mlnet_pathological: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.mlnet_pathological
+
+depend: .depend.mlnet_pathological
+
+include .depend.mlnet_pathological
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_users.ml
+++ mldonkey-2.7.3/debian/utils/mldonkey_users.ml
@@ -0,0 +1,210 @@
+open Common_options;;
+open Type_options;;
+
+type action = 
+  Check of string * (string option)
+  | Add of string * (string option) 
+  | Del of string 
+  | List
+  | TestUsersSection
+  | DumpUsersSection
+  | StripUsersSection
+
+exception No_downloads_ini
+exception Invalid_format
+
+let encrypt x = Md4.Md4.to_string (Md4.Md4.string x)
+;;
+
+let empty_password = ""
+;;
+
+let _ = 
+  let action = ref List
+  in
+  let password = ref None
+  in
+  let filename = ref None
+  in
+  let quiet = ref false
+  in
+  let _ = Arg.parse [
+    ("--add", Arg.String (fun x -> action := Add (x,None)),
+       "Add the specified user, prompt or use password set with -p.");
+    ("--del", Arg.String (fun x -> action := Del (x) ),
+      "Delete the specified user.");
+    ("--check", Arg.String (fun x -> action := Check (x,None)),
+      "Check if specified user has an empty password, a password specified with"
+      ^" -p or exist.");
+    ("--list", Arg.Unit (fun () -> action := List),
+      "List all users.");
+    ("--test-users-section", Arg.Unit (fun () -> action := TestUsersSection),
+      "Check the presence of a users section.");
+    ("--dump-users-section", Arg.Unit (fun () -> action := DumpUsersSection),
+      "Print the users section.");
+    ("--strip-users-section", Arg.Unit (fun () -> action := StripUsersSection),
+      "Print the specified file without the users section.");
+    ("-f", Arg.String ( fun x -> filename := Some x ),
+      "Which downloads.ini to use.");
+    ("-p", Arg.String ( fun x -> password := Some x ),
+      "Set the password.");
+    ("-q", Arg.Set quiet,
+      "Run quietly.");
+    ]
+    ( fun _ -> () )
+    "Usage mldonkey_users [options] where options are :"
+  in
+  let real_action = 
+    match (!action,!password) with
+      (List, _) -> List
+    | (Del x, _) -> Del x
+    | (Add(x, _), y) -> Add ( x, y )
+    | (Check(x, _), y) -> Check ( x, y )
+    | (TestUsersSection, _) -> TestUsersSection
+    | (DumpUsersSection, _) -> DumpUsersSection
+    | (StripUsersSection, _) -> StripUsersSection
+  in
+  let file =   
+    match !filename with
+      Some(x) ->
+      x
+    | None ->
+      raise No_downloads_ini
+  in
+  let load_users file = 
+    let add_one_user lst users_option_entry =
+      match users_option_entry with
+        ValList([ValString(user);ValString(password)])
+      | ValList([ValString(user);  ValChar(password)])
+      | ValList([ValString(user); ValIdent(password)])
+      | ValList([  ValChar(user);ValString(password)])
+      | ValList([  ValChar(user);  ValChar(password)])
+      | ValList([  ValChar(user); ValIdent(password)])
+      | ValList([ ValIdent(user);ValString(password)])
+      | ValList([ ValIdent(user);  ValChar(password)])
+      | ValList([ ValIdent(user); ValIdent(password)]) ->
+          (user,password)::lst
+      | _ ->
+        raise Invalid_format
+    in
+    let users_option = 
+      try
+        find_option "users" ( load_option file )
+      with Not_found ->
+        ValList []
+    in
+    match users_option with
+    ValList lst ->
+      List.fold_left add_one_user [] lst
+    | _ ->
+      raise Invalid_format
+  in
+  let save_users file new_users = 
+    let save_one_user other_users (user,password) =
+      ValList([ ValIdent(user);ValString(password)]) :: other_users
+    in
+    let all_users = List.fold_left save_one_user [] new_users
+    in
+    let new_option = 
+      Id ("users", ValList(all_users))
+    in
+    save_option file (replace_option new_option (load_option file))
+  in
+  let debug x = 
+    if !quiet then
+      ()
+    else
+      (
+        print_string x;
+        print_newline ()
+      )
+  in
+  let fatal x =
+    debug x;
+    exit 1
+  in
+  match real_action with
+    List ->
+      List.iter (fun (x,y) -> print_string x; print_newline ()) 
+      (load_users file)
+  | Check(user,Some(password)) ->
+    begin
+      try 
+        let real_password = List.assoc user (load_users file)
+        in
+        if real_password = ( encrypt password ) then
+          debug "Found matching user"
+        else
+          fatal "User exists but bad password"
+      with Not_found ->
+        fatal "User not found"
+    end
+  | Check(user,None) ->
+    begin
+      try
+        let real_password = List.assoc user (load_users file)
+        in
+        if real_password = ( encrypt empty_password ) then
+            fatal "This user has an empty password"
+        else
+            debug "This user has a good password"
+      with Not_found ->
+        fatal "User not found"
+    end    
+  | Add(user,Some(password)) ->
+      save_users file (
+        (user,encrypt password)
+        ::(List.remove_assoc user (load_users file))
+        )
+  | Add(user,None) ->
+    begin
+      let password =
+        print_string "New password :";
+        read_line ()
+      in
+      let confirm_password =
+        print_string "New password ( confirm ) :";
+        read_line ()
+      in
+      if password = confirm_password then
+        (
+          save_users file (
+            (user,encrypt password)
+            ::(List.remove_assoc user (load_users file))
+            );
+          debug "New user/password saved"
+        )
+      else
+        fatal "Password and confirmation do not match"
+    end
+  | Del(user) ->
+    begin
+      try
+        save_users file (List.remove_assoc user (load_users file));
+      with Not_found ->
+        fatal "User not found"
+    end
+  | TestUsersSection ->
+      begin
+        try
+          let _ = find_option "users" (load_option file)
+          in
+          ()
+        with Not_found ->
+          fatal "Cannot find users section"
+      end
+  | DumpUsersSection ->
+      begin
+        try
+          let users_section = find_option "users" (load_option file)
+          in
+          output_option stdout (Options(Id("users",users_section), Eof))
+        with Not_found ->
+          fatal "Cannot find users section"
+      end
+  | StripUsersSection ->
+      begin
+        let stripped_options = remove_option "users" (load_option file)
+        in
+        output_option stdout stripped_options
+      end
--- mldonkey-2.7.3.orig/debian/utils/type_options.ml
+++ mldonkey-2.7.3/debian/utils/type_options.ml
@@ -0,0 +1,17 @@
+type options_value =
+ValModule of file
+| ValInt of int64
+| ValFloat of float
+| ValList of ( options_value list )
+| ValString of string
+| ValChar of string
+| ValIdent of string
+
+and options =
+StringId of string * options_value
+| Id of string * options_value
+
+and file =
+Comment of string * file
+| Options of options * file
+| Eof
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_test.sh
+++ mldonkey-2.7.3/debian/utils/mldonkey_test.sh
@@ -0,0 +1,6 @@
+./mldonkey_server --min-alive 15 --program `pwd`/mlnet_pathological --daemon -- \
+-sleep 30 \
+-iter_stdout 100 \
+-sleep 10 \
+-iter_stderr 100 \
+-stop 1
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_options.ml
+++ mldonkey-2.7.3/debian/utils/mldonkey_options.ml
@@ -0,0 +1,91 @@
+open Common_options
+open Type_options
+(*open Md4*)
+
+type action = Get of string | Set | User of string 
+
+let _ = 
+  let action = ref None
+  in
+  let filename = ref None
+  in
+  let password = ref ""
+  in
+  let _ = Arg.parse [
+    ("-f", Arg.String (fun x -> filename := Some x), "Open options file");
+    ("-g", Arg.String (fun x -> action := Some (Get x)), "Get options in the file");
+    ("-s", Arg.Unit (fun x -> action := Some Set), "Set options in the file")(*;
+    ("-u", Arg.String(fun x -> action := Some (User x)), "Edit user password")*)
+    ]
+    (fun x -> password := x )
+    "Usage : mldonkey_options [options] \n where options are :"
+  in
+  begin
+  match !filename,!action with
+  | None, _ ->
+    print_string "You must provide the name of the file to open -f";
+    print_newline ();
+    exit 1
+  | Some(f), Some(Get(o)) ->
+    begin
+    try
+      let v = find_option o (load_option f)
+      in
+      print_simple_value v
+    with Not_found ->
+      prerr_string ("Unable to find option "^o);
+      prerr_newline ();
+      exit 1
+    end
+(*  | Some(f), Some(User(u)) ->
+    let options = load_option f
+    in
+    let v = find_option "users" options
+    in
+    let is_user x =
+        match x with
+        ValList(lst) ->
+          begin
+          try 
+            (List.hd lst) != (ValIdent u)
+          with _ ->
+            false
+          end
+        | _ ->
+          false
+    in
+    let old_user_list =
+      match v with
+      ValList(lst) ->
+        List.filter is_user lst 
+      | _ ->
+        []
+    in
+    let new_password = 
+      Md4.to_string (Md4.string !password)
+    in
+    let new_user_list =
+      ValList([ValIdent(u); ValString(new_password)]) :: old_user_list
+    in
+    let new_option =
+       Id ("users", ValList(new_user_list))
+    in
+    save_option f (replace_option new_option options)*)
+  | Some(f), Some(Set) 
+  | Some(f), _ ->
+    let new_options = parse_option ()
+    in
+    let options = load_option f
+    in
+    let rec set_one_option set_fl fl =
+      match set_fl with
+      Comment(_,f) ->
+        set_one_option f fl 
+      | Options(o,f) ->
+        set_one_option f (replace_option o fl)
+      | Eof ->
+        fl
+    in
+    save_option f (set_one_option new_options options)
+  end
+;;
--- mldonkey-2.7.3.orig/debian/utils/Makefile.files
+++ mldonkey-2.7.3/debian/utils/Makefile.files
@@ -0,0 +1,187 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+#include ../../Makefile
+
+SOURCES = type_options.ml parse_options.mly lexer_options.mll common_options.ml mldonkey_files.ml
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mldonkey_files
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+CAMLC = ocamlc
+CAMLOPT = ocamlopt
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM=-custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	$(CAMLOPT) -o $(EXEC) $(patsubst %.cmo,%.cmx,$(LIBS:.cma=.cmxa)) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	$(CAMLC) -o $(EXEC) $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f parse_options.ml parse_options.mli lexer_options.ml .depend.files
+
+.depend.files: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.files
+
+depend: .depend.files
+
+include .depend.files
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_submit.ml
+++ mldonkey-2.7.3/debian/utils/mldonkey_submit.ml
@@ -0,0 +1,34 @@
+type state_mldonkey_submit = {
+  mutable program : string;
+  mutable prg_args : string list;
+  mutable ed2k : string;
+  }
+
+let create_state_mldonkey_submit () = {
+  program = "/usr/bin/mldonkey_command";
+  prg_args = [];
+  ed2k = "";
+  }
+
+let _ = 
+  let state = create_state_mldonkey_submit ()
+  in
+  let _ = Arg.parse [
+    ("--", Arg.Rest ( fun x -> state.prg_args <- x :: state.prg_args  ),
+      "Argument to pass to mldonkey_command");
+    ("--program", Arg.String ( fun x -> state.program <- x ),
+      "Name of the mldonkey_command program");
+    ]
+    (fun x -> state.ed2k <- x)
+    "Usage : mldonkey_submit [options] ed2k://... -- [mldonkey_command options] :\n"
+  in
+  match state.ed2k with
+  "" ->
+    prerr_string "You must provide an ed2k link";
+    prerr_newline ()
+  | _ ->
+    let args = Array.of_list (state.program :: 
+      (List.rev (("dllink "^state.ed2k) :: state.prg_args)))
+    in
+    Unix.execv state.program args
+  
--- mldonkey-2.7.3.orig/debian/utils/parse_options.mly
+++ mldonkey-2.7.3/debian/utils/parse_options.mly
@@ -0,0 +1,46 @@
+%{
+
+open Type_options
+
+%}
+%token EOF 
+%token <float> FLOAT 
+%token <int64> INT 
+%token <string> COMMENT 
+%token <string> STRING 
+%token <string> IDENT
+%token <string> CHAR
+%token EQUAL 
+%token BEG_MOD 
+%token END_MOD 
+%token BEG_LIST 
+%token END_LIST 
+%token SEP_LIST 
+%start main
+%type <Type_options.file> main
+%%
+main:
+  COMMENT main  { Comment ($1,$2) }  
+| options main  { Options ($1,$2) }
+| EOF    { Eof }
+| END_MOD  { Eof }
+;
+options:
+STRING EQUAL parse_options  { StringId ($1,$3) }
+| IDENT EQUAL parse_options  { Id ($1,$3) }
+;
+parse_options:
+BEG_MOD main       { ValModule $2 }
+| BEG_LIST parse_list    { ValList $2 }
+| IDENT        { ValIdent $1 }
+| STRING      { ValString $1 }
+| INT         { ValInt $1 }
+| FLOAT        { ValFloat $1 }
+| CHAR        { ValChar $1 }
+;
+parse_list:
+parse_options SEP_LIST parse_list  { $1 :: $3 }
+| parse_options END_LIST    { [ $1 ] }
+| END_LIST        { [] }
+
+
--- mldonkey-2.7.3.orig/debian/utils/Makefile.options
+++ mldonkey-2.7.3/debian/utils/Makefile.options
@@ -0,0 +1,185 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+SOURCES = type_options.ml parse_options.mly lexer_options.mll common_options.ml mldonkey_options.ml
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mldonkey_options
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+CAMLC = ocamlc
+CAMLOPT = ocamlopt 
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM=-custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	$(CAMLC) -o $(EXEC) $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f parse_options.ml parse_options.mli lexer_options.ml .depend.options
+
+.depend.options: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.options
+
+depend: .depend.options
+
+include .depend.options
--- mldonkey-2.7.3.orig/debian/utils/mlnet_pathological.ml
+++ mldonkey-2.7.3/debian/utils/mlnet_pathological.ml
@@ -0,0 +1,53 @@
+(* This program is a test program for mldonkey_server *)
+
+let _ = 
+  Sys.set_signal Sys.sigchld (Sys.Signal_handle ( fun x ->
+    print_string "Receive SIGCHLD"; print_newline (); exit 1 ));
+  Sys.set_signal Sys.sighup (Sys.Signal_handle ( fun x ->
+    print_string "Receive SIGHUP"; print_newline () ));
+  Sys.set_signal Sys.sigterm (Sys.Signal_handle ( fun x ->
+    print_string "Receive SIGTERM"; print_newline (); exit 2 ));
+  Sys.set_signal Sys.sigpipe (Sys.Signal_handle ( fun x ->
+    print_string "Receive SIGPIPE"; print_newline (); exit 3 ));
+  Sys.set_signal Sys.sigint (Sys.Signal_handle ( fun x ->
+    print_string "Receive SIGINT"; print_newline (); exit 4 ));
+  print_string "MLnet pathological pseudo server";
+  print_newline ();
+  Array.iter ( fun x -> print_string (x^" ") ) Sys.argv;
+  print_newline ();  
+  Arg.parse
+  [
+  ("-stop", Arg.Int ( fun x -> 
+    print_string ("Exiting ( "^(string_of_int x)^" )");
+    print_newline ();
+    exit x ), 
+    "Stop with exit number");
+  ("-sleep", Arg.Int ( fun x -> 
+    print_string ("Sleeping ( "^(string_of_int x)^" )");
+    print_newline ();
+    ignore (Unix.sleep x) ),
+    "Sleep for x seconds");
+  ("-iter_stdout", Arg.Int ( fun x -> 
+    for i = 0 to x do
+    begin
+      print_int i;
+      print_newline ()
+    end
+    done ),
+    "Print list of int ( from 0 to x ) to stdout");
+  ("-iter_stderr", Arg.Int ( fun x ->
+    for i = 0 to x do
+    begin
+      prerr_int i;
+      prerr_newline ()
+    end
+    done ),
+    "Print list of int ( from 0 to x ) to stderr");
+  ]
+  ( fun x -> () )
+  "Usage : mlnet_pathological [options]\n"
+  
+    
+      
+      
+  
--- mldonkey-2.7.3.orig/debian/utils/common_options.ml
+++ mldonkey-2.7.3/debian/utils/common_options.ml
@@ -0,0 +1,206 @@
+open Type_options;;
+open Lexing;;
+
+exception Too_complicated
+
+let print_simple_value vl =
+  let rec print_value v=
+    match v with
+    ValModule(_) ->
+      raise Too_complicated
+    | ValInt(i) ->
+      Printf.fprintf stdout "%s" (Int64.to_string i);
+    | ValFloat(f) ->
+      Printf.fprintf stdout "%f" f;
+    | ValList(lst) ->
+      print_list lst;
+    | ValString(s) 
+    | ValChar(s)
+    | ValIdent(s) ->
+      Printf.fprintf stdout "%s" s
+  and
+  print_list l =
+    match l with
+    [ itm ] ->
+      print_value itm
+    | itm :: tl_lst ->
+      print_value itm;
+      Printf.fprintf stdout " ";
+      print_list tl_lst
+    | [] ->
+      ()
+  in
+  print_value vl
+;;
+ 
+let output_option chn fl =
+  let rec save_one_option f =
+    match f with
+    Comment(s,tl_f) ->
+      Printf.fprintf chn "%s\n\n" s;
+      save_one_option tl_f
+    | Options(v,tl_f) ->
+      save_var v;
+      Printf.fprintf chn "\n";
+      save_one_option tl_f
+    | Eof ->
+      ()
+  and
+  save_var v =
+    match v with
+    StringId(s,o) ->
+      Printf.fprintf chn "\"%s\" = " s;
+      save_value o;
+      Printf.fprintf chn "\n"
+    | Id(s,o) ->
+      Printf.fprintf chn "%s = " s;
+      save_value o;
+      Printf.fprintf chn "\n"
+  and
+  save_value v =
+    match v with
+    ValModule(f) ->
+      Printf.fprintf chn "{\n";
+      save_one_option f;
+      Printf.fprintf chn "}"
+    | ValInt(i) ->
+      Printf.fprintf chn "%s" (Int64.to_string i);
+    | ValFloat(f) ->
+      Printf.fprintf chn "%f" f;
+    | ValList(lst) ->
+      Printf.fprintf chn "[\n";
+      save_list lst;
+      Printf.fprintf chn "]"
+    | ValString(s) ->
+      Printf.fprintf chn "\"%s\"" s
+    | ValChar(s) ->
+      Printf.fprintf chn "'%s'" s
+    | ValIdent(s) ->
+      Printf.fprintf chn "%s" s
+  and
+  save_list l =
+    match l with
+    [ itm ] ->
+      save_value itm
+    | itm :: tl_lst ->
+      save_value itm;
+      Printf.fprintf chn ";\n";
+      save_list tl_lst
+    | [] ->
+      ()
+  in
+  save_one_option fl
+;;
+
+let save_option filename fl =
+  let chn = open_out filename
+  in
+  output_option chn fl;
+  close_out chn
+;;
+ 
+let load_option filename =
+  let file = open_in filename
+  in
+  let lexbuf = Lexing.from_channel file
+  in
+  try 
+    lexbuf.lex_curr_p <- { lexbuf.lex_curr_p with
+    pos_fname = filename;
+    pos_lnum  = 1;
+    pos_bol   = 0;
+    };
+    let res = Parse_options.main Lexer_options.token lexbuf
+    in
+    close_in file;
+    res
+  with 
+    Parsing.Parse_error 
+  | Failure "int_of_string" ->
+      let start_position =
+        Lexing.lexeme_start_p lexbuf
+      in
+      let end_position =
+        Lexing.lexeme_end_p lexbuf
+      in
+      Printf.fprintf stderr
+      ( "Unable to parse file: %s\n"
+      ^^"Last word seen : %S\n"
+      ^^"Position : line %d, char. %d-%d\n" )
+      (start_position.pos_fname)
+      (Lexing.lexeme lexbuf)
+      (start_position.pos_lnum)
+      (start_position.pos_cnum - start_position.pos_bol)
+      (end_position.pos_cnum - start_position.pos_bol);
+      raise Parsing.Parse_error
+;;
+
+let parse_option str =
+  let lexbuf = Lexing.from_channel stdin
+  in
+  try 
+          Parse_options.main Lexer_options.token lexbuf 
+  with Parsing.Parse_error ->
+    print_string "Unable to parse option to set";
+    print_newline ();
+    print_string ("Last word seen : " ^ (Lexing.lexeme lexbuf));
+    print_newline ();
+    print_string ("Position : "^(string_of_int (Lexing.lexeme_start lexbuf))^
+      "-" ^ (string_of_int (Lexing.lexeme_end lexbuf)));
+    print_newline ();
+    raise Parsing.Parse_error
+;;
+
+let rec find_option id fl =
+  match fl with
+  Comment(_,f) ->
+    find_option id f
+  | Options(StringId(x, opv),f)
+  | Options(Id(x, opv), f) ->
+    if x = id then
+      opv
+    else
+      find_option id f 
+  | Eof ->
+    raise Not_found
+
+let replace_option op fl =
+  let rec replace_one_option id vl is_replaced f =
+    match f with
+      Comment(s,f) ->
+        Comment(s,(replace_one_option id vl is_replaced f))
+    | Options(StringId(x,opv),f) when x = id ->
+        Options(StringId(x,vl), replace_one_option id vl true f)
+    | Options(Id(x,opv),f) when x = id ->
+        Options(Id(x,vl), replace_one_option id vl true f)
+    | Options(x,f) ->
+        Options(x, replace_one_option id vl is_replaced f)
+    | Eof when not is_replaced ->
+        Options(op, Eof)
+    | Eof ->
+        Eof
+  in
+  let (nid,nvl) =
+    match op with
+    StringId(x,opv)
+    | Id(x,opv) ->
+        (x,opv)
+  in
+  replace_one_option nid nvl false fl
+;;
+
+let remove_option id fl =
+  let rec remove_one_option id fl =
+    match fl with
+      Comment(s,nfl) ->
+        Comment(s,(remove_one_option id nfl))
+    | Options(StringId(x,_),nfl) 
+    | Options(Id(x,_), nfl) when x = id ->
+        remove_one_option id nfl
+    | Options(x, nfl) ->
+        Options(x, remove_one_option id nfl)
+    | Eof ->
+        Eof
+  in
+  remove_one_option id fl
+;;
--- mldonkey-2.7.3.orig/debian/utils/test.sh
+++ mldonkey-2.7.3/debian/utils/test.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+coucou=bonjour
+
+./mldonkey_options -f downloads.ini.old << EOF
+coucou=$coucou
+bye=bye
+EOF
--- mldonkey-2.7.3.orig/debian/utils/lexer_options.mll
+++ mldonkey-2.7.3/debian/utils/lexer_options.mll
@@ -0,0 +1,42 @@
+{
+open Parse_options;;
+open Lexing;;
+}
+
+rule token = parse
+[' ' '\t']      { token lexbuf }
+| '\n'                          {
+                                  lexbuf.lex_curr_p <- { lexbuf.lex_curr_p with 
+                                    pos_lnum = lexbuf.lex_curr_p.pos_lnum + 1;
+                                    pos_bol = lexbuf.lex_curr_p.pos_cnum + 1;
+                                  };
+                                  token lexbuf
+                                }
+| ['0'-'9']+ '.' ['0'-'9']*  { FLOAT(float_of_string(lexeme lexbuf)) }
+| ['0'-'9']+      { INT(Int64.of_string(lexeme lexbuf)) }
+| '='        { EQUAL }
+| '{'         { BEG_MOD }
+| '}'        { END_MOD }
+| '['        { BEG_LIST }
+| ']'        { END_LIST }
+| ';'         { SEP_LIST }
+| "(*"         { COMMENT("(*" ^ (comment lexbuf)) }
+| '('        { BEG_LIST }
+| ')'        { END_LIST }
+| ','        { SEP_LIST }
+| '.'        { SEP_LIST }
+| '"'        { STRING(str lexbuf) }
+| ['A'-'Z' 'a'-'z'] ['A'-'Z' 'a'-'z' '0'-'9' '_'] * { IDENT(Lexing.lexeme lexbuf) }
+| eof        { EOF }
+
+
+and str = parse
+'"'        { "" }
+| [^'"']*      { let s = (Lexing.lexeme lexbuf) in
+        s ^ ( str lexbuf ) }
+
+and comment = parse
+"*)"    { "*)" }
+| '*'    { "*" ^ (comment lexbuf) }
+| [^'*']*  { let s = (Lexing.lexeme lexbuf) in 
+    s ^ (comment lexbuf) }
--- mldonkey-2.7.3.orig/debian/utils/Makefile.submit
+++ mldonkey-2.7.3/debian/utils/Makefile.submit
@@ -0,0 +1,185 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+SOURCES = mldonkey_submit.ml
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mldonkey_submit
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+CAMLC = ocamlc
+CAMLOPT = ocamlopt 
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=$(WITHUNIX)
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM=-custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	$(CAMLC) -o $(EXEC) $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f .depend.submit
+
+.depend.submit: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.submit
+	
+depend: .depend.submit
+
+include .depend.submit
--- mldonkey-2.7.3.orig/debian/utils/Makefile.server
+++ mldonkey-2.7.3/debian/utils/Makefile.server
@@ -0,0 +1,185 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+SOURCES = mldonkey_server.ml
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mldonkey_server
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+CAMLC = ocamlc
+CAMLOPT = ocamlopt 
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=$(WITHUNIX)
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM=-custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	$(CAMLC) -o $(EXEC) $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f .depend.server
+
+.depend.server: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.server
+
+depend: .depend.server
+
+include .depend.server
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_files.ml
+++ mldonkey-2.7.3/debian/utils/mldonkey_files.ml
@@ -0,0 +1,149 @@
+open Common_options;;
+open Type_options;;
+
+type action = 
+    Split of string 
+  | Test of string
+  | Join
+
+exception Not_enough_part
+exception Invalid_format
+
+(* Return (part of the list which correspond to the net arg, part of the list wich doesn't
+   correspond to the net arg) *)
+   
+let filter_network arg files_lst =
+  let is_arg_network options =
+    let extracted_network =
+      match options with 
+        ValModule(top) ->
+          begin
+          match find_option "file_network" top with 
+          ValString(net) 
+        | ValIdent(net) ->
+          net
+        | _ ->
+          raise Invalid_format
+        end
+      | _ ->
+        raise Invalid_format
+    in
+    extracted_network = arg 
+  in
+  List.partition is_arg_network files_lst
+;;
+
+let test_network arg files_lst =
+  let (lst,_) = filter_network arg files_lst
+  in
+  lst <> []
+;;
+
+let load_files_ini filename =
+  let options = 
+          load_option filename
+  in
+  let done_files =
+    match find_option "done_files" options with
+    ValList(x) -> x
+    | _ -> raise Invalid_format
+  in
+  let files =
+    match find_option "files" options with
+    ValList(x) -> x
+    | _ -> raise Invalid_format
+  in
+  (done_files,files)
+;;
+
+let save_files_ini filename (done_files,files) =
+  save_option filename (
+    Options(Id("done_files",ValList(done_files)),
+    Options(Id("files",ValList(files)),Eof)
+  ))
+;;
+
+let _ = 
+  let action = ref Join
+  in
+  let filename_part0 = ref None
+  in
+  let filename_part1 = ref None
+  in
+  let filename_part2 = ref None
+  in
+  let quiet = ref false
+  in
+  let _ = Arg.parse [
+    ("--split", Arg.String ( fun x -> action := Split x ),
+       "Split file '-f0', put entry with source network arg in '-f1', rest in '-f2'");
+    ("--test", Arg.String ( fun x -> action := Test x),
+      "Test if file '-f0' containes source network arg");
+    ("--join", Arg.Unit ( fun () -> action := Join ),
+      "Joind file '-f1' and '-f2', put result in '-f0'");
+    ("-f0", Arg.String ( fun x -> filename_part0 := Some x ),
+      "Which '-f0' to use");
+    ("-f1", Arg.String ( fun x -> filename_part1 := Some x ),
+      "Which '-f1' to use");
+    ("-f2", Arg.String ( fun x -> filename_part2 := Some x ),
+      "Which '-f2' to use");
+    ("-q", Arg.Set quiet,
+      "Run quietly");
+    ]
+    ( fun _ -> () )
+    "Usage mldonkey_files [options] where options are :"
+  in
+  try 
+  begin
+    match (!action,!filename_part0,!filename_part1,!filename_part2) with
+      (Join      ,Some(part0),Some(part1),Some(part2)) ->
+      let (done_files1,files1) = load_files_ini part1
+      in
+      let (done_files2,files2) = load_files_ini part2
+      in
+      save_files_ini part0 (done_files1@done_files2,files1@files2)
+    | (Split(net),Some(part0),Some(part1),Some(part2)) ->
+      let (done_files0,files0) = 
+        load_files_ini part0
+      in
+      let (files1,files2) = 
+        filter_network net files0
+      in
+      save_files_ini part1 ([]         ,files1);
+      save_files_ini part2 (done_files0,files2)
+    | (Test(net), Some(part0), _, _) ->
+      let (done_files0,files0) =
+        load_files_ini part0
+      in
+      if test_network net files0 then
+        (
+          (
+            if !quiet then 
+              ()
+            else
+              Printf.printf "File %s contains source from network %s.\n" part0 net
+          );
+          exit 0
+        )
+      else
+        (
+          (
+            if !quiet then
+              ()
+            else
+              Printf.printf "File %s doesn't contain source from network %s.\n" part0 net
+          );
+          exit 1
+        )
+    | (Join,    None,_,_)
+    | (Split(_),None,_,_)
+    | (Test(_), None,_,_)
+    | (Join,    _,None,_)
+    | (Split(_),_,None,_)
+    | (Join,    _,_,None)
+    | (Split(_),_,_,None) ->
+      raise Not_enough_part
+  end
+  with Not_found ->
+    raise Invalid_format
+;;
--- mldonkey-2.7.3.orig/debian/utils/mldonkey_create_chroot
+++ mldonkey-2.7.3/debian/utils/mldonkey_create_chroot
@@ -0,0 +1,368 @@
+#! /bin/sh
+
+
+###############################################################################
+#
+# Create a jail for mldonkey-server (by using makejail)
+#
+#==========================================#
+#
+#     Copyright (C) 2005 by Mick Kappenburg                                  
+#                                                                            
+#     This program is free software; you can redistribute it and/or modify   
+#     it under the terms of the GNU General Public License as published by   
+#     the Free Software Foundation; either version 2 of the License, or      
+#     (at your option) any later version.                                    
+#                                                                            
+#     This program is distributed in the hope that it will be useful,        
+#     but WITHOUT ANY WARRANTY; without even the implied warranty of         
+#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          
+#     GNU General Public License for more details.                           
+#                                                                            
+#     You should have received a copy of the GNU General Public License      
+#     along with this program; if not, write to the                          
+#     Free Software Foundation, Inc.,                                        
+#     59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              
+#
+###############################################################################
+
+
+#
+# v0.3: 09-05-2005:
+#         - change from bash to sh shell
+#         - added copyright
+#         - changed "$VAR" tests to "x$VAR"  
+# v0.2: 05-05-2005: 
+#         - added command line options
+#         - added more tests
+#         - rewrite code using static tmp filenames
+#         - rewrite code which used indirec return code ($?)
+# v0.1: 24-04-2005: script created: Mick Kappenburg
+####
+
+
+
+###############################################################################
+#### VARS
+function setDefaults {
+  LOG=/dev/null
+  DEFAULT_SETTINGS=/etc/default/mldonkey-server
+  ##SETTINGS WHICH SHOULD BE IN $DEFAULT_SETTINGS
+  CHROOT_DIR=/var/jail/mldonkey
+  MLDONKEY_DIR=/var/lib/mldonkey
+  MLDONKEY_USER=mldonkey
+  MLDONKEY_GROUP=mldonkey
+ ##not needed to create jail but could be added to make the install complete and 
+ ##more difficult 
+ # MLDONKEY_UMASK=0002
+ # MAX_ALIVE=24
+ # LAUNCH_AT_STARTUP=true
+ # MLDONKEY_NICENESS=
+ ##--
+  ##Settings for makejail
+  CLEANFIRST=0
+}
+########
+
+
+
+###############################################################################
+#### FUNCTIONS
+
+#==========================================#
+## Usage
+function usage() {
+  local progname=$0
+  progname=${progname/*\/}
+  setDefaults   #(re)set the defaults for correct (??) output
+
+  cat <<EOF
+
+  Usage:  
+    $progname [options]
+    Options are:
+      -f <filename>  file containing default settings. Default $DEFAULT_SETTINGS
+      -u <user>      run mldonkey-server as user <user>. Default $MLDONKEY_USER
+      -g <group>     run mldonkey-server as group <group>. Default $MLDONKEY_GROUP
+      -r <path>      root directory for jail. Default $CHROOT_DIR
+      -d <path>      directory for downloads and mldonkey 'run time' files are stored. Default $MLDONKEY_DIR
+      -l <filename>  write log to <filename>. Default $LOG
+      -c             clean jail first. MOST BUT NOT ALL FILES ARE DETETED.
+                     (TODO explain this some more for now, read the source)
+      -y             assume yes to all questions
+      -h             shows this message end exits
+EOF
+}
+
+#==========================================#
+## Get options
+function getOptions {
+  local argC=$#
+  local argNr=0
+
+  function increment { eval $1=$(($1+1)); }
+
+  while getopts "f:u:g:r:d:l:cyh" arg; do
+    increment argNr
+    case $arg in
+      f)  DEFAULT_SETTINGS=$OPTARG; increment argNr;;
+      u)  MLDONKEY_USER=$OPTARG   ; increment argNr;;
+      g)  MLDONKEY_GROUP=$OPTARG  ; increment argNr;;
+      r)  CHROOT_DIR=$OPTARG      ; increment argNr;;
+      d)  MLDONKEY_DIR=$OPTARG    ; increment argNr;;
+      l)  LOG=$OPTARG             ; increment argNr;;
+      c)  CLEANFIRST=1      ;;
+      y)  ASUME_YES=1       ;;
+      h)  usage; myExit     ;;  #myExit has return value 1, but the help message probably succeeded
+      *)  usage; myExit     ;;
+    esac
+  done
+  
+  if [ "x$argC" != "x$argNr" ]; then 
+    eval "faultArg=\$$OPTIND";
+    echo
+    echo "  Oeps, first non valid argument is argument number $OPTIND ($faultArg).";
+    usage;
+    myExit 
+  fi
+}
+
+
+
+#==========================================#
+##exit function with message
+function myExit() {
+  echo -e "   $@"
+  exit 1
+}
+
+
+#==========================================#
+## myTrap
+function myTrap(){
+  trap - $TRAPPED;               #reset traps
+  runAtExit;                     #run commands added with: runAtexit add comand args
+  #now exit with a nice message
+  myExit "Oeps, trap triggered.\n Don't know the state I left your system in, sorry.\n Could have made a mess in $CHROOT_DIR, even proc can be mounted there!"
+}
+
+#==========================================#
+## Functions run at exit
+function runAtExit() {
+  case "$1" in
+    "add")
+      shift;
+      functionsRunAtExit[${#functionsRunAtExit[*]}]=$@
+      return
+      ;;
+    "run"|"")
+      runCount=${#functionsRunAtExit[*]};
+      for((i=0;  $i < $runCount  ; i=$(($i+1)) )) ; do 
+        ${functionsRunAtExit[$i]}
+      done      
+      ;;
+    *)
+      myExit "Error: Wrong arg given to runAtExit. This is a bug!!"
+      ;;
+  esac
+}
+
+#==========================================#
+## Extend PRESERVE variable, takes a path to a dir or file as argument
+function addToPreserve() {
+  if [ "x$PRESERVE" = "x" ] ; then
+    PRESERVE=\"$@\"
+  else
+    PRESERVE=$PRESERVE,\"$@\"
+  fi
+}
+
+#==========================================#
+##umount and remove proc if proc already in CHROOT_DIR
+##(???Bug in makejail? If cleanJailFirst=1 and proc in preserve list, makejail
+## results in an OSerror (no 17).  (Not reported yet) ???)
+function manageProc() {
+  if [ -e $CHROOT_DIR/proc ] ; then
+    umount  $CHROOT_DIR/proc 2> /dev/null 
+    rmdir $CHROOT_DIR/proc
+  fi
+}
+
+#==========================================#
+##create configuration file for makejail
+##(the config file is a python script!)
+function create_configfile_makejail () {
+  cat >$PYTHON_SCRIPT <<EOB
+##
+# Tmp makejail configuration file for mldonkey
+# (auto created)
+##
+
+##
+cleanJailFirst=$CLEANFIRST
+sleepAfterStartCommand=$SLEEP_AFTER_START_COMMAND
+useDepends=$USE_DEPENDS
+keepStraceOutputs=0
+##
+
+chroot="$CHROOT_DIR"
+packages=["mldonkey-server"]
+
+preserve=["/proc",$PRESERVE]
+
+#forceCopy=["/etc/group","$MLDONKEY_DIR/*"]
+forceCopy=["$MLDONKEY_DIR/*"]
+#defaults for doNotCopy (at the moment of writing... doNotCopy is not defined yet => += doesn't work..)
+doNotCopy=["/etc/hosts","/usr/share/doc","/usr/share/info","/usr/share/man","/etc/fstab","/etc/mtab"]
+doNotCopy+=$EXTRA_DONOTCOPY
+
+$JAIL_GROUPS
+$JAIL_lUSERS
+
+
+testCommandsInsideJail=["$MLDONKEY_START"]
+processNames=["mldonkey_server","mlnet","logger"]
+#testCommandsOutsideJail=["telnet $TELNET_PORT"]
+
+EOB
+}
+####
+
+
+
+
+###############################################################################
+##### MAIN
+
+#==========================================#
+#### Vars not settable by commandline, mainly for makejail
+#TELNET_PORT=4000
+MLDONKEY_START="/etc/init.d/mldonkey-server start"
+SLEEP_AFTER_START_COMMAND=3
+USE_DEPENDS=0
+#files which we don't want in the jail. Makejail's doc tells us we can use shell patterns
+#like * and ?. The patterns won't work. The source matches the start of the /path/file 
+#with the list => use /lib/libcrypt in stead of /lib/libcrypt* (???bug in makejail doc??? not 
+#reported yet)
+EXTRA_DONOTCOPY='["/etc/hosts","/etc/nsswitch.conf","/lib/libcrypt","/lib/resolv","/usr/bin/perl"]'
+PRESERVE=""
+addToPreserve "/proc"
+#addToPreserve $MLDONKEY_DIR ##added later, after init settings
+JAIL_USERS=""
+JAIL_GROUPS=""
+##
+
+
+#==========================================#
+## Set, get, overwrite, hack, loos etc.  the default settings
+setDefaults            #set the defaults defined internal
+. $DEFAULT_SETTINGS    #get external defined vars
+getOptions $@          #get the command line options
+
+addToPreserve $MLDONKEY_DIR #Now we know the real $MLDONKEY_DIR add it to the preserve list
+
+
+#==========================================#
+## Some checks:
+##exit if CHROOT_DIR is in a stupid place
+if [ "x$CHROOT_DIR" = "x" ] || [ "x$CHROOT_DIR" = "x/" ] ; then
+  myExit "Root dir for jail is / or empty. This makes no sense => bailing out"
+fi
+##check if CHROOT_DIR exist already
+if [ -e $CHROOT_DIR ] && [ "x$ASUME_YES" != "x1" ] ; then
+  echo "The jail root directory already exist. ($CHROOT_DIR)"
+  echo "Some files will be deleted / overwritten. Do you want to continue? (yes/No):"
+  read ANSWER;
+  while [ "x$ANSWER" != "xyes" ] && [ "x$ANSWER" != "xno" ] && [ "x$ANSWER" != "x" ] ; do
+    echo "Please say 'yes' or 'no' (the complete word, or just hit enter for no)"
+    read ANSWER
+  done 
+  if [ "x$ANSWER" != "xyes" ] ; then
+    myExit
+  fi
+fi
+
+#### External Commands used:
+##not checked:
+# mount, umount, mkdir, rmdir, rm, cat, cut, grep, mktemp
+##checked:
+#  makejail, ypcat       #telnet
+####
+if [ ! -x /usr/sbin/makejail ] ; then
+  myExit "makejail not found in /usr/sbin. Sorry, can't do much without it" 
+fi
+if [ -x  /usr/bin/ypcat ] ; then
+  HAS_YPCAT=TRUE
+fi
+
+
+#### 
+# test if critical files exist
+if [ "$DEFAULT_SETTINGS" ] && [ ! -e $DEFAULT_SETTINGS  ] ; then
+  myExit "Sorry, can't read file $DEFAULT_SETTINGS (file containing default settings).\n Use -h to see how to change the location."
+fi
+
+
+#==========================================#
+## SET TRAPS
+TRAPPED="ERR EXIT"
+trap myTrap $TRAPPED
+
+
+#==========================================#
+##INIT GLOBAL VARS
+####Gobal vars
+## Array holding all functions needed to run on exit
+declare -a functionsRunAtExit
+## Location script for makejail 
+PYTHON_SCRIPT=`mktemp -t makejail_mldonkey-server.py.XXXXXX`
+runAtExit add rm -f $PYTHON_SCRIPT
+
+#==========================================#
+mkdir -p $CHROOT_DIR
+
+
+#==========================================#
+## Gather/create some info
+#makejail doesn't extract nis entries to passwd/group file (it
+#installs the nis tools)
+#Further, we want to make sure there are no members added to the group
+#and the user shell must be /bin/false (and the home dir is set to $MLDONKEY_DIR, 
+#just for fun :)
+
+if [ "x$HAS_YPCAT" = "xTRUE" ] ; then
+  MLD_GROUP=`{ ypcat group 2>/dev/null | grep $MLDONKEY_GROUP | cut --fields=1-3 -d: ;  }`
+  MLD_PASSWD=`{ ypcat passwd 2>/dev/null | grep $MLDONKEY_USER | cut --fields=1-5 -d: ;  }`
+else
+  MLD_GROUP=""
+  MLD_PASSWD=""
+fi
+if [ -n "$MLD_GROUP"  ] ; then
+  mkdir -p $CHROOT_DIR/etc
+  echo -e "root:x :0:\n$MLD_GROUP:" >  $CHROOT_DIR/etc/group
+  addToPreserve "/etc/group"
+else
+  JAIL_GROUPS="groups=[\"root\",\"$MLDONKEY_GROUP\"]"   #add groups to makejail configuration file
+fi
+
+if [ -n "$MLD_PASSWD" ] ; then
+  mkdir -p $CHROOT_DIR/etc
+  echo -e "root:x:0:0:root:/root:/bin/false\n$MLD_PASSWD:$MLDONKEY_DIR:/bin/false"  > $CHROOT_DIR/etc/passwd
+  addToPreserve "/etc/passwd"
+else
+  JAIL_USERS="users=[\"root\",\"$MLDONKEY_USER\"]"   #add users to makejail configuration file
+fi
+
+
+
+#==========================================#
+create_configfile_makejail
+manageProc  #see function description
+makejail $PYTHON_SCRIPT > $LOG
+
+#clean tmp files (and do other stuff?)
+runAtExit;
+##reset traps
+trap - $TRAPPED;      
+######
+######
--- mldonkey-2.7.3.orig/debian/utils/purify_mldonkey
+++ mldonkey-2.7.3/debian/utils/purify_mldonkey
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+
+MLDONKEY_VERSION=$2
+ORIG=$1
+
+set -e 
+
+function safe_remove () {
+  rm -rf $1 || echo $1 not found
+}
+
+if test -d mldonkey-$MLDONKEY_VERSION; then
+  echo "Directory mldonkey-$MLDONKEY_VERSION exists"
+  exit 1
+fi
+  
+
+tar xjf $ORIG
+
+safe_remove mldonkey-$MLDONKEY_VERSION/docs/http-1.1.txt
+safe_remove mldonkey-$MLDONKEY_VERSION/docs/uri-res.txt
+safe_remove mldonkey-$MLDONKEY_VERSION/docs/uri.txt
+safe_remove mldonkey-$MLDONKEY_VERSION/src/networks/fasttrack
+safe_remove mldonkey-$MLDONKEY_VERSION/packages/debian
+
+cp debian/FASTTRACK mldonkey-$MLDONKEY_VERSION/
+
+find mldonkey-$MLDONKEY_VERSION -name .cvsignore -exec rm \{} \; -print
+
+tar czf mldonkey_$MLDONKEY_VERSION.orig.tar.gz mldonkey-$MLDONKEY_VERSION/
+rm -rf mldonkey-$MLDONKEY_VERSION
--- mldonkey-2.7.3.orig/debian/utils/Makefile.command
+++ mldonkey-2.7.3/debian/utils/Makefile.command
@@ -0,0 +1,186 @@
+#*********************************************************************#
+#                                                                     #
+#                           Objective Caml                            #
+#                                                                     #
+#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
+#                                                                     #
+#  Copyright 1998 Institut National de Recherche en Informatique et   #
+#  en Automatique.  Distributed only by permission.                   #
+#                                                                     #
+#*********************************************************************#
+
+#                   Generic Makefile for Objective Caml Programs
+
+############################ Documentation ######################
+#
+# To use this Makefile:
+# -- You must fix the value of the variable SOURCES below.
+# (The variable SOURCES is the list of your Caml source files.)
+# -- You must create a file .depend, using
+# $touch .depend
+# (This file will contain the dependancies between your Caml modules,
+#  automatically computed by this Makefile.)
+
+# Usage of this Makefile:
+# To incrementally recompile the system, type
+#     make
+# To recompute dependancies between modules, type
+#     make depend
+# To remove the executable and all the compiled files, type
+#     make clean
+# To compile using the native code compiler
+#     make opt
+#
+##################################################################
+
+
+##################################################################
+#
+# Advanced usage:
+# ---------------
+
+# If you want to fix the name of the executable, set the variable
+# EXEC, for instance, if you want to obtain a program named my_prog:
+# EXEC = my_prog
+
+# If you need special libraries provided with the Caml system,
+# (graphics, arbitrary precision numbers, regular expression on strings, ...),
+# you must set the variable LIBS to the proper set of libraries. For
+# instance, to use the graphics library set LIBS to $(WITHGRAPHICS):
+# LIBS=$(WITHGRAPHICS)
+
+# You may use any of the following predefined variable
+# WITHGRAPHICS : provides the graphics library
+# WITHUNIX : provides the Unix interface library
+# WITHSTR : provides the regular expression string manipulation library
+# WITHNUMS : provides the arbitrary precision arithmetic package
+# WITHTHREADS : provides the byte-code threads library
+# WITHDBM : provides the Data Base Manager library
+#
+#
+########################## End of Documentation ####################
+
+
+
+########################## User's variables #####################
+#
+# The Caml sources (including camlyacc and camllex source files)
+
+SOURCES = mldonkey_command.ml
+
+# The executable file to generate (default a.out under Unix)
+
+EXEC = mldonkey_command
+
+
+########################## Advanced user's variables #####################
+#
+# The Caml compilers.
+# You may fix here the path to access the Caml compiler on your machine
+CAMLC = ocamlc
+CAMLOPT = ocamlopt 
+CAMLDEP = ocamldep
+CAMLLEX = ocamllex
+CAMLYACC = ocamlyacc
+
+# The list of Caml libraries needed by the program
+# For instance:
+# LIBS=$(WITHGRAPHICS) $(WITHUNIX) $(WITHSTR) $(WITHNUMS) $(WITHTHREADS)\
+# $(WITHDBM)
+
+LIBS=$(WITHUNIX)
+
+# Should be set to -custom if you use any of the libraries above
+# or if any C code have to be linked with your program
+# (irrelevant for ocamlopt)
+
+CUSTOM=-custom
+
+# Default setting of the WITH* variables. Should be changed if your
+# local libraries are not found by the compiler.
+WITHGRAPHICS =graphics.cma -cclib -lgraphics -cclib -L/usr/X11R6/lib -cclib -lX11
+
+WITHUNIX =unix.cma -cclib -lunix
+
+WITHSTR =str.cma -cclib -lstr
+
+WITHNUMS =nums.cma -cclib -lnums
+
+WITHTHREADS =threads.cma -cclib -lthreads
+
+WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm
+
+################ End of user's variables #####################
+
+
+##############################################################
+################ This part should be generic
+################ Nothing to set up or fix here
+##############################################################
+
+SOURCES1 = $(SOURCES:.mly=.ml)
+SOURCES2 = $(SOURCES1:.mll=.ml)
+OBJS = $(SOURCES2:.ml=.cmo)
+OPTOBJS = $(OBJS:.cmo=.cmx)
+
+
+opt: $(EXEC).opt
+$(EXEC).opt: $(OPTOBJS)
+	$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
+
+byte: $(EXEC).byte
+$(EXEC).byte: $(OBJS)
+	$(CAMLC) -o $(EXEC) $(LIBS) $(OBJS)
+
+.SUFFIXES:
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
+
+.ml.cmo:
+	$(CAMLC) -c $<
+
+.mli.cmi:
+	$(CAMLC) -c $<
+
+.ml.cmx:
+	$(CAMLOPT) -c $<
+
+.mll.cmo:
+	$(CAMLLEX) $<
+	$(CAMLC) -c $*.ml
+
+.mll.cmx:
+	$(CAMLLEX) $<
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmo:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+	$(CAMLC) -c $*.ml
+
+.mly.cmx:
+	$(CAMLYACC) $<
+	$(CAMLOPT) -c $*.mli
+	$(CAMLOPT) -c $*.ml
+
+.mly.cmi:
+	$(CAMLYACC) $<
+	$(CAMLC) -c $*.mli
+
+.mll.ml:
+	$(CAMLLEX) $<
+
+.mly.ml:
+	$(CAMLYACC) $<
+
+clean:
+	rm -f *.cm[iox] *~ .*~ *.o #*#
+	rm -f $(EXEC)
+	rm -f $(EXEC).opt
+	rm -f .depend.command
+
+.depend.command: $(SOURCES2)
+	$(CAMLDEP) *.mli *.ml > .depend.command
+
+depend: .depend.command
+
+include .depend.command
--- mldonkey-2.7.3.orig/debian/mldonkey-server.manpages
+++ mldonkey-2.7.3/debian/mldonkey-server.manpages
@@ -0,0 +1,8 @@
+debian/xml-man/mlnet.1
+debian/xml-man/mldonkey_server.1
+debian/xml-man/mldonkey_options.1
+debian/xml-man/mldonkey_command.1
+debian/xml-man/mldonkey_submit.1
+debian/xml-man/mldonkey_users.1
+debian/xml-man/mldonkey_files.1
+debian/xml-man/mldonkey_create_chroot.8
--- mldonkey-2.7.3.orig/debian/rules
+++ mldonkey-2.7.3/debian/rules
@@ -0,0 +1,179 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+# Include patch-speficic rules
+PACKAGE=mldonkey
+include /usr/share/dpatch/dpatch.make
+
+MANCHECK=mlnet mlgui mlguistarter
+OCAMLABI=$(shell ocamlc -version)
+
+debian/control: debian/control.in
+	 sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+
+doc-check: doc-check-stamp
+doc-check-stamp: build
+	@for i in $(MANCHECK); do \
+		./$$i --help > debian/xml-man/$$i.new 2>&1;\
+		diff -q debian/xml-man/$$i.new debian/xml-man/$$i.help;\
+		diff -Nurd debian/xml-man/$$i.help debian/xml-man/$$i.new > debian/xml-man/$$i.diff ; \
+	done
+
+	touch doc-check-stamp
+
+doc-replace: doc-check $(foreach fl, $(MANCHECK), debian/xml-man/$(fl).new)
+	@for i in $(MANCHECK); do \
+		mv -f debian/xml-man/$$i.new debian/xml-man/$$i.help;\
+	done
+
+clean-doc-check:
+	-cd debian/xml-man && $(RM) *.new *.diff
+	-$(RM) doc-check-stamp
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	./configure                     \
+	  --host=$(DEB_HOST_GNU_TYPE)   \
+	  --build=$(DEB_BUILD_GNU_TYPE) \
+	  --enable-gui                  \
+	  --disable-fasttrack           \
+	  --enable-soulseek             \
+	  --enable-opennap              
+	touch configure-stamp
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp 
+	dh_testdir
+
+	@if ([ -x /usr/bin/ocamlopt ] || [ -x /usr/bin/ocamlopt.opt ]) && $(MAKE) utils opt; then\
+		/usr/bin/chrpath -d mlgui;\
+		/usr/bin/chrpath -d mlguistarter;\
+		touch build-arch-opt;\
+	else\
+		$(MAKE) utils.byte byte;\
+		cp mlnet.byte mlnet;\
+		cp mlgui.byte mlgui;\
+		cp mlguistarter.byte mlguistarter;\
+		touch build-arch-byte;\
+	fi
+	# Check that the compilation has succeeded
+	test -x mlnet
+	test -x mlgui
+	chrpath -d mlgui
+	chrpath -d mlguistarter
+
+	# Compile utilities
+	@if [ -e build-arch-opt ]; then\
+		cd debian/utils && $(MAKE) opt;\
+	else\
+		cd debian/utils && $(MAKE) byte;\
+	fi
+	touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: 
+	dh_testdir
+	cd debian/xml-man && $(MAKE) all
+	touch build-indep-stamp
+
+build: patch-stamp build-arch build-indep
+
+maintainer-clean:
+	# Prevent the rebuild of configure
+	-$(MAKE) distclean
+	-$(RM) config/confdefs.h
+
+unpatch: maintainer-clean
+
+clean: maintainer-clean unpatch clean-doc-check
+	dh_testdir
+	dh_testroot
+	# Update the PO, as suggested in "man 7 po-debconf"
+	debconf-updatepo
+	# Add here commands to clean up after the build process.
+	cd debian/xml-man && $(MAKE) clean
+	cd debian/utils && $(MAKE) clean
+	-$(RM) config/trying
+	-$(RM) packages/rpm/Makefile
+	-$(RM) *.ini *.ini.old
+	-$(RM) configure-stamp build-arch-stamp build-indep-stamp build-arch-opt build-arch-byte
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_install
+
+install-indep: DH_OPTIONS=
+install-indep: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_install
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install-indep
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdebconf -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installmenu -i
+	dh_installinit -i
+	dh_installman -i 
+	dh_installchangelogs distrib/ChangeLog -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdebconf -a
+	dh_installdocs -a
+	$(RM) $(CURDIR)/debian/mldonkey-server/usr/share/doc/mldonkey-server/distrib/Copying.txt
+	$(RM) $(CURDIR)/debian/mldonkey-server/usr/share/doc/mldonkey-server/distrib/GeoIP_LICENSE.txt
+	dh_installexamples -a
+	dh_installmenu -a
+	dh_installinit -a -- start 98 2 3 4 5 . stop 20 0 1 6 .
+	dh_installcron -a
+	dh_installman -a
+	dh_installchangelogs distrib/ChangeLog -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	@if [ -e build-arch-opt ]; then\
+		echo "interpreter:Depends=" >> debian/mldonkey-server.substvars;\
+		echo "interpreter:Depends=" >> debian/mldonkey-gui.substvars;\
+		dh_strip -a;\
+	else\
+		echo "interpreter:Depends=ocaml-base-$(OCAMLABI)" >> debian/mldonkey-server.substvars;\
+		echo "interpreter:Depends=ocaml-base-$(OCAMLABI)" >> debian/mldonkey-gui.substvars;\
+	fi
+	dh_gencontrol -a -- -VF:OCamlABI="$(OCAMLABI)"
+	dh_md5sums -a
+	dh_builddeb -a
+
+# For now we have no binary-indep
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- mldonkey-2.7.3.orig/debian/compat
+++ mldonkey-2.7.3/debian/compat
@@ -0,0 +1 @@
+4
--- mldonkey-2.7.3.orig/debian/TODO
+++ mldonkey-2.7.3/debian/TODO
@@ -0,0 +1,30 @@
+
+* Not assigned:
+  * Build packages for :
+    * kde_applet
+    * gnome_applet
+    * mozilla plugin
+
+  * Explore the possibility to build a package for KMLDonkey (Bug: #274460)
+
+  * Correct bugs : 
+    Important bugs - outstanding
+    #244406: mldonkey-server: A new problem of mldonkey_server
+    #268690: 2.5.28 fails to properly connect to mlnet
+    #270476: mldonkey-server: html-gui asks for username and password after upgrade
+
+    Normal bugs - outstanding
+    #204266: Chrooted mldonkey-server seems to be broken
+    #254000: logs to syslog instead of using own logfiles in /var/log/mldonkey/
+    #263094: mldonkey: Extra files to distribute
+    #270371: mldonkey-gui: graphical availablility isn't displayed
+    #285202: disconnect mldonkey-server if non-iso8859-1 characters typed in search section
+
+* Jeroen Van Wolffelaar:
+  * Test mldonkey 2.6.4 package
+  * Release mldonkey 2.6.4
+  * Test mldonkey_make_chroot and its possible integration in the package
+  
+* Sylvain le Gall:
+  * Integrate ca, cs, de PO translation
+
--- mldonkey-2.7.3.orig/debian/patches/20_wrong_comments.dpatch
+++ mldonkey-2.7.3/debian/patches/20_wrong_comments.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_wrong_comments.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/src/daemon/common/commonOptions.ml trunk/src/daemon/common/commonOptions.ml
+--- trunk~/src/daemon/common/commonOptions.ml	2005-09-20 23:19:45.000000000 +0200
++++ trunk/src/daemon/common/commonOptions.ml	2005-09-20 23:23:22.000000000 +0200
+@@ -288,7 +288,8 @@
+   "list of IP address allowed to connect to the core via telnet/GUI/WEB
+ for internal command set: list separated by spaces
+ example for internal command: set allowed_ips \"127.0.0.1 192.168.1.2\"
+-or for editing the ini-file: allowed_ips = [ \"127.0.0.1\"; \"192.168.1.2\";]
++or for editing the ini-file: list separated by semi-colon
++example for ini-file: allowed_ips = [ \"127.0.0.1\"; \"192.168.1.2\";]
+ wildcard=255 ie: use 192.168.0.255 for 192.168.0.*"
+     ip_list_option [Ip.localhost]
+ 
--- mldonkey-2.7.3.orig/debian/patches/02_usr_bin.dpatch
+++ mldonkey-2.7.3/debian/patches/02_usr_bin.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh -e
+## 02_usr_bin.dpatch by Sylvain LE GALL <sylvain.le-gall@polytechnique.org>
+## DP: Modification of some path to point the right place     
+
+if [ $# -ne 1 ]; then
+    echo >&2 "$0: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -f -p1 < $0;;
+    -unpatch) patch -f -R -p1 < $0;;
+    *)
+        echo >&2 "$0: script expects -patch|-unpatch as argument"
+        exit 1
+esac
+exit 0
+
+diff -Nurd mldonkey-cvs2/src/daemon/common/commonOptions.ml mldonkey-cvs3/src/daemon/common/commonOptions.ml
+--- mldonkey-cvs2/src/daemon/common/commonOptions.ml	2003-03-06 21:05:52.000000000 +0100
++++ mldonkey-cvs3/src/daemon/common/commonOptions.ml	2003-01-31 01:31:25.000000000 +0100
+@@ -303,7 +303,7 @@
+   
+ let mldonkey_bin = define_option expert_ini ["mldonkey_bin"]
+     "Directory where mldonkey binaries are installed"
+-    string_option bin_dir
++    string_option "/usr/bin" 
+ 
+ let mldonkey_gui = define_option expert_ini ["mldonkey_gui"]
+     "Name of GUI to start" string_option 
--- mldonkey-2.7.3.orig/debian/patches/25_ocaml3.09.0.dpatch
+++ mldonkey-2.7.3/debian/patches/25_ocaml3.09.0.dpatch
@@ -0,0 +1,1713 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 25_ocaml3.09.0.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -Nurd mldonkey-2.7.0/config/configure.in mldonkey-2.7.0.ocaml3.09.0/config/configure.in
+--- mldonkey-2.7.0/config/configure.in	2005-11-19 16:42:40.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/config/configure.in	2005-12-06 23:19:06.000000000 +0100
+@@ -133,9 +133,9 @@
+ if test ! -z "$SUB_VERSION3"; then
+   MLDONKEY_VERSION=$MLDONKEY_VERSION.$SUB_VERSION3
+ fi
+-REQUIRED_OCAML=3.08.4
++REQUIRED_OCAML=3.09.0
+ DOWNLOAD_OCAML_MAJOR=3.08
+-DOWNLOAD_OCAML=3.08.4
++DOWNLOAD_OCAML=3.09.0
+ 
+ REQUIRED_LABLGTK=1.2.7
+ 
+diff -Nurd mldonkey-2.7.0/src/config/unix/mlUnix.ml mldonkey-2.7.0.ocaml3.09.0/src/config/unix/mlUnix.ml
+--- mldonkey-2.7.0/src/config/unix/mlUnix.ml	2005-08-07 19:39:30.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/config/unix/mlUnix.ml	2005-12-07 00:14:19.000000000 +0100
+@@ -35,8 +35,7 @@
+                     begin Unix.dup2 output Unix.stdout; Unix.close output end;
+                   Unix.close in_read;
+                   Unix.close out_write;
+-                  Unix.execvp cmd args;
+-                  exit 127
++                  Unix.execvp cmd args
+                 with e -> 
+                     Printf.eprintf "Exception %s in exec_command\n"
+                       (Printexc2.to_string e) ; 
+@@ -61,8 +60,7 @@
+           match Unix.fork() with
+             0 -> begin
+                 try
+-                  Unix.execv cmd args;
+-                  exit 0
++                  Unix.execv cmd args
+                 with e -> 
+                     lprintf "Exception %s while starting file_completed_cmd\n" (Printexc2.to_string e); 
+                     exit 127
+diff -Nurd mldonkey-2.7.0/src/daemon/chat/chat_proto.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/chat/chat_proto.ml
+--- mldonkey-2.7.0/src/daemon/chat/chat_proto.ml	2003-04-23 00:33:39.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/chat/chat_proto.ml	2005-12-07 00:16:58.000000000 +0100
+@@ -109,7 +109,7 @@
+       | "MESSAGE" ->
+ 	  let length = int_of_string (il getline) in
+ 	  let s = String.create length in
+-	  let n = input s 0 length in
++	  let _ = input s 0 length in
+ 	  Message s
+       |	"ROOM_MESSAGE" ->
+ 	  let name = getline () in
+@@ -130,7 +130,7 @@
+ 	  let people = iter [] 0 in
+ 	  let length = int_of_string (il getline) in
+ 	  let s = String.create length in
+-	  let n = input s 0 length in
++	  let _ = input s 0 length in
+ 	  RoomMessage (name, people, s)
+ 
+       | "ADD_OPEN" ->
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonClient.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonClient.ml
+--- mldonkey-2.7.0/src/daemon/common/commonClient.ml	2005-10-10 18:22:24.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonClient.ml	2005-12-07 00:07:37.000000000 +0100
+@@ -370,7 +370,7 @@
+ 
+ let client_print_html c o =
+   let impl = as_client_impl c in
+-  let i = client_info c in
++  let _ = client_info c in
+   let n = impl.impl_client_ops.op_client_network in
+   let info = client_info c in
+   let buf = o.conn_buf in
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonFile.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonFile.ml
+--- mldonkey-2.7.0/src/daemon/common/commonFile.ml	2005-11-12 12:30:05.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonFile.ml	2005-12-07 00:07:57.000000000 +0100
+@@ -446,7 +446,7 @@
+ module G = GuiTypes
+ 
+ let file_downloaders file o cnt =
+-  let buf = o.conn_buf in
++  let _ = o.conn_buf in
+ 
+       let srcs = file_active_sources file in
+       let counter = ref cnt in
+@@ -613,7 +613,6 @@
+             file_print_sources_html file buf
+           else begin
+             Printf.bprintf buf "%d sources:\n" (List.length srcs);
+-          let counter = ref 0 in
+           let print_source c =
+                   Printf.bprintf buf "  [%4d] " (client_num c);
+                   client_bprint c buf;
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonGlobals.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonGlobals.ml
+--- mldonkey-2.7.0/src/daemon/common/commonGlobals.ml	2005-10-11 18:56:33.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonGlobals.ml	2005-12-07 00:06:54.000000000 +0100
+@@ -477,7 +477,7 @@
+       (Printexc2.to_string e) !messages_log;
+ 
+   while (Fifo.length chat_message_fifo) > !!html_mods_max_messages do
+-    let foo = Fifo.take chat_message_fifo in ()
++    let _ = Fifo.take chat_message_fifo in ()
+   done
+ let last_message_log = ref 0
+ 
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonInteractive.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonInteractive.ml
+--- mldonkey-2.7.0/src/daemon/common/commonInteractive.ml	2005-10-16 22:42:50.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonInteractive.ml	2005-12-07 00:13:51.000000000 +0100
+@@ -78,7 +78,7 @@
+   Charset.to_locale (Buffer.contents buf)
+ 
+ let file_commited_name incoming_dir file =
+-  let network = file_network file in
++  let _ = file_network file in
+   let best_name = file_best_name file in
+   (try Unix2.safe_mkdir incoming_dir with _ -> ());
+   let new_name =
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonMultimedia.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonMultimedia.ml
+--- mldonkey-2.7.0/src/daemon/common/commonMultimedia.ml	2005-10-16 22:42:50.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonMultimedia.ml	2005-12-07 00:13:35.000000000 +0100
+@@ -271,7 +271,7 @@
+ let rec next_ogg_stream ic ogg_infos str stream_number =
+   let pos = pos_in ic in
+   page_seek ic str pos;
+-  let header_start_pos = (pos_in ic - 4) in
++  let _ = (pos_in ic - 4) in
+   let pos = pos_in ic in
+ (*
+   let serial_number = String.create 4 in
+@@ -305,12 +305,12 @@
+   let s = String.create sizeof_packet in
+   really_input ic s 0 sizeof_packet;
+   let codec = String.lowercase (String.sub s 0 4) in
+-  let size = read32 (String.sub s 4 4) in
++  let _ = read32 (String.sub s 4 4) in
+   let time_unit = read64 (String.sub s 8 8) in
+-  let sample_per_unit = read64 (String.sub s 16 8) in
+-  let default_len = read32 (String.sub s 24 4) in
+-  let buffer_size = read32 (String.sub s 28 4) in
+-  let bits_per_sample = read16 (String.sub s 32 2) in
++  let _ = read64 (String.sub s 16 8) in
++  let _ = read32 (String.sub s 24 4) in
++  let _ = read32 (String.sub s 28 4) in
++  let _ = read16 (String.sub s 32 2) in
+   let video_width =
+     if sizeof_packet >= sizeof_old_ogm_packet
+       then read32 (String.sub s 36 4)
+@@ -337,12 +337,12 @@
+   let s = String.create sizeof_packet in
+   really_input ic s 0 sizeof_packet;
+   let codec = get_audio_codec (String.sub s 0 4) in
+-  let size = read32 (String.sub s 4 4) in
+-  let time_unit = read64 (String.sub s 8 8) in
++  let _ = read32 (String.sub s 4 4) in
++  let _ = read64 (String.sub s 8 8) in
+   let sample_per_unit = read64 (String.sub s 16 8) in
+-  let default_len = read32 (String.sub s 24 4) in
+-  let buffer_size = read32 (String.sub s 28 4) in
+-  let bits_per_sample = read16 (String.sub s 32 2) in
++  let _ = read32 (String.sub s 24 4) in
++  let _ = read32 (String.sub s 28 4) in
++  let _ = read16 (String.sub s 32 2) in
+   let channels =
+     if sizeof_packet >= sizeof_old_ogm_packet
+       then read16 (String.sub s 36 2)
+@@ -409,13 +409,13 @@
+   let vrev = int_of_char s.[2] in
+   let codec = Printf.sprintf "theora-%d.%d.%d" vmaj vmin vrev in
+   (* multiply by 16 to get the actual frame width in pixels *)
+-  let fmbw = read16B (String.sub s 3 2) lsl 4 in
++  let _ = read16B (String.sub s 3 2) lsl 4 in
+   (* multiply by 16 to get the actual frame height in pixels *)
+-  let fmbh = read16B (String.sub s 5 2) lsl 4 in
++  let _ = read16B (String.sub s 5 2) lsl 4 in
+   let picw = read24B (String.sub s 7 3)  in
+   let pich = read24B (String.sub s 10 3) in
+-  let picx = int_of_char s.[13] in
+-  let picy = int_of_char s.[14] in
++  let _ = int_of_char s.[13] in
++  let _ = int_of_char s.[14] in
+   let frn = read32B (String.sub s 15 4) in
+   let frd = read32B (String.sub s 19 4) in
+   let sample_rate = frn /. frd in
+@@ -538,16 +538,16 @@
+                 ignore (input_string4 ic);
+                 
+                 
+-                let dwMicroSecPerFrame = input_int32 ic in
+-                let dwMaxBytesPerSec = input_int32 ic in
+-                let dwPaddingGranularity = input_int32 ic in
+-                let dwFlags = input_int32 ic in
+-                let dwTotalFrames = input_int32 ic in
+-                let dwInitialFrames = input_int32 ic in
+-                let dwStreams = input_int32 ic in
+-                let dwSuggestedBufferSize = input_int32 ic in              
+-                let dwWidth = input_int32 ic in
+-                let dwHeight = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in              
++                let _ = input_int32 ic in
++                let _ = input_int32 ic in
+ 
+ (*
+               print_int32 "dwMicroSecPerFrame" dwMicroSecPerFrame ;
+@@ -563,7 +563,7 @@
+               *)
+                 
+                 seek_in ic ((Int64.to_int pos) + main_header_len + 20);
+-                let s = input_string4 ic in
++                let _ = input_string4 ic in
+ (*              lprint_string4 "LIST:" s; *)
+                 let pos_in = 
+                   pos ++ Int64.of_int (main_header_len + 24) in
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonOptions.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonOptions.ml
+--- mldonkey-2.7.0/src/daemon/common/commonOptions.ml	2005-11-12 12:30:06.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonOptions.ml	2005-12-08 00:48:20.000000000 +0100
+@@ -1515,7 +1515,6 @@
+ the kill function of a GUI or CTRL+C.\n\n"
+ 
+ let _ =
+-  let in_hook = ref false in
+   option_hook global_login (fun _ ->
+       let len = String.length !!global_login in
+       let prefix = "mldonkey_" in
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonSources.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonSources.ml
+--- mldonkey-2.7.0/src/daemon/common/commonSources.ml	2005-10-25 11:42:35.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonSources.ml	2005-12-07 00:20:51.000000000 +0100
+@@ -524,7 +524,7 @@
+ 
+         let nsources_per_queue = Array.create nqueues 0 in
+         let nready_per_queue = Array.create nqueues 0 in
+-        let nready_throttled_per_queue = Array.create nqueues 0 in
++        let _ = Array.create nqueues 0 in
+         let nindirect_per_queue = Array.create nqueues 0 in
+         let ninvalid_per_queue = Array.create nqueues 0 in
+         let nall = ref 0 in
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonSwarming2.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonSwarming2.ml
+--- mldonkey-2.7.0/src/daemon/common/commonSwarming2.ml	2005-11-12 12:20:20.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonSwarming2.ml	2005-12-07 00:20:15.000000000 +0100
+@@ -1061,7 +1061,6 @@
+ (*************************************************************************)
+ 
+ let verify t chunks num begin_pos end_pos =
+-  let file = t.t_file in
+   file_verify t.t_file chunks.(num) begin_pos end_pos
+ 
+ (*************************************************************************)
+@@ -1181,7 +1180,7 @@
+                                 | CompleteBlock ->
+                                     let block_begin = t.t_block_size *.. i in
+                                     let block_end = block_begin ++ t.t_block_size in
+-                                    let block_end = min block_end s.s_size in
++                                    let _ = min block_end s.s_size in
+                                     let block_begin = compute_block_begin s i in
+                                     let block_end = compute_block_end s i in
+                                     add_file_downloaded None s (block_begin -- block_end);
+@@ -1835,7 +1834,7 @@
+       and iter_partial up =
+         let n = up.up_npartial in
+         if n = 0 then raise Not_found;
+-        let t = up.up_t in
++        let _ = up.up_t in
+         let b, block_begin, block_end = up.up_partial_blocks.(n-1) in
+         let t = up.up_t in
+         let s = t.t_s in
+@@ -2143,7 +2142,7 @@
+               up.up_block <- None;
+         );
+ 
+-        let (b,block_begin,block_end) as result = select_block up in
++        let (b,block_begin,block_end) = select_block up in
+         let num = b.block_num in
+         s.s_nuploading.(num) <- s.s_nuploading.(num) + 1;
+         up.up_block <- Some b;
+@@ -2747,7 +2746,7 @@
+   are correctly associed. *)
+     with Not_found -> ());
+ 
+-  let set_bitmap =
++  let _ =
+     let mtime = try file_mtime t.t_file with _ -> 0. in
+     let old_mtime =
+       try
+@@ -3146,7 +3145,7 @@
+ 
+           incr counter
+       ) swarmers_by_name;
+-      let block_storage = 64 * !nblocks in
++      let _ = 64 * !nblocks in
+ 
+       Printf.bprintf buf "  Swarmers: %d\n" !counter;
+       Printf.bprintf buf "    nchunks: %d nblocks: %d nranges: %d\n"
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonUploads.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonUploads.ml
+--- mldonkey-2.7.0/src/daemon/common/commonUploads.ml	2005-11-05 17:23:40.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonUploads.ml	2005-12-07 00:20:44.000000000 +0100
+@@ -241,11 +241,11 @@
+ let shareds_by_id = Hashtbl.create 13
+ 
+ let add_by_uid uid sh =
+-  let urn = Uid.to_string uid in
++  let _ = Uid.to_string uid in
+   Hashtbl.add shareds_by_uid uid sh
+ 
+ let find_by_uid uid =
+-  let urn = Uid.to_string uid in
++  let _ = Uid.to_string uid in
+   Hashtbl.find shareds_by_uid uid
+ 
+ module SharedFilesIndex = IndexedSharedFiles.MakeIndex (struct
+@@ -522,7 +522,7 @@
+     | ED2K ->
+         let size = info.shared_size in
+         let chunk_size = ed2k_block_size  in
+-        let nhashes = Int64.to_int (size // chunk_size) + 1 in
++        let _ = Int64.to_int (size // chunk_size) + 1 in
+         let rec iter pos hashes =
+           if pos < size then
+             try
+@@ -543,7 +543,7 @@
+           let list = List.rev hashes in
+           let ed2k = md4_of_list list in
+           let uid = Uid.create (Ed2k (ed2k)) in
+-          let urn = Uid.to_string uid in
++          let _ = Uid.to_string uid in
+           info.shared_md4s <- Array.of_list list;
+           info.shared_uids <- uid :: info.shared_uids;
+           IndexedSharedFiles.update_result sh.shared_info info;
+@@ -559,7 +559,7 @@
+ 
+           let size = info.shared_size in
+           let chunk_size = tiger_block_size in
+-          let nhashes = Int64.to_int (size // chunk_size) + 1 in
++          let _ = Int64.to_int (size // chunk_size) + 1 in
+           let rec iter pos hashes =
+             if pos < size then
+                 CommonHasher.compute_tiger info.shared_fullname
+diff -Nurd mldonkey-2.7.0/src/daemon/common/commonWeb.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonWeb.ml
+--- mldonkey-2.7.0/src/daemon/common/commonWeb.ml	2005-09-06 13:24:59.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/commonWeb.ml	2005-12-07 00:13:43.000000000 +0100
+@@ -220,7 +220,6 @@
+                   | _ -> ())
+             in
+             TcpBufferedSocket.set_rtimeout sock 30.;
+-            let to_read = ref [] in
+             set_reader sock (cut_messages (fun opcode s ->
+                   if !verbose_redirector then lprintf_nl "[cWeb] redirector info received";
+                   let module L = LittleEndian in
+diff -Nurd mldonkey-2.7.0/src/daemon/common/giftDecoding.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/giftDecoding.ml
+--- mldonkey-2.7.0/src/daemon/common/giftDecoding.ml	2003-11-20 17:43:14.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/giftDecoding.ml	2005-12-07 00:10:41.000000000 +0100
+@@ -86,10 +86,10 @@
+         }
+     | "addsource", _ ->
+         let save = find_key "save" args in
+-        let url = find_key "url" args in
+-        let size = find_key "size" args in
++        let _ = find_key "url" args in
++        let _ = find_key "size" args in
+         let hash = find_key "hash" args in
+-        let user = find_key "user" args in
++        let _ = find_key "user" args in
+         Download_query ([save], int_of_string hash, false)
+         
+     | "transfer", Some num ->
+@@ -110,4 +110,4 @@
+         (Printexc2.to_string e)
+       (String.escaped s);
+       raise Not_found
+-  
+\ Pas de fin de ligne  la fin du fichier.
++  
+diff -Nurd mldonkey-2.7.0/src/daemon/common/guiDecoding.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/guiDecoding.ml
+--- mldonkey-2.7.0/src/daemon/common/guiDecoding.ml	2005-11-12 23:53:51.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/guiDecoding.ml	2005-12-07 00:10:12.000000000 +0100
+@@ -392,7 +392,7 @@
+ 
+ let get_result proto s pos =
+   let num  = get_int s pos in
+-  let net = get_int s (pos+4) in
++  let _ = get_int s (pos+4) in
+   let names, pos = get_list get_string s (pos+8) in
+   let uids, pos = 
+     if proto < 27 then
+diff -Nurd mldonkey-2.7.0/src/daemon/common/guiEncoding.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/guiEncoding.ml
+--- mldonkey-2.7.0/src/daemon/common/guiEncoding.ml	2005-11-12 23:53:51.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/common/guiEncoding.ml	2005-12-07 00:10:21.000000000 +0100
+@@ -953,7 +953,7 @@
+         buf_opcode buf 57; buf_search buf_string proto buf s
+     
+     | Version s ->
+-        let proto = proto.(58) in
++        let _ = proto.(58) in
+         buf_opcode buf 58; buf_string buf s
+     
+     | GiftServerAttach _ -> assert false
+diff -Nurd mldonkey-2.7.0/src/daemon/driver/driverCommands.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverCommands.ml
+--- mldonkey-2.7.0/src/daemon/driver/driverCommands.ml	2005-11-12 21:07:01.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverCommands.ml	2005-12-08 00:28:10.000000000 +0100
+@@ -295,7 +295,6 @@
+         ), ":\t\t\t\t\t$bsave and kill the server$n";
+ 
+     "add_url", Arg_two (fun kind url o ->
+-        let buf = o.conn_buf in
+         let v = (kind, 1, url) in
+         if not (List.mem v !!web_infos) then
+           web_infos =:=  v :: !!web_infos;
+@@ -460,7 +459,7 @@
+ (* rely on GC? *)
+ 
+         while (Fifo.length chat_message_fifo) > !!html_mods_max_messages  do
+-          let foo = Fifo.take chat_message_fifo in ()
++          ignore(Fifo.take chat_message_fifo)
+         done;
+ 
+         if use_html_mods o then Printf.bprintf buf "\\<div class=\\\"messages\\\"\\>";
+@@ -785,7 +784,6 @@
+     ), "<server numbers> :\t\t\tremove server (use arg 'all' for all servers)";
+ 
+     "server_banner", Arg_one (fun num o ->
+-        let buf = o.conn_buf in
+         let num = int_of_string num in
+         let s = server_find num in
+         (match server_state s with
+@@ -997,7 +995,6 @@
+     [
+ 
+     "nu", Arg_one (fun num o ->
+-        let buf = o.conn_buf in
+         let num = int_of_string num in
+ 
+         if num > 0 then (* we want to disable upload for a short time *)
+@@ -1140,14 +1137,12 @@
+     ) , " :\t\t\t\tprint all networks";
+ 
+     "enable", Arg_one (fun num o ->
+-        let buf = o.conn_buf in
+         let n = network_find_by_num (int_of_string num) in
+         network_enable n;
+         _s "network enabled"
+     ) , " <num> :\t\t\t\tenable a particular network";
+ 
+     "disable", Arg_one (fun num o ->
+-        let buf = o.conn_buf in
+         let n = network_find_by_num (int_of_string num) in
+         network_disable n;
+         _s "network disabled"
+@@ -1166,7 +1161,6 @@
+     [
+ 
+     "forget", Arg_multiple (fun args o ->
+-        let buf = o.conn_buf in
+         let user = o.conn_user in
+         begin
+           match args with
+@@ -1360,7 +1354,6 @@
+     "set", Arg_two (fun name value o ->
+         try
+           try
+-            let buf = o.conn_buf in
+             CommonInteractive.set_fully_qualified_options name value;
+             Printf.sprintf "option %s value changed" name
+ 
+@@ -1390,7 +1383,6 @@
+     ), "<option_name> <option_value> :\t$bchange option value$n";
+ 
+     "save", Arg_multiple (fun args o ->
+-        let buf = o.conn_buf in
+         match args with
+ 	  ["options"] -> DriverInteractive.save_config (); _s "options saved"
+ 	| ["sources"] -> CommonComplexOptions.save_sources (); _s "sources saved"
+@@ -2720,8 +2712,6 @@
+         ), "<link> :\t\t\t\tdownload ed2k, sig2dat, torrent or other link";
+ 
+     "dllinks", Arg_one (fun arg o ->
+-        let buf = o.conn_buf in
+-
+         let file = File.to_string arg in
+         let lines = String2.split_simplify file '\n' in
+         List.iter (fun line ->
+@@ -2775,7 +2765,6 @@
+     ), ":\t\t\t\t\tdump current log state to console";
+ 
+     "ansi", Arg_one (fun arg o ->
+-        let buf = o.conn_buf in
+         let b = bool_of_string arg in
+         if b then begin
+             o.conn_output <- ANSI;
+@@ -2793,7 +2782,6 @@
+     "<width> <height> :\t\t\tset terminal width and height (devel)";
+ 
+     "stdout", Arg_one (fun arg o ->
+-        let buf = o.conn_buf in
+         let b = bool_of_string arg in
+         set_logging b;
+ 	if b then
+@@ -2885,8 +2873,6 @@
+      ), ":\t\t\t\tclear log_file";
+ 
+     "html_mods", Arg_none (fun o ->
+-        let buf = o.conn_buf in
+-
+         if !!html_mods then
+           begin
+             html_mods =:= false;
+diff -Nurd mldonkey-2.7.0/src/daemon/driver/driverControlers.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverControlers.ml
+--- mldonkey-2.7.0/src/daemon/driver/driverControlers.ml	2005-10-30 22:10:18.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverControlers.ml	2005-12-08 00:34:45.000000000 +0100
+@@ -447,8 +447,6 @@
+ 
+ let user_reader o telnet sock nread =
+   let b = TcpBufferedSocket.buf sock in
+-  let end_pos = b.pos + b.len in
+-  let new_pos = end_pos - nread in
+   let rec iter () =
+     if b.len > 0 then
+       let c = b.buf.[b.pos] in
+@@ -786,7 +784,7 @@
+         let file = open_in theme_page in
+         let size = (Unix.stat theme_page).Unix.st_size in
+         let s = String.make size ' ' in
+-        let ok = really_input file s 0 size in
++        let _ = really_input file s 0 size in
+         close_in file; s
+ 
+ let add_simple_commands buf =
+@@ -1462,6 +1460,6 @@
+       default = http_handler http_options;
+     } in
+   option_hook allowed_ips (fun _ -> config.addrs <- !!allowed_ips);
+-  let sock = find_port "http server" !!http_bind_addr http_port
++  let _ = find_port "http server" !!http_bind_addr http_port
+       (Http_server.handler config) in
+   config.port <- !!http_port
+diff -Nurd mldonkey-2.7.0/src/daemon/driver/driverInterface.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverInterface.ml
+--- mldonkey-2.7.0/src/daemon/driver/driverInterface.ml	2005-10-24 01:13:08.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverInterface.ml	2005-12-08 00:31:21.000000000 +0100
+@@ -384,7 +384,6 @@
+ let gui_initialize gui = 
+ 
+   gui.gui_initialized <- true;
+-  let connecting = ref true in
+   networks_iter_all (fun n ->
+       gui_send gui (Network_info (network_info n)));
+   gui_send gui (Console (DriverControlers.text_of_html !!motd_html));
+@@ -502,7 +501,7 @@
+           List.iter (fun file ->
+               
+               List.iter (fun s ->
+-                  let section = section_name s in
++                  let _ = section_name s in
+                   List.iter (fun o ->
+                       gui_send gui (
+                         P.Add_plugin_option (r.network_name, o)
+diff -Nurd mldonkey-2.7.0/src/daemon/driver/driverLink.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverLink.ml
+--- mldonkey-2.7.0/src/daemon/driver/driverLink.ml	2005-05-28 13:19:42.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverLink.ml	2005-12-08 00:28:24.000000000 +0100
+@@ -316,7 +316,6 @@
+                     List.iter (fun file ->
+                         let best_name = file_best_name file in
+                         let disk_name = file_disk_name file in
+-                        let ext = Filename2.last_extension best_name in
+                         lprintf "Adding %s\n" best_name;
+                         let file_size = Int64.to_float (file_size file) in
+                         let file_downloaded = 
+diff -Nurd mldonkey-2.7.0/src/daemon/driver/driverMain.ml mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverMain.ml
+--- mldonkey-2.7.0/src/daemon/driver/driverMain.ml	2005-11-05 17:23:40.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/daemon/driver/driverMain.ml	2005-12-08 00:32:11.000000000 +0100
+@@ -264,8 +264,7 @@
+       Options.load users_ini;
+     with e ->
+         lprintf_nl "Exception %s during options load" (Printexc2.to_string e);
+-        exit 70;
+-        ());
++        ignore(exit 70));
+ 
+   (* Here, we try to update options when a new version of mldonkey is
+      used. For example, we can add new web_infos... *)
+@@ -316,7 +315,7 @@
+           exit 0), _s " : print version number and exit";
+       "-exit", Arg.Unit (fun _ -> exit 0), ": exit immediatly";
+       "-format", Arg.String (fun file ->
+-          let format = CommonMultimedia.get_info file in
++          let _ = CommonMultimedia.get_info file in
+           ()), _s  " <filename> : check file format";
+       "-test_ip", Arg.String (fun ip ->
+           lprintf_nl "%s = %s" ip (Ip.to_string (Ip.of_string ip));
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyClient.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyClient.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyClient.ml	2005-11-12 12:20:20.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyClient.ml	2005-12-08 00:21:16.000000000 +0100
+@@ -444,8 +444,8 @@
+   
+ let new_chunk up begin_pos end_pos =
+   if begin_pos <> end_pos then
+-    let len_requested = Int64.to_int (end_pos -- begin_pos) in
+-    let len = Int64.to_int (end_pos -- begin_pos) in
++    let _ = Int64.to_int (end_pos -- begin_pos) in
++    let _ = Int64.to_int (end_pos -- begin_pos) in
+     let pair = (begin_pos, end_pos) in
+     (match up.up_chunks with
+         [] ->
+@@ -1367,7 +1367,7 @@
+         
+ with _ -> *)
+       
+-      let cc = as_client c in
++      let _ = as_client c in
+ 
+ (* If the client is in the nolimit_ips list, he doesn't need a slot, so put
+ it immediatly in the upload queue... but what will happen in the queue
+@@ -1645,7 +1645,7 @@
+   
+   | M.QueryFileReq t ->
+       let md4 = t.M.QueryFile.md4 in
+-      let emule_extension = t.M.QueryFile.emule_extension in
++      let _ = t.M.QueryFile.emule_extension in
+       c.client_requests_received <- c.client_requests_received + 1;
+       
+       if  !CommonUploads.has_upload = 0 && 
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyComplexOptions.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyComplexOptions.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyComplexOptions.ml	2005-11-07 21:11:42.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyComplexOptions.ml	2005-12-08 00:33:45.000000000 +0100
+@@ -109,9 +109,6 @@
+ 
+ let value_to_client is_friend assocs = 
+   let get_value name conv = conv (List.assoc name assocs) in
+-  let get_value_nil name conv = 
+-    try conv (List.assoc name assocs) with _ -> []
+-  in
+   let (ip,port) = 
+     try
+       get_value "client_addr" (fun v ->
+@@ -133,7 +130,7 @@
+         Indirect_location(name, md4) *)
+   in
+   
+-  let last_conn = 
++  let _ = 
+     try
+       let last_conn =
+         (min (get_value "client_age" value_to_int) 
+@@ -204,9 +201,6 @@
+ 
+ let value_to_server assocs = 
+   let get_value name conv = conv (List.assoc name assocs) in
+-  let get_value_nil name conv = 
+-    try conv (List.assoc name assocs) with _ -> []
+-  in
+   let ip, port = get_value "server_addr" (fun v ->
+         match v with
+           List [ip;port] | SmallList [ip;port] ->
+@@ -436,11 +430,6 @@
+     let value_to_shinfo v =
+       match v with
+         Options.Module assocs ->
+-          let get_value name conv = conv (List.assoc name assocs) in
+-          let get_value_nil name conv = 
+-            try conv (List.assoc name assocs) with _ -> []
+-          in
+-          
+           let sh_md4s = try
+               value_to_array (fun v ->
+                   Md4.of_string (value_to_string v)) (List.assoc "md4s" assocs)
+@@ -481,10 +470,6 @@
+     let value_to_stat v =
+       match v with
+         Options.Module assocs ->
+-          let get_value name conv = conv (List.assoc name assocs) in
+-          let get_value_nil name conv = 
+-            try conv (List.assoc name assocs) with _ -> []
+-          in
+           { 
+             brand_seen = value_to_int (List.assoc "seen" assocs);
+             brand_banned = value_to_int (List.assoc "banned" assocs);
+@@ -513,10 +498,6 @@
+     let value_to_mod_stat v =
+       match v with
+         Options.Module assocs ->
+-          let get_value name conv = conv (List.assoc name assocs) in
+-          let get_value_nil name conv = 
+-            try conv (List.assoc name assocs) with _ -> []
+-          in
+           { 
+             brand_seen = value_to_int (List.assoc "mseen" assocs);
+             brand_banned = value_to_int (List.assoc "mbanned" assocs);
+@@ -617,12 +598,12 @@
+     try
+       ignore (DonkeyGlobals.find_server ip port)
+     with _ ->
+-        let s = DonkeyGlobals.new_server ip port !!initial_score in
++        let _ = DonkeyGlobals.new_server ip port !!initial_score in
+         DonkeyGlobals.servers_ini_changed := true
+         
+ let remove_server ip port =
+   try
+-    let s = DonkeyGlobals.find_server ip port in
++    let _ = DonkeyGlobals.find_server ip port in
+     DonkeyGlobals.servers_ini_changed := true;
+     DonkeyGlobals.remove_server ip port
+   with _ -> ()
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyGlobals.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyGlobals.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyGlobals.ml	2005-11-19 16:37:40.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyGlobals.ml	2005-12-08 00:16:06.000000000 +0100
+@@ -320,7 +320,7 @@
+   with _ ->
+       if !verbose_share then
+         lprintf_nl () "New file with md4: %s" (Md4.to_string md4);
+-      let file_exists = Unix32.file_exists file_diskname in
++      let _ = Unix32.file_exists file_diskname in
+ 
+       let t =
+         if
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyInteractive.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyInteractive.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyInteractive.ml	2005-11-12 23:53:52.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyInteractive.ml	2005-12-08 00:34:36.000000000 +0100
+@@ -139,7 +139,7 @@
+         let file = Zip.find_entry ic "server.met" in
+           Zip.close_in ic;
+     lprintf_nl () "server.met found in %s" url;
+-    let s = Misc.archive_extract filename "zip" in
++    let _ = Misc.archive_extract filename "zip" in
+       file.Zip.filename
+         with e ->
+     Zip.close_in ic;
+@@ -170,7 +170,6 @@
+     | _ -> filename
+ 
+ let download_server_met url =
+-  let nservers = List.length (Hashtbl2.to_list servers_by_key) in
+   let module H = Http_client in
+     let r = {
+       H.basic_request with
+@@ -386,7 +385,7 @@
+                     size := v
+                 | _ -> ()
+             ) f.P.tags;
+-            let file = query_download !filenames !size f.P.md4 None
++            let _ = query_download !filenames !size f.P.md4 None
+               (Some filename) (Some (List.rev f.P.absents)) true;
+             in
+             ()
+@@ -561,14 +560,13 @@
+         let ip = Ip.from_name ip in
+         let port = int_of_string port in
+ 
+-        let s = force_add_server ip port in
++        let _ = force_add_server ip port in
+         Printf.bprintf buf "New server %s:%d\n"
+           (Ip.to_string ip) port;
+         ""
+     ), "<ip> [<port>] :\t\t\tadd a server";
+ 
+     "afr", Arg_multiple (fun args o ->
+-        let buf = o.conn_buf in
+         let ip, port =
+           match args with
+             [ip ; port] -> ip, port
+@@ -583,7 +581,6 @@
+     ),  "<ip> [<port>] :\t\t\tadd a friend";
+ 
+     "vu", Arg_none (fun o ->
+-        let buf = o.conn_buf in
+         Printf.sprintf
+           "Upload credits : %d minutes\nUpload disabled for %d minutes"
+           !CommonUploads.upload_credit !CommonUploads.has_upload;
+@@ -591,21 +588,19 @@
+     ), ":\t\t\t\t\tview upload credits";
+ 
+     "comments", Arg_one (fun filename o ->
+-        let buf = o.conn_buf in
+ (* TODO        DonkeyIndexer.load_comments filename;
+         DonkeyIndexer.save_comments (); *)
+         "comments loaded and saved"
+     ), "<filename> :\t\t\tload comments from file";
+ 
+     "comment", Arg_two (fun md4 comment o ->
+-        let buf = o.conn_buf in
++ (* TODO        let buf = o.conn_buf in
+         let md4 = Md4.of_string md4 in
+-(* TODO        DonkeyIndexer.add_comment md4 comment; *)
++       DonkeyIndexer.add_comment md4 comment; *)
+         "Comment added"
+     ), "<md4> \"<comment>\" :\t\tadd comment on a md4";
+ 
+     "import", Arg_one (fun dirname o ->
+-        let buf = o.conn_buf in
+         try
+           import_config dirname;
+           "config loaded"
+@@ -615,7 +610,6 @@
+     ), "<dirname> :\t\t\timport the config from dirname";
+ 
+     "import_temp", Arg_one (fun dirname o ->
+-        let buf = o.conn_buf in
+         try
+           import_temp dirname;
+           "temp files loaded"
+@@ -625,13 +619,11 @@
+     ), "<temp_dir> :\t\t\timport the old edonkey temp directory";
+ 
+     "load_old_history", Arg_none (fun o ->
+-        let buf = o.conn_buf in
+ (* TODO        DonkeyIndexer.load_old_history (); *)
+         "Old history loaded"
+     ), ":\t\t\tload history.dat file";
+ 
+     "servers", Arg_one (fun filename o ->
+-        let buf = o.conn_buf in
+   if !!update_server_list_server_met then
+     begin
+       let nservers = List.length (Hashtbl2.to_list servers_by_key) in
+@@ -879,14 +871,12 @@
+     ), ":\t\t\t\t\textend the last search";
+ 
+     "clh", Arg_none (fun o ->
+-        let buf = o.conn_buf in
+ (* TODO RESULT        DonkeyIndexer.clear (); *)
+         "local history cleared"
+     ), ":\t\t\t\t\tclear local history";
+ 
+ (* TODO RESULT *)
+     "dd", Arg_two(fun size md4 o ->
+-        let buf = o.conn_buf in
+         let file = query_download [] (Int64.of_string size)
+           (Md4.of_string md4) None None None false in
+         CommonInteractive.start_download file;
+@@ -1326,7 +1316,7 @@
+       List.iter (fun (s,c) ->
+         let ac = as_client c in
+         try
+-          let i = client_info ac in
++          let _ = client_info ac in
+ 
+           Printf.bprintf buf "\\<tr onMouseOver=\\\"mOvr(this);\\\" onMouseOut=\\\"mOut(this);\\\" class=\\\"dl-%d\\\"\\>"
+             (html_mods_cntr());
+@@ -1458,7 +1448,7 @@
+             with _ -> *)
+             []
+         in
+-        let file =
++        let _ =
+           query_download names size md4 None (Some file_diskname) None true
+         in
+         recover_md4s md4
+@@ -1612,7 +1602,7 @@
+                 let qfiles = c.client_file_queue in
+                 let (qfile, qchunks,_) =  List.hd qfiles in
+                 if (qfile == (as_file_impl file).impl_file_val) then begin
+-                    let i = (client_info (as_client c)) in
++                    let _ = (client_info (as_client c)) in
+ 
+                     Printf.bprintf buf " \\<tr onMouseOver=\\\"mOvr(this);\\\" onMouseOut=\\\"mOut(this);\\\"
+       class=\\\"%s\\\"\\> \\<td title=\\\"Add as friend\\\" class=\\\"srb ar\\\"
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyMain.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyMain.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyMain.ml	2005-11-05 17:23:40.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyMain.ml	2005-12-08 00:27:06.000000000 +0100
+@@ -227,7 +227,6 @@
+                 (Printexc2.to_string e) (file_disk_name file); 
+       ) files_by_md4;
+       
+-      let list = ref [] in
+ (* Normally, we should check that downloaded files are still there.  *)    
+       let list = ref [] in
+       List.iter (fun file ->
+@@ -285,7 +284,7 @@
+         | _ -> failwith "Bad socket address"
+       end;
+       
+-      let port = !!donkey_port in
++      let _ = !!donkey_port in
+       
+       reset_tags ();
+       
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyOneFile.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyOneFile.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyOneFile.ml	2005-11-12 12:20:21.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyOneFile.ml	2005-12-08 00:19:18.000000000 +0100
+@@ -327,7 +327,7 @@
+   | Some (file,up) ->
+       
+       try
+-        let b = Int64Swarmer.current_block up in
++        let _ = Int64Swarmer.current_block up in
+         let ranges = Int64Swarmer.current_ranges up in
+         let before_find_range = List.length ranges in
+ 
+@@ -366,7 +366,7 @@
+           try
+             let swarmer = Int64Swarmer.uploader_swarmer up in       
+             (try Int64Swarmer.verify_one_chunk swarmer with _ -> ());
+-            let b = Int64Swarmer.find_block up in
++            let _ = Int64Swarmer.find_block up in
+             get_from_client c
+             
+           with Not_found ->
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyOvernet.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyOvernet.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyOvernet.ml	2005-11-09 17:41:57.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyOvernet.ml	2005-12-08 00:20:23.000000000 +0100
+@@ -787,7 +787,7 @@
+ 
+             if Fifo.length prebuckets.(bucket) = max_peers_per_prebucket then
+ 	    begin
+-              let l = last_time () - 1800 in
++              let _ = last_time () - 1800 in
+               let pp = Fifo.take prebuckets.(bucket) in
+               Fifo.put prebuckets.(bucket)
+ (* If the head of the bucket is not dead we should keep it *)
+@@ -997,7 +997,7 @@
+             let sender = new_peer { p with peer_port = other_port ; peer_ip = other_ip } in
+             new_peer_message sender
+         | p :: tail ->
+-            let p = new_peer p in
++            let _ = new_peer p in
+             iter tail
+       in
+       iter ps;
+@@ -1256,7 +1256,7 @@
+ 
+ let recover_file file =
+   if file_state file = FileDownloading then
+-    let search = create_search (FileSearch file) file.file_md4 in
++    let _ = create_search (FileSearch file) file.file_md4 in
+     ()
+ 
+ let check_current_downloads () =
+@@ -1448,13 +1448,13 @@
+ (* every 15min for light operations *)
+       add_session_timer enabler 900. (fun _ ->
+           if !!enable_overnet then begin
+-              let s = create_search FillBuckets !!overnet_md4 in
++              let _ = create_search FillBuckets !!overnet_md4 in
+               check_current_downloads ();
+             end
+       );
+ 
+       begin
+-        let s = create_search FillBuckets !!overnet_md4 in
++        let _ = create_search FillBuckets !!overnet_md4 in
+         check_current_downloads ();
+       end;
+       
+@@ -1571,7 +1571,7 @@
+     ), ("<ip> <port> :\t\t\tadd an " ^ command_prefix_to_net ^ " peer");
+ 
+     "link", Arg_multiple (fun args o ->
+-        let buf = o.conn_buf in
++        let _ = o.conn_buf in
+         let url = String2.unsplit args ' ' in
+         if parse_overnet_url url then
+           "download started"
+@@ -1598,7 +1598,7 @@
+     ), (":\t\t\t\t" ^ command_prefix_to_net ^ " Stats commands");
+ 
+     "stats", Arg_none (fun o ->
+-        let buf = o.conn_buf and sum = ref 0 in
++        let buf = o.conn_buf in
+         if o.conn_output = HTML then
+           begin
+             Printf.bprintf buf "\\<div class=results\\>";
+@@ -1689,7 +1689,6 @@
+     ), "<urls> :\t\t\t\tdownload .ocl URLS (no arg load default)";
+ 
+     "load", Arg_one (fun filename o ->
+-        let buf = o.conn_buf in
+         try
+           let n = load_contact_dat filename in
+           Printf.sprintf "%d overnet peers loaded" n;
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyPandora.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyPandora.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyPandora.ml	2005-10-06 12:21:09.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyPandora.ml	2005-12-08 00:15:43.000000000 +0100
+@@ -201,7 +201,7 @@
+       
+       
+       let b = Buffer.create 100 in
+-      let magic = DonkeyProtoClient.write emule b t in
++      let _ = DonkeyProtoClient.write emule b t in
+       let ss = Buffer.contents b in
+       if ss <> s then begin
+           if opcode = 212 then begin
+@@ -338,4 +338,4 @@
+               
+               
+               
+-              
+\ Pas de fin de ligne  la fin du fichier.
++              
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyProtoClient.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyProtoClient.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyProtoClient.ml	2005-11-12 12:20:22.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyProtoClient.ml	2005-12-08 00:15:01.000000000 +0100
+@@ -654,7 +654,6 @@
+       let len = get_int16 s 1 in
+       let md4 = get_md4 s 3 in
+       let list = ref [] in
+-      let pos = 19 in
+       for i = 0 to len - 1 do
+         list := (get_ip s (19 + 10 * i), get_port s (23 + 10 * i),
+           get_ip  s (25 + 10 * i)) :: !list;
+@@ -1142,7 +1141,6 @@
+ 
+ (*        Printf.printf "MULTI EMULE VERSION %d"
+           (extendedrequest emule); print_newline (); *)
+-        let pos = 17 in
+         let rec iter pos =
+           if pos < len then
+             let opcode = get_uint8 s pos in
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyProtoKademlia.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyProtoKademlia.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyProtoKademlia.ml	2005-10-31 19:07:11.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyProtoKademlia.ml	2005-12-08 00:20:42.000000000 +0100
+@@ -226,7 +226,7 @@
+       let ip = get_ip s (pos+16) in
+       let udp_port = get_int16 s (pos + 20) in
+       let tcp_port = get_int16 s (pos + 22) in
+-      let kind = get_uint8 s (pos + 24) in
++      let _ = get_uint8 s (pos + 24) in
+       {
+         peer_md4 = md4;
+         peer_ip = ip;
+@@ -283,7 +283,7 @@
+           OvernetConnect p
+ 
+       | 0x08 ->
+-          let n = get_int16 s 0 in
++          let _ = get_int16 s 0 in
+           let peers, pos = get_list16 get_peer s 0 in
+           OvernetConnectReply peers
+ 
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyProtoOvernet.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyProtoOvernet.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyProtoOvernet.ml	2005-10-31 19:07:11.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyProtoOvernet.ml	2005-12-08 00:23:45.000000000 +0100
+@@ -51,7 +51,7 @@
+       let md4 = get_md4 s pos in
+       let ip = get_ip s (pos+16) in
+       let port = get_int16 s (pos+20) in
+-      let kind = get_uint8 s (pos+22) in
++      let _ = get_uint8 s (pos+22) in
+       {
+         peer_md4 = md4;
+         peer_ip = ip;
+@@ -184,7 +184,6 @@
+       let peer_ip = ref ip in
+       let peer_udpport = ref port in
+       let peer_tcpport = ref 0 in
+-      let peer_kind = ref 0 in
+       List.iter (fun tag ->
+           match tag.tag_name with
+             Field_UNKNOWN "loc" ->
+@@ -238,7 +237,7 @@
+             let md4 = get_md4 s 0 in
+             let ip = get_ip s 16 in
+             let port = get_int16 s 20 in
+-            let kind = get_uint8 s 22 in
++            let _ = get_uint8 s 22 in
+             OvernetConnect {
+               peer_md4 = md4;
+               peer_ip = ip;
+@@ -256,7 +255,7 @@
+             let md4 = get_md4 s 0 in
+             let ip = get_ip s 16 in
+             let port = get_int16 s 20 in
+-            let kind = get_uint8 s 22 in
++            let _ = get_uint8 s 22 in
+             OvernetPublicize {
+               peer_md4 = md4;
+               peer_ip = ip;
+@@ -431,7 +430,6 @@
+             lprintf_nl () "Sending UDP to %s:%d (opcode 0x%02X len %d) type %s"
+               (Ip.to_string ip) port (get_uint8 s 1) (String.length s) (message_to_string msg);
+           end;
+-        let len = String.length s in
+         UdpSocket.write sock ping s ip port
+       with e ->
+           lprintf_nl () "Exception %s in udp_send" (Printexc2.to_string e)
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeyShare.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyShare.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeyShare.ml	2005-10-16 22:42:54.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeyShare.ml	2005-12-08 00:19:03.000000000 +0100
+@@ -170,7 +170,6 @@
+   if !new_shared then
+     begin
+       new_shared := false;
+-      let socks = ref [] in
+       if !new_shared_files <> [] then
+         begin
+           List.iter (fun s ->
+diff -Nurd mldonkey-2.7.0/src/networks/donkey/donkeySupernode.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeySupernode.ml
+--- mldonkey-2.7.0/src/networks/donkey/donkeySupernode.ml	2005-10-06 16:03:05.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/donkey/donkeySupernode.ml	2005-12-08 00:18:56.000000000 +0100
+@@ -105,7 +105,6 @@
+       begin
+         try
+     node.node_files <- t;
+-          let list = ref [] in
+           List.iter (fun f ->
+               match result_of_file f.f_md4 f.f_tags with
+                 None -> ()
+@@ -130,7 +129,7 @@
+       ()
+ 
+ let supernode_browse_client node =
+-  let token =
++  let _ =
+     add_pending_connection connection_manager (fun token ->
+         try
+           let sock = TcpBufferedSocket.connect token "supernode browse client"
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaClients.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaClients.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaClients.ml	2005-10-16 22:42:54.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaClients.ml	2005-12-07 00:23:02.000000000 +0100
+@@ -276,7 +276,7 @@
+ (*
+   lprintf "CHUNK: %s\n" 
+           (String.escaped (String.sub b.buf b.pos to_read_int)); *)
+-  let old_downloaded = 
++  let _ = 
+     Int64Swarmer.downloaded swarmer in
+   
+   begin
+@@ -290,7 +290,7 @@
+   end;
+   c.client_reconnect <- true;
+   
+-  let new_downloaded = 
++  let _ = 
+     Int64Swarmer.downloaded swarmer in
+   
+ (*
+@@ -326,7 +326,6 @@
+ (* The reply should be  "HTTP/1.1 200 OK" *)
+     let space_pos = String.index first_line ' ' in
+     let slash_pos = String.index first_line '/' in
+-    let proto = String.sub first_line (slash_pos+1) (space_pos - slash_pos) in
+     let code = String.sub first_line (space_pos+1) 3 in
+     let code = int_of_string code in
+     
+@@ -766,7 +765,6 @@
+         lprintf "PARSING GIV HEADER\n"; 
+       end;
+     let colon_pos = String.index first_line ':' in
+-    let slash_pos = String.index first_line '/' in
+     let uid = Md4.of_string (String.sub first_line (colon_pos+1) 32) in
+     let index = int_of_string (String.sub first_line 4 (colon_pos-4)) in
+     if !verbose_msg_clients then begin
+@@ -1111,7 +1109,7 @@
+ (*************************************************************************)
+       
+ let push_connection guid index ip port =
+-  let token =
++  let _ =
+     add_pending_connection connection_manager (fun token ->
+         let sh =Hashtbl.find shareds_by_id index in
+         let sock = connect token "gnutella download" 
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaComplexOptions.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaComplexOptions.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaComplexOptions.ml	2005-11-05 17:23:41.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaComplexOptions.ml	2005-12-07 00:21:59.000000000 +0100
+@@ -52,9 +52,6 @@
+       | Module assocs ->
+           
+           let get_value name conv = conv (List.assoc name assocs) in
+-          let get_value_nil name conv = 
+-            try conv (List.assoc name assocs) with _ -> []
+-          in
+           let client_ip = get_value "client_ip" (from_value Ip.option)
+           in
+           let client_port = get_value "client_port" value_to_int in
+@@ -106,10 +103,6 @@
+ 
+ let value_to_file file_size file_state assocs =
+   let get_value name conv = conv (List.assoc name assocs) in
+-  let get_value_nil name conv = 
+-    try conv (List.assoc name assocs) with _ -> []
+-  in
+-  
+   let file_name = get_value "file_name" value_to_string in
+   let file_temp = 
+     try
+@@ -268,9 +261,6 @@
+       in
+       ultrapeers =:= List2.tail_map fst ultrapeers_list;
+       
+-      let peers_list = List.sort (fun (_, a1) (_, a2) -> 
+-            
+-            compare a2 a1) !peers_list in
+       let peers_list, _ = List2.cut !!max_known_peers ultrapeers_list
+       in
+       peers =:= List2.tail_map fst peers_list;
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaGlobals.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaGlobals.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaGlobals.ml	2005-09-03 01:48:54.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaGlobals.ml	2005-12-07 00:21:06.000000000 +0100
+@@ -260,7 +260,7 @@
+             Hashtbl.add results_by_uid (Uid.to_uid uid) rs;
+             rs
+       in
+-      let r = IndexedResults.get_result rs in
++      let _ = IndexedResults.get_result rs in
+ (*
+       let rec iter_uid uid =
+         if not (List.mem uid r.result_uids) then begin
+@@ -292,7 +292,7 @@
+   let file_temp = Filename.concat !!temp_directory file_temporary in
+   let t = Unix32.create_rw file_temp in
+   let keywords = CommonUploads.words_of_filename file_name in
+-  let words = String2.unsplit keywords ' ' in
++  let _ = String2.unsplit keywords ' ' in
+   let rec file = {
+       file_file = file_impl;
+       file_temp = file_temporary;
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaInteractive.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaInteractive.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaInteractive.ml	2005-11-12 23:53:52.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaInteractive.ml	2005-12-07 00:23:25.000000000 +0100
+@@ -378,7 +378,7 @@
+       | "gnut://" :: "server" :: ip :: port :: _ ->  
+           let ip = Ip.addr_of_string ip in
+           let port = int_of_string port in
+-          let s = new_server ip port in
++          let _ = new_server ip port in
+           true
+       | "gnut://" :: "friend" :: uid :: ip :: port :: _ ->  
+           let ip = Ip.of_string ip in
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaMain.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaMain.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaMain.ml	2005-08-09 12:52:02.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaMain.ml	2005-12-07 00:23:33.000000000 +0100
+@@ -73,7 +73,6 @@
+           try
+ (*            lprintf "Gnutella: udp one packet...\n"; *)
+             let pbuf = p.UdpSocket.udp_content in
+-            let len = String.length pbuf in
+             let (ip,port) = match p.UdpSocket.udp_addr with
+               | Unix.ADDR_INET(ip, port) -> Ip.of_inet_addr ip, port
+               | _ -> raise Not_found
+@@ -81,7 +80,6 @@
+ (*            lprintf "Gnutella: calling udp_client_handler %s:%d\n"
+               (Ip.to_string ip) port; *)
+             let buf = p.UdpSocket.udp_content in
+-            let len = String.length buf in
+             GnutellaHandler.udp_client_handler ip port buf 
+           with e ->
+               lprintf "Error %s in udp_handler\n"
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaProto.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaProto.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaProto.ml	2005-10-06 12:21:10.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaProto.ml	2005-12-07 00:22:15.000000000 +0100
+@@ -375,7 +375,7 @@
+       let files, pos  = iter_files nfiles s 11 [] in
+       
+       let vendor = String.sub s pos 4 in
+-      let vendor_len = get_uint8 s (pos+4) in
++      let _ = get_uint8 s (pos+4) in
+       let byte5 = get_uint8 s (pos+5) in
+       let byte6 = get_uint8 s (pos+6) in
+       
+@@ -618,7 +618,6 @@
+   | Some sock ->
+       try
+         let s = server_msg_to_string msg in
+-        let len = String.length s in
+         if !verbose_msg_servers then begin
+             lprintf "Sending on UDP to %s:%d:\n%s\n"
+               (Ip.to_string ip) port
+diff -Nurd mldonkey-2.7.0/src/networks/gnutella/gnutellaRedirector.ml mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaRedirector.ml
+--- mldonkey-2.7.0/src/networks/gnutella/gnutellaRedirector.ml	2005-09-01 02:04:12.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/networks/gnutella/gnutellaRedirector.ml	2005-12-07 00:23:18.000000000 +0100
+@@ -82,7 +82,7 @@
+         let ip, port = String2.cut_at line ':' in
+         if !verbose then
+           lprintf "gnutella1: adding ultrapeer from hostfile\n";
+-        let h = H.new_host (Ip.addr_of_string ip) (int_of_string port) Ultrapeer  in
++        let _ = H.new_host (Ip.addr_of_string ip) (int_of_string port) Ultrapeer  in
+         ()
+       with _ -> ()
+   ) lines
+diff -Nurd mldonkey-2.7.0/src/utils/cdk/file.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/file.ml
+--- mldonkey-2.7.0/src/utils/cdk/file.ml	2005-08-21 17:41:14.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/file.ml	2005-12-06 23:57:07.000000000 +0100
+@@ -22,7 +22,6 @@
+   let chan = open_in_bin name in
+   let buf_size = 1024 in
+   let buf = String.create buf_size in
+-  let cont = ref true in
+   let rec iter buf nb_read =
+     let buf_size = String.length buf in
+     let to_read = min (buf_size - nb_read) 8192 in
+diff -Nurd mldonkey-2.7.0/src/utils/cdk/printf2.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/printf2.ml
+--- mldonkey-2.7.0/src/utils/cdk/printf2.ml	2005-11-07 21:11:43.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/printf2.ml	2005-12-06 23:56:13.000000000 +0100
+@@ -207,9 +207,9 @@
+   (fmt : ('a,unit, unit) format )
+ 
+ let lprint_newline () = lprintf "\n"
+-let lprint_char c = lprintf "%c" c
+-let lprint_int c = lprintf "%d" c
+-let lprint_string c = lprintf "%s" c
++let lprint_char = lprintf "%c" 
++let lprint_int = lprintf "%d" 
++let lprint_string = lprintf "%s" 
+ 
+ let set_lprintf_handler f =
+   lprintf_handler := f
+diff -Nurd mldonkey-2.7.0/src/utils/cdk/unix2.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/unix2.ml
+--- mldonkey-2.7.0/src/utils/cdk/unix2.ml	2005-10-17 17:25:46.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/unix2.ml	2005-12-07 00:00:02.000000000 +0100
+@@ -65,7 +65,7 @@
+   else 
+   if is_link dir then
+     begin try
+-      let dir = opendir dir in () 
++      let _ = opendir dir in () 
+       with
+         Unix.Unix_error (EACCES, _, _) -> lprintf_nl "access denied for directory %s" dir; exit 73
+       | Unix.Unix_error (ENOENT, _, _) -> lprintf_nl "directory %s not found, orphaned link?" dir; exit 73
+@@ -111,7 +111,7 @@
+ let rename oldname newname =
+   if oldname <> newname then
+   try Unix.rename oldname newname with
+-    Unix_error(EXDEV,_,_) as e ->
++    Unix_error(EXDEV,_,_) ->
+ (* renaming is not enough, we must COPY *)
+       lprintf_nl "COPY %s TO %s" oldname newname; 
+       let copied = ref false in
+diff -Nurd mldonkey-2.7.0/src/utils/cdk/zip.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/zip.ml
+--- mldonkey-2.7.0/src/utils/cdk/zip.ml	2005-10-16 22:42:54.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/cdk/zip.ml	2005-12-06 23:46:21.000000000 +0100
+@@ -143,9 +143,9 @@
+   let magic = read4 ic in
+   let disk_no = read2 ic in
+   let cd_disk_no = read2 ic in
+-  let disk_entries = read2 ic in
++  let _ = read2 ic in
+   let cd_entries = read2 ic in
+-  let cd_size = read4_int ic in
++  let _ = read4_int ic in
+   let cd_offset = read4_int ic in
+   let comment_len = read2 ic in
+   let comment = readstring ic comment_len in
+@@ -162,8 +162,8 @@
+     let e = ref [] in
+     for num_entry = 1 to cd_entries do
+       let magic = read4 ic in
+-      let version_made_by = read2 ic in
+-      let version_needed = read2 ic in
++      let _ = read2 ic in
++      let _ = read2 ic in
+       let flags = read2 ic in
+       let methd = read2 ic in
+       let lastmod_time = read2 ic in
+@@ -174,9 +174,9 @@
+       let name_len = read2 ic in
+       let extra_len = read2 ic in
+       let comment_len = read2 ic in
+-      let disk_number = read2 ic in
+-      let internal_attr = read2 ic in
+-      let external_attr = read4 ic in
++      let _ = read2 ic in
++      let _ = read2 ic in
++      let _ = read4 ic in
+       let header_offset = read4_int ic in
+       let name = readstring ic name_len in
+       let extra = readstring ic extra_len in
+@@ -238,14 +238,14 @@
+     let ic = ifile.if_channel in
+     seek_in ic e.file_offset;
+     let magic = read4 ic in
+-    let version_needed = read2 ic in
+-    let flags = read2 ic in
+-    let methd = read2 ic in
+-    let lastmod_time = read2 ic in
+-    let lastmod_date = read2 ic in
+-    let crc = read4 ic in
+-    let compr_size = read4_int ic in
+-    let uncompr_size = read4_int ic in
++    let _ = read2 ic in
++    let _ = read2 ic in
++    let _ = read2 ic in
++    let _ = read2 ic in
++    let _ = read2 ic in
++    let _ = read4 ic in
++    let _ = read4_int ic in
++    let _ = read4_int ic in
+     let filename_len = read2 ic in
+     let extra_len = read2 ic in
+     if magic <> 0x04034b50l then
+diff -Nurd mldonkey-2.7.0/src/utils/lib/avifile.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/avifile.ml
+--- mldonkey-2.7.0/src/utils/lib/avifile.ml	2005-10-16 22:42:55.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/avifile.ml	2005-12-08 00:39:48.000000000 +0100
+@@ -155,16 +155,16 @@
+               ignore (input_string4 ic);
+ 
+               
+-              let dwMicroSecPerFrame = input_int32 ic in
+-              let dwMaxBytesPerSec = input_int32 ic in
+-              let dwPaddingGranularity = input_int32 ic in
+-              let dwFlags = input_int32 ic in
+-              let dwTotalFrames = input_int32 ic in
+-              let dwInitialFrames = input_int32 ic in
+-              let dwStreams = input_int32 ic in
+-              let dwSuggestedBufferSize = input_int32 ic in              
+-              let dwWidth = input_int32 ic in
+-              let dwHeight = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in              
++              let _ = input_int32 ic in
++              let _ = input_int32 ic in
+               
+               (*
+               print_int32 "dwMicroSecPerFrame" dwMicroSecPerFrame ;
+@@ -179,7 +179,7 @@
+               print_int32 "dwHeight" dwHeight;
+ *)
+               seek_in ic ((Int64.to_int pos) + main_header_len + 20);
+-              let s = input_string4 ic in
++              let _ = input_string4 ic in
+ (*              print_string4 "LIST:" s; *)
+ 
+               let pos_in = pos ++ (Int64.of_int (main_header_len + 24)) in
+diff -Nurd mldonkey-2.7.0/src/utils/lib/indexer1.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/indexer1.ml
+--- mldonkey-2.7.0/src/utils/lib/indexer1.ml	2005-07-07 02:25:46.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/indexer1.ml	2005-12-08 00:38:33.000000000 +0100
+@@ -148,7 +148,6 @@
+         | _ -> (doc, field) :: w.word_docs)
+     
+     let add idx s doc field =
+-      let next_suffix = !nsuffixes in
+       let suffix, filtered = add_suffix idx s in
+ (*  if filtered then begin
+       lprintf "SUFFIX %s IS FILTERED..." s; 
+diff -Nurd mldonkey-2.7.0/src/utils/lib/intmap.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/intmap.ml
+--- mldonkey-2.7.0/src/utils/lib/intmap.ml	2004-04-16 19:14:56.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/intmap.ml	2005-12-07 00:01:33.000000000 +0100
+@@ -60,7 +60,7 @@
+ let rec add x data = function
+     Empty ->
+       Node(Empty, x, data, Empty, 1)
+-  | Node(l, v, d, r, h) as t ->
++  | Node(l, v, d, r, h) ->
+       if x = v then
+         Node(l, x, data, r, h)
+       else if x < v then
+@@ -91,7 +91,7 @@
+ let rec remove x = function
+     Empty ->
+       Empty
+-  | Node(l, v, d, r, h) as t ->
++  | Node(l, v, d, r, h) ->
+       if x = v then
+         merge l r
+       else if x < v then
+@@ -151,4 +151,4 @@
+   let list = ref [] in
+   iter (fun _ v -> list := v :: !list) map;
+   !list
+-  
+\ Pas de fin de ligne  la fin du fichier.
++  
+diff -Nurd mldonkey-2.7.0/src/utils/lib/misc.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/misc.ml
+--- mldonkey-2.7.0/src/utils/lib/misc.ml	2005-07-23 16:19:48.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/misc.ml	2005-12-07 00:18:00.000000000 +0100
+@@ -118,4 +118,4 @@
+     "zip" -> zip_extract filename; ""
+   | "bz2" -> Misc2.bz2_extract filename
+   | "gz" -> gz_extract filename
+-  | _ -> failwith "wrong archive type %s" archive_type
++  | _ -> failwith (Printf.sprintf "wrong archive type %s" archive_type)
+diff -Nurd mldonkey-2.7.0/src/utils/lib/numset.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/numset.ml
+--- mldonkey-2.7.0/src/utils/lib/numset.ml	2003-04-23 00:33:40.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/numset.ml	2005-12-08 00:38:23.000000000 +0100
+@@ -44,7 +44,7 @@
+       t.nfree <- new_len - len;
+     end;
+   let pos = t.nfree - 1 in
+-  let free_pos = t.free.(pos) in
++  let _ = t.free.(pos) in
+   t.array.(pos) <- Some v;
+   t.nfree <- pos;
+   pos
+@@ -59,4 +59,4 @@
+   t.nfree <- pos + 1;
+   t.free.(pos) <- i
+   
+-  
+\ Pas de fin de ligne  la fin du fichier.
++  
+diff -Nurd mldonkey-2.7.0/src/utils/lib/stringMap.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/stringMap.ml
+--- mldonkey-2.7.0/src/utils/lib/stringMap.ml	2003-04-23 00:33:40.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/stringMap.ml	2005-12-08 00:38:03.000000000 +0100
+@@ -60,7 +60,7 @@
+ let rec add x data = function
+     Empty ->
+       Node(Empty, x, data, Empty, 1)
+-  | Node(l, v, d, r, h) as t ->
++  | Node(l, v, d, r, h) ->
+       if x = v then
+         Node(l, x, data, r, h)
+       else if x < v then
+@@ -91,7 +91,7 @@
+ let rec remove x = function
+     Empty ->
+       Empty
+-  | Node(l, v, d, r, h) as t ->
++  | Node(l, v, d, r, h) ->
+       if x = v then
+         merge l r
+       else if x < v then
+@@ -126,4 +126,4 @@
+ 
+ let length map = 
+   length_aux 0 map
+-  
+\ Pas de fin de ligne  la fin du fichier.
++  
+diff -Nurd mldonkey-2.7.0/src/utils/lib/unix32.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/unix32.ml
+--- mldonkey-2.7.0/src/utils/lib/unix32.ml	2005-10-23 18:05:41.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/unix32.ml	2005-12-07 00:19:15.000000000 +0100
+@@ -183,13 +183,13 @@
+         although we are reading here, but I had problems with
+         it like exceptions in really_write
+       *)
+-      let final_pos = Unix2.c_seek64 fd file_pos Unix.SEEK_SET in
++      let _ = Unix2.c_seek64 fd file_pos Unix.SEEK_SET in
+       if verbose then lprintf "really_read %d\n" len;
+       Unix2.really_read fd string string_pos len
+ 
+     let write file file_pos string string_pos len =
+       let fd = local_force_fd file true in
+-      let final_pos = Unix2.c_seek64 fd file_pos Unix.SEEK_SET in
++      let _ = Unix2.c_seek64 fd file_pos Unix.SEEK_SET in
+       if verbose then lprintf "really_write %d\n" len;
+       begin
+         try
+@@ -747,7 +747,6 @@
+       
+       let chunk_begin = zero in
+       let chunk_len = t.size in
+-      let index = 0 in
+       let nchunks = Array.length t.chunks in
+       
+       let file_out = FDCache.create f in
+@@ -1436,7 +1435,7 @@
+ when these two files have already been partially downloaded ? This 
+   problem has to be solved at a upper level. *)
+     let shared_part t1 t2 shared_begin shared_len = 
+-      let shared_end = shared_begin ++ shared_len in
++      let _ = shared_begin ++ shared_len in
+       ()
+       
+   end
+diff -Nurd mldonkey-2.7.0/src/utils/net/basicSocket.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/net/basicSocket.ml
+--- mldonkey-2.7.0/src/utils/net/basicSocket.ml	2005-10-28 10:21:49.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/net/basicSocket.ml	2005-12-07 00:02:59.000000000 +0100
+@@ -286,7 +286,7 @@
+ 
+ let create_blocking name fd handler =
+ 
+-  let (fdnum : int) = get_fd_num fd in
++  let (_ : int) = get_fd_num fd in
+ (*
+   if fdnum >= Unix32.fds_size then begin
+       Unix.close fd;
+@@ -517,7 +517,7 @@
+   while true do
+     try
+       if !loop_delay > 0. then (try select [] !loop_delay;  with _ -> ());
+-      let time = update_time () in
++      let _ = update_time () in
+       exec_tasks !fd_tasks;
+       exec_hooks !after_select_hooks;
+       exec_timers !timers;
+diff -Nurd mldonkey-2.7.0/src/utils/net/cobs.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/net/cobs.ml
+--- mldonkey-2.7.0/src/utils/net/cobs.ml	2004-01-30 07:11:07.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/net/cobs.ml	2005-12-07 00:07:23.000000000 +0100
+@@ -146,10 +146,8 @@
+   if pos = len then list
+   else
+   let flags = int_of_char s.[pos] in
+-  let last = (flags land (1 lsl 7)) <> 0 in
+   let cobs_encoded = (flags land (1 lsl 6)) <> 0 in
+ (*  lprintf "cobs_encoded %b\n" cobs_encoded; *)
+-  let compressed = (flags land (1 lsl 5)) <> 0 in
+ (*  lprintf "compressed %b\n" compressed; *)
+   let id_len = flags land 7 in
+   let id = String.sub s (pos+1) id_len in
+@@ -384,4 +382,4 @@
+       | GGEP_DU_uptime up ->
+           lprintf "   Uptime %d seconds\n" up
+   ) list
+-  
+\ Pas de fin de ligne  la fin du fichier.
++  
+diff -Nurd mldonkey-2.7.0/src/utils/net/ip.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/net/ip.ml
+--- mldonkey-2.7.0/src/utils/net/ip.ml	2005-10-16 22:42:55.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/net/ip.ml	2005-12-07 00:03:56.000000000 +0100
+@@ -49,7 +49,7 @@
+   with _ ->
+       Printf.sprintf "%03d.%03d.%03d.%03d" a4 a3 a2 a1
+ 
+-let to_int64  ((a4, a3, a2, a1) as t) =
++let to_int64  (a4, a3, a2, a1) =
+   let small = a1 lor (a2 lsl 8) lor (a3 lsl 16) in
+   (Int64.of_int small) ++ (Int64.shift_left (Int64.of_int a4) 24)
+ 
+@@ -101,14 +101,14 @@
+ let rec matches ((a4,a3,a2,a1) as a) ips =
+   match ips with
+     [] -> false
+-  | ((b4,b3,b2,b1) as b) :: tail ->
++  | (b4,b3,b2,b1) :: tail ->
+       ( (a4 = b4 || b4 = 255) &&
+         (a3 = b3 || b3 = 255) &&
+         (a2 = b2 || b2 = 255) &&
+         (a1 = b1 || b1 = 255))
+       || (matches a tail)
+ 
+-let compare ((a4,a3,a2,a1) as a) ((b4,b3,b2,b1) as b) =
++let compare (a4,a3,a2,a1) (b4,b3,b2,b1) =
+   let c4 = compare a4 b4 in
+   if c4 <> 0 then c4 else
+   let c3 = compare a3 b3 in
+diff -Nurd mldonkey-2.7.0/src/utils/net/ip_set.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/net/ip_set.ml
+--- mldonkey-2.7.0/src/utils/net/ip_set.ml	2005-10-10 18:22:25.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/net/ip_set.ml	2005-12-07 00:06:22.000000000 +0100
+@@ -249,7 +249,7 @@
+ 	       let file = Zip.find_entry ic "guarding.p2p" in
+ 	         Zip.close_in ic;
+ 		 lprintf_nl () "guarding.p2p found in zip file";
+-		 let s = Misc.archive_extract filename "zip" in
++		 let _ = Misc.archive_extract filename "zip" in
+ 		 load_merge bl_empty file.Zip.filename true
+ 	       with e ->
+ 		 begin
+@@ -257,7 +257,7 @@
+ 		     let file = Zip.find_entry ic "guarding_full.p2p" in
+ 		       Zip.close_in ic;
+ 		       lprintf_nl () "guarding_full.p2p found in zip file";
+-		       let s = Misc.archive_extract filename "zip" in
++		       let _ = Misc.archive_extract filename "zip" in
+ 		       load_merge bl_empty file.Zip.filename true
+ 		     with e ->
+ 		       Zip.close_in ic;
+diff -Nurd mldonkey-2.7.0/src/utils/net/tcpBufferedSocket.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/net/tcpBufferedSocket.ml
+--- mldonkey-2.7.0/src/utils/net/tcpBufferedSocket.ml	2005-10-16 22:42:55.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/net/tcpBufferedSocket.ml	2005-12-07 00:04:59.000000000 +0100
+@@ -179,7 +179,6 @@
+ 
+ let schedule_connections () =
+   let max_wanted = !max_opened_connections () in
+-  let current_connections = !opened_connections in
+   let max_connections_per_second = !max_connections_per_second () in
+ 
+   let rec iter todo_managers done_managers =
+@@ -622,8 +621,7 @@
+             t.event_handler t BUFFER_OVERFLOW;
+             lprintf "[OVERFLOW] in %s" (info sock);
+             close t Closed_for_overflow;
+-            raise exn_exit;
+-            0
++            raise exn_exit
+           )
+         else
+         if b.len + min_read_size < buf_len then
+@@ -1342,7 +1340,7 @@
+ (*Printf.bprintf buf "User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT; Hotbar 2.0)\n";*)
+         Printf.bprintf buf "User-Agent: MLdonkey/%s\n" Autoconf.current_version;
+         Printf.bprintf buf "\n";
+-        let nw = MlUnix.write s (Buffer.contents buf) 0 (Buffer.length buf) in
++        let _ = MlUnix.write s (Buffer.contents buf) 0 (Buffer.length buf) in
+         ()
+       end;
+     let t = create token name s handler in
+diff -Nurd mldonkey-2.7.0/src/utils/net/udpSocket.ml mldonkey-2.7.0.ocaml3.09.0/src/utils/net/udpSocket.ml
+--- mldonkey-2.7.0/src/utils/net/udpSocket.ml	2005-10-16 22:42:55.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/net/udpSocket.ml	2005-12-07 00:16:46.000000000 +0100
+@@ -216,10 +216,10 @@
+             try
+               let len = String.length s in
+ 
+-              let code = 
++              let () = 
+                 try
+                   if ping then declare_ping ip;
+-                  Unix.sendto (fd sock) s 0 len [] addr 
++                  ignore(Unix.sendto (fd sock) s 0 len [] addr)
+                 with e ->
+                     lprintf "Exception in sendto %s:%d\n" (Ip.to_string ip) port;
+                     raise e
+@@ -291,7 +291,7 @@
+   try
+     iter_write_no_bc t sock 
+   with
+-    Unix.Unix_error ((Unix.EWOULDBLOCK | Unix.ENOBUFS), _, _) as e -> 
++    Unix.Unix_error ((Unix.EWOULDBLOCK | Unix.ENOBUFS), _, _) -> 
+       must_write t.sock true
+ 
+ let rec iter_write t sock bc = 
+@@ -329,7 +329,7 @@
+   try
+     iter_write t sock bc    
+   with
+-    Unix.Unix_error ((Unix.EWOULDBLOCK | Unix.ENOBUFS), _, _) as e -> 
++    Unix.Unix_error ((Unix.EWOULDBLOCK | Unix.ENOBUFS), _, _) -> 
+       must_write sock true
+       
+ let udp_handler t sock event = 
+
--- mldonkey-2.7.3.orig/debian/patches/26_ocaml3.09.1_min.dpatch
+++ mldonkey-2.7.3/debian/patches/26_ocaml3.09.1_min.dpatch
@@ -0,0 +1,765 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 24_ocaml3.09.0_min.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -Nurd mldonkey-2.7.0/src/utils/lib/fst_hash.c mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/fst_hash.c
+--- mldonkey-2.7.0/src/utils/lib/fst_hash.c	2005-08-02 01:53:55.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/fst_hash.c	2005-12-06 23:41:33.000000000 +0100
+@@ -180,6 +180,8 @@
+ 
+ #include "caml/mlvalues.h"
+ 
++typedef unsigned short uint16;
++
+ /* returns checksum of fzhash */
+ uint16 fst_hash_checksum (unsigned char *hash)
+ {
+
+diff -Nurd mldonkey-2.7.0/config/Makefile.in mldonkey-2.7.0.ocaml3.09.0/config/Makefile.in
+--- mldonkey-2.7.0/config/Makefile.in	2005-11-12 12:20:19.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/config/Makefile.in	2005-12-08 00:42:00.000000000 +0100
+@@ -19,7 +19,7 @@
+ 
+ ##################################################################
+ 
+-DEVFLAGS= -warn-error Am 
++DEVFLAGS= #-warn-error Am 
+ # -dtypes
+ 
+ NO_LIBS_byte=
+diff -Nurd mldonkey-2.7.0/tools/zoggy/pa_zog.ml mldonkey-2.7.0.ocaml3.09.0/tools/zoggy/pa_zog.ml
+--- mldonkey-2.7.0/tools/zoggy/pa_zog.ml	2004-08-04 20:39:32.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/tools/zoggy/pa_zog.ml	2005-12-06 23:24:15.000000000 +0100
+@@ -46,21 +46,21 @@
+   
+ (* END CDK *)
+   
+-let parse_string loc =
++let parse_string _loc =
+   function
+     "false" -> 
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:expr< False >>
+   | "true" ->
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:expr< True >>
+@@ -76,42 +76,42 @@
+       with
+         e ->
+           Printf.eprintf "Error in \"%s\"\n" str; flush stderr;
+-          let (e, loc) =
++          let (e, _loc) =
+             match e with
+               Stdpp.Exc_located ((bp, ep), e) ->
+                 e, ({ Lexing.dummy_pos with
+-		      Lexing.pos_cnum = fst loc + bp.Lexing.pos_cnum}, 
++		      Lexing.pos_cnum = fst _loc + bp.Lexing.pos_cnum}, 
+ 		    { Lexing.dummy_pos with
+-		      Lexing.pos_cnum = fst loc + ep.Lexing.pos_cnum}
++		      Lexing.pos_cnum = fst _loc + ep.Lexing.pos_cnum}
+ 		   )
+             | e -> (e, ({ Lexing.dummy_pos with
+-			  Lexing.pos_cnum = fst loc} ,
++			  Lexing.pos_cnum = fst _loc} ,
+ 			{ Lexing.dummy_pos with
+-			  Lexing.pos_cnum = snd loc}
++			  Lexing.pos_cnum = snd _loc}
+ 		       )
+ 		   )
+           in
+-          Stdpp.raise_with_loc loc e
++          Stdpp.raise_with_loc _loc e
+ 
+ (** parsing a prop value *)
+ let parse_prop_value prop =
+-  let loc = fst prop.prop_value_loc + 1, snd prop.prop_value_loc - 1 in
+-  parse_string loc prop.prop_value
++  let _loc = fst prop.prop_value_loc + 1, snd prop.prop_value_loc - 1 in
++  parse_string _loc prop.prop_value
+ 
+-let ast_of_class_info loc cl =
+-  let (_, _, _, fonc) = Zog_types.get_class_info cl in parse_string loc fonc
++let ast_of_class_info _loc cl =
++  let (_, _, _, fonc) = Zog_types.get_class_info cl in parse_string _loc fonc
+ 
+ (** Return the value of a property kind in a list of properties. *)
+-let ast_of_prop_value loc props kind =
++let ast_of_prop_value _loc props kind =
+   try
+     let p = List.find (fun p -> p.prop_kind = kind) props in
+     parse_prop_value p
+   with
+     Not_found -> 
+-      	let loc = 
++      	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	<:expr< "" >>
+@@ -241,11 +241,11 @@
+   match List.find (fun (x, _, _, _) -> x = f) Zog_types.properties with
+       (_, n, _, _) -> n
+ 
+-let ast_of_creation_options_code loc ele f =
+-  let loc = 
++let ast_of_creation_options_code _loc ele f =
++  let _loc = 
+     (
+-     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+     )	
+   in
+ 
+@@ -281,15 +281,15 @@
+   in
+   List.fold_left g f ele.props
+ 
+-let ast_of_pack_options_code loc f ele =
++let ast_of_pack_options_code _loc f ele =
+   let g f prop =
+     match prop.prop_kind with
+       Expand | Fill | Padding ->
+         if must_gen prop then
+-	  let loc = 
++	  let _loc = 
+ 	    (
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	    )	
+ 	  in
+           let v = parse_prop_value prop in
+@@ -299,14 +299,14 @@
+   in
+   List.fold_left g f ele.props
+ 
+-let ast_of_pack_code (loc : int * int) parent ele f =
++let ast_of_pack_code (_loc : int * int) parent ele f =
+   try
+     let pack_met = Zog_types.pack_method_of_ele parent ele in
+     match pack_met with
+       No_pack -> f
+     | Insert_page ->
+         let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -314,11 +314,11 @@
+ 	  in
+ 	  <:expr< $lid:parent.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+         <:expr<
+@@ -327,12 +327,12 @@
+                $g$ # append_page
+                  ~tab_label:
+                     (GMisc.label
+-                        ~text:$ast_of_prop_value loc1 ele.props Tab_label$ ())
++                        ~text:$ast_of_prop_value _loc1 ele.props Tab_label$ ())
+                     #coerce w)
+         >>
+     | _ ->
+         let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -340,16 +340,16 @@
+ 	  in
+ 	  <:expr< $lid:parent.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+         let p x = <:expr< $f$ ~packing: $x$ >> in
+         match pack_met with
+-          Pack -> p (ast_of_pack_options_code loc1 <:expr< $g$ # pack >> ele)
++          Pack -> p (ast_of_pack_options_code _loc1 <:expr< $g$ # pack >> ele)
+         | Add -> p <:expr< $g$ # add >>
+         | Add1 -> p <:expr< $g$ # add1 >>
+         | Add2 -> p <:expr< $g$ # add2 >>
+@@ -358,16 +358,16 @@
+         | Insert_page | No_pack -> f
+   with
+     Failure s -> 
+-      	let loc = 
++      	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	prerr_endline s; 
+ 	<:expr< $f$ failed >>
+ 
+-let ast_of_custom_pack_code loc parent ele ce =
++let ast_of_custom_pack_code _loc parent ele ce =
+   try
+     let pack_met = Zog_types.pack_method_of_ele parent ele in
+     match pack_met with
+@@ -375,7 +375,7 @@
+     | Insert_page ->
+ 
+ 	let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -384,7 +384,7 @@
+ 	  <:expr< $lid:parent.name$>> 
+ 	in
+         let n = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -392,11 +392,11 @@
+ 	  in
+ 	  <:expr< $lid:ele.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 
+@@ -404,7 +404,7 @@
+         let _ = $g$ # append_page
+             ~tab_label:
+             (GMisc.label
+-               ~text:$ast_of_prop_value loc1 ele.props
++               ~text:$ast_of_prop_value _loc1 ele.props
+                Tab_label$ ())
+             #coerce $n$#coerce in
+         $ce$
+@@ -412,7 +412,7 @@
+     | _ ->
+ 
+         let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -420,16 +420,16 @@
+ 	  in
+ 	  <:expr< $lid:parent.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+         let r =
+           match pack_met with
+-            Pack -> ast_of_pack_options_code loc1 <:expr< $g$ # pack >> ele
++            Pack -> ast_of_pack_options_code _loc1 <:expr< $g$ # pack >> ele
+           | Add -> <:expr< $g$ # add >>
+           | Add1 -> <:expr< $g$ # add1 >>
+           | Add2 -> <:expr< $g$ # add2 >>
+@@ -438,7 +438,7 @@
+           | Insert_page | No_pack -> g
+         in
+         let n = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -449,10 +449,10 @@
+         <:class_expr< let _ = $r$ $n$ # coerce in $ce$ >>
+   with
+     Failure s -> 
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+       in
+       prerr_endline s; 
+@@ -471,10 +471,10 @@
+ (** Output the OCaml for the given menu_item (or check or radio)
+    and its optional submenu, to perform after creation initializations
+    like adding accelerators and fixing some properties. *)
+-let rec ast_of_post_menu_item_creation_code loc accel_name ele ce =
++let rec ast_of_post_menu_item_creation_code _loc accel_name ele ce =
+   let keysym_v = Zog_types.get_prop_value ele.props Accel_keysym in
+   let ce =
+-    List.fold_right (ast_of_post_menu_creation_code loc accel_name)
++    List.fold_right (ast_of_post_menu_creation_code _loc accel_name)
+       ele.children ce
+   in
+   match remove_blanks keysym_v with
+@@ -485,54 +485,54 @@
+           remove_blanks (Zog_types.get_prop_value ele.props Accel_modifier)
+         with
+           "" -> 
+-	    let loc = 
++	    let _loc = 
+ 	    (
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	    )	
+ 	    in
+ 	    <:expr< [] >>
+-        | s -> parse_string loc s
++        | s -> parse_string _loc s
+       in
+       let flags =
+         match
+           remove_blanks (Zog_types.get_prop_value ele.props Accel_flags)
+         with
+           "" ->
+-	    let loc = 
++	    let _loc = 
+ 	    (
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	    )	
+ 	    in
+ 	    <:expr< [] >>
+-        | s -> parse_string loc s
++        | s -> parse_string _loc s
+       in
+-      let loc1 = loc in
+-      let loc = 
++      let _loc1 = _loc in
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:class_expr<
+         let _ =
+           $lid:ele.name$ #add_accelerator ~group: $lid:accel_name$
+-             ~modi: $modifier$ ~flags: $flags$ $parse_string loc1 v$
++             ~modi: $modifier$ ~flags: $flags$ $parse_string _loc1 v$
+         in
+         $ce$ >>
+ 
+-and ast_of_post_menu_creation_code loc accel_name ele ce =
++and ast_of_post_menu_creation_code _loc accel_name ele ce =
+   match ele.classe with
+     Menu ->
+       let ce =
+-        List.fold_right (ast_of_post_menu_item_creation_code loc accel_name)
++        List.fold_right (ast_of_post_menu_item_creation_code _loc accel_name)
+           ele.children ce
+       in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:class_expr<
+@@ -540,12 +540,12 @@
+   | _ -> ce
+ 
+ (** Output the OCaml for the given element which must be a Menubar. *)
+-let ast_of_post_menubar_creation_code ?win loc ele ce =
++let ast_of_post_menubar_creation_code ?win _loc ele ce =
+   match ele.classe with
+     Menubar ->
+       let acc_name = accel_group_name ele in
+       let ce =
+-        List.fold_right (ast_of_post_menu_item_creation_code loc acc_name)
++        List.fold_right (ast_of_post_menu_item_creation_code _loc acc_name)
+           ele.children ce
+       in
+       let ce2 = 
+@@ -553,10 +553,10 @@
+ 	 match win with
+ 	   None -> ce
+ 	 | Some w -> 
+-	     let loc = 
++	     let _loc = 
+ 	       (
+-		{ Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-		{ Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++		{ Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++		{ Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	       )	
+ 	     in
+ 	     <:class_expr<
+@@ -564,10 +564,10 @@
+ 	     >>
+ 	)      
+       in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in      
+       <:class_expr<
+@@ -577,30 +577,30 @@
+ 
+   | _ -> ce
+ 
+-let rec ast_of_ele_creations ?win loc parent_opt previous_opt ele ce =
+-  let ce = ast_of_post_menubar_creation_code ?win loc ele ce in
++let rec ast_of_ele_creations ?win _loc parent_opt previous_opt ele ce =
++  let ce = ast_of_post_menubar_creation_code ?win _loc ele ce in
+   let ce =
+     let rec iter prev ce =
+       function
+         [] -> ce
+       | e :: q ->
+           let ce = iter (Some e) ce q in
+-          ast_of_ele_creations ?win loc (Some ele) prev e ce
++          ast_of_ele_creations ?win _loc (Some ele) prev e ce
+     in
+     iter None ce ele.children
+   in
+   let e =
+-    if ele.classe = Custom_box then ast_of_prop_value loc ele.props Function
++    if ele.classe = Custom_box then ast_of_prop_value _loc ele.props Function
+     else
+       let f = ast_of_class_info ele.name_loc ele.classe in
+-      let f = ast_of_creation_options_code loc ele f in
++      let f = ast_of_creation_options_code _loc ele f in
+       let f =
+         match ele.classe, previous_opt with
+           Radio_menu_item, Some e when e.classe = Radio_menu_item ->
+-	    let loc = 
++	    let _loc = 
+ 	      (
+-	       { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	       { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	       { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	       { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	      )	
+ 	    in
+             <:expr< $f$ ~group: $lid:e.name$ #group >>
+@@ -608,51 +608,51 @@
+       in
+       match parent_opt with
+         None -> f
+-      | Some parent -> ast_of_pack_code loc parent ele f
++      | Some parent -> ast_of_pack_code _loc parent ele f
+   in
+   let ce =
+     if ele.classe = Custom_box then
+       match parent_opt with
+         None -> ce
+-      | Some parent -> ast_of_custom_pack_code loc parent ele ce
++      | Some parent -> ast_of_custom_pack_code _loc parent ele ce
+     else ce
+     in
+ (* BEGIN CDK *)
+   gen_anonynous_name ele;
+   if ele.name = "_" then  
+-      	let loc = 
++      	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	<:class_expr< let _ = $e$ () in $ce$  >>
+     else
+     (* END CDK *)
+   let n = 
+-    let loc = 
++    let _loc = 
+       (
+        { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+        { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+ 	  )	
+     in <:patt< $lid:ele.name$ >> 
+   in
+-  let loc = 
++  let _loc = 
+     (
+-     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+     )	
+   in
+   <:class_expr< let $n$ = $e$ () in $ce$ >>
+ 
+-  let rec ast_of_ele_methods loc ele =
++  let rec ast_of_ele_methods _loc ele =
+     let cil =
+       if ele.classe = Menubar then
+ 	let accel_name = accel_group_name ele in
+-	let loc = 
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	[<:class_str_item< method $accel_name$ = $lid:accel_name$ >>]
+@@ -662,7 +662,7 @@
+     gen_anonynous_name ele;
+     let cil = if ele.name.[0] <> '_' then 
+       let n = 
+-	let loc = 
++	let _loc = 
+ 	  (
+ 	   { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+ 	   { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -670,25 +670,25 @@
+ 	in
+ 	<:expr< $lid:ele.name$ >> 
+       in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:class_str_item< method $ele.name$ = $n$ >> :: cil else cil in
+ (* END CDK *)  
+-    List.fold_left (fun cil ele -> cil @ ast_of_ele_methods loc ele) cil
++    List.fold_left (fun cil ele -> cil @ ast_of_ele_methods _loc ele) cil
+       ele.children
+   
+-let rec ast_of_ele_vals loc ele =
++let rec ast_of_ele_vals _loc ele =
+   let cil =
+     if ele.classe = Menubar then
+       let accel_name = accel_group_name ele in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       [<:class_str_item< value $accel_name$ = $lid:accel_name$ >>]
+@@ -697,7 +697,7 @@
+ (* BEGIN CDK *)
+   gen_anonynous_name ele;
+   let n = 
+-    let loc = 
++    let _loc = 
+       (
+        { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+        { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -706,50 +706,50 @@
+     <:expr< $lid:ele.name$ >> 
+   in
+   let cil = if ele.name.[0] <> '_' then 
+-    let loc = 
++    let _loc = 
+       (
+-       { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-       { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++       { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++       { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+       )	
+     in
+     <:class_str_item< value $ele.name$ = $n$ >> :: cil  
+    else cil 
+   in
+ (* END CDK *)  
+-  List.fold_left (fun cil ele -> cil @ ast_of_ele_vals loc ele) cil
++  List.fold_left (fun cil ele -> cil @ ast_of_ele_vals _loc ele) cil
+     ele.children
+ 
+-let ast_of_entity loc entity =
++let ast_of_entity _loc entity =
+   let ce =
+     let cil =
+       match entity.en_ele with
+         None -> []
+       | Some e ->
+-          let cil = ast_of_ele_vals loc e @ ast_of_ele_methods loc e in
++          let cil = ast_of_ele_vals _loc e @ ast_of_ele_methods _loc e in
+           match e.classe with
+             Window -> cil
+           | _ ->
+               let n = 
+-		let loc = 
++		let _loc = 
+ 		  (
+ 		   { Lexing.dummy_pos with Lexing.pos_cnum = fst e.name_loc } ,
+ 		   { Lexing.dummy_pos with Lexing.pos_cnum = snd e.name_loc }
+ 		  )	
+ 		in <:expr< $lid:e.name$ >> 
+ 	      in
+-	      let loc = 
++	      let _loc = 
+ 		(
+-		 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-		 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++		 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++		 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 		)	
+ 	      in
+               let ci = <:class_str_item< method coerce = $n$ # coerce >> in
+               cil @ [ci]
+     in
+-    let loc = 
++    let _loc = 
+       (
+-       { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-       { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++       { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++       { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+       )	
+     in
+     <:class_expr< object $None$ $list:cil$ end >>
+@@ -763,12 +763,12 @@
+ 	    Window -> Some ele.name
+ 	  | _ -> None
+ 	in
+-	ast_of_ele_creations ?win: win_opt loc None None ele ce
++	ast_of_ele_creations ?win: win_opt _loc None None ele ce
+   in
+-  let loc = 
++  let _loc = 
+     (
+-     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+   in
+   let ce =
+@@ -798,9 +798,9 @@
+ 	    try
+               let entity = {en_name = name; en_params = pl; en_ele = w} in
+ 	      (
+-	       let loc = ((fst loc).Lexing.pos_cnum, (snd loc).Lexing.pos_cnum) in
+-	       ast_of_entity loc entity
+-	      ), loc
++	       let _loc = ((fst _loc).Lexing.pos_cnum, (snd _loc).Lexing.pos_cnum) in
++	       ast_of_entity _loc entity
++	      ), _loc
+             with Field_error m ->
+               field_error m;
+ 	      exit 1
+@@ -809,9 +809,9 @@
+     widget:
+       [ [ "<"; tag = LIDENT; LIDENT "name"; "="; (name, nloc) = ident;
+           proplist = LIST0 property; ">"; children = LIST0 widget;
+-          (tag_end, loc_tend) = tag_end ->
++          (tag_end, _loc_tend) = tag_end ->
+             if tag <> tag_end then
+-              Stdpp.raise_with_loc loc_tend
++              Stdpp.raise_with_loc _loc_tend
+                 (Stream.Error ("</" ^ tag ^ "> expected"));
+             let proplist =
+               List.filter (fun (x, v, vloc) -> x <> "expanded" && x <> "in_interface") proplist
+@@ -824,7 +824,7 @@
+ 		     prop_value_loc = ((fst vloc).Lexing.pos_cnum, (snd vloc).Lexing.pos_cnum)})
+                 proplist
+             in
+-	    let nloc = ((fst loc).Lexing.pos_cnum, (snd loc).Lexing.pos_cnum) in
++	    let nloc = ((fst _loc).Lexing.pos_cnum, (snd _loc).Lexing.pos_cnum) in
+             { name = name; name_loc = nloc;
+               classe = Zog_misc.class_of_class_name tag; 
+ 	      props = proplist;
+@@ -833,16 +833,16 @@
+ 	    } ] ]
+     ;
+     tag_end:
+-      [ [ "</"; tag = LIDENT; ">" -> tag, loc ] ]
++      [ [ "</"; tag = LIDENT; ">" -> tag, _loc ] ]
+     ;
+     property:
+       [ [ x = LIDENT; "="; (v, vloc) = string -> x, v, vloc ] ]
+     ;
+     string:
+-      [ [ v = STRING -> v,  loc ] ]
++      [ [ v = STRING -> v,  _loc ] ]
+     ;
+     ident:
+-      [ [ v = LIDENT -> v, loc ] ]
++      [ [ v = LIDENT -> v, _loc ] ]
+     ;
+   END
+ 
--- mldonkey-2.7.3.orig/debian/patches/22_mld_hash.dpatch
+++ mldonkey-2.7.3/debian/patches/22_mld_hash.dpatch
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 22_mld_hash.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mldonkey-2.6.5~/tools/mld_hash.ml mldonkey-2.6.5/tools/mld_hash.ml
+--- mldonkey-2.6.5~/tools/mld_hash.ml	2005-09-13 11:54:48.000000000 +0200
++++ mldonkey-2.6.5/tools/mld_hash.ml	2005-10-18 01:50:22.000000000 +0200
+@@ -298,7 +298,7 @@
+       try
+         lprintf "Creating file %s\n" filename;
+         let file = f filename file_size in
+-        Unix32.ftruncate64 file file_size;
++        Unix32.ftruncate64 file file_size false;
+ 
+ (*
+             lprintf "Computing ed2k hash of zeroed file\n";
+@@ -436,4 +436,4 @@
+           sig2dat_hash_filename filename partial;
+           bitprint_filename filename partial
+   ) (_s " <filenames> : compute hashes of filenames");
+-  exit 0
+\ Pas de fin de ligne  la fin du fichier.
++  exit 0
--- mldonkey-2.7.3.orig/debian/patches/00list.sparc
+++ mldonkey-2.7.3/debian/patches/00list.sparc
@@ -0,0 +1 @@
+13_tiger_tree_corruption
--- mldonkey-2.7.3.orig/debian/patches/13_tiger_tree_corruption.dpatch
+++ mldonkey-2.7.3/debian/patches/13_tiger_tree_corruption.dpatch
@@ -0,0 +1,40 @@
+#! /bin/sh -e
+## 13_tiger_tree_corruption.dpatch by Sylvain LE GALL <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -lt 1 ]; then
+    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+    -patch) patch -p1 ${patch_opts} < $0;;
+    -unpatch) patch -R -p1 ${patch_opts} < $0;;
+    *)
+        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+        exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /mnt/nfs0/gildor/deb/ocaml-package/mldonkey/mldonkey-2.5.17/src/utils/lib/tiger.c mldonkey-2.5.17/src/utils/lib/tiger.c
+--- /mnt/nfs0/gildor/deb/ocaml-package/mldonkey/mldonkey-2.5.17/src/utils/lib/tiger.c	2004-02-16 15:02:17.000000000 +0100
++++ mldonkey-2.5.17/src/utils/lib/tiger.c	2004-04-08 22:17:18.000000000 +0200
+@@ -176,8 +176,9 @@
+ static void static_tiger(word64 *str, word64 length, word64 res[3])
+ {
+   register word64 i, j;
+-  word64 temp_[64 / 8];
+-  unsigned char *temp = (unsigned char *) temp_;
++  /*word64 temp_[64 / 8];
++  unsigned char *temp = (unsigned char *) temp_;*/
++  double temp[256];
+ 
+   res[0]=0x0123456789ABCDEFLL;
+   res[1]=0xFEDCBA9876543210LL;
--- mldonkey-2.7.3.orig/debian/patches/24_ocaml3.09.0_min.dpatch
+++ mldonkey-2.7.3/debian/patches/24_ocaml3.09.0_min.dpatch
@@ -0,0 +1,765 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 24_ocaml3.09.0_min.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -Nurd mldonkey-2.7.0/src/utils/lib/fst_hash.c mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/fst_hash.c
+--- mldonkey-2.7.0/src/utils/lib/fst_hash.c	2005-08-02 01:53:55.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/src/utils/lib/fst_hash.c	2005-12-06 23:41:33.000000000 +0100
+@@ -180,6 +180,8 @@
+ 
+ #include "caml/mlvalues.h"
+ 
++typedef unsigned short uint16;
++
+ /* returns checksum of fzhash */
+ uint16 fst_hash_checksum (unsigned char *hash)
+ {
+
+diff -Nurd mldonkey-2.7.0/config/Makefile.in mldonkey-2.7.0.ocaml3.09.0/config/Makefile.in
+--- mldonkey-2.7.0/config/Makefile.in	2005-11-12 12:20:19.000000000 +0100
++++ mldonkey-2.7.0.ocaml3.09.0/config/Makefile.in	2005-12-08 00:42:00.000000000 +0100
+@@ -19,7 +19,7 @@
+ 
+ ##################################################################
+ 
+-DEVFLAGS= -warn-error Am 
++DEVFLAGS= #-warn-error Am 
+ # -dtypes
+ 
+ NO_LIBS_byte=
+diff -Nurd mldonkey-2.7.0/tools/zoggy/pa_zog.ml mldonkey-2.7.0.ocaml3.09.0/tools/zoggy/pa_zog.ml
+--- mldonkey-2.7.0/tools/zoggy/pa_zog.ml	2004-08-04 20:39:32.000000000 +0200
++++ mldonkey-2.7.0.ocaml3.09.0/tools/zoggy/pa_zog.ml	2005-12-06 23:24:15.000000000 +0100
+@@ -46,21 +46,21 @@
+   
+ (* END CDK *)
+   
+-let parse_string loc =
++let parse_string _loc =
+   function
+     "false" -> 
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:expr< False >>
+   | "true" ->
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:expr< True >>
+@@ -76,42 +76,42 @@
+       with
+         e ->
+           Printf.eprintf "Error in \"%s\"\n" str; flush stderr;
+-          let (e, loc) =
++          let (e, _loc) =
+             match e with
+               Stdpp.Exc_located ((bp, ep), e) ->
+                 e, ({ Lexing.dummy_pos with
+-		      Lexing.pos_cnum = fst loc + bp.Lexing.pos_cnum}, 
++		      Lexing.pos_cnum = fst _loc + bp.Lexing.pos_cnum}, 
+ 		    { Lexing.dummy_pos with
+-		      Lexing.pos_cnum = fst loc + ep.Lexing.pos_cnum}
++		      Lexing.pos_cnum = fst _loc + ep.Lexing.pos_cnum}
+ 		   )
+             | e -> (e, ({ Lexing.dummy_pos with
+-			  Lexing.pos_cnum = fst loc} ,
++			  Lexing.pos_cnum = fst _loc} ,
+ 			{ Lexing.dummy_pos with
+-			  Lexing.pos_cnum = snd loc}
++			  Lexing.pos_cnum = snd _loc}
+ 		       )
+ 		   )
+           in
+-          Stdpp.raise_with_loc loc e
++          Stdpp.raise_with_loc _loc e
+ 
+ (** parsing a prop value *)
+ let parse_prop_value prop =
+-  let loc = fst prop.prop_value_loc + 1, snd prop.prop_value_loc - 1 in
+-  parse_string loc prop.prop_value
++  let _loc = fst prop.prop_value_loc + 1, snd prop.prop_value_loc - 1 in
++  parse_string _loc prop.prop_value
+ 
+-let ast_of_class_info loc cl =
+-  let (_, _, _, fonc) = Zog_types.get_class_info cl in parse_string loc fonc
++let ast_of_class_info _loc cl =
++  let (_, _, _, fonc) = Zog_types.get_class_info cl in parse_string _loc fonc
+ 
+ (** Return the value of a property kind in a list of properties. *)
+-let ast_of_prop_value loc props kind =
++let ast_of_prop_value _loc props kind =
+   try
+     let p = List.find (fun p -> p.prop_kind = kind) props in
+     parse_prop_value p
+   with
+     Not_found -> 
+-      	let loc = 
++      	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	<:expr< "" >>
+@@ -241,11 +241,11 @@
+   match List.find (fun (x, _, _, _) -> x = f) Zog_types.properties with
+       (_, n, _, _) -> n
+ 
+-let ast_of_creation_options_code loc ele f =
+-  let loc = 
++let ast_of_creation_options_code _loc ele f =
++  let _loc = 
+     (
+-     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+     )	
+   in
+ 
+@@ -281,15 +281,15 @@
+   in
+   List.fold_left g f ele.props
+ 
+-let ast_of_pack_options_code loc f ele =
++let ast_of_pack_options_code _loc f ele =
+   let g f prop =
+     match prop.prop_kind with
+       Expand | Fill | Padding ->
+         if must_gen prop then
+-	  let loc = 
++	  let _loc = 
+ 	    (
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	    )	
+ 	  in
+           let v = parse_prop_value prop in
+@@ -299,14 +299,14 @@
+   in
+   List.fold_left g f ele.props
+ 
+-let ast_of_pack_code (loc : int * int) parent ele f =
++let ast_of_pack_code (_loc : int * int) parent ele f =
+   try
+     let pack_met = Zog_types.pack_method_of_ele parent ele in
+     match pack_met with
+       No_pack -> f
+     | Insert_page ->
+         let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -314,11 +314,11 @@
+ 	  in
+ 	  <:expr< $lid:parent.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+         <:expr<
+@@ -327,12 +327,12 @@
+                $g$ # append_page
+                  ~tab_label:
+                     (GMisc.label
+-                        ~text:$ast_of_prop_value loc1 ele.props Tab_label$ ())
++                        ~text:$ast_of_prop_value _loc1 ele.props Tab_label$ ())
+                     #coerce w)
+         >>
+     | _ ->
+         let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -340,16 +340,16 @@
+ 	  in
+ 	  <:expr< $lid:parent.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+         let p x = <:expr< $f$ ~packing: $x$ >> in
+         match pack_met with
+-          Pack -> p (ast_of_pack_options_code loc1 <:expr< $g$ # pack >> ele)
++          Pack -> p (ast_of_pack_options_code _loc1 <:expr< $g$ # pack >> ele)
+         | Add -> p <:expr< $g$ # add >>
+         | Add1 -> p <:expr< $g$ # add1 >>
+         | Add2 -> p <:expr< $g$ # add2 >>
+@@ -358,16 +358,16 @@
+         | Insert_page | No_pack -> f
+   with
+     Failure s -> 
+-      	let loc = 
++      	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	prerr_endline s; 
+ 	<:expr< $f$ failed >>
+ 
+-let ast_of_custom_pack_code loc parent ele ce =
++let ast_of_custom_pack_code _loc parent ele ce =
+   try
+     let pack_met = Zog_types.pack_method_of_ele parent ele in
+     match pack_met with
+@@ -375,7 +375,7 @@
+     | Insert_page ->
+ 
+ 	let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -384,7 +384,7 @@
+ 	  <:expr< $lid:parent.name$>> 
+ 	in
+         let n = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -392,11 +392,11 @@
+ 	  in
+ 	  <:expr< $lid:ele.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 
+@@ -404,7 +404,7 @@
+         let _ = $g$ # append_page
+             ~tab_label:
+             (GMisc.label
+-               ~text:$ast_of_prop_value loc1 ele.props
++               ~text:$ast_of_prop_value _loc1 ele.props
+                Tab_label$ ())
+             #coerce $n$#coerce in
+         $ce$
+@@ -412,7 +412,7 @@
+     | _ ->
+ 
+         let g = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst parent.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd parent.name_loc }
+@@ -420,16 +420,16 @@
+ 	  in
+ 	  <:expr< $lid:parent.name$ >> 
+ 	in
+-	let loc1 = loc in
+-	let loc = 
++	let _loc1 = _loc in
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+         let r =
+           match pack_met with
+-            Pack -> ast_of_pack_options_code loc1 <:expr< $g$ # pack >> ele
++            Pack -> ast_of_pack_options_code _loc1 <:expr< $g$ # pack >> ele
+           | Add -> <:expr< $g$ # add >>
+           | Add1 -> <:expr< $g$ # add1 >>
+           | Add2 -> <:expr< $g$ # add2 >>
+@@ -438,7 +438,7 @@
+           | Insert_page | No_pack -> g
+         in
+         let n = 
+-	  let loc = 
++	  let _loc = 
+ 	    (
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+ 	     { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -449,10 +449,10 @@
+         <:class_expr< let _ = $r$ $n$ # coerce in $ce$ >>
+   with
+     Failure s -> 
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+       in
+       prerr_endline s; 
+@@ -471,10 +471,10 @@
+ (** Output the OCaml for the given menu_item (or check or radio)
+    and its optional submenu, to perform after creation initializations
+    like adding accelerators and fixing some properties. *)
+-let rec ast_of_post_menu_item_creation_code loc accel_name ele ce =
++let rec ast_of_post_menu_item_creation_code _loc accel_name ele ce =
+   let keysym_v = Zog_types.get_prop_value ele.props Accel_keysym in
+   let ce =
+-    List.fold_right (ast_of_post_menu_creation_code loc accel_name)
++    List.fold_right (ast_of_post_menu_creation_code _loc accel_name)
+       ele.children ce
+   in
+   match remove_blanks keysym_v with
+@@ -485,54 +485,54 @@
+           remove_blanks (Zog_types.get_prop_value ele.props Accel_modifier)
+         with
+           "" -> 
+-	    let loc = 
++	    let _loc = 
+ 	    (
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	    )	
+ 	    in
+ 	    <:expr< [] >>
+-        | s -> parse_string loc s
++        | s -> parse_string _loc s
+       in
+       let flags =
+         match
+           remove_blanks (Zog_types.get_prop_value ele.props Accel_flags)
+         with
+           "" ->
+-	    let loc = 
++	    let _loc = 
+ 	    (
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	    )	
+ 	    in
+ 	    <:expr< [] >>
+-        | s -> parse_string loc s
++        | s -> parse_string _loc s
+       in
+-      let loc1 = loc in
+-      let loc = 
++      let _loc1 = _loc in
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:class_expr<
+         let _ =
+           $lid:ele.name$ #add_accelerator ~group: $lid:accel_name$
+-             ~modi: $modifier$ ~flags: $flags$ $parse_string loc1 v$
++             ~modi: $modifier$ ~flags: $flags$ $parse_string _loc1 v$
+         in
+         $ce$ >>
+ 
+-and ast_of_post_menu_creation_code loc accel_name ele ce =
++and ast_of_post_menu_creation_code _loc accel_name ele ce =
+   match ele.classe with
+     Menu ->
+       let ce =
+-        List.fold_right (ast_of_post_menu_item_creation_code loc accel_name)
++        List.fold_right (ast_of_post_menu_item_creation_code _loc accel_name)
+           ele.children ce
+       in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:class_expr<
+@@ -540,12 +540,12 @@
+   | _ -> ce
+ 
+ (** Output the OCaml for the given element which must be a Menubar. *)
+-let ast_of_post_menubar_creation_code ?win loc ele ce =
++let ast_of_post_menubar_creation_code ?win _loc ele ce =
+   match ele.classe with
+     Menubar ->
+       let acc_name = accel_group_name ele in
+       let ce =
+-        List.fold_right (ast_of_post_menu_item_creation_code loc acc_name)
++        List.fold_right (ast_of_post_menu_item_creation_code _loc acc_name)
+           ele.children ce
+       in
+       let ce2 = 
+@@ -553,10 +553,10 @@
+ 	 match win with
+ 	   None -> ce
+ 	 | Some w -> 
+-	     let loc = 
++	     let _loc = 
+ 	       (
+-		{ Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-		{ Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++		{ Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++		{ Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	       )	
+ 	     in
+ 	     <:class_expr<
+@@ -564,10 +564,10 @@
+ 	     >>
+ 	)      
+       in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in      
+       <:class_expr<
+@@ -577,30 +577,30 @@
+ 
+   | _ -> ce
+ 
+-let rec ast_of_ele_creations ?win loc parent_opt previous_opt ele ce =
+-  let ce = ast_of_post_menubar_creation_code ?win loc ele ce in
++let rec ast_of_ele_creations ?win _loc parent_opt previous_opt ele ce =
++  let ce = ast_of_post_menubar_creation_code ?win _loc ele ce in
+   let ce =
+     let rec iter prev ce =
+       function
+         [] -> ce
+       | e :: q ->
+           let ce = iter (Some e) ce q in
+-          ast_of_ele_creations ?win loc (Some ele) prev e ce
++          ast_of_ele_creations ?win _loc (Some ele) prev e ce
+     in
+     iter None ce ele.children
+   in
+   let e =
+-    if ele.classe = Custom_box then ast_of_prop_value loc ele.props Function
++    if ele.classe = Custom_box then ast_of_prop_value _loc ele.props Function
+     else
+       let f = ast_of_class_info ele.name_loc ele.classe in
+-      let f = ast_of_creation_options_code loc ele f in
++      let f = ast_of_creation_options_code _loc ele f in
+       let f =
+         match ele.classe, previous_opt with
+           Radio_menu_item, Some e when e.classe = Radio_menu_item ->
+-	    let loc = 
++	    let _loc = 
+ 	      (
+-	       { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	       { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	       { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	       { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	      )	
+ 	    in
+             <:expr< $f$ ~group: $lid:e.name$ #group >>
+@@ -608,51 +608,51 @@
+       in
+       match parent_opt with
+         None -> f
+-      | Some parent -> ast_of_pack_code loc parent ele f
++      | Some parent -> ast_of_pack_code _loc parent ele f
+   in
+   let ce =
+     if ele.classe = Custom_box then
+       match parent_opt with
+         None -> ce
+-      | Some parent -> ast_of_custom_pack_code loc parent ele ce
++      | Some parent -> ast_of_custom_pack_code _loc parent ele ce
+     else ce
+     in
+ (* BEGIN CDK *)
+   gen_anonynous_name ele;
+   if ele.name = "_" then  
+-      	let loc = 
++      	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	<:class_expr< let _ = $e$ () in $ce$  >>
+     else
+     (* END CDK *)
+   let n = 
+-    let loc = 
++    let _loc = 
+       (
+        { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+        { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+ 	  )	
+     in <:patt< $lid:ele.name$ >> 
+   in
+-  let loc = 
++  let _loc = 
+     (
+-     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+     )	
+   in
+   <:class_expr< let $n$ = $e$ () in $ce$ >>
+ 
+-  let rec ast_of_ele_methods loc ele =
++  let rec ast_of_ele_methods _loc ele =
+     let cil =
+       if ele.classe = Menubar then
+ 	let accel_name = accel_group_name ele in
+-	let loc = 
++	let _loc = 
+ 	  (
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	   { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	   { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	   { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+ 	in
+ 	[<:class_str_item< method $accel_name$ = $lid:accel_name$ >>]
+@@ -662,7 +662,7 @@
+     gen_anonynous_name ele;
+     let cil = if ele.name.[0] <> '_' then 
+       let n = 
+-	let loc = 
++	let _loc = 
+ 	  (
+ 	   { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+ 	   { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -670,25 +670,25 @@
+ 	in
+ 	<:expr< $lid:ele.name$ >> 
+       in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       <:class_str_item< method $ele.name$ = $n$ >> :: cil else cil in
+ (* END CDK *)  
+-    List.fold_left (fun cil ele -> cil @ ast_of_ele_methods loc ele) cil
++    List.fold_left (fun cil ele -> cil @ ast_of_ele_methods _loc ele) cil
+       ele.children
+   
+-let rec ast_of_ele_vals loc ele =
++let rec ast_of_ele_vals _loc ele =
+   let cil =
+     if ele.classe = Menubar then
+       let accel_name = accel_group_name ele in
+-      let loc = 
++      let _loc = 
+ 	(
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-	 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++	 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++	 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	)	
+       in
+       [<:class_str_item< value $accel_name$ = $lid:accel_name$ >>]
+@@ -697,7 +697,7 @@
+ (* BEGIN CDK *)
+   gen_anonynous_name ele;
+   let n = 
+-    let loc = 
++    let _loc = 
+       (
+        { Lexing.dummy_pos with Lexing.pos_cnum = fst ele.name_loc } ,
+        { Lexing.dummy_pos with Lexing.pos_cnum = snd ele.name_loc }
+@@ -706,50 +706,50 @@
+     <:expr< $lid:ele.name$ >> 
+   in
+   let cil = if ele.name.[0] <> '_' then 
+-    let loc = 
++    let _loc = 
+       (
+-       { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-       { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++       { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++       { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+       )	
+     in
+     <:class_str_item< value $ele.name$ = $n$ >> :: cil  
+    else cil 
+   in
+ (* END CDK *)  
+-  List.fold_left (fun cil ele -> cil @ ast_of_ele_vals loc ele) cil
++  List.fold_left (fun cil ele -> cil @ ast_of_ele_vals _loc ele) cil
+     ele.children
+ 
+-let ast_of_entity loc entity =
++let ast_of_entity _loc entity =
+   let ce =
+     let cil =
+       match entity.en_ele with
+         None -> []
+       | Some e ->
+-          let cil = ast_of_ele_vals loc e @ ast_of_ele_methods loc e in
++          let cil = ast_of_ele_vals _loc e @ ast_of_ele_methods _loc e in
+           match e.classe with
+             Window -> cil
+           | _ ->
+               let n = 
+-		let loc = 
++		let _loc = 
+ 		  (
+ 		   { Lexing.dummy_pos with Lexing.pos_cnum = fst e.name_loc } ,
+ 		   { Lexing.dummy_pos with Lexing.pos_cnum = snd e.name_loc }
+ 		  )	
+ 		in <:expr< $lid:e.name$ >> 
+ 	      in
+-	      let loc = 
++	      let _loc = 
+ 		(
+-		 { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-		 { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++		 { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++		 { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 		)	
+ 	      in
+               let ci = <:class_str_item< method coerce = $n$ # coerce >> in
+               cil @ [ci]
+     in
+-    let loc = 
++    let _loc = 
+       (
+-       { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-       { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++       { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++       { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+       )	
+     in
+     <:class_expr< object $None$ $list:cil$ end >>
+@@ -763,12 +763,12 @@
+ 	    Window -> Some ele.name
+ 	  | _ -> None
+ 	in
+-	ast_of_ele_creations ?win: win_opt loc None None ele ce
++	ast_of_ele_creations ?win: win_opt _loc None None ele ce
+   in
+-  let loc = 
++  let _loc = 
+     (
+-     { Lexing.dummy_pos with Lexing.pos_cnum = fst loc } ,
+-     { Lexing.dummy_pos with Lexing.pos_cnum = snd loc }
++     { Lexing.dummy_pos with Lexing.pos_cnum = fst _loc } ,
++     { Lexing.dummy_pos with Lexing.pos_cnum = snd _loc }
+ 	  )	
+   in
+   let ce =
+@@ -798,9 +798,9 @@
+ 	    try
+               let entity = {en_name = name; en_params = pl; en_ele = w} in
+ 	      (
+-	       let loc = ((fst loc).Lexing.pos_cnum, (snd loc).Lexing.pos_cnum) in
+-	       ast_of_entity loc entity
+-	      ), loc
++	       let _loc = ((fst _loc).Lexing.pos_cnum, (snd _loc).Lexing.pos_cnum) in
++	       ast_of_entity _loc entity
++	      ), _loc
+             with Field_error m ->
+               field_error m;
+ 	      exit 1
+@@ -809,9 +809,9 @@
+     widget:
+       [ [ "<"; tag = LIDENT; LIDENT "name"; "="; (name, nloc) = ident;
+           proplist = LIST0 property; ">"; children = LIST0 widget;
+-          (tag_end, loc_tend) = tag_end ->
++          (tag_end, _loc_tend) = tag_end ->
+             if tag <> tag_end then
+-              Stdpp.raise_with_loc loc_tend
++              Stdpp.raise_with_loc _loc_tend
+                 (Stream.Error ("</" ^ tag ^ "> expected"));
+             let proplist =
+               List.filter (fun (x, v, vloc) -> x <> "expanded" && x <> "in_interface") proplist
+@@ -824,7 +824,7 @@
+ 		     prop_value_loc = ((fst vloc).Lexing.pos_cnum, (snd vloc).Lexing.pos_cnum)})
+                 proplist
+             in
+-	    let nloc = ((fst loc).Lexing.pos_cnum, (snd loc).Lexing.pos_cnum) in
++	    let nloc = ((fst _loc).Lexing.pos_cnum, (snd _loc).Lexing.pos_cnum) in
+             { name = name; name_loc = nloc;
+               classe = Zog_misc.class_of_class_name tag; 
+ 	      props = proplist;
+@@ -833,16 +833,16 @@
+ 	    } ] ]
+     ;
+     tag_end:
+-      [ [ "</"; tag = LIDENT; ">" -> tag, loc ] ]
++      [ [ "</"; tag = LIDENT; ">" -> tag, _loc ] ]
+     ;
+     property:
+       [ [ x = LIDENT; "="; (v, vloc) = string -> x, v, vloc ] ]
+     ;
+     string:
+-      [ [ v = STRING -> v,  loc ] ]
++      [ [ v = STRING -> v,  _loc ] ]
+     ;
+     ident:
+-      [ [ v = LIDENT -> v, loc ] ]
++      [ [ v = LIDENT -> v, _loc ] ]
+     ;
+   END
+ 
--- mldonkey-2.7.3.orig/debian/patches/00list
+++ mldonkey-2.7.3/debian/patches/00list
@@ -0,0 +1,2 @@
+01_see
+02_usr_bin
--- mldonkey-2.7.3.orig/debian/patches/01_see.dpatch
+++ mldonkey-2.7.3/debian/patches/01_see.dpatch
@@ -0,0 +1,37 @@
+#!/bin/sh -e
+## 01_see.dpatch by Sylvain LE GALL <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad trunk~/src/daemon/common/commonOptions.ml trunk/src/daemon/common/commonOptions.ml
+--- trunk~/src/daemon/common/commonOptions.ml	2005-09-20 00:30:05.000000000 +0200
++++ trunk/src/daemon/common/commonOptions.ml	2005-09-20 00:35:26.000000000 +0200
+@@ -946,7 +946,7 @@
+ let previewer = define_expert_option current_section ["previewer"]
+   "Name of program used for preview (first arg is local filename, second arg
+     is name of file as searched on eDonkey" string_option
+-  "mldonkey_previewer"
++  "/usr/bin/see"
+ 
+ let mldonkey_bin = define_expert_option current_section ["mldonkey_bin"]
+     "Directory where mldonkey binaries are installed"
--- mldonkey-2.7.3.orig/debian/patches/21_svg_converter.dpatch
+++ mldonkey-2.7.3/debian/patches/21_svg_converter.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 21_svg_converter.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mldonkey-2.6.5~/Makefile mldonkey-2.6.5/Makefile
+--- mldonkey-2.6.5~/Makefile	2005-10-12 00:46:40.000000000 +0200
++++ mldonkey-2.6.5/Makefile	2005-10-18 01:32:42.000000000 +0200
+@@ -811,7 +811,7 @@
+   endif
+ 
+ SVG_CONVERTER_SRCS = \
+-  $(CDK_SRCS) tools/svg_converter.ml
++  $(CDK_SRCS) $(LIB_SRCS) tools/svg_converter.ml
+ 
+ CURSES_LIBS_byte=-cclib -lncurses
+ CURSES_LIBS_opt=-cclib -lncurses
--- mldonkey-2.7.3.orig/debian/patches/23_use_svg_converter_byte.dpatch
+++ mldonkey-2.7.3/debian/patches/23_use_svg_converter_byte.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 23_use_svg_converter_byte.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad mldonkey-2.6.5~/Makefile mldonkey-2.6.5/Makefile
+--- mldonkey-2.6.5~/Makefile	2005-10-18 02:26:54.000000000 +0200
++++ mldonkey-2.6.5/Makefile	2005-10-18 02:27:25.000000000 +0200
+@@ -3495,7 +3495,7 @@
+ 		$(OCAMLPP) $$i/*.mlt  >> .depend; \
+ 	done)
+ 	if test "$(GUI)" = "newgui2"; then \
+-		$(MAKE) svg_converter; \
++		$(MAKE) svg_converter.byte; \
+ 	fi
+ 
+ $(LOCAL)/ocamlopt-$(REQUIRED_OCAML)/Makefile: patches/ocamlopt-$(REQUIRED_OCAML).tar.gz
+@@ -3752,7 +3752,7 @@
+ 
+ .svg.ml_icons :
+ 	cp $< $@
+-	./svg_converter $@
++	./svg_converter.byte $@
+ 
+ .ml.cmx :
+ 	$(OCAMLOPT) $(PLUGIN_FLAG) $(OFLAGS) $(INCLUDES) -c $<
--- mldonkey-2.7.3.orig/debian/mldonkey-gui.manpages
+++ mldonkey-2.7.3/debian/mldonkey-gui.manpages
@@ -0,0 +1,2 @@
+debian/xml-man/mlgui.1
+debian/xml-man/mlguistarter.1
--- mldonkey-2.7.3.orig/debian/mldonkey-server.dirs
+++ mldonkey-2.7.3/debian/mldonkey-server.dirs
@@ -0,0 +1,2 @@
+var/run/mldonkey
+var/log/mldonkey
--- mldonkey-2.7.3.orig/debian/mldonkey-server.install
+++ mldonkey-2.7.3/debian/mldonkey-server.install
@@ -0,0 +1,9 @@
+mlnet                               usr/bin/
+debian/utils/mldonkey_options       usr/bin/
+debian/utils/mldonkey_server        usr/bin/
+debian/utils/mldonkey_users         usr/bin/
+debian/utils/mldonkey_files         usr/bin/
+debian/utils/mldonkey_command       usr/bin/
+debian/utils/mldonkey_submit        usr/bin/
+debian/utils/mldonkey_create_chroot usr/bin/
+debian/images/mlnet.xpm             usr/share/pixmaps/
--- mldonkey-2.7.3.orig/debian/mldonkey-server.config
+++ mldonkey-2.7.3/debian/mldonkey-server.config
@@ -0,0 +1,169 @@
+#!/bin/sh -e
+
+# Debconf configuration script for MLDonkey server.
+# by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+
+# Source debconf library
+. /usr/share/debconf/confmodule
+
+
+CONFIGFILE=/etc/default/mldonkey-server
+if [ -e $CONFIGFILE ]; then
+  MLDONKEY_DIR=
+  MLDONKEY_GROUP=
+  MLDONKEY_UMASK=
+  MAX_ALIVE=
+  LAUNCH_AT_STARTUP=
+  MLDONKEY_NICENESS=
+  . $CONFIGFILE || true
+  
+  if [ "$MLDONKEY_DIR" != "" ]; then 
+    db_set mldonkey-server/mldonkey_dir $MLDONKEY_DIR
+  fi
+  
+  if [ "$MLDONKEY_GROUP" != "" ]; then 
+    db_set mldonkey-server/mldonkey_group $MLDONKEY_GROUP
+  fi
+  
+  if [ "$MLDONKEY_UMASK" != "" ]; then 
+    db_set mldonkey-server/mldonkey_umask $MLDONKEY_UMASK 
+  fi
+  
+  if [ "$MAX_ALIVE" != "" ]; then
+    db_set mldonkey-server/max_alive $MAX_ALIVE
+  fi
+  
+  if [ "$MLDONKEY_NICENESS" != "" ]; then 
+    db_set mldonkey-server/mldonkey_niceness $MLDONKEY_NICENESS
+  fi
+  
+  if [ "$LAUNCH_AT_STARTUP" != "" ]; then
+    if [ "$LAUNCH_AT_STARTUP" = "true" ]; then 
+      db_set mldonkey-server/launch_at_startup true
+    else 
+      db_set mldonkey-server/launch_at_startup false
+    fi
+  fi
+fi
+
+if [ -x /usr/bin/mldonkey_options ] && [ -e $MLDONKEY_DIR/downloads.ini ]; then
+  db_set mldonkey-server/client_name `/usr/bin/mldonkey_options -f $MLDONKEY_DIR/downloads.ini -g client_name`
+  db_set mldonkey-server/max_hard_upload_rate   `/usr/bin/mldonkey_options -f $MLDONKEY_DIR/downloads.ini -g max_hard_upload_rate`
+  db_set mldonkey-server/max_hard_download_rate `/usr/bin/mldonkey_options -f $MLDONKEY_DIR/downloads.ini -g max_hard_download_rate`
+# BUG : We should also fetch the default plugin
+fi
+
+#db_version 2.0
+
+db_reset mldonkey-server/reown_file
+db_reset mldonkey-server/mldonkey_move
+
+# If it is the first time we install : set a default hostname 
+if [ ! -n "$MLDONKEY_DIR" ] || [ ! -d $MLDONKEY_DIR ] || [ ! -f $MLDONKEY_DIR/downloads.ini ]; then
+  client_name=`/bin/hostname`
+  db_set mldonkey-server/client_name "$client_name"
+fi
+
+# Do we start at startup
+db_input high mldonkey-server/launch_at_startup || true
+db_go
+
+#If yes, lets begin the conf
+db_get mldonkey-server/launch_at_startup
+launch_at_startup="$RET"
+
+if [ "$launch_at_startup" = "true" ]; then
+  
+  db_input low mldonkey-server/run_as_user || true
+  db_go
+
+  db_input low mldonkey-server/mldonkey_group || true
+  db_go
+
+  # Existence and owner test
+
+  if [ -f $MLDONKEY_DIR/downloads.ini ]; then
+
+    owner=`/usr/bin/stat --format="%U %G" $MLDONKEY_DIR/downloads.ini`
+
+    db_get mldonkey-server/run_as_user
+    new_owner="$RET"
+
+    db_get mldonkey-server/mldonkey_group
+    new_owner="$new_owner $RET"
+
+    if [ "$new_owner" != "$owner" ]; then
+      
+      db_input critical mldonkey-server/reown_file || true
+      db_go
+      
+    fi
+
+  fi
+
+  db_input medium mldonkey-server/mldonkey_dir || true
+  db_go
+
+  # Existence test
+  
+  db_get mldonkey-server/mldonkey_dir
+  NEW_MLDONKEY_DIR="$RET"
+
+  if [ "$NEW_MLDONKEY_DIR" != "$MLDONKEY_DIR" ] && [ -f $MLDONKEY_DIR/downloads.ini ]; then
+  
+    db_input medium mldonkey-server/mldonkey_move || true
+    db_go
+    
+  fi
+
+  db_input low mldonkey-server/mldonkey_umask || true
+  db_go
+
+  db_input low mldonkey-server/mldonkey_niceness || true
+  db_go
+
+  db_input medium mldonkey-server/client_name || true
+  db_go
+
+  db_input medium mldonkey-server/plugin || true
+  db_go
+
+  db_input medium mldonkey-server/max_hard_download_rate || true
+  db_go
+
+  db_input medium mldonkey-server/max_hard_upload_rate || true
+  db_go
+
+  db_input low mldonkey-server/max_alive || true
+  db_go
+
+  password="a"
+  repassword="b"
+  
+  while [ "$password" != "$repassword" ] ; do
+
+    db_input critical mldonkey-server/password || true
+    db_go
+
+    db_get mldonkey-server/password
+    password="$RET"
+
+    db_input critical mldonkey-server/repassword || true
+    db_go
+
+    db_get mldonkey-server/repassword
+    repassword="$RET"
+
+    if [ "$password" != "$repassword" ]; then
+      db_reset mldonkey-server/false_password
+      db_input critical mldonkey-server/false_password || true
+      db_go
+
+      db_reset mldonkey-server/password
+      db_reset mldonkey-server/repassword
+    fi
+  done
+  
+fi
+  
+db_stop
--- mldonkey-2.7.3.orig/debian/svn-deblayout
+++ mldonkey-2.7.3/debian/svn-deblayout
@@ -0,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/mldonkey/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/mldonkey
--- mldonkey-2.7.3.orig/debian/control.in
+++ mldonkey-2.7.3/debian/control.in
@@ -0,0 +1,34 @@
+Source: mldonkey
+Section: net
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall@polytechnique.org> 
+Build-Depends: ocaml-nox (>= #OCamlABI#), debhelper (>= 4.1.16), po-debconf, xsltproc, zlib1g-dev, docbook-xsl (>= 1.64.1), docbook-xml (>= 4.2-12), chrpath, m4, dpatch (>= 1.11), debconf (>= 0.2.26), liblablgtk2-ocaml-dev, libgd2-noxpm-dev, liblablgtk2-gnome-ocaml-dev
+Standards-Version: 3.6.2.0
+
+Package: mldonkey-server
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${interpreter:Depends}, adduser, mime-support, debconf (>= 0.2.26), ucf (>= 1.17), dpkg (>= 1.10.27)
+Suggests: makejail
+Description: Door to the 'donkey' network
+ 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:
+  - works on UNIX-compatible platforms.
+  - remote control by telnet, WEB browser or GTK interface. 
+  - access to EDonkey ( edonkey2000, overnet, emule )
+  - access to Gnutella1/2
+  - access to Soulseek
+  - access to Bittorrent
+  - access to Opennap
+
+Package: mldonkey-gui
+Architecture: any
+Suggests: mldonkey-server (=${Source-Version})
+Depends: ${shlibs:Depends}, ${interpreter:Depends}
+Description: Graphical frontend for mldonkey based on GTK
+ The GTK interface for mldonkey provides a convenient way of managing
+ all mldonkey operations. It gives details about connected servers,
+ downloaded files, friends and lets one search for files in a pleasing
+ way.
+
--- mldonkey-2.7.3.orig/debian/mldonkey-server.preinst
+++ mldonkey-2.7.3/debian/mldonkey-server.preinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e 
+
+CONFFILE=/etc/default/mldonkey-server
+
+case "$1" in
+  install|upgrade)
+    if dpkg --compare-versions "$2" lt "2.5.1-5" && [ -e /etc/mldonkey.conf ]; then
+      echo "Moving /etc/mldonkey.conf to /etc/default/mldonkey-server"
+      mv -f /etc/mldonkey.conf $CONFFILE
+    fi
+  ;;
+esac
+
+#DEBHELPER#
--- mldonkey-2.7.3.orig/debian/mldonkey-server.templates
+++ mldonkey-2.7.3/debian/mldonkey-server.templates
@@ -0,0 +1,243 @@
+Template: mldonkey-server/config_exist_no_options
+Type: note
+_Description: Warning
+ A configuration for MLDonkey has been detected, but
+ the mldonkey_options executable cannot be found. Therefore,
+ the settings from the current MLDonkey configuration cannot
+ be fetched.
+ .
+ This is a typical error, if you have uninstalled the mldonkey-server
+ package and later reinstall it.
+ .
+ Ignore this message in case you think there is nothing to be
+ saved from your current configuration.
+ .
+ Your configuration will be saved to downloads.ini.dpkg.
+
+Template: mldonkey-server/config_exist_no_dir
+Type: note
+_Description: Warning
+ A former installation of mldonkey-server has been detected, but
+ we cannot find the directory coming with it.
+ .
+ The installation will create a fresh directory with new .ini
+ configuration files.
+ .
+ Afterwards you can copy your old .ini configuration files to this new
+ directory and re-run "dpkg-reconfigure mldonkey-server" to update
+ the remaining debconf values stored in /etc/default/mldonkey-server.
+
+Template: mldonkey-server/fasttrack_problem
+Type: note
+_Description: Bug #200500
+ Previous versions of mldonkey-server suffer from a serious DFSG policy
+ violation.
+ .
+ The plugin for the fasttrack protocol (e.g. used by kazaa) of
+ mldonkey-server was made with illegal coding practice. This version
+ fixes the problem by removing this plugin from the MLDonkey package.
+ Any fasttrack sources will be filtered out of your files.ini.
+ .
+ Your entire fasttrack upload will disappear with the next restart of the
+ mldonkey server.
+ .
+ See /usr/share/doc/mldonkey-server/README.Debian for more information.
+
+Template: mldonkey-server/launch_at_startup
+Type: boolean
+Default: false
+_Description: Launch at startup?
+ Do you want to launch MLDonkey as a system service?
+ .
+ If you choose yes, each time your machine starts, the MLDonkey server will be
+ started.
+ .
+ If you choose no, you will need to launch MLDonkey yourself each time you want to
+ use it.
+
+Template: mldonkey-server/run_as_user
+Type: string
+Default: mldonkey
+_Description: MLDonkey user:
+ Define the user who will run the MLDonkey server process.
+ .
+ Please do not choose a real user. For security reasons it is
+ better if this user does not own any other data than the
+ MLDonkey share.
+ .
+ You will use this user account to share and get data from the
+ peer-to-peer networks.
+ .
+ This user will be a system user (if created). You won't be able
+ to login into your system with this user name.
+
+Template: mldonkey-server/mldonkey_group
+Type: string
+Default: mldonkey
+_Description: MLDonkey group:
+ Define the group which will run the MLDonkey server process.
+ .
+ Please do not choose a real group. For security reasons it is
+ better if this group does not own any other data than the MLDonkey share.
+ .
+ Users of this group can start and stop the MLDonkey server and
+ can also access the files fetched from the peer-to-peer networks.
+
+Template: mldonkey-server/reown_file
+Type: boolean
+Default: false
+_Description: Move old files?
+ You have changed the MLDonkey user. You can change the ownership of
+ your files to the new user.
+ .
+ Proceed changes?
+ .
+ PS: the former user won't be deleted from /etc/passwd, you will
+ have to do it yourself later (e.g. with deluser(8)), or you keep it
+ along with the old configuration.
+
+Template: mldonkey-server/mldonkey_dir
+Type: string
+Default: /var/lib/mldonkey
+_Description: MLDonkey directory:
+ Define the directory to which the MLDonkey server will be chdired and chrooted.
+ .
+ The .ini configuration files, incoming and shared directories will be in this directory.
+ .
+ Chroot support is not complete. For now, chroot is not possible, but it
+ may be enabled in the near future.
+
+Template: mldonkey-server/mldonkey_move
+Type: boolean
+Default: false
+_Description: Move the old configuration?
+ You have changed the mldonkey directory. You can move the old files
+ to this new directory.
+ .
+ If you choose no, the old directory won't be deleted. You will have to
+ do it yourself.
+ .
+ Proceed changes?
+
+Template: mldonkey-server/mldonkey_umask
+Type: string
+Default: 0022
+_Description: Umask of MLDonkey:
+ Since MLDonkey will run as a system user, it is not easy to move/delete
+ files from the incoming dir. By setting a umask, you can provide access to these
+ files for MLDonkey's group or all users.
+ .
+ Examples: 0002 will give rw access to MLDonkey's group, 0000 will give
+ access to all users.
+
+Template: mldonkey-server/mldonkey_niceness
+Type: string
+_Description: Niceness of MLDonkey:
+ MLDonkey uses heavy calculation from time to time (like hashing very big
+ files). It should be a good idea to set a very kind level of niceness,
+ depending on what ressources you want to give to MLDonkey.
+ .
+ You can set values from -20 to 20. The bigger the niceness, the lower the priority
+ of MLDonkey processes.
+
+Template: mldonkey-server/shared_directories
+Type: string
+Default: share
+_Description: Shared directories:
+ List of directories you want to share. By default, the incoming directory will
+ always be shared.
+ .
+ The syntax of this list is a list of strings separated by ";". For example:
+ share ; mp3
+ .
+ Since MLDonkey will be chrooted, you need to specify shared dirs with
+ regards to the new root directory of MLDonkey (e.g. if you want to share
+ /var/lib/mldonkey/share and MLDonkey user's home is /var/lib/mldonkey,
+ you need to write "share" or "/share").
+ .
+ Chroot support is not complete. For now, chroot is not possible, but it may be enabled
+ in the near future.
+
+Template: mldonkey-server/client_name
+Type: string
+_Description: MLDonkey client name:
+ The name of your server. This is the name that will be presented to other
+ users of the peer-to-peer networks.
+ .
+ You could use the name of your website. Example: http://me.my.home/
+ .
+ Don't use " or any other special characters.
+
+Template: mldonkey-server/plugin
+Type: multiselect
+Choices: Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella
+Default: Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella
+Description: MLDonkey Plugins:
+ MLDonkey can use several different filesharing networks. Choose the networks
+ you want to use with your server.
+ .
+ The EDonkey network is always enabled. Take a look at the different port settings,
+ you will need to make, if you use a firewall.
+
+Template: mldonkey-server/max_hard_download_rate
+Type: string
+Default: 0
+_Description: Maximal download speed (kB/s):
+ Set the maximal download rate. It can be useful to limit this rate, in
+ order to always have a minimal bandwidth for other internet applications.
+ .
+ It has also been noticed that a full use of the bandwidth could cause
+ problems with DSL connection handling. This is not a rule, it is just
+ based on a few experiments.
+ .
+ 0 means no limit.
+
+Template: mldonkey-server/max_hard_upload_rate
+Type: string
+Default: 0
+_Description: Maximal upload speed (kB/s):
+ Set the maximal upload rate. You must keep in mind that a peer-to-peer
+ network is based on sharing. Do not use a very low rate.
+ .
+ Some networks calculate the download credit by the upload rate. More
+ upload speed means more download speed.
+ .
+ As for the download speed, you should limit this rate so that you
+ can still use the internet even when MLDonkey is running.
+ .
+ 0 means no limit.
+
+Template: mldonkey-server/max_alive
+Type: string
+Default: 48
+_Description: Maximal time to live for the server:
+ MLDonkey needs to be restarted from time to time. This is safer for memory
+ consumption and all. You need to set the time between automatic restarts
+ (in hours).
+ .
+ The only problem with this is that you will loose some upload credits. You
+ can set this variable to a very high value in order to be sure to have a
+ sufficient time to gather a lot of credits.
+ .
+ For example: 24 for one day, 168 for one week.
+
+Template: mldonkey-server/password
+Type: password
+_Description: Password of admin user:
+ As of version 2.04rc1, a new user management appears. The password is
+ encrypted and stored in downloads.ini.
+ .
+ If you want to add a new user for MLDonkeys user management or
+ want to change the password, refer to /usr/share/doc/mldonkey-server/README.Debian.
+
+Template: mldonkey-server/repassword
+Type: password
+_Description: Retype password of the admin user:
+ Please confirm your admin's password.
+
+Template: mldonkey-server/false_password
+Type: note
+_Description: Passwords do not match
+ The two password you enter must be the same.
+ .
+ You will be asked until you can provide the same password twice.
--- mldonkey-2.7.3.orig/debian/NEWS.Debian
+++ mldonkey-2.7.3/debian/NEWS.Debian
@@ -0,0 +1,12 @@
+mldonkey (2.5.28.1-1) unstable; urgency=low
+
+ Starting from mldonkey 2.5.28-1, the file /etc/default/mldonkey-server has
+ been managed through ucf. But ucf was not well used. This version of the
+ package should correct this problem by removing the file
+ /etc/default/mldonkey-server and recreating it, using ucf. This should be
+ automatic during the upgrade. You will find a backup of the former
+ configuration file at /etc/default/mldonkey-server.dpkg-bak, if something
+ goes wrong.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 28 Jun 2005 00:22:20 +0200
+
--- mldonkey-2.7.3.orig/debian/mldonkey-server.docs
+++ mldonkey-2.7.3/debian/mldonkey-server.docs
@@ -0,0 +1,3 @@
+distrib/
+docs/
+FASTTRACK
--- mldonkey-2.7.3.orig/debian/mldonkey-server.postinst
+++ mldonkey-2.7.3/debian/mldonkey-server.postinst
@@ -0,0 +1,320 @@
+#!/bin/sh -e
+
+# Source debconf library
+. /usr/share/debconf/confmodule
+
+DEBUG=false
+
+db_get mldonkey-server/launch_at_startup 
+launch_at_startup="$RET"
+
+case "$1" in
+  configure)
+
+    CONF=/etc/default/mldonkey-server
+
+    if [ "$launch_at_startup" = "true" ]; then
+
+      ###########################
+      # Handling debconf values #
+      ###########################
+      
+      db_get mldonkey-server/mldonkey_umask
+      mldonkey_umask="$RET"
+      umask $mldonkey_umask
+
+      db_get mldonkey-server/run_as_user 
+      run_as_user=$RET
+
+      db_get mldonkey-server/mldonkey_group 
+      mldonkey_group=$RET
+      
+      db_get mldonkey-server/mldonkey_dir
+      new_mldonkey_dir="$RET"
+
+      db_get mldonkey-server/mldonkey_niceness
+      mldonkey_niceness="$RET"
+      
+      db_get mldonkey-server/client_name
+      client_name="$RET"
+
+      db_get mldonkey-server/plugin
+
+      enable_directconnect=false
+      enable_opennap=false
+      enable_overnet=false
+      enable_soulseek=false
+      enable_bittorrent=false
+      enable_gnutella=false
+      enable_fasttrack=false
+      OLD_IFS=$IFS
+      IFS=", "
+      for i in $RET; do 
+
+	case $i in
+	Directconnect*)
+	  enable_directconnect=true
+	  ;;
+	Opennap*)
+	  enable_opennap=true
+	  ;;
+	Overnet*)
+	  enable_overnet=true
+	  ;;
+	Soulseek*)
+	  enable_soulseek=true
+	  ;;
+	Bittorrent*)
+	  enable_bittorrent=true
+	  ;;
+	Gnutella*)
+	  enable_gnutella=true
+	  ;;
+	Fasttrack*)
+	  enable_fasttrack=true
+	  ;;
+	esac
+      done
+      IFS=$OLD_IFS
+
+      db_get mldonkey-server/max_hard_upload_rate
+      max_hard_upload_rate="$RET"
+
+      db_get mldonkey-server/max_hard_download_rate
+      max_hard_download_rate="$RET"
+
+      db_get mldonkey-server/password
+      password="$RET"
+
+      db_get mldonkey-server/max_alive
+      max_alive="$RET"
+
+
+      ###################
+      # User management #
+      ###################
+      
+      # Creating MLDonkey group if he isn't already there
+      if ! getent group $mldonkey_group > /dev/null ; then
+        $DEBUG && echo -n "Creating mldonkey group: "
+	addgroup --quiet $mldonkey_group
+        $DEBUG && echo "done."
+      fi
+
+      # Creating MLDonkey user if he isn't already there
+      if ! getent passwd $run_as_user > /dev/null ; then
+        $DEBUG && echo -n "Creating mldonkey user: "
+	adduser --quiet --system --ingroup $mldonkey_group \
+	 --home "$new_mldonkey_dir" --no-create-home $run_as_user
+        $DEBUG && echo "done."
+      fi
+
+      run_as_useruid=`/usr/bin/id -u $run_as_user`
+
+      if [ ! -d $new_mldonkey_dir ]; then
+	$DEBUG && echo -n "Creating mldonkey home directory: "
+	mkdir "$new_mldonkey_dir"
+	$DEBUG && echo "done."
+      fi
+
+      #########################
+      # Relocation management #
+      #########################
+      
+      if [ -e "$CONF" ]; then
+        . "$CONF"
+        if [ -n "$MLDONKEY_DIR" ] && [ -f "$MLDONKEY_DIR/downloads.ini" ]; then
+          db_get mldonkey-server/reown_file 
+          if [ "$RET" = "true" ] && ! dpkg-statoverride --list "$MLDONKEY_DIR" >/dev/null; then
+            $DEBUG && echo -n "Reowning file of $MLDONKEY_DIR: "
+            # BUG: should not use chown, should use dpkg-statoverride itself, but the owner is not always
+            # the same. If i use the method suggested in the Debian Policy 10.9.1, i need to dynamically 
+            # create a user, but this user should never be changed. The DP method will inject a new rules
+            # in dpkg-statoverride which will made the above test always false for any further
+            # upgrade/configure. With my method, only the user can set dpkg-statoverride rules to stop the 
+            # reowning of a file... However i am not sure this is the best method to do so.
+            /bin/chown -R $run_as_user:$mldonkey_group "$MLDONKEY_DIR"
+            $DEBUG && echo "done."
+          fi
+        
+          db_get mldonkey-server/mldonkey_move
+          if [ "$RET" = "true" ] && [ "$new_mldonkey_dir" != "$MLDONKEY_DIR" ]; then
+            $DEBUG && echo -n "Moving file of $MLDONKEY_DIR to $new_mldonkey_dir: "
+            /bin/mv "--target-directory=$new_mldonkey_dir" "$MLDONKEY_DIR/*"
+            $DEBUG && echo "done."
+          fi
+        fi
+      fi
+      
+      #################
+      # Downloads.ini #
+      #################
+ 
+      if [ -e "$new_mldonkey_dir/downloads.ini" ]; then
+        $DEBUG && echo -n "Creating backup of $new_mldonkey_dir/downloads.ini: "
+        /bin/cp -p -f "$new_mldonkey_dir/downloads.ini" "$new_mldonkey_dir/downloads.ini.dpkg"
+        $DEBUG && echo "done."
+      else
+        $DEBUG && echo -n "Creating empty $new_mldonkey_dir/downloads.ini: "
+        /bin/touch "$new_mldonkey_dir/downloads.ini"
+        $DEBUG && echo "done."
+      fi
+         
+      $DEBUG && echo -n "Writing new values to $new_mldonkey_dir/downloads.ini: "
+      /usr/bin/mldonkey_options -f "$new_mldonkey_dir/downloads.ini" <<EOF
+run_as_useruid=$run_as_useruid
+run_as_user="$run_as_user"
+client_name="$client_name"
+enable_directconnect=$enable_directconnect
+enable_opennap=$enable_opennap
+enable_overnet=$enable_overnet
+enable_soulseek=$enable_soulseek
+enable_bittorrent=$enable_bittorrent
+enable_gnutella=$enable_gnutella
+enable_fasttrack=$enable_fasttrack
+max_hard_upload_rate=$max_hard_upload_rate
+max_hard_download_rate=$max_hard_download_rate
+EOF
+      $DEBUG && echo "done."
+      
+      #############
+      # Files.ini #
+      #############
+      
+      # Handling fasttrack file split here, better than in the mldonkey-server.init
+      
+      if [ -e "$new_mldonkey_dir/files.ini" ] \
+        && [ ! -e "$new_mldonkey_dir/files.ini.fasttrack" ] \
+        && /usr/bin/mldonkey_files --test Fasttrack -q -f0 "$new_mldonkey_dir/files.ini"; then
+        echo "Correction of the Fasttrack problem (see /usr/share/doc/mldonkey-server/README.Debian)"
+        echo -n "Splitting $new_mldonkey_dir/files.ini (backup in $new_mldonkey_dir/files.ini.fasttrack): "
+        /usr/bin/mldonkey_files --split Fasttrack -f0 "$new_mldonkey_dir/files.ini" \
+        -f1 "$new_mldonkey_dir/files.ini.fasttrack" \
+        -f2 "$new_mldonkey_dir/files.ini" 
+        echo "done."
+      fi
+
+
+      #############
+      # Users.ini #
+      #############
+      
+      if [ -e "$new_mldonkey_dir/downloads.ini" ] && \
+        /usr/bin/mldonkey_users --test-users-section -q -f "$new_mldonkey_dir/downloads.ini"; then
+        if [ -e "$new_mldonkey_dir/users.ini" ]; then
+          echo "File $new_mldonkey_dir/users.ini exists and $new_mldonkey_dir/downloads.ini contains a \"users\" section, this is inconstitent."
+          echo "Please user mldonkey_users(1) to strip the \"users\" section of $new_mldonkey_dir/downloads.ini."
+        else
+          # OK we have downloads.ini containing a "users" section, this is pre 2.5.28.1 
+          # configuration, lets split it...
+          $DEBUG && echo -n "Transferring \"users\" section  from file $new_mldonkey_dir/downloads.ini to $new_mldonkey_dir/users.ini: "
+          /usr/bin/mldonkey_users --dump-users-section -q -f "$new_mldonkey_dir/downloads.ini" > "$new_mldonkey_dir/users.ini"
+          /usr/bin/mldonkey_users --strip-users-section -q -f "$new_mldonkey_dir/downloads.ini" > "$new_mldonkey_dir/downloads.ini.tmp"
+          mv -f "$new_mldonkey_dir/downloads.ini.tmp" "$new_mldonkey_dir/downloads.ini"
+          $DEBUG && echo "done."
+        fi
+      fi
+      
+      if [  -n "$password" ]; then
+        if [ -e "$new_mldonkey_dir/users.ini" ]; then
+          $DEBUG && echo -n "Creating backup of $new_mldonkey_dir/users.ini: "
+          /bin/cp -p -f "$new_mldonkey_dir/users.ini" "$new_mldonkey_dir/users.ini.dpkg"
+          $DEBUG && echo "done."
+        else
+          $DEBUG && echo -n "Creating empty $new_mldonkey_dir/users.ini: "
+          /bin/touch "$new_mldonkey_dir/users.ini"
+          $DEBUG && echo "done."
+        fi
+
+	$DEBUG && echo -n "Registering admin password in $new_mldonkey_dir/users.ini: "
+	/usr/bin/mldonkey_users --add admin -q -f "$new_mldonkey_dir/users.ini" -p $password
+	$DEBUG && echo "done."
+      fi
+      
+      ####################
+      # Files permission #
+      ####################
+
+      for file in \
+        "$new_mldonkey_dir"  \
+        "/var/run/mldonkey" \
+        "/var/log/mldonkey" \
+        "$new_mldonkey_dir/downloads.ini" \
+        "$new_mldonkey_dir/downloads.ini.dpkg" \
+        "$new_mldonkey_dir/downloads.ini.old" \
+        "$new_mldonkey_dir/downloads.ini.tmp" \
+        "$new_mldonkey_dir/files.ini" \
+        "$new_mldonkey_dir/files.ini.fasttrack"; do
+        $DEBUG && echo -n "Changing owner and file permission of $file: "
+        if ! dpkg-statoverride --list "$file" >/dev/null; then
+          # BUG: cf dpkg-statoverride above
+          if [ -e "$file" ]; then
+            /bin/chown $run_as_user:$mldonkey_group $file
+            $DEBUG && echo "done."
+          else
+            $DEBUG && echo "$file doesn't exist."
+          fi
+        else
+          $DEBUG && echo "$file is listed in dpkg-statoverride."
+        fi
+      done
+
+      for file in \
+        "$new_mldonkey_dir/users.ini" \
+        "$new_mldonkey_dir/users.ini.dpkg" \
+        "$new_mldonkey_dir/users.ini.old" \
+        "$new_mldonkey_dir/users.ini.tmp"; do
+        $DEBUG && echo -n "Changing owner and file permission of $file: "
+        if ! dpkg-statoverride --list "$file" >/dev/null; then
+          # BUG: cf dpkg-statoverride above
+          if [ -e "$file" ]; then
+            /bin/chown $run_as_user:$mldonkey_group "$file"
+            /bin/chmod 0600 "$file"
+            $DEBUG && echo "done."
+          else
+            $DEBUG && echo "$file doesn't exist."
+          fi
+        else
+          $DEBUG && echo "$file is listed in dpkg-statoverride."
+        fi
+      done
+    fi
+
+    ################################
+    # /etc/default/mldonkey-server #
+    ################################
+    
+    CONF_NEW=`/bin/tempfile`
+    $DEBUG && echo -n "Writing new values to $CONF_NEW: "
+
+    cat > "$CONF_NEW" <<EOF
+# MLDonkey configuration
+# This file is loaded by /etc/init.d/mldonkey-server
+# This file is managed using ucf(1)
+
+MLDONKEY_DIR=$new_mldonkey_dir
+MLDONKEY_GROUP=$mldonkey_group
+MLDONKEY_UMASK=$mldonkey_umask
+MAX_ALIVE=$max_alive
+LAUNCH_AT_STARTUP=$launch_at_startup
+MLDONKEY_NICENESS=$mldonkey_niceness
+EOF
+
+    ucf "$CONF_NEW" "$CONF"
+
+    $DEBUG && echo "done."
+  ;;
+
+  abort-upgrade|abort-remove|abort-deconfigure)
+  ;;
+
+  *) 
+    echo "postinst called with unknown argument \`$1'" >&2
+    exit 1
+  ;;
+esac
+
+db_stop
+
+# For the rest
+#DEBHELPER#
--- mldonkey-2.7.3.orig/debian/mldonkey-gui.menu
+++ mldonkey-2.7.3/debian/mldonkey-gui.menu
@@ -0,0 +1,5 @@
+?package(mldonkey-gui):needs="X11" section="Apps/Net"\
+   hints="P2P"\
+   title="MLDonkey GUI"\
+   command="/usr/bin/mlgui"\
+   icon="/usr/share/pixmaps/mlgui.xpm"
--- mldonkey-2.7.3.orig/debian/FASTTRACK
+++ mldonkey-2.7.3/debian/FASTTRACK
@@ -0,0 +1,17 @@
+
+Fasttrack affair
+
+
+This source is a slighty modified version of a snapshot
+from Mldonkey repository.
+
+Fasttrack directory ( ./src/networks/fasttrack ) has been
+removed. This is due to the fact that there is a suspicion 
+over the code that is coming with it.
+
+I am very sorry of the situation, but since debian cannot 
+afford to contains problematic code, i modify the upstream
+source.
+
+Sylvain LE GALL 06/09/2003
+
--- mldonkey-2.7.3.orig/debian/mldonkey-server.menu
+++ mldonkey-2.7.3/debian/mldonkey-server.menu
@@ -0,0 +1,10 @@
+?package(mldonkey-server):needs="text" section="Apps/Net"\
+   hints="P2P"\
+   title="MLDonkey Server ( Start )"\
+   command="/usr/bin/mldonkey_server --start"\
+   icon="/usr/share/pixmaps/mlnet.xpm"
+?package(mldonkey-server):needs="text" section="Apps/Net"\
+   hints="P2P"\
+   title="MLDonkey Server ( Stop )"\
+   command="/usr/bin/mldonkey_server --stop"\
+   icon="/usr/share/pixmaps/mlnet.xpm"
--- mldonkey-2.7.3.orig/debian/xml-man/use_tags.xml
+++ mldonkey-2.7.3/debian/xml-man/use_tags.xml
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname-->Debian GNU/Linux<!--/productname-->">
+  <!ENTITY dhprg       "<command>use_tags</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>USE_TAGS</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>an editor for MP3 tag.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+	<arg>-s</arg>
+	<arg>-g <arg>name</arg></arg>
+	<arg>-f <arg>file</arg></arg> 
+	<arg>-s</arg>
+	<arg>-save</arg>
+	<arg>-p <arg>regexp</arg></arg>
+	<arg>-pauthor <arg>i</arg></arg>
+	<arg>-ptitle <arg>i</arg></arg>
+	<arg>-ptrack <arg>i</arg></arg>
+	<arg>-palbum <arg>i</arg></arg>
+	<arg>-cddb</arg>
+	<arg>-index</arg>
+	<arg>-convert <arg>filename</arg></arg>
+	<arg>-find</arg>
+	<arg>-send_udp</arg>
+	<arg>-help <replaceable>--help</replaceable></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program does not have a manual page.</para>
+
+	<para>This script was written by the debian developper to enable easy
+	configuration through debconf of <command>mlnet</command> server. There
+	is two way of using it : fetching a variable or setting variable.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-s</option></term>
+		<listitem>
+			<para>Allow tag modification.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-save</option></term>
+		<listitem>
+			<para>Move file depending on tags.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-p <arg>regexp</arg></option></term>
+		<listitem>
+			<para>Regex to recognize fields.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-p <arg>regexp</arg></option></term>
+		<listitem>
+			<para>Regex to recognize fields.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-pauthor <arg>i</arg></option></term>
+		<listitem>
+			<para>Position of author in regexp.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-ptitle <arg>i</arg></option></term>
+		<listitem>
+			<para>Position of title in regexp.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-ptrack <arg>i</arg></option></term>
+		<listitem>
+			<para>Position of track in regexp.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-palbum <arg>i</arg></option></term>
+		<listitem>
+			<para>Position of album in regexp.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-cddb</option></term>
+		<listitem>
+			<para>Undocumented.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-index</option></term>
+		<listitem>
+			<para>Undocumented.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-convert <arg>filename</arg></option></term>
+		<listitem>
+			<para>Convert a list of CDDB files into this binary filename.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-find</option></term>
+		<listitem>
+			<para>Find album with keywords.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-send_udp</option></term>
+		<listitem>
+			<para>Test UDP send.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-help <replaceable>--help</replaceable></option></term>
+		<listitem>
+			<para>Display the list of options.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+
+&license;
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mlguistarter.xml
+++ mldonkey-2.7.3/debian/xml-man/mlguistarter.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname--> Debian GNU/Linux <!--/productname-->">
+  <!ENTITY dhprg       "<command>mlguistarter</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_GUISTARTER</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a simple wrapper of <command>mlnet</command> to ask if 
+	<command>mlgui</command> need to be started.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program does not have a manual page.</para>
+
+	<para>This wrapper is internally used by mldonkey. You don't have to care
+	about it.</para>
+
+</refsect1>
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+	<para>mlgui <manvolnum>1</manvolnum></para>
+</refsect1>
+
+&license;
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_command.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_command.xml
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "Debian GNU/Linux">
+  <!ENTITY dhprg       "<command>mldonkey_command</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_COMMAND</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a wrapper to send command to a <command>mlnet</command> server.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+	<arg>options</arg>
+	<arg choice="req" rep="repeat">"mlnet command"</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program is &debian; specific.</para>
+
+	<para>This program allow you to send command to a mlnet instance. The
+	idea is to provide a simple script to do batch job with mlnet</para>
+
+</refsect1>
+
+<refsect1>
+	
+	<title>OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-P</option></term>
+		<listitem>
+			<para>Port of the telnet mldonkey server. By default 4000</para>
+	</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-h</option></term>
+		<listitem>
+			<para>Host of the telnet mldonkey server. By default localhost</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-u</option></term>
+		<listitem>
+			<para>Username to use while connecting. By default admin</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-p</option></term>
+		<listitem>
+			<para>Password to use while connecting. If none is specified, ask it on stdin</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-q</option></term>
+		<listitem>
+			<para>Run without displaying command result</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-s</option></term>
+		<listitem>
+			<para>Use stdin to enter command</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-v</option></term>
+		<listitem>
+			<para>Display login information</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>"mlnet commands"</option></term>
+		<listitem>
+		  <para>Any commands you can type in a telnet session connected
+		  to mlnet. Try "&dhprg; longhelp" to see a complete listing.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+	
+&license;
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+</refsect1>
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/Makefile
+++ mldonkey-2.7.3/debian/xml-man/Makefile
@@ -0,0 +1,8 @@
+
+%.1: %.xml
+	xsltproc --nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl $^
+
+all: mlgui.1 mlguistarter.1 mlnet.1 mldonkey_options.1 mldonkey_server.1 mldonkey_command.1 mldonkey_submit.1 mldonkey_users.1 mldonkey_files.1 mldonkey_create_chroot.1
+
+clean:
+	rm -rf *.1 *.8
--- mldonkey-2.7.3.orig/debian/xml-man/refentry.xml
+++ mldonkey-2.7.3/debian/xml-man/refentry.xml
@@ -0,0 +1,12 @@
+<refentryinfo>
+	<author>
+		<firstname>Sylvain</firstname>
+		<surname>Le Gall</surname>
+                <email>sylain.le-gall@polytechnique.org</email>
+	</author>
+	<copyright>
+		<year>2003</year>
+		<holder>Sylvain Le Gall</holder>
+	</copyright>
+	<date>May 20, 2003</date>
+</refentryinfo>
--- mldonkey-2.7.3.orig/debian/xml-man/license.xml
+++ mldonkey-2.7.3/debian/xml-man/license.xml
@@ -0,0 +1,18 @@
+<refsect1>
+	<title>LICENSE</title>
+
+        <para>
+          This manual page was written by 
+          <personname>
+            <firstname>Sylvain</firstname>
+            <surname>Le Gall</surname>
+          </personname>
+          <email>sylvain.le-gall@polytechnique.org</email>
+          for the Debian GNU/Linux system (but may be used by others).
+          Permission is granted to copy, distribute and/or modify this document
+          under the terms of the <acronym>GNU</acronym> Lesser General Public
+          License, Version 2.1 or any later version published by the Free
+          Software Foundation; considering as source code all the file that
+          enable the production of this manpage.
+        </para>
+</refsect1>
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_users.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_users.xml
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian        "Debian GNU/Linux">
+  <!ENTITY dhprg         "<command>mldonkey_users</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_USERS</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a configuration editor for <command>mlnet</command> init file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+        <group choice="req">
+          <arg>--add <arg choice="req">name</arg> </arg>
+          <arg>--del <arg choice="req">name</arg> </arg>
+          <arg>--check <arg choice="req">name</arg> </arg>
+          <arg>--list </arg>
+          <arg>--test-users-section </arg>
+          <arg>--dump-users-section </arg>
+          <arg>--strip-users-section </arg>
+        </group>
+        <arg choice="opt">-p <arg choice="req">password</arg> </arg>
+        <arg choice="opt">-f <arg choice="req">file</arg> </arg>
+        <arg choice="opt">-q </arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program is &debian; specific.</para>
+
+	<para>This script was written by the debian developper to enable easy
+	user management configuration of <command>mlnet</command> server.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-f <arg>file</arg></option></term>
+		<listitem>
+			<para>This option is needed. This is the name
+			of the file which contains the actual list of users
+			(downloads.ini).</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-p <arg>password</arg></option></term>
+		<listitem>
+			<para>Set the password for this user. If not set through 
+			the command line and required by action to be taken, user 
+			will be prompted to enter one.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-q</option></term>
+		<listitem>
+			<para>Quiet mode.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--add <arg>name</arg></option></term>
+		<listitem>
+			<para>Add the user whose name is given. If no password is
+			set, user will be prompted to enter one. If the user already 
+			exists, he will be replaced by the new one.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--del <arg>name</arg></option></term>
+		<listitem>
+			<para>Delete the user whose name is given.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--check <arg>name</arg></option></term>
+		<listitem>
+			<para>Check that the user has the password set with -p. If no
+			password is provided, it assumes that the application is performing
+			a sanity check and return an error if the password of the corresponding
+			user is empty.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--list</option></term>
+		<listitem>
+			<para>List all user managed by the file used.</para>
+		</listitem>
+	</varlistentry>
+        <varlistentry>
+          <term><option>--test-users-section</option></term>
+          <listitem>
+            <para>
+              Check for the presence of a users section. If a users section is found
+              in the given file, exit with an error code of 0 else exit with an error 
+              code of 1.
+            </para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>--dump-users-section</option></term>
+          <listitem>
+            <para>
+              Print on the standard output the users section.
+            </para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>--strip-users-section</option></term>
+          <listitem>
+            <para>
+              Print on the standard output all the given file, without the users 
+              section.
+            </para>
+          </listitem>
+        </varlistentry>
+	</variablelist>
+
+        <para>
+          The action <option>--add</option>, <option>--del</option>, <option>--check</option>,
+          <option>--list</option>, <option>--test-users-section</option>, 
+          <option>--dump-users-section</option> and <option>--strip-users-section</option>
+          are exclusive. You can only perform one at the same time.
+        </para>
+
+</refsect1>
+
+<refsect1>
+	<title>RETURN VALUE</title>
+
+	<para>If the program cannot found the user, an error code of 1 is returned.</para>
+
+	<para>During <option>--check</option>, if the password does not match the given password, 
+	an error code of 1 is returned. If no password is given and that the password match with the 
+	empty string, an error code of 1 is returned. Otherwise, it returns an error code of 0 ( no 
+	error )</para>
+
+      <para>
+        During <option>--test-users-section</option>, if a section if found an
+        error code of 0 is returned.  Otherwise an error code of 1 is returned.
+      </para>
+
+</refsect1>
+
+&license;
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+</refsect1>
+
+
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_create_chroot.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_create_chroot.xml
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "Debian GNU/Linux">
+  <!ENTITY dhprg       "<command>mldonkey_create_chroot</command>">
+  <!ENTITY license      " <title>LICENSE</title>
+                         <para>This manual page was written by Mick Kappenburg
+                         <email>mick@kappenburg.net</email>.
+			 Permission is granted  to copy, redistribute it and/or modify 
+			 it under the terms of the <acronym>GNU</acronym> General Public License as published by
+			 the Free Software Foundation; either version 2 of the License, or 
+			 (at your option) any later version.  
+                         </para>">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+<refentryinfo>
+        <address><email>mick@kappenburg.net</email></address>
+        <author>
+                <firstname>Mick</firstname>
+                <surname>Kappenburg</surname>
+        </author>
+        <copyright>
+                <year>2005</year>
+                <holder>Mick Kappenburg</holder>
+        </copyright>
+        <date>May 10, 2005</date>
+</refentryinfo>
+
+
+<refmeta>
+	<refentrytitle>MLDONKEY_CREATE_CHROOT</refentrytitle>
+	<manvolnum>8</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a script to create a jail for <command>mldonkey_server</command>.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg;
+	<arg>options</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the  &debian; distribution
+	because this script is &debian;  specific.</para>
+
+	<para>This script creates a jail for <command>mldonkey_server</command> using 
+	makejail.</para>
+
+</refsect1>
+
+<refsect1>
+	<title>COMMAND LINE OPTIONS</title>
+
+
+	<variablelist>
+	<varlistentry>
+		<term>-f filename</term>
+		<listitem>
+			<para>use file filename to overwrite default settings. Default /etc/default/mldonkey-server</para>
+		</listitem>
+	</varlistentry>
+     	<varlistentry>
+		<term>-u user</term>
+		<listitem>
+		       <para>run mldonkey server as user user. Default mldonkey</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-g group</term>
+		<listitem>
+			<para>run mldonkey_server as group group. Default mldonkey</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-r path</term>
+		<listitem>
+			<para>root directory for jail. Default /var/jail/mldonkey</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-d path</term>
+		<listitem>
+			<para>directory for downloads and mldonkey 'run time' files are stored. Default /var/lib/mldonkey</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-l filename</term>
+		<listitem>
+			<para>write log to filename. Default /dev/null</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-c</term>
+		<listitem>
+			<para>clean jail first. MOST BUT NOT ALL FILES ARE DETETED.
+                              (see make jail for more information)
+			</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-y</term>
+		<listitem>
+			<para>assume yes to all questions</para>
+		</listitem>
+	</varlistentry>
+      	<varlistentry>
+		<term>-h</term>
+		<listitem>
+			<para>shows this message end exits</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+
+<refsect1>
+  &license;
+</refsect1>
+
+<refsect1>
+        <title>SEE ALSO</title>
+
+        <para>makejail<manvolnum>8</manvolnum></para>
+</refsect1>
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_files.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_files.xml
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "Debian GNU/Linux">
+  <!ENTITY dhprg       "<command>mldonkey_files</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_FILES</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a files source filter for <command>mlnet</command> init file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+        <group choice="req">
+  	  <arg>--join</arg>
+	  <arg>--split <arg choice="req">network_name</arg></arg>
+          <arg>--test <arg choice="req">network_name</arg></arg>
+        </group>
+	<arg>-f0 <arg choice="req">file</arg></arg>
+	<arg>-f1 <arg choice="req">file</arg></arg>
+	<arg>-f2 <arg choice="req">file</arg></arg>
+	<arg>-q</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program is &debian; specific.</para>
+
+	<para>This script was written by the debian developper to permit smoother
+	transition to mldonkey without fasttrack support. MLDonkey suffer from a
+	fasttrack file GPL-problematic. The support of fasttrack has been removed 
+	from the upstream source.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-f0<arg>file</arg></option></term>
+		<listitem>
+			<para>This option is needed. First part of the tri term 
+			split/join expression</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-f1<arg>file</arg></option></term>
+		<listitem>
+			<para>This option is needed. Second part of the tri term 
+			split/join expression</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-f2<arg>file</arg></option></term>
+		<listitem>
+			<para>This option is needed. Third part of the tri term 
+			split/join expression</para>
+		</listitem>
+	</varlistentry>
+	
+	<varlistentry>
+		<term><option>--join</option></term>
+		<listitem>
+			<para>This command will merge <option>-f1</option> and 
+			<option>-f2</option> into file <option>-f0</option>. Be
+			warned that no confirmation will be asked. 
+			<option>-f0</option> will be erased.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--split <arg>network_name</arg></option></term>
+		<listitem>
+			<para>This command will separate file source entry 
+			concerning the network <arg>network_name</arg> from the
+			<option>-f0</option> file and the rest. The entry 
+			concerning <arg>network_name</arg> will be put in 
+			<option>-f1</option> file, the rest in 
+			<option>-f2</option> file. Be warned that no 
+			confirmation will be asked. <option>-f1</option> and 
+			<option>-f2</option> files will be erased.</para>
+		</listitem>
+        </varlistentry>
+        <varlistentry>
+		<term><option>--test <arg>network_name</arg></option></term>
+                <listitem>
+                  <para>
+                    This command will search file source entry 
+                    concerning the network <arg>network_name</arg> in the
+                    <option>-f0</option> file. If one file comes from the 
+                    given network, the exit code will be 0 else 1.
+                    </para>
+                </listitem>
+	</varlistentry>
+
+
+	<varlistentry>
+		<term><option>-q</option></term>
+		<listitem>
+			<para>Quiet mode.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+        <para>Actions <option>--split</option>, <option>--test</option> and 
+          <option>--join</option> are exclusive. You can only perform one at the 
+          same time.
+        </para>
+
+</refsect1>
+
+&license;
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+	<para><filename>/usr/share/doc/mldonkey-server/README.Debian</filename></para>
+</refsect1>
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/use_tags.help
+++ mldonkey-2.7.3/debian/xml-man/use_tags.help
@@ -0,0 +1,16 @@
+Your system supports 1024 file descriptors
+usage
+  -s : allow tag modification
+  -save  : move file depending on tags
+  -p  <regexp> : regexp to recognise fields
+  -pauthor  <i> : position of author in regexp
+  -ptitle  <i> : position of title in regexp
+  -ptrack  <i> : position of track in regexp
+  -palbum  <i> : position of album in regexp
+  -cddb 
+  -index 
+  -convert  <filename> : convert a list of CDDB files into this binary file
+  -find  : find albums with keywords
+  -send_udp  : test UDP send
+  -help  display this list of options
+  --help display this list of options
--- mldonkey-2.7.3.orig/debian/xml-man/mlgui.help
+++ mldonkey-2.7.3/debian/xml-man/mlgui.help
@@ -0,0 +1,26 @@
+Resolving [gallu] ...done
+Registered protocol IRC
+mlgui: the GUI to use with mldonkey
+  -dump_msg : update internationalisation message file
+  -toolbars_style <string> : 	What is displayed in toolbar buttons : text, icon or both (current: both)
+  -mini_toolbars <string> : 	Use mini icons in toolbars (current: true)
+  -login <string> : 	Your login name (default is admin) (current: admin)
+  -password <string> : 	The password to use when connecting to the server (current: isengard)
+  -port <string> : 	The server port to connect to (current: 4001)
+  -hostname <string> : 	The server hostname to connect to (current: localhost)
+  -files_auto_expand_depth <string> : 	The depth to which the directories of a friend are automatically expanded (current: 3)
+  -use_size_suffixes <string> : 	Whether sizes are printed using G(iga), M(ega) and k(ilo) suffixes. (current: true)
+  -availability_height <string> : 	Display the availability of each chunk as the height of the colored bar (current: true)
+  -availability_max <string> : 	If use_availability_height is true, which availability corresponds to
+  a full bar ? (current: 10)
+  -relative_availability <string> : 	Calculate the % avilability ignoring already present chunks (current: true)
+  -max_client_name_len <string> : 	Max length of a source name (current: 18)
+  -max_result_name_len <string> : 	Max length of a source name (current: 70)
+  -compaction_overhead <string> : 	The percentage of free memory before a compaction is triggered (current: 50)
+  -interface_buffer <string> : 	The size of the buffer to the core (current: 10000000)
+  -copy_messages <string> : 	For bundle binaries, should we directly pass structures between
+    the core and the GUI (faster), or copy them (fewer bugs)  (current: true)
+  -downloads_up <string> : 	Put the download frame up (current: true)
+  -chunk_width <string> : 	The chunk width in pixel (current: 3)
+  -help  display this list of options
+  --help display this list of options
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_server.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_server.xml
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname--> Debian GNU/Linux <!--/productname-->">
+  <!ENTITY dhprg       "<command>mldonkey_server</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_SERVER</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a wrapper to launch <command>mlnet</command> server.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg;
+	<arg>options</arg>
+	<arg>--</arg>
+	<arg>all options of mlnet</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program is &debian; specific.</para>
+
+	<para>This script is a simple wrapper to launch <command>mlnet</command>. It 
+	only action is to chdir in <filename>~/.mldonkey/</filename> and then launch
+	the server. It also respawn the mlnet daemon in case of this one fails.</para>
+
+</refsect1>
+
+<refsect1>
+	<title>OPTIONS</title>
+
+	<para>Differents options to launch this command.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>--daemon</option></term>
+		<listitem>
+			<para>Run in daemon mode</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--quiet</option></term>
+		<listitem>
+			<para>Keep quiet</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--logfile</option></term>
+		<listitem>
+			<para>Where to put the log ( not used for now ). By default ~/.mldonkey/mldonkey.log</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--pidfile</option></term>
+		<listitem>
+			<para>Where to put the pid. By default ~/.mldonkey/mldonkey.pid</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--program</option></term>
+		<listitem>
+			<para>Which program to start. By default /usr/bin/mlnet</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--chdir</option></term>
+		<listitem>
+			<para>Where to chdir. By default ~/.mldonkey/</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--chuid</option></term>
+		<listitem>
+			<para>What user to run under. By default user who launch mldonkey_server</para>
+		</listitem>
+	</varlistentry>
+        <varlistentry>
+          <term><option>--chgid</option></term>
+          <listitem>
+            <para>What group to run under. By default default group of the user who lauch mldonkey_server</para>
+          </listitem>
+        </varlistentry>
+	<varlistentry>
+		<term><option>--umask</option></term>
+		<listitem>
+			<para>What umask to use. By default user 0022</para>
+		</listitem>
+	</varlistentry>
+        <varlistentry>
+          <term><option>--nice</option></term>
+          <listitem>
+            <para>Niceness of the process. Only root can set a lower nice value to process.</para>
+          </listitem>
+        </varlistentry>
+	<varlistentry>
+		<term><option>--end-duration</option></term>
+		<listitem>
+			<para>How much time does it take to end mlnet. By default 5 min</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--max-alive</option></term>
+		<listitem>
+			<para>For how long an instance of mlnet should run ( in hour ). By default 1 day</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--min-alive</option></term>
+		<listitem>
+			<para>Minimun time between respawning. By default 15 min</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--respawn-after</option></term>
+		<listitem>
+			<para>When mlnet fails, how long to wait before restarting. By default 10 min</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--start</option></term>
+		<listitem>
+			<para>Start mldonkey_server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--stop</option></term>
+		<listitem>
+			<para>Stop a running mldonkey_server ( use the pidfile )</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--restart</option></term>
+		<listitem>
+			<para>Restart a running mldonkey_server ( use the pifile, only respawn mlnet )</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+	<para>All the duration need to be expessed in second</para>
+
+</refsect1>
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+</refsect1>
+
+&license;
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mlnet.help
+++ mldonkey-2.7.3/debian/xml-man/mlnet.help
@@ -0,0 +1,308 @@
+Resolving [gallu] ...done
+Network Global Shares registered
+Network Direct Connect registered
+Network Open Napster registered
+Network Gnutella registered
+Network BitTorrent registered
+Network Donkey registered
+Loading history file ...Network Soulseek registered
+No config file found. Generating one.
+No config file found. Generating one.
+Updating options to level 1
+Updating options to level 2
+
+  -v  : print version number and exit
+  -exit : exit immediatly
+  -format  <filename> : check file format
+  -test_ip <ip> : undocumented
+  -check_impl  : display information on the implementations
+  -stdout : keep output to console after startup
+  -daemon : start as a daemon (detach from console and run in background
+  -find_port  : find another port when one
+      is already used
+  -client_name <string> : 	small name of client (current: rragrr)
+  -allow_browse_share <string> : 	Allow others to browse our share list (current: true)
+  -buffer_writes <string> : 	Buffer writes and flush after buffer_writes_delay seconds (experimental) (current: false)
+  -gui_port <string> : 	port for user interaction (current: 4001)
+  -http_port <string> : 	The port used to connect to your client with a WEB browser (current: 4080)
+  -telnet_port <string> : 	port for user interaction (current: 4000)
+  -max_hard_upload_rate <string> : 	The maximal upload rate you can tolerate on your link in kBytes/s (0 = no limit)
+  The limit will apply on all your connections (clients and servers) and both
+control and data messages. (current: 7)
+  -max_hard_download_rate <string> : 	The maximal download rate you can tolerate on your link in kBytes/s (0 = no limit)
+  The limit will apply on all your connections (clients and servers) and both
+control and data messages. (current: 50)
+  -allowed_ips <string> : 	list of IP address allowed to connect to the core via telnet/GUI/WEB
+list separated by spaces, wildcard=255 ie: use 192.168.0.255 for 192.168.0.*  (current: 127.0.0.1 )
+  -enable_overnet <string> : 	Set to true if you also want mldonkey to run as an overnet client (enable_donkey must be true) (current: true)
+  -enable_bittorrent <string> : 	Set to true if you also want mldonkey to run as an Bittorrent client (current: true)
+  -enable_donkey <string> : 	Set to true if you also want mldonkey to run as a donkey client (current: true)
+  -enable_opennap <string> : 	Set to true if you also want mldonkey to run as a napster client (experimental) (current: false)
+  -enable_soulseek <string> : 	Set to true if you also want mldonkey to run as a soulseek client (experimental) (current: false)
+  -enable_gnutella <string> : 	Set to true if you also want mldonkey to run as a gnutella1/2 sub node (experimental) (current: false)
+  -enable_fasttrack <string> : 	Set to true if you also want mldonkey to run as a Fasttrack sub node (experimental) (current: false)
+  -enable_directconnect <string> : 	Set to true if you also want mldonkey to run as a direct-connect node (experimental) (current: false)
+  -auto_commit <string> : 	Set to false if you don't want mldonkey to automatically put completed files in incoming directory (current: true)
+  -smtp_server <string> : 	The mail server you want to use (must be SMTP). Use hostname or IP address (current: 127.0.0.1)
+  -smtp_port <string> : 	The port to use on the mail server (default 25) (current: 25)
+  -mail <string> : 	Your e-mail if you want to receive mails when downloads are completed (current: )
+  -add_mail_brackets <string> : 	Does your mail-server need <...> around addresses (current: false)
+  -max_concurrent_downloads <string> : 	The maximal number of files in Downloading state (other ones are Queued) (current: 60)
+  -filename_in_subject <string> : 	Send filename in mail subject (current: true)
+  -temp_directory <string> : 	The directory where temporary files should be put (current: ./temp)
+  -incoming_directory <string> : 	The directory where downloaded files should be moved after commit (current: ./incoming)
+  -client_ip <string> : 	The last IP address used for this client (current: 127.0.0.1)
+  -force_client_ip <string> : 	Use the IP specified by 'client_ip' instead of trying to determine it
+    ourself. Don't set this option to true if you have dynamic IP. (current: false)
+  -ask_for_gui <string> : 	Ask for GUI start (current: true)
+  -start_gui <string> : 	Automatically Start the GUI (current: false)
+  -run_as_user <string> : 	The login of the user you want mldonkey to run as, after the ports
+  have been bound (can be use not to run with root priviledges when 
+a port < 1024 is needed) (current: )
+  -run_as_useruid <string> : 	The UID of the user (0=disabled) you want mldonkey to run as, after the ports
+  have been bound (can be use not to run with root priviledges when 
+a port < 1024 is needed) (current: 0)
+  -max_opened_connections <string> : 	Maximal number of opened connections (current: 200)
+  -file_completed_cmd <string> : 	A command that is called when a file is completely
+    downloaded. Arguments are: <file_name on disk> <md4> <size> (current: )
+  -max_upload_slots <string> : 	How many slots can be used for upload (current: 5)
+  -dynamic_slots <string> : 	Set this to true if you want to have dynamic upload slot allocation (experimental) (current: false)
+  -max_connections_per_second <string> : 	Maximal number of connections that can be opened per second
+(will supersede max_clients_per_second in the future) (current: 10)
+  -buffer_writes_delay <string> : 	Buffer writes and flush after buffer_writes_delay seconds (experimental) (current: 30.)
+  -buffer_writes_threshold <string> : 	Flush buffers if buffers exceed buffer_writes_threshold kB (experimental) (current: 1024)
+  -enable_server <string> : 	Set to true if you also want mldonkey to run as a server (experimental) (current: false)
+  -enable_audiogalaxy <string> : 	Set to true if you also want mldonkey to run as an audiogalaxy satellite (experimental) (current: false)
+  -enable_openft <string> : 	Set to true if you also want mldonkey to run as a OpenFT sub node (experimental) (current: false)
+  -client_timeout <string> : 	Timeout on client connections when not queued (current: 40.)
+  -interface_buffer <string> : 	The size of the buffer between the client and its GUI. Can be useful
+to increase when the connection between them has a small bandwith (current: 1000000)
+  -max_name_len <string> : 	The size long names will be shorten to in the interface (current: 50)
+  -term_ansi <string> : 	Is the default terminal an ANSI terminal (escape sequences can be used) (current: true)
+  -previewer <string> : 	Name of program used for preview (first arg is local filename, second arg
+    is name of file as searched on eDonkey (current: /usr/bin/see)
+  -update_gui_delay <string> : 	Delay between updates to the GUI (current: 1.)
+  -incoming_directory_prio <string> : 	The upload prio of the incoming directory (current: 0)
+  -http_realm <string> : 	The realm shown when connecting with a WEB browser (current: MLdonkey)
+  -use_html_frames <string> : 	This option controls whether the WEB interface should use frames or not (current: true)
+  -commands_frame_height <string> : 	The height of the command frame in pixel (depends on your screen and browser sizes) (current: 80)
+  -mldonkey_bin <string> : 	Directory where mldonkey binaries are installed (current: /usr/bin)
+  -mldonkey_gui <string> : 	Name of GUI to start (current: ./mlgui)
+  -filter_search_delay <string> : 	Delay before two filtering on results (results
+    are not displayed until filtered). Min is 1 second. (current: 5.)
+  -tcpip_packet_size <string> : 	The size of the header of a TCP/IP packet on your connection (ppp adds
+    14 bytes sometimes, so modify to take that into account) (current: 40)
+  -mtu_packet_size <string> : 	The size of the MTU of a TCP/IP packet on your connection (current: 1500)
+  -minimal_packet_size <string> : 	The size of the minimal packet you want mldonkey to send when data is
+available on the connection (current: 600)
+  -network_update_url <string> : 	URL where mldonkey can download update information on the network (current: )
+  -motd_html <string> : 	Message printed at startup (automatically downloaded from the previous
+    URL directory (current: Welcome to MLdonkey)
+  -compaction_delay <string> : 	Force compaction every <n> hours (in [1..24]) (current: 2)
+  -vd_reload_delay <string> : 	The delay between reloads of the vd output in the WEB interface (current: 120)
+  -http_bind_addr <string> : 	The IP address used to bind the http server (current: 0.0.0.0)
+  -gui_bind_addr <string> : 	The IP address used to bind the gui server (current: 0.0.0.0)
+  -telnet_bind_addr <string> : 	The IP address used to bind the telnet server (current: 0.0.0.0)
+  -chat_app_port <string> : 	port of the external chat application (current: 5036)
+  -chat_app_host <string> : 	hostname of the external chat application (current: localhost)
+  -chat_port <string> : 	port used by the external chat application to use the core as a proxy (current: 4002)
+  -chat_bind_addr <string> : 	The IP address used to bind the chat server (current: 0.0.0.0)
+  -chat_console_id <string> : 	the id to use for communicating with the core console through chat interface (current: donkey console)
+  -chat_warning_for_downloaded <string> : 	use the chat to indicate when a file has been downloaded (current: true)
+  -minor_heap_size <string> : 	Size of the minor heap in kB (current: 32)
+  -min_reask_delay <string> : 	The minimal delay between two connections to the same client (in seconds) (current: 600)
+  -max_reask_delay <string> : 	The maximal delay between two connections to the same client (current: 3600)
+  -html_mods <string> : 	Whether to use the modified WEB interface (current: true)
+  -html_mods_style <string> : 	Which html_mods style to use (set with html_mods_style command) (current: 0)
+  -html_mods_human_readable <string> : 	Whether to use human readable GMk number format (current: true)
+  -html_mods_use_relative_availability <string> : 	Whether to use relative availability in the WEB interface (current: true)
+  -html_mods_vd_network <string> : 	Whether to display the Net column in vd output (current: false)
+  -html_mods_vd_active_sources <string> : 	Whether to display the Active Sources column in vd output (current: false)
+  -html_mods_vd_age <string> : 	Whether to display the Age column in vd output (current: true)
+  -html_mods_vd_last <string> : 	Whether to display the Last column in vd output (current: true)
+  -html_mods_vd_prio <string> : 	Whether to display the Priority column in vd output (current: false)
+  -html_mods_vd_queues <string> : 	Whether to display the Queues in vd # output (current: true)
+  -html_mods_show_pending <string> : 	Whether to display the pending slots in uploaders command (current: true)
+  -html_mods_load_message_file <string> : 	Whether to load the mldonkey_messages.ini file (false=use internal settings) (current: false)
+  -html_mods_max_messages <string> : 	Maximum chat messages to log in memory (current: 10)
+  -html_checkbox_file_list <string> : 	Whether to use checkboxes in the WEB interface (current: true)
+  -display_downloaded_results <string> : 	Whether to display results already downloaded (current: true)
+  -filter_table_threshold <string> : 	Minimal number of results for filter form to appear (current: 50)
+  -client_buffer_size <string> : 	Maximal size of the buffers of a client (current: 500000)
+  -save_options_delay <string> : 	The delay between two saves of the 'downloads.ini' file (default is 4 minutes) (current: 900.)
+  -server_connection_timeout <string> : 	timeout when connecting to a server (current: 15.)
+  -new_print_search <string> : 	Use new display of search results (with tables,
+    which might be slower for your browser to display) (current: false)
+  -download_sample_rate <string> : 	The delay between one glance at a file and another (current: 1.)
+  -download_sample_size <string> : 	How many samples go into an estimate of transfer rates (current: 10)
+  -ip_cache_timeout <string> : 	The time an ip address can be kept in the cache (current: 3600)
+  -verbosity <string> : 	A space-separated list of keywords. Each keyword triggers
+  printing information on the corresponding messages:
+  mc : debug client messages
+  ms : debug server messages
+  net : debug net
+  verb : debug other
+  loc : debug source research
+  sp : debug source propagation 
+  sm : debug source management
+  do : some download warnings
+  up : some upload warnings
+  unk : unknown messages
+  ov : overnet
+  share: debug sharing
+  md4 : md4 computation
+ (current: )
+  -compaction_overhead <string> : 	The percentage of free memory before a compaction is triggered (current: 25)
+  -log_size <string> : 	size of log in number of records (current: 300)
+  -max_displayed_results <string> : 	Maximal number of results displayed for a search (current: 1000)
+  -options_version <string> : 	(internal option) (current: 2)
+  -redirector <string> : 	IP:port of the network redirector (current: 128.93.52.5:3999)
+  -slsk--max_connected_servers <string> : 	The number of servers you want to stay connected to (current: 10)
+  -slsk--ip_cache_timeout <string> : 	The time an ip address can be kept in the cache (current: 3600.)
+  -slsk--load_serverlist <string> : 	Download a list of servers (current: true)
+  -slsk--client_port <string> : 	The port to bind the client to (current: 2234)
+  -slsk--login <string> : 	Your login on SoulSeek (current: )
+  -slsk--password <string> : 	Your password on SoulSeek (current: mldonkey)
+  -slsk--query_serverlist_limit <string> : 	The limit on the number of servers to avoid asking for a new list (current: 100)
+  -slsk--commit_in_subdir <string> : 	The subdirectory of temp/ where files should be moved to (current: SoulSeek)
+  -slsk--verbose_clients <string> : 	level of verbosity when communicating with clients (current: 0)
+  -slsk--verbose_servers <string> : 	level of verbosity when communicating with servers (current: 0)
+  -slsk--next_token <string> : 	the last token used for a query is saved here (current: 1)
+  -slsk--options_prefix <string> : 	The prefix which is appended to options names
+    when they are used in the telnet/WEB interfaces (current: slsk-)
+  --port <string> : 	The port used for connection by other donkey clients. (current: 4662)
+  --max_connected_servers <string> : 	The number of servers you want to stay connected to (current: 3)
+  --reliable_sources <string> : 	Should mldonkey try to detect sources responsible for corruption and ban them (current: false)
+  --filters <string> : 	filters on replies (replies will be kept). (current: )
+  --master_server_min_users <string> : 	The minimal number of users for a server
+    to be admitted as one of the 5 master servers (current: 0)
+  --force_high_id <string> : 	immediately close connection to servers that don't grant a High ID (current: false)
+  --update_server_list <string> : 	Set this option to false if you don't want auto
+    update of servers list (current: true)
+  --max_indirect_connections <string> : 	Maximal number of incoming connections at any moment (default 10000 = unlimited :) (current: 300)
+  --donkey_bind_addr <string> : 	The IP address used to bind the donkey client (current: 0.0.0.0)
+  --max_sources_per_file <string> : 	Maximal number of sources for each file (current: 500)
+  --client_md4 <string> : 	The MD4 of this client (current: 27517176110E972F7D5CBE0378F86FFF)
+  --random_order_download <string> : 	Should we try to download chunks in random order (false = linearly) ? (current: false)
+  --initial_score <string> : 	 (current: 5)
+  --max_xs_packets <string> : 	Max number of UDP packets per round for eXtended Search (current: 30)
+  --max_dialog_history <string> : 	Max number of messages of Chat remembered (current: 30)
+  --check_client_connections_delay <string> : 	Delay used to request file sources (current: 180.)
+  --check_connections_delay <string> : 	The delay between server connection rounds (current: 5.)
+  --max_udp_sends <string> : 	The number of UDP packets you send every check_client_connections_delay (current: 10)
+  --max_server_age <string> : 	max number of days after which an unconnected server is removed (current: 2)
+  --use_file_history <string> : 	keep seen files in history to allow local search (can be expensive in memory) (current: true)
+  --save_file_history <string> : 	save the file history in a file and load it at startup (current: true)
+  --compute_md4_delay <string> : 	The delay between computations of the md4 of chunks (current: 10.)
+  --keep_best_server <string> : 	Set this option to false if you don't want mldonkey
+    to change the master servers it is connected to (current: true)
+  --max_walker_servers <string> : 	Number of servers that can be used to walk
+between servers (current: 1)
+  --max_source_age <string> : 	Sources that have not been connected for this number of days are removed (current: 3)
+  --max_clients_per_second <string> : 	Maximal number of connections to sources per second (current: 10)
+  --log_clients_on_console <string> : 	 (current: false)
+  --propagate_sources <string> : 	Allow mldonkey to propagate your sources to other donkey clients (current: true)
+  --min_left_sources <string> : 	Minimal number of sources for a file (current: 100)
+  --black_list <string> : 	 (current: true)
+  --protocol_version <string> : 	The version of the protocol that should be sent to servers  (current: 61)
+  --emule_protocol_version <string> : 	The version of the protocol that should be sent to eMule peers  (current: 38)
+  --queued_timeout <string> : 	How long should we wait in the queue of another client (current: 1800.)
+  --upload_timeout <string> : 	How long can a silent client stay in the upload queue (current: 1800.)
+  --connected_server_timeout <string> : 	How long can a silent server stay connected (current: 1800.)
+  --upload_power <string> : 	The weight of upload on a donkey connection compared to upload on other
+  peer-to-peer networks. Setting it to 5 for example means that a donkey 
+  connection will be allowed to send 5 times more information per second than
+  an Open Napster connection. This is done to favorise donkey connections
+  over other networks, where upload is less efficient, without preventing
+  upload from these networks. (current: 5)
+  --propagate_servers <string> : 	Send an UDP packet to a central servers with the list of servers you
+  are currently connected to, for the central server to be able to
+    generate accurate server lists. (current: true)
+  --files_queries_per_minute <string> : 	Maximal number of localisation queries that can be sent to
+  one server per minute. Some servers kick clients when this
+  value is greater than 1 (current: 1)
+  --files_queries_initial_delay <string> : 	Initial delay after sending the first localisation queries to
+  a server, before sending other localisation queries. (current: 20)
+  --commit_in_subdir <string> : 	The subdirectory of temp/ where files should be moved to (current: )
+  --min_left_servers <string> : 	Minimal number of servers remaining after remove_old_servers (current: 200)
+  --servers_walking_period <string> : 	How often should we check all servers (minimum 4 hours, 0 to disable) (current: 6)
+  --options_prefix <string> : 	The prefix which is appended to options names
+    when they are used in the telnet/WEB interfaces (current: )
+  --keep_cancelled_in_old_files <string> : 	Are the cancelled files added to the old files list to prevent re-download ? (current: false)
+  --new_upload_system <string> : 	Should we use the new experimental upload system (current: true)
+  --send_warning_messages <string> : 	true if you want your mldonkey to lose some
+upload bandwidth sending messages to clients which are banned :) (current: false)
+  --ban_queue_jumpers <string> : 	true if you want your client to ban
+    clients that try queue jumping (3 reconnections faster than 9 minutes) (current: true)
+  --use_server_id <string> : 	true if you want your client IP to be set from servers ID (current: false)
+  --ban_period <string> : 	Set the number of hours you want client to remain banned (current: 1)
+  --good_client_rank <string> : 	Set the maximal rank of a client to be kept as a client (current: 500)
+  --source_management <string> : 	Which source management to use:
+    1: based on separate time queues, shared by files (2.02-1...2.02-5)
+    2: based on unified queues with scores, shared by files (2.02-6...2.02-9)
+    3: based on separate file queues (2.02-10)
+     (current: 3)
+  --sources_per_chunk <string> : 	How many sources to use to download each chunk (current: 1)
+  --overnet_store_size <string> : 	Size of the filename storage used to answer queries (current: 2000)
+  --overnet_protocol_connect_version <string> : 	The protocol version sent on Overnet connections (current: 1044)
+  --overnet_protocol_connectreply_version <string> : 	The protocol version sent on Overnet connections replies (current: 44)
+  --overnet_port <string> : 	port for overnet (current: 15762)
+  --overnet_max_known_peers <string> : 	maximal number of peers to keep overnet connected (should be >2048) (current: 8192)
+  --overnet_search_keyword <string> : 	allow extended search to search on overnet (current: false)
+  --overnet_search_timeout <string> : 	How long shoud a search on Overnet wait for the last answer before terminating (current: 140)
+  --overnet_query_peer_period <string> : 	Period between two queries in the overnet tree (should not be set under 5) (current: 5.)
+  --overnet_max_search_hits <string> : 	Max number of hits in a search on Overnet (current: 200)
+  --overnet_options_version <string> : 	(internal) (current: 0)
+  -BT--client_port <string> : 	The port to bind the client to (current: 6882)
+  -BT--commit_in_subdir <string> : 	The subdirectory of temp/ where files should be moved to (current: BT)
+  -BT--client_uid <string> : 	The UID of this client (current: VUODDHWDOMQR74JB26WKMQOVFOGC7PRP)
+  -BT--options_prefix <string> : 	The prefix which is appended to options names
+    when they are used in the telnet/WEB interfaces (current: BT-)
+  -BT--delete_original <string> : 	Should MLdonkey delete the file downloaded when splitting has been succesful (current: false)
+  -GNUT--g1_max_ultrapeers <string> : 	Maximal number of ultrapeers connected on Gnutella1 (current: 5)
+  -GNUT--g2_max_ultrapeers <string> : 	Maximal number of ultrapeers connected on Gnutella2 (current: 5)
+  -GNUT--client_port <string> : 	The port to bind the client to (current: 6346)
+  -GNUT--gnutella1_enabled <string> : 	Do you want to support Gnutella1 protocol (current: true)
+  -GNUT--gnutella2_enabled <string> : 	Do you want to support Gnutella2 protocol (not yet supported) (current: true)
+  -GNUT--commit_in_subdir <string> : 	The subdirectory of temp/ where files should be moved to (current: Gnutella)
+  -GNUT--max_known_ultrapeers <string> : 	Maximal number of ultrapeers remembered (current: 100)
+  -GNUT--max_known_peers <string> : 	Maximal number of peers remembered (current: 20)
+  -GNUT--server_connection_timeout <string> : 	timeout when connecting to a server (current: 10.)
+  -GNUT--client_uid <string> : 	The UID of this client (current: 02F88E9E80EAE35859E7786F3DF13E7A)
+  -GNUT--options_prefix <string> : 	The prefix which is appended to options names
+    when they are used in the telnet/WEB interfaces (current: GNUT-)
+  -GNUT--max_available_slots <string> : 	The maximal number of slots for upload by Gnutella clients (current: 5)
+  -OpenNap--client_port <string> : 	The data port for napster uploads (current: 9999)
+  -OpenNap--max_connected_servers <string> : 	The number of servers you want to stay connected to (current: 5)
+  -OpenNap--client_password <string> : 	The password used to log on the napster server (current: nopass)
+  -OpenNap--client_port <string> : 	The data port for napster uploads (current: 6699)
+  -OpenNap--client_info <string> : 	The info on this client (current: mldonkey v1.99beta3)
+  -OpenNap--use_napigator <string> : 	Download a list of servers from www.napigator.com (current: true)
+  -OpenNap--servers_list_url <string> : 	The URL from which servers list is downloaded (current: http://www.napigator.com/servers/)
+  -OpenNap--server_connection_timeout <string> : 	timeout when connecting to a server (current: 10.)
+  -OpenNap--max_shared_files <string> : 	The maximal number of files to share on a server (current: 400)
+  -OpenNap--commit_in_subdir <string> : 	The subdirectory of temp/ where files should be moved to (current: Napster)
+  -OpenNap--options_prefix <string> : 	The prefix which is appended to options names
+    when they are used in the telnet/WEB interfaces (current: OpenNap-)
+  -DC--max_connected_servers <string> : 	The number of servers you want to stay connected to (current: 5)
+  -DC--search_timeout <string> : 	The time a search is active (current: 60)
+  -DC--load_hublist <string> : 	Download a list of servers (current: true)
+  -DC--firewalled <string> : 	Is this client firewalled (use passive searches) (current: false)
+  -DC--shared_offset <string> : 	An amount of bytes to add to the shared total (can help to connect) (current: 11534336.)
+  -DC--client_port <string> : 	The port to bind the client to (current: 4444)
+  -DC--login <string> : 	Your login on DC (no spaces !!!) (current: )
+  -DC--query_hublist_limit <string> : 	The limit on the number of servers to avoid asking for a new list (current: 100)
+  -DC--commit_in_subdir <string> : 	The subdirectory of temp/ where files should be moved to (current: DC)
+  -DC--servers_list_url <string> : 	The URL from which the first server list is downloaded (current: http://www.neo-modus.com/PublicHubList.config)
+  -DC--client_description <string> : 	The description sent in the MyINFO message (current: mldc client)
+  -DC--client_speed <string> : 	The line speed sent in the MyINFO message (current: DSL)
+  -DC--client_keyinfo <string> : 	The key info sent in the handshake message (current: Pk=mldc)
+  -DC--network_options_prefix <string> : 	The prefixes used before Direct-Connect options (current: DC-)
+  -DC--client_options_version <string> : 	To automatically update your options (current: 0)
+  -dump  <filename> : dump file
+  -known  <filename> : print a known.met file
+  -part  <filename> : print a .part.met file
+  -server  <filename> : print a server.met file
+  -pref  <filename> : print a server.met file
+  -help  display this list of options
+  --help display this list of options
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_options.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_options.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+<!ENTITY debian      "<!--productname--> Debian GNU/Linux <!--/productname-->">
+  <!ENTITY dhprg       "<command>mldonkey_options</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_OPTIONS</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a configuration editor for <command>mlnet</command> init file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+	<arg>-s</arg>
+	<arg>-g <arg choice="req">name</arg></arg>
+	<arg choice="req">-f <arg choice="req">file</arg></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program is &debian; specific.</para>
+
+	<para>This script was written by the debian developper to enable easy
+	configuration through debconf of <command>mlnet</command> server. There
+	is two way of using it : fetching a variable or setting variable.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-f <arg>file</arg></option></term>
+		<listitem>
+			<para>This option is needed. This is the name
+			of the file which will be opened and parsed.</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-g <arg>name</arg></option></term>
+		<listitem>
+			<para>Name of the variable to fetch. Be conscient
+			that only some variable can be outputed. Only string,
+			ident, simple list, int and float variable can be 
+			displayed. All the variable will be displayed unquoted. It is 
+			very limitative, but it is recommended to use it only to fetch
+			some simple value : password, port...</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-s</option></term>
+		<listitem>
+			<para>The application switch to option edition. In fact
+			you will have to type all variable as you want it to be set
+			in the file. At the end of the input the file is writtent and
+			contains all the value sets.</para>
+			<para>If one option, you set, is not in the file, it will be append
+			at the end of the file</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+</refsect1>
+
+&license;
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_submit.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_submit.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname--> Debian GNU/Linux <!--/productname-->">
+  <!ENTITY dhprg       "<command>mldonkey_submit</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_SUBMIT</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>a wrapper to send ed2k link to a <command>mlnet</command> server.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+	<arg>options</arg>
+	<arg>--</arg>
+	<arg>all options of <command>mldonkey_command</command></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program is &debian; specific.</para>
+
+	<para>This script is a simple wrapper to send ed2k link to <command>mlnet</command>.</para>
+	
+</refsect1>
+
+
+<refsect1>
+
+	<title>OPTIONS</title>
+
+	<para>There is only a few options, you will need to configure the mldonkey_command especially 
+	for password/user...</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>--program</option></term>
+		<listitem>
+			<para>Name of the mldonkey_command program. By default /usr/bin/mldonkey_command</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+	<para>mldonkey_command <manvolnum>1</manvolnum></para>
+</refsect1>
+
+&license;
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mlnet.xml
+++ mldonkey-2.7.3/debian/xml-man/mlnet.xml
@@ -0,0 +1,2359 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname--> Debian GNU/Linux <!--/productname-->">
+  <!ENTITY dhprg       "<command>mlnet</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLNET</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>your door to Edonkey, Directconnect, Gnutella, Bittorent<!--, Fasttrack-->, Overnet, OpenNap networks</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+	<arg>common options</arg>
+	<arg>misc options</arg>
+	<arg>servers options</arg>
+	<arg>search options</arg>
+	<arg>chat options</arg>
+	<arg>port options</arg>
+	<arg>delays options</arg>
+	<arg>upload options</arg>
+	<arg>directconnect options</arg>
+	<arg>limewire options</arg>
+	<arg>opennap options</arg>
+	<arg>overnet options</arg>
+	<arg>soulseek options</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program does not have a manual page.</para>
+
+	<para>With &dhprg; you will be able to connect to different peer-to-peer network :
+	<itemizedlist>
+		<listitem><para>Edonkey</para></listitem>
+		<listitem><para>DirectConnect</para></listitem>
+		<listitem><para>Overnet</para></listitem>
+		<listitem><para>OpenNap</para></listitem>
+		<listitem><para>Bittorent</para></listitem>
+		<listitem><para>Gnutella</para></listitem>
+		<!--listitem><para>Fasttrack</para></listitem-->
+	</itemizedlist>
+	</para>
+
+	<para>Peer to peer network is based on sharing file. Moreover, many servers on this 
+	different network have connection scripting. If you want to be welcome everywhere, it 
+	is highly recommended to share some files. When sharing take two consideration : number
+	of file and total size of this file. The limit is typically : sharing more than 1 Gb and
+	less than 1000 files.</para>
+
+	<para>MLDonkey is always in developpement. The download rate is not guaranteed. Through version
+	it appears that queueing, uploading, downloading could be buggy. Normally, none of this bug 
+	really restrict you download / upload rate. If you see a very low rate, try to review all your
+	settings and sharing before contacting the <surname>MLDonkey user mailing-list</surname>
+	<email>mldonkey-users@nongnu.org</email>.</para>
+
+</refsect1>
+
+<refsect1>
+	<title>ENVIRONNEMENT</title>
+
+	<para>COLUMNS,LINES sets width and height for the terminal.
+	This is the terminal as you see it when connecting to the telnet port
+	of you MLDonkey client.</para>
+	
+	<para>MLDONKEY_DIR sets name of the directory where the application will run.
+	This directory must contains all the files describe in <emphasis>mldonkey_ini</emphasis>
+	</para>
+
+	<para>MLDONKEY_MESSAGES	name of the file where you can found the message for mldonkey.
+	</para>
+	
+	<para>YAHOO_SERVER hostname of the yahoo server to contact for Instant Messenging.
+	</para>
+	
+</refsect1>
+
+<refsect1>
+	<title>COMMON OPTIONS</title>
+
+	<para>Common options deals with the Edonkey protocol, which is by default always registered, and some 
+	basic features of the server</para>
+	
+	<variablelist>
+	<varlistentry>
+		<term><option>-v</option></term>
+		<listitem>
+			<para>Print version number and exit</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-exit</option></term>
+		<listitem>
+			<para>Exit immediatly</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-format</option></term>
+		<listitem>
+			<para>Type : filename</para>
+			<para>Check file format</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-test_ip</option></term>
+		<listitem>
+			<para>Type : ip</para>
+			<para>Undocumented</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-check_impl</option></term>
+		<listitem>
+			<para>Display information on the implementations</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-find_port</option></term>
+		<listitem>
+			<para>Find another port when one is already used</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-dump</option></term>
+		<listitem>
+			<para>Type : filename</para>
+			<para>Dump file</para>
+		</listitem>
+	</varlistentry>
+	 <varlistentry>
+		<term><option>-known</option></term>
+		<listitem>
+			<para>Type : filename</para>
+			<para>Print a known.met file</para>
+		</listitem>
+	</varlistentry> 
+	<varlistentry>
+		<term><option>-part</option></term>
+		<listitem>
+			<para>Type : filename</para>
+			<para>Print a .part.met file</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-server</option></term>
+		<listitem>
+			<para>Type : filename</para>
+			<para>Print a server.met file</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-pref</option></term>
+		<listitem>
+			<para>Type : filename</para>
+			<para>Print a server.met file</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-help<replaceable>--help</replaceable></option></term>
+		<listitem>
+			<para>Display the list of options</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_server</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as a server (experimental)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-interface_buffer</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1000000</para>
+			<para>The size of the buffer between the client and its GUI. Can be useful
+			to increase when the connection between them has a small bandwith</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_name_len</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 50</para>
+			<para>The size long names will be shorten to in the interface</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-previewer</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : mldonkey_previewer</para>
+			<para>Name of program used for preview (first arg is local filename, second arg
+			is name of file as searched on eDonkey</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-initialized</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : false</para>
+			<para>(not used)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-network_update_url</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>URL where mldonkey can download update information on the network</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-file_completed_cmd</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>A command that is called when a file is completely
+			downloaded. Arguments are: &gt;file_name on disk&lt; &gt;md4&lt; &gt;size&lt;</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-log_size</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 300</para>
+			<para>Size of log in number of records.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-verbosity</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>A space-separated list of keywords. Each keyword triggers
+			printing information on the corresponding messages :
+			<itemizedlist>
+			<listitem>
+				<para>mc : debug client messages</para>
+			</listitem>
+			<listitem>
+				<para>ms : debug server messages</para>
+			</listitem>
+			<listitem>
+				<para>net : debug net</para>
+			</listitem>
+			<listitem>
+				<para>verb : debug other</para>
+			</listitem>
+			<listitem>
+				<para>sp : debug source propagation</para>
+			</listitem>
+			<listitem>
+				<para>sm : debug source management</para>
+			</listitem>
+			<listitem>
+				<para>do : some download warnings</para>
+			</listitem>
+			<listitem>
+				<para>up : some upload warnings</para>
+			</listitem>
+			<listitem>
+				<para>unk : unknown messages</para>
+			</listitem>
+			<listitem>
+				<para>ov : overnet</para>
+			</listitem>
+			<listitem>
+				<para>share: debug sharing</para>
+			</listitem>
+			<listitem>
+				<para>md4 : md4 computation</para>
+			</listitem>
+			<listitem>
+				<para>loc : debug source research</para>
+			</listitem>
+			</itemizedlist>
+			</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-options_version</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 2</para>
+			<para>(internal option)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-stdout</option></term>
+		<listitem>
+			<para>Keep outputing to the console after starting</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-daemon</option></term>
+		<listitem>
+			<para>Start as a daemon ( detach from console and run 
+			in background ).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-allow_browse_share</option></term>
+		<listitem>
+			<para>Allow other user to browse our share list.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+<refsect1>
+	<title>UNCLASSIFIED OPTIONS</title>
+
+	<para>Options that cannot be classified</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-term_ansi</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Is the default terminal an ANSI terminal</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-emule_protocol_version</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 38</para>
+			<para>The version of the protocol that should be sent to eMule peers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-buffer_writes</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Buffer writes and flush after buffer_writes_delay seconds (experimental).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-buffer_writes_delay</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 30</para>
+			<para>Buffer writes and flush after buffer_writes_delay seconds (experimental).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-buffer_writes</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1024</para>
+			<para>Flush buffers if buffers exceed buffer_writes_threshold kB (experimental).</para>
+		</listitem>
+	</varlistentry>
+
+
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>MEMORY OPTIONS</title>
+
+	<para>These options deal with memory management system</para>
+	<para>You need to have some knowledge of Ocaml memory management
+	to understand all this features</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-compaction_overhead</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 25</para>
+			<para>The percentage of free memory before a compaction is triggered</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-compaction_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 2</para>
+			<para>Force compaction every n hours (in [1..24])</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-minor_heap_size</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 32</para>
+			<para>Size of the minor heap in kB</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>FILE LOCATION OPTIONS</title>
+
+	<para>These options deal with location of different file.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-temp_directory</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>The directory where temporary files should be put.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-incoming_directory</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>The directory where downloaded files should be moved after commit.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-incoming_directory_prio</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 0</para>
+			<para>The upload prio of the incoming directory.</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>The subdirectory of temp/ where files should be moved to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-mldonkey_bin</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : .</para>
+			<para>Directory where mldonkey binaries are installed</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>CLIENT IDENTIFICATION OPTIONS</title>
+
+	<para>Options dealing with identification of the client</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-client_name</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : (auto-generated)</para>
+			<para>Small name of client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-client_uid</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : (auto-generated)</para>
+			<para>The UID of this client.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>--use_client_id</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>True if you want your client IP to be set from servers ID.</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-allowed_ips</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 127.0.0.1 </para>
+			<para>List of IP address allowed to control the client via telnet/GUI/WEB. It could be a list separated by white space. Use 255 as a wild card : 192.168.0.255 means 192.168.0.*.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>BANDWIDTH OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-max_hard_upload_rate</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 7</para>
+			<para>The maximal upload rate you can tolerate on your link in kB/s</para>
+			<para>The limit will apply on all your connections (clients and servers) 
+			and both control and data messages.</para>
+			<para>0 means no limit</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_hard_download_rate</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 50</para>
+			<para>The maximal download rate you can tolerate on your link in kB/s</para>
+			<para>The limit will apply on all your connections (clients and servers) and both
+			control and data messages.</para>
+			<para>0 means no limit</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-new_upload_system</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Should we use the new experimental upload system</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_opened_connections</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 200</para>
+			<para>Maximal number of opened connections</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_indirect_connections</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 300</para>
+			<para>Maximal number of incoming connections at any moment ( 10000 = unlimited ).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-client_buffer_size</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 500000</para>
+			<para>Maximal size of the buffers of a client</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>STARTUP OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-ask_for_gui</option></term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : true</para>
+			<para>Ask for GUI start</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-start_gui</option></term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : false</para>
+			<para>Automatically Start the GUI</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-mldonkey_gui</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : /usr/bin/mlgui</para>
+			<para>Name of GUI to start</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-run_as_user</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>The login of the user you want mldonkey to run as, after the ports
+			have been bound (can be use not to run with root priviledges when 
+			a port &lt; 1024 is needed)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-run_as_userid</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 0</para>
+			<para>The login of the user you want mldonkey to run as, after the ports
+			have been bound (can be use not to run with root priviledges when 
+			a port &lt; 1024 is needed). 0 means disabled.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>HTML INTERFACE OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-http_realm</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : MLdonkey</para>
+			<para>The realm shown when connecting with a WEB browser</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-use_html_frames</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>This option controls whether the WEB interface should use frames or not</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-commands_frame_height</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 140</para>
+			<para>The height of the command frame in pixel (depends on your screen and browser sizes).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-vd_reload_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 120</para>
+			<para>The delay between reloads of the vd output in the WEB interface</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_checkbox_file_list</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Whether to use checkboxes in the WEB interface</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>The prefix which is appended to options names
+			when they are used in the telnet/WEB interfaces.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-motd_html</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default :</para>
+			<para>Message printed at startup (automatically downloaded from the 
+			network_update_url ).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to use the modified WEB interface.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_human_readable</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to use human readable GMk number format.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_use_relative_availability</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to use relative availability in the WEB interface.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_vd_age</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to display the Age column in vd output.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_vd_last</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to display the Last column in vd output.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_vd_queues</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to display the Queues in vd # output.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_show_pending</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to display the pending slots in uploaders command.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_max_messages</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>Maximum chat messages to log in memory.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_style</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 0</para>
+			<para>Which html_mods style to use (set with html_mods_style command).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_vd_network</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Whether to display the Net column in vd output.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_vd_active_sources</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Whether to display the Active Sources column in vd output.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_vd_prio</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Whether to display the Priority column in vd output.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-html_mods_load_message_file</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Whether to load the mldonkey_messages.ini file (false=use internal settings).</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>SMTP OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-smtp_server</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 127.0.0.1</para>
+			<para>The mail server you want to use (must be SMTP). Use hostname or IP address</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-smtp_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 25</para>
+			<para>The port to use on the mail server (default 25)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-add_mail_brackets</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Does your mail-server need &gt;...&lt; around addresses.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-mail</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Your e-mail if you want to receive mails when downloads are completed</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-filename_in_subject</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Send filename in mail subject.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>TCP/IP OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-tcpip_packet_size</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 40</para>
+			<para>The size of the header of a TCP/IP packet on your connection (ppp adds
+			14 bytes sometimes, so modify to take that into account)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_udp_sends</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>The number of UDP packets you send every check_client_connections_delay</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-mtu_packet_size</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1500</para>
+			<para>The size of the MTU of a TCP/IP packet on your connection.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-redirector</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 128.93.52.5:3999</para>
+			<para>IP:port of the network redirector</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-minimal_packet_size</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 600</para>
+			<para>The size of the minimal packet you want mldonkey to send when data is
+			available on the connection.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+<title>OPTIONS SERVERS</title>
+
+	<para>These options deal with the different protocol you can activate.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-enable_overnet</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set to true if you also want mldonkey to run as an overnet client( enable_donkey must be true ).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_donkey</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set to true if you also want mldonkey to run as a donkey client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_opennap</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as a napster client (experimental)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_soulseek</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as a soulseek client (experimental)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_audiogalaxy</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as an audiogalaxy satellite (experimental)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_directconnect</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set to true if you also want mldonkey to run as a direct-connect node (experimental)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_openft</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as a OpenFT sub node (experimental)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_bittorent</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set to true if you also want mldonkey to run as a Bittorent client.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-enable_gnutella</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as a Gnutella 1/2 sub node ( experimental ).</para>
+		</listitem>
+	</varlistentry>
+	<!--varlistentry>
+		<term><option>-enable_fasttrack</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set to true if you also want mldonkey to run as a Fasttrack sub node ( experimental ).</para>
+		</listitem>
+	</varlistentry-->
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>SEARCH OPTIONS</title>
+
+	<para>These options deals with search results sorting, sampling...</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-new_print_search</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Use new display of search results (with tables,
+			which might be slower for your browser to display)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-filter_search_delay</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>Delay before two filtering on results (results
+			are not displayed until filtered). Min is 1 second.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-display_downloaded_results</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Whether to display results already downloaded</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-filter_table_threshold</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 50</para>
+			<para>Minimal number of results for filter form to appear</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_displayed_results</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1000</para>
+			<para>Maximal number of results displayed for a search</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-filters</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Filters on replies (replies will be kept).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-use_file_history</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Keep seen files in history to allow local search (can be expensive in memory)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_xs_packets</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 30</para>
+			<para>Max number of UDP packets per round for eXtended Search</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>CHAT OPTIONS</title>
+
+	<para>Chat options deals with the builtin chat protocol</para>
+	
+	<variablelist>
+	<varlistentry>
+		<term><option>-chat_app_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 5036</para>
+			<para>Port of the external chat application</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-chat_app_host</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : localhost</para>
+			<para>Hostname of the external chat application</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-chat_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 4002</para>
+			<para>Port used by the external chat application to use the core as a proxy</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-chat_bind_addr</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0.0.0.0</para>
+			<para>The IP address used to bind the chat server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-chat_console_id</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : donkey console</para>
+			<para>The id to use for communicating with the core console through chat interface</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-chat_warning_for_downloaded</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Use the chat to indicate when a file has been downloaded</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_dialog_history</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 30</para>
+			<para>Max number of messages of Chat remembered</para>
+		</listitem>
+	</varlistentry>
+
+ 	</variablelist>
+</refsect1>
+
+<refsect1>
+<title>PORT OPTIONS</title>
+
+	<para>These options deal with the different port binding</para>
+
+	<para>Some connections are protocol specific.</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 4662</para>
+			<para>The port used for connection by other donkey clients.</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-gui_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 4001</para>
+			<para>Port for user interaction</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-gui_bind_addr</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0.0.0.0</para>
+			<para>The IP address used to bind the gui server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-http_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 4080</para>
+			<para>The port used to connect to your client with a WEB browser</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-http_bind_addr</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0.0.0.0</para>
+			<para>The IP address used to bind the http server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-telnet_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 4000</para>
+			<para>Port for user interaction</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-telnet_bind_addr</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0.0.0.0</para>
+			<para>The IP address used to bind the telnet server</para>
+		</listitem>
+	</varlistentry>
+		<varlistentry>
+		<term><option>-client_ip</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 192.168.0.12</para>
+			<para>The last IP address used for this client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-force_client_ip</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : false</para>
+			<para>Use the IP specified by 'client_ip' instead of trying to determine it
+			ourself. Don't set this option to true if you have dynamic IP.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+
+</refsect1>
+
+<refsect1>
+	<title>DELAYS OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-min_reask_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 720</para>
+			<para>The minimal delay between two connections to the same client (in seconds)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_reask_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 3600</para>
+			<para>The maximal delay between two connections to the same client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-download_sample_rate</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1.</para>
+			<para>The delay between one glance at a file and another</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-download_sample_size</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>How many samples go into an estimate of transfer rates</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-update_gui_delay</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1</para>
+			<para>Delay between updates to the GUI</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-server_connection_timeout</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 15</para>
+			<para>Timeout when connecting to a server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-client_timeout</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 40</para>
+			<para>Timeout on client connections when not queued</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-ip_cache_timeout</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 3600</para>
+			<para>The time an ip address can be kept in the cache</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-queued_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1800.</para>
+			<para>How long should we wait in the queue of another client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-upload_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1800.</para>
+			<para>How long can a silent client stay in the upload queue</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-connected_server_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1800.</para>
+			<para>How long can a silent server stay connected</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-check_client_connections_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 180.</para>
+			<para>Delay used to request file sources</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-check_connections_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 5.</para>
+			<para>The delay between server connection rounds</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-save_options_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 900.</para>
+			<para>The delay between two saves of the 'downloads.ini' file (default is 4 minutes)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-compute_md4_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 10.</para>
+			<para>The delay between computations of the md4 of chunks</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>UPLOAD SYSTEM OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-initial_score</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 5</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-max_connected_servers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 3</para>
+			<para>The number of servers you want to stay connected to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_server_age</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 2</para>
+			<para>Max number of days after which an unconnected server is removed</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-save_file_history</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Save the file history in a file and load it at startup</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-master_server_min_users</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0</para>
+			<para>The minimal number of users for a server
+			to be admitted as one of the 5 master servers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-force_high_id</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Immediately close connection to servers that don't grant a High ID</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-update_server_list</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set this option to false if you don't want auto
+			update of servers list</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-keep_best_server</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set this option to false if you don't want mldonkey
+			to change the master servers it is connected to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_walker_servers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1</para>
+			<para>Number of servers that can be used to walk
+			between servers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_source_age</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 3</para>
+			<para>Sources that have not been connected for this number of days are removed</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_clients_per_second</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>Maximal number of connections to sources per second</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_connections_per_second</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>Maximal number of connections that can be opened per second.</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-log_clients_on_console</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_upload_slots</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 10</para>
+			<para>How many slots can be used for upload</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-dynamic_slots</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Set this to true if you want to have dynamic upload slot allocation (experimental).</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-donkey_bind_addr</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0.0.0.0</para>
+			<para>The IP address used to bind the donkey client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-propagate_sources</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Allow mldonkey to propagate your sources to other donkey clients</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_sources_per_file</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 500</para>
+			<para>Maximal number of sources for each file</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-min_left_sources</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 100</para>
+			<para>Minimal number of sources for a file</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-reliable_sources</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Should mldonkey try to detect sources responsible for corruption and ban them.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-source_management</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 3</para>
+			<para>Which source management to use :
+			<itemizedlist>
+				<listitem><para>1 : based on separate time queues, 
+				shared by files (2.02-1...2.02-5)</para></listitem>
+				<listitem><para>2 : based on unified queues with scores, 
+				shared by files (2.02-6...2.02-9)</para></listitem>
+				<listitem><para>3 : based on separate file queues (2.02-10)
+				</para></listitem>
+			</itemizedlist>
+			</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-good_client_rank</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 500</para>
+			<para>Set the maximal rank of a client to be kept as a client.</para>
+		</listitem>
+	</varlistentry>
+
+	<varlistentry>
+		<term><option>-client_md4</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : (auto-generated)</para>
+			<para>The MD4 of this client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-black_list</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-protocol_version</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 61</para>
+			<para>The version of the protocol that should be sent to servers (need restart).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-random_order_download</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Should we try to download chunks in random order (false = linearly) ?</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-max_concurrent_downloads</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 60</para>
+			<para>The maximal number of files in Downloading state (other ones are queued).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-upload_power</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>The weight of upload on a donkey connection compared to upload on other
+			peer-to-peer networks. Setting it to 5 for example means that a donkey 
+			connection will be allowed to send 5 times more information per second than
+			an Open Napster connection. This is done to favorise donkey connections
+			over other networks, where upload is less efficient, without preventing
+			upload from these networks.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-propagate_servers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Send an UDP packet to a central servers with the list of servers you
+			are currently connected to, for the central server to be able to
+			generate accurate server lists.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-files_queries_per_minute</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1</para>
+			<para>Maximal number of localisation queries that can be sent to
+			one server per minute. Some servers kick clients when this
+			value is greater than 1</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-files_queries_initial_delay</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 20</para>
+			<para>Initial delay after sending the first localisation queries to
+			a server, before sending other localisation queries.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-min_left_servers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 200</para>
+			<para>Minimal number of servers remaining after remove_old_servers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-servers_walking_period</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 6</para>
+			<para>How often should we check all servers (minimum 4 hours, 0 to disable)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-keep_cancelled_in_old_files</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : false</para>
+			<para>Are the cancelled files added to the old files list to prevent re-download ?</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-send_warning_messages</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>True if you want your mldonkey to lose some
+			upload bandwidth sending messages to clients which are banned :)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-ban_queue_jumpers</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>True if you want your client to ban
+			clients that try queue jumping (3 reconnections faster than 9 minutes)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-ban_period</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1</para>
+			<para>Set the number of hours you want client to remain banned</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-sources_per_chunk</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1</para>
+			<para>How many sources to use to download each chunk</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-auto_commit</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Set to false if you don't want mldonkey to automatically put 
+			completed files in incoming directory.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+<title>DIRECT CONNECT OPTIONS</title>
+
+	<para>Direct Connect options deal with the DirectConnect protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-DC--max_connected_servers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 5</para>
+			<para>The number of servers you want to stay connected to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--search_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 60</para>
+			<para>The time a search is active</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--load_hublist</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Download a list of servers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--firewalled</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : false</para>
+			<para>Is this client firewalled (use passive searches)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--shared_offset</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 11534336.</para>
+			<para>An amount of bytes to add to the shared total (can help to connect)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--client_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 4444</para>
+			<para>The port to bind the client to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--login</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Your login on DC (no spaces !!!)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--query_hublist_limit</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 100</para>
+			<para>The limit on the number of servers to avoid asking for a new list</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : DC</para>
+			<para>The subdirectory of temp/ where files should be moved to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--servers_list_url</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : http://www.neo-modus.com/PublicHubList.config</para>
+			<para>The URL from which the first server list is downloaded</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--client_description</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : mldc client</para>
+			<para>The description sent in the MyINFO message</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--client_speed</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : DSL</para>
+			<para>The line speed sent in the MyINFO message</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--client_keyinfo</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : Pk=mldc</para>
+			<para>The key info sent in the handshake message</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--network_options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : DC-</para>
+			<para>The prefixes used before Direct-Connect options</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-DC--client_options_version</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0</para>
+			<para>To automatically update your options</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+
+<refsect1>
+<title>OPENNAP OPTIONS</title>
+
+	<para>OpenNap options deal with the OpenNapster protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-OpenNap--client_port</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : (auto-generated)</para>
+			<para>The data port for napster uploads</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--max_connected_servers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>The number of servers you want to stay connected to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--client_password</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : nopass</para>
+			<para>The password used to log on the napster server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--client_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 6699</para>
+			<para>The data port for napster uploads</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--client_info</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : mldonkey v1.99beta3</para>
+			<para>The info on this client</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--use_napigator</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Download a list of servers from www.napigator.com</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--servers_list_url</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : http://www.napigator.com/servers/</para>
+			<para>The URL from which servers list is downloaded</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--server_connection_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 10.</para>
+			<para>Timeout when connecting to a server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--max_shared_files</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 400</para>
+			<para>The maximal number of files to share on a server</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : Napster</para>
+			<para>The subdirectory of temp/ where files should be moved to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-OpenNap--options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : OpenNap-</para>
+			<para>The prefix which is appended to options names
+			when they are used in the telnet/WEB interfaces</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+</refsect1>
+
+<refsect1>
+<title>OVERNET OPTIONS</title>
+	
+	<para>Overnet options deals with the overnet protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-overnet_store_size</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 2000</para>
+			<para>Size of the filename storage used to answer queries</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_port</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : (auto-generated)</para>
+			<para>Port for overnet</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_max_known_peers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 8192</para>
+			<para>Maximal number of peers to keep overnet connected (should be 2048)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_search_keyword</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : false</para>
+			<para>Allow extended search to search on overnet</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_search_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 140</para>
+			<para>How long shoud a search on Overnet wait for the last answer before terminating</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_query_peer_period</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 5.</para>
+			<para>Period between two queries in the overnet tree (should not be set under 5)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_max_search_hits</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 200</para>
+			<para>Max number of hits in a search on Overnet</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_options_version</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1</para>
+			<para>(internal)</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_protocol_connect_version</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 1044</para>
+			<para>The protocol version sent on Overnet connections.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-overnet_protocol_connectreply_version</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 44</para>
+			<para>The protocol version sent on Overnet connections replies.</para>
+		</listitem>
+	</varlistentry>
+
+	</variablelist>
+</refsect1>
+
+<refsect1>
+<title>SOULSEEK OPTIONS</title>
+
+	<para>Soulseek options deal with the soulseek protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-slsk--max_connected_servers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 10</para>
+			<para>The number of servers you want to stay connected to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--ip_cache_timeout</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 3600.</para>
+			<para>The time an ip address can be kept in the cache</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--load_serverlist</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : true</para>
+			<para>Download a list of servers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--client_port</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 2234</para>
+			<para>The port to bind the client to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--login</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Your login on SoulSeek</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--password</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : mldonkey</para>
+			<para>Your password on SoulSeek</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--query_serverlist_limit</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 100</para>
+			<para>The limit on the number of servers to avoid asking for a new list</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : SoulSeek</para>
+			<para>The subdirectory of temp/ where files should be moved to</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--verbose_clients</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0</para>
+			<para>Level of verbosity when communicating with clients</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--verbose_servers</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 0</para>
+			<para>Level of verbosity when communicating with servers</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--next_token</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : 1</para>
+			<para>The last token used for a query is saved here</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-slsk--options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : slsk-</para>
+			<para>The prefix which is appended to options names
+			when they are used in the telnet/WEB interfaces</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+
+
+</refsect1>
+
+<refsect1>
+<title>BITTORENT OPTIONS</title>
+
+	<para>This section deals with the bittorent protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-BT--client_port</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 6882</para>
+			<para>The port to bind the client to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-BT--client_uid</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : (auto-generated)</para>
+			<para>The UID of this client.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-BT--options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : BT-</para>
+			<para>The prefix which is appended to options names
+			when they are used in the telnet/WEB interfaces.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-BT--delete_original</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : false</para>
+			<para>Should MLdonkey delete the file downloaded when splitting has been succesfull.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-BT--commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : BT</para>
+			<para>The subdirectory of temp/ where files should be moved to.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+	
+</refsect1>
+
+<!--refsect1>
+<title>FASTTRACK OPTIONS</title>
+	<para>This section deals with the Fasttrack protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-FT-\-max_ultrapeers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>Maximal number of ultrapeers connected on Fasttrack2.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-client_port</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 6346</para>
+			<para>The port to bind the client to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-fasttrack2_enabled</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Do you want to support Fasttrack2 protocol (not yet supported).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : Fasttrack</para>
+			<para>The subdirectory of temp/ where files should be moved to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-max_known_ultrapeers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 100</para>
+			<para>Maximal number of ultrapeers remembered.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-max_known_peers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 20</para>
+			<para>Maximal number of peers remembered.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-server_connection_timeout</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>Timeout when connecting to a server.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-client_uid</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : (auto-generated)</para>
+			<para>The UID of this client.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : FT-</para>
+			<para>The prefix which is appended to options names
+			when they are used in the telnet/WEB interfaces</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-FT-\-max_available_slots</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>The maximal number of slots for upload by Fasttrack clients.
+			</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+	
+</refsect1-->
+
+<refsect1>
+<title>GNUTELLA OPTIONS</title>
+
+	<para>This section deals with the gnutella protocol</para>
+
+	<variablelist>
+	<varlistentry>
+		<term><option>-GNUT--g1_max_ultrapeers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>Maximal number of ultrapeers connected on Gnutella1.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--g2_max_ultrapeers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>Maximal number of ultrapeers connected on Gnutella2.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--client_port</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 6346</para>
+			<para>The port to bind the client to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--gnutella1_enabled</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Do you want to support Gnutella1 protocol.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--gnutella2_enabled</option></term>
+		<listitem>
+			<para>Type : boolean</para>
+			<para>Default : true</para>
+			<para>Do you want to support Gnutella2 protocol (not yet supported).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--commit_in_subdir</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : Gnutella</para>
+			<para>The subdirectory of temp/ where files 
+			should be moved to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--max_known_ultrapeers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 100</para>
+			<para>Maximal number of ultrapeers remembered.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--max_known_peers</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 20</para>
+			<para>Maximal number of peers remembered.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--server_connection_timeout</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>Timeout when connecting to a server.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--client_uid</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : (auto-generated)</para>
+			<para>The UID of this client.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--options_prefix</option></term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : GNUT-</para>
+			<para>The prefix which is appended to options names
+			when they are used in the telnet/WEB interfaces.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term><option>-GNUT--max_available_slots</option></term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 5</para>
+			<para>The maximal number of slots for upload by Gnutella clients.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+	
+</refsect1>
+
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlguistarter <manvolnum>1</manvolnum></para>
+	<para>mlgui <manvolnum>1</manvolnum></para>
+</refsect1>
+
+&license;
+
+</refentry>
+
--- mldonkey-2.7.3.orig/debian/xml-man/mldonkey_ini.xml
+++ mldonkey-2.7.3/debian/xml-man/mldonkey_ini.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd">
+
+<refentry>
+
+<!-- Entete -->
+
+<refmeta>
+	&dhucpackage;
+	&dhsection;
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>your door to Edonkey, Directconnect, Limewire, Overnet, OpenNap networks</refpurpose>
+</refnamediv>
+<refsynopsisdiv>
+
+<cmdsynopsis>
+	&dhprg; 
+	<arg>common options</arg>
+	<arg>overnet options</arg>
+	<arg>soulseek options</arg>
+	<arg>limewire options</arg>
+	<arg>opennap options</arg>
+	<arg>directconnect options</arg>
+</cmdsynopsis>
+
+</refsynopsisdiv>
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program does not have a manual page.</para>
+
+	<para>With &dhprg; you will be able to connect to different peer-to-peer network :
+	<itemizedlist>
+		<listitem><para>Edonkey</para></listitem>
+		<listitem><para>DirectConnect</para></listitem>
+		<listitem><para>Limewire</para></listitem>
+		<listitem><para>Overnet</para></listitem>
+		<listitem><para>OpenNap</para></listitem>
+	</itemizedlist>
+	</para>
+
+</refsect1>
+	<title>SEE ALSO</title>
+
+
+</refsect1>
+
+<!-- author -->
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/xml-man/mlgui.xml
+++ mldonkey-2.7.3/debian/xml-man/mlgui.xml
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname--> Debian GNU/Linux <!--/productname-->">
+  <!ENTITY dhprg       "<command>mlgui</command>">
+  <!ENTITY license SYSTEM "license.xml">
+  <!ENTITY refentryinfo SYSTEM "refentry.xml">
+]>
+
+<refentry>
+
+&refentryinfo;
+
+<refmeta>
+	<refentrytitle>MLDONKEY_GUI</refentrytitle>
+	<manvolnum>1</manvolnum>
+</refmeta>
+
+<refnamediv>
+	<refname>&dhprg;</refname>
+
+	<refpurpose>the client of the MLDonkey server.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+	&dhprg; 
+	<arg>-dump_msg</arg>
+	<arg>-toolbars_style string</arg>
+	<arg>-password string</arg>
+	<arg>-port int</arg>
+	<arg>-hostname string</arg>
+	<arg>-files_auto_expand_depth int</arg>
+	<arg>-use_size_suffixes string</arg>
+	<arg>-availability_height bool</arg>
+	<arg>-availability_max int</arg>
+	<arg>-relative_availability bool</arg>
+	<arg>-max_client_name_len int</arg>
+	<arg>-max_result_name_len int</arg>
+	<arg>-compaction_overhead int</arg>
+	<arg>-interface_buffer int</arg>
+	<arg>-copy_messages bool</arg>
+	<arg>-downloads_up bool</arg>
+	<arg>-mini_toolbars bool</arg>
+	<arg>-login string</arg>
+	<arg>-chunk_width int</arg>
+	<arg>-help<replaceable>--help</replaceable></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1>
+	<title>DESCRIPTION</title>
+
+	<para>This manual page documents briefly the &dhprg; command.</para>
+
+	<para>This manual page was written for the &debian; distribution
+	because the original program does not have a manual page.</para>
+
+	<para>This client can connect to remote ( or local ) server. You can 
+	specify which server you want with <arg>-hostname</arg> and 
+	<arg>-port</arg>. There are three different layout possible : text, 
+	icon org both. You will be able to use this gui to command you MLDonkey
+	server.</para>
+</refsect1>
+
+<refsect1>
+	<title>COMMAND LINE OPTIONS</title>
+
+	<variablelist>
+	<varlistentry>
+		<term>-dump_msg</term>
+		<listitem>
+			<para>Update internationalisation message file
+			</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-toolbars_style string</term>
+		<listitem>	
+			<para>Type : [text,icon,both]</para>
+			<para>Default : both</para>
+			<para>What is displayed in toolbar buttons.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-password</term>
+		<listitem>
+			<para>Type : string</para>
+			<para>The password to use when connecting to the server.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-port</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 4001</para>
+			<para>The server port to connect to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-hostname</term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : localhost</para>
+			<para>The server hostname to connect to.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-files_auto_expand_depth</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 3</para>
+			<para>The depth to which the directories of a friend are automatically expanded.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-use_size_suffixes</term>
+		<listitem>
+			<para>Type : [G,M,k]</para>
+			<para>Default :</para>
+			<para>Whether sizes are printed using G(iga), M(ega) and k(ilo) suffixes.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-availability_height</term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : true</para>
+			<para>Display the availability of each chunk as the height of the colored bar.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-availability_max</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10</para>
+			<para>If use_availability_height is true, which availability corresponds to a full bar ?</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-relative_availability</term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : true</para>
+			<para>Calculate the % avilability ignoring already present chunks.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-max_client_name_len</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 18</para>
+			<para>Max length of a source name.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-max_result_name_len</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 70</para>
+			<para>Max length of a source name.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-compaction_overhead</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 50</para>
+			<para>The percentage of free memory before a compaction is triggered.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-interface_buffer</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 10000000</para>
+			<para>The size of the buffer to the core.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-copy_messages</term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : true</para>
+			<para>For bundle binaries, should we directly pass structures 
+			between the core and the GUI (faster), or copy them 
+			(fewer bugs).</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-downloads_up</term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : true</para>
+			<para>Put the download frame up.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-help</term>
+		<term>--help</term>
+		<listitem>
+			<para>Display the list of options.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-mini_toolbars</term>
+		<listitem>
+			<para>Type : bool</para>
+			<para>Default : true</para>
+			<para>Use mini icons in toolbars.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-login</term>
+		<listitem>
+			<para>Type : string</para>
+			<para>Default : admin</para>
+			<para>Your login name.</para>
+		</listitem>
+	</varlistentry>
+	<varlistentry>
+		<term>-chunk_width</term>
+		<listitem>
+			<para>Type : int</para>
+			<para>Default : 3</para>
+			<para>The chunk width in pixel.</para>
+		</listitem>
+	</varlistentry>
+	</variablelist>
+</refsect1>
+
+<refsect1>
+	<title>SEE ALSO</title>
+
+	<para>mlnet <manvolnum>1</manvolnum></para>
+	<para>mlguistarter <manvolnum>1</manvolnum></para>
+</refsect1>
+
+&license;
+
+</refentry>
--- mldonkey-2.7.3.orig/debian/mldonkey-server.init
+++ mldonkey-2.7.3/debian/mldonkey-server.init
@@ -0,0 +1,108 @@
+#!/bin/sh
+#
+# Original file :
+#    Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#    Modified for Debian GNU/Linux
+#    by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:  @(#)skeleton  1.9.1  08-Apr-2002  miquels@cistron.nl
+#
+# 
+# This file has been rewritten by Sylvain LE GALL <sylvain.le-gall@m4x.org>
+# for mldonkey-package.
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+WRAPPER=/usr/bin/mldonkey_server
+NAME=mlnet
+DESC="MLDonkey"
+CONFIG=/etc/default/mldonkey-server
+PIDFILE=/var/run/mldonkey/$NAME.pid
+
+test -x $WRAPPER || exit 0
+
+test -e $CONFIG || exit 0
+
+set -e
+
+. $CONFIG
+
+WRAPPER_OPTIONS=""
+
+# Set the pidfile
+WRAPPER_OPTIONS="$WRAPPER_OPTIONS --pidfile $PIDFILE"
+
+# Set configuration value, from CONFIG
+if [ -n "$MLDONKEY_DIR" ]; then
+  WRAPPER_OPTIONS="$WRAPPER_OPTIONS --chdir $MLDONKEY_DIR"
+fi
+
+if [ -n "$MLDONKEY_GROUP" ]; then
+  WRAPPER_OPTIONS="$WRAPPER_OPTIONS --chgid $MLDONKEY_GROUP"
+fi
+
+if [ -n "$MLDONKEY_UMASK" ]; then
+  WRAPPER_OPTIONS="$WRAPPER_OPTIONS --umask $MLDONKEY_UMASK"
+fi
+
+if [ -n "$MLDONKEY_NICENESS" ]; then
+  WRAPPER_OPTIONS="$WRAPPER_OPTIONS --nice $MLDONKEY_NICENESS"
+fi
+
+if [ -n "$MAX_ALIVE" ]; then
+  WRAPPER_OPTIONS="$WRAPPER_OPTIONS --max-alive $MAX_ALIVE"
+fi
+
+case "$1" in
+  start|force-start)
+    echo -n "Starting $DESC: $NAME"
+
+    if [ "x$LAUNCH_AT_STARTUP" != "xtrue" ] && [ "x$1" = "xstart" ]; then
+      echo " configuration file prevent $NAME to be started (use force-start)."
+      exit 0
+    fi
+
+    if [ -z "$MLDONKEY_DIR" ] || [ ! -d "$MLDONKEY_DIR" ]; then
+      if [ -z "$MLDONKEY_DIR" ]; then
+        MLDONKEY_DIR="(unset)"
+      fi
+      echo " $MLDONKEY_DIR is not a valid directory."
+      exit 1
+    fi
+
+    if [ ! -f "$MLDONKEY_DIR/downloads.ini" ]; then
+      echo " $MLDONKEY_DIR/downloads.ini is not a valid file."
+      exit 1
+    fi
+
+    USER=`/usr/bin/stat --format="%U" "$MLDONKEY_DIR/downloads.ini"`
+    WRAPPER_OPTIONS="$WRAPPER_OPTIONS --chuid $USER"
+   
+    # export MLDONKEY_CHROOT=$MLDONKEY_DIR
+    
+    start-stop-daemon --start --pidfile $PIDFILE \
+    --exec $WRAPPER -- --start --daemon $WRAPPER_OPTIONS
+
+    echo "."
+  ;;
+  stop)
+    echo -n "Stopping $DESC: $NAME"
+    start-stop-daemon --stop --pidfile $PIDFILE
+    echo "."
+  ;;
+  reload)
+    echo -n "Reloading $DESC: $NAME"
+    $WRAPPER --restart --quiet $WRAPPER_OPTIONS
+    echo "."
+  ;;
+  force-reload|restart)
+    $0 stop
+    sleep 1
+    $0 start
+  ;;
+  *)
+    echo "Usage: $0 {start|stop|restart|force-reload|force-start}" >&2
+    exit 1
+  ;;
+esac
+
+exit 0
--- mldonkey-2.7.3.orig/debian/README.Maintainers
+++ mldonkey-2.7.3/debian/README.Maintainers
@@ -0,0 +1,97 @@
+*********************************************
+* MLDonkey package maintenance, README file *
+*********************************************
+
+The purpose of this file is to define how the MLDonkey package should be
+handled. This document if not a reference, it is just a way to write down the
+way different maintainer of this package should work to have the best
+efficiency.
+
+1. Notational convention
+
+When talking about the whole software, you should use "MLDonkey".
+
+It is just for consistency...
+
+2. Upstream
+
+Link to MLDonkey project:
+http://savannah.nongnu.org/projects/mldonkey/
+
+When submitting a bug report, you should:
+- use a valid savannah account
+- set the binary origin to "Debian package"
+- copy/paste useful information you have gathered while talking with bug
+  submitter
+- give a link to the original bug. Example:
+  This bug comes from the Debian BTS:
+  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272405
+- add mail notification to the original BTS entry:
+  272405@bugs.debian.org added by gildor (Debian BTS entry)
+- set the bug as forwared to upstream (using mldonkey-bugs@nongnu.org as email
+  address)
+
+For the sake of simplicity, MLDonkey should stay close to uptream source. For
+example, SpiralVoice provides a lot of good patch. Most of the time i take a
+look at it, but i don't apply it. Reasons for this are : SpiralVoice is a
+member of MLDonkey project -- his modification will be included in the next
+release --, it is difficult to report bugs when the original upstream source has
+been heavily modified. Trying to stay close to official release, lets report bug
+in a more simple manner, because you are dealing with the official version.
+
+The upstream tarball of MLDonkey is not a pure vanilla upstream source. You need
+to apply debian/utils/purify_mldonkey. This script removes some files which are
+related to the FASTTRACK problem (see the file FASTTRACK).
+
+3. Utils
+
+There are a lot of utils program in debian/utils. They are all written using
+OCaml. Those utilies are made to manipulate different data structure of MLDonkey
+(password file creation, configuration file handling...).
+
+For now, i prefer to stay consistent with the rest of the package and not use
+other language than :
+- ocaml, because it is already a "BuildDepends" of the package,
+- sh, because it is mandatory to have this interpreter.
+
+In particular, perl and python should not be used. Because it will cause a lot
+of dependency (and make it even more long to build in a chroot/uml pbuilder). It
+is also a question of personnal motivation.
+
+4. Subversion
+
+As usual:
+- if the changes are minor, they can be done directly in the trunk
+- if this are bigger changes, you should create a branch
+
+The trunk should always be able to build.
+
+The subversion repository layout should follow the one defined by the OCaml 
+Maintainers Task Force.
+
+Link to OCaml Maintainer Task Force:
+http://pkg-ocaml-maint.alioth.debian.org/
+
+Link to MLDonkey subversion:
+http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/?rev=0&sc=0
+
+Off course, the repository is hosted on alioth. Account for this project should
+be asked (politely) on debian-ocaml-maint@lists.debian.org.
+
+5. Building the package
+
+To build the package, you should checkout 
+svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/tools/opkg-buildpackage.
+
+Modification to the package, should be done using dpatch, and once validated, the 
+patch should be submitted upstream.
+
+6. People
+
+- Sylvain Le Gall <sylvain.le-gall@polytechnique.fr>:
+  - takes care of any aspect regarding OCaml part of the package,
+- Jeroen Van Wolffelaar <jvw@debian.org>:
+  - takes care of the BTS, answer bug, forward bug to upstream, assign bug,
+  - tests the package,
+  - takes care of maintainer script
+  - decides to do a release,
--- mldonkey-2.7.3.orig/debian/control
+++ mldonkey-2.7.3/debian/control
@@ -0,0 +1,34 @@
+Source: mldonkey
+Section: net
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall@polytechnique.org> 
+Build-Depends: ocaml-nox (>= 3.08.0), debhelper (>= 4.1.16), po-debconf, xsltproc, zlib1g-dev, docbook-xsl (>= 1.64.1), docbook-xml (>= 4.2-12), chrpath, m4, dpatch (>= 1.11), debconf (>= 0.2.26), liblablgtk2-ocaml-dev, libgd2-noxpm-dev, liblablgtk2-ocaml-dev
+Standards-Version: 3.6.2.0
+
+Package: mldonkey-server
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${interpreter:Depends}, adduser, mime-support, debconf (>= 0.2.26), ucf (>= 1.17), dpkg (>= 1.10.27)
+Suggests: makejail
+Description: Door to the 'donkey' network
+ 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:
+  - works on UNIX-compatible platforms.
+  - remote control by telnet, WEB browser or GTK interface. 
+  - access to EDonkey ( edonkey2000, overnet, emule )
+  - access to Gnutella1/2
+  - access to Soulseek
+  - access to Bittorrent
+  - access to Opennap
+
+Package: mldonkey-gui
+Architecture: any
+Suggests: mldonkey-server (=${Source-Version})
+Depends: ${shlibs:Depends}, ${interpreter:Depends}
+Description: Graphical frontend for mldonkey based on GTK
+ The GTK interface for mldonkey provides a convenient way of managing
+ all mldonkey operations. It gives details about connected servers,
+ downloaded files, friends and lets one search for files in a pleasing
+ way.
+
--- mldonkey-2.7.3.orig/debian/README.Debian
+++ mldonkey-2.7.3/debian/README.Debian
@@ -0,0 +1,289 @@
+----------------------------------
+*Packages: mldonkey-[server|gui]*
+----------------------------------
+
+I have implemented some commands to ease the installation
+and the maintenance process:
+
+- mldonkey_command: to send command to mlnet,
+- mldonkey_server: to keep mlnet instance alive,
+- mldonkey_submit: to have a more clean instance of automatic submission
+  program (before it was perl),
+- mldonkey_users: to manage the user/password,
+- mldonkey_create_chroot: to create chroot for mldonkey-server (thanks
+  to Mick Kappenburg).
+
+Enjoy p2p.
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 16 Jun 2003 20:47:07 +0200
+
+---------------------------------
+*                               *
+*      Mldonkey and chroot      *
+*                               *
+---------------------------------
+
+
+Actually, there is an option to enable chroot for mldonkey.
+
+I decide not to use it for many reasons:
+- running the daemon under a different ID is safer than chrooting 
+- chrooting doesn't cooperate well with chuid...
+
+Browsing the code of mldonkey, lead me to one conclusion: the creation of 
+*.ini file is erratic. If you try to make chuid && chroot, you will need to 
+start the daemon as root, it will create some file owned by root, then you 
+chroot, then you try to chuid. So it needs to have a etc/passwd in the chroot,
+we need to check file permission after start...
+
+So it is a lot of bug to correct. There is bugreport about this situation for 
+mldonkey:
+http://savannah.nongnu.org/bugs/?func=detailbug&group_id=1409&bug_id=3969
+
+For now, i prefer to use mldonkey-server to start mlnet. Mldonkey server 
+has a lot of very good reason to be use:
+- the code is very simple and short
+- it handle only start/stop and chuid of another process
+- it doesn't open/read/write anything before chuid
+
+Moreover, the code is from me ;->.
+
+I think this method is reasonnably secure to run mlnet. I will keep it, until
+someone provide a good solution for mldonkey chrooting.
+
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 17 Aug 2003 22:40:00 +0200
+
+Mick Kappenburg has created a script to create chroot for mldonkey. For now
+this script need more extensive testing, but i think it could be use to run
+more safely mldonkey.
+
+If this scripts works well enough, he will probably be integrated in the daemon 
+start-stop script of mldonkey-server.
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 05 Jun 2005 23:25:00 +0200
+
+---------------------------------
+*                               *
+*      Password and user        *
+*                               *
+---------------------------------
+
+1. Native way
+
+1.1 Changing Password
+
+MLDonkey natively support only two ways to set the password: through the GUI,
+through the telnet interface.
+
+To change the password through the telnet interface:
+- you log into the telnet interface with the former user/password
+- you change the password with the auth command. 
+
+  telnet>auth user old-passwd
+  telnet>add_user user new-passwd
+  telnet>auth user new-passwd
+
+You can also do the same through the GUI by providing at the beginning the
+old password in Files->Settings->Password, connect to the core, change the 
+password in Files->Settings->Password.
+
+1.2 Default parameter
+
+At the beginning only one user exist in the system: admin. The default 
+password for this user is an empty string. In order to connect through the
+telnet interface, you nee to type:
+
+  telnet>auth admin ""
+  
+To login through the GUI: 
+- Files->Settings->Password (empty)
+- Files->Settings->Password admin
+
+To login through HTTP:
+- User: admin
+- Password: (empty)
+
+1.3 Adding user
+
+There is only one way to add new user: through the telnet interface.  You
+need to invoke the command add_user. See help in the telnet interface about
+this command.
+
+2. Debian way
+
+As part of utilities available in the debian package, the program mldonkey_users 
+enable to manipulate the user management system through the command line.
+
+You should use it with care: the system manipulate download.ini which is
+regularly updated by the mldonkey server, if this one is running.
+
+If you want to manipulate user/password, you need to stop your server, or to
+go back to native ways of managing user/password.
+
+Refer to mldonkey_users manpage.
+
+Important note: the default value of the debconf screen for password is an
+empty string.  If you leave an empty string for password, no password will be
+registered. It is a way of keeping old password, which could have been changed
+by other way than debconf.
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 02 Sep 2003 00:22:00 +0200
+ 
+---------------------------------
+*                               *
+*     The FASTTRACK problem     *
+*                               *
+---------------------------------
+
+See FASSTRACK.
+
+In order to fix the problem coming with the FASTTRACK problem, i build the
+program called mldonkey_files. 
+
+This program permits you to filter the files.ini to extract Fasttrack sources.
+But you can also use with any other plugin:
+- for fasttrack mldonkey_files --split Fasttrack -f0 files.ini -f1
+  files.ini.fasttrack -f2 files.ini
+- for edonkey mldonkey_files --split Donkey -f0 files.ini -f1
+  files.ini.edonkey -f2 files.ini
+...
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 25 Sep 2003 00:33:00 +0200
+
+---------------------------------------
+*                                     *
+* Notes for woody user && backporters *
+*                                     *
+---------------------------------------
+
+The initial package was release for Sarge/Sid. It was not targeted to Woody.
+Regarding this it leads the packager to do certain choice, regarding the
+scripting possibility...
+
+I choose to use the command "stat" to get the owner of certains files. It was
+easy since stat belongs to coreutils in Sarge/Sid which is marked as
+essential. This means, i should not have any dependence on this package...
+
+In woody the situation is different: the arguments of the command are not the
+same, and the dependency to the package containing stat should be explicit. So
+if you are backporting or using mldonkey packages in Woody:
+
+- install coreutils from testing
+or 
+- install stat and edit the corresponding script ( config, /etc/init.d ... )
+
+If you have downloaded this package from a private repository, you should try
+to contact the maintainer from this repository to explain the situation.
+ 
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 01 Feb 2004 21:56:00 +0200
+
+If you try to use the init script of mldonkey, you should encounter problem
+with the option used for the nicelevel of start-stop-daemon. On woody system,
+it seems that you could only have a niceness of 0 set by this way.
+
+Use a niceness of 0 when using Woody start-stop-daemon.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Wed, 27 Apr 2005 23:35:36 +0200
+
+----------------------
+* Note for upgrading *
+----------------------
+
+From time to time upgrade is quite difficult. You could encounter errors like
+"Exception Not_found while handling ...". This generally means that there is
+problems concerning a certain pair of file you was downloading before the
+upgrade.
+
+You can try to reconstruct your database following this step:
+- delete the files.ini in you mldonkey dir
+- start mldonkey ( system wide or user )
+- go to the console ( GUI or telnet to the core ).
+- while authenticated, issue a command recover_temp
+
+This should build you a minimal file.ini.
+
+WARNING: this method is known not to be 100% safe. You can loose files, you
+can restart downloading et al. This command is not really reliable for
+everything. This command is know to work pretty well for ed2k and emule -- and
+very bad with bittorent.
+
+The best method is maybe to come back to an older version of mldonkey and try
+to get your download finished.
+
+More information:
+  http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=recover_temp
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Mon, 23 Aug 2004 01:07:07 +0200
+
+----------------------
+* GTK2 interface     *
+----------------------
+
+In order to make the new GTK2 interface to work, we need to use UTF 8
+everywhere on the GUI side. This means in particular, you have to be sure that
+every strings in the GUI configuration file is UTF8 encoded. In particular,
+you need to be sure that your login/password are UTF 8 encoded.
+
+So you have two choice:
+- use "iconv" to convert the file
+- erase the file and recreate it.
+
+I think the second method is the best.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Mon, 24 Aug 2004 23:23:00 +0200
+
+----------------------
+* Force startup      *
+----------------------
+
+Since the beginning of the package, a choice has been made to allow user to
+choose to start MLDonkey or not at startup. This decision was made because
+mldonkey is not an essential service and can be a really heavy
+time/network/processor consumer.
+
+However, it should be interesting to be able to start mldonkey, as configured
+during the install after the boot ( ie when you know that you can start it ).
+But the fact that you have configured the script not to start at startup,
+prevents user to do that.
+
+Some users proposed to link/not to link startup script from
+/etc/rcX.d/SXXmldonkey-server to /etc/init.d/mldonkey-server. This way is a
+violation of the debian policy ( at least i think so ).
+
+I decide to let user be able to start the script using:
+"/etc/init.d/mldonkey-server force-start".  This way, we are policy compliant
+and we let user start mldonkey-server, when needed.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Wed, 27 Apr 2005 23:35:36 +0200
+
+-----------------------
+* MLDonkey and groups *
+-----------------------
+
+MLDonkey cannot handle more than one group when running. This limitation is
+due to OCaml library not providing enough function for changing the groups. So
+MLDonkey server will only be run using the user/primary group that is assigned
+to the MLDonkey user.
+
+For example: 
+$ cat /etc/passwd | grep mldonkey
+mldonkey:x:102:1002::/var/lib/mldonkey:/bin/false
+$ cat /etc/group | grep mldonkey
+windows:x:1003:mldonkey
+mldonkey:x:1002:
+
+Won't made the process mldonkey run with group mldonkey and windows, as
+expected!  It will run with user mldonkey and group mldonkey ( because it is
+the primary group of mldonkey ).
+
+So you have to choose the most appropriate primary group for mldonkey and
+change the primary group of mldonkey (usermod(8)) to this group.
+
+For example, if you need to write to a special partition (for example Windows
+partition) and that only windows group user can do that, you should set the
+primary group of mldonkey to "windows".
+
+This bug has been sent to the ocaml team.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Fri, 29 Apr 2005 00:58:08 +0200
--- mldonkey-2.7.3.orig/debian/mldonkey-server.postrm
+++ mldonkey-2.7.3/debian/mldonkey-server.postrm
@@ -0,0 +1,38 @@
+#!/bin/sh -e
+
+# This script is called twice during the removal of the package; once
+# after the removal of the package's files from the system, and as
+# the final step in the removal of this package, after the package's
+# conffiles have been removed.
+
+#set -x 
+
+DEBUG=false
+CONF=/etc/default/mldonkey-server
+
+case "$1" in
+  remove|disappear|upgrade|failed-upgrade|abort-install|abort-upgrade)
+    ;;
+  purge)
+
+    for EXT in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist;  do
+        rm -f "$CONF$EXT"
+    done
+ 
+    rm -f "$CONF"
+  
+    ucf --purge "$CONF"
+
+    # BUG : we should also remove all the file created by mldonkey, since it contains
+    # huge files which takes hours to download, i am still hesitating to do so 
+    echo "Not removing MLDonkey directory (/var/lib/mldonkey," >&2
+    echo "/var/run/mldonkey), user and group. Remove it manually if needed." >&2
+    ;;
+  *) 
+    echo "$0: didn't understand being called with \`$1'" 1>&2
+    exit 1
+    ;;
+esac
+
+#For the rest
+#DEBHELPER#
--- mldonkey-2.7.3.orig/debian/images/mlgui-orig.xpm
+++ mldonkey-2.7.3/debian/images/mlgui-orig.xpm
@@ -0,0 +1,1038 @@
+/* XPM */
+static char * mlgui_xpm[] = {
+"64 64 971 2",
+"  	c None",
+". 	c #B3B3B3",
+"+ 	c #D0D0D0",
+"@ 	c #E5E5E5",
+"# 	c #EFEFEF",
+"$ 	c #F1F1F1",
+"% 	c #DEDEDE",
+"& 	c #CDCDCD",
+"* 	c #D7D7D7",
+"= 	c #EDEDED",
+"- 	c #E8E8E8",
+"; 	c #D6D6D6",
+"> 	c #BBBBBB",
+", 	c #C6C6C6",
+"' 	c #E7E7E7",
+") 	c #F4F4F4",
+"! 	c #F7F7F7",
+"~ 	c #F5F5F5",
+"{ 	c #CCCCCC",
+"] 	c #A2A2A2",
+"^ 	c #BEBEBE",
+"/ 	c #A9A9A9",
+"( 	c #B6B6B6",
+"_ 	c #EEEEEE",
+": 	c #EBEBEB",
+"< 	c #CFCFCF",
+"[ 	c #F0F0F0",
+"} 	c #848484",
+"| 	c #8A8A8A",
+"1 	c #C0C0C0",
+"2 	c #ACACAC",
+"3 	c #5E5E5E",
+"4 	c #D2D2D2",
+"5 	c #DFDFDF",
+"6 	c #A5A5A5",
+"7 	c #C5C5C5",
+"8 	c #D5D5D5",
+"9 	c #E9E9E9",
+"0 	c #616161",
+"a 	c #585858",
+"b 	c #707070",
+"c 	c #6F6F6F",
+"d 	c #333333",
+"e 	c #DADADA",
+"f 	c #939393",
+"g 	c #CACACA",
+"h 	c #D9D9D9",
+"i 	c #F9F9F9",
+"j 	c #FCFCFC",
+"k 	c #B4B4B4",
+"l 	c #DDDDDD",
+"m 	c #E1E1E1",
+"n 	c #C9C9C9",
+"o 	c #D4D4D4",
+"p 	c #DCDCDC",
+"q 	c #9F9F9F",
+"r 	c #6B6B6B",
+"s 	c #4C4C4C",
+"t 	c #656565",
+"u 	c #7F7F7F",
+"v 	c #DBDBDB",
+"w 	c #D3D3D3",
+"x 	c #E0E0E0",
+"y 	c #C4C4C4",
+"z 	c #F8F8F8",
+"A 	c #E4E4E4",
+"B 	c #F7F9F7",
+"C 	c #E2F7E1",
+"D 	c #D3F7D2",
+"E 	c #C3E5C1",
+"F 	c #BDECBA",
+"G 	c #ADDDAA",
+"H 	c #95EA91",
+"I 	c #CDF7CB",
+"J 	c #696969",
+"K 	c #C8C8C8",
+"L 	c #D8D8D8",
+"M 	c #909090",
+"N 	c #808080",
+"O 	c #A4A4A4",
+"P 	c #A8A8A8",
+"Q 	c #BDBDBD",
+"R 	c #AAAAAA",
+"S 	c #B1B1B1",
+"T 	c #F3F9F2",
+"U 	c #97F193",
+"V 	c #ABE1A8",
+"W 	c #BDEFBA",
+"X 	c #D2E9D1",
+"Y 	c #E9F4E8",
+"Z 	c #ECECEC",
+"` 	c #F6F6F6",
+" .	c #DEE9DE",
+"..	c #33A92D",
+"+.	c #30D42A",
+"@.	c #28DE20",
+"#.	c #28CF20",
+"$.	c #25C21D",
+"%.	c #0EE605",
+"&.	c #3CC934",
+"*.	c #E8F2E8",
+"=.	c #AEAEAE",
+"-.	c #9D9D9D",
+";.	c #BCBCBC",
+">.	c #85D481",
+",.	c #1ADD10",
+"'.	c #28CF1F",
+").	c #2ED627",
+"!.	c #22BF1B",
+"~.	c #38EA2F",
+"{.	c #38CD31",
+"].	c #5BB757",
+"^.	c #F1F3F1",
+"/.	c #F2F2F2",
+"(.	c #EAEFEA",
+"_.	c #42DB3A",
+":.	c #14C10A",
+"<.	c #16C30C",
+"[.	c #24D91A",
+"}.	c #23D719",
+"|.	c #20C617",
+"1.	c #1DB915",
+"2.	c #76EE71",
+"3.	c #C3C3C3",
+"4.	c #B2B2B2",
+"5.	c #A0A0A0",
+"6.	c #ADADAD",
+"7.	c #A6A6A6",
+"8.	c #B7B7B7",
+"9.	c #F3F3F3",
+"0.	c #BEF2BB",
+"a.	c #20D818",
+"b.	c #1DAC16",
+"c.	c #1CD812",
+"d.	c #15DC09",
+"e.	c #1CD411",
+"f.	c #1FB617",
+"g.	c #23CD1A",
+"h.	c #46D33F",
+"i.	c #EFF1EF",
+"j.	c #5FD25A",
+"k.	c #20C01A",
+"l.	c #26BF1F",
+"m.	c #26B31E",
+"n.	c #20BC18",
+"o.	c #1ED414",
+"p.	c #0CB504",
+"q.	c #24DC1A",
+"r.	c #A8F2A5",
+"s.	c #E6E6E6",
+"t.	c #ABABAB",
+"u.	c #B8B8B8",
+"v.	c #9B9B9B",
+"w.	c #E1EFE0",
+"x.	c #44F23A",
+"y.	c #1CB713",
+"z.	c #2AD722",
+"A.	c #21B31A",
+"B.	c #16AE10",
+"C.	c #28C120",
+"D.	c #28B51F",
+"E.	c #29C021",
+"F.	c #62D35C",
+"G.	c #85B182",
+"H.	c #57A252",
+"I.	c #578F54",
+"J.	c #58A853",
+"K.	c #33AA2D",
+"L.	c #2AE221",
+"M.	c #11CD07",
+"N.	c #10A908",
+"O.	c #3EE136",
+"P.	c #CCEDCA",
+"Q.	c #5A5A5A",
+"R.	c #EAEBEA",
+"S.	c #74F06E",
+"T.	c #1DC015",
+"U.	c #1CB514",
+"V.	c #29E61F",
+"W.	c #23BB1C",
+"X.	c #459F41",
+"Y.	c #59A455",
+"Z.	c #528F4F",
+"`.	c #539D4F",
+" +	c #89AF87",
+".+	c #C6D2C5",
+"++	c #BAC8B9",
+"@+	c #CAD4C9",
+"#+	c #CFD5CE",
+"$+	c #72B06E",
+"%+	c #3BC334",
+"&+	c #1ABB12",
+"*+	c #0CBC01",
+"=+	c #1FBB17",
+"-+	c #4DE843",
+";+	c #E0E7E0",
+">+	c #ACEBA8",
+",+	c #23D419",
+"'+	c #24B71D",
+")+	c #24B71C",
+"!+	c #22CB18",
+"~+	c #37B930",
+"{+	c #A7C6A5",
+"]+	c #CBD3CA",
+"^+	c #CBD4CB",
+"/+	c #C4CFC4",
+"(+	c #CED7CD",
+"_+	c #E2E2E2",
+":+	c #CED5CE",
+"<+	c #579453",
+"[+	c #25B11C",
+"}+	c #16BC0C",
+"|+	c #1CCC11",
+"1+	c #84EA7F",
+"2+	c #BFBFBF",
+"3+	c #D0E4CF",
+"4+	c #30E626",
+"5+	c #13BA0A",
+"6+	c #26BD1F",
+"7+	c #15B70C",
+"8+	c #2C9E27",
+"9+	c #7FAB7D",
+"0+	c #999999",
+"a+	c #B1C9B0",
+"b+	c #42A43D",
+"c+	c #22C719",
+"d+	c #0EC805",
+"e+	c #25CE1C",
+"f+	c #19D60F",
+"g+	c #B1E4AF",
+"h+	c #D1D1D1",
+"i+	c #DBDEDB",
+"j+	c #53EC4C",
+"k+	c #14BC0B",
+"l+	c #22C31A",
+"m+	c #20BE18",
+"n+	c #24B11C",
+"o+	c #57AE52",
+"p+	c #CFD7CF",
+"q+	c #87BA85",
+"r+	c #38AF31",
+"s+	c #1CCF12",
+"t+	c #27CF1E",
+"u+	c #1EC915",
+"v+	c #3FE236",
+"w+	c #CBDBCB",
+"x+	c #B5B5B5",
+"y+	c #98E494",
+"z+	c #22CF19",
+"A+	c #10C108",
+"B+	c #16BB0C",
+"C+	c #22BD19",
+"D+	c #3BAD35",
+"E+	c #ADC8AC",
+"F+	c #7A7A7A",
+"G+	c #545454",
+"H+	c #666666",
+"I+	c #747474",
+"J+	c #9A9A9A",
+"K+	c #CDD0CC",
+"L+	c #67B064",
+"M+	c #37BC31",
+"N+	c #2BD023",
+"O+	c #23D519",
+"P+	c #24C61B",
+"Q+	c #6FE169",
+"R+	c #D3D4D3",
+"S+	c #B9D2B9",
+"T+	c #83C080",
+"U+	c #4BDF43",
+"V+	c #6DC569",
+"W+	c #A8CCA6",
+"X+	c #D0D4CF",
+"Y+	c #BDD8BB",
+"Z+	c #2EE224",
+"`+	c #19BB11",
+" @	c #0DBE05",
+".@	c #12C109",
+"+@	c #38AB33",
+"@@	c #82BB7F",
+"#@	c #838383",
+"$@	c #777777",
+"%@	c #6C6C6C",
+"&@	c #BAC7B9",
+"*@	c #4EAD49",
+"=@	c #25CA1C",
+"-@	c #1ECD13",
+";@	c #1DD014",
+">@	c #1BC512",
+",@	c #94D591",
+"'@	c #CECFCE",
+")@	c #C7C7C7",
+"!@	c #949494",
+"~@	c #C4D1C4",
+"{@	c #8CD788",
+"]@	c #46E83D",
+"^@	c #27E21E",
+"/@	c #28C621",
+"(@	c #2AE721",
+"_@	c #2FCD28",
+":@	c #2AD022",
+"<@	c #43EF3B",
+"[@	c #78DC74",
+"}@	c #ADD4AB",
+"|@	c #CDCFCD",
+"1@	c #CECECE",
+"2@	c #CBCECB",
+"3@	c #46D83F",
+"4@	c #15B10C",
+"5@	c #14C00B",
+"6@	c #1CBF12",
+"7@	c #27B220",
+"8@	c #5FB45B",
+"9@	c #C5CBC4",
+"0@	c #686868",
+"a@	c #4B4B4B",
+"b@	c #515151",
+"c@	c #606060",
+"d@	c #C1C1C1",
+"e@	c #96B994",
+"f@	c #3FAE39",
+"g@	c #30CE25",
+"h@	c #2DC424",
+"i@	c #20BD16",
+"j@	c #32A62B",
+"k@	c #AFC1AE",
+"l@	c #C7CAC7",
+"m@	c #ABCEA8",
+"n@	c #6ECC67",
+"o@	c #43D33A",
+"p@	c #2DDE22",
+"q@	c #1ED513",
+"r@	c #19B60E",
+"s@	c #26BA1B",
+"t@	c #35E929",
+"u@	c #25CB1A",
+"v@	c #2AB224",
+"w@	c #35C52E",
+"x@	c #2BDE1F",
+"y@	c #2CDF20",
+"z@	c #59D551",
+"A@	c #7AD776",
+"B@	c #B3CCB1",
+"C@	c #81BF7D",
+"D@	c #1FA718",
+"E@	c #1AB50F",
+"F@	c #1FB616",
+"G@	c #31BB29",
+"H@	c #4FAF4A",
+"I@	c #A8BFA7",
+"J@	c #B9B9B9",
+"K@	c #575757",
+"L@	c #555555",
+"M@	c #767676",
+"N@	c #C1C2C0",
+"O@	c #7CB078",
+"P@	c #2DB023",
+"Q@	c #23C114",
+"R@	c #18B60A",
+"S@	c #45CE3A",
+"T@	c #54D649",
+"U@	c #BDC3BC",
+"V@	c #B4C6B2",
+"W@	c #79C973",
+"X@	c #5DDD54",
+"Y@	c #49E440",
+"Z@	c #4CDA43",
+"`@	c #3AC02E",
+" #	c #1EB210",
+".#	c #2FCD20",
+"+#	c #3FEE2D",
+"@#	c #2BEA1B",
+"##	c #57E54C",
+"$#	c #4AE83D",
+"%#	c #3EF12E",
+"&#	c #47DE3C",
+"*#	c #41BD3B",
+"=#	c #3CB034",
+"-#	c #21C70F",
+";#	c #35D828",
+">#	c #39C72C",
+",#	c #5EC653",
+"'#	c #96C891",
+")#	c #A2C09F",
+"!#	c #3FD531",
+"~#	c #3DE12F",
+"{#	c #36C229",
+"]#	c #38B72D",
+"^#	c #4DA946",
+"/#	c #87B683",
+"(#	c #464646",
+"_#	c #3F3F3F",
+":#	c #3E3E3E",
+"<#	c #454545",
+"[#	c #494949",
+"}#	c #252525",
+"|#	c #B2BAB1",
+"1#	c #62AB5A",
+"2#	c #30A825",
+"3#	c #13C104",
+"4#	c #46E63A",
+"5#	c #30B424",
+"6#	c #53C84C",
+"7#	c #3AE72D",
+"8#	c #34C326",
+"9#	c #3BB032",
+"0#	c #3BB035",
+"a#	c #31BB25",
+"b#	c #3BC62D",
+"c#	c #26BC18",
+"d#	c #33AE27",
+"e#	c #3CA533",
+"f#	c #4B9E44",
+"g#	c #68A564",
+"h#	c #61A35D",
+"i#	c #4E9E48",
+"j#	c #38A12F",
+"k#	c #3FAD37",
+"l#	c #53C04E",
+"m#	c #3AC52F",
+"n#	c #1CC010",
+"o#	c #25C315",
+"p#	c #37E22B",
+"q#	c #39EC28",
+"r#	c #42DD33",
+"s#	c #42C33C",
+"t#	c #36D429",
+"u#	c #51CF4A",
+"v#	c #3AA331",
+"w#	c #68B362",
+"x#	c #B7BCB6",
+"y#	c #979797",
+"z#	c #414141",
+"A#	c #484848",
+"B#	c #444444",
+"C#	c #343434",
+"D#	c #4F4F4F",
+"E#	c #5D5D5D",
+"F#	c #3A3A3A",
+"G#	c #393939",
+"H#	c #AFAFAF",
+"I#	c #A3B3A2",
+"J#	c #5DB256",
+"K#	c #33B02B",
+"L#	c #55D84F",
+"M#	c #3ABF2F",
+"N#	c #55F54C",
+"O#	c #4DF33F",
+"P#	c #40EB31",
+"Q#	c #57F34D",
+"R#	c #45D03B",
+"S#	c #42AF3A",
+"T#	c #4BAE43",
+"U#	c #60B15B",
+"V#	c #68A764",
+"W#	c #73A06F",
+"X#	c #97A896",
+"Y#	c #B1B5B1",
+"Z#	c #A2AEA1",
+"`#	c #819F7F",
+" $	c #689F64",
+".$	c #65A660",
+"+$	c #5CA557",
+"@$	c #449F3E",
+"#$	c #3BAD31",
+"$$	c #2AD81C",
+"%$	c #28E519",
+"&$	c #43D137",
+"*$	c #3EF12C",
+"=$	c #3DC132",
+"-$	c #3BD52D",
+";$	c #46C63D",
+">$	c #6DBA6B",
+",$	c #9EB29D",
+"'$	c #3C3C3C",
+")$	c #8D8D8D",
+"!$	c #474747",
+"~$	c #3B3B3B",
+"{$	c #2D2D2D",
+"]$	c #6E6E6E",
+"^$	c #2C2C2C",
+"/$	c #B0B0B0",
+"($	c #7FAB7B",
+"_$	c #49C53E",
+":$	c #4ADF3F",
+"<$	c #42CC37",
+"[$	c #23D70F",
+"}$	c #42E434",
+"|$	c #23E10F",
+"1$	c #49D13E",
+"2$	c #47BA3B",
+"3$	c #67AD63",
+"4$	c #6A9867",
+"5$	c #819B7E",
+"6$	c #A2AAA1",
+"7$	c #B0B1B0",
+"8$	c #9DAB9B",
+"9$	c #86A184",
+"0$	c #709C6E",
+"a$	c #65A560",
+"b$	c #51B048",
+"c$	c #4FD045",
+"d$	c #41D434",
+"e$	c #40D632",
+"f$	c #28BB18",
+"g$	c #47E13B",
+"h$	c #4FCF45",
+"i$	c #83A780",
+"j$	c #2A2A2A",
+"k$	c #676767",
+"l$	c #636363",
+"m$	c #2E2E2E",
+"n$	c #1E1E1E",
+"o$	c #2B2B2B",
+"p$	c #8E8E8E",
+"q$	c #A8ABA8",
+"r$	c #6FA56B",
+"s$	c #35D028",
+"t$	c #4EDA44",
+"u$	c #39CC2D",
+"v$	c #4CBD47",
+"w$	c #47CE3B",
+"x$	c #52A14A",
+"y$	c #71956F",
+"z$	c #8B998A",
+"A$	c #A6A9A5",
+"B$	c #878787",
+"C$	c #A9ABA9",
+"D$	c #97A096",
+"E$	c #7F9E7C",
+"F$	c #54B34C",
+"G$	c #57D950",
+"H$	c #2CDB1D",
+"I$	c #2DD91C",
+"J$	c #42C039",
+"K$	c #5FB25A",
+"L$	c #A4AAA3",
+"M$	c #898989",
+"N$	c #232323",
+"O$	c #212121",
+"P$	c #7E7E7E",
+"Q$	c #202020",
+"R$	c #1A1A1A",
+"S$	c #626262",
+"T$	c #9CA49C",
+"U$	c #61B85C",
+"V$	c #30AD24",
+"W$	c #2AC51F",
+"X$	c #3CC830",
+"Y$	c #51AB4B",
+"Z$	c #90A48E",
+"`$	c #A5A5A4",
+" %	c #8C8C8C",
+".%	c #888888",
+"+%	c #65B55E",
+"@%	c #44B43E",
+"#%	c #1CBC10",
+"$%	c #26B816",
+"%%	c #6FA96B",
+"&%	c #191919",
+"*%	c #1F1F1F",
+"=%	c #4D4D4D",
+"-%	c #4A4A4A",
+";%	c #161616",
+">%	c #1B1B1B",
+",%	c #1C1C1C",
+"'%	c #141414",
+")%	c #7EAB7B",
+"!%	c #4ACD3F",
+"~%	c #31E921",
+"{%	c #48E73B",
+"]%	c #45CD3D",
+"^%	c #9AA599",
+"/%	c #969696",
+"(%	c #9FA09F",
+"_%	c #54D249",
+":%	c #4ECE47",
+"<%	c #41D836",
+"[%	c #33DA27",
+"}%	c #52C749",
+"|%	c #8AA289",
+"1%	c #858585",
+"2%	c #737373",
+"3%	c #111111",
+"4%	c #131313",
+"5%	c #949C93",
+"6%	c #4BC93E",
+"7%	c #49D13F",
+"8%	c #3AC42D",
+"9%	c #40E632",
+"0%	c #7CBF76",
+"a%	c #8DA68B",
+"b%	c #5AE351",
+"c%	c #35F221",
+"d%	c #3DFB2B",
+"e%	c #2FE41C",
+"f%	c #52C046",
+"g%	c #979A97",
+"h%	c #121212",
+"i%	c #0B0B0B",
+"j%	c #0C0C0C",
+"k%	c #080808",
+"l%	c #76AF71",
+"m%	c #79CD74",
+"n%	c #2DB319",
+"o%	c #45CD32",
+"p%	c #53DD3D",
+"q%	c #929692",
+"r%	c #68C459",
+"s%	c #53E341",
+"t%	c #41FB29",
+"u%	c #3FFB22",
+"v%	c #5CD84C",
+"w%	c #7CAB77",
+"x%	c #0A0A0A",
+"y%	c #060606",
+"z%	c #797979",
+"A%	c #889787",
+"B%	c #76C470",
+"C%	c #40BF2C",
+"D%	c #1BC005",
+"E%	c #39DD1D",
+"F%	c #7EAB77",
+"G%	c #8B908B",
+"H%	c #56DD43",
+"I%	c #5DEC4C",
+"J%	c #60F94F",
+"K%	c #53F33F",
+"L%	c #5BCA4D",
+"M%	c #869484",
+"N%	c #717171",
+"O%	c #010101",
+"P%	c #878886",
+"Q%	c #77B670",
+"R%	c #5FC953",
+"S%	c #4AB040",
+"T%	c #45D632",
+"U%	c #63D056",
+"V%	c #72A06A",
+"W%	c #51E63D",
+"X%	c #6CF65C",
+"Y%	c #5CF648",
+"Z%	c #3AE527",
+"`%	c #54B645",
+" &	c #040404",
+".&	c #050505",
+"+&	c #757575",
+"@&	c #818181",
+"#&	c #749971",
+"$&	c #6DCC66",
+"%&	c #43BD36",
+"&&	c #5DC453",
+"*&	c #55E248",
+"=&	c #789075",
+"-&	c #66C359",
+";&	c #4FEB3B",
+">&	c #4FF13E",
+",&	c #63F450",
+"'&	c #72D768",
+")&	c #7D987A",
+"!&	c #7A7F7A",
+"~&	c #76C071",
+"{&	c #61C457",
+"]&	c #47BB38",
+"^&	c #50DD3F",
+"/&	c #78B871",
+"(&	c #7B7E7A",
+"_&	c #88DB85",
+":&	c #66F45A",
+"<&	c #41E72A",
+"[&	c #4FF23B",
+"}&	c #62C656",
+"|&	c #5F5F5F",
+"1&	c #0F0F0F",
+"2&	c #6EA568",
+"3&	c #47D134",
+"4&	c #4EB541",
+"5&	c #70CE6A",
+"6&	c #7FE078",
+"7&	c #757875",
+"8&	c #6A9A64",
+"9&	c #46EB30",
+"0&	c #71EF65",
+"a&	c #40E927",
+"b&	c #65E753",
+"c&	c #6FA86A",
+"d&	c #727272",
+"e&	c #151515",
+"f&	c #6A8168",
+"g&	c #58C949",
+"h&	c #4FC441",
+"i&	c #5FC356",
+"j&	c #67E35A",
+"k&	c #699A64",
+"l&	c #6BC361",
+"m&	c #59F143",
+"n&	c #7AE771",
+"o&	c #6BEC5B",
+"p&	c #55D544",
+"q&	c #6E856B",
+"r&	c #171717",
+"s&	c #676867",
+"t&	c #64B458",
+"u&	c #4BCF38",
+"v&	c #61B55B",
+"w&	c #60D952",
+"x&	c #6BCE61",
+"y&	c #657263",
+"z&	c #3FE529",
+"A&	c #50F23C",
+"B&	c #4ADF3A",
+"C&	c #44F028",
+"D&	c #60B953",
+"E&	c #696A69",
+"F&	c #1D1D1D",
+"G&	c #222222",
+"H&	c #72896F",
+"I&	c #6AD058",
+"J&	c #52C03E",
+"K&	c #68C859",
+"L&	c #7FE66F",
+"M&	c #6A7A68",
+"N&	c #4E4E4E",
+"O&	c #689D5C",
+"P&	c #80EF6D",
+"Q&	c #7DE76B",
+"R&	c #92E588",
+"S&	c #45E326",
+"T&	c #6B9263",
+"U&	c #5C5C5C",
+"V&	c #282828",
+"W&	c #303030",
+"X&	c #5B5B5B",
+"Y&	c #5D635B",
+"Z&	c #7FC274",
+"`&	c #59C942",
+" *	c #3FBC2A",
+".*	c #59E144",
+"+*	c #6BAF5D",
+"@*	c #565656",
+"#*	c #88CA7F",
+"$*	c #8EF37D",
+"%*	c #60DB47",
+"&*	c #7EEB6A",
+"**	c #73CE66",
+"=*	c #5A6C58",
+"-*	c #373737",
+";*	c #3D3D3D",
+">*	c #6A9A61",
+",*	c #7CD46D",
+"'*	c #41B92A",
+")*	c #66D054",
+"!*	c #6FDF62",
+"~*	c #585E57",
+"{*	c #5D695A",
+"]*	c #A4E99E",
+"^*	c #80EA70",
+"/*	c #9CD899",
+"(*	c #76EC65",
+"_*	c #7DA977",
+":*	c #555655",
+"<*	c #323232",
+"[*	c #5B6859",
+"}*	c #7CCB70",
+"|*	c #49C735",
+"1*	c #68C558",
+"2*	c #7AE66A",
+"3*	c #6C8F67",
+"4*	c #7C9B79",
+"5*	c #97F18A",
+"6*	c #6FDE61",
+"7*	c #70DF5B",
+"8*	c #69DD55",
+"9*	c #5C7856",
+"0*	c #535353",
+"a*	c #505050",
+"b*	c #494B49",
+"c*	c #7BAF73",
+"d*	c #85D47A",
+"e*	c #6AB75F",
+"f*	c #86DC7A",
+"g*	c #5CCF46",
+"h*	c #4A4C49",
+"i*	c #494D48",
+"j*	c #7ED26F",
+"k*	c #64F246",
+"l*	c #4AD22F",
+"m*	c #70E95B",
+"n*	c #6CC65B",
+"o*	c #4C514B",
+"p*	c #434343",
+"q*	c #5F785B",
+"r*	c #64D24E",
+"s*	c #6BC45B",
+"t*	c #58CB40",
+"u*	c #5FE842",
+"v*	c #496A41",
+"w*	c #363636",
+"x*	c #4E6C4A",
+"y*	c #5DEE3D",
+"z*	c #85E479",
+"A*	c #7AD96A",
+"B*	c #8AE97A",
+"C*	c #64975C",
+"D*	c #464946",
+"E*	c #70BF61",
+"F*	c #79CE6A",
+"G*	c #68BD59",
+"H*	c #83E674",
+"I*	c #5CA64F",
+"J*	c #4D9F3F",
+"K*	c #8DEF7F",
+"L*	c #72DD64",
+"M*	c #7AE269",
+"N*	c #65DA51",
+"O*	c #4B6445",
+"P*	c #646464",
+"Q*	c #383838",
+"R*	c #728C70",
+"S*	c #7CD871",
+"T*	c #61BE52",
+"U*	c #7CD86E",
+"V*	c #59C847",
+"W*	c #374036",
+"X*	c #393D38",
+"Y*	c #60B153",
+"Z*	c #7CEE65",
+"`*	c #62D449",
+" =	c #65EC4D",
+".=	c #73BB66",
+"+=	c #3C3F3B",
+"@=	c #292929",
+"#=	c #4C514C",
+"$=	c #87CE78",
+"%=	c #74CC5F",
+"&=	c #58D140",
+"*=	c #73D263",
+"==	c #486242",
+"-=	c #3E5638",
+";=	c #46AD2E",
+">=	c #8AEC75",
+",=	c #7EDD67",
+"'=	c #69E453",
+")=	c #64845C",
+"!=	c #2F2F2F",
+"~=	c #6A6A6A",
+"{=	c #2F2F2E",
+"]=	c #6AAA5A",
+"^=	c #65DC4B",
+"/=	c #60DD4D",
+"(=	c #76D061",
+"_=	c #72C15E",
+":=	c #2E302D",
+"<=	c #7DA475",
+"[=	c #83CB70",
+"}=	c #70EA56",
+"|=	c #84EA6C",
+"1=	c #80CF74",
+"2=	c #464A45",
+"3=	c #242424",
+"4=	c #7B7B7B",
+"5=	c #43673D",
+"6=	c #84DD6E",
+"7=	c #94F07B",
+"8=	c #4CC732",
+"9=	c #48C32B",
+"0=	c #424E3F",
+"a=	c #2D332B",
+"b=	c #6FA564",
+"c=	c #58CD3F",
+"d=	c #53DE41",
+"e=	c #ADEE9E",
+"f=	c #5F9F53",
+"g=	c #292A29",
+"h=	c #7D7D7D",
+"i=	c #868686",
+"j=	c #7C7C7C",
+"k=	c #6D6D6D",
+"l=	c #A3A3A3",
+"m=	c #A1A1A1",
+"n=	c #292F28",
+"o=	c #89BC7D",
+"p=	c #8FD47D",
+"q=	c #63C24D",
+"r=	c #6DDA52",
+"s=	c #58B24E",
+"t=	c #5C7755",
+"u=	c #89D975",
+"v=	c #31D019",
+"w=	c #5ECA42",
+"x=	c #8FCC7E",
+"y=	c #52624D",
+"z=	c #828282",
+"A=	c #959595",
+"B=	c #929292",
+"C=	c #787878",
+"D=	c #4E8044",
+"E=	c #5ABD4A",
+"F=	c #6ABE56",
+"G=	c #60BC4A",
+"H=	c #96E184",
+"I=	c #A7E497",
+"J=	c #74BA64",
+"K=	c #5BD83D",
+"L=	c #6BAA5A",
+"M=	c #7FC170",
+"N=	c #292B28",
+"O=	c #989898",
+"P=	c #404040",
+"Q=	c #2D3A2C",
+"R=	c #97C18C",
+"S=	c #96D485",
+"T=	c #8DD679",
+"U=	c #A3E093",
+"V=	c #B8F1A9",
+"W=	c #94D282",
+"X=	c #4FD63C",
+"Y=	c #6BD353",
+"Z=	c #587F4E",
+"`=	c #919191",
+" -	c #BABABA",
+".-	c #171817",
+"+-	c #72836E",
+"@-	c #A7D999",
+"#-	c #82D16F",
+"$-	c #6FC05A",
+"%-	c #5CC544",
+"&-	c #6FC856",
+"*-	c #44EB2B",
+"=-	c #55B143",
+"--	c #353F32",
+";-	c #CBCBCB",
+">-	c #101010",
+",-	c #3E4C3B",
+"'-	c #79CC64",
+")-	c #88D27A",
+"!-	c #8BD379",
+"~-	c #44CD2B",
+"{-	c #86DB6F",
+"]-	c #56DA3B",
+"^-	c #46973C",
+"/-	c #151614",
+"(-	c #8F8F8F",
+"_-	c #0D0D0D",
+":-	c #151A14",
+"<-	c #7CB36F",
+"[-	c #72B368",
+"}-	c #83B877",
+"|-	c #74B463",
+"1-	c #92BC87",
+"2-	c #77BF68",
+"3-	c #4A5647",
+"4-	c #0E0E0E",
+"5-	c #495945",
+"6-	c #88A481",
+"7-	c #7A8C75",
+"8-	c #688062",
+"9-	c #76A26C",
+"0-	c #698D60",
+"a-	c #171917",
+"b-	c #E3E3E3",
+"c-	c #070707",
+"d-	c #1C1E1C",
+"e-	c #2D3F2B",
+"f-	c #0E100E",
+"g-	c #1F281E",
+"h-	c #374134",
+"i-	c #070807",
+"j-	c #A7A7A7",
+"k-	c #EAEAEA",
+"l-	c #FAFAFA",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                  . + @ # $ % & * = $ - ; >                                                     ",
+"                                            , ' ) ! ! ! ~ { ] ^ / ( _ ! ! ! ~ : <                                               ",
+"                                        ; _ [ [ [ [ [ [ ' } | 1 2 3 4 [ [ [ [ [ [ # 5 6                                         ",
+"              7 8 ; * 4             + - 9 9 9 9 9 9 9 9 5 0 a b c d 7 9 9 9 9 9 9 9 9 9 e f         g h < ,                     ",
+"      * i j j j j j j j i       k l m m m m m m m l n o p q r s t u + v ( w 5 m m m m m m x y     % j j j j j j z $ A           ",
+"      i B C D E F G H I i 9 J K L L L L L L * 1 M     N * n O P ] Q ; R       ] g L L L L L L & S i T U V W X Y i i i Z         ",
+"      `  ...+.@.#.$.%.&.*.` w , < < < < & =.            -.& g 7 n & .               ;.< < < < ;.[ ` >.,.'.).!.~.{.].^.`         ",
+"      /.(._.:.<.[.}.|.1.2.^./.> 3.7 7 4.                    5.6.7.                    N Q 7 8.v 9.0.a.b.c.d.e.f.g.h.i.9.        ",
+"      ' # j.k.l.m.n.o.p.q.r.# s.t.u.|                                                     v.^ # w.x.y.z.A.B.C.D.E.F.# '         ",
+"      L : G.H.I.J.K.L.M.N.O.P.: < Q.                                                        ' R.S.T.U.V.W.X.Y.Z.`. +: v         ",
+"      7 ' .+++@+#+$+%+&+*+=+-+;+s.R                                                       * ' >+,+'+)+!+~+{+]+^+/+(+' 7         ",
+"        _+_+_+_+_+:+<+[+}+|+|.1+_+x                                                     2+_+3+4+5+6+7+8+9+m _+_+_+_+x           ",
+"        O 2+4.0+< % a+b+c+d+e+f+g+% <                     6 K v h+>                     p i+j+k+l+m+n+o+p+% 8.f 4.;.            ",
+"                } * L q+r+s+t+u+v+w+h x+              ^ o h h h h h h < S             + h y+z+A+B+C+D+E+h g F+G+                ",
+"              H+I+J+o K+L+M+N+O+P+Q+R+4         R K w o R+S+T+U+V+W+X+o o 4 2+q     u.o Y+Z+`+ @.@+@@@w w #@$@b                 ",
+"              r %@H+4.< &@*@=@-@;@>@,@'@)@!@u.& < < ~@{@]@^@/@(@_@:@<@[@}@|@< < g ( 1@2@3@4@5@6@7@8@9@< v.0@%@%@a@              ",
+"            b@0 0 c@H+d@n e@f@g@h@i@j@k@n n n l@m@n@o@p@q@r@s@t@u@v@w@x@y@z@A@B@n n n C@D@E@F@G@H@I@n J@K@0 0 0 Q.              ",
+"            G+L@L@L@b@M@3.N@O@P@Q@R@S@T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#3.d@  d L@L@L@L@              ",
+"          d (#_#:#<#[#}#5.^ |#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#t#u#v#w#x#^ y#  z#A#B#B#A#_#            ",
+"          C#D#P k E#F#G#  H#u.I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$;$>$,$u.t.    '$a@)$| !$~$            ",
+"          {$D#8.> ]$^$C#    /$4.($_$:$<$[$}$|$1$2$3$4$5$6$4.4.4.4.4.7$8$9$0$a$b$c$d$e$f$g$h$i$4.H#    j${$k$3.1 l$m$            ",
+"          }#m$r r A#n$o$    p$2 q$r$s$t$u$v$w$x$y$z$A$2 2 2 q B$p$5.2 2 2 C$D$E$F$G$H$I$J$K$L$2 M$    N$O$_#P$P$B#Q$O$          ",
+"        R$O$<#S$Q.G+Q$O$      0+7.T$U$V$W$X$Y$Z$`$7.7.]  %            .%v.7.7.7.+%@%#%$%n.%%7.5.      &%*%=%!$-%[#*%*%          ",
+"        ;%>%R$-%L@,%R$'%        -.5.)%!%~%{%]%^%5./%F+                      5.(%_%:%<%[%}%|%5.1%        &%}#2%c O$R$&%          ",
+"        3%4%4%4%4%4%3%          F+J+5%6%7%8%9%0%J+M$                      N J+a%b%c%d%e%f%g%J+            4%4%4%4%4%h%          ",
+"        i%j%j%j%j%k%              M !@l%m%n%o%p%q%f                       )$!@r%s%t%u%v%w%!@M$              x%j%j%j%j%          ",
+"        y%y%y%y%y%                z%)$A%B%C%D%E%F%)$M@                    )$G%H%I%J%K%L%M%)$N%                y%y%y%y%          ",
+"        O%O%O%O%O%                  B$P%Q%R%S%T%U%B$}                   c B$V%W%X%Y%Z%`%B$1%                  O%O%O%O%          ",
+"         &.&.&.& &                  +&@&#&$&%&&&*&=&@&H+                $@@&-&;&>&,&'&)&@&2%                  .&.&.&.&          ",
+"        x%x%x%x%x%                    F+!&~&{&]&^&/&F+2%                F+(&_&:&<&[&}&!&F+|&                  x%x%x%x%          ",
+"        1&3%3%3%3%                    c I+2&3&4&5&6&7&I+              0 I+8&9&0&a&b&c&I+d&                    3%3%3%3%          ",
+"        e&&%&%&%&%                    Q.]$f&g&h&i&j&k&]$c@            0@]$l&m&n&o&p&q&]$c@                  h%&%&%&%r&          ",
+"        &%O$O$O$O$                      k$s&t&u&v&w&x&s&H+            k$y&z&A&B&C&D&E&k$                    ,%O$O$O$F&          ",
+"          j$j$j$j$G&                    K@0 H&I&J&K&L&M&0 N&        G+0 O&P&Q&R&S&T&0 U&                    V&j$j$j$Q$          ",
+"          d C#C#C#W&                      X&Y&Z&`& *.*+*X&@*        a X&#*$*%*&***=*X&[#                    C#C#C#C#            ",
+"          -*:#:#:#;*                      b@L@>*,*'*)*!*~*L@      _#L@{*]*^*/*(*_*:*L@                    m$:#:#:#'$            ",
+"          <*A#A#A#A#F#                    z#D#[*}*|*1*2*3*D#(#    (#D#4*5*6*7*8*9*D#(#                    B#A#A#A#;*            ",
+"            b@0*0*0*a*                      A#b*c*d*e*f*g*h*A#    [#i*j*k*l*m*n*o*[#                      0*0*0*0*              ",
+"            N&3 3 3 3 A#                    '$p*q*r*s*t*u*v*p*-*w*p*x*y*z*A*B*C*p*z#                    @*3 3 3 a               ",
+"              0@J J J k$                      :#D*E*F*G*H*I*:#~$F#:#J*K*L*M*N*O*:#C#                  (#J J J J [#              ",
+"              P*+&+&+&+&t                     w*Q*R*S*T*U*V*W*Q*Q*X*Y*Z*`* =.=+=Q*                    b +&+&+&]$                ",
+"                P$N N N N a                   @=<*#=$=%=&=*===<*<*-=;=>=,='=)=<*!=                  c N N N N 0*                ",
+"                ~= % % % %M$                    {${=]=^=/=(=_=:={$<=[=}=|=1=2={$3=                k$ % % % %4=                  ",
+"                  | y#y#y#y#M S$c               3=V&5=6=7=8=9=0=a=b=c=d=e=f=g=V&          h=i=j=k=/%y#y#y#f                     ",
+"                    -.l=l=l=m=M #@.%N             N$n=o=p=q=r=s=t=u=v=w=x=y=N$*%      z=A=1%#@B=5.l=l=l=] t                     ",
+"                      R =.=.q C=( 7 B$B$          F&n$D=E=F=G=H=I=J=K=L=M=N=n$      j=5.N /$> #@/%6.=.6.u                       ",
+"                      $@( u.O=P=6 7.2%3 ]         ;%R$Q=R=S=T=U=V=W=X=Y=Z=R$&%      =.!@G+k u.c I+x+u.`=                        ",
+"                        @&1 O ;*@*G+A#r  -          ;%.-+-@-#-$-%-&-*-=---;%h%      d@0+<*k$k$!$r ^ v.                          ",
+"                          u  -| i=j=#@2 ;-/         >-h%,-'-)-!-~-{-]-^-/-3%      C={ u.C=k$3 2%O 0+                            ",
+"                              k R /  -4 ; ; 8 2+(-  x%_-:-<-[-}-|-1-2-3-_-4-  m=K ; ; w u.7./ 6 h=                              ",
+"                                S h % 5 5 5 5 5 5 v H#4%x%5-6-7-8-9-0-a-x%]$l 5 5 5 5 5 l L  -                                  ",
+"                                    < s.' ' ' ' ' ' b-N&c-d-e-f-k%g-h-i-1&y ' ' ' ' ' ' h f                                     ",
+"                                        o = # # # # # j-c- & & & & & & &!$k-# # # _ % O                                         ",
+"                                            7 @ 9.~ ` [  %'$Q*b H#E#m$G+w ~ ) k-1@                                              ",
+"                                                  4.< m = # 9.i l-) ' m w >                                                     ",
+"                                                                                                                                ",
+"                                                                                                                                "};
--- mldonkey-2.7.3.orig/debian/images/mlnet.xpm
+++ mldonkey-2.7.3/debian/images/mlnet.xpm
@@ -0,0 +1,62 @@
+/* XPM */
+static char *mlnet[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 24 1",
+"  c black",
+". c #190019001900",
+"X c gray20",
+"o c #000000007F00",
+"O c #00007F000000",
+"+ c #00007F007F00",
+"@ c #7F0000000000",
+"# c #7F0000007F00",
+"$ c #7F007F000000",
+"% c #4C004C004C00",
+"& c #660066006700",
+"* c gray50",
+"= c blue",
+"- c green",
+"; c cyan",
+": c red",
+"> c magenta",
+", c yellow",
+"< c gray60",
+"1 c #B200B200B200",
+"2 c gray80",
+"3 c gray90",
+"4 c gray100",
+"5 c None",
+/* pixels */
+"55555555555555555555555555555555",
+"55555555555555555555555555555555",
+"55555555555555555555555555555555",
+"55555555555555555555555555555555",
+"55555555555555555555555555555555",
+" ..... 555555555555555555 .O.. 5",
+"%24322%55555555555555555 %2222<X",
+"<2-<-11.5555555555555555.21<-<2<",
+"*2-O--2<.55555555555555.<1+-$-1<",
+"&211&-*2% 5555555555555&3---112&",
+".<121--<2%555 X**%. 5 %2<O$12<<.",
+"5 .X1<$-<<..&*12121*XX1<--<2X. 5",
+"5555&2*--1111-----<1211*O-1&5555",
+"5555 *1--*<<*-$-*-$--1--*1*.5555",
+"55555.*<-----*<<<<<--$-*1<.55555",
+"555555X<<$<*1<*&%*<1<*--<X 55555",
+"5555555%1--<<X. 5 .*<--<*O555555",
+"5555555.*1$-*.5555 *<<$1%5555555",
+"55555555%*-**& 555X*1-*&.5555555",
+"55555555.&<*-*X555X*--*%55555555",
+"555555555X*$<*O55.&*-<*.55555555",
+"555555555.+*-<&.5X<-<$% 55555555",
+"555555555.%*-<&X %*1-*X555555555",
+"5555555555.%<-&%.%<-<%.555555555",
+"5555555555.X&*<$O&1-&X 555555555",
+"55555555555.&--&X+,<X.5555555555",
+"55555555555 X&<$%*-*. 5555555555",
+"555555555555.%-<<-*%.55555555555",
+"555555555555..-<<,+. 55555555555",
+"555555555555 .&<-<O. 55555555555",
+"5555555555555 .&%%. 555555555555",
+"5555555555555   . . 555555555555"
+};
--- mldonkey-2.7.3.orig/debian/images/mlgui.xpm
+++ mldonkey-2.7.3/debian/images/mlgui.xpm
@@ -0,0 +1,62 @@
+/* XPM */
+static char *mlgui-new[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 24 1",
+"  c black",
+". c #190019001900",
+"X c gray20",
+"o c #000000007F00",
+"O c #00007F000000",
+"+ c #00007F007F00",
+"@ c #7F0000000000",
+"# c #7F0000007F00",
+"$ c #7F007F000000",
+"% c #4C004C004C00",
+"& c #660066006700",
+"* c gray50",
+"= c blue",
+"- c green",
+"; c cyan",
+": c red",
+"> c magenta",
+", c yellow",
+"< c gray60",
+"1 c #B200B200B200",
+"2 c gray80",
+"3 c gray90",
+"4 c gray100",
+"5 c None",
+/* pixels */
+"55555555555555555555555555555555",
+"55555555555555555555555555555555",
+"55555555555555555555555555555555",
+"5555555555 .%&*&&*&..55555555555",
+"555O.. 5 .*234211333<&. ....5555",
+"5X*122%.&233221&&223331X%22**% 5",
+"5*2<-<21221*XX111*.X&132211112.5",
+"5*2&--131*. 5 .%X.55 X*21--$-2.5",
+"5&2<<-O21.555555555555%2---112.5",
+"5.113--*2% 55.%&&..55.1<-&111% 5",
+"5 .X<2&--1X.&<2111<OX*1-O<2&X 55",
+"55 X&<1--<111<----<111--<2*&X555",
+"55.%%%<<&-1<-$-*<-&-<-**1%%%X 55",
+"55.**X%<*<---<<<1<**$--1*.%<% 55",
+"5 .%&..&<<-*1<*%%*<<<-*<X X&X 55",
+"5 .X.. .*--<<X.55.O<<--&  .XX.55",
+"5  .  55$<<-*X5555%*-<<%55 .  55",
+"5    555.****& 55.**1-$.555   55",
+"5 .  5555X*--*.55X&-<*%.555.. 55",
+"5 ...5555.*-<*X55%-<-&.555 ...55",
+"55.XX 555 %*<<$..%<-<& 555 XX.55",
+"55.%X.5555O&-<&..&1-$X5555.XX 55",
+"55 %&X 555 %*-*XX$<<%.555 %&X555",
+"555X*&. 555.&<-%%*-*X 555X&&.555",
+"555.&<&  55.X*-&O<*%.5  X**% 555",
+"555 X<<*&.  X$<$$<-X X&*<<*.5555",
+"55555%1<<*X5.X<11-%  <<<<<X 5555",
+"55555 &*&<*. .*-<<X X<&**X 55555",
+"555555 X<231*XO*-%X<221&X 555555",
+"5555555 .*2341XXXX*331&.55555555",
+"555555555 .&<2****1*%. 555555555",
+"555555555555 ..X....555555555555"
+};
--- mldonkey-2.7.3.orig/debian/images/mlnet-orig.xpm
+++ mldonkey-2.7.3/debian/images/mlnet-orig.xpm
@@ -0,0 +1,1221 @@
+/* XPM */
+static char * mlnet_xpm[] = {
+"64 64 1154 2",
+"  	c None",
+". 	c #C1C1C1",
+"+ 	c #D9D9D9",
+"@ 	c #E2E2E2",
+"# 	c #E9E9E9",
+"$ 	c #F7F7F7",
+"% 	c #FDFDFD",
+"& 	c #FEFEFE",
+"* 	c #F4F4F4",
+"= 	c #DADADA",
+"- 	c #FBFBFB",
+"; 	c #FCFCFC",
+"> 	c #F3F3F3",
+", 	c #EAEAEA",
+"' 	c #DFDFDF",
+") 	c #D4D4D4",
+"! 	c #C7C7C7",
+"~ 	c #F0F0F0",
+"{ 	c #FAFAFA",
+"] 	c #FBFAFB",
+"^ 	c #F9FAF9",
+"/ 	c #FBFCFB",
+"( 	c #D3D3D3",
+"_ 	c #E6E6E6",
+": 	c #F9F9F9",
+"< 	c #F9FBF9",
+"[ 	c #F9FAF8",
+"} 	c #F6F6F6",
+"| 	c #E5E5E5",
+"1 	c #F4F3F4",
+"2 	c #ECF4EC",
+"3 	c #B9E5B8",
+"4 	c #8BE087",
+"5 	c #80E67B",
+"6 	c #6CD166",
+"7 	c #6BD866",
+"8 	c #4DD647",
+"9 	c #4FDB49",
+"0 	c #9DEB99",
+"a 	c #FFF9FF",
+"b 	c #EDF5EC",
+"c 	c #75EB70",
+"d 	c #46D53F",
+"e 	c #66CF60",
+"f 	c #7AE475",
+"g 	c #8ADA86",
+"h 	c #B3EFB1",
+"i 	c #C2EFC1",
+"j 	c #DEF1DD",
+"k 	c #F8F8F7",
+"l 	c #F2F2F2",
+"m 	c #F4F1F4",
+"n 	c #DBE6DA",
+"o 	c #75CB70",
+"p 	c #1CC514",
+"q 	c #25D31C",
+"r 	c #23C71B",
+"s 	c #26CE1E",
+"t 	c #1DD915",
+"u 	c #10CF07",
+"v 	c #49D141",
+"w 	c #C4EFC1",
+"x 	c #F6F5F6",
+"y 	c #F1F0F1",
+"z 	c #7FDE7C",
+"A 	c #2DD324",
+"B 	c #1AD110",
+"C 	c #24D41B",
+"D 	c #25D71C",
+"E 	c #25CD1C",
+"F 	c #28D31F",
+"G 	c #17C30F",
+"H 	c #61C25D",
+"I 	c #CBDECB",
+"J 	c #F5F2F5",
+"K 	c #EDECEE",
+"L 	c #EAEDEA",
+"M 	c #88E584",
+"N 	c #19CE0F",
+"O 	c #0FAD07",
+"P 	c #18DC0D",
+"Q 	c #21D518",
+"R 	c #22D918",
+"S 	c #1ABB12",
+"T 	c #1EB916",
+"U 	c #58EB50",
+"V 	c #E4F2E3",
+"W 	c #D0CFD0",
+"X 	c #DDDBDD",
+"Y 	c #F0F3EF",
+"Z 	c #B7F3B5",
+"` 	c #35D92D",
+" .	c #1BB913",
+"..	c #1EBD16",
+"+.	c #17CC0D",
+"@.	c #13C909",
+"#.	c #1BDB0F",
+"$.	c #1BA912",
+"%.	c #1CCD12",
+"&.	c #75E26F",
+"*.	c #D8EAD8",
+"=.	c #F0EDF1",
+"-.	c #EFECF0",
+";.	c #9CDC99",
+">.	c #33BC2C",
+",.	c #2AA725",
+"'.	c #3CC436",
+").	c #29A722",
+"!.	c #1DB815",
+"~.	c #14CE0C",
+"{.	c #0FCA05",
+"].	c #26C41D",
+"^.	c #81F37C",
+"/.	c #E6EFE5",
+"(.	c #EEEBEE",
+"_.	c #C8C8C8",
+":.	c #F1EFF1",
+"<.	c #D7EED5",
+"[.	c #4AF041",
+"}.	c #1FB817",
+"|.	c #26CD1E",
+"1.	c #26CE1F",
+"2.	c #1FAD19",
+"3.	c #27A222",
+"4.	c #3BC634",
+"5.	c #2EA128",
+"6.	c #2BB924",
+"7.	c #83D57F",
+"8.	c #DFE8DE",
+"9.	c #EBE9EB",
+"0.	c #D8D8D8",
+"a.	c #B2C7B1",
+"b.	c #5E945C",
+"c.	c #669B63",
+"d.	c #699767",
+"e.	c #57A653",
+"f.	c #3BC433",
+"g.	c #22D818",
+"h.	c #12CA07",
+"i.	c #0EB105",
+"j.	c #30D028",
+"k.	c #A8EBA4",
+"l.	c #E3EDE3",
+"m.	c #DFDCDF",
+"n.	c #CDCDCD",
+"o.	c #E9E3E9",
+"p.	c #D7EDD6",
+"q.	c #76EB6F",
+"r.	c #1FC016",
+"s.	c #18B30F",
+"t.	c #1EDA14",
+"u.	c #23D41B",
+"v.	c #38AF33",
+"w.	c #5FA45B",
+"x.	c #649761",
+"y.	c #639960",
+"z.	c #548B52",
+"A.	c #A1BAA0",
+"B.	c #E4E3E4",
+"C.	c #DCE0DB",
+"D.	c #CCD5CB",
+"E.	c #D7DCD7",
+"F.	c #DFE1DF",
+"G.	c #C8D1C7",
+"H.	c #6CAF69",
+"I.	c #31AD2B",
+"J.	c #19BA11",
+"K.	c #0DBA02",
+"L.	c #1EC015",
+"M.	c #32E028",
+"N.	c #BAE6B8",
+"O.	c #ECE8ED",
+"P.	c #D5D4D5",
+"Q.	c #DAD7DA",
+"R.	c #E4E9E4",
+"S.	c #A2E69E",
+"T.	c #20D816",
+"U.	c #25B91D",
+"V.	c #24B51D",
+"W.	c #23BE1B",
+"X.	c #2EB327",
+"Y.	c #70B56C",
+"Z.	c #D8DBD8",
+"`.	c #DEE0DE",
+" +	c #DEE1DE",
+".+	c #D8DDD8",
+"++	c #DFE2DF",
+"@+	c #D5D5D5",
+"#+	c #E3E3E3",
+"$+	c #E1E1E1",
+"%+	c #E6E4E6",
+"&+	c #ACBFAB",
+"*+	c #5AA356",
+"=+	c #22A91A",
+"-+	c #17C20C",
+";+	c #1ACB0F",
+">+	c #1CC312",
+",+	c #66E260",
+"'+	c #C1E8BF",
+")+	c #E5DFE6",
+"!+	c #D2D2D2",
+"~+	c #D7D7D7",
+"{+	c #EAE1EA",
+"]+	c #ABE8A8",
+"^+	c #3BE033",
+"/+	c #0EB804",
+"(+	c #22BE1A",
+"_+	c #1ABC10",
+":+	c #1FA118",
+"<+	c #61A55D",
+"[+	c #B9C9B7",
+"}+	c #E4E4E4",
+"|+	c #A9A9A9",
+"1+	c #AFAFAF",
+"2+	c #B1B1B1",
+"3+	c #DAD9DA",
+"4+	c #E0DEE0",
+"5+	c #9ABF98",
+"6+	c #44AD3E",
+"7+	c #1EC114",
+"8+	c #0EC805",
+"9+	c #23CD1A",
+"0+	c #10D306",
+"a+	c #77DD72",
+"b+	c #D6E2D6",
+"c+	c #D9D6D9",
+"d+	c #B8B8B8",
+"e+	c #C2C2C2",
+"f+	c #DDDDDD",
+"g+	c #D6D6D6",
+"h+	c #A0A0A0",
+"i+	c #C5C5C5",
+"j+	c #DED8DF",
+"k+	c #BBE5B8",
+"l+	c #57DB50",
+"m+	c #08C600",
+"n+	c #1FC116",
+"o+	c #21BE19",
+"p+	c #1DB215",
+"q+	c #45AE3E",
+"r+	c #9FC59C",
+"s+	c #E3DEE2",
+"t+	c #A8A8A8",
+"u+	c #AEAEAE",
+"v+	c #BDBDBD",
+"w+	c #D5D3D5",
+"x+	c #CBD2CA",
+"y+	c #8ABB86",
+"z+	c #36AE2F",
+"A+	c #1ECD14",
+"B+	c #26CF1E",
+"C+	c #21C918",
+"D+	c #32D929",
+"E+	c #87E082",
+"F+	c #E1D9E0",
+"G+	c #BEBEBE",
+"H+	c #D1D1D1",
+"I+	c #D8D7D8",
+"J+	c #D7D8D7",
+"K+	c #D6D8D6",
+"L+	c #B9B9B9",
+"M+	c #A3A2A3",
+"N+	c #DAD9D9",
+"O+	c #76E271",
+"P+	c #1FD416",
+"Q+	c #10B908",
+"R+	c #15BC0C",
+"S+	c #1FBE16",
+"T+	c #30AD29",
+"U+	c #8CBE89",
+"V+	c #CFD4CF",
+"W+	c #D4D3D4",
+"X+	c #BABABA",
+"Y+	c #D7D4D8",
+"Z+	c #BBCABA",
+"`+	c #6EB46C",
+" @	c #37B831",
+".@	c #2BCF24",
+"+@	c #24D41A",
+"@@	c #1ECC14",
+"#@	c #4FD148",
+"$@	c #A7DDA5",
+"%@	c #D5D1D5",
+"&@	c #C6C6C6",
+"*@	c #C9C9C9",
+"=@	c #C1D2C1",
+"-@	c #96CC93",
+";@	c #62C45C",
+">@	c #41DE39",
+",@	c #72C76E",
+"'@	c #AACCA8",
+")@	c #CBD4CA",
+"!@	c #D4D2D4",
+"~@	c #CBCBCB",
+"{@	c #D7D2D8",
+"]@	c #88E482",
+"^@	c #37CE2F",
+"/@	c #12BC0A",
+"(@	c #10C207",
+"_@	c #11C009",
+":@	c #2FAD29",
+"<@	c #6EB66A",
+"[@	c #BBCCBA",
+"}@	c #D8D4D8",
+"|@	c #BFBFBF",
+"1@	c #D1D0D1",
+"2@	c #B2C4B1",
+"3@	c #52AE4E",
+"4@	c #28C720",
+"5@	c #1CCB11",
+"6@	c #1ACC10",
+"7@	c #4ACE43",
+"8@	c #C4D0C3",
+"9@	c #CECFCE",
+"0@	c #B3B2B3",
+"a@	c #CCCCCC",
+"b@	c #CECECE",
+"c@	c #CDCECD",
+"d@	c #C7D0C6",
+"e@	c #98D494",
+"f@	c #58E450",
+"g@	c #2DE623",
+"h@	c #22D11A",
+"i@	c #27CA20",
+"j@	c #31E429",
+"k@	c #26C91E",
+"l@	c #2CD924",
+"m@	c #48E840",
+"n@	c #73DF6E",
+"o@	c #A5D3A3",
+"p@	c #C9CFC9",
+"q@	c #CFCECF",
+"r@	c #C3C3C3",
+"s@	c #C0BFC0",
+"t@	c #CECECD",
+"u@	c #B1D1AF",
+"v@	c #38C931",
+"w@	c #0CBE02",
+"x@	c #11B908",
+"y@	c #27B91F",
+"z@	c #4FB14A",
+"A@	c #AEC4AD",
+"B@	c #D0CFCF",
+"C@	c #BFBFC0",
+"D@	c #ACACAC",
+"E@	c #C2C1C2",
+"F@	c #C4C7C4",
+"G@	c #97BA96",
+"H@	c #3FAE39",
+"I@	c #29C721",
+"J@	c #21CB19",
+"K@	c #1ABC13",
+"L@	c #25AF1E",
+"M@	c #5BB057",
+"N@	c #C3C8C3",
+"O@	c #CAC9CA",
+"P@	c #C9C8C9",
+"Q@	c #CAC8CA",
+"R@	c #C4CAC3",
+"S@	c #A7CDA4",
+"T@	c #6ACC63",
+"U@	c #3CD034",
+"V@	c #24DC1A",
+"W@	c #17D90C",
+"X@	c #14C20B",
+"Y@	c #18B210",
+"Z@	c #1DC814",
+"`@	c #2AE721",
+" #	c #16BF0D",
+".#	c #20B319",
+"+#	c #2AC722",
+"@#	c #23DE19",
+"##	c #22DF18",
+"$#	c #47D640",
+"%#	c #6DD669",
+"&#	c #A4CFA2",
+"*#	c #C4C9C3",
+"=#	c #C1C8C1",
+"-#	c #4BB346",
+";#	c #18AC11",
+">#	c #0FB107",
+",#	c #18BA10",
+"'#	c #43AB3D",
+")#	c #92BA90",
+"!#	c #C3C2C3",
+"~#	c #A5A4A5",
+"{#	c #BFC2BE",
+"]#	c #7FB07C",
+"^#	c #37B32F",
+"/#	c #1ABA0D",
+"(#	c #1CBA0E",
+"_#	c #2ABE1D",
+":#	c #46D13A",
+"<#	c #88CE81",
+"[#	c #BCC5BB",
+"}#	c #AAC7A8",
+"|#	c #7FCE79",
+"1#	c #5DD954",
+"2#	c #49E73F",
+"3#	c #44DC3B",
+"4#	c #39C82E",
+"5#	c #22B315",
+"6#	c #21BF12",
+"7#	c #32DE22",
+"8#	c #3BF02B",
+"9#	c #31E823",
+"0#	c #55E74C",
+"a#	c #3CED2F",
+"b#	c #40ED32",
+"c#	c #3ED832",
+"d#	c #36B92E",
+"e#	c #3BB135",
+"f#	c #1FC70E",
+"g#	c #2FDA22",
+"h#	c #36CF29",
+"i#	c #54CA48",
+"j#	c #85C87E",
+"k#	c #A2C29F",
+"l#	c #82C87C",
+"m#	c #3BDB2D",
+"n#	c #35D928",
+"o#	c #34C428",
+"p#	c #35B02B",
+"q#	c #48AB41",
+"r#	c #74B470",
+"s#	c #BCC1BC",
+"t#	c #A6A6A6",
+"u#	c #B2BAB1",
+"v#	c #6CAB65",
+"w#	c #36A92C",
+"x#	c #1ABB0B",
+"y#	c #20D210",
+"z#	c #4CD242",
+"A#	c #3EB135",
+"B#	c #53CF49",
+"C#	c #2FC124",
+"D#	c #37AB2E",
+"E#	c #3DB037",
+"F#	c #2FB424",
+"G#	c #36C327",
+"H#	c #28C318",
+"I#	c #2EB821",
+"J#	c #37AE2C",
+"K#	c #3DA733",
+"L#	c #58A351",
+"M#	c #6AAA67",
+"N#	c #59A755",
+"O#	c #43A53C",
+"P#	c #37A92D",
+"Q#	c #3FB536",
+"R#	c #53C34F",
+"S#	c #3EC433",
+"T#	c #22B916",
+"U#	c #21B612",
+"V#	c #2ACF1C",
+"W#	c #35E626",
+"X#	c #40E22F",
+"Y#	c #49D040",
+"Z#	c #38BE32",
+"`#	c #43DD38",
+" $	c #3CC332",
+".$	c #3DAA35",
+"+$	c #66B160",
+"@$	c #ABB9AA",
+"#$	c #ABAAAB",
+"$$	c #B2B2B2",
+"%$	c #BAB9BA",
+"&$	c #A2B4A1",
+"*$	c #6BAC65",
+"=$	c #41B737",
+"-$	c #3DC733",
+";$	c #4CBF47",
+">$	c #4BE23F",
+",$	c #47F439",
+"'$	c #47F13A",
+")$	c #4AF13D",
+"!$	c #4CED40",
+"~$	c #4AD440",
+"{$	c #3EB536",
+"]$	c #46AB3F",
+"^$	c #56AF50",
+"/$	c #5FAB5A",
+"($	c #67A062",
+"_$	c #799D76",
+":$	c #9AA998",
+"<$	c #A7B1A6",
+"[$	c #91A48F",
+"}$	c #709A6C",
+"|$	c #629C5D",
+"1$	c #61A45C",
+"2$	c #55A34F",
+"3$	c #439D3D",
+"4$	c #38AD2D",
+"5$	c #2CD41E",
+"6$	c #28E518",
+"7$	c #34DD26",
+"8$	c #47DA3B",
+"9$	c #41F030",
+"0$	c #38B52E",
+"a$	c #33D224",
+"b$	c #4CCA45",
+"c$	c #6CB46A",
+"d$	c #8EB28B",
+"e$	c #BBB9BB",
+"f$	c #B4B4B4",
+"g$	c #B0B0B0",
+"h$	c #B6B3B7",
+"i$	c #87AE83",
+"j$	c #51BB48",
+"k$	c #41D339",
+"l$	c #4EDB45",
+"m$	c #29C819",
+"n$	c #41E932",
+"o$	c #2FE41D",
+"p$	c #30DF1E",
+"q$	c #41D634",
+"r$	c #49BB3F",
+"s$	c #61B55B",
+"t$	c #63A15F",
+"u$	c #70986D",
+"v$	c #8CA08B",
+"w$	c #A7ADA7",
+"x$	c #B3B3B3",
+"y$	c #A8AFA7",
+"z$	c #92A791",
+"A$	c #7BA078",
+"B$	c #6C9E69",
+"C$	c #63A75E",
+"D$	c #50B047",
+"E$	c #4ACB40",
+"F$	c #47DE3A",
+"G$	c #3AD52A",
+"H$	c #37CC27",
+"I$	c #32CD24",
+"J$	c #44E137",
+"K$	c #53C74A",
+"L$	c #7EAE7A",
+"M$	c #B2B1B3",
+"N$	c #B2B1B2",
+"O$	c #8C8C8C",
+"P$	c #959595",
+"Q$	c #AAA9AA",
+"R$	c #A6AAA6",
+"S$	c #81AC7E",
+"T$	c #50BF48",
+"U$	c #37D72C",
+"V$	c #3BCC2E",
+"W$	c #3AC62F",
+"X$	c #43C73A",
+"Y$	c #44BC3A",
+"Z$	c #4DA743",
+"`$	c #689665",
+" %	c #7B927A",
+".%	c #99A398",
+"+%	c #A9ABA9",
+"@%	c #ADADAD",
+"#%	c #ABABAB",
+"$%	c #A2A2A2",
+"%%	c #919191",
+"&%	c #9F9F9F",
+"*%	c #AAAAAA",
+"=%	c #A5A9A5",
+"-%	c #909C8F",
+";%	c #799876",
+">%	c #5BA855",
+",%	c #4CBF43",
+"'%	c #4BCF43",
+")%	c #34D924",
+"!%	c #27D214",
+"~%	c #50D049",
+"{%	c #70B36D",
+"]%	c #93A591",
+"^%	c #AEABAE",
+"/%	c #9D9D9D",
+"(%	c #9C9C9C",
+"_%	c #A9A6A9",
+":%	c #9EA69D",
+"<%	c #74A770",
+"[%	c #3DB434",
+"}%	c #2FBE22",
+"|%	c #3ACB2F",
+"1%	c #44CF3B",
+"2%	c #5ABA52",
+"3%	c #7EA37A",
+"4%	c #A0A2A0",
+"5%	c #A7A8A7",
+"6%	c #818181",
+"7%	c #979797",
+"8%	c #A5A5A5",
+"9%	c #ACA7AD",
+"0%	c #80AC7B",
+"a%	c #52B849",
+"b%	c #41C03A",
+"c%	c #15BB0A",
+"d%	c #26B01A",
+"e%	c #2CC024",
+"f%	c #6FB16D",
+"g%	c #A6A5A6",
+"h%	c #969696",
+"i%	c #A5A1A5",
+"j%	c #8FA58D",
+"k%	c #53B949",
+"l%	c #3DD733",
+"m%	c #37D92A",
+"n%	c #41D237",
+"o%	c #69BB64",
+"p%	c #94A593",
+"q%	c #A3A1A3",
+"r%	c #8F8F8F",
+"s%	c #797979",
+"t%	c #A7A0A8",
+"u%	c #74B66F",
+"v%	c #46CA3E",
+"w%	c #43C73B",
+"x%	c #24CE13",
+"y%	c #2CC91E",
+"z%	c #4EBF44",
+"A%	c #88AB85",
+"B%	c #A39DA4",
+"C%	c #858585",
+"D%	c #969397",
+"E%	c #969F94",
+"F%	c #6FB068",
+"G%	c #45E136",
+"H%	c #3CCC2F",
+"I%	c #3EDC30",
+"J%	c #50DC44",
+"K%	c #78BC73",
+"L%	c #9D979E",
+"M%	c #878787",
+"N%	c #9A999A",
+"O%	c #98A098",
+"P%	c #6DC267",
+"Q%	c #44E937",
+"R%	c #3DF42C",
+"S%	c #3CF62C",
+"T%	c #41D934",
+"U%	c #67B660",
+"V%	c #90A28E",
+"W%	c #969297",
+"X%	c #808080",
+"Y%	c #868586",
+"Z%	c #959795",
+"`%	c #829E80",
+" &	c #5AC552",
+".&	c #46C33B",
+"+&	c #34C126",
+"@&	c #38D527",
+"#&	c #60CD53",
+"$&	c #969596",
+"%&	c #939393",
+"&&	c #828282",
+"*&	c #979297",
+"=&	c #7CAF75",
+"-&	c #53D246",
+";&	c #3CEE2A",
+">&	c #39FD23",
+",&	c #37F520",
+"'&	c #43D333",
+")&	c #79A574",
+"!&	c #959695",
+"~&	c #8D8B8D",
+"{&	c #8E8D8E",
+"]&	c #8E938E",
+"^&	c #80B47C",
+"/&	c #5BC24E",
+"(&	c #3CBB2B",
+"_&	c #2FCC17",
+":&	c #48D331",
+"<&	c #7EAA76",
+"[&	c #908F90",
+"}&	c #777778",
+"|&	c #8A8A8A",
+"1&	c #928B93",
+"2&	c #63C156",
+"3&	c #50E43C",
+"4&	c #4FF139",
+"5&	c #44F92A",
+"6&	c #4BEA36",
+"7&	c #6DC263",
+"8&	c #8A9988",
+"9&	c #8F8C90",
+"0&	c #838383",
+"a&	c #7C7B7C",
+"b&	c #898B89",
+"c&	c #869E84",
+"d&	c #65C858",
+"e&	c #40BA31",
+"f&	c #2EBD1A",
+"g&	c #41D32B",
+"h&	c #6FC964",
+"i&	c #898889",
+"j&	c #818082",
+"k&	c #898989",
+"l&	c #808F7E",
+"m&	c #60CC52",
+"n&	c #62F052",
+"o&	c #6DF75E",
+"p&	c #5BF448",
+"q&	c #40DA2F",
+"r&	c #68AB5D",
+"s&	c #858F83",
+"t&	c #817E82",
+"u&	c #6B6B6B",
+"v&	c #80877F",
+"w&	c #6EB867",
+"x&	c #68C461",
+"y&	c #5DC155",
+"z&	c #50CF42",
+"A&	c #55D948",
+"B&	c #828C80",
+"C&	c #848484",
+"D&	c #6C6C6C",
+"E&	c #6E6D6E",
+"F&	c #838283",
+"G&	c #6FA767",
+"H&	c #67DA57",
+"I&	c #63F251",
+"J&	c #62F64F",
+"K&	c #62EF4F",
+"L&	c #5ECB51",
+"M&	c #789274",
+"N&	c #838583",
+"O&	c #757476",
+"P&	c #757475",
+"Q&	c #7D7B7D",
+"R&	c #7EA57B",
+"S&	c #67C360",
+"T&	c #52BE47",
+"U&	c #4AC13D",
+"V&	c #52DA45",
+"W&	c #6DAF65",
+"X&	c #7C827B",
+"Y&	c #706E71",
+"Z&	c #737273",
+"`&	c #7D7C7D",
+" *	c #7AC072",
+".*	c #4FE940",
+"+*	c #3DEF2A",
+"@*	c #4CED3B",
+"#*	c #63E856",
+"$*	c #72B76B",
+"%*	c #646364",
+"&*	c #767676",
+"**	c #758973",
+"=*	c #65BD5A",
+"-*	c #4EC73E",
+";*	c #4BBC3D",
+">*	c #66CF5C",
+",*	c #7DD476",
+"'*	c #788177",
+")*	c #757375",
+"!*	c #666666",
+"~*	c #737D71",
+"{*	c #71D569",
+"]*	c #71F166",
+"^*	c #51ED3E",
+"/*	c #48EA32",
+"(*	c #6BDA5F",
+"_*	c #6D9B68",
+":*	c #777A76",
+"<*	c #6F6E6F",
+"[*	c #706F70",
+"}*	c #757075",
+"|*	c #5CAA53",
+"1*	c #4CC83D",
+"2*	c #52C344",
+"3*	c #61CA58",
+"4*	c #6FE264",
+"5*	c #6D9269",
+"6*	c #717570",
+"7*	c #656365",
+"8*	c #615F61",
+"9*	c #717571",
+"0*	c #6B9F64",
+"a*	c #3DE423",
+"b*	c #63EE53",
+"c*	c #69EE59",
+"d*	c #53E93D",
+"e*	c #57C548",
+"f*	c #717D71",
+"g*	c #717271",
+"h*	c #5F5F5F",
+"i*	c #616161",
+"j*	c #6A666B",
+"k*	c #65905F",
+"l*	c #5CBF4F",
+"m*	c #58C74B",
+"n*	c #58B750",
+"o*	c #5ADF49",
+"p*	c #6BBA64",
+"q*	c #6C7C6C",
+"r*	c #635F64",
+"s*	c #636064",
+"t*	c #697368",
+"u*	c #5BBF4E",
+"v*	c #5DEE4B",
+"w*	c #6FE664",
+"x*	c #67EA57",
+"y*	c #59E147",
+"z*	c #63A85A",
+"A*	c #6B6A6A",
+"B*	c #6A696A",
+"C*	c #4F4F4F",
+"D*	c #626163",
+"E*	c #687267",
+"F*	c #5DA952",
+"G*	c #53D042",
+"H*	c #5CC052",
+"I*	c #6ACA62",
+"J*	c #6ADF5C",
+"K*	c #678662",
+"L*	c #645F65",
+"M*	c #5C5C5C",
+"N*	c #575657",
+"O*	c #656465",
+"P*	c #617A5C",
+"Q*	c #55E242",
+"R*	c #61EE51",
+"S*	c #54E644",
+"T*	c #43E92B",
+"U*	c #4DCD38",
+"V*	c #698765",
+"W*	c #5A595A",
+"X*	c #5E5B5F",
+"Y*	c #6E8E69",
+"Z*	c #71C762",
+"`*	c #50C53B",
+" =	c #41C52C",
+".=	c #59E645",
+"+=	c #64A15A",
+"@=	c #626A61",
+"#=	c #595659",
+"$=	c #555255",
+"%=	c #61695F",
+"&=	c #6B9C61",
+"*=	c #80EF70",
+"==	c #67E74E",
+"-=	c #7FE76F",
+";=	c #71E460",
+">=	c #59B449",
+",=	c #61675F",
+"'=	c #5E5E5E",
+")=	c #4A4A4A",
+"!=	c #4E4E4E",
+"~=	c #555155",
+"{=	c #61745E",
+"]=	c #72AF66",
+"^=	c #71D25F",
+"/=	c #44B430",
+"(=	c #5FD94D",
+"_=	c #6AC75D",
+":=	c #61805D",
+"<=	c #544F55",
+"[=	c #4B4B4B",
+"}=	c #514E51",
+"|=	c #657065",
+"1=	c #8BC385",
+"2=	c #87F278",
+"3=	c #72DA60",
+"4=	c #82E971",
+"5=	c #7CD76F",
+"6=	c #64945F",
+"7=	c #575358",
+"8=	c #565656",
+"9=	c #4E4C4E",
+"0=	c #565A56",
+"a=	c #688B61",
+"b=	c #73D162",
+"c=	c #40C32B",
+"d=	c #6EC95F",
+"e=	c #80E571",
+"f=	c #6A9763",
+"g=	c #534E54",
+"h=	c #697C66",
+"i=	c #9AE791",
+"j=	c #94E988",
+"k=	c #9ADB94",
+"l=	c #77E866",
+"m=	c #6BBA5E",
+"n=	c #667164",
+"o=	c #4F4E50",
+"p=	c #484848",
+"q=	c #484748",
+"r=	c #4A484B",
+"s=	c #606D5E",
+"t=	c #83BF7A",
+"u=	c #5BCB48",
+"v=	c #56C143",
+"w=	c #70E35C",
+"x=	c #71B765",
+"y=	c #5C6B59",
+"z=	c #494649",
+"A=	c #3D3D3D",
+"B=	c #464446",
+"C=	c #585C58",
+"D=	c #769E70",
+"E=	c #8BF47B",
+"F=	c #66DF54",
+"G=	c #6DE058",
+"H=	c #6CE057",
+"I=	c #5D9952",
+"J=	c #50534F",
+"K=	c #4B4A4B",
+"L=	c #413F41",
+"M=	c #51584F",
+"N=	c #6E9668",
+"O=	c #86D679",
+"P=	c #6EBA61",
+"Q=	c #76D166",
+"R=	c #67D653",
+"S=	c #509342",
+"T=	c #463E46",
+"U=	c #424242",
+"V=	c #3C3C3C",
+"W=	c #433D44",
+"X=	c #567151",
+"Y=	c #6AC858",
+"Z=	c #67F24B",
+"`=	c #5AD443",
+" -	c #6CE955",
+".-	c #6DCC5B",
+"+-	c #577951",
+"@-	c #454046",
+"#-	c #444444",
+"$-	c #3A3A3A",
+"%-	c #464547",
+"&-	c #546851",
+"*-	c #61CC4C",
+"=-	c #68C956",
+"--	c #62C94C",
+";-	c #5EE342",
+">-	c #52B33E",
+",-	c #41493F",
+"'-	c #414041",
+")-	c #282828",
+"!-	c #413B43",
+"~-	c #498B3C",
+"{-	c #5FEE43",
+"]-	c #77E865",
+"^-	c #70D763",
+"/-	c #83EB73",
+"(-	c #6AA85F",
+"_-	c #4C5C49",
+":-	c #3D3A3E",
+"<-	c #383838",
+"[-	c #343434",
+"}-	c #393739",
+"|-	c #434A42",
+"1-	c #73AE69",
+"2-	c #81CD75",
+"3-	c #69BF5A",
+"4-	c #7EDA70",
+"5-	c #7CC971",
+"6-	c #4B6F44",
+"7-	c #3C3A3C",
+"8-	c #383738",
+"9-	c #3B383B",
+"0-	c #40503D",
+"a-	c #5DA451",
+"b-	c #82F072",
+"c-	c #8BE07F",
+"d-	c #79E169",
+"e-	c #6EE15A",
+"f-	c #53804A",
+"g-	c #414340",
+"h-	c #383739",
+"i-	c #2F2F2F",
+"j-	c #3C3D3D",
+"k-	c #657665",
+"l-	c #75CE6A",
+"m-	c #64C454",
+"n-	c #69D357",
+"o-	c #66D055",
+"p-	c #48893E",
+"q-	c #363436",
+"r-	c #363636",
+"s-	c #353236",
+"t-	c #3D5C37",
+"u-	c #65B057",
+"v-	c #7EE76A",
+"w-	c #5FD944",
+"x-	c #68E950",
+"y-	c #72C563",
+"z-	c #4A5D46",
+"A-	c #353135",
+"B-	c #323233",
+"C-	c #292829",
+"D-	c #333333",
+"E-	c #414641",
+"F-	c #7DBC73",
+"G-	c #76CE64",
+"H-	c #5AD643",
+"I-	c #5DD549",
+"J-	c #67A55E",
+"K-	c #364633",
+"L-	c #323231",
+"M-	c #322F33",
+"N-	c #38692C",
+"O-	c #50BE37",
+"P-	c #6CEB52",
+"Q-	c #73DD5E",
+"R-	c #64E74F",
+"S-	c #639559",
+"T-	c #3F463D",
+"U-	c #2C292C",
+"V-	c #2A2A2A",
+"W-	c #29292A",
+"X-	c #2D2D2D",
+"Y-	c #5E9251",
+"Z-	c #5DD045",
+"`-	c #66E350",
+" ;	c #77DB64",
+".;	c #73BF60",
+"+;	c #4E8740",
+"@;	c #2D302D",
+"#;	c #3A4038",
+"$;	c #86AA7E",
+"%;	c #90E27E",
+"&;	c #72DF59",
+"*;	c #8EEB77",
+"=;	c #7CD86D",
+"-;	c #4F5F4D",
+";;	c #333133",
+">;	c #262627",
+",;	c #212122",
+"';	c #3D5738",
+");	c #74C162",
+"!;	c #8EEE74",
+"~;	c #72E256",
+"{;	c #49C52E",
+"];	c #4F9C3D",
+"^;	c #2B3029",
+"/;	c #375332",
+"(;	c #62A952",
+"_;	c #61D14C",
+":;	c #62DB4F",
+"<;	c #9BEF8C",
+"[;	c #68B15A",
+"};	c #303A2E",
+"|;	c #252326",
+"1;	c #232223",
+"2;	c #232323",
+"3;	c #242723",
+"4;	c #739B6A",
+"5;	c #99D389",
+"6;	c #79D064",
+"7;	c #5ECF43",
+"8;	c #89D575",
+"9;	c #23681E",
+"0;	c #77B569",
+"a;	c #6EDD59",
+"b;	c #4DD134",
+"c;	c #5CC443",
+"d;	c #7FC46C",
+"e;	c #64795E",
+"f;	c #2A2C2A",
+"g;	c #1D1C1D",
+"h;	c #1C1C1C",
+"i;	c #1C191C",
+"j;	c #426E3A",
+"k;	c #5BA64F",
+"l;	c #60C14D",
+"m;	c #68CC50",
+"n;	c #87B979",
+"o;	c #85DC70",
+"p;	c #A7E098",
+"q;	c #78D061",
+"r;	c #4FB736",
+"s;	c #62B54F",
+"t;	c #7EBC6F",
+"u;	c #394037",
+"v;	c #202020",
+"w;	c #181818",
+"x;	c #151515",
+"y;	c #181718",
+"z;	c #273426",
+"A;	c #74946D",
+"B;	c #A2D893",
+"C;	c #8ED27B",
+"D;	c #93D381",
+"E;	c #AAF098",
+"F;	c #A3E292",
+"G;	c #8FDC7C",
+"H;	c #6CD858",
+"I;	c #59C847",
+"J;	c #5F9451",
+"K;	c #1D1F1D",
+"L;	c #181819",
+"M;	c #111110",
+"N;	c #555E52",
+"O;	c #9BC291",
+"P;	c #9DE78B",
+"Q;	c #74C860",
+"R;	c #71C85C",
+"S;	c #69C351",
+"T;	c #5CCF46",
+"U;	c #4FD838",
+"V;	c #4BB236",
+"W;	c #455442",
+"X;	c #161616",
+"Y;	c #121212",
+"Z;	c #101010",
+"`;	c #0C0B0C",
+" >	c #383C37",
+".>	c #6C9861",
+"+>	c #8AE074",
+"@>	c #9DDD8F",
+"#>	c #50C637",
+"$>	c #66C851",
+"%>	c #6ED954",
+"&>	c #59D542",
+"*>	c #3A932E",
+"=>	c #20251E",
+"->	c #0D0D0D",
+";>	c #0A090B",
+">>	c #1A1C19",
+",>	c #4F7046",
+"'>	c #81CC70",
+")>	c #6AB85F",
+"!>	c #7EBF6E",
+"~>	c #74C161",
+"{>	c #71B962",
+"]>	c #73AE67",
+"^>	c #53744A",
+"/>	c #0B090B",
+"(>	c #0E0E0E",
+"_>	c #0A0A0A",
+":>	c #060407",
+"<>	c #2C3829",
+"[>	c #77966F",
+"}>	c #97AF91",
+"|>	c #75976D",
+"1>	c #7D9D75",
+"2>	c #76AE68",
+"3>	c #548149",
+"4>	c #272E25",
+"5>	c #080708",
+"6>	c #090909",
+"7>	c #060606",
+"8>	c #030203",
+"9>	c #1A1F19",
+"0>	c #41503E",
+"a>	c #3A4A37",
+"b>	c #151714",
+"c>	c #1C201B",
+"d>	c #465843",
+"e>	c #3D4B3A",
+"f>	c #10100F",
+"g>	c #050505",
+"h>	c #030303",
+"i>	c #040404",
+"j>	c #020202",
+"k>	c #010101",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"                                                                                                                                ",
+"    . + @ # $ % & & * =                                                                                 # - ; > , ' ) !         ",
+"  ~ { - { { { ] { ^ / $ (                                                                             _ : < [ - { { { { ; } |   ",
+"  1 2 3 4 5 6 7 8 9 0 a *                                                                           ! $ b c d e f g h i j k l   ",
+"  m n o p q r s t u v w x _                                                                         y } z A B C D E F G H I J   ",
+"  K L M N O P Q R S T U V > W                                                                     X Y Z `  ...+.@.#.$.%.&.*.=.  ",
+"  | -.;.>.,.'.).!.~.{.].^./.(._.                                                                W :.<.[.}.|.1.2.3.4.5.6.7.8.9.  ",
+"  0.(.a.b.c.d.e.f.g.h.i.j.k.l.m.                                                              n.o.p.q.r.s.t.u.v.w.x.y.z.A., B.  ",
+"  ! ' C.D.E.F.G.H.I.J.K.L.M.N.O.P.                                                            Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@ @+  ",
+"    @+#+$+@ @ %+&+*+=+-+;+>+,+'+)+!+                                                        ~+{+]+^+/+(+_+:+<+[+%+$+$+$+}+@+    ",
+"      |+1+  2+3+4+5+6+7+8+9+0+a+b+c+d+                      e+= f+g+. h+                  i+j+k+l+m+n+o+p+q+r+s++ t+  u+t+      ",
+"              v+w+x+y+z+A+B+C+D+E+F+@+                G+H++ I+J+K+J+I++ ( L+            M+g+N+O+P+Q+R+S+T+U+V+W+X+              ",
+"                i+Y+Z+`+ @.@+@@@#@$@%@&@        u+*@!+W+( =@-@;@>@,@'@)@!@( ( ! 1+      ~@{@]@^@/@(@_@:@<@[@}@&@                ",
+"                  |@1@2@3@4@@@5@6@7@8@9@0@t+G+a@b@c@d@e@f@g@h@i@j@k@l@m@n@o@p@b@q@a@r@s@t@u@v@w@x@J.y@z@A@B@C@                  ",
+"                  D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#Q@O@=#-#;#>#,#y@'#)#N@!#D@                  ",
+"                    ~#i+{#]#^#/#(#_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#i+t#                    ",
+"                      t#G+u#v#w#x#y#z#A#B#c#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $.$+$@$G+#$                      ",
+"                        $$%$&$*$=$-$;$>$,$'$)$!$~${$]$^$/$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$9$0$a$b$c$d$e$f$                        ",
+"                          g$h$i$j$k$l$m$n$o$p$q$r$s$t$u$v$w$$$x$0@x$$$y$z$A$B$C$D$E$F$G$H$I$J$K$L$M$N$O$                        ",
+"                          P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+%@%@%#%$%%%&%*%@%@%D@=%-%;%>%,%'%)%!%~%{%]%^%/%                          ",
+"                            (%_%:%<%[%}%|%1%2%3%4%5%t+t+&%O$          6%7%8%t+t+9%0%a%b%c%d%e%f%g%M+                            ",
+"                              h%i%j%k%l%m%n%o%p%q%h+r%                      s%&%t%u%v%w%x%y%z%A%B%7%                            ",
+"                              C%D%E%F%G%H%I%J%K%L%M%                          N%O%P%Q%R%S%T%U%V%W%X%                            ",
+"                                Y%Z%`% &.&+&@&#&$&%&                        &&*&=&-&;&>&,&'&)&!&~&                              ",
+"                                  {&]&^&/&(&_&:&<&[&}&                      |&1&2&3&4&5&6&7&8&9&0&                              ",
+"                                  a&b&c&d&e&f&g&h&i&j&                      k&l&m&n&o&p&q&r&s&t&                                ",
+"                                  u&0&v&w&x&y&z&A&B&C&D&                  E&F&G&H&I&J&K&L&M&N&O&                                ",
+"                                    P&Q&R&S&T&U&V&W&X&Y&                  Z&`& *.*+*@*#*$*X&a&                                  ",
+"                                    %*&***=*-*;*>*,*'*)*!*                &*~*{*]*^*/*(*_*:*<*                                  ",
+"                                      [*}*|*1*2*3*4*5*6*7*              8*9*0*a*b*c*d*e*f*g*h*                                  ",
+"                                      i*j*k*l*m*n*o*p*q*r*              s*t*u*v*w*x*y*z*A*B*                                    ",
+"                                      C*D*E*F*G*H*I*J*K*L*M*          N*O*P*Q*R*S*T*U*V*O*W*                                    ",
+"                                        M*X*Y*Z*`* =.=+=@=#=          $=%=&=*===-=;=>=,='=)=                                    ",
+"                                        !=~={=]=^=/=(=_=:=<=!=      [=}=|=1=2=3=4=5=6=7=8=                                      ",
+"                                          9=0=a=b=c=d=e=f=g=C*      [=}=h=i=j=k=l=m=n=o=p=                                      ",
+"                                          q=r=s=t=u=v=w=x=y=z=A=    B=C=D=E=F=G=H=I=J=K=                                        ",
+"                                            L=M=N=O=P=Q=R=S=T=U=  V=W=X=Y=Z=`= -.-+-@-#-                                        ",
+"                                            $-%-&-*-=---;->-,-'-)-A=!-~-{-]-^-/-(-_-:-<-                                        ",
+"                                            [-}-|-1-2-3-4-5-6-7-8-9-0-a-b-c-d-e-f-g-h-                                          ",
+"                                              i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z-A-B-                                          ",
+"                                              C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-                                          ",
+"                                                W-X-Y-Z-`- ;.;+;@;#;$;%;&;*;=;-;;;>;                                            ",
+"                                                ,;)-';);!;~;{;];^;/;(;_;:;<;[;};|;1;                                            ",
+"                                                  2;3;4;5;6;7;8;9;0;a;b;c;d;e;f;g;                                              ",
+"                                                  h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;                                              ",
+"                                                  x;y;z;A;B;C;D;E;F;G;H;I;J;K;L;                                                ",
+"                                                    x;M;N;O;P;Q;R;S;T;U;V;W;X;Y;                                                ",
+"                                                    Z;`; >.>+>@>#>$>%>&>*>=>Y;->                                                ",
+"                                                      ;>>>,>'>)>!>~>{>]>^>/>(>                                                  ",
+"                                                      _>:><>[>}>|>1>2>3>4>5>6>                                                  ",
+"                                                      7>8>9>0>a>b>c>d>e>f>g>                                                    ",
+"                                                        h>i>i>h>h>h>i>g>i>h>                                                    ",
+"                                                          j>j>j>j>j>k>j>j>                                                      "};
--- mldonkey-2.7.3.orig/debian/watch
+++ mldonkey-2.7.3/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://savannah.nongnu.org/download/mldonkey/mldonkey-(.*)\.tar\.bz2
--- mldonkey-2.7.3.orig/debian/copyright
+++ mldonkey-2.7.3/debian/copyright
@@ -0,0 +1,130 @@
+This package was debianized by Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de> on
+Wed, 11 Sep 2002 10:59:39 +0200.
+The debianization is to be continued by Sylvain LE GALL <sylvain.le-gall@polytechnique.org> on
+Thu,  6 Mar 2003 16:38:59 +0100
+
+It was downloaded from :
+  http://savannah.nongnu.org/download/mldonkey/
+
+
+Upstream Authors:
+ [b8]_bavard		bavard@mldonkey.net
+ Simon                  simon@mldonkey.net
+ [B8]Zoggy		zoggy@bat8.org
+ Stphane Goulet	sgou@videotron.ca
+ Olivier Vernin		vernin@sor.inria.fr
+ Manuel Giraud		manuel.giraud@inria.fr
+ Dimitri Ara		savannah@mutu.net
+ mldonkey admin		mldonkey@mldonkey.net
+ 
+Upstream Contributors:
+ Pango
+ Norbert Lataille (Overnet)
+ Goswin Brederlow
+ Dirk Stoecker
+ Felix Buenemann
+ Andre Hinrichs
+ Michael Panteleit
+ Michael Reinsch
+ moumar@netcourrier.com
+ Mike Jones (html_mods)
+ Beedauchon
+ mld_thomas
+ Soulburner
+ Denis Fortin (Hightime)
+ Spiralvoice
+ Zet
+
+Copyright:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software 
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+GeoIP copyright:
+
+  There are two licenses, one for the C library software, and one for the
+  database.
+  
+  SOFTWARE LICENSE (C library)
+  
+  The GeoIP C Library is licensed under the GPL.  For details see the COPYING
+  file.
+  
+  OPEN DATA LICENSE (GeoLite Free Country Database)
+  
+  Copyright (c) 2005 MaxMind LLC.  All Rights Reserved.
+  
+  All advertising materials and documentation mentioning features or use of
+  this database must display the following acknowledgment: "This product
+  includes GeoLite data created by MaxMind, available from http://maxmind.com/"
+  
+  Redistribution and use with or without modification, are permitted provided
+  that the following conditions are met: 1. Redistributions must retain the
+  above copyright notice, this list of conditions and the following disclaimer
+  in the documentation and/or other materials provided with the distribution.
+  2. All advertising materials and documentation mentioning features or use of
+  this database must display the following acknowledgement: "This product
+  includes GeoLite data created by MaxMind, available from http://maxmind.com/"
+  3. "MaxMind" may not be used to endorse or promote products derived from this
+  database without specific prior written permission.
+  
+  THIS DATABASE IS PROVIDED BY MAXMIND.COM ``AS IS'' AND ANY EXPRESS OR IMPLIED
+  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+  EVENT SHALL MAXMIND.COM BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DATABASE, EVEN IF
+  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+  
+  Some parts of this software distribution are derived from the APNIC, ARIN and
+  RIPE databases (copyright details below). The author of this module makes no
+  claims of ownership on those parts.
+  
+  APNIC conditions of use:
+  
+  The files are freely available for download and use on the condition that
+  APNIC will not be held responsible for any loss or damage arising from the
+  application of the information contained in these reports.
+  
+  APNIC endeavours to the best of its ability to ensure the accuracy of these
+  reports; however, APNIC makes no guarantee in this regard.
+  
+  In particular, it should be noted that these reports seek to indicate the
+  country where resources were first allocated or assigned. It is not intended
+  that these reports be considered as an authoritative statement of the
+  location in which any specific resource may currently be in use.
+  
+  ARIN database copyright:
+  
+  Copyright (c) American Registry for Internet Numbers. All rights reserved.
+  
+  RIPE database copyright:
+  
+  The information in the RIPE Database is available to the public for agreed
+  Internet operation purposes, but is under copyright. The copyright statement
+  is:
+  
+  "Except for agreed Internet operational purposes, no part of this publication
+  may be reproduced, stored in a retrieval system, or transmitted, in any form
+  or by any means, electronic, mechanical, recording, or otherwise, without
+  prior permission of the RIPE NCC on behalf of the copyright holders. Any use
+  of this material to target advertising or similar activities is explicitly
+  forbidden and may be prosecuted. The RIPE NCC requests to be notified of any
+  such activities or suspicions thereof."
--- mldonkey-2.7.3.orig/debian/changelog
+++ mldonkey-2.7.3/debian/changelog
@@ -0,0 +1,642 @@
+mldonkey (2.7.3-2ipsyn) unstable; urgency=low
+
+  * backports to sarge 
+
+ -- Jean-Louis Bergamo <jlb@ipsyn.net>  Fri,  2 Jun 2006 10:50:45 +0200
+
+mldonkey (2.7.3-2) unstable; urgency=low
+
+  * Fix the build on alpha by using a workaround when opt compilation
+    has failed (Closes: #345793)
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 14 Feb 2006 23:07:53 +0100
+
+mldonkey (2.7.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Test the presence of mlnet and mlgui, to fail ASAP if the compilation of
+    one of these has failed.
+  * Disable the use of --enable-ocamlver in debian/rules
+  * Compile with ocaml 3.09.1 (Closes: #352638)
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue,  7 Feb 2006 23:09:50 +0100
+
+mldonkey (2.7.1-2) unstable; urgency=low
+
+  * Replace libgd2-dev by libgd2-noxpm-dev in the build dependency
+    (Closes: #343914)
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 20 Dec 2005 00:03:13 +0100
+
+mldonkey (2.7.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 13 Dec 2005 01:26:35 +0100
+
+mldonkey (2.7.0-1) unstable; urgency=low
+
+  * New upstream release (Closes: #333708, #337856, #328131, #337313)
+  * Fix weirdness in manpages (change xml-man/*.xml)
+  * Remove hardcoded OCaml ABI
+  * Apply patch 24_ocaml3.09.0_min to compile with OCaml 3.09.0
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Thu,  8 Dec 2005 01:17:00 +0100
+
+mldonkey (2.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Fix compilation problem due to the use g++ instead of gcc
+  * Apply patches :
+    * 21_svg_converter: fix missing objects during the link
+    * 22_mld_hash: fix partial application of Unix32.ftruncate64
+    * 23_use_svg_converter_byte: always use svg_converter.byte, it could
+      always build and speed is not important
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Mon, 17 Oct 2005 23:53:03 +0200
+
+mldonkey (2.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Rework the watch file to match newer archive name (no more .tar.gz)
+  * Remove patch 21_passwd_security because it is applied upstream
+  * Rewrite 20_wrong_comment patch
+  * Upgrade standard version to 3.6.2.0 (no change)
+  * Add dependency on libgd2-dev and liblablgtk2-gnome-ocaml-dev which are now
+    required to build
+  * Add "--enable-soulseek --enable-opennap" to configure, in order to enable
+    this two networks
+  * Remove Directconnect from package description, since it is no more
+    supported
+  * Correct the package description (overnet is written twice)
+  * Use distclean for the clean target
+  * Updated vi debconf translation, thanks to Clytie Siddall
+  * Check for mlnet.pid in mldonkey_server and exit if it exists
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 20 Sep 2005 00:07:22 +0200
+
+mldonkey (2.5.28.1-1) unstable; urgency=low
+
+  * New upstream version:
+    * Fix LOWID protocol error with ed2k (Upstream: #3415,
+      Debian closes: #284556, #280073)
+  * Transition to ocaml 3.08.3: changes depends in control
+  * Remove patch 18_utf8_encoding since it is applied upstream
+  * Remove patch 19_mlgui_align since it is applied upstream
+  * Depend on docbook-xsl 1.64.1 and docbook-xml 4.2-12 
+    (Closes: #276750, #276751)
+  * Change MDLONKEY_DIR to MLDONKEY_DIR at line 34 in the init.d file 
+    (Closes: #296573, #273156)
+  * Create a command "force-start" to force the start of mldonkey, even if it
+    is configured not to start at startup. All other command don't take into
+    account the value of the variable ( so you can stop or restart a running
+    server, without knowing how it was started ) 
+    (Closes: #225724)
+  * Depend on dpkg 1.10.27, so that we can rely on --nicelevel doing what we
+    think it does. Put a note for backporters in README.Debian 
+    (Closes: #277772)
+  * Add german debconf translation. Thanks to Jens Nachtigall 
+    (Closes: #271727)
+  * Update czech debconf translation. Thanks to Jan Outrata 
+    (Closes: #271462)
+  * Add vietnamese debconf translatio. Thanks to Clytie Siddall 
+    (Closes: #312824)
+  * Apply patches to improve the debconf templates. Thanks to Jens Nachtigall
+    (Closes: #270283)
+  * Change license of manpages to LGPL v2.1 
+    (Closes: #281086)
+  * Add "debconf-updatepo" in the target clean of debian/rules to be sure to
+    be in sync for the translation 
+    (Closes: #271725)
+  * Add a note about the fact that mldonkey cannot use all the group assigned
+    to user mldonkey due to OCaml limitation in README.Debian, explain how to
+    deal with this issue
+  * Create a patch to correct comments in the initial downloads.ini:
+    20_wrong_comments 
+    (Closes: #285231)
+  * Cannot find cache.shareaza.com in the source. This seems to be present in
+    release 2.5.4 but it is no more present. 
+    (Closes: #231553)
+  * Added script mldonkey_create_chroot and its manpage, thanks to Mick
+    Kappenburg for his contribution
+  * Modify mldonkey_server:
+    * Add an option to configure the group that should be used when running
+      mldonkey.
+    * Add an option to configure the niceness of the process
+    * Add sanity check :
+      * Check for stale pidfile 
+        (Closes: #295854)
+      * Check for good permission/owner/group of files used by mldonkey. After
+        better reading the patch provided in bugs 299722, i decided to replace
+        a "simple" reowning of the pidfile by a complete check of permission
+        and ownership. Reowning a file is not as simple as it looks like. We
+        should take care of "dpkg-statoverride" et al. Moreover, i don't want
+        to autoset things in the init script. If the ownership/permission of
+        files are not good, there should be a real problem (as a standard
+        install should set the good permission). I don't try to hide these
+        problem by doing fix in the init script: i just warn the user.
+        (Closes: #299722).
+      * Check for stale .tmp file 
+        (Closes: #283930)
+    * Update the manual page according to these changes.
+  * Correct the way you can change password in README.Debian, thanks to
+    Spiralvoice. 
+    (Closes: #312370)
+  * Doesn't offer the possibility to keep the server running after upgrade:
+    this option can cause a lot of problems (version mismatch between server
+    and gui). 
+    (Closes: #300547)
+  * Use Int64 to store integer extracted from ini files, in mldonkey_files.
+    This is more compliant with the way mldonkey write this value in his ini
+    files.  
+    (Closes: #291451)
+  * Modify priority of the debconf question :
+    * to priority low: run_as_user, mldonkey_group, mldonkey_umask,
+      mldonkey_niceness, max_alive
+    * to priority medium: mldonkey_dir (reasonable default, but are system
+      specific most of the time), client_name (reasonnable default, but most
+      of the time are changed by user),
+    * to priority critical: reown_file (because the server cannot restart if
+      the file permission are not changed),
+    * So now, configuring the system with priority high only ask you 3
+      question, with priority medium only 8 question.
+  * Doesn't distribute anymore /etc/default/mldonkey-server. So this file is
+    not automatically marked as conffile, allowing to manage it through ucf
+    (Closes: #279030):
+    * save the default from this file to debconf in the preinst script,
+    * move mldonkey-server to mldonkey-server.bak in the preinst script,
+    * generate mldonkey-server and manage it using ucf (at the same place, but
+      using ucf).
+    * add a note into NEWS.Debian to state this change
+  * Applied patches #3919 from upstream to correct file permission, generates
+    password in users.ini rather than in downloads.ini (this separation is the
+    new security scheme, the file users.ini has 600 permission) 
+    (Closes: #300560)
+  * Fix the problem of invoke-rc.d creating a defunct process: i need to stop
+    the debconf module (using db_stop in postinst)
+  * Enhance mldonkey_files: add the command test, to check if some source are
+    from specified network (eg fasstrack).
+  * Move the fasttrack split from /etc/init.d/mldonkey-server to
+    mldoney-server.postinst. 
+  * Enhance mldonkey_users: add the command dump-users-section,
+    strip-users-section and test-users-section, to extract users section from
+    download.ini and place it in users.ini. 
+  * Create users.in out of downloads.ini using mldonkey_users in
+    mldonkey-server.postinst.
+  * Transition to svn-buildpackage
+  * Reformat the changelog to be sure to have less than 80 characters by line.
+  * [JvW] Add mldonkey start init.d script at 98, not as early as the default
+    location of 20.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 30 Aug 2005 11:36:02 +0200
+
+mldonkey (2.5.28-2) unstable; urgency=medium
+
+  * Enhanced patch 18_utf8 ( should made mlgui works for people using UTF 8
+    locale : suppose that core encoding is ISO-8859-1 )
+  * Set urgency to medium in order to have mldonkey in sarge
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Fri,  3 Sep 2004 23:49:26 +0200
+
+mldonkey (2.5.28-1) unstable; urgency=high
+
+  * New upstream release ( applied patch 15_no_gtk_config
+    16_no_gtk_config_autoconf_run 17_date_in_mail )
+  * Create a patch ( 18_utf8_encoding ) in order to translate to utf8 the
+    string received by the gui from the core (Closes: #266676)
+  * Modify the backup rules, now we build gtk2 interface, so we need to backup
+    some gtk2 files.
+  * Fix some GTK2 mis use of xalign/yalign.
+  * Use UCF, basic parse of older configuration file to recover some default
+    value (Closes: #266749)
+  * Let user choose the policy concerning restart of mldonkey during upgrade (
+    Closes: #265251 )
+  * Add a note concerning the usage of recover_temp (Closes: #247890)
+  * Use --oknodo in /etc/init.d/mldonkey-server (Closes: #267419)
+  * Write a note concerning the UTF 8 encoding of the login/password
+  * Set the urgency to high in order not to block ocaml to enter testing ( or
+    made mldonkey leave testing )
+  * Set a workaround of a possible bug in ocaml : using invoke-rc.d made the
+    init script hang if start-stop-daemon is not called with --background
+    option ( need further examination and test ).
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 24 Aug 2004 23:20:43 +0200
+
+mldonkey (2.5.27-2) unstable; urgency=medium
+
+  * Forget to add build depends on lablgtk2. Correct the detection of the
+    presence of lablgtk : applied patch 15_no_gtk_config. (Closes: #265151)
+  * Build with ocaml-3.08 (Closes: #264077)
+  * Applied patch upstream #3291 (Closes: #265859)
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Fri, 13 Aug 2004 00:03:40 +0200
+
+mldonkey (2.5.27-1) unstable; urgency=low
+
+  * New upstream release (Closes: #262516)
+  * Add example to the mldonkey_command manpage (Closes: #259734)
+  * Made mldonkey-gui suggests mldonkey-server (Closes: #259633)
+  * Correct typo in mldonkey-server init script (Closes: #258138, #262769)
+  * Added Czech debconf translation (Closes: #261793)
+  * Redirect password prompt to stderr (Closes: #257169)
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Tue, 10 Aug 2004 22:52:52 +0200
+
+mldonkey (2.5.21-2) unstable; urgency=low
+
+  * Correct handling of the daemonize option in mldonkey_server. Close
+    stdin, stdout, stderr after having duplicate it to /dev/null 
+    (Closes: #253354)
+  * Doesn't display the debconf about FASTTRACK problem (Closes: #253056)
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 14 Jun 2004 21:51:34 +0200
+
+mldonkey (2.5.21-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Thu,  6 May 2004 00:51:57 +0200
+
+mldonkey (2.5.20-2) unstable; urgency=low
+
+  * Correct 13_tiger_tree_corruption.dpatch, since it has been partially
+    applied. ( Fix FTBFS on Sparc )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Thu,  6 May 2004 00:26:56 +0200
+
+mldonkey (2.5.20-1) unstable; urgency=low
+
+  * New upstream version ( Closes: #247148 )
+  * Revert mldonkey_server to former release one. The use of get_pwent, leads
+    it to malfunction in many configuration, for detecting HOME variable. I
+    reuse $HOME and use a workaround for mlnet_strings : set MLDONKEY_STRINGS 
+    to $HOME/.mldonkey/mlnet_strings ( ie where i am sure i can write things
+    ). ( Closes: #244652 )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Tue,  4 May 2004 23:38:59 +0200
+
+mldonkey (2.5.17-1) unstable; urgency=low
+
+  * New upstream release
+  * Correct creation of .mldonkey directory structure. This help mldonkey to 
+    be launch and finish by menu. The directory structure is exactly the same
+    as before, expect a .mldonkey/.mldonkey dir which containes the
+    mlnetstrings file. (Closes: #240443, #241085)
+  * New french translation (Closes: #239438)
+  * Correct manpages, to stat that some programs are debian specific 
+    (Closes: #242695)
+  * Use a patch for sparc arch, in order to downgrade bug #221704 to important
+    ( still there but doesn't prevent using mldonkey ).
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Thu,  8 Apr 2004 22:28:10 +0200
+
+mldonkey (2.5.16-2) unstable; urgency=low
+
+  * Forget to close old bugs ( see 2.5.11-1 )
+    (Closes: #225254, #210174, #229360, #226484, #229862)
+    (Closes: #217534, #219174, #222342, #229603, #232819)
+  * Use distrib/ChangeLog as real changelog (Closes: #237132, #237282)
+  * Correct typo MDLONKEY_DIR -> MLDONKEY_DIR in init script (Closes: #237191)
+  * Fix the problem with starting (Closes: #237193, #237135). Longer
+    explanation :
+      - a new feature ( post 2.5.4 ) allows user to translate strings of mlnet
+        ( ie for i18n )
+      - at startup mlnet try to load an external entity
+        ~/.mldonkey/mlnet_strings.en
+      - but $HOME point to /root/
+      - i solved the problem in mldonkey_server, which now change the dir to
+        $MLDONKEY_DIR && $HOME
+  * Fix a bug that prevent to stop mldonkey via init.d script ( --exec is not
+    usefull ).
+  * The background is now by default white (Closes: #237136)
+  * Add the last check for dpkg-statoverride ( when moving files ) in order to
+    prevent any chowing which are not feasable (Closes: #237205)
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 15 Mar 2004 23:07:28 +0100
+
+mldonkey (2.5.16-1) unstable; urgency=low
+
+  * New upstream release (Closes: #232960)
+  * Added catalan translation (Closes: #236660)
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon,  8 Mar 2004 22:03:17 +0100
+
+mldonkey (2.5.12-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon,  1 Mar 2004 22:19:10 +0100
+
+mldonkey (2.5.11-1) unstable; urgency=low
+
+  * New upstream release :
+     * Removes http1.1.txt, uri-res.txt uri.txt : no more RFC 
+       (Closes: #225254).
+     * Create a script debian/utils/purify_mldonkey to remove all part
+       of mldonkey that should not appear in debian ( Fasttrack, RFC )
+     * Stop using 04_no_more_unix_fd patch, since it is applied upstream 
+     * Rewrite patch 01_see, since file corresponding to it has changed
+       upstream.
+     * Stop using 08_preliminary_server_zlib_awareness, since it is applied
+       upstream ( since v 2.5.5 )
+     * Stop using 09_ocaml_3_07_for_2_5_4 ( and coming along
+       10_ocaml_3_07_autoconf_run ) since it has been applied upstream.
+     * Added file FASTTRACK from previous version to explain the tarball is
+       not the original release
+  * Add a debian/watch, since mldonkey now distribute source tarball. Also modifies 
+    copyright
+  * Modify debian/rules since gui becomes newgui and that we need to backup a
+    different set of file ( still a problem of distclean ).
+  * Add a section in README.Debian to explain that stat is needed for
+    using this package (Closes: #210174)
+  * Correction of typo in french po (Closes: #229360)
+  * Use P2P as hint rather than a description (Closes: #226484)
+  * Replace the use of -a by && in sh test, in  mldonkey-server.config 
+    mldonkey-server.init mldonkey-server.postinst (Closes: #229862)
+  * Stop sourcing the configuration file at the beginning of postinst. It should 
+    be written after posinst -- those implying that the configuration file
+    read at the beginning is invalid (Closes: #217534)
+  * Use of start-stop-daemon in init script (Closes: #219174)
+  * Added MLDONKEY_NICENESS to mldonkey-server.{config|postinst|init|default}
+    to enable user to choose a correct value of niceness when launching
+    mldonkey (Closes: #222342)
+  * According to the original submitter, then X crash was due to a non
+    well formed version of lablgtk, which has been fixed in recent migration
+    of lablgtk to testing. I keep track of this kind of issue, but he cannot
+    reproduce the bug (Closes: #229603)
+  * Reworked the <?xml declaration of manpages ( debian/xml-man/* ) in order
+    to set encoding to ISO-8859-1. Move the stylesheets used to produces
+    manpages from /usr/share/sgml to /usr/share/xml. (Closes: #232819)
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 15 Feb 2004 17:00:00 +0100
+
+mldonkey (2.5.4-1) unstable; urgency=low
+
+  * New upstream version (closes: #217537)
+  * Apply the patche to gets high priority by new lugdunum servers.
+    Thanks to Silvestre Zabala (closes: #219830)
+  * Upgrade to 3.6.1.0 policy
+  * Split former patche ocaml_3_07 into two patches :
+    * ocaml_3_07_for_2_5_4 ( since 2.5.4 includes the former patch )
+    * ocaml_3_07_autoconf_run, which is the autoconf call with the former
+      patch applied
+  * remove the target configure | configure/config.status because i added 
+    touch config/configure everywhere it is needed ( in particular in clean 
+    which needs it in some circumstance ).
+  * correct some typo in debconf (closes: #218054)
+  * Patches removed because applied upstream :
+     * to_mldonkey_server ( remains one line because it is always possible 
+       to have mlsubmit, but it is optional, there is an option )
+     * ocaml_3_07 ( but needs a fix )
+     * hide_passwd
+     * lugdunum
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Tue, 11 Nov 2003 23:49:59 +0100
+
+mldonkey (2.5.3-5) unstable; urgency=medium
+
+  * Use db_get ..password and ..repassword to be sure there is enough
+    information provided, because of a problem when upgrading from a version
+    with just one ask for the password 
+  * Correction of typo in the config script
+  * Added edonkey2000, emule, overnet to the list of supported P2P
+    network (closes: #217011)
+  * Move to urgency to medium, in order to respect the freeze which 
+    is coming soon ( i really like to have mldonkey in the next stable release
+    )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 26 Oct 2003 14:59:21 +0100
+
+mldonkey (2.5.3-3) unstable; urgency=low
+
+  * Use touch to make config/configure up-to-date after having patched
+    it (closes: #216357)
+  * Rework the 06_ocaml_3_07 to work with "ocamlc -version" outputing 3.07+2
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 20 Oct 2003 21:23:59 +0200
+
+mldonkey (2.5.3-2) unstable; urgency=low
+
+  * Move dh_strip to arch specific part in order to strip if build with
+    ocamlopt and not to strip when building with ocamlc (closes: #214121)
+  * Create a patch to (closes: #213246) :
+     * add the function password in configwin.ml
+     * add the field string_password configwin_ihm.ml
+     * use it to hide the entry associated in configwin
+     * made gui_conf.ml to use password instead of string to 
+       build the password entry
+     * add a chmod before and after the main loop of the
+       gui to set permission of .mldonkey_gui* to 0400 to
+       protect the password
+  * Use patch provided to enable lugdunum connection (closes: #213845)
+  * Ask the user twice for password in debconf (closes: #213338 )
+  * Removed all reference to fasttrack in templates
+  * Added a program called mldonkey_files to filter files.ini
+    which contains Fasttrack source, produce a files.ini.fasttrack which will
+    stay there until Fasttrack problem will be close ( see README.Debian )
+    (closes: #211568)
+  * Added -custom -linkall and build in the top dir against build/cdk.cma fix
+    the problem on FTBFS on arch which do not use ocamlopt for build
+    mldonkey_users (closes: #212026)
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Fri, 10 Oct 2003 22:39:53 +0200
+
+mldonkey (2.5.3-1) unstable; urgency=low
+
+  * Removed dependency on libc6-dev (closes: #199967)
+  * Add a comment in debconf screen each time chroot is written to warn 
+    people that this option is not yet available. ( related to i
+    #204266 ). Add an entry in README.Debian to explain why.
+  * Modify the code of mldonkey_server to compute correctly the 
+    location of the pidfile and the chdir, only when it is needed
+    (closes: #201487, #199927)
+  * Create a program to manipulate user/password and interface it with 
+    debconf. Add an entry about how to change password in README.Debian. 
+    Allow modification of password directly in debconf screen 
+    (closes: #202760)
+  * Move mlgui.xpm and mlnet.xpm to debian/images. Add the official logo image
+    ( official-logo.png ) to debian/images. Ignore the lintian bug about 
+    menu-icon-has-bad-colors ( related to #199341 ).
+  * Use the french translation of Mr Poindessous ( related to my poor
+    "orthographe" ).
+  * Reworked the patch system to depend on dpatch ( added dependency in
+    control )
+  * Added a small patch to remove the annoying "Your system support X file
+    descriptor"
+  * Correct the bug that was in postinst/config of mldonkey-server ( the bug
+    was that it test for a /etc/default/mldonkey-server, which is always
+    installed before config, in order to know if there was a previous
+    installation ). (closes: #199928, #200302)
+  * Remove the fasttrack directory... No more obfuscating code in mldonkey. I
+    add FASTTRACK document to explain the modification of the source. 
+    (closes: #200500, #205152)
+  * Build in my environnement and in a pbuilder-uml environement... I can't
+    reproduce the FTBFS. If anyone can repeate this FTBFS, i will reopen the
+    bug (closes: #207038)
+  * I update the translation to reflect the unit of upload/download ( which
+    are kO/s ) (closes: #209198)
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 17 Aug 2003 22:20:13 +0200
+
+mldonkey (2.5.1-8) unstable; urgency=low
+
+  * Fix a typo bug in debian/*.menu
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Fri, 20 Jun 2003 00:18:03 +0200
+
+mldonkey (2.5.1-7) unstable; urgency=low
+
+  * Added mlnet.xpm and mlgui.xpm for a more beautiful menu ( from the
+    official site mldonkey.berlios.de )
+  * Fix lintian warning about missing #DEBHELPER# in preinst
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Thu, 19 Jun 2003 23:21:39 +0200
+
+mldonkey (2.5.1-6) unstable; urgency=low
+
+  * Fix some typo in fr
+  * Add substvar interpreter to depend on ocaml-base if byte compilation
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Tue, 17 Jun 2003 22:19:31 +0200
+
+mldonkey (2.5.1-5) unstable; urgency=low
+
+  * Add preinst script to move /etc/mldonkey.conf
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Tue, 17 Jun 2003 11:00:39 +0200
+
+mldonkey (2.5.1-4) unstable; urgency=low
+
+  * Remove statements about the not-debian release in README.Debian ( S.
+    Zacchiroli )
+  * Remove the question mark of the debconf question.
+  * Remove the test of DAEMON at the beginning of init script
+  * Move the configuration file /etc/mldonkey.conf to
+    /etc/default/mldonkey-server
+  * Remove program use_tags ( doesn't seem to be useful for now )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 16 Jun 2003 20:47:07 +0200
+
+mldonkey (2.5.1-3) unstable; urgency=low
+
+  * Correct bug concerning "" around client_name
+  * Starting from env without $HOME should work for mldonkey_server ( now )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 16 Jun 2003 01:00:41 +0200
+
+mldonkey (2.5.1-2) unstable; urgency=low
+
+  * Correct the automatic creation of mldonkey's directory in postinst (
+    Rep. by Laurent )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Thu, 12 Jun 2003 22:59:32 +0200
+
+mldonkey (2.5.1-1) unstable; urgency=low
+
+  * New upstream version
+  * Added mldonkey_submit, mldonkey_server ( new ocaml program ),
+   mldonkey_command
+  * Added README.Debian
+  * Remove make depends from debian/rules, since ./configure do it
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Fri,  6 Jun 2003 13:25:20 +0200
+
+mldonkey (2.5-1) unstable; urgency=low
+
+  * New uptream version
+  * Fix problem with mldonkey_server ( now load /usr/bin/mlnet and not
+    /usr/sbin/mlnet ) ( S. Zacchiroli )
+  * Fix dependency to ocaml-best-compilers ( replace ocaml-native-compilers )
+    ( S. Zacchiroli )
+  * Rewrite the beginning of /etc/init.d/mldonkey-server
+    ( S. Zacchiroli )
+  * Default value for launch_at_startup has switch to false
+    ( S. Zacchiroli )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Tue, 27 May 2003 11:46:14 +0200
+
+mldonkey (2.4.2-1) unstable; urgency=low
+
+  * New upstream version
+  * Try to build kde_applet and gnome_applet but they seem broken
+  * Fix some bug from config script
+  * Remove share directory from the config because the option is too complex
+  * Added Bittorent, FastTrack & Gnutella
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 19 May 2003 21:17:07 +0200
+
+mldonkey (2.04rc1-1) unstable; urgency=low
+
+  * New upstream version
+  * Go to this version directly in order to use -daemon option
+  * Untested all debconf features - need further check
+  
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Thu, 13 Mar 2003 23:51:15 +0100
+
+mldonkey (2.02.9-1) unstable; urgency=low
+
+  * New upstream release
+  * Moved from the former release of Goswin to a new one
+  * Keep the changelog of Goswin
+  * Renamed mldonkey-cvs to mldonkey
+  * Write man
+  * Write debconf installation
+  * Add script to start a system wide server
+  * Change the mldonkey_previewer to comply with debian standard ( mplayer ->
+    see )
+  * Remove perl component ( for now, but i consider the possibility to ship it
+    in another package )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 10 Mar 2003 22:58:42 +0100
+
+mldonkey (2.02.1-6) unstable; urgency=low
+
+  * can display the availability per chunk as height
+  * can calculate the % availability ignoring already present chunks
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Mon, 07 Oct 2002 02:34:39 +0200
+
+mldonkey (2.02.1-3) unstable; urgency=low
+
+  * /usr/bin/mldonkey: cd to ~/.mldonkey again
+  *                    exec real mldonkey to free shell
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Sat, 05 Oct 2002 01:21:39 +0200
+
+mldonkey (2.02.1-2) unstable; urgency=low
+
+  * /usr/bin/mldonkey: inervetd check for ~/.mldonkey
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Sat, 05 Oct 2002 01:19:39 +0200
+
+mldonkey (2.02.1-1) unstable; urgency=low
+
+  * new upstream cvs
+  * show age and last seen in gui
+  * only query files in state DOWNLOAD
+  * prevent SIGFPE due to division by zero
+  * only start download after every block has been seen at least once
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Fri, 04 Oct 2002 23:43:39 +0200
+
+mldonkey (2.02.0-3) unstable; urgency=low
+
+  * show age and last seen in the gui
+  * update gui when file info chganges
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Fri, 13 Sep 2002 11:46:39 +0200
+
+mldonkey (2.02.0-2) unstable; urgency=low
+
+  * don't query for paused files
+  * only add file to clinets file_list if it has new chunks
+  * only add file to clinets file_list if all chunks have been seen once
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Wed, 11 Sep 2002 10:59:39 +0200
+
+mldonkey (2.02.0-1) unstable; urgency=low
+
+  * Initial Release
+
+ -- Goswin von Brederlow <goswin.brederlow@student.uni-tuebingen.de>  Wed, 11 Sep 2002 10:59:39 +0200
