Subject: CVS commit: pkgsrc/net/mldonkey
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 10/06/2005 11:50:03
Module Name:	pkgsrc
Committed By:	wiz
Date:		Thu Oct  6 11:50:03 UTC 2005

Modified Files:
	pkgsrc/net/mldonkey: Makefile Makefile.common distinfo
Added Files:
	pkgsrc/net/mldonkey/patches: patch-ac
Removed Files:
	pkgsrc/net/mldonkey/patches: patch-aa

Log Message:
Update to 2.6.4:

2005/09/04: spiralvoice (version 2.6.4 = tag release-2-6-4)

4392: Print "Core started" on stdout even if logging is enabled
      Fixes problems when MLDonkey is spawned by a GUI

2005/09/03: spiralvoice

4247: memstats: BT/FT/GNUT/G2: initial memstats, ALL: show nr of old_files,
      BT: nr of torrent files
4390: Mail: Print incoming path if !!url_in_mail is used
4389: BT: Fix core exit if dirs of a shared multifile torrent are not writable
4368: new option: create_file_sparse true|false, this works only for
      files on NTFS drives in MinGW compiled MLDonkey (thanks to zet)

2005/09/01: spiralvoice

4385: EDK: Preserve untested servers (by pango)
4351: optimize ip blocking lists (by pango)
4376: EDK: Re-enable result_done (already downloaded) in search results (by zet)
4126: Improved log_file handling

* there is now a default log_file: mlnet.log, old downloads.ini is *not* updated
* its default log_file_size is 2MB, this is checked only on core start,
  if log_file is bigger it will be resetted
* logging will always be appended to log_file
* new command "clear_log" to reset log_file while the core is working
* new command "open_log" to reopen log after close_log
* removed command "log_file", same can be achieved through "set log_file <file>"

4384: HTML: Add "Import Serverlist" in servers, clean third button row (by schlumpf)
4365: Disable console "X" close button on MinGW, second version (by CML)
4382: Solve libgd configure in mandrake 10.0
4381: better differentiation of eDonkey and BT Stats Table (by schlumpf)
4380: some info for SCM Version (CVS co Date/ SVN revision) (by schlumpf)
4379: Fix compile error when libgd is not present
4378: Longhelp: Better description for add_user
4377: Better description for shared_directories in downloads.ini
4356: EDK: Improved server.met handling / fix contact.dat loading

* Changed user agent from "MLdonkey" to "MLDonkey", solves problem
  when downloading files from www.gruk.org and www.srv1000.com
* MLDonkey new recognizes links like ed2k://|serverlist|http://server/file.ext|/
* "servers" command now takes URLs
* if period in web_infos is zero the file is only loaded during core start
  (as requested by the owner of www.gruk.org)
* in all places where a filename or URL for a server.met can be used this
  file can also be compressed with gz/bz2/zip
* automatically replace old default server.met in web_infos
        ("server.met", 24,
            "http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-best.met");
  with fake servers free list from gruk.org:
        ("server.met", 0, "http://www.gruk.org/server.met.gz");
* fixed bug which prevented loading Overnet contact.dat file in web_infos

2005/08/29: spiralvoice

4368: Use sparse files on MinGW/NTFS (by zet)
4370: BT/Win32: fix multifile hashing (by Amorphous)

2005/08/28: spiralvoice

4366: HTML: more maintainable html_mods styles (by pango)
4367: Improve logging
4361: New command: uptime

Lots of improvements for MinGW, this platform now supports
files > 2GB, threads and libgd generated statistics.
Here you will find compilation instructions:
http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=Windows

4342: Large_file support for mld_hash and MinGW MLDonkey core (by zet)
4358: Add thread support for MinGW (by zet)
4362: configure.in support for libgd on MinGW/FreeBSD
4349: increase filedescriptor limit for mingw (by zet)
4365: Disable console "X" close button on MinGW (by zet)

2005/08/26: spiralvoice

