1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- After repo copy from py-bittorrent

o Update to Kenosis version 0.92 enabled BitTorrent version
  based on the official BitTorrent client version 3.4.2
o Add PKGMESSAGE with instructions specific to the FreeBSD installation
o Update DESCR

PR:		76200
Repo copied by:	portmgr (marcus)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-01-15 01:53:57 +00:00
parent 05cc2e4771
commit 9407d5affe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126477
16 changed files with 528 additions and 260 deletions

View File

@ -1,34 +1,46 @@
# New ports collection makefile for: BitTorrent
# Date created: Sun Mar 16 06:34:12 UTC 2003
# New ports collection makefile for: Kenosis enabled BitTorrent
# Date created: Thu Jan 13 01:15:19 UTC 2005
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= BitTorrent
PORTVERSION= 3.4.2
PORTREVISION= 4
PORTEPOCH= 1
PORTNAME= kenosis
PORTVERSION= ${KENOSIS_VERSION}.0.3.4.2
PORTEPOCH= 2
CATEGORIES?= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
PKGNAMESUFFIX= -BitTorrent
DISTNAME= ${KENOSIS_DISTNAME}
MAINTAINER= lioux@FreeBSD.org
COMMENT?= A peer-to-peer tool for distributing files written in Python
COMMENT?= A Kenosis enabled, distributed BitTorrent
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/kenosis/__init__.py:${PORTSDIR}/net/py-kenosis
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
CONFLICTS= py??-*[Bb]it[Tt]orrent* py??-*[Bb]it[Tt]ornado* btqueue*
WRKSRC= ${WRKDIR}/${DISTNAME}/bt
PORTDOCS= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
DOC_FILES= \
BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
README_KENOSIS.txt \
README.txt credits.txt
PORTDOCS= \
README-FreeBSD.txt \
${DOC_FILES}
.include <bsd.port.pre.mk>
#KENOSIS_PORTDIR= ../py-kenosis
KENOSIS_PORTDIR= ${PORTSDIR}/net/py-kenosis
KENOSIS_DISTNAME!= cd ${KENOSIS_PORTDIR} && make -V DISTNAME
KENOSIS_VERSION!= cd ${KENOSIS_PORTDIR} && make -V PORTVERSION
.if ${ARCH} != "i386"
WITHOUT_PSYCO= yes
.endif
@ -37,9 +49,11 @@ WITHOUT_PSYCO= yes
.ifndef(WITHOUT_GUI)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
EXTRA_PATCHES+= ${FILESDIR}/extra-gui-patch-setup.py
PLIST_FILES+= \
bin/btcompletedirgui.py \
bin/btdownloadgui.py
libexec/${PORTNAME}${PKGNAMESUFFIX}/btcompletedirgui.py \
libexec/${PORTNAME}${PKGNAMESUFFIX}/btdownloadgui.py
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-nogui-patch-setup.py
.endif
@ -59,9 +73,9 @@ EXTRA_PATCHES+= \
${FILESDIR}/extra-psyco-patch-bttrack.py
PLIST_FILES+= \
${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent/PSYCO.py \
${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent/PSYCO.pyc \
${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent/PSYCO.pyo
%%PYTHON_SITELIBDIR%%/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}/PSYCO.py \
%%PYTHON_SITELIBDIR%%/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}/PSYCO.pyc \
%%PYTHON_SITELIBDIR%%/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}/PSYCO.pyo
.endif
pre-everything::
@ -76,7 +90,17 @@ post-patch:
@${FIND} ${WRKSRC} -type f | \
${XARGS} -x -n 10 \
${REINPLACE_CMD} -E \
-e 's|/usr/bin/env python2|${LOCALBASE}/bin/python|'
-e 's|from[[:space:]]+BitTorrent|from ${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
-e 's|import[[:space:]]+BitTorrent|import ${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
-e 's|from[[:space:]]+ds|from ${PORTNAME}.ds|' \
-e 's|/usr/bin/env python|${LOCALBASE}/bin/python|'
@${REINPLACE_CMD} -E \
-e 's|%%KENOSIS-BITTORRENT%%|${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
${WRKSRC}/${PYSETUP}
@${REINPLACE_CMD} -E \
-e 's|bt.BitTorrent|${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
-e 's|from[[:space:]]+bt[[:space:]]+||' \
${WRKSRC}/btunittest.py
.ifdef(WITHOUT_GUI)
@${REINPLACE_CMD} -E \
-e 's|btdownloadgui.py|btdownloadcurses.py|' \
@ -87,17 +111,27 @@ post-patch:
@${ECHO_CMD} 'psyco = 1' > ${WRKSRC}/BitTorrent/PSYCO.py
.endif
pre-configure:
@${MV} ${WRKSRC}/BitTorrent ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
post-install:
@${CAT} ${PKGMESSAGE}
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${INSTALL_DATA} ${PKGMESSAGE} ${DOCSDIR}/README-FreeBSD.txt
.endif
# set proper permissions
@${CHMOD} -R ${SHAREMODE} \
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
@${CHMOD} ${SHAREMODE} ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
@${CHMOD} a+x ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
@${CHMOD} ${SHAREMODE} \
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
@${CHMOD} a+x \
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
.include <bsd.port.post.mk>
DOCSDIR:= ${DOCSDIR:S!${PORTNAME}$!${PORTNAME}${PKGNAMESUFFIX}!}
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS} --install-scripts=${PREFIX}/libexec/${PORTNAME}${PKGNAMESUFFIX}

