--- bittornado-0.3.18.orig/debian/bittorrent-multi-downloader.bittornado.sgml +++ bittornado-0.3.18/debian/bittorrent-multi-downloader.bittornado.sgml @@ -0,0 +1,146 @@ + + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + bittorrent-multi-downloader"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + download multiple files using a scatter-gather network + + + + btlaunchmany directory + + + btlaunchmanycurses directory + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + btlaunchmany and btlaunchmanycurses are + programs that ease the use of bittorrent in multiple-downloader situations. + The programs check the provided directory for torrent files. When they find any, they start + a separate downloader thread for each torrent file. These programs share a common set of options, shown below. + For more information on how to run them, and any program-specific options, see their individual man pages. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). + + In addition to the options shown below, these programs share the same common options + with the normal downloaders, which are documented in + bittorrent-downloader1. + + + + + + + the number of seconds between re-scanning the provided directory (defaults to 60) + + + + 1|2|3 + + how to name torrent downloads (1 = rename to torrent name, 2 = save + under name in torrent, 3 = save in directory under torrent name) + (defaults to 1 for btlaunchmany, 2 for btlaunchmanycurses) + + + + 0|1 + + whether to display the full path or the torrent contents for each + torrent (defaults to 1 for btlaunchmany, 0 for btlaunchmanycurses) + + + + + + + SEE ALSO + + bittorrent-downloader1, + btlaunchmany1, + btlaunchmanycurses1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado.install +++ bittornado-0.3.18/debian/bittornado.install @@ -0,0 +1,13 @@ +usr/bin/btcompletedir.bittornado +usr/bin/btcopyannounce +usr/bin/btdownloadcurses.bittornado +usr/bin/btdownloadheadless.bittornado +usr/bin/btlaunchmany.bittornado +usr/bin/btlaunchmanycurses.bittornado +usr/bin/btmakemetafile.bittornado +usr/bin/btreannounce.bittornado +usr/bin/btrename.bittornado +usr/bin/btsethttpseeds +usr/bin/btshowmetainfo.bittornado +usr/bin/bttrack.bittornado +usr/share/python-support/bittornado --- bittornado-0.3.18.orig/debian/btrename.bittornado.sgml +++ bittornado-0.3.18/debian/btrename.bittornado.sgml @@ -0,0 +1,112 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btrename.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + change the suggested filename inside a bittorrent file + + + + &dhpackage; + + file.torrent + newfilename + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program which will change the suggested + filename presented to the user for a bittorrent file download. This + will make the downloader save the download as a different name by default. + The torrent specified by the file.torrent option is modified + in-place, changing the suggested filename in it's meta-info to newfilename. + + + + + SEE ALSO + + btcopyannounce1, + btreannounce1, + btsethttpseeds1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/control +++ bittornado-0.3.18/debian/control @@ -0,0 +1,61 @@ +Source: bittornado +Section: net +Priority: optional +Maintainer: Micah Anderson +Uploaders: Cameron Dale +Build-Depends: dpatch, debhelper (>= 5.0.37.2) +Build-Depends-Indep: python-dev, python-support (>= 0.5.4), docbook-to-man +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-bittornado/bittornado/trunk +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-bittornado/bittornado/trunk/ + +Package: bittornado +Architecture: all +Depends: ${python:Depends} +Conflicts: bittorrent (<= 3.4.2-2) +Replaces: bittorrent +Suggests: bittornado-gui, python-psyco +Recommends: mime-support, python-crypto +Provides: python-bittornado +Description: bittorrent client with enhanced curses interface + bittorrent is a tool for distributing files. 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. + . + BitTornado is the next generation bittorrent client built on + the original BitTorrent. This client features an enhanced + console/curses mode, lots of new features under the hood, and is + generally one of the most advanced clients out there. Get this if you + need to limit your bandwidth, or you want more control of your + torrents. It does everything the original bittorrent does, plus more... + . + This package only contains the curses interfaces, install the package + bittornado-gui to get the GUI components + . + Homepage: http://bittornado.com + +Package: bittornado-gui +Architecture: all +Depends: ${python:Depends}, bittornado (= ${source:Version}), python-wxgtk2.6 +Conflicts: bittorrent (<= 3.4.2-2), libfreetype6 (= 2.1.7-2.4) +Replaces: bittorrent +Suggests: python-psyco +Recommends: mime-support, python-crypto +Description: bittorrent client with enhanced GUI interface + 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. + . + BitTornado is the next generation bittorrent client built on + the original BitTorrent. This client features an enhanced GUI, lots + of new features under the hood, and is generally one of the most + advanced clients out there. Get this if you need to limit your + bandwidth, or you want more control of your torrents. It does + everything the original bittorrent does, plus more... --- bittornado-0.3.18.orig/debian/docs +++ bittornado-0.3.18/debian/docs @@ -0,0 +1,8 @@ +README.txt +docs/credits.txt +docs/README-Psyco.txt +docs/IMPORTANT-multitracker-readme.txt +docs/FAQ.txt +ipranges.portugal.txt +docs/multitracker-spec.txt +docs/webseed-spec.txt --- bittornado-0.3.18.orig/debian/bittornado-gui.postinst +++ bittornado-0.3.18/debian/bittornado-gui.postinst @@ -0,0 +1,62 @@ +#! /bin/sh +# postinst script for bittorrent +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + + # Run the mimetypes program to add mimetypes into Netscape. + if [ -e /etc/init.d/mimetypes ]; then + /etc/init.d/mimetypes + fi + + for i in btcompletedirgui btdownloadgui ; do + update-alternatives \ + --install /usr/bin/$i $i /usr/bin/$i.bittornado 120 \ + --slave /usr/share/man/man1/$i.1.gz $i.1.gz /usr/share/man/man1/$i.bittornado.1.gz + done + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + for i in btcompletedirgui btdownloadgui ; do + update-alternatives \ + --install /usr/bin/$i $i /usr/bin/$i.bittornado 120 \ + --slave /usr/share/man/man1/$i.1.gz $i.1.gz /usr/share/man/man1/$i.bittornado.1.gz + done + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bittornado-0.3.18.orig/debian/btshowmetainfo.bittornado.sgml +++ bittornado-0.3.18/debian/btshowmetainfo.bittornado.sgml @@ -0,0 +1,112 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btshowmetainfo.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + display the meta-information in bittorrent files + + + + &dhpackage; + + file + file + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program which will display the meta-information + stored in a bittorrent file. + + + + SEE ALSO + + bittorrent-downloader1, + btmakemetafile1, + btmaketorrentgui1, + btcompletedir1, + btcompletedirgui1, + btcopyannounce1, + btreannounce1, + btrename1, + btsethttpseeds1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/btmaketorrentgui.sgml +++ bittornado-0.3.18/debian/btmaketorrentgui.sgml @@ -0,0 +1,116 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btmaketorrentgui"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + GUI program to generate torrent meta-info files for use with bittorrent + + + + &dhpackage; + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a GUI interface to btmakemetafile, it generates + the torrent info files that are distributed to bittorrent clients (usually over http) to inform them + of where the designated tracker for the torrent is located, and to enable them + to verify the file's contents. + + &dhpackage; does not require arguments like btmakemetafile does, + instead everything is done in the GUI interface. The first box in the GUI is the + file or directory that the torrent info file will be generated for, the second is the + "announce" address of the tracker (ex. http://my.tracker:6969/announce). The + third box is for an optional list of announces, separated by commas or whitespace and on + several lines. You can also optionally set the piece size and a comment. + + + + + SEE ALSO + + btcompletedir1, + btcompletedirgui1, + btmakemetafile1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado.prerm +++ bittornado-0.3.18/debian/bittornado.prerm @@ -0,0 +1,49 @@ +#! /bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +PACKAGE="bittornado" + +dpkg --listfiles $PACKAGE | + awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | + xargs rm -f >&2 + + + +case "$1" in + remove|upgrade|deconfigure) + for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack ; do + update-alternatives --remove $i /usr/bin/$i.bittornado + done + + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bittornado-0.3.18.orig/debian/bittornado-gui.manpages +++ bittornado-0.3.18/debian/bittornado-gui.manpages @@ -0,0 +1,3 @@ +debian/btdownloadgui.bittornado.1 +debian/btcompletedirgui.bittornado.1 +debian/btmaketorrentgui.1 --- bittornado-0.3.18.orig/debian/rules +++ bittornado-0.3.18/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYTHON_VERSION=$(shell /usr/bin/python -V 2>&1 | /usr/bin/perl -le 'print "$$1.$$2" if <> =~m/^Python\s+(\d+)\.(\d+)(\.\d+)*/') + + +include /usr/share/dpatch/dpatch.make + +build-stamp: bittorrent-downloader.bittornado.1 bittorrent-multi-downloader.bittornado.1 btcompletedir.bittornado.1 btcompletedirgui.bittornado.1 btcopyannounce.1 btdownloadcurses.bittornado.1 btdownloadgui.bittornado.1 btdownloadheadless.bittornado.1 btlaunchmany.bittornado.1 btlaunchmanycurses.bittornado.1 btmakemetafile.bittornado.1 btmaketorrentgui.1 btreannounce.bittornado.1 btrename.bittornado.1 btsethttpseeds.1 btshowmetainfo.bittornado.1 bttrack.bittornado.1 + dh_testdir + touch build-stamp + +%.1: debian/%.sgml + /usr/bin/docbook-to-man $< > debian/$@ + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build/ BitTornado/BT1/*.pyc BitTornado/*.pyc *.pyc + rm -f debian/*.1 + rm -f build-stamp + dh_clean + +install: patch build-stamp + + + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/bittornado. + chmod +x ./setup.py + ./setup.py install --prefix=$(CURDIR)/debian/tmp/usr --install-lib=$(CURDIR)/debian/tmp/usr/share/python-support/bittornado + + install -d debian/tmp/usr/share/mimelnk/application + + install -D -m644 debian/bittornado.desktop debian/bittornado-gui/usr/share/applications/bittornado.desktop + install -D -m644 debian/bittornado.xpm debian/tmp/usr/share/pixmaps/bittornado.xpm + install -d debian/tmp/usr/share/bittorrent + chmod 755 debian/tmp/usr/share/python-support/bittornado/BitTornado/launchmanycore.py + cp debian/tmp/usr/bin/btmakemetafile.py debian/tmp/usr/share/python-support/bittornado/BitTornado + cp debian/tmp/usr/bin/btcompletedir.py debian/tmp/usr/share/python-support/bittornado/BitTornado + + # Remove the generated .pyc files + ( cd debian/tmp/usr/share/python-support/bittornado/BitTornado && \ + rm -f *.pyc && \ + cd BT1 && \ + rm -f *.pyc ) + +# Build architecture-independent files here. +binary-arch: build install + + +# Build architecture-dependent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installmime + dh_desktop + dh_installman + + # Remove the .py from the end of each of these and add .bittornado + # so that the alternatives system can work + ( cd debian/tmp/usr/bin && \ + for i in btdownloadgui btdownloadheadless bttrack btmakemetafile \ + btlaunchmany btcompletedir btcompletedirgui \ + btdownloadcurses btlaunchmanycurses btreannounce btrename \ + btshowmetainfo; \ + do mv $$i.py $$i.bittornado; done ) + + # Remove the .py from the end of each of these, the following are not + # included in bittorrent, so they are not renamed to having the + # suffix of .bittornado + ( cd debian/tmp/usr/bin && \ + for i in btcopyannounce btsethttpseeds btmaketorrentgui; \ + do mv $$i.py $$i; done ) + + dh_installchangelogs + dh_install --sourcedir=debian/tmp + dh_link + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- bittornado-0.3.18.orig/debian/btdownloadheadless.bittornado.sgml +++ bittornado-0.3.18/debian/btdownloadheadless.bittornado.sgml @@ -0,0 +1,116 @@ + + Cameron"> + Dale"> + + Apr 12, 2006"> + + 1"> + camrdale@gmail.com"> + + btdownloadheadless.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2005 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + headless bittorrent download interface + + + + &dhpackage; URL + + + &dhpackage; filename + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; downloads torrents in the same manner as btdownloadcurses or + btdownloadgui, but does not require a terminal to stay alive. + + &dhpackage; will open a provided torrent URL or + file and download it until complete. It will then seed (upload) the torrent until it is stopped. + + + + OPTIONS + + This program uses the same common options as the other bittorrent downloaders, which are documented in + bittorrent-downloader1. + + + + + SEE ALSO + + bittorrent-downloader1, + btdownloadcurses1. + btdownloadgui1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/README.Debian +++ bittornado-0.3.18/debian/README.Debian @@ -0,0 +1,9 @@ + +bittornado +---------- + +If you want the gui componants of bittornado, install the package +bittornado-gui. + +-- Micah Anderson Wed Jun 16 18:04:55 CDT 2004 + --- bittornado-0.3.18.orig/debian/btsethttpseeds.sgml +++ bittornado-0.3.18/debian/btsethttpseeds.sgml @@ -0,0 +1,119 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btsethttpseeds"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + sets http-seeds information in torrents + + + + &dhpackage; + + seedURLlist + file + file + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program which will change the http seed + URLs of an existing torrent file. The already existing torrent specified by + the file argument will be modified to use the new + http seed URLs given by the seedURLlist argument. + These alternate URLs will be used to seed the file if there are no other seeds available. + + The seedURLlist can be '0', or formatted as follows: + + URL[|URL ...] + + if the seedURLlist is '0', any http seeds currently in file will be stripped. + + + + + SEE ALSO + + btcopyannounce1, + btreannounce1, + btrename1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado.manpages +++ bittornado-0.3.18/debian/bittornado.manpages @@ -0,0 +1,14 @@ +debian/bittorrent-downloader.bittornado.1 +debian/bttrack.bittornado.1 +debian/btmakemetafile.bittornado.1 +debian/bittorrent-multi-downloader.bittornado.1 +debian/btreannounce.bittornado.1 +debian/btrename.bittornado.1 +debian/btshowmetainfo.bittornado.1 +debian/btcompletedir.bittornado.1 +debian/btcopyannounce.1 +debian/btsethttpseeds.1 +debian/btdownloadcurses.bittornado.1 +debian/btdownloadheadless.bittornado.1 +debian/btlaunchmany.bittornado.1 +debian/btlaunchmanycurses.bittornado.1 --- bittornado-0.3.18.orig/debian/btreannounce.bittornado.sgml +++ bittornado-0.3.18/debian/btreannounce.bittornado.sgml @@ -0,0 +1,162 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btreannounce.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + change the announce address of a torrent file + + + + &dhpackage; + + trackerURL + file + file + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program which will change the announce + address of a existing torrent file. The already existing torrent specified by + the file argument will be modified to use the new + announce url given by the trackerURL argument. + + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). A summary of + options is included below. + + + + + + a list of announce URLs. This is an optional list + of redundant/backup tracker URLs. The format of announceURLlist is as follows: + + URL[,URL ...][|URL[,URL ...] ...] + + where the URLs separated by commas are tried randomly, then the + groups of URLs separated by pipes are tried in sequential order. + If this option is omitted, it is assumed you don't want an announce_list field in the metafile. + If announce_list is given, clients which support it + will ignore the trackerURL value. (defaults to '') + + + + + + EXAMPLES + + These examples show how to use the --announce_list option in a few scenarios. + + Try the three trackers (1-3) in sequential order: + + + &dhpackage; trackerURL file --announce_list http://track1.com|http://track2.com|http://track3.com + + + Try the three trackers (1-3) in a randomly selected order: + + + &dhpackage; trackerURL file --announce_list http://track1.com,http://track2.com,http://track3.com + + + Try the main tracker (1) first, then try the two backups (2 and 3) randomly: + + + &dhpackage; trackerURL file --announce_list http://track1.com|http://track2.com,http://track3.com + + + + + SEE ALSO + + btcopyannounce1, + btrename1, + btsethttpseeds1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/btcompletedir.bittornado.sgml +++ bittornado-0.3.18/debian/btcompletedir.bittornado.sgml @@ -0,0 +1,206 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btcompletedir.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + creates torrent meta-info files for all files/directories within a directory + + + + &dhpackage; + + trackerURL + directory + directory + + + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program that is used to generate the torrent info files + that are distributed to bittorrent clients (usually over http) to inform them + of where the designated tracker for the torrent is located, and to enable them + to verify the file's contents. + + &dhpackage; requires two arguments. The first is the trackerURL which is the + "announce" address of a tracker (ex. http://127.0.0.1:6969/announce), the second is the + directory that you wish to parse to generate torrent info files. + + &dhpackage; will parse each directory given and create a torrent file for every file and directory + within it. All torrent files will also reside in the directory after the program is complete. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). A summary of + options is included below. + + + + + + set the piece size to this power of 2 (0 = automatic) (defaults + to 0) + + + + + + optional human-readable comment to put in the torrent file (defaults to '') + + + + + + an optional encoding specification for the filesystem (set automatically in + recent Python versions) (defaults to '') + + + + + + a list of http seed URLs. These alternate URLs will be used to seed + the file if there are no other seeds available. The format of seedURLlist is as follows: + + URL[|URL ...] + + (defaults to '') + + + + + + a list of announce URLs. This is an optional list + of redundant/backup tracker URLs. The format of announceURLlist is as follows: + + URL[,URL ...][|URL[,URL ...] ...] + + where the URLs separated by commas are tried randomly, then the groups of URLs separated by pipes + are tried in sequential order. + If this option is omitted, it is assumed you don't want an announce_list field in the metafile. + If announce_list is given, clients which support it + will ignore the trackerURL value. (defaults to '') + + + + + + + EXAMPLES + + These examples show how to use the --announce_list option in a few scenarios. + + Try the three trackers (1-3) in sequential order: + + + &dhpackage; trackerURL directory --announce_list http://track1.com|http://track2.com|http://track3.com + + + Try the three trackers (1-3) in a randomly selected order: + + + &dhpackage; trackerURL directory --announce_list http://track1.com,http://track2.com,http://track3.com + + + Try the main tracker (1) first, then try the two backups (2 and 3) randomly: + + + &dhpackage; trackerURL directory --announce_list http://track1.com|http://track2.com,http://track3.com + + + + + + SEE ALSO + + btcompletedirgui1, + btmakemetafile1, + btmaketorrentgui1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/watch +++ bittornado-0.3.18/debian/watch @@ -0,0 +1,3 @@ +# Site Directory Pattern Version Script +version=3 +http://download2.bittornado.com/download/BitTornado-(.*)\.tar\.gz debian --- bittornado-0.3.18.orig/debian/dirs +++ bittornado-0.3.18/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/bittorrent --- bittornado-0.3.18.orig/debian/bittornado-gui.install +++ bittornado-0.3.18/debian/bittornado-gui.install @@ -0,0 +1,2 @@ +usr/bin/*gui* +usr/share/pixmaps --- bittornado-0.3.18.orig/debian/btcompletedirgui.bittornado.sgml +++ bittornado-0.3.18/debian/btcompletedirgui.bittornado.sgml @@ -0,0 +1,113 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btcompletedirgui.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + GUI interface to create torrent meta-info files for all files/directories within a directory + + + + &dhpackage; + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; does not require arguments like btcompletedir does, + everything is done in the GUI interface. The first box in the GUI is the + directory that the program will parse, the second is the + "announce" address of a tracker (ex. http://my.tracker:6969/announce). Additionally, you + can set a piece size. + + &dhpackage; will parse the directory given and create a torrent file for every file and directory + within it. All torrent files will also reside in that directory after the program is complete. + + + + + SEE ALSO + + btcompletedir1, + btmakemetafile1, + btmaketorrentgui1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/btdownloadgui.bittornado.sgml +++ bittornado-0.3.18/debian/btdownloadgui.bittornado.sgml @@ -0,0 +1,212 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btdownloadgui.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + GUI bittorrent download interface + + + + + &dhpackage; URL + + + &dhpackage; filename + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a GUI interface to download torrents. + + &dhpackage; will open a provided torrent URL or + file and download it until complete. It will then seed (upload) the torrent until it is stopped. + + + + OPTIONS + + This program follows the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). A summary of + options is included below. + + In addition to the program-specific options described below, this program uses the same common + options as the other bittorrent downloaders, which are documented in + bittorrent-downloader1. + + + + 0|1 + + whether to iconize to the system try or not (only for win32) (defaults to 1) + + + + 0|1 + + whether to stretch the download status window to fit the torrent name (defaults to 0) + + + + 0|1 + + whether to display statistics on peers and seeds (defaults to 1) + + + + 0|1 + + whether to display miscellaneous other statistics (defaults to 1) + + + + automatic|unlimited|dialup/isdn|dsl/cable slow|dsl/cable fast|T1|T3+|seeder + + the default rate setting to use for maximum upload rate + (options are 'automatic', 'unlimited', 'dialup/isdn', 'dsl/cable slow', 'dsl/cable fast', 'T1', 'T3+', 'seeder') + (defaults to 'automatic') + + + + none|basic|full + + the rate setting controls to display (options are 'none', 'basic', and 'full') + (defaults to 'full') + + + + 0|1 + + forces the status icon to be green even if the client seems to be firewalled (defaults to 0) + + + + + + the default directory to save to (defaults to '') + + + + + + the directory where the last torrent was saved (defaults to '') + + + + + + the font size to use (defaults to 10) + + + + 0|1|-1 + + whether to ask where to download to (0 = never, 1 = always, -1 = automatic resume) + (defaults to 0) + + + + + + the color to use for the progress bar when checking (defaults to '92 91 8d') + + + + + + the color to use for the progress bar when downloading (defaults to '4b 69 83') + + + + + + the color to use for the progress bar when seeding (defaults to '00 ff 00') + + + + + + + SEE ALSO + + bittorrent-downloader1, + btdownloadcurses1, + btdownloadheadless1, + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/changelog +++ bittornado-0.3.18/debian/changelog @@ -0,0 +1,373 @@ +bittornado (0.3.18-4) unstable; urgency=low + + * 18_fix_launchmany_encrypter.dpatch: fix a bug in the Encrypter + that dropped all launchmany handled connections (Closes: #422098) + * Fixed absolute path and other spec problems in .desktop file + (thanks to Ubuntu) + * Fixed other .desktop issues from new lintian checks + * Switch bittornado-gui dependence from Source-Version to source:Version + * Fix the menu entry to comply with the new menu transition + * 19_fix_tracker_return_all.dpatch: fix a tracker bug that caused + all torrents' peers to be returned for every request + * 20_tracker_cache_minor_fix.dpatch: a minor fix for the new cache + structure used by the tracker + + -- Cameron Dale Mon, 17 Sep 2007 13:56:24 -0800 + +bittornado (0.3.18-3) unstable; urgency=low + + * Added a recommends on python-crypto for encrypted communications + * Add XS-Vcs-Browser to debian/control + + -- Cameron Dale Fri, 11 May 2007 13:56:24 -0800 + +bittornado (0.3.18-2) unstable; urgency=low + + * Fixed some man page typos (Closes: #409584, #409585) + * Updated man pages for encryption + * Removed 14_enable_gui_commandline.dpatch (Closes: #413749) + * Removed the obsolete icons directory + + -- Cameron Dale Sun, 22 Apr 2007 13:56:24 -0800 + +bittornado (0.3.18-1) unstable; urgency=low + + * New upstream release + . removed unnecessary 03_btlaunchmanycurses.py_transpose_transfer_totals + * Fixed a small syntax error (17_fix_NatCheck_bufferlen_error) + + -- Cameron Dale Thu, 4 Jan 2007 13:56:24 -0800 + +bittornado (0.3.17-1) unstable; urgency=low + + * New upstream release (Closes: #395326) + . Fixes BitTorrent engine error (Closes: #385721) + . Fixes problem with super-seeding + * Fix the ipv6 in SocketHandler.py (Closes: #305388) + (thanks to Tobias Diedrich for this fix) + + -- Cameron Dale Fri, 27 Oct 2006 15:46:48 -0700 + +bittornado (0.3.15-4) unstable; urgency=high + + * Removed the generated pyc files (Closes: #394180) + + -- Cameron Dale Fri, 20 Oct 2006 12:31:54 -0800 + +bittornado (0.3.15-3) unstable; urgency=low + + * Enabled the gui commandline arguments for btdownloadgui (Closes: #378490) + * Switch to version-independent build-dependencies for python + * Drop dh_python and improve dh_pysupport implementation + * Start providing python-bittornado as bittornado module + * Make btlaunchmany send stopped event on exit (Closes: #387658) + * Fix unicode support in btmaketorrentgui (Closes: #330955) + * Fix btmaketorrentgui and btcompletedirgui dependence on + python-wxgtk2.4 (Closes: #391792) + * Thanks to Jérémy Bobbio for the previous 2 fixes + * Update Build-Depends python-support version to avoid #391689 + + -- Cameron Dale Fri, 06 Oct 2006 12:31:54 -0800 + +bittornado (0.3.15-2) unstable; urgency=low + + * Python transition update + . Update build debhelper Depends for python transition + . Add debian/pycompat to instruct dh_python to follow new policy + . Add XB-Python-Version: ${python:Versions} to debian/control + . Add Build-Depends: python-support (>= 0.3) + . Add dh_pysupport to debian/rules + * Moved debhelper and dpatch dependency out of Build-Depends-Indep + to comply with Policy Section 7.6 + * Updated policy to 3.7.2 (no changes) + + -- Micah Anderson Sat, 24 Jun 2006 11:14:47 -0400 + +bittornado (0.3.15-1) unstable; urgency=low + + [ Cameron Dale ] + * New upstream release + * Added Cameron Dale as Co-Maintainer + * Changed bittornado-gui dependency to match bittornado (Closes: #358912) + * Updated patches to work with new upstream + * Removed unnecessary modifications from Tim Tucker patch + * Updated watch file to work again + * New patch 12_make_guis_use_2.4, makes 2 GUIs choose wxPython 2.4 + * New patch 13_fix_btcompletedirgui_bug + * Switch to docbook-to-man for man pages + * Updated all man pages + + -- Micah Anderson Mon, 17 Apr 2006 12:31:54 -0800 + +bittornado (0.3.13-2) unstable; urgency=low + + [ Cameron Dale ] + * Add 08_btdownloadcurses_indent patch back in + * Update to standards version 3.6.2 + * Added conflict with libfreetype6 (=2.1.7-2.4) (Closes: #354184) + + [ Micah Anderson ] + * Updated bug reporting address (Closes: #348155) + + [ Cameron Dale ] + * Update btdowloadcurses.py to be identical to orig.tar.gz one + * Updated bttrack.bittornado manpage (Closes: #335679) + + -- Micah Anderson Tue, 28 Feb 2006 11:49:27 -0500 + +bittornado (0.3.13-1) unstable; urgency=low + + * New upstream release + * Applied fixes from TimTucker + * Changed Dependency from libwxgtk2.4-1-python to python-wxgtk2.6 + (Closes: #326701) + * Updated man pages to fix parsing problems + * Applied fix for selfcheck hashes to be sorted + + -- Micah Anderson Wed, 27 Jul 2005 23:50:53 -0500 + +bittornado (0.3.12-1) unstable; urgency=low + + * Updated manpages to have more infomrative short descriptions, better + command-line summaries, more proper man-page formatting and some + spelling errors were fixed (Closes: #310345, Closes: #310540). + * Updated to latest upstream release (Closes: #305071). + * Changed bug report address to be the Debian BTS + + -- Micah Anderson Sat, 9 Apr 2005 23:36:40 -0500 + +bittornado (0.3.11-1) unstable; urgency=medium + + * New upstream release, should also fix problems on + 64-bit machines (Closes: #303813) + + -- Micah Anderson Thu, 7 Apr 2005 09:24:53 -0500 + +bittornado (0.3.10-5) unstable; urgency=medium + + * Disabled psyco support from being enabled automatically, in + some situations it increases memory usage and can cause + reliability problems. + + -- Micah Anderson Wed, 6 Apr 2005 22:14:56 -0500 + +bittornado (0.3.10-4) unstable; urgency=medium + + * Updated Build-Depends-Indep to be specific for python 2.4 + * Updated btdownloadcurses.bittornado.1, bttrack.bittornado.1, + bittorrent-downloader.bittornado.1, btcompletedir.bittornado.1 + btcompletedirgui.bittornado.1, btdownloadgui.bittornado.1, + btdownloadheadless.bittornado.1, btlaunchmany.bittornado.1, + btlaunchmanycurses.bittornado.1, btmakemetafile.bittornado.1 + patched README.txt to list the correct ports (Closes: #301456) + * Added patch to enable PSYCO support if package is installed + updated debian/control to Suggest on python-psyco, not Depending + because psyco is i386 only (Closes: #303360) + * Actually enable bttrack connection AttributeError fix patch + + -- Micah Anderson Wed, 9 Mar 2005 18:04:11 -0600 + +bittornado (0.3.10-3) unstable; urgency=low + + * Changed bittornado.desktop to cause the client to no longer show up + in the Other menu in GNOME (Closes: #298635) + * Updated bttrack manpage to have proper arguments and remove duplicates + * Changed maintainer address in debian/control + + -- Micah Anderson Sun, 13 Feb 2005 21:39:34 -0600 + +bittornado (0.3.10-2) unstable; urgency=low + + * Changed debian/control back for bittornado-gui so it is building + against libwxgtk2.4-python instead of libwxgtk2.5.3-python as this + will not enter testing + * Added patch from http://forums.degreez.net/viewtopic.php?t=3848 to + fix bttrack connection AttributeError (Closes: #294803) + * Updated btlaunchmanycurses manpage to indicate that --saveas can use a + directory (Closes: #293286) + -- Micah Anderson Fri, 21 Jan 2005 12:09:54 -0600 + +bittornado (0.3.10-1) unstable; urgency=low + + * New upstream release (Closes: #290765, #281841, #288345) + * Created debian/watch file + * Updated debian/control for bittornado-gui to build against + libwxgtk2.5.3-python + * Updated debian/bittornado.desktop to have the right categories and + installed into the proper directory, added dh_desktop to debian/rules + * Changed debian/control to fit new lintian requirements + + -- Micah Anderson Fri, 21 Jan 2005 10:05:47 -0600 + +bittornado (0.3.9b-1) unstable; urgency=low + + * Upgraded to latest upstream version (Closes: #286554) + * Fixed setup.py executable FTBS problem (Closes: #286060) + * Removed predictable port and TOS port patches (Closes: #285804) + + -- Micah Anderson Fri, 31 Dec 2004 16:38:42 -0600 + +bittornado (0.3.8-1) unstable; urgency=low + + * Upgraded to latest upstream version + * Added two patches to enhance the ability to filter/traffic, one + patch from Greg Smith which sets the port + for outbound connections so they come from a predictable port. + same port is used for outgoing as is used for incoming. From + http://krypto.org/bt/bittornado-SocketHandler-sourceport.diff + The other copies code from bittorrent which sets IP_TOS - but fix + the bitfield because bittorrent accidentially uses 0x20 which is + the reverse of the correct 0x8 (IPTOS_THROUGHPUT). Thanks to + dean gaudet for these. (Closes: #284413) + * Added bittornado icon, created by Stefani Banerian, added menu + entry referencing this icon and modified desktop entry to use icon + + -- Micah Anderson Thu, 9 Dec 2004 22:42:03 -0600 + +bittornado (0.3.7-5) unstable; urgency=low + + * Changed Recommends on bittornado-gui to Suggests because, as Mr. + Thaddeus H. Black points out, a Recommends means that if someone + tries to dselect bittornado, then dselect will automatically pull + in bittornado-gui and several other packages a non-X system does + not want. + * Fixed typos in control (Closes: #283277) + * Added patch to increase significant digit in btdownloadcurses, + thanks , (Closes: #250904) + * Re-introduced patch to transpose up and down rates as they are broken + had to make an additional patch to btlaunchmany (Closes: #272690) + * Updated man pages for btlaunchmany, btlaunchmanycurses, + btdownloadheadless, btdownloadcurses and btdownloadgui and + btmakemetafile (Closes: #280241) + + -- Micah Anderson Thu, 21 Oct 2004 15:44:04 -0500 + +bittornado (0.3.7-4) unstable; urgency=low + + * Created new man page for bttrack and btmakemetafile + * Added patch to fix bttrack --allowed_dir bug. (Closes: #271489) + * Removed improper alternatives connections for btcompletedirgui + and btdownloadgui in the bittornado package as these are handled + in bittornado-gui (Closes: #272445) + * Removed erroneous %s in Exec line of bittornado.desktop. (Closes: #271847) + + -- micah Sun, 26 Sep 2004 23:27:48 -0500 + +bittornado (0.3.7-3) unstable; urgency=low + + * Fixed postrm to work with dash (Closes: #267700) + * Removed patch to transpose transfer total order as this was causing + totals to be misrepresented in btlaunchmany and btlaunchmanycurses and + possibly others. Forwarding that request to upstream. (Closes: #262862) + * Removed patch to fix icon location and stopped installing icons and gifs in + the icon directory, this version of bittornado generates the icons + in users .BitTornado directory so that they can be user customizable. + * Removed bt_MakeCreateIcons.py from source distro at the recommendation of + upstream. + * Removed bt-t-make.py as upstream indicates that it is unfinished and + not very usable. + * Changed package to use the alternatives system so that it can be installed + alongside bittorrent (Closes: #254489, #255409) + * Made btcompletedirgui, btdownloadgui, and btmaketorrentgui man pages + (Closes: #250313, #269764) + + -- Micah Anderson Fri, 3 Sep 2004 16:50:19 -0500 + +bittornado (0.3.7-2) unstable; urgency=low + + * Upgraded depends for bittornado-gui (Closes: #264935) + * Created new man pages for btdownloadcurses, btdownloadheadless, + btlaunchmany, btlaunchmanycurses (Closes: #264425) + + -- Micah Anderson Wed, 11 Aug 2004 10:49:32 -0500 + +bittornado (0.3.7-1) unstable; urgency=low + + * Upgraded to the latest upstream release (Closes: #259673) + * Added versioned depends on bittornado (>= 0.2.0-7) for + bittornado-gui as people with older versions installed would get + errors (Closes: #258644) + * Removed the patches which displayed an error if you did not have + the proper libwxgtk package installed, no longer necessary. + * Removed patches which fixed a number of upstream bugs, as these + have been fixed in the upstream version now. + * Transposed the order in which transfer totals are presented in + btlaunchmanycurses so that they correspond with the ordering used for + data rates, making it easier to scan as the column headings are no + longer misleading (Closes: #259672), thanks Euan MacGregor + + -- Micah Anderson Wed, 21 Jul 2004 20:25:48 -0500 + +bittornado (0.2.0-7) unstable; urgency=low + + * Created NEWS file to note the package split + * Removed debconf note (Closes: #257402, #257666, #257369), thanks Tollef + * Changed Suggests: bittornado-gui to Recommends: + * Fixed invalid syntax in wxPython error message which kept btdownloadgui + from starting + * Removed duplicate manpage from bittornado-gui (Closes: #257334, #257959, #257960) + + -- Micah Anderson Tue, 6 Jul 2004 17:12:37 -0500 + +bittornado (0.2.0-6) unstable; urgency=low + + * Split package into GUI/non-GUI componants, all GUI componants will + be in the bittornado-gui package (Closes: #251977, #254657) + * Added debconf warning for those who already have the package installed + that they need to install the bittornado-gui package to get those + componants, only appears for those upgrading from prior version + + -- Micah Anderson Wed, 16 Jun 2004 17:34:15 -0500 + +bittornado (0.2.0-5) unstable; urgency=low + + * Fixed importing of module in btmaketorrentgui (Closes: #254266) + + -- Micah Anderson Tue, 15 Jun 2004 19:51:23 -0500 + +bittornado (0.2.0-4) unstable; urgency=low + + * Updated the copyright file to have a link to the upstream source + and to properly credit the upstream author + * Fixed location of bittornado.desktop menu file so it appears in the + proper place now (Closes: #253752) + * Removed unneeded build-stamp target from the rules file + * Added patches to GUI componants to warn if libwxgtk2.4-python is not + installed until package split into X and -noX componants is completed + + -- Micah Anderson Mon, 14 Jun 2004 11:50:03 -0500 + +bittornado (0.2.0-3) unstable; urgency=low + + * Changed rules to be more python version independent + * Changed nowxmsg so that it was up to date + * Fixed library location of btcompletedir for + btcompletedirgui (Closes: #251337) + * Fixed library location of btcompletedir for + btmaketorrentgui (Closes: #251338) + + -- Micah Anderson Mon, 7 Jun 2004 20:14:32 -0300 + +bittornado (0.2.0-2) unstable; urgency=low + + * Fixed dependencies on specific versions of python + and cleaned up install to not duplicate debhelper work (Closes: #249517) + + -- Micah Anderson Fri, 21 May 2004 22:06:20 -0500 + +bittornado (0.2.0-1) unstable; urgency=low + + * Initial Release. + * Changed btdownloadgui.py to use icons in FHS standard directory + (/usr/share/icons/bittornado) + * Removed bttest.py and btdownloadlibrary.py from distribution because + they are broken and according to upstream, "btdownloadlibrary.py and + bttest.py are old and will probably stay broken" + * Modified btmaketorrentgui.py and btcompletedir.py so that they pulled + btmakemetafile from BitTornado.btmakemetafile instead of relying on + it in /usr/bin, bug filed with upstream, to be fixed in next version + * Fixed btcompletedir.py to exit properly, upstream notified + * Created man page for btcompletedir and btcopyannounce + + -- Micah Anderson Sat, 8 May 2004 18:03:58 -0500 + --- bittornado-0.3.18.orig/debian/compat +++ bittornado-0.3.18/debian/compat @@ -0,0 +1 @@ +5 --- bittornado-0.3.18.orig/debian/bittornado.desktop +++ bittornado-0.3.18/debian/bittornado.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=0.3.10 +Name=Bittornado Client +GenericName=Bittorrent Client +X-MultipleArgs=false +Exec=/usr/bin/btdownloadgui.bittornado +X-test=test -n "$DISPLAY" +Type=Application +Icon=bittornado +MimeType=application/x-bittorrent; +NoDisplay=false +Categories=GNOME;Network;FileTransfer;P2P; +Terminal=false --- bittornado-0.3.18.orig/debian/btlaunchmanycurses.bittornado.sgml +++ bittornado-0.3.18/debian/btlaunchmanycurses.bittornado.sgml @@ -0,0 +1,115 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btlaunchmanycurses.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + launch multiple torrent downloads, using a curses interface + + + + &dhpackage; directory + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a curses-based program that eases the use of managing multiple torrent downloads. + The program checks the provided directory for torrent + files. When it finds any, it starts a separate downloader thread for each torrent file. + + + + OPTIONS + + This program uses the same common options as the other bittorrent downloaders, which are documented in + bittorrent-downloader1. + + This program also uses some options specific to multiple-torrent downloaders, which are documented in + bittorrent-multi-downloader1. + + + + + SEE ALSO + + bittorrent-downloader1, + bittorrent-multi-downloader1, + btlaunchmany1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado.xpm +++ bittornado-0.3.18/debian/bittornado.xpm @@ -0,0 +1,205 @@ +/* XPM */ +static char * bittornado_xpm[] = { +"32 32 170 2", +" c None", +". c #8D8D8D", +"+ c #131313", +"@ c #000000", +"# c #1E1E1E", +"$ c #505050", +"% c #1B1B1B", +"& c #010101", +"* c #2E2E2E", +"= c #5D5D5D", +"- c #6C6C6C", +"; c #696969", +"> c #6D6D6D", +", c #787878", +"' c #888888", +") c #858585", +"! c #404040", +"~ c #373737", +"{ c #474747", +"] c #0A0A0A", +"^ c #464646", +"/ c #595959", +"( c #4E4E4E", +"_ c #626262", +": c #737373", +"< c #717171", +"[ c #7F7F7F", +"} c #8E8E8E", +"| c #919191", +"1 c #5C5C5C", +"2 c #616161", +"3 c #A1A1A1", +"4 c #252525", +"5 c #5E5E5E", +"6 c #7C7C7C", +"7 c #757575", +"8 c #7A7A7A", +"9 c #909090", +"0 c #949494", +"a c #232323", +"b c #B1B1B1", +"c c #BFBFBF", +"d c #C7C7C7", +"e c #C0C0C0", +"f c #5A5A5A", +"g c #383838", +"h c #636363", +"i c #818181", +"j c #7B7B7B", +"k c #7D7D7D", +"l c #1D1D1D", +"m c #171717", +"n c #323232", +"o c #2A2A2A", +"p c #646464", +"q c #4D4D4D", +"r c #9A9A9A", +"s c #8B8B8B", +"t c #606060", +"u c #5B5B5B", +"v c #242424", +"w c #222222", +"x c #111111", +"y c #B3B3B3", +"z c #4C4C4C", +"A c #707070", +"B c #575757", +"C c #8A8A8A", +"D c #898989", +"E c #6E6E6E", +"F c #484848", +"G c #434343", +"H c #141414", +"I c #555555", +"J c #A3A3A3", +"K c #CECECE", +"L c #CACACA", +"M c #C2C2C2", +"N c #B0B0B0", +"O c #A0A0A0", +"P c #979797", +"Q c #8C8C8C", +"R c #5F5F5F", +"S c #444444", +"T c #121212", +"U c #303030", +"V c #2D2D2D", +"W c #333333", +"X c #969696", +"Y c #C4C4C4", +"Z c #B4B4B4", +"` c #A4A4A4", +" . c #9B9B9B", +".. c #929292", +"+. c #727272", +"@. c #545454", +"#. c #202020", +"$. c #B2B2B2", +"%. c #393939", +"&. c #666666", +"*. c #676767", +"=. c #6A6A6A", +"-. c #9C9C9C", +";. c #ABABAB", +">. c #A8A8A8", +",. c #A2A2A2", +"'. c #424242", +"). c #3F3F3F", +"!. c #3E3E3E", +"~. c #313131", +"{. c #292929", +"]. c #0F0F0F", +"^. c #212121", +"/. c #A7A7A7", +"(. c #AAAAAA", +"_. c #808080", +":. c #4F4F4F", +"<. c #272727", +"[. c #363636", +"}. c #B7B7B7", +"|. c #B5B5B5", +"1. c #848484", +"2. c #6B6B6B", +"3. c #525252", +"4. c #080808", +"5. c #191919", +"6. c #3A3A3A", +"7. c #1F1F1F", +"8. c #656565", +"9. c #A5A5A5", +"0. c #C9C9C9", +"a. c #CBCBCB", +"b. c #747474", +"c. c #3C3C3C", +"d. c #414141", +"e. c #2B2B2B", +"f. c #454545", +"g. c #C3C3C3", +"h. c #C6C6C6", +"i. c #ADADAD", +"j. c #A9A9A9", +"k. c #262626", +"l. c #767676", +"m. c #ACACAC", +"n. c #878787", +"o. c #4A4A4A", +"p. c #353535", +"q. c #0D0D0D", +"r. c #686868", +"s. c #9D9D9D", +"t. c #868686", +"u. c #070707", +"v. c #797979", +"w. c #B9B9B9", +"x. c #6F6F6F", +"y. c #777777", +"z. c #0E0E0E", +"A. c #151515", +"B. c #838383", +"C. c #9E9E9E", +"D. c #565656", +"E. c #494949", +"F. c #585858", +"G. c #8F8F8F", +"H. c #2C2C2C", +"I. c #1C1C1C", +"J. c #060606", +"K. c #515151", +"L. c #A6A6A6", +"M. c #BDBDBD", +" . + @ @ @ @ @ # ", +" $ % & * = - ; > , ' ) ! ", +" ~ { ] ^ / ( ( _ : < : [ } | : ", +" 1 2 3 < 1 4 5 6 , 7 8 ' 9 0 , = ", +" a 7 b c d e f g h } ' i j k _ l m n o p ", +" q r s f t > u @ @ @ @ v 5 - 6 - h ; - @ @ w ", +" < @ x y 7 @ @ z : : A { B C . 9 0 9 D E F G x ", +" 5 H I J K L M N O P 9 } Q Q 9 } [ > R f { S ", +" T U V v W X Y K L M Z ` .P ..| Q } C ) +.B ( @.W ", +" F #.S ' $.# %.I &.*.=.-.;.>.,.-.| _ { ^ S '.).!.!.@. ", +" ~.{.].# ^.x ( 7 5 > /.(.` .8 _.:.!.s ", +" <.@ [. @ f p < }.M |.1.u 2.p @ @ @ 3.+ 4.5. ", +" 6.7.l 8.9.M 0.a.M N b.c.@ @ @ @ d. &.e. ", +" 1 ].f.= e.: Z g.h.L M |.i.>.j.X 8./ H ", +" q B -. 3.E R 1 < k.b.G l.i.m.i.n.5. o.p. ", +" [ - ^ k.h q.[ ] - r._./.s.1.t.- 2.B l ]. ", +" u.v.4.z / D Y w.x.:.& [.8 1.k , S !.!. ", +" q <.%.:.y.b h.| ; z.q. ", +" !.A.!.C ^ k.' e t.I -.|., ", +" 4.~.B.: &.t t C.9.6 / { q ", +" D. - E.v F.D B.=.a i. ", +" *.1 p.G. ", +" # D.1.o.u t #. ", +" z.I ( } >.- _ 5 2. ", +"! ` *.&.^ f. Y ", +"H. h , /.b.). I.J.U ", +"[. t.Q : >.f. z. ", +" A 4. I z. ", +" p. a G e. ", +" ^ < K.u L. ", +" '. A M. ", +" X u . "}; --- bittornado-0.3.18.orig/debian/btlaunchmany.bittornado.sgml +++ bittornado-0.3.18/debian/btlaunchmany.bittornado.sgml @@ -0,0 +1,117 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btlaunchmany.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + launch multiple torrent downloads, using a text interface + + + + &dhpackage; directory + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program that eases the use of managing multiple torrent downloads. + The program checks the provided directory for torrent + files. When it finds any, it starts a separate downloader thread for each torrent file. + + Unlike btlaunchmanycurses, + this program does not require a terminal to stay alive. + + + + OPTIONS + + This program uses the same common options as the other bittorrent downloaders, which are documented in + bittorrent-downloader1. + + This program also uses some options specific to multiple-torrent downloaders, which are documented in + bittorrent-multi-downloader1. + + + + SEE ALSO + + bittorrent-downloader1, + bittorrent-multi-downloader1, + btlaunchmanycurses1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bttrack.bittornado.sgml +++ bittornado-0.3.18/debian/bttrack.bittornado.sgml @@ -0,0 +1,375 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + bttrack.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + bittorrent tracker + + + + + &dhpackage; + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a "tracker" for bittorrent clients. This program keeps track + of the completion of each client, and communicates that information when + requested to other clients. + + There is one required option, --dfile, which specifies what file to store the recent downloader information. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). A summary of + options is included below. + + + + + + the file to store the recent downloader information (required) + + + + + + the port to listen on (defaults to 80) + + + + + + a comma-separated list of ips and hostnames to bind to locally (defaults to '') + + + + 0|1 + + whether to allow the tracker to connect to peers via IPv6 (defaults to 0) + + + + 0|1 + + whether an IPv6 server socket will also field IPv4 connections (defaults to 0) + + + + + + then number of seconds to use as a timeout for closing connections (defaults to 15) + + + + + + the number of seconds between saving the dfile (defaults to 300) + + + + + + the number of seconds between expiring downloaders (defaults to 2700) + + + + + + the number of seconds downloaders should wait between reannouncements + (defaults to 1800) + + + + + + the num of peers to send in an info message (defaults to 50) + + + + + + the number of seconds to wait between checking if any connections have timed out + (defaults to 5) + + + + + + check num times if a downloader is behind a NAT (0 = don't + check) (defaults to 3) + + + + 0|1 + + whether to add entries to the log for nat-check results (defaults to 0) + + + + + + the minimum number of seconds it must have been since the last flush to do another one + (defaults to 3.0) + + + + + + the minimum number of seconds before a cache is considered stale and is + flushed (defaults to 600.0) + + + + + + only allow downloads for torrents in this directory (defaults to '') + + + + + + only allow downloads for hashes in this file (hex format, one per + line), cannot be used with allowed_dir (defaults to '') + + + + 0|1 + + whether to allow special keys in torrents in the allowed_dir to affect tracker + access (defaults to 0) + + + + 0|1 + + whether to enable multitracker operation (defaults to 0) + + + + autodetect|none|all + + whether to allow incoming tracker announces (can be none, autodetect + or all) (defaults to 'autodetect') + + + + + + number of seconds between outgoing tracker announces (defaults to 120) + + + + + + the num of peers to get in a tracker announce (defaults to 20) + + + + + + if set, forwards all non-multitracker to + this url with this optional password (defaults to '') + + + + 0|1|password + + whether to act as a data aggregator rather than a tracker. If + enabled, may be 1, or password; if password is set, then an + incoming password is required for access (defaults to '0') + + + + 0|1 + + whether to reopen the log file upon receipt of HUP signal (defaults to 0) + + + + + + number of seconds to wait before assuming that an http connection has + timed out (defaults to 60) + + + + + + number of seconds between reloading of allowed_dir (defaults to 60) + + + + 0|1 + + whether to display an info page when the tracker's root dir is loaded + (defaults to 1) + + + + + + redirect the info page to this URL (defaults to '') + + + + 0|1 + + whether to display names from allowed dir (defaults to 1) + + + + + + the filename containing x-icon data to return when browser requests + favicon.ico (defaults to '') + + + + + + only allow connections from IPs specified in the given file, which + contains subnet data in the format: aa.bb.cc.dd/len (defaults to '') + + + + + + don't allow connections from IPs specified in the given file, which + contains IP range data in the format: xxx:xxx:ip1-ip2 (defaults to '') + + + + 0|1|2 + + ignore the ip GET parameter from machines which aren't on local + network IPs (0 = never, 1 = always, 2 = ignore if NAT checking is not + enabled) (defaults to 2) + + + + + + write tracker logs to this file, use '-' for stdout (defaults to '-') + + + + 0|1 + + use with allowed_dir; adds a /file?hash=hash URL that allows users + to download the torrent file (defaults to 0) + + + + 0|1 + + keep dead torrents after they expire (so they still show up on your + /scrape and web page) (defaults to 0) + + + + full|specific|none + + scrape access allowed (can be none, specific or full) (defaults to full) + + + + + + the code to require from clients to indicate that they are + dedicated seeders. This allows the tracker to monitor dedicated seed(s) and flag torrents as + seeded. (defaults to '') + + + + + + + SEE ALSO + + bittorrent-downloader1, + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado-gui.menu +++ bittornado-0.3.18/debian/bittornado-gui.menu @@ -0,0 +1,6 @@ +?package(bittornado-gui):needs="X11"\ + section="Applications/Network/File Transfer"\ + icon="/usr/share/pixmaps/bittornado.xpm"\ + title="BitTornado Client"\ + command="/usr/bin/btdownloadgui.bittornado"\ + hints="Internet" --- bittornado-0.3.18.orig/debian/btdownloadcurses.bittornado.sgml +++ bittornado-0.3.18/debian/btdownloadcurses.bittornado.sgml @@ -0,0 +1,116 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btdownloadcurses.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + curses bittornado download interface + + + + &dhpackage; URL + + + &dhpackage; filename + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a curses interface to download torrents. + + &dhpackage; will open a provided torrent URL or + file and download it until complete. It will then seed (upload) the torrent until it is stopped. + + + + OPTIONS + + This program uses the same common options as the other bittorrent downloaders, which are documented in + bittorrent-downloader1. + + + + + SEE ALSO + + bittorrent-downloader1, + btdownloadgui1, + btdownloadheadless1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado.mime +++ bittornado-0.3.18/debian/bittornado.mime @@ -0,0 +1,2 @@ +application/x-bittorrent; /usr/bin/btdownloadgui --responsefile %s; test=test -n "$DISPLAY" +application/x-bittorrent; /usr/bin/btdownloadcurses --responsefile %s; test=test -z "$DISPLAY"; needsterminal --- bittornado-0.3.18.orig/debian/bittornado-gui.prerm +++ bittornado-0.3.18/debian/bittornado-gui.prerm @@ -0,0 +1,48 @@ +#! /bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +PACKAGE="bittornado" + +dpkg --listfiles $PACKAGE | + awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | + xargs rm -f >&2 + + + +case "$1" in + remove|upgrade|deconfigure) + for i in btcompletedirgui btdownloadgui ; do + update-alternatives --remove $i /usr/bin/$i.bittornado + done + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bittornado-0.3.18.orig/debian/copyright +++ bittornado-0.3.18/debian/copyright @@ -0,0 +1,30 @@ +This was turned into a debian package by Micah Anderson +on Sat May 8 22:13:09 UTC 2004. + +The upstream source was obtained from http://bittornado.com/download.html +and was written by theshadow@degreez.net. + +Unless otherwise noted, all files are released under the MIT +license, exceptions contain licensing information in them. + +Copyright (C) 2001-2002 Bram Cohen + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +The Software is provided "AS IS", without warranty of any kind, +express or implied, including but not limited to the warranties of +merchantability, fitness for a particular purpose and +noninfringement. In no event shall the authors or copyright holders +be liable for any claim, damages or other liability, whether in an +action of contract, tort or otherwise, arising from, out of or in +connection with the Software or the use or other dealings in the +Software. --- bittornado-0.3.18.orig/debian/bittorrent-downloader.bittornado.sgml +++ bittornado-0.3.18/debian/bittorrent-downloader.bittornado.sgml @@ -0,0 +1,545 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + bittorrent-downloader.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + download files using a scatter-gather network + + + + btdownloadheadless URL + + + btdownloadheadless filename + + + btdownloadcurses URL + + + btdownloadcurses filename + + + btdownloadgui URL + + + btdownloadgui filename + + + btlaunchmany directory + + + btlaunchmanycurses directory + + + + DESCRIPTION + + This manual page documents briefly the options available to the &dhpackage; commands. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + btdownloadheadless, btdownloadcurses, btdownloadgui, + btlaunchmany, and btlaunchmanycurses are all programs that allow a user to download files using + bittorrent, a peer to peer, scatter-gather network protocol. They all share a common set of options, shown below. For + more information on how to run them, and their program-specific options, see their individual man pages. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). A summary of + options is included below. + + + + + + the maximum number of uploads to allow at once (defaults to 7) + + + + + + the number of seconds to pause between sending keepalives (defaults to 120.0) + + + + + + the number of bytes to query for per request (defaults to 16384) + + + + + + when limiting the upload rate, the number of bytes to send at a time (defaults to 1460) + + + + + + the maximum number of requests to keep in a single pipe at once (defaults to 10) + + + + + + the maximum length prefix encoding you'll accept over the wire. + Larger values will get the connection dropped. (defaults to 8388608) + + + + + + the ip to report you have to the tracker (defaults to '') + + + + + + the minimum port to listen on (defaults to 10000) + + + + + + the maximum port to listen on (defaults to 60000) + + + + 0|1 + + whether to choose randomly inside the port range (instead of counting up linearly from min to max) (defaults to 1) + + + + + + the file the server response was stored in, as an alternative to --url. If this option is used, + no filename or URL should be present on the command line. (defaults to '') + + + + + + the URL to get the torrent file from, as an alternative to --responsefile. If this option is used, + no filename or URL should be present on the command line. (defaults to '') + + + + 0|1 + + whether to allow the client to accept encrypted connections. (defaults to 0) + + + + 0|1 + + whether to only create or allow encrypted connections. (defaults to 0) + + + + 0|1 + + whether to prevent all non-encrypted connection attempts; will result + in an effectively firewalled state on older trackers. (defaults to 0) + + + + 0|1 + + whether to enable the file selector and fast resume function (defaults to 1) + + + + + + the number of days after which you wish to expire old cache data (0 = disabled) (defaults to 10) + + + + -1|0|1|2[,-1|0|1|2 ...] + + a list of file priorities, separated by commas. There must be one per file. 0 = highest, + 1 = normal, 2 = lowest, -1 = download disabled. Order is based + on the file/torrent order as shown by btshowmetainfo. For example, to download only + the third of four files use: --priority -1,-1,2,-1 (defaults to '') + + + + + + the local filename to save the file as, null indicates query user (defaults to '') + + + + + + the number of seconds to wait between closing sockets which nothing has been received on + (defaults to 300.0) + + + + + + the number of seconds to wait between checking if any connections have timed out (defaults to 60.0) + + + + + + the maximum length slice to send to peers, larger requests are ignored (defaults to 131072) + + + + + + the maximum number of seconds to use in guessing what the current rate estimate represents (defaults to 20.0) + + + + + + a comma-separated list of ips and hostnames to bind to locally (defaults to '') + + + + 0|1 + + whether to allow the client to connect to peers via IPv6 (defaults to 0) + + + + 0|1 + + set if an IPv6 server socket won't also field IPv4 connections (defaults to 0) + + + + 0|1|2 + + attempt to autoconfigure a UPnP router to forward a server port (0 = disabled, 1 = mode 1 + [fast], 2 = mode 2 [slow]) (defaults to 1) + + + + + + the time equivalent in seconds of writing to kernel-level TCP buffer, for rate adjustment (defaults to + 5.0) + + + + + + how much TCP ACK download overhead to add to upload rate calculations (0 = disabled) + (defaults to 0.029999999999999999) + + + + + + the number of seconds between updates of displayed information (defaults to 0.5) + + + + + + the number of seconds between requesting more peers (defaults to 300) + + + + + + make tracker requests every --rerequest_interval until this number has been reached, then switch to the standard longer interval (defaults to 20) + + + + + + the number of seconds to wait before assuming that an http connection + has timed out (defaults to 60) + + + + + + the number of peers at which to stop initiating new connections (defaults to 40) + + + + 0|1 + + whether to check hashes on disk (defaults to 1) + + + + + + the maximum kB/s to upload at (0 = no limit, -1 = automatic) (defaults to 0) + + + + + + the maximum kB/s to download at (0 = no limit) (defaults to 0) + + + + normal|background|pre-allocate|sparse + + the allocation type (may be 'normal', 'background', 'pre-allocate' or 'sparse') (defaults to 'normal') + + + + + + the rate (in MiB/s) to allocate space at using background allocation (defaults to 2.0) + + + + 0|1 + + whether to buffer disk reads (defaults to 1) + + + + + + the maximum amount of space to use for buffering disk writes (in megabytes, 0 = disabled) + (defaults to 4) + + + + 0|1 + + whether to send an incomplete bitfield and then 'have' messages, in + order to get around stupid ISP manipulation (defaults to 1) + + + + + + the number of seconds to wait for data to come in over a connection before assuming it's + semi-permanently choked (defaults to 30.0) + + + + 0|1 + + whether to display diagnostic info to stdout. This option is not very useful when using the curses or gui interfaces. (defaults to 0) + + + + + + the number of downloads at which to switch from random to rarest first (defaults to 2) + + + + + + the number of peers which need to have a piece before other partials take priority over + rarest first (defaults to 5) + + + + + + the number of uploads to fill out to with extra optimistic unchokes (defaults to 4) + + + + + + the maximum number of files to keep open at a time, 0 means no limit (defaults to 50) + + + + + + the number of seconds between the client switching upload targets (defaults to 30) + + + + 0|1 + + whether to use special upload-efficiency-maximizing routines (only for dedicated seeds) + (defaults to 0) + + + + 0|1 + + whether to enable extra security features intended to prevent abuse (defaults to 1) + + + + + + the absolute maximum number of peers to connect with (0 = no limit) (defaults to 0) + + + + 0|1 + + whether to allow the client to automatically kick/ban peers that send bad data (defaults to 1) + + + + 0|1 + + whether to double-check data being written to the disk for errors (may increase CPU load) + (defaults to 1) + + + + 0|1 + + whether to thoroughly check data being written to the disk (may slow disk access) + (defaults to 0) + + + + 0|1 + + whether to lock files the client is working with (defaults to 1) + + + + 0|1 + + whether to lock access to files being read (defaults to 0) + + + + + + the number of minutes between automatic flushes to disk (0 = disabled) (defaults to 0) + + + + + + the code to send to a tracker, identifying as a dedicated seed (defaults to '') + + + + 0|1 + + whether to save the current options as the new default configuration + for the current program (defaults to 0) + + + + + + + SEE ALSO + + The single torrent downloaders: + btdownloadheadless1, + btdownloadcurses1, + btdownloadgui1. + + + The multiple torrent downloaders: + bittorrent-multi-downloader1, + btlaunchmany1, + btlaunchmanycurses1. + + + The bittorrent tracker: + bttrack1. + + + The torrent file creators: + btmakemetafile1, + btmaketorrentgui1, + btcompletedir1, + btcompletedirgui1. + + + The torrent file modifiers: + btcopyannounce1, + btreannounce1, + btrename1, + btsethttpseeds1. + + + The torrent file displayer: + btshowmetainfo1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/bittornado.postinst +++ bittornado-0.3.18/debian/bittornado.postinst @@ -0,0 +1,64 @@ +#! /bin/sh +# postinst script for bittorrent +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + + # Run the mimetypes program to add mimetypes into Netscape. + if [ -e /etc/init.d/mimetypes ]; then + /etc/init.d/mimetypes + fi + + for i in btcompletedir btdownloadcurses btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack ; do + update-alternatives \ + --install /usr/bin/$i $i /usr/bin/$i.bittornado 120 \ + --slave /usr/share/man/man1/$i.1.gz $i.1.gz /usr/share/man/man1/$i.bittornado.1.gz + done + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack ; do + update-alternatives \ + --install /usr/bin/$i $i /usr/bin/$i.bittornado 120 \ + --slave /usr/share/man/man1/$i.1.gz $i.1.gz /usr/share/man/man1/$i.bittornado.1.gz + done + + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bittornado-0.3.18.orig/debian/btmakemetafile.bittornado.sgml +++ bittornado-0.3.18/debian/btmakemetafile.bittornado.sgml @@ -0,0 +1,209 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btmakemetafile.bittornado"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + generates torrent meta-info files for use with bittorrent + + + + &dhpackage; + + trackerURL + file|directory + file|directory + + + + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a program that is used to generate the torrent info files + that are distributed to bittorrent clients (usually over http) to inform them + of where the designated tracker for the torrent is located, and to enable them + to verify the file's contents. + + &dhpackage; requires two arguments. The first is the trackerURL which is the + "announce" address of a tracker (ex. http://127.0.0.1:6969/announce), the second is the + file or directory of files that are to be included in to torrent. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`--'). A summary of + options is included below. + + + + + + set the piece size to this power of 2 (0 = automatic) (defaults + to 0) + + + + + + optional human-readable comment to put in the torrent file (defaults to '') + + + + + + optional target file for the torrent (defaults to '') + + + + + + an optional encoding specification for the filesystem (set automatically in + recent Python versions) (defaults to '') + + + + + + a list of http seed URLs. These alternate URLs will be used to seed + the file if there are no other seeds available. The format of seedURLlist is as follows: + + URL[|URL ...] + + (defaults to '') + + + + + + a list of announce URLs. This is an optional list + of redundant/backup tracker URLs. The format of announceURLlist is as follows: + + URL[,URL ...][|URL[,URL ...] ...] + + where the URLs separated by commas are tried randomly, then the + groups of URLs separated by pipes are tried in sequential order. + If this option is omitted, it is assumed you don't want an announce_list field in the metafile. + If announce_list is given, clients which support it + will ignore the trackerURL value. (defaults to '') + + + + + + EXAMPLES + + These examples show how to use the --announce_list option in a few scenarios. + + Try the three trackers (1-3) in sequential order: + + + &dhpackage; trackerURL file --announce_list http://track1.com|http://track2.com|http://track3.com + + + Try the three trackers (1-3) in a randomly selected order: + + + &dhpackage; trackerURL file --announce_list http://track1.com,http://track2.com,http://track3.com + + + Try the main tracker (1) first, then try the two backups (2 and 3) randomly: + + + &dhpackage; trackerURL file --announce_list http://track1.com|http://track2.com,http://track3.com + + + + + + SEE ALSO + + btcompletedir1, + btcompletedirgui1, + btmaketorrentgui1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/postrm +++ bittornado-0.3.18/debian/postrm @@ -0,0 +1,41 @@ +#! /bin/sh +# postrm script for bittorrent +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + # Run the mimetypes program to add mimetypes into Netscape. + if [ -e /etc/init.d/mimetypes ] ; then + /etc/init.d/mimetypes + fi + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bittornado-0.3.18.orig/debian/patches/11_sorthashcheck.dpatch +++ bittornado-0.3.18/debian/patches/11_sorthashcheck.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_sorthashcheck.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad bittornado~/BitTornado/launchmanycore.py bittornado/BitTornado/launchmanycore.py +--- bittornado~/BitTornado/launchmanycore.py 2006-10-27 16:51:19.000000000 -0700 ++++ bittornado/BitTornado/launchmanycore.py 2006-10-27 16:51:20.000000000 -0700 +@@ -354,6 +354,7 @@ + def hashchecksched(self, hash = None): + if hash: + self.hashcheck_queue.append(hash) ++ self.hashcheck_queue.sort(lambda x, y: cmp(self.downloads[x].d.datalength, self.downloads[y].d.datalength)) + if not self.hashcheck_current: + self._hashcheck_start() + --- bittornado-0.3.18.orig/debian/patches/20_tracker_cache_minor_fix.dpatch +++ bittornado-0.3.18/debian/patches/20_tracker_cache_minor_fix.dpatch @@ -0,0 +1,45 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_tracker_cache_minor_fix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a minor bug in the tracker's new cache structure. +## DP: Fix is taken from upstream CVS. + +@DPATCH@ +diff -urNad bittornado~/BitTornado/BT1/track.py bittornado/BitTornado/BT1/track.py +--- bittornado~/BitTornado/BT1/track.py 2007-09-17 19:53:46.000000000 -0700 ++++ bittornado/BitTornado/BT1/track.py 2007-09-17 19:54:49.000000000 -0700 +@@ -688,15 +688,19 @@ + self.seedcount[infohash] += 1 + if not peer.get('nat', -1): + for bc in self.becache[infohash]: +- bc[1][myid] = bc[0][myid] +- del bc[0][myid] ++ x = bc[0].get(myid) ++ if x: ++ bc[1][myid] = x ++ del bc[0][myid] + elif left and not peer['left']: + self.completed[infohash] -= 1 + self.seedcount[infohash] -= 1 + if not peer.get('nat', -1): + for bc in self.becache[infohash]: +- bc[0][myid] = bc[1][myid] +- del bc[1][myid] ++ x = bc[1].get(myid) ++ if x: ++ bc[0][myid] = x ++ del bc[1][myid] + peer['left'] = left + + if port: +@@ -717,7 +721,8 @@ + l = self.becache[infohash] + y = not peer['left'] + for x in l: +- del x[y][myid] ++ if x[y].has_key(myid): ++ del x[y][myid] + if natted >= 0: + del peer['nat'] # restart NAT testing + if natted and natted < self.natcheck: --- bittornado-0.3.18.orig/debian/patches/06_README_portchange.dpatch +++ bittornado-0.3.18/debian/patches/06_README_portchange.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_README_portchange.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad bittornado/README.txt /tmp/dpep.wFYAAA/bittornado/README.txt +--- bittornado/README.txt 2005-01-19 01:40:36.000000000 -0600 ++++ /tmp/dpep.wFYAAA/bittornado/README.txt 2005-04-06 21:00:35.231640752 -0500 +@@ -87,9 +87,9 @@ + the tracker, give a --ip parameter to the complete downloader. The --ip + parameter can be either an IP address or DNS name. + +-BitTorrent defaults to port 6881. If it can't use 6881, (probably because +-another download is happening) it tries 6882, then 6883, etc. It gives up +-after 6889. ++BitTorrent defaults to port 10000. If it can't use 10000, (probably because ++another download is happening) it tries 10002, then 10003, etc. It gives up ++after 60000. + + 7) you're done! + --- bittornado-0.3.18.orig/debian/patches/19_fix_tracker_return_all.dpatch +++ bittornado-0.3.18/debian/patches/19_fix_tracker_return_all.dpatch @@ -0,0 +1,59 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 19_fix_tracker_return_all.dpatch by Cameron Dale +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Stop the tracker from returning all torrents' peers in every request. + +@DPATCH@ +diff -urNad bittornado~/BitTornado/BT1/track.py bittornado/BitTornado/BT1/track.py +--- bittornado~/BitTornado/BT1/track.py 2007-08-18 16:20:37.000000000 -0700 ++++ bittornado/BitTornado/BT1/track.py 2007-08-18 16:20:38.000000000 -0700 +@@ -267,10 +267,9 @@ + l4,l4 = [ip,port] nopeerid + ''' + if config['compact_reqd']: +- x = 3 ++ self.cache_default_len = 3 + else: +- x = 5 +- self.cache_default = [({},{}) for i in xrange(x)] ++ self.cache_default_len = 5 + for infohash, ds in self.downloads.items(): + self.seedcount[infohash] = 0 + for x,y in ds.items(): +@@ -590,6 +589,8 @@ + + return None + ++ def cache_default(self): ++ return [({},{}) for i in xrange(self.cache_default_len)] + + def add_data(self, infohash, event, ip, paramslist): + peers = self.downloads.setdefault(infohash, {}) +@@ -751,7 +752,7 @@ + cache = self.cached_t.setdefault(infohash, None) + if ( not cache or len(cache[1]) < rsize + or cache[0] + self.config['min_time_between_cache_refreshes'] < clock() ): +- bc = self.becache.setdefault(infohash,self.cache_default) ++ bc = self.becache.setdefault(infohash,self.cache_default()) + cache = [ clock(), bc[0][0].values() + bc[0][1].values() ] + self.cached_t[infohash] = cache + shuffle(cache[1]) +@@ -766,7 +767,7 @@ + data['peers'] = [] + return data + +- bc = self.becache.setdefault(infohash,self.cache_default) ++ bc = self.becache.setdefault(infohash,self.cache_default()) + len_l = len(bc[2][0]) + len_s = len(bc[2][1]) + if not (len_l+len_s): # caches are empty! +@@ -958,7 +959,7 @@ + + def natcheckOK(self, infohash, peerid, ip, port, peer): + seed = not peer['left'] +- bc = self.becache.setdefault(infohash,self.cache_default) ++ bc = self.becache.setdefault(infohash,self.cache_default()) + cp = compact_peer_info(ip, port) + reqc = peer['requirecrypto'] + bc[2][seed][peerid] = (cp,chr(reqc)) --- bittornado-0.3.18.orig/debian/patches/12_make_guis_use_2.4.dpatch +++ bittornado-0.3.18/debian/patches/12_make_guis_use_2.4.dpatch @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 12_make_guis_use_2.4.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change 2 guis to use wxPython 2.4, as they don't seem to work with 2.6. + +@DPATCH@ +diff -urNad trunk~/btcompletedirgui.py trunk/btcompletedirgui.py +--- trunk~/btcompletedirgui.py 2006-04-17 16:55:34.000000000 -0700 ++++ trunk/btcompletedirgui.py 2006-04-17 16:56:31.000000000 -0700 +@@ -19,6 +19,14 @@ + import sys + from os import getcwd + from os.path import join ++ ++try: ++ import wxversion ++ wxversion.select('2.4') ++except: ++ print 'This program requires wxPython version 2.4 (python-wxgtk2.4 in Debian) be installed in order to run.' ++ sys.exit(1) ++ + try: + from wxPython.wx import * + except: +diff -urNad trunk~/btmaketorrentgui.py trunk/btmaketorrentgui.py +--- trunk~/btmaketorrentgui.py 2006-04-17 16:55:34.000000000 -0700 ++++ trunk/btmaketorrentgui.py 2006-04-17 16:56:31.000000000 -0700 +@@ -21,6 +21,14 @@ + import sys + from os import getcwd + from os.path import join, isdir ++ ++try: ++ import wxversion ++ wxversion.select('2.4') ++except: ++ print 'This program requires wxPython version 2.4 (python-wxgtk2.4 in Debian) be installed in order to run.' ++ sys.exit(1) ++ + try: + from wxPython.wx import * + except: --- bittornado-0.3.18.orig/debian/patches/10_removeCVScrud.dpatch +++ bittornado-0.3.18/debian/patches/10_removeCVScrud.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 09_removeCVScrud.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./BitTornado/BT1/.cvsignore /tmp/dpep-work.zPyGia/bittornado/BitTornado/BT1/.cvsignore +--- ./BitTornado/BT1/.cvsignore 2005-01-19 02:40:35.000000000 -0500 ++++ /tmp/dpep-work.zPyGia/bittornado/BitTornado/BT1/.cvsignore 1969-12-31 19:00:00.000000000 -0500 +@@ -1,4 +0,0 @@ +-statefile +-*.pyc +-*.old +-*.newCopy of IntraStorage.py +diff -urNad --exclude=CVS --exclude=.svn ./BitTornado/.cvsignore /tmp/dpep-work.zPyGia/bittornado/BitTornado/.cvsignore +--- ./BitTornado/.cvsignore 2005-01-19 02:40:35.000000000 -0500 ++++ /tmp/dpep-work.zPyGia/bittornado/BitTornado/.cvsignore 1969-12-31 19:00:00.000000000 -0500 +@@ -1,4 +0,0 @@ +-statefile +-*.pyc +-*.old +-*.new +\ No newline at end of file +diff -urNad --exclude=CVS --exclude=.svn ./.cvsignore /tmp/dpep-work.zPyGia/bittornado/.cvsignore +--- ./.cvsignore 2005-01-21 11:05:44.000000000 -0500 ++++ /tmp/dpep-work.zPyGia/bittornado/.cvsignore 1969-12-31 19:00:00.000000000 -0500 +@@ -1,4 +0,0 @@ +-statefile +-*.pyc +-*.old +-*.new +\ No newline at end of file --- bittornado-0.3.18.orig/debian/patches/02_btdownloadcurses_increase_significant_digit.dpatch +++ bittornado-0.3.18/debian/patches/02_btdownloadcurses_increase_significant_digit.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_btdownloadcurses_increase_significant_digit.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad bittornado-0.3.7/btdownloadcurses.py /tmp/dpep.aQtUPa/bittornado-0.3.7/btdownloadcurses.py +--- bittornado-0.3.7/btdownloadcurses.py 2004-11-18 21:42:37.000000000 -0600 ++++ /tmp/dpep.aQtUPa/bittornado-0.3.7/btdownloadcurses.py 2004-11-18 21:42:47.000000000 -0600 +@@ -79,7 +79,7 @@ + i += 1 + n >>= 10 + n = float(n) / (1 << 10) +- size = '%s (%.0f %s)' % (size, n, unit[i]) ++ size = '%s (%.2f %s)' % (size, n, unit[i]) + return size + + --- bittornado-0.3.18.orig/debian/patches/03_btlaunchmanycurses.py_transpose_transfer_totals.dpatch +++ bittornado-0.3.18/debian/patches/03_btlaunchmanycurses.py_transpose_transfer_totals.dpatch @@ -0,0 +1,59 @@ +#! /bin/sh -e +## 03_btlaunchmanycurses.py_transpose_transfer_totals.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Transposes the order in which transfer totals are presented in +## btlaunchmanycurses so that they correspond with the ordering used for +## data rates, making it easier to scan as the column headings are no +## longer misleading + +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 trunk~/BitTornado/launchmanycore.py trunk/BitTornado/launchmanycore.py +--- trunk~/BitTornado/launchmanycore.py 2006-03-30 14:26:45.000000000 -0800 ++++ trunk/BitTornado/launchmanycore.py 2006-03-30 14:31:14.000000000 -0800 +@@ -287,7 +287,7 @@ + msg = '' + + data.append(( name, status, progress, peers, seeds, seedsmsg, dist, +- uprate, dnrate, upamt, dnamt, size, t, msg )) ++ uprate, dnrate, dnamt, upamt, size, t, msg )) + stop = self.Output.display(data) + if stop: + self.doneflag.set() +diff -urNad trunk~/btlaunchmanycurses.py trunk/btlaunchmanycurses.py +--- trunk~/btlaunchmanycurses.py 2006-03-30 14:26:45.000000000 -0800 ++++ trunk/btlaunchmanycurses.py 2006-03-30 14:31:14.000000000 -0800 +@@ -205,7 +205,7 @@ + line = "%3d %s%s%s%s" % (ii+1, name, size, dnrate, uprate) + self._display_line(line, True) + if peers + seeds: +- datastr = ' (%s) %s - %s peers %s seeds %.3f dist copies - %s up %s dn' % ( ++ datastr = ' (%s) %s - %s peers %s seeds %.3f dist copies - %s dn %s up' % ( + progress, status, peers, seeds, dist, + fmtsize(upamt), fmtsize(dnamt) ) + else: +@@ -314,4 +314,4 @@ + if Exceptions: + print '\nEXCEPTION:' + print Exceptions[0] +- print 'please report this to '+report_email +\ No newline at end of file ++ print 'please report this to '+report_email --- bittornado-0.3.18.orig/debian/patches/05_bttrack_connerr_fix.dpatch +++ bittornado-0.3.18/debian/patches/05_bttrack_connerr_fix.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_bttrack_connerr_fix.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Connections to bttrack fail (log shows AttributeError stack trace) +## DP: http://forums.degreez.net/viewtopic.php?t=3848 +## DP: Bug#294803 + +@DPATCH@ +diff -urNad trunk~/BitTornado/BT1/track.py trunk/BitTornado/BT1/track.py +--- trunk~/BitTornado/BT1/track.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/BT1/track.py 2007-01-04 14:24:46.000000000 -0800 +@@ -190,7 +190,7 @@ + + def get_forwarded_ip(headers): + x = _get_forwarded_ip(headers) +- if not is_valid_ip(x) or local_IPs.includes(x): ++ if x is None or not is_valid_ip(x) or local_IPs.includes(x): + return None + return x + --- bittornado-0.3.18.orig/debian/patches/12_fix_guis_for_2.6.dpatch +++ bittornado-0.3.18/debian/patches/12_fix_guis_for_2.6.dpatch @@ -0,0 +1,76 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 12_make_guis_use_2.4.dpatch by Jérémy Bobbio +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix GUIs to work on python-wxgtk2.6. + +@DPATCH@ +diff -urNad bittornado~/btcompletedirgui.py bittornado/btcompletedirgui.py +--- bittornado~/btcompletedirgui.py 2006-10-08 17:49:47.000000000 -0700 ++++ bittornado/btcompletedirgui.py 2006-10-08 17:52:10.000000000 -0700 +@@ -58,7 +58,7 @@ + + b = wxBoxSizer(wxHORIZONTAL) + b.Add(self.dirCtl, 1, wxEXPAND) +-# b.Add(10, 10, 0, wxEXPAND) ++ b.Add((10, 10), 0, wxEXPAND) + button = wxButton(panel, -1, 'select') + b.Add(button, 0, wxEXPAND) + EVT_BUTTON(frame, button.GetId(), self.select) +@@ -80,7 +80,7 @@ + border = wxBoxSizer(wxVERTICAL) + border.Add(gridSizer, 0, wxEXPAND | wxNORTH | wxEAST | wxWEST, 25) + b2 = wxButton(panel, -1, 'make') +-# border.Add(10, 10, 1, wxEXPAND) ++ border.Add((10, 10), 1, wxEXPAND) + border.Add(b2, 0, wxALIGN_CENTER | wxSOUTH, 20) + EVT_BUTTON(frame, b2.GetId(), self.complete) + panel.SetSizer(border) +@@ -123,7 +123,7 @@ + gridSizer.Add(self.currentLabel, 0, wxEXPAND) + self.gauge = wxGauge(panel, -1, range = 1000, style = wxGA_SMOOTH) + gridSizer.Add(self.gauge, 0, wxEXPAND) +- gridSizer.Add(10, 10, 1, wxEXPAND) ++ gridSizer.Add((10, 10), 1, wxEXPAND) + self.button = wxButton(panel, -1, 'cancel') + gridSizer.Add(self.button, 0, wxALIGN_CENTER) + gridSizer.AddGrowableRow(2) +diff -urNad bittornado~/btmaketorrentgui.py bittornado/btmaketorrentgui.py +--- bittornado~/btmaketorrentgui.py 2006-10-08 17:52:05.000000000 -0700 ++++ bittornado/btmaketorrentgui.py 2006-10-08 17:53:07.000000000 -0700 +@@ -60,7 +60,7 @@ + b = wxBoxSizer(wxHORIZONTAL) + self.dirCtl = wxTextCtrl(panel, -1, '') + b.Add(self.dirCtl, 1, wxEXPAND) +-# b.Add(10, 10, 0, wxEXPAND) ++ b.Add((10, 10), 0, wxEXPAND) + + button = wxButton(panel, -1, 'dir', size = (30,20)) + EVT_BUTTON(frame, button.GetId(), self.selectdir) +@@ -124,14 +124,14 @@ + border = wxBoxSizer(wxVERTICAL) + border.Add(gridSizer, 0, wxEXPAND | wxNORTH | wxEAST | wxWEST, 25) + b2 = wxButton(panel, -1, 'make') +-# border.Add(10, 10, 1, wxEXPAND) ++ border.Add((10, 10), 1, wxEXPAND) + border.Add(b2, 0, wxALIGN_CENTER | wxSOUTH, 20) + EVT_BUTTON(frame, b2.GetId(), self.complete) + panel.SetSizer(border) + panel.SetAutoLayout(True) + +-# panel.DragAcceptFiles(True) +-# EVT_DROP_FILES(panel, self.selectdrop) ++ panel.DragAcceptFiles(True) ++ EVT_DROP_FILES(panel, self.selectdrop) + + def selectdir(self, x): + dl = wxDirDialog(self.frame, style = wxDD_DEFAULT_STYLE | wxDD_NEW_DIR_BUTTON) +@@ -139,7 +139,7 @@ + self.dirCtl.SetValue(dl.GetPath()) + + def selectfile(self, x): +- dl = wxFileDialog (self.frame, 'Choose file or directory to use', '', '', '', wxOPEN) ++ dl = wxFileDialog (self.frame, 'Choose file or directory to use', style = wxOPEN) + if dl.ShowModal() == wxID_OK: + self.dirCtl.SetValue(dl.GetPath()) + --- bittornado-0.3.18.orig/debian/patches/17_fix_NatCheck_bufferlen_error.dpatch +++ bittornado-0.3.18/debian/patches/17_fix_NatCheck_bufferlen_error.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 17_fix_NatCheck_bufferlen_error.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a syntax error, see http://forums.degreez.net/viewtopic.php?p=28164 + +@DPATCH@ +diff -urNad trunk~/BitTornado/BT1/NatCheck.py trunk/BitTornado/BT1/NatCheck.py +--- trunk~/BitTornado/BT1/NatCheck.py 2007-01-04 13:56:10.000000000 -0800 ++++ trunk/BitTornado/BT1/NatCheck.py 2007-01-08 16:46:09.000000000 -0800 +@@ -206,9 +206,6 @@ + self.next_len, self.next_func = x + if self.next_len < 0: # already checked buffer + return # wait for additional data +- if self.bufferlen is not None: +- self._read2('') +- return + + def connection_lost(self, connection): + if not self.closed: --- bittornado-0.3.18.orig/debian/patches/04_btlaunchmany.py_transpose_transfer_totals.dpatch +++ bittornado-0.3.18/debian/patches/04_btlaunchmany.py_transpose_transfer_totals.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## 04_btlaunchmany.py_transpose_transfer_totals.dpatch by +## +## 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 bittornado-0.3.7/btlaunchmany.py /tmp/dpep.gIk9Al/bittornado-0.3.7/btlaunchmany.py +--- bittornado-0.3.7/btlaunchmany.py 2004-11-18 21:44:13.000000000 -0600 ++++ /tmp/dpep.gIk9Al/bittornado-0.3.7/btlaunchmany.py 2004-11-18 21:44:58.000000000 -0600 +@@ -53,7 +53,7 @@ + self.message('no torrents') + for x in data: + ( name, status, progress, peers, seeds, seedsmsg, dist, +- uprate, dnrate, upamt, dnamt, size, t, msg ) = x ++ uprate, dnrate, dnamt, upamt, size, t, msg ) = x + print '"%s": "%s" (%s) - %sP%s%s%.3fD u%0.1fK/s-d%0.1fK/s u%dK-d%dK "%s"' % ( + name, status, progress, peers, seeds, seedsmsg, dist, + uprate/1000, dnrate/1000, upamt/1024, dnamt/1024, msg) --- bittornado-0.3.18.orig/debian/patches/15_fix_unicode_in_makemetafile.py.dpatch +++ bittornado-0.3.18/debian/patches/15_fix_unicode_in_makemetafile.py.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 14_fix_unicode_in_makemetafile.py.dpatch by Jérémy Bobbio +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Don't try to decode a string which is already unicode! + +@DPATCH@ +diff -urNad bittornado-0.3.15~/BitTornado/BT1/makemetafile.py bittornado-0.3.15/BitTornado/BT1/makemetafile.py +--- bittornado-0.3.15~/BitTornado/BT1/makemetafile.py 2005-01-04 03:49:28.000000000 +0100 ++++ bittornado-0.3.15/BitTornado/BT1/makemetafile.py 2006-10-09 00:22:44.942933750 +0200 +@@ -145,7 +145,8 @@ + + def uniconvert(s, e): + try: +- s = unicode(s,e) ++ if s.__class__.__name__ != 'unicode': ++ s = unicode(s,e) + except UnicodeError: + raise UnicodeError('bad filename: '+s) + return s.encode('utf-8') --- bittornado-0.3.18.orig/debian/patches/13_fix_btcompletedirgui_bug.dpatch +++ bittornado-0.3.18/debian/patches/13_fix_btcompletedirgui_bug.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_fix_btcompletedirgui_bug.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes a bug that caused the piece size to be way too big. + +@DPATCH@ +diff -urNad bittornado~/btcompletedirgui.py bittornado/btcompletedirgui.py +--- bittornado~/btcompletedirgui.py 2006-10-27 16:51:46.000000000 -0700 ++++ bittornado/btcompletedirgui.py 2006-10-27 16:51:46.000000000 -0700 +@@ -99,7 +99,7 @@ + dlg.Destroy() + return + try: +- ps = 2 ** (21 - self.piece_length.GetSelection()) ++ ps = (21 - self.piece_length.GetSelection()) + CompleteDir(self.dirCtl.GetValue(), self.annCtl.GetValue(), ps) + except: + print_exc() --- bittornado-0.3.18.orig/debian/patches/07_change_report_address.dpatch +++ bittornado-0.3.18/debian/patches/07_change_report_address.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_change_report_address.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/BitTornado/__init__.py trunk/BitTornado/__init__.py +--- trunk~/BitTornado/__init__.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/__init__.py 2007-01-04 14:25:09.000000000 -0800 +@@ -2,7 +2,7 @@ + version_short = 'T-0.3.18' + + version = version_short+' ('+product_name+')' +-report_email = version_short+'@degreez.net' ++report_email = 'http://www.debian.org/Bugs/Reporting' + + from types import StringType + from sha import sha --- bittornado-0.3.18.orig/debian/patches/16_fix_ipv6_in_SocketHandler.dpatch +++ bittornado-0.3.18/debian/patches/16_fix_ipv6_in_SocketHandler.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 16_fix_ipv6_in_SocketHandler.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix the logic in the SocketHandler.py bind implemenation for ipv6. + +@DPATCH@ +diff -urNad bittornado~/BitTornado/SocketHandler.py bittornado/BitTornado/SocketHandler.py +--- bittornado~/BitTornado/SocketHandler.py 2006-02-26 01:26:56.000000000 -0800 ++++ bittornado/BitTornado/SocketHandler.py 2006-10-27 16:39:39.000000000 -0700 +@@ -166,7 +166,7 @@ + else: + if self.ipv6_enable: + addrinfos.append([socket.AF_INET6, None, None, None, ('', port)]) +- if not addrinfos or ipv6_socket_style != 0: ++ if not addrinfos or ipv6_socket_style == 0: + addrinfos.append([socket.AF_INET, None, None, None, ('', port)]) + for addrinfo in addrinfos: + try: --- bittornado-0.3.18.orig/debian/patches/18_fix_launchmany_encrypter.dpatch +++ bittornado-0.3.18/debian/patches/18_fix_launchmany_encrypter.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 18_fix_launchmany_encrypter.dpatch by Cameron Dale +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a bug in the Encrypter that dropped all launchmany handled +## DP: connections due to not sending the headers properly. +## DP: Debian Bug #422098, fix found in BitTornado CVS. + +@DPATCH@ +diff -urNad bittornado~/BitTornado/BT1/Encrypter.py bittornado/BitTornado/BT1/Encrypter.py +--- bittornado~/BitTornado/BT1/Encrypter.py 2007-07-30 17:28:08.000000000 +0000 ++++ bittornado/BitTornado/BT1/Encrypter.py 2007-07-30 17:31:56.000000000 +0000 +@@ -91,7 +91,9 @@ + else: + self.encrypted = False + self.options = options +- self.write(self.Encoder.my_id) ++ self.write(chr(len(protocol_name)) + protocol_name + ++ option_pattern + ++ self.Encoder.download_id + self.Encoder.my_id ) + self.next_len, self.next_func = 20, self.read_peer_id + else: + self.encrypted = None # don't know yet --- bittornado-0.3.18.orig/debian/patches/00list +++ bittornado-0.3.18/debian/patches/00list @@ -0,0 +1,19 @@ +01_MANIFEST.in_remove_broken_cruft +02_btdownloadcurses_increase_significant_digit.dpatch +04_btlaunchmany.py_transpose_transfer_totals.dpatch +05_bttrack_connerr_fix.dpatch +06_README_portchange.dpatch +07_change_report_address.dpatch +08_btdownloadcurses_indent.dpatch +09_timtuckerfixes.dpatch +10_removeCVScrud.dpatch +11_sorthashcheck.dpatch +12_fix_guis_for_2.6.dpatch +13_fix_btcompletedirgui_bug.dpatch +# 14_enable_gui_commandline.dpatch +15_fix_unicode_in_makemetafile.py.dpatch +16_fix_ipv6_in_SocketHandler.dpatch +17_fix_NatCheck_bufferlen_error.dpatch +18_fix_launchmany_encrypter.dpatch +19_fix_tracker_return_all.dpatch +20_tracker_cache_minor_fix.dpatch --- bittornado-0.3.18.orig/debian/patches/14_enable_gui_commandline.dpatch +++ bittornado-0.3.18/debian/patches/14_enable_gui_commandline.dpatch @@ -0,0 +1,52 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 14_enable_gui_commandline.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Enable the gui commandline parameters for btdownloadgui. + +@DPATCH@ +diff -urNad trunk~/BitTornado/download_bt1.py trunk/BitTornado/download_bt1.py +--- trunk~/BitTornado/download_bt1.py 2007-01-04 14:26:36.000000000 -0800 ++++ trunk/BitTornado/download_bt1.py 2007-01-04 14:26:36.000000000 -0800 +@@ -264,6 +264,16 @@ + return config + + ++def parse_params_gui(params, presets = {}): ++ config, args = parseargs(params, defaults, 0, 1, presets = presets) ++ if args: ++ if config['responsefile'] or config['url']: ++ raise ValueError,'must have responsefile or url as arg or parameter, not both' ++ elif (config['responsefile'] and config['url']): ++ raise ValueError, 'cannot have both responsefile and url' ++ return config ++ ++ + def get_usage(defaults = defaults, cols = 100, presets = {}): + return (argslistheader + formatDefinitions(defaults, cols, presets)) + +diff -urNad trunk~/btdownloadgui.py trunk/btdownloadgui.py +--- trunk~/btdownloadgui.py 2007-01-04 14:26:23.000000000 -0800 ++++ trunk/btdownloadgui.py 2007-01-04 14:26:36.000000000 -0800 +@@ -21,7 +21,7 @@ + except: + print 'wxPython is either not installed or has not been installed properly.' + exit(1) +-from BitTornado.download_bt1 import BT1Download, defaults, parse_params, get_usage, get_response ++from BitTornado.download_bt1 import BT1Download, defaults, parse_params, parse_params_gui, get_usage, get_response + from BitTornado.RawServer import RawServer, UPnP_ERROR + from random import seed + from socket import error as socketerror +@@ -2191,6 +2191,12 @@ + def OnInit(self): + doneflag = Event() + self.configfile = configReader() ++ try: ++ self.configfile.config = parse_params_gui(self.params, self.configfile.config) ++ except ValueError, e: ++ print 'error: ' + str(e) + '\nrun with no args and cancel the open dialog for parameter explanations' ++ exit(1) ++ + d = DownloadInfoFrame(doneflag, self.configfile) + self.SetTopWindow(d.frame) + if len(self.params) == 0: --- bittornado-0.3.18.orig/debian/patches/01_MANIFEST.in_remove_broken_cruft.dpatch +++ bittornado-0.3.18/debian/patches/01_MANIFEST.in_remove_broken_cruft.dpatch @@ -0,0 +1,35 @@ +#! /bin/sh -e +## 01_MANIFEST.in_remove_broken_cruft.dpatch by Micah Anderson +## +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Removes old broken programs that will never be fixed + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +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 bittornado-0.3.8/setup.py /tmp/dpep.RHD1Eh/bittornado-0.3.8/setup.py +--- bittornado-0.3.8/setup.py 2004-12-11 14:16:38.000000000 -0600 ++++ /tmp/dpep.RHD1Eh/bittornado-0.3.8/setup.py 2004-12-11 14:16:52.000000000 -0600 +@@ -22,7 +22,6 @@ + "bttrack.py", "btmakemetafile.py", "btlaunchmany.py", "btcompletedir.py", + "btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py", + "btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py", +- 'btmaketorrentgui.py', 'btcopyannounce.py', 'btsethttpseeds.py', +- 'bt-t-make.py', ++ 'btmaketorrentgui.py', 'btcopyannounce.py', 'btsethttpseeds.py' + ] + ) --- bittornado-0.3.18.orig/debian/patches/09_timtuckerfixes.dpatch +++ bittornado-0.3.18/debian/patches/09_timtuckerfixes.dpatch @@ -0,0 +1,268 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_timtuckerfixes.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad trunk~/BitTornado/BT1/Connecter.py trunk/BitTornado/BT1/Connecter.py +--- trunk~/BitTornado/BT1/Connecter.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/BT1/Connecter.py 2007-01-04 14:25:35.000000000 -0800 +@@ -46,6 +46,7 @@ + self.outqueue = [] + self.partial_message = None + self.download = None ++ self.upload = None + self.send_choke_queued = False + self.just_unchoked = None + +diff -urNad trunk~/BitTornado/BT1/Encrypter.py trunk/BitTornado/BT1/Encrypter.py +--- trunk~/BitTornado/BT1/Encrypter.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/BT1/Encrypter.py 2007-01-04 14:25:35.000000000 -0800 +@@ -28,22 +28,11 @@ + def tobinary16(i): + return chr((i >> 8) & 0xFF) + chr(i & 0xFF) + +-hexchars = '0123456789ABCDEF' +-hexmap = [] +-for i in xrange(256): +- hexmap.append(hexchars[(i&0xF0)/16]+hexchars[i&0x0F]) +- +-def tohex(s): +- r = [] +- for c in s: +- r.append(hexmap[ord(c)]) +- return ''.join(r) +- + def make_readable(s): + if not s: + return '' + if quote(s).find('%') >= 0: +- return tohex(s) ++ return b2a_hex(s).upper() + return '"'+s+'"' + + +diff -urNad trunk~/BitTornado/BT1/Storage.py trunk/BitTornado/BT1/Storage.py +--- trunk~/BitTornado/BT1/Storage.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/BT1/Storage.py 2007-01-04 14:25:35.000000000 -0800 +@@ -285,20 +285,24 @@ + for file, pos, end in self._intervals(pos, amount): + if DEBUG: + print 'reading '+file+' from '+str(pos)+' to '+str(end) +- self.lock.acquire() +- h = self._get_file_handle(file, False) +- if flush_first and self.whandles.has_key(file): +- h.flush() +- fsync(h) +- h.seek(pos) +- while pos < end: +- length = min(end-pos, MAXREADSIZE) +- data = h.read(length) +- if len(data) != length: +- raise IOError('error reading data from '+file) +- r.append(data) +- pos += length +- self.lock.release() ++ try: ++ self.lock.acquire() ++ h = self._get_file_handle(file, False) ++ if flush_first and self.whandles.has_key(file): ++ h.flush() ++ fsync(h) ++ h.seek(pos) ++ while pos < end: ++ length = min(end-pos, MAXREADSIZE) ++ data = h.read(length) ++ if len(data) != length: ++ raise IOError('error reading data from '+file) ++ r.append(data) ++ pos += length ++ self.lock.release() ++ except: ++ self.lock.release() ++ raise IOError('error reading data from '+ file) + return r + + def write(self, pos, s): +diff -urNad trunk~/BitTornado/BT1/StreamCheck.py trunk/BitTornado/BT1/StreamCheck.py +--- trunk~/BitTornado/BT1/StreamCheck.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/BT1/StreamCheck.py 2007-01-04 14:25:35.000000000 -0800 +@@ -22,20 +22,8 @@ + def toint(s): + return long(b2a_hex(s), 16) + +-def tobinary(i): +- return (chr(i >> 24) + chr((i >> 16) & 0xFF) + +- chr((i >> 8) & 0xFF) + chr(i & 0xFF)) +- +-hexchars = '0123456789ABCDEF' +-hexmap = [] +-for i in xrange(256): +- hexmap.append(hexchars[(i&0xF0)/16]+hexchars[i&0x0F]) +- + def tohex(s): +- r = [] +- for c in s: +- r.append(hexmap[ord(c)]) +- return ''.join(r) ++ return b2a_hex(s).upper() + + def make_readable(s): + if not s: +@@ -44,9 +32,6 @@ + return tohex(s) + return '"'+s+'"' + +-def toint(s): +- return long(b2a_hex(s), 16) +- + # header, reserved, download id, my id, [length, message] + + streamno = 0 +diff -urNad trunk~/BitTornado/ConfigDir.py trunk/BitTornado/ConfigDir.py +--- trunk~/BitTornado/ConfigDir.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/ConfigDir.py 2007-01-04 14:25:35.000000000 -0800 +@@ -9,6 +9,8 @@ + import sys,os + from time import time, strftime + ++from binascii import b2a_hex as tohex, a2b_hex as unhex ++ + try: + True + except: +@@ -23,23 +25,6 @@ + + DIRNAME = '.'+product_name + +-hexchars = '0123456789abcdef' +-hexmap = [] +-revmap = {} +-for i in xrange(256): +- x = hexchars[(i&0xF0)/16]+hexchars[i&0x0F] +- hexmap.append(x) +- revmap[x] = chr(i) +- +-def tohex(s): +- r = [] +- for c in s: +- r.append(hexmap[ord(c)]) +- return ''.join(r) +- +-def unhex(s): +- r = [ revmap[s[x:x+2]] for x in xrange(0, len(s), 2) ] +- return ''.join(r) + + def copyfile(oldpath, newpath): # simple file copy, all in RAM + try: +diff -urNad trunk~/BitTornado/RawServer.py trunk/BitTornado/RawServer.py +--- trunk~/BitTornado/RawServer.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/RawServer.py 2007-01-04 14:25:35.000000000 -0800 +@@ -71,11 +71,13 @@ + return self.excflag + + def _add_task(self, func, delay, id = None): +- assert float(delay) >= 0 ++ if delay < 0: ++ delay = 0 + insort(self.funcs, (clock() + delay, func, id)) + + def add_task(self, func, delay = 0, id = None): +- assert float(delay) >= 0 ++ if delay < 0: ++ delay = 0 + self.externally_added.append((func, delay, id)) + + def scan_for_timeouts(self): +diff -urNad trunk~/BitTornado/clock.py trunk/BitTornado/clock.py +--- trunk~/BitTornado/clock.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/clock.py 2007-01-04 14:25:35.000000000 -0800 +@@ -1,9 +1,10 @@ + # Written by John Hoffman + # see LICENSE.txt for license information + +-from time import * + import sys + ++from time import time ++ + _MAXFORWARD = 100 + _FUDGE = 1 + +@@ -24,4 +25,6 @@ + if sys.platform != 'win32': + _RTIME = RelativeTime() + def clock(): +- return _RTIME.get_time() +\ No newline at end of file ++ return _RTIME.get_time() ++else: ++ from time import clock +diff -urNad trunk~/BitTornado/download_bt1.py trunk/BitTornado/download_bt1.py +--- trunk~/BitTornado/download_bt1.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/download_bt1.py 2007-01-04 14:25:35.000000000 -0800 +@@ -846,17 +846,11 @@ + self.rerequest.announce(3) # rerequest automatically if paused for >60 seconds + + def set_super_seed(self): +- try: +- self.superseedflag.set() +- def s(self = self): +- if self.finflag.isSet(): +- self._set_super_seed() +- self.rawserver.add_task(s) +- except AttributeError: +- pass ++ self.superseedflag.set() ++ self.rawserver.add_task(self._set_super_seed) + + def _set_super_seed(self): +- if not self.super_seeding_active: ++ if not self.super_seeding_active and self.finflag.isSet(): + self.super_seeding_active = True + self.errorfunc(' ** SUPER-SEED OPERATION ACTIVE **\n' + + ' please set Max uploads so each peer gets 6-8 kB/s') +diff -urNad trunk~/BitTornado/launchmanycore.py trunk/BitTornado/launchmanycore.py +--- trunk~/BitTornado/launchmanycore.py 2007-01-04 14:22:22.000000000 -0800 ++++ trunk/BitTornado/launchmanycore.py 2007-01-04 14:25:35.000000000 -0800 +@@ -194,20 +194,27 @@ + self.rawserver.add_task(self.scan, 0) + self.rawserver.add_task(self.stats, 0) + ++ self.start() ++ except: ++ data = StringIO() ++ print_exc(file = data) ++ Output.exception(data.getvalue()) ++ ++ def start(self): ++ try: + self.handler.listen_forever() + +- self.Output.message('shutting down') + self.hashcheck_queue = [] + for hash in self.torrent_list: + self.Output.message('dropped "'+self.torrent_cache[hash]['path']+'"') + self.downloads[hash].shutdown() +- self.rawserver.shutdown() + + except: + data = StringIO() +- print_exc(file = data) +- Output.exception(data.getvalue()) ++ print_exc(file=data) ++ self.Output.exception(data.getvalue()) + ++ self.rawserver.shutdown() + + def scan(self): + self.rawserver.add_task(self.scan, self.scan_period) +@@ -309,6 +316,7 @@ + self.torrent_list.append(hash) + self.downloads[hash] = d + d.start() ++ return d + + + def saveAs(self, hash, name, saveas, isdir): --- bittornado-0.3.18.orig/debian/patches/08_btdownloadcurses_indent.dpatch +++ bittornado-0.3.18/debian/patches/08_btdownloadcurses_indent.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_btdownloadcurses_indent.dpatch by Micah Anderson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./btdownloadcurses.py /tmp/dpep-work.ankdxc/bittornado/btdownloadcurses.py +--- ./btdownloadcurses.py 2005-09-17 12:16:11.000000000 -0400 ++++ /tmp/dpep-work.ankdxc/bittornado/btdownloadcurses.py 2005-09-17 12:17:16.482106891 -0400 +@@ -402,6 +402,7 @@ + curses_wrapper(run, errlist, argv[1:]) + + if errlist: +- print "These errors occurred during execution:" +- for error in errlist: +- print error +\ No newline at end of file ++ print "These errors occurred during execution:" ++ for error in errlist: ++ print error ++ --- bittornado-0.3.18.orig/debian/btcopyannounce.sgml +++ bittornado-0.3.18/debian/btcopyannounce.sgml @@ -0,0 +1,110 @@ + + Cameron"> + Dale"> + + April 17, 2005"> + + 1"> + camrdale@gmail.com"> + + btcopyannounce"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + + &dhpackage; + + copy torrent announce information to other torrents + + + + &dhpackage; + + source.torrent + destination1.torrent + destination2.torrent + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; copies the "announce" information from + the source torrent to all specified destination torrents. + + + + + SEE ALSO + + btreannounce1, + btrename1, + btsethttpseeds1, + btshowmetainfo1, + bittorrent-downloader1. + + + + AUTHOR + This manual page was written by &dhusername; <&dhemail;> (based on the original man pages written by Micah Anderson <micah@debian.org>) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- bittornado-0.3.18.orig/debian/NEWS +++ bittornado-0.3.18/debian/NEWS @@ -0,0 +1,65 @@ +bittornado (0.3.18-1) unstable; urgency=low + + Here is some information on the new encryption available in BitTornado, + which I obtained from the BitTornado forum: + + The encryption standard followed, developed by Azureus, is available at: + http://www.azureuswiki.com/index.php/Message_Stream_Encryption + + BitTornado supports both header-only and full-stream encryption, though + header-only is only supported in one of BitTornado's four encryption + modes. + + These modes are: + + 1. No encryption permitted. The client won't make any encrypted + connections. + + 2. Encryption enabled (default). The client will accept incoming + encrypted connections, and will make outgoing encrypted connections + if the tracker tells it that peer requires it (and if the tracker has + the extensions to do so). In this mode, the client will recognize + header-only encryption. + + 3. Encrypted connections only. This restricts the client to only + connecting via encrpted links, and only via full stream encryption. + This may drastically affect the ability of the client to connect to + peers with a tracker that doesn't support the crypto extensions. + + 4. Full stealth encryption. Like the above mode, except it also modifies + tracker communications so that (assuming peers are coded properly) the + client will never receive any unencrypted incoming connection attempts. + If the tracker doesn't support the crypto extensions, this will also + effectively firewall the client. + + -- Cameron Dale Thu, 4 Jan 2007 13:56:24 -0800 + +bittornado (0.3.15-3) unstable; urgency=low + + The btcompletedirgui and btmaketorrentgui programs have been fixed, you + no longer need python-wxgtk2.4, they work fine with python-wxgtk2.6. + + -- Cameron Dale Sun, 08 Oct 2006 12:31:54 -0800 + +bittornado (0.3.15-1) unstable; urgency=low + + [ Cameron Dale ] + The btcompletedirgui and btmaketorrentgui programs have been patched as + they were not working with python-wxgtk2.6. They do, however, work with + python-wxgtk2.4, and so it has been added as a Suggest dependency and + the programs have been patched to select the older version. If you want + to run either of these programs, you will need to install python-wxgtk2.4. + If you don't need either of these programs, you will not need to install + python-wxgtk2.4. + + -- Micah Anderson Wed, 17 Apr 2006 12:31:54 -0800 + +bittornado (0.2.0-7) unstable; urgency=low + +The bittornado package has been split into two different packages, one +contains only the GUI pieces and dependancies, the other can be installed +stand-alone on machines which do not have or want X dependencies installed. +If you want the gui components, please install the bittornado-gui package +as well. + + -- Micah Anderson Tue, 6 Jul 2004 17:12:37 -0500