4360: Configure: Test for nl_langinfo(CODESET)
4359: Upload: Give upload slot truely randomly (by pango)
4347: Improve exit codes, codes were inspired by sysexits.h
4345: Code clean: Optimize redundant time_to_string functions
4357: Rename ed2k_hash to mld_hash
4344: Improve ./configure checks (bzlib.h, iconv on Windows)
---------------------------------------------------------------------
2005/08/21: spiralvoice (version 2.6.3 = tag release-2-6-3)

4254: Patch reverted, did not work
      "html_mods: Table data is incorrectly centered"
4336: Improve some log file messages
4321: BT: fixed "make_torrent produce corrupted files on Windows" (by beedauchon)
4335: Buildinfo: Fix bug if Bzip2 version string is empty (by beedauchon)
4329: HTTPClient: Implement retries for failed requests
4319: Fix compile if libbz2 is not available,
      new configure option: --disable-bzip2
4334: BT/FileTP: Some progress on cancel bug (by kempston)
4333: send ip blocked addr state to gui, compute_torrent from gui (by z)
4332: Let configure fail if GNU make is not installed

2005/08/18: spiralvoice

4323: HTML: Search results: new colums for Bitrate, Codec and length
4324: Log: Improve output for verbosity "hid"
4322: EDK: compatibleclient 40 -> Shareaza
4320: Fix compile on FreeBSD < 5.3

2005/08/15: spiralvoice

4317: Updated ./configure for compiling lablgtk2 with --enable-batch
4316: Updated ./distrib/Install.txt for Ocaml 3.08.4 and new GUI options
4292: html_mods: Match styles default frameHeight with the common default
4314: Allow compiling with Ocaml 3.08.4
      Compiling with 3.08.3 still works
4312: BT: Allow seeding (by beedauchon)
4311: BT: create_torrent: default_tracker and default_comment (by beedauchon)
4309: GUI: send ed2k/bt network u/d totals (by z)
4308: Gnutella/G2: Fix commit if no TigerTree is available
4305: buildinfo: Print some system internals
4304: EDK: Fix disconnect state with verbosity = "hid"
4297: Create ini file backups on shutdown
Note: file_sources.ini is never saved, it makes no sense to keep this file.

New options:

* backup_options_format, default "tar.gz", "zip" can also be used

* backup_options_delay, default 0
How often (in hours) should a backup of the ini files be written into old_config.
A value of zero means that a backup is written only when the core shuts down.

* backup_options_generations, default 10
Define the total number of options archives in old_config.

Command save got two new parameters:
* "save all" saves options, sources and creates a ini file backup
* "save backup" speaks for itself;-)
---------------------------------------------------------------------
2005/08/11: spiralvoice (version 2.6.2 = tag release-2-6-2)

4296: BT: Fix options parsing
---------------------------------------------------------------------
2005/08/09: spiralvoice (version 2.6.1 = tag release-2-6-1)

4291: EDK: Better logging for unknown compatibleclient values
4290: BT: Some small fixes for messages interested and cancel
      by beedauchon
4289: LOG: Improve verbosity "hid"
4287: Better clear Fifo buffers, by bogeyman
4268: Web/Gui: free core's buffer allocated by vd # and gui
      by bogeyman

2005/08/08: spiralvoice

4285: IPBlock: Server support
* display in vm/vma if a server has a blocked IP
* prevent connections to a IP blocked server,
  in EDK case this resulted in a LowID connection

4284: Remove whitespaces / Some logging changes

2005/08/07: spiralvoice

4279: MinGW: HDD statistics support
4281: Remove white spaces / Some logging stuff
4251: HTML: few fixes / new option html_frame_border true|false
4278: Windows: Fix bug creating work dirs in empty dir

2005/08/06: spiralvoice

4276: IPBlock: Never block local IPs even if they are in blocklist
4274: Use relative path if downloads.ini is present

2005/08/05: spiralvoice

4272: HTML: Cursor focus in input field
4271: GTK2: Fix compile bug in src/gtk2/chat/chat_art.ml
4155: Let MLDonkey create its data in $HOME/.mldonkey

Usage instructions:
* if the core is started in a directory where downloads.ini exists
  this directory will be used, this is the same behaviour as before
* on Windows the current directory will always be used,
  this is consistent with eMule