View File

@ -1,2 +1,2 @@
MD5 (BitTorrent-3.4.2.tar.gz) = b854f25a33289565bcaeaded04955c1a
SIZE (BitTorrent-3.4.2.tar.gz) = 198026
MD5 (kenosis-0.92.tar.gz) = 969f5fd77b57743c07336b796fc7c01d
SIZE (kenosis-0.92.tar.gz) = 107101

View File

@ -0,0 +1,25 @@
--- setup.py.orig Fri Jan 14 22:03:18 2005
+++ setup.py Fri Jan 14 22:03:44 2005
@@ -9,18 +9,19 @@
import BitTorrent
setup(
- name = "BitTorrent",
- version = BitTorrent.version,
+ name = "%%KENOSIS-BITTORRENT%%",
+ version = %%KENOSIS-BITTORRENT%%.version,
author = "Bram Cohen",
author_email = "<bram@bitconjurer.org>",
url = "http://www.bitconjurer.org/BitTorrent/",
license = "MIT",
- packages = ["BitTorrent"],
+ packages = ["%%KENOSIS-BITTORRENT%%"],
scripts = ["btdownloadgui.py", "btdownloadheadless.py", "btdownloadlibrary.py",
"bttrack.py", "btmakemetafile.py", "btlaunchmany.py", "btcompletedir.py",
"btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py",
"btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py",
+ "btunittest.py",
"bttest.py"]
)

View File

