pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net update to BitTorrent 4.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2f03853da3b
branches:  trunk
changeset: 491706:a2f03853da3b
user:      recht <recht%pkgsrc.org@localhost>
date:      Mon Mar 28 14:43:10 2005 +0000

description:
update to BitTorrent 4.0.1

2005-03-25: 4.0.1 is now available.
Changes since the last stable release:
- Possible workaround for the "TCP stack flaking out" bug as a preference.
- Preference option for the text color over the progress bar.
- Fixed problem picking config file and save locations on Win98/ME.
- Switched to GTK file save widgets to fix the problem of resuming multi-file
  torrents.
- Bulk traffic flag was only being set on incoming connections.
- Some tweaks to the interface and more informative error messages.
- Fixes to installer, including location fixes for non-English users.
- Fix for interface lockups after being minimized.
- Fixed a couple tracebacks.
_ A few small tracker bugs fixed.
- An item which belonged in the previous notes: Improvments to seed behaviour
  which addresses the problem for which super-seeding was created, but without
  the problems of super-seeding.

2005-03-07: 4.0.0 is now available.
Changes since the last stable release:
- All new queue-based user interface
- Many options are now modifiable from the interface, including upload rate
- Lots of other interface improvements
- Extra stats are visible, for those who like it
- Remembers what it was doing across restarts
_ New .torrent maker "btmaketorrentgui" replaces "btcompletedir"
- Better performance, as always
- License has changed to the BitTorrent Open Source License
- Torrent fields are correctly created and interpreted as utf8
- Too many little things to list

A few technical notes, for those interested:
- Single port: launchmany can seed and client can download many files from a
  single port and thread
- Interface now uses GTK instead of wxWidgets
- BitTorrent packets are marked as bulk data to make traffic shaping easier

2005-01-22: 3.9.1 beta is now available.

diffstat:

 net/bittorrent-gui/Makefile     |   15 +-
 net/bittorrent-gui/PLIST        |    4 +-
 net/bittorrent/Makefile         |    5 +-
 net/bittorrent/Makefile.common  |    7 +-
 net/bittorrent/PLIST            |   66 ++++++-
 net/bittorrent/distinfo         |   15 +-
 net/bittorrent/patches/patch-aa |   27 +-
 net/bittorrent/patches/patch-ab |   13 -
 net/bittorrent/patches/patch-ac |   32 ----
 net/bittorrent/patches/patch-ad |  302 ----------------------------------------
 net/bittorrent/patches/patch-ae |   20 --
 net/bittorrent/patches/patch-af |   13 -
 12 files changed, 85 insertions(+), 434 deletions(-)

diffs (truncated from 673 to 300 lines):

diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent-gui/Makefile
--- a/net/bittorrent-gui/Makefile       Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent-gui/Makefile       Mon Mar 28 14:43:10 2005 +0000
@@ -1,23 +1,22 @@
-# $NetBSD: Makefile,v 1.8 2004/12/25 20:03:53 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2005/03/28 14:43:10 recht Exp $
 #
 
 .include "../../net/bittorrent/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/BitTorrent/bittorrent-gui/}
-PKGREVISION=   2
 
-COMMENT+=      (wxGTK GUI)
+COMMENT+=      (GTK+ GUI)
 
-DEPENDS+=      bittorrent>=3.4:../../net/bittorrent
+DEPENDS+=      bittorrent>=4.0.1:../../net/bittorrent
 
-NO_BUILD=      # defined
+PYTHON_PATCH_SCRIPTS= btdownloadgui.py btmaketorrentgui.py
 
-PYTHON_PATCH_SCRIPTS= btcompletedirgui.py btdownloadgui.py
+do-build:      # empty
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/btcompletedirgui.py ${PREFIX}/bin
        ${INSTALL_SCRIPT} ${WRKSRC}/btdownloadgui.py ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/btmaketorrentgui.py ${PREFIX}/bin
 
 .include "../../lang/python/application.mk"
