update to 4.4.0:

- new icons
- a single torrent can now use the complete upload bandwidth
This commit is contained in:
naddy 2006-05-08 13:46:48 +00:00
parent 3cd5989933
commit 6196fc060b
7 changed files with 97 additions and 46 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2005/12/19 03:50:17 naddy Exp $
# $OpenBSD: Makefile,v 1.19 2006/05/08 13:46:48 naddy Exp $
COMMENT= "cooperative file distribution system implemented in Python"
COMMENT-gui= "graphical interface components for BitTorrent"
VERSION= 4.2.2
VERSION= 4.4.0
DISTNAME= BitTorrent-${VERSION}
PKGNAME-gui= BitTorrent-gui-${VERSION}
CATEGORIES= net
@ -29,7 +29,7 @@ SUBPACKAGE?=
.if !empty(SUBPACKAGE)
RUN_DEPENDS= :${PKGNAME}:net/BitTorrent \
::x11/py-gtk2 ::x11/hicolor-icon-theme
:py-gtk2->=2.6:x11/py-gtk2
.endif
NO_REGRESS= Yes

View File

@ -1,4 +1,4 @@
MD5 (BitTorrent-4.2.2.tar.gz) = 2a85715b8ef0335ecc9e8ad91860231b
RMD160 (BitTorrent-4.2.2.tar.gz) = dd8a504490380b728d29b1d700abd8275c629a11
SHA1 (BitTorrent-4.2.2.tar.gz) = c34c5ffe1b80b4d9ee5e7420da661d21017ddc74
SIZE (BitTorrent-4.2.2.tar.gz) = 2238224
MD5 (BitTorrent-4.4.0.tar.gz) = 74d4b48202c28f0b27e989b6d5f5b214
RMD160 (BitTorrent-4.4.0.tar.gz) = 9e743b3178142855d289743d4430598353fb4d3f
SHA1 (BitTorrent-4.4.0.tar.gz) = 8ca3e52c8049ff29a6785da410d6aa80c6726882
SIZE (BitTorrent-4.4.0.tar.gz) = 1255281

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-BitTorrent_defaultargs_py,v 1.5 2005/11/20 17:46:53 naddy Exp $
--- BitTorrent/defaultargs.py.orig Wed Nov 16 02:48:34 2005
+++ BitTorrent/defaultargs.py Sat Nov 19 22:42:56 2005
@@ -116,7 +116,7 @@ rare_options = [
_("do not connect to several peers that have the same IP address")),
('peer_socket_tos', 8,
_("if nonzero, set the TOS option for peer connections to this value")),
- ('bad_libc_workaround', MYFALSE,
+ ('bad_libc_workaround', MYTRUE,
_("enable workaround for a bug in BSD libc that makes file reads very slow.")),
('tracker_proxy', '',
_("address of HTTP proxy to use for tracker connections")),
$OpenBSD: patch-BitTorrent_defaultargs_py,v 1.6 2006/05/08 13:46:48 naddy Exp $
--- BitTorrent/defaultargs.py.orig Sun Apr 9 16:23:08 2006
+++ BitTorrent/defaultargs.py Sun Apr 9 16:23:30 2006
@@ -31,7 +31,7 @@ import os
### add your favorite here
BAD_LIBC_WORKAROUND_DEFAULT = MYFALSE
if os.name == 'posix':
- if os.uname()[0] in ['Darwin']:
+ if os.uname()[0] in ['Darwin', 'OpenBSD']:
BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE
MIN_INCOMPLETE = 100

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-BitTorrent_platform_py,v 1.3 2005/11/23 20:38:27 naddy Exp $
--- BitTorrent/platform.py.orig Tue Nov 22 01:59:10 2005
+++ BitTorrent/platform.py Tue Nov 22 22:49:38 2005
@@ -61,7 +61,7 @@ elif os_name == 'posix':
user_agent = "M" + version.replace('.', '-') + "--(%s/%s)" % (os_name, os_version)
$OpenBSD: patch-BitTorrent_platform_py,v 1.4 2006/05/08 13:46:48 naddy Exp $
--- BitTorrent/platform.py.orig Tue Jan 31 21:16:36 2006
+++ BitTorrent/platform.py Sun Apr 9 16:24:54 2006
@@ -92,7 +92,7 @@ elif os_name == 'posix':
def calc_unix_dirs():
- appdir = '%s-%s'%(app_name, version)

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-bittorrent-curses_py,v 1.1 2006/05/08 13:46:48 naddy Exp $
--- bittorrent-curses.py.orig Sun Apr 9 20:28:31 2006
+++ bittorrent-curses.py Sun Apr 9 20:29:16 2006
@@ -114,7 +114,8 @@ class CursesDisplayer(object):
self.spew_scroll_pos = 0
self._remake_window()
- curses.use_default_colors()
+ if curses.has_colors():
+ curses.use_default_colors()
def set_torrent_values(self, name, path, size, numpieces):
self.file = name

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.11 2005/12/04 12:38:15 naddy Exp $
@comment $OpenBSD: PLIST,v 1.12 2006/05/08 13:46:48 naddy Exp $
bin/bittorrent-console
bin/bittorrent-curses
bin/bittorrent-tracker
@ -8,6 +8,8 @@ bin/launchmany-curses
bin/maketorrent-console
bin/torrentinfo-console
lib/python${MODPY_VERSION}/site-packages/BitTorrent/
lib/python${MODPY_VERSION}/site-packages/BitTorrent/BeautifulSupe.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/BeautifulSupe.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/Choker.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/Choker.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/ClientIdentifier.py
@ -32,8 +34,12 @@ lib/python${MODPY_VERSION}/site-packages/BitTorrent/LaunchPath.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/LaunchPath.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/NatCheck.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/NatCheck.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/NatTraversal.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/NatTraversal.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/NewVersion.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/NewVersion.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/PeerID.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/PeerID.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/PiecePicker.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/PiecePicker.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/RateLimiter.py
@ -54,6 +60,8 @@ lib/python${MODPY_VERSION}/site-packages/BitTorrent/StorageWrapper.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/StorageWrapper.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/TorrentQueue.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/TorrentQueue.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/TrayIcon.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/TrayIcon.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/Uploader.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/Uploader.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/__init__.py
@ -66,14 +74,14 @@ lib/python${MODPY_VERSION}/site-packages/BitTorrent/btformats.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/btformats.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/configfile.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/configfile.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/controlsocket.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/controlsocket.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/defaultargs.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/defaultargs.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/defer.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/defer.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/download.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/download.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/language.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/language.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/launchmanycore.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/launchmanycore.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/makemetafile.py
@ -169,6 +177,9 @@ share/locale/da/LC_MESSAGES/bittorrent.mo
share/locale/de/
share/locale/de/LC_MESSAGES/
share/locale/de/LC_MESSAGES/bittorrent.mo
share/locale/el/
share/locale/el/LC_MESSAGES/
share/locale/el/LC_MESSAGES/bittorrent.mo
share/locale/es/
share/locale/es/LC_MESSAGES/
share/locale/es/LC_MESSAGES/bittorrent.mo
@ -178,12 +189,15 @@ share/locale/es_MX/LC_MESSAGES/bittorrent.mo
share/locale/fr/
share/locale/fr/LC_MESSAGES/
share/locale/fr/LC_MESSAGES/bittorrent.mo
share/locale/gr/
share/locale/gr/LC_MESSAGES/
share/locale/gr/LC_MESSAGES/bittorrent.mo
share/locale/he/
share/locale/he/LC_MESSAGES/
share/locale/he/LC_MESSAGES/bittorrent.mo
share/locale/hu/
share/locale/hu/LC_MESSAGES/
share/locale/hu/LC_MESSAGES/bittorrent.mo
share/locale/is/
share/locale/is/LC_MESSAGES/
share/locale/is/LC_MESSAGES/bittorrent.mo
share/locale/it/
share/locale/it/LC_MESSAGES/
share/locale/it/LC_MESSAGES/bittorrent.mo

View File

@ -1,25 +1,49 @@
@comment $OpenBSD: PLIST-gui,v 1.2 2005/10/18 14:12:35 naddy Exp $
@comment $OpenBSD: PLIST-gui,v 1.3 2006/05/08 13:46:48 naddy Exp $
bin/bittorrent
bin/maketorrent
lib/python${MODPY_VERSION}/site-packages/BitTorrent/Desktop.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/Desktop.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/GUI.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/GUI.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/IPC.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/IPC.pyc
lib/python${MODPY_VERSION}/site-packages/BitTorrent/StatusLight.py
lib/python${MODPY_VERSION}/site-packages/BitTorrent/StatusLight.pyc
share/pixmaps/
share/pixmaps/BitTorrent/
share/pixmaps/BitTorrent/bittorrent.ico
share/pixmaps/BitTorrent/broken.png
share/pixmaps/BitTorrent/finished.png
share/pixmaps/BitTorrent/info.png
share/pixmaps/BitTorrent/logo/
share/pixmaps/BitTorrent/logo/bittorrent_32.png
share/pixmaps/BitTorrent/logo/bittorrent_96.png
share/pixmaps/BitTorrent/pause.png
share/pixmaps/BitTorrent/paused.png
share/pixmaps/BitTorrent/play.png
share/pixmaps/BitTorrent/queued.png
share/pixmaps/BitTorrent/remove.png
share/pixmaps/BitTorrent/running.png
share/pixmaps/BitTorrent/status-natted.png
share/pixmaps/BitTorrent/status-running.png
share/pixmaps/BitTorrent/status-stopped.png
share/pixmaps/BitTorrent/icons/
share/pixmaps/BitTorrent/icons/default/
share/pixmaps/BitTorrent/icons/default/abort.png
share/pixmaps/BitTorrent/icons/default/broken.png
share/pixmaps/BitTorrent/icons/default/finished.png
share/pixmaps/BitTorrent/icons/default/info.png
share/pixmaps/BitTorrent/icons/default/pause.png
share/pixmaps/BitTorrent/icons/default/paused.png
share/pixmaps/BitTorrent/icons/default/play.png
share/pixmaps/BitTorrent/icons/default/queued.png
share/pixmaps/BitTorrent/icons/default/remove.png
share/pixmaps/BitTorrent/icons/default/running.png
share/pixmaps/BitTorrent/icons/default/status-broken.png
share/pixmaps/BitTorrent/icons/default/status-natted.png
share/pixmaps/BitTorrent/icons/default/status-pre-natted.png
share/pixmaps/BitTorrent/icons/default/status-running.png
share/pixmaps/BitTorrent/icons/default/status-starting.png
share/pixmaps/BitTorrent/icons/default/status-stopped.png
share/pixmaps/BitTorrent/icons/default/trashcan.png
share/pixmaps/BitTorrent/icons/old/
share/pixmaps/BitTorrent/icons/old/broken.png
share/pixmaps/BitTorrent/icons/old/finished.png
share/pixmaps/BitTorrent/icons/old/info.png
share/pixmaps/BitTorrent/icons/old/pause.png
share/pixmaps/BitTorrent/icons/old/paused.png
share/pixmaps/BitTorrent/icons/old/play.png
share/pixmaps/BitTorrent/icons/old/queued.png
share/pixmaps/BitTorrent/icons/old/remove.png
share/pixmaps/BitTorrent/icons/old/running.png
share/pixmaps/BitTorrent/icons/old/status-broken.png
share/pixmaps/BitTorrent/icons/old/status-natted.png
share/pixmaps/BitTorrent/icons/old/status-pre-natted.png
share/pixmaps/BitTorrent/icons/old/status-running.png
share/pixmaps/BitTorrent/icons/old/status-starting.png
share/pixmaps/BitTorrent/icons/old/status-stopped.png