@ -1,8 +1,20 @@
--- setup.py.orig Sun Mar 30 17:01:05 2003
+++ setup.py Sun Mar 30 17:01:20 2003
@@ -18,9 +18,9 @@
--- setup.py.orig Fri Jan 14 22:12:02 2005
+++ setup.py Fri Jan 14 22:12:54 2005
@@ -9,18 +9,19 @@
import BitTorrent
setup(
- name = "BitTorrent",
- version = BitTorrent.version,
+ name = "%%KENOSIS-BITTORRENT%%",
+ version = %%KENOSIS-BITTORRENT%%.version,
author = "Bram Cohen",
author_email = "<bram@bitconjurer.org>",
url = "http://www.bitconjurer.org/BitTorrent/",
license = "MIT",
packages = ["BitTorrent"],
- packages = ["BitTorrent"],
+ packages = ["%%KENOSIS-BITTORRENT%%"],
- scripts = ["btdownloadgui.py", "btdownloadheadless.py", "btdownloadlibrary.py",
+ scripts = ["btdownloadheadless.py", "btdownloadlibrary.py",
@ -10,5 +22,6 @@
- "btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py",
+ "btdownloadcurses.py", "btlaunchmanycurses.py",
"btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py",
+ "btunittest.py",
"bttest.py"]
)

View File

@ -9,7 +9,7 @@
from time import time
from random import randrange
from binascii import b2a_hex
@@ -18,8 +18,7 @@
@@ -45,8 +45,7 @@
self.url = ('%s?info_hash=%s&peer_id=%s&port=%s&key=%s' %
(url, quote(infohash), quote(myid), str(port),
b2a_hex(''.join([chr(randrange(256)) for i in xrange(4)]))))
@ -19,12 +19,12 @@
self.interval = interval
self.last = None
self.trackerid = None
@@ -81,6 +80,8 @@
@@ -108,6 +107,8 @@
def rerequest(self, url, set):
try:
+ if self.ip:
+ url += '&ip=' + gethostbyname(self.ip)
print "opening url %s" % url
h = urlopen(url)
r = h.read()
h.close()

View File

@ -1,11 +1,23 @@
[ excerpt from distribution's README.txt ]
[ excerpt from developer's web site ]
BitTorrent is a tool for distributing files. It's extremely easy
to use - downloads are started by clicking on hyperlinks. Whenever
more than one person is downloading at once they send pieces of the
file(s) to each other, thus relieving the central server's bandwidth
burden. Even with many simultaneous downloads, the upload burden
on the central server remains quite small, since each new downloader
introduces new upload capacity.
This is Kenosis-enabled BitTorrent. Using Kenosis, we've eliminated
the tracker as a central point of failure for BitTorrent downloads.
Kenosis-enabled BitTorrent is 100% backwards compatible with existing
BitTorrent clients.
WWW: http://bittorrent.com/
Kenosis-BitTorrent uses torrent files which specify a tracker of
the form http://hash.bt.kenosisp2p.org, where "hash" is the hash
of the original file.
Kenosis-BitTorrent downloaders will notice that this is a kenosis
url and use kenosis to find the tracker that is handling this torrent
file. Standard BitTorrent downloaders try to resolve hash.bt.kenosisp2p.org
as normal. Our dns server will look up the hash in kenosis and
return to the client the ip address of the kenosis node that is
tracking that file. If that tracker becomes unreachable, subsequent
lookups for that hash will switch automatically to the next available
Kenosis-enabled tracker.
WWW: http://kenosis.sourceforge.net/
-- lioux@FreeBSD.org

View File

@ -0,0 +1,48 @@
ATTENTIONATTENTION:
Please make sure that you read
/usr/local/share/doc/kenosis-BitTorrent/README_KENOSIS.txt. It
contains important information about testing and configuring the
Kenosis enabled BitTorrent client and tracker, and ultimately
replacing the official client with this version.
Non-Kenosis clients can use Kenosis trackers without a problem AND
Kenosis clients can disable Kenosis suppport (I am not sure why
because you can use the non-Kenosis trackers with Kenosis enabled)
if that is desired.
It is fully compatible with current BitTorrent clients so it will
work with or without Kenosis support. This is a modified version
of the official stable BitTorrent distribution version 3.4.2.
In order to make sure this application does not interfere with
previously installed official BitTorrent clients while users perform
the transition, the installation has been customized.
The kenosis_BitTorrent python module files can be found under
/usr/local/lib/python2.4/site-packages/kenosis_BitTorrent
and
the BitTorrent scripts under
/usr/local/libexec/kenosis-BitTorrent
If you desire to use the kenosis-BitTorrent instead of the official
BitTorrent client, you should just place that directory in front
of PATH
- For sh based shells
$ export PATH="/usr/local/libexec/kenosis-BitTorrent:${PATH}"
- For csh based shells
$ setenv PATH "/usr/local/libexec/kenosis-BitTorrent:${PATH}"
Now, just use BitTorrent as usual. A file containing a copy of this
message is available as
/usr/local/share/doc/kenosis-BitTorrent/README-FreeBSD.txt

View File

@ -1,93 +1,95 @@
bin/btcompletedir.py
bin/btdownloadcurses.py
bin/btdownloadheadless.py
bin/btdownloadlibrary.py
bin/btlaunchmany.py
bin/btlaunchmanycurses.py
bin/btmakemetafile.py
bin/btreannounce.py
bin/btrename.py
bin/btshowmetainfo.py
bin/bttest.py
bin/bttrack.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Choker.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Choker.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Choker.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Connecter.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Connecter.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Connecter.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/CurrentRateMeasure.py
%%PYTHON_SITELIBDIR%%/BitTorrent/CurrentRateMeasure.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/CurrentRateMeasure.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Downloader.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Downloader.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Downloader.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/DownloaderFeedback.py
%%PYTHON_SITELIBDIR%%/BitTorrent/DownloaderFeedback.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/DownloaderFeedback.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Encrypter.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Encrypter.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Encrypter.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/HTTPHandler.py
%%PYTHON_SITELIBDIR%%/BitTorrent/HTTPHandler.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/HTTPHandler.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/NatCheck.py
%%PYTHON_SITELIBDIR%%/BitTorrent/NatCheck.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/NatCheck.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/PiecePicker.py
%%PYTHON_SITELIBDIR%%/BitTorrent/PiecePicker.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/PiecePicker.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/RateMeasure.py
%%PYTHON_SITELIBDIR%%/BitTorrent/RateMeasure.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/RateMeasure.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/RawServer.py
%%PYTHON_SITELIBDIR%%/BitTorrent/RawServer.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/RawServer.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Rerequester.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Rerequester.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Rerequester.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Storage.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Storage.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Storage.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/StorageWrapper.py
%%PYTHON_SITELIBDIR%%/BitTorrent/StorageWrapper.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/StorageWrapper.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Uploader.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Uploader.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Uploader.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/__init__.py
%%PYTHON_SITELIBDIR%%/BitTorrent/__init__.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/__init__.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/bencode.py
%%PYTHON_SITELIBDIR%%/BitTorrent/bencode.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/bencode.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/bitfield.py
%%PYTHON_SITELIBDIR%%/BitTorrent/bitfield.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/bitfield.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/btformats.py
%%PYTHON_SITELIBDIR%%/BitTorrent/btformats.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/btformats.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/download.py
%%PYTHON_SITELIBDIR%%/BitTorrent/download.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/download.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/fakeopen.py
%%PYTHON_SITELIBDIR%%/BitTorrent/fakeopen.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/fakeopen.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/parseargs.py
%%PYTHON_SITELIBDIR%%/BitTorrent/parseargs.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/parseargs.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/selectpoll.py
%%PYTHON_SITELIBDIR%%/BitTorrent/selectpoll.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/selectpoll.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/testtest.py
%%PYTHON_SITELIBDIR%%/BitTorrent/testtest.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/testtest.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/track.py
%%PYTHON_SITELIBDIR%%/BitTorrent/track.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/track.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyo
@dirrm %%PYTHON_SITELIBDIR%%/BitTorrent
libexec/kenosis-BitTorrent/btcompletedir.py
libexec/kenosis-BitTorrent/btdownloadcurses.py
libexec/kenosis-BitTorrent/btdownloadheadless.py
libexec/kenosis-BitTorrent/btdownloadlibrary.py
libexec/kenosis-BitTorrent/btlaunchmany.py
libexec/kenosis-BitTorrent/btlaunchmanycurses.py
libexec/kenosis-BitTorrent/btmakemetafile.py
libexec/kenosis-BitTorrent/btreannounce.py
libexec/kenosis-BitTorrent/btrename.py
libexec/kenosis-BitTorrent/btshowmetainfo.py
libexec/kenosis-BitTorrent/bttest.py
libexec/kenosis-BitTorrent/bttrack.py
libexec/kenosis-BitTorrent/btunittest.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Choker.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Choker.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Choker.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Connecter.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Connecter.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Connecter.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/CurrentRateMeasure.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/CurrentRateMeasure.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/CurrentRateMeasure.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Downloader.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Downloader.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Downloader.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/DownloaderFeedback.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/DownloaderFeedback.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/DownloaderFeedback.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Encrypter.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Encrypter.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Encrypter.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/HTTPHandler.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/HTTPHandler.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/HTTPHandler.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/NatCheck.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/NatCheck.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/NatCheck.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/PiecePicker.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/PiecePicker.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/PiecePicker.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RateMeasure.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RateMeasure.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RateMeasure.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RawServer.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RawServer.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RawServer.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Rerequester.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Rerequester.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Rerequester.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Storage.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Storage.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Storage.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/StorageWrapper.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/StorageWrapper.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/StorageWrapper.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Uploader.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Uploader.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Uploader.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/__init__.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/__init__.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/__init__.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bencode.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bencode.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bencode.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bitfield.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bitfield.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bitfield.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/btformats.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/btformats.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/btformats.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/download.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/download.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/download.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/fakeopen.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/fakeopen.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/fakeopen.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/parseargs.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/parseargs.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/parseargs.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/selectpoll.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/selectpoll.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/selectpoll.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/testtest.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/testtest.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/testtest.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/track.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/track.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/track.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/zurllib.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/zurllib.pyo
@dirrm libexec/kenosis-BitTorrent
@dirrm %%PYTHON_SITELIBDIR%%/kenosis_BitTorrent
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true

View File

@ -1,34 +1,46 @@
# New ports collection makefile for: BitTorrent
# Date created: Sun Mar 16 06:34:12 UTC 2003
# New ports collection makefile for: Kenosis enabled BitTorrent
# Date created: Thu Jan 13 01:15:19 UTC 2005
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= BitTorrent
PORTVERSION= 3.4.2
PORTREVISION= 4
PORTEPOCH= 1
PORTNAME= kenosis
PORTVERSION= ${KENOSIS_VERSION}.0.3.4.2
PORTEPOCH= 2
CATEGORIES?= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
PKGNAMESUFFIX= -BitTorrent
DISTNAME= ${KENOSIS_DISTNAME}
MAINTAINER= lioux@FreeBSD.org
COMMENT?= A peer-to-peer tool for distributing files written in Python
COMMENT?= A Kenosis enabled, distributed BitTorrent
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/kenosis/__init__.py:${PORTSDIR}/net/py-kenosis
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
CONFLICTS= py??-*[Bb]it[Tt]orrent* py??-*[Bb]it[Tt]ornado* btqueue*
WRKSRC= ${WRKDIR}/${DISTNAME}/bt
PORTDOCS= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
DOC_FILES= \
BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
README_KENOSIS.txt \
README.txt credits.txt
PORTDOCS= \
README-FreeBSD.txt \
${DOC_FILES}
.include <bsd.port.pre.mk>
#KENOSIS_PORTDIR= ../py-kenosis
KENOSIS_PORTDIR= ${PORTSDIR}/net/py-kenosis
KENOSIS_DISTNAME!= cd ${KENOSIS_PORTDIR} && make -V DISTNAME
KENOSIS_VERSION!= cd ${KENOSIS_PORTDIR} && make -V PORTVERSION
.if ${ARCH} != "i386"
WITHOUT_PSYCO= yes
.endif
@ -37,9 +49,11 @@ WITHOUT_PSYCO= yes
.ifndef(WITHOUT_GUI)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
EXTRA_PATCHES+= ${FILESDIR}/extra-gui-patch-setup.py
PLIST_FILES+= \
bin/btcompletedirgui.py \
bin/btdownloadgui.py
libexec/${PORTNAME}${PKGNAMESUFFIX}/btcompletedirgui.py \
libexec/${PORTNAME}${PKGNAMESUFFIX}/btdownloadgui.py
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-nogui-patch-setup.py
.endif
@ -59,9 +73,9 @@ EXTRA_PATCHES+= \
${FILESDIR}/extra-psyco-patch-bttrack.py
PLIST_FILES+= \
${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent/PSYCO.py \
${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent/PSYCO.pyc \
${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent/PSYCO.pyo
%%PYTHON_SITELIBDIR%%/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}/PSYCO.py \
%%PYTHON_SITELIBDIR%%/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}/PSYCO.pyc \
%%PYTHON_SITELIBDIR%%/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}/PSYCO.pyo
.endif
pre-everything::
@ -76,7 +90,17 @@ post-patch:
@${FIND} ${WRKSRC} -type f | \
${XARGS} -x -n 10 \
${REINPLACE_CMD} -E \
-e 's|/usr/bin/env python2|${LOCALBASE}/bin/python|'
-e 's|from[[:space:]]+BitTorrent|from ${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
-e 's|import[[:space:]]+BitTorrent|import ${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
-e 's|from[[:space:]]+ds|from ${PORTNAME}.ds|' \
-e 's|/usr/bin/env python|${LOCALBASE}/bin/python|'
@${REINPLACE_CMD} -E \
-e 's|%%KENOSIS-BITTORRENT%%|${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
${WRKSRC}/${PYSETUP}
@${REINPLACE_CMD} -E \
-e 's|bt.BitTorrent|${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}|' \
-e 's|from[[:space:]]+bt[[:space:]]+||' \
${WRKSRC}/btunittest.py
.ifdef(WITHOUT_GUI)
@${REINPLACE_CMD} -E \
-e 's|btdownloadgui.py|btdownloadcurses.py|' \
@ -87,17 +111,27 @@ post-patch:
@${ECHO_CMD} 'psyco = 1' > ${WRKSRC}/BitTorrent/PSYCO.py
.endif
pre-configure:
@${MV} ${WRKSRC}/BitTorrent ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
post-install:
@${CAT} ${PKGMESSAGE}
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${INSTALL_DATA} ${PKGMESSAGE} ${DOCSDIR}/README-FreeBSD.txt
.endif
# set proper permissions
@${CHMOD} -R ${SHAREMODE} \
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
@${CHMOD} ${SHAREMODE} ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
@${CHMOD} a+x ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
@${CHMOD} ${SHAREMODE} \
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
@${CHMOD} a+x \
${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/${PORTNAME}${PKGNAMESUFFIX:S/^-/_/}
.include <bsd.port.post.mk>
DOCSDIR:= ${DOCSDIR:S!${PORTNAME}$!${PORTNAME}${PKGNAMESUFFIX}!}
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS} --install-scripts=${PREFIX}/libexec/${PORTNAME}${PKGNAMESUFFIX}

View File

@ -1,2 +1,2 @@
MD5 (BitTorrent-3.4.2.tar.gz) = b854f25a33289565bcaeaded04955c1a
SIZE (BitTorrent-3.4.2.tar.gz) = 198026
MD5 (kenosis-0.92.tar.gz) = 969f5fd77b57743c07336b796fc7c01d
SIZE (kenosis-0.92.tar.gz) = 107101

View File

@ -0,0 +1,25 @@
--- setup.py.orig Fri Jan 14 22:03:18 2005
+++ setup.py Fri Jan 14 22:03:44 2005
@@ -9,18 +9,19 @@
import BitTorrent
setup(
- name = "BitTorrent",
- version = BitTorrent.version,
+ name = "%%KENOSIS-BITTORRENT%%",
+ version = %%KENOSIS-BITTORRENT%%.version,
author = "Bram Cohen",
author_email = "<bram@bitconjurer.org>",
url = "http://www.bitconjurer.org/BitTorrent/",
license = "MIT",
- packages = ["BitTorrent"],
+ packages = ["%%KENOSIS-BITTORRENT%%"],
scripts = ["btdownloadgui.py", "btdownloadheadless.py", "btdownloadlibrary.py",
"bttrack.py", "btmakemetafile.py", "btlaunchmany.py", "btcompletedir.py",
"btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py",
"btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py",
+ "btunittest.py",
"bttest.py"]
)

View File

@ -1,8 +1,20 @@
--- setup.py.orig Sun Mar 30 17:01:05 2003
+++ setup.py Sun Mar 30 17:01:20 2003
@@ -18,9 +18,9 @@
--- setup.py.orig Fri Jan 14 22:12:02 2005
+++ setup.py Fri Jan 14 22:12:54 2005
@@ -9,18 +9,19 @@
import BitTorrent
setup(
- name = "BitTorrent",
- version = BitTorrent.version,
+ name = "%%KENOSIS-BITTORRENT%%",
+ version = %%KENOSIS-BITTORRENT%%.version,
author = "Bram Cohen",
author_email = "<bram@bitconjurer.org>",
url = "http://www.bitconjurer.org/BitTorrent/",
license = "MIT",
packages = ["BitTorrent"],
- packages = ["BitTorrent"],
+ packages = ["%%KENOSIS-BITTORRENT%%"],
- scripts = ["btdownloadgui.py", "btdownloadheadless.py", "btdownloadlibrary.py",
+ scripts = ["btdownloadheadless.py", "btdownloadlibrary.py",
@ -10,5 +22,6 @@
- "btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py",
+ "btdownloadcurses.py", "btlaunchmanycurses.py",
"btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py",
+ "btunittest.py",
"bttest.py"]
)

View File

@ -9,7 +9,7 @@
from time import time
from random import randrange
from binascii import b2a_hex
@@ -18,8 +18,7 @@
@@ -45,8 +45,7 @@
self.url = ('%s?info_hash=%s&peer_id=%s&port=%s&key=%s' %
(url, quote(infohash), quote(myid), str(port),
b2a_hex(''.join([chr(randrange(256)) for i in xrange(4)]))))
@ -19,12 +19,12 @@
self.interval = interval
self.last = None
self.trackerid = None
@@ -81,6 +80,8 @@
@@ -108,6 +107,8 @@
def rerequest(self, url, set):
try:
+ if self.ip:
+ url += '&ip=' + gethostbyname(self.ip)
print "opening url %s" % url
h = urlopen(url)
r = h.read()
h.close()

View File

@ -1,11 +1,23 @@
[ excerpt from distribution's README.txt ]
[ excerpt from developer's web site ]
BitTorrent is a tool for distributing files. It's extremely easy
to use - downloads are started by clicking on hyperlinks. Whenever
more than one person is downloading at once they send pieces of the
file(s) to each other, thus relieving the central server's bandwidth
burden. Even with many simultaneous downloads, the upload burden
on the central server remains quite small, since each new downloader
introduces new upload capacity.
This is Kenosis-enabled BitTorrent. Using Kenosis, we've eliminated
the tracker as a central point of failure for BitTorrent downloads.
Kenosis-enabled BitTorrent is 100% backwards compatible with existing
BitTorrent clients.
WWW: http://bittorrent.com/
Kenosis-BitTorrent uses torrent files which specify a tracker of
the form http://hash.bt.kenosisp2p.org, where "hash" is the hash
of the original file.
Kenosis-BitTorrent downloaders will notice that this is a kenosis
url and use kenosis to find the tracker that is handling this torrent
file. Standard BitTorrent downloaders try to resolve hash.bt.kenosisp2p.org
as normal. Our dns server will look up the hash in kenosis and
return to the client the ip address of the kenosis node that is
tracking that file. If that tracker becomes unreachable, subsequent
lookups for that hash will switch automatically to the next available
Kenosis-enabled tracker.
WWW: http://kenosis.sourceforge.net/
-- lioux@FreeBSD.org

View File

@ -0,0 +1,48 @@
ATTENTIONATTENTION:
Please make sure that you read
/usr/local/share/doc/kenosis-BitTorrent/README_KENOSIS.txt. It
contains important information about testing and configuring the
Kenosis enabled BitTorrent client and tracker, and ultimately
replacing the official client with this version.
Non-Kenosis clients can use Kenosis trackers without a problem AND
Kenosis clients can disable Kenosis suppport (I am not sure why
because you can use the non-Kenosis trackers with Kenosis enabled)
if that is desired.
It is fully compatible with current BitTorrent clients so it will
work with or without Kenosis support. This is a modified version
of the official stable BitTorrent distribution version 3.4.2.
In order to make sure this application does not interfere with
previously installed official BitTorrent clients while users perform
the transition, the installation has been customized.
The kenosis_BitTorrent python module files can be found under
/usr/local/lib/python2.4/site-packages/kenosis_BitTorrent
and
the BitTorrent scripts under
/usr/local/libexec/kenosis-BitTorrent
If you desire to use the kenosis-BitTorrent instead of the official
BitTorrent client, you should just place that directory in front
of PATH
- For sh based shells
$ export PATH="/usr/local/libexec/kenosis-BitTorrent:${PATH}"
- For csh based shells
$ setenv PATH "/usr/local/libexec/kenosis-BitTorrent:${PATH}"
Now, just use BitTorrent as usual. A file containing a copy of this
message is available as
/usr/local/share/doc/kenosis-BitTorrent/README-FreeBSD.txt

View File

@ -1,93 +1,95 @@
bin/btcompletedir.py
bin/btdownloadcurses.py
bin/btdownloadheadless.py
bin/btdownloadlibrary.py
bin/btlaunchmany.py
bin/btlaunchmanycurses.py
bin/btmakemetafile.py
bin/btreannounce.py
bin/btrename.py
bin/btshowmetainfo.py
bin/bttest.py
bin/bttrack.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Choker.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Choker.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Choker.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Connecter.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Connecter.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Connecter.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/CurrentRateMeasure.py
%%PYTHON_SITELIBDIR%%/BitTorrent/CurrentRateMeasure.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/CurrentRateMeasure.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Downloader.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Downloader.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Downloader.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/DownloaderFeedback.py
%%PYTHON_SITELIBDIR%%/BitTorrent/DownloaderFeedback.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/DownloaderFeedback.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Encrypter.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Encrypter.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Encrypter.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/HTTPHandler.py
%%PYTHON_SITELIBDIR%%/BitTorrent/HTTPHandler.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/HTTPHandler.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/NatCheck.py
%%PYTHON_SITELIBDIR%%/BitTorrent/NatCheck.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/NatCheck.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/PiecePicker.py
%%PYTHON_SITELIBDIR%%/BitTorrent/PiecePicker.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/PiecePicker.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/RateMeasure.py
%%PYTHON_SITELIBDIR%%/BitTorrent/RateMeasure.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/RateMeasure.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/RawServer.py
%%PYTHON_SITELIBDIR%%/BitTorrent/RawServer.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/RawServer.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Rerequester.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Rerequester.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Rerequester.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Storage.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Storage.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Storage.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/StorageWrapper.py
%%PYTHON_SITELIBDIR%%/BitTorrent/StorageWrapper.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/StorageWrapper.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/Uploader.py
%%PYTHON_SITELIBDIR%%/BitTorrent/Uploader.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/Uploader.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/__init__.py
%%PYTHON_SITELIBDIR%%/BitTorrent/__init__.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/__init__.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/bencode.py
%%PYTHON_SITELIBDIR%%/BitTorrent/bencode.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/bencode.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/bitfield.py
%%PYTHON_SITELIBDIR%%/BitTorrent/bitfield.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/bitfield.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/btformats.py
%%PYTHON_SITELIBDIR%%/BitTorrent/btformats.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/btformats.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/download.py
%%PYTHON_SITELIBDIR%%/BitTorrent/download.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/download.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/fakeopen.py
%%PYTHON_SITELIBDIR%%/BitTorrent/fakeopen.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/fakeopen.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/parseargs.py
%%PYTHON_SITELIBDIR%%/BitTorrent/parseargs.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/parseargs.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/selectpoll.py
%%PYTHON_SITELIBDIR%%/BitTorrent/selectpoll.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/selectpoll.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/testtest.py
%%PYTHON_SITELIBDIR%%/BitTorrent/testtest.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/testtest.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/track.py
%%PYTHON_SITELIBDIR%%/BitTorrent/track.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/track.pyo
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyo
@dirrm %%PYTHON_SITELIBDIR%%/BitTorrent
libexec/kenosis-BitTorrent/btcompletedir.py
libexec/kenosis-BitTorrent/btdownloadcurses.py
libexec/kenosis-BitTorrent/btdownloadheadless.py
libexec/kenosis-BitTorrent/btdownloadlibrary.py
libexec/kenosis-BitTorrent/btlaunchmany.py
libexec/kenosis-BitTorrent/btlaunchmanycurses.py
libexec/kenosis-BitTorrent/btmakemetafile.py
libexec/kenosis-BitTorrent/btreannounce.py
libexec/kenosis-BitTorrent/btrename.py
libexec/kenosis-BitTorrent/btshowmetainfo.py
libexec/kenosis-BitTorrent/bttest.py
libexec/kenosis-BitTorrent/bttrack.py
libexec/kenosis-BitTorrent/btunittest.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Choker.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Choker.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Choker.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Connecter.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Connecter.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Connecter.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/CurrentRateMeasure.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/CurrentRateMeasure.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/CurrentRateMeasure.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Downloader.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Downloader.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Downloader.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/DownloaderFeedback.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/DownloaderFeedback.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/DownloaderFeedback.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Encrypter.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Encrypter.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Encrypter.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/HTTPHandler.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/HTTPHandler.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/HTTPHandler.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/NatCheck.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/NatCheck.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/NatCheck.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/PiecePicker.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/PiecePicker.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/PiecePicker.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RateMeasure.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RateMeasure.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RateMeasure.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RawServer.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RawServer.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/RawServer.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Rerequester.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Rerequester.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Rerequester.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Storage.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Storage.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Storage.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/StorageWrapper.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/StorageWrapper.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/StorageWrapper.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Uploader.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Uploader.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/Uploader.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/__init__.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/__init__.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/__init__.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bencode.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bencode.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bencode.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bitfield.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bitfield.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/bitfield.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/btformats.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/btformats.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/btformats.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/download.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/download.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/download.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/fakeopen.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/fakeopen.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/fakeopen.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/parseargs.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/parseargs.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/parseargs.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/selectpoll.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/selectpoll.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/selectpoll.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/testtest.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/testtest.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/testtest.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/track.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/track.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/track.pyo
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/zurllib.py
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/kenosis_BitTorrent/zurllib.pyo
@dirrm libexec/kenosis-BitTorrent
@dirrm %%PYTHON_SITELIBDIR%%/kenosis_BitTorrent
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true