-.include "../../x11/py-wxWidgets/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent-gui/PLIST
--- a/net/bittorrent-gui/PLIST  Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent-gui/PLIST  Mon Mar 28 14:43:10 2005 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/03 10:04:04 recht Exp $
-bin/btcompletedirgui.py
+@comment $NetBSD: PLIST,v 1.2 2005/03/28 14:43:10 recht Exp $
 bin/btdownloadgui.py
+bin/btmaketorrentgui.py
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/Makefile
--- a/net/bittorrent/Makefile   Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent/Makefile   Mon Mar 28 14:43:10 2005 +0000
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.24 2005/02/13 13:53:34 recht Exp $
+# $NetBSD: Makefile,v 1.25 2005/03/28 14:43:10 recht Exp $
 #
 
 .include "Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/BitT/bitt/}
-PKGREVISION=   2
 
 PYDISTUTILSPKG=        YES
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bittorrent
+       ${INSTALL_DATA} ${WRKSRC}/credits.txt ${PREFIX}/share/doc/bittorrent
        ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/bittorrent
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${PREFIX}/share/doc/bittorrent
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/Makefile.common
--- a/net/bittorrent/Makefile.common    Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent/Makefile.common    Mon Mar 28 14:43:10 2005 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile.common,v 1.9 2005/01/23 20:41:48 recht Exp $
+# $NetBSD: Makefile.common,v 1.10 2005/03/28 14:43:10 recht Exp $
 #
 
-DISTNAME=      BitTorrent-3.4.2
+DISTNAME=      BitTorrent-4.0.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=bittorrent/}
-EXTRACT_SUFX=  .zip
 
 MAINTAINER=    recht%NetBSD.org@localhost
-HOMEPAGE=      http://bitconjurer.org/BitTorrent/
+HOMEPAGE=      http://www.bittorrent.com/
 COMMENT=       File sharing tool
 
 DISTINFO_FILE= ${.CURDIR}/../../net/bittorrent/distinfo
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/PLIST
--- a/net/bittorrent/PLIST      Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent/PLIST      Mon Mar 28 14:43:10 2005 +0000
@@ -1,43 +1,58 @@
-@comment $NetBSD: PLIST,v 1.8 2004/03/03 10:02:08 recht Exp $
-bin/btcompletedir.py
+@comment $NetBSD: PLIST,v 1.9 2005/03/28 14:43:10 recht Exp $
 bin/btdownloadcurses.py
 bin/btdownloadheadless.py
-bin/btdownloadlibrary.py
 bin/btlaunchmany.py
 bin/btlaunchmanycurses.py
-bin/btmakemetafile.py
+bin/btmaketorrent.py
 bin/btreannounce.py
 bin/btrename.py
 bin/btshowmetainfo.py
-bin/bttest.py
 bin/bttrack.py
 ${PYSITELIB}/BitTorrent/Choker.py
 ${PYSITELIB}/BitTorrent/Choker.pyc
 ${PYSITELIB}/BitTorrent/Choker.pyo
+${PYSITELIB}/BitTorrent/ClientIdentifier.py
+${PYSITELIB}/BitTorrent/ClientIdentifier.pyc
+${PYSITELIB}/BitTorrent/ClientIdentifier.pyo
 ${PYSITELIB}/BitTorrent/Connecter.py
 ${PYSITELIB}/BitTorrent/Connecter.pyc
 ${PYSITELIB}/BitTorrent/Connecter.pyo
+${PYSITELIB}/BitTorrent/ConvertedMetainfo.py
+${PYSITELIB}/BitTorrent/ConvertedMetainfo.pyc
+${PYSITELIB}/BitTorrent/ConvertedMetainfo.pyo
 ${PYSITELIB}/BitTorrent/CurrentRateMeasure.py
 ${PYSITELIB}/BitTorrent/CurrentRateMeasure.pyc
 ${PYSITELIB}/BitTorrent/CurrentRateMeasure.pyo
+${PYSITELIB}/BitTorrent/Desktop.py
+${PYSITELIB}/BitTorrent/Desktop.pyc
+${PYSITELIB}/BitTorrent/Desktop.pyo
 ${PYSITELIB}/BitTorrent/Downloader.py
 ${PYSITELIB}/BitTorrent/Downloader.pyc
 ${PYSITELIB}/BitTorrent/Downloader.pyo
 ${PYSITELIB}/BitTorrent/DownloaderFeedback.py
 ${PYSITELIB}/BitTorrent/DownloaderFeedback.pyc
 ${PYSITELIB}/BitTorrent/DownloaderFeedback.pyo
-${PYSITELIB}/BitTorrent/Encrypter.py
-${PYSITELIB}/BitTorrent/Encrypter.pyc
-${PYSITELIB}/BitTorrent/Encrypter.pyo
+${PYSITELIB}/BitTorrent/Encoder.py
+${PYSITELIB}/BitTorrent/Encoder.pyc
+${PYSITELIB}/BitTorrent/Encoder.pyo
+${PYSITELIB}/BitTorrent/GUI.py
+${PYSITELIB}/BitTorrent/GUI.pyc
+${PYSITELIB}/BitTorrent/GUI.pyo
 ${PYSITELIB}/BitTorrent/HTTPHandler.py
 ${PYSITELIB}/BitTorrent/HTTPHandler.pyc
 ${PYSITELIB}/BitTorrent/HTTPHandler.pyo
 ${PYSITELIB}/BitTorrent/NatCheck.py
 ${PYSITELIB}/BitTorrent/NatCheck.pyc
 ${PYSITELIB}/BitTorrent/NatCheck.pyo
+${PYSITELIB}/BitTorrent/OpenPath.py
+${PYSITELIB}/BitTorrent/OpenPath.pyc
+${PYSITELIB}/BitTorrent/OpenPath.pyo
 ${PYSITELIB}/BitTorrent/PiecePicker.py
 ${PYSITELIB}/BitTorrent/PiecePicker.pyc
 ${PYSITELIB}/BitTorrent/PiecePicker.pyo
+${PYSITELIB}/BitTorrent/RateLimiter.py
+${PYSITELIB}/BitTorrent/RateLimiter.pyc
+${PYSITELIB}/BitTorrent/RateLimiter.pyo
 ${PYSITELIB}/BitTorrent/RateMeasure.py
 ${PYSITELIB}/BitTorrent/RateMeasure.pyc
 ${PYSITELIB}/BitTorrent/RateMeasure.pyo
@@ -53,6 +68,9 @@
 ${PYSITELIB}/BitTorrent/StorageWrapper.py
 ${PYSITELIB}/BitTorrent/StorageWrapper.pyc
 ${PYSITELIB}/BitTorrent/StorageWrapper.pyo
+${PYSITELIB}/BitTorrent/TorrentQueue.py
+${PYSITELIB}/BitTorrent/TorrentQueue.pyc
+${PYSITELIB}/BitTorrent/TorrentQueue.pyo
 ${PYSITELIB}/BitTorrent/Uploader.py
 ${PYSITELIB}/BitTorrent/Uploader.pyc
 ${PYSITELIB}/BitTorrent/Uploader.pyo
@@ -68,27 +86,47 @@
 ${PYSITELIB}/BitTorrent/btformats.py
 ${PYSITELIB}/BitTorrent/btformats.pyc
 ${PYSITELIB}/BitTorrent/btformats.pyo
+${PYSITELIB}/BitTorrent/configfile.py
+${PYSITELIB}/BitTorrent/configfile.pyc
+${PYSITELIB}/BitTorrent/configfile.pyo
+${PYSITELIB}/BitTorrent/controlsocket.py
+${PYSITELIB}/BitTorrent/controlsocket.pyc
+${PYSITELIB}/BitTorrent/controlsocket.pyo
+${PYSITELIB}/BitTorrent/defaultargs.py
+${PYSITELIB}/BitTorrent/defaultargs.pyc
+${PYSITELIB}/BitTorrent/defaultargs.pyo
 ${PYSITELIB}/BitTorrent/download.py
 ${PYSITELIB}/BitTorrent/download.pyc
 ${PYSITELIB}/BitTorrent/download.pyo
-${PYSITELIB}/BitTorrent/fakeopen.py
-${PYSITELIB}/BitTorrent/fakeopen.pyc
-${PYSITELIB}/BitTorrent/fakeopen.pyo
+${PYSITELIB}/BitTorrent/launchmanycore.py
+${PYSITELIB}/BitTorrent/launchmanycore.pyc
+${PYSITELIB}/BitTorrent/launchmanycore.pyo
+${PYSITELIB}/BitTorrent/makemetafile.py
+${PYSITELIB}/BitTorrent/makemetafile.pyc
+${PYSITELIB}/BitTorrent/makemetafile.pyo
+${PYSITELIB}/BitTorrent/obsoletepythonsupport.py
+${PYSITELIB}/BitTorrent/obsoletepythonsupport.pyc
+${PYSITELIB}/BitTorrent/obsoletepythonsupport.pyo
 ${PYSITELIB}/BitTorrent/parseargs.py
 ${PYSITELIB}/BitTorrent/parseargs.pyc
 ${PYSITELIB}/BitTorrent/parseargs.pyo
+${PYSITELIB}/BitTorrent/parsedir.py
+${PYSITELIB}/BitTorrent/parsedir.pyc
+${PYSITELIB}/BitTorrent/parsedir.pyo
+${PYSITELIB}/BitTorrent/platform.py
+${PYSITELIB}/BitTorrent/platform.pyc
+${PYSITELIB}/BitTorrent/platform.pyo
 ${PYSITELIB}/BitTorrent/selectpoll.py
 ${PYSITELIB}/BitTorrent/selectpoll.pyc
 ${PYSITELIB}/BitTorrent/selectpoll.pyo
-${PYSITELIB}/BitTorrent/testtest.py
-${PYSITELIB}/BitTorrent/testtest.pyc
-${PYSITELIB}/BitTorrent/testtest.pyo
 ${PYSITELIB}/BitTorrent/track.py
 ${PYSITELIB}/BitTorrent/track.pyc
 ${PYSITELIB}/BitTorrent/track.pyo
 ${PYSITELIB}/BitTorrent/zurllib.py
 ${PYSITELIB}/BitTorrent/zurllib.pyc
 ${PYSITELIB}/BitTorrent/zurllib.pyo
+share/doc/bittorrent/LICENSE.txt
 share/doc/bittorrent/README.txt
+share/doc/bittorrent/credits.txt
 @dirrm share/doc/bittorrent
 @dirrm ${PYSITELIB}/BitTorrent
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/distinfo
--- a/net/bittorrent/distinfo   Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent/distinfo   Mon Mar 28 14:43:10 2005 +0000
@@ -1,11 +1,6 @@
-$NetBSD: distinfo,v 1.13 2005/02/24 12:13:43 agc Exp $
+$NetBSD: distinfo,v 1.14 2005/03/28 14:43:10 recht Exp $
 