* on other systems $HOME/.mldonkey will be created and used,
  this is consistent with eDonkey, aMule and Unix standards
* if variable MLDONKEY_DIR is used that directory has priority,
  to simulate the behaviour without this patch use:
    export MLDONKEY_DIR="." && ./mlnet

2005/08/04: spiralvoice

4270: Overnet: Convert local IPs sent by OV clients to real IPs
4269: IPBlock: Several fixes, better zip file support
4264: Fasttrack: Force commit of all complete files

4258: BT: Statistics, recognize more clients, min_interval, torrents/old and more...
      This patch was done by Beedauchon, it incorporates weeks of work from him.
* move .torrent to torrents/old if the file is not shared anymore
* new command rm_old_torrents: delete all files in torrents/old
* eDonkey like statistics for BT clients (csbt command)
* compute_torrent and make_torrent can put a comment into the .torrent file
* MLdonkey computes a BT-compatible client_uid starting with "-ML"
* parse more fields from .torrent files and display them in HTML interface
* Tracker: replace "/tracker" by "/announce"
* Tracker: add "/scrape"
* Multitracker support for downloading

2005/08/02: spiralvoice

4263: Fasttrack: Force bootstrapping nodes

2005/08/01: spiralvoice

4261: HTML: Add DL button - opens dialog for entering links (by omgwtf2)
4260: IPblock: Enable IP blocking for Overnet and HTTP server
      (=BT Tracker) (by beedauchon)
4257: Kick uploaders which send no data for more than 1 minute
4256: Print message if glibc version mismatch
      updates for buildinfo (version of libbz2, libz, libpng)

2005/07/29: spiralvoice

4255: HTML: updates for cs command
4254: html_mods: Table data is incorrectly centered
4253: HTML: New style Construction (by omgwtf2)
4251: few html fixes (reverted) (by beedauchon)

2005/07/28: spiralvoice

4250: Remove whitespaces from commonUploads.ml
4249: HTML: Links to fake check services in search results
      (by bogeyman)

2005/07/27: spiralvoice

4194: FileTP : Add support for "referer",
      error messages cleanup (by beedauchon)
4245: BT: Remove whitespace (by beedauchon)
4244: Change web_infos period to hours (this is a bugfix,
      no need to change ini files)
      new option: enable_mlnet_redirector

2005/07/26: spiralvoice

4243: FileTP: Clean lots of whitespaces
4031: HTML: relative refs in HTML output (by beedauchon)
4191: Access to disk data (free space, max file name length)
      This is first step implmenting this, checkout the
      disk command for debugging.
4242: IPBlock: Support guarding_full.zip
4241: Fix html_mods_vd_gfx_remove
4240: EDK: New option keep_downloaded_in_old_files

2005/07/23: spiralvoice

4184: support guarding.p2p in zip/gz/bz2 format
      bz2 segfaults on OpenBSD, therefore disabled
      see notes in the patch on how to compile with MinGW

2005/07/22: spiralvoice

4205: Improve logging with timestamps 2 (incomplete)
4204: Improve logging with timestamps (incomplete)

2005/07/21: spiralvoice

4195: GUI: Change configure options

Now "./configure" compiles no GUI, "--disable-gui" is default.
To use a GUI use "--enable-gui", this enables GTK2 GUI.
Other options are:
--enable-gui=newgui2 (use GTK2 GUI)
--enable-gui=newgui1 (use GTK1 newgui)
--enable-gui=oldgui  (use GTK1 oldgui)
Options like "--disable-newgui" or "--enable-gtk2" were removed.

2005/07/20: spiralvoice

4193: CommonGraphics : some whitespace cleanups
4190: Gdstats: Fix tag.png/jpg link output
4188: Overnet: Dont put our own ID in the buckets (by Bogeyman)


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 pkgsrc/net/mldonkey/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/net/mldonkey/Makefile.common
cvs rdiff -r1.19 -r1.20 pkgsrc/net/mldonkey/distinfo
cvs rdiff -r1.11 -r0 pkgsrc/net/mldonkey/patches/patch-aa
cvs rdiff -r0 -r1.1 pkgsrc/net/mldonkey/patches/patch-ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.