-SHA1 (BitTorrent-3.4.2.zip) = e3c34b0988369e706564f24fc63d9921c6af8298
-RMD160 (BitTorrent-3.4.2.zip) = ef296e28559570463e46bee299b46ebce473f87a
-Size (BitTorrent-3.4.2.zip) = 244989 bytes
-SHA1 (patch-aa) = 95bb805f2b906c91bf36ecb7ce289cab84242ca9
-SHA1 (patch-ab) = ece6faa60d27df84f1c5d5b64f8d5c61fb79dc6e
-SHA1 (patch-ac) = ff3f9963f017cf0f967a7355116819deb64a861d
-SHA1 (patch-ad) = 46d79fa604516f6aab196eb3d91d546702977fa5
-SHA1 (patch-ae) = 5ce8d3808396c091e7e60f4de88d93064ac470dc
-SHA1 (patch-af) = 21a9ddf3b2d69728582f3ee4fd5d68a55a5b826a
+SHA1 (BitTorrent-4.0.1.tar.gz) = 577db045897e02dcf8d3546f93a2525c5b7ba6cf
+RMD160 (BitTorrent-4.0.1.tar.gz) = 9ccec667802df40aa21c00be7930ac5ad4d65821
+Size (BitTorrent-4.0.1.tar.gz) = 154427 bytes
+SHA1 (patch-aa) = 0acdf112a748cfa0b615c9113f7519cb732bd181
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/patches/patch-aa
--- a/net/bittorrent/patches/patch-aa   Mon Mar 28 14:25:36 2005 +0000
+++ b/net/bittorrent/patches/patch-aa   Mon Mar 28 14:43:10 2005 +0000
@@ -1,16 +1,15 @@
-$NetBSD: patch-aa,v 1.5 2005/02/13 13:53:34 recht Exp $
+$NetBSD: patch-aa,v 1.6 2005/03/28 14:43:10 recht Exp $
 
---- setup.py.orig      Mon Mar 17 20:34:41 2003
-+++ setup.py
-@@ -18,9 +18,9 @@ setup(
-     
-     packages = ["BitTorrent"],
+--- setup.py.orig      Mon Mar 28 16:23:38 2005
++++ setup.py   Mon Mar 28 16:26:30 2005
+@@ -19,8 +19,8 @@
+ 
+ import glob
  
--    scripts = ["btdownloadgui.py", "btdownloadheadless.py", "btdownloadlibrary.py", 
-+    scripts = ["btdownloadheadless.py", "btdownloadlibrary.py", 
-         "bttrack.py", "btmakemetafile.py", "btlaunchmany.py", "btcompletedir.py",
--        "btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py", 
-+        "btdownloadcurses.py", "btlaunchmanycurses.py", 
-         "btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py",
-         "bttest.py"]
-     )
+-scripts = ["btdownloadgui.py", "btdownloadcurses.py", "btdownloadheadless.py",
+-           "btmaketorrentgui.py", "btmaketorrent.py",
++scripts = ["btdownloadcurses.py", "btdownloadheadless.py",
++           "btmaketorrent.py",
+            "btlaunchmany.py", "btlaunchmanycurses.py",
+            "bttrack.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py"]
+ 
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/patches/patch-ab
--- a/net/bittorrent/patches/patch-ab   Mon Mar 28 14:25:36 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/02/13 13:53:34 recht Exp $
-
---- btreannounce.py.orig       Mon Mar 17 20:26:40 2003
-+++ btreannounce.py
-@@ -3,7 +3,7 @@
- # Written by Henry 'Pi' James and Bram Cohen
- # see LICENSE.txt for license information
- 
--from sys import argv
-+from sys import argv, exit
- from BitTorrent.bencode import bencode, bdecode
- 
- if len(argv) < 3:
diff -r 5afc8e6a3b86 -r a2f03853da3b net/bittorrent/patches/patch-ac
--- a/net/bittorrent/patches/patch-ac   Mon Mar 28 14:25:36 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2005/02/13 13:53:34 recht Exp $
-
---- BitTorrent/Rerequester.py.orig     Sat Apr  3 06:10:45 2004
-+++ BitTorrent/Rerequester.py
-@@ -5,7 +5,7 @@ from zurllib import urlopen, quote
- from btformats import check_peers



Home | Main Index | Thread Index | Old Index