--- bittornado-0.3.10.orig/debian/control +++ bittornado-0.3.10/debian/control @@ -0,0 +1,55 @@ +Source: bittornado +Section: net +Priority: optional +Maintainer: Micah Anderson +Build-Depends-Indep: debhelper (>> 4.1.67), python, python-dev (>= 2.1), python-dev (<< 2.4), dpatch +Standards-Version: 3.6.1.0 + +Package: bittornado +Architecture: all +Depends: ${python:Depends} +Conflicts: bittorrent (<= 3.4.2-2) +Replaces: bittorrent +Suggests: bittornado-gui +Recommends: mime-support +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 (>= 0.3.7-1), libwxgtk2.5.3-python +Conflicts: bittorrent (<= 3.4.2-2) +Replaces: bittorrent +Recommends: mime-support +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.10.orig/debian/postrm +++ bittornado-0.3.10/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.10.orig/debian/btdownloadcurses.bittornado.1 +++ bittornado-0.3.10/debian/btdownloadcurses.bittornado.1 @@ -0,0 +1,256 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTDOWNLOADCURSES "1" "August 2004" "btdownloadcurses (bittornado)" "User Commands" +.SH NAME +Btdownloadcurses \- curses bittornado download interface +.SH SYNOPSIS +.B btdownloadcurses +\fI\fR +.SH DESCRIPTION +Curses interface to download torrents. +.SH OPTIONS +This program follows the usual GNU command-line syntax, with long options +starting with two dashes ('-'). A summary of options is included below. + +.PP +\fB\-\-max_uploads\fR +.IP +the maximum number of uploads to allow at once. (defaults to 7) +.PP +\fB\-\-keepalive_interval\fR +.IP +number of seconds to pause between sending keepalives (defaults to 120.0) +.PP +\fB\-\-download_slice_size\fR +.IP +How many bytes to query for per request. (defaults to 16384) +.PP +\fB\-\-upload_unit_size\fR +.IP +when limiting upload rate, how many bytes to send at a time (defaults to 1460) +.PP +\fB\-\-request_backlog\fR +.IP +maximum number of requests to keep in a single pipe at once. (defaults to 10) +.PP +\fB\-\-max_message_length\fR +.IP +maximum length prefix encoding you'll accept over the wire - larger values get the +connection dropped. (defaults to 8388608) +.PP +\fB\-\-ip\fR +.IP +ip to report you have to the tracker. (defaults to '') +.PP +\fB\-\-minport\fR +.IP +minimum port to listen on, counts up if unavailable (defaults to 10000) +.PP +\fB\-\-maxport\fR +.IP +maximum port to listen on (defaults to 60000) +.PP +\fB\-\-random_port\fR +.IP +whether to choose randomly inside the port range instead of counting up linearly +(defaults to 1) +.PP +\fB\-\-responsefile\fR +.IP +file the server response was stored in, alternative to url (defaults to '') +.PP +\fB\-\-url\fR +.IP +url to get file from, alternative to responsefile (defaults to '') +.PP +\fB\-\-selector_enabled\fR +.IP +whether to enable the file selector and fast resume function (defaults to 1) +.PP +\fB\-\-expire_cache_data\fR +.IP +the number of days after which you wish to expire old cache data (0 = disabled) (defaults +to 10) +.PP +\fB\-\-priority\fR +.IP +a list of file priorities separated by commas, must be one per file, 0 = highest, 1 = +normal, 2 = lowest, \fB\-1\fR = download disabled (defaults to '') +.PP +\fB\-\-saveas\fR +.IP +local file name to save the file as, null indicates query user (defaults to '') +.PP +\fB\-\-timeout\fR +.IP +time to wait between closing sockets which nothing has been received on (defaults to +300.0) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out (defaults to 60.0) +.PP +\fB\-\-max_slice_length\fR +.IP +maximum length slice to send to peers, larger requests are ignored (defaults to 131072) +.PP +\fB\-\-max_rate_period\fR +.IP +maximum amount of time to guess the current rate estimate represents (defaults to 20.0) +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to '') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections (defaults to 1) +.PP +\fB\-\-upnp_nat_access\fR +.IP +attempt to autoconfigure a UPnP router to forward a server port (0 = disabled, 1 = mode 1 +[fast], 2 = mode 2 [slow]) (defaults to 1) +.PP +\fB\-\-upload_rate_fudge\fR +.IP +time equivalent of writing to kernel-level TCP buffer, for rate adjustment (defaults to +5.0) +.PP +\fB\-\-tcp_ack_fudge\fR +.IP +how much TCP ACK download overhead to add to upload rate calculations (0 = disabled) +(defaults to 0.029999999999999999) +.PP +\fB\-\-display_interval\fR +.IP +time between updates of displayed information (defaults to 0.5) +.PP +\fB\-\-rerequest_interval\fR +.IP +time to wait between requesting more peers (defaults to 300) +.PP +\fB\-\-min_peers\fR +.IP +minimum number of peers to not do rerequesting (defaults to 20) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has timed out (defaults +to 60) +.PP +\fB\-\-max_initiate\fR +.IP +number of peers at which to stop initiating new connections (defaults to 40) +.PP +\fB\-\-check_hashes\fR +.IP +whether to check hashes on disk (defaults to 1) +.PP +\fB\-\-max_upload_rate\fR +.IP +maximum kB/s to upload at (0 = no limit, \fB\-1\fR = automatic) (defaults to 0) +.PP +\fB\-\-max_download_rate\fR +.IP +maximum kB/s to download at (0 = no limit) (defaults to 0) +.PP +\fB\-\-alloc_type\fR +.IP +allocation type (may be normal, background, pre-allocate or sparse) (defaults to +\&'normal') +.PP +\fB\-\-alloc_rate\fR +.IP +rate (in MiB/s) to allocate space at using background allocation (defaults to 2.0) +.PP +\fB\-\-buffer_reads\fR +.IP +whether to buffer disk reads (defaults to 1) +.PP +\fB\-\-write_buffer_size\fR +.IP +the maximum amount of space to use for buffering disk writes (in megabytes, 0 = disabled) +(defaults to 4) +.PP +\fB\-\-snub_time\fR +.IP +seconds to wait for data to come in over a connection before assuming it's +semi-permanently choked (defaults to 30.0) +.PP +\fB\-\-spew\fR +.IP +whether to display diagnostic info to stdout (defaults to 0) +.PP +\fB\-\-rarest_first_cutoff\fR +.IP +number of downloads at which to switch from random to rarest first (defaults to 2) +.PP +\fB\-\-rarest_first_priority_cutoff\fR +.IP +the number of peers which need to have a piece before other partials take priority over +rarest first (defaults to 5) +.PP +\fB\-\-min_uploads\fR +.IP +the number of uploads to fill out to with extra optimistic unchokes (defaults to 4) +.PP +\fB\-\-max_files_open\fR +.IP +the maximum number of files to keep open at a time, 0 means no limit (defaults to 50) +.PP +\fB\-\-round_robin_period\fR +.IP +the number of seconds between the client's switching upload targets (defaults to 30) +.PP +\fB\-\-super_seeder\fR +.IP +whether to use special upload-efficiency-maximizing routines (only for dedicated seeds) +(defaults to 0) +.PP +\fB\-\-security\fR +.IP +whether to enable extra security features intended to prevent abuse (defaults to 1) +.PP +\fB\-\-max_connections\fR +.IP +the absolute maximum number of peers to connect with (0 = no limit) (defaults to 0) +.PP +\fB\-\-auto_kick\fR +.IP +whether to allow the client to automatically kick/ban peers that send bad data (defaults +to 1) +.PP +\fB\-\-double_check\fR +.IP +whether to double-check data being written to the disk for errors (may increase CPU load) +(defaults to 1) +.PP +\fB\-\-triple_check\fR +.IP +whether to thoroughly check data being written to the disk (may slow disk access) +(defaults to 0) +.PP +\fB\-\-lock_files\fR +.IP +whether to lock files the client is working with (defaults to 1) +.PP +\fB\-\-lock_while_reading\fR +.IP +whether to lock access to files being read (defaults to 0) +.PP +\fB\-\-auto_flush\fR +.IP +minutes between automatic flushes to disk (0 = disabled) (defaults to 0) +.PP +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR bittorrent-multi-downloader (1), +.BR btdownloadgui (1), +.BR btdownloadheadless (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btreannounce.bittornado.1 +++ bittornado-0.3.10/debian/btreannounce.bittornado.1 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH "BTREANNOUNCE" 1 "Jan 18 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +btreannounce \- change the announce address of a torrent file. +.SH SYNOPSIS +\fBbttrack\fP \fIurl\fP \fIoldtorrent\fP \fInewtorrent\fP +.SH DESCRIPTION +This manual page documents briefly the \fBbtreannounce\fP +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBbtreannounce\fP is a program which will change the announce +address of a existing torrent file. The torrent specified by +the \fIoldtorrent\fP argument will be modified to use the new +announce url given by the \fIurl\fP argument, and the changed +file will be saved as \fInewtorrent\fP. + +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1), +.BR btrename (1). +.br +.SH AUTHOR +This manual page was written by Michael Janssen , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btcopyannounce.1 +++ bittornado-0.3.10/debian/btcopyannounce.1 @@ -0,0 +1,13 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTCOPYANNOUNCE "1" "May 2004" "btcopyannounce" "User Commands" +.SH NAME +Btcopyannounce \- manual page for btcopyannounce +.SH SYNOPSIS +.B btcopyannounce +\fI \fR[\fIfile2.torrent\fR...] +.SH DESCRIPTION +copies announce information from source to all specified torrents +.PP +copies announce information from source to all specified torrents +.SH "SEE ALSO" +http://bittornado.org --- bittornado-0.3.10.orig/debian/patches/04_btlaunchmany.py_transpose_transfer_totals.dpatch +++ bittornado-0.3.10/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.10.orig/debian/patches/00list +++ bittornado-0.3.10/debian/patches/00list @@ -0,0 +1,4 @@ +01_MANIFEST.in_remove_broken_cruft +02_btdownloadcurses_increase_significant_digit.dpatch +03_btlaunchmanycurses.py_transpose_transfer_totals.dpatch +04_btlaunchmany.py_transpose_transfer_totals.dpatch --- bittornado-0.3.10.orig/debian/patches/02_btdownloadcurses_increase_significant_digit.dpatch +++ bittornado-0.3.10/debian/patches/02_btdownloadcurses_increase_significant_digit.dpatch @@ -0,0 +1,27 @@ +#! /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 + + +@@ -403,4 +403,5 @@ + if errlist: + print "These errors occurred during execution:" + for error in errlist: +- print error +\ No newline at end of file ++ print error ++ --- bittornado-0.3.10.orig/debian/patches/01_MANIFEST.in_remove_broken_cruft.dpatch +++ bittornado-0.3.10/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.10.orig/debian/patches/03_btlaunchmanycurses.py_transpose_transfer_totals.dpatch +++ bittornado-0.3.10/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 bittornado-0.3.8/BitTornado/launchmanycore.py /tmp/dpep.faC2GA/bittornado-0.3.8/BitTornado/launchmanycore.py +--- bittornado-0.3.8/BitTornado/launchmanycore.py 2004-12-15 11:50:49.000000000 -0600 ++++ /tmp/dpep.faC2GA/bittornado-0.3.8/BitTornado/launchmanycore.py 2004-12-15 11:50:52.000000000 -0600 +@@ -288,7 +288,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 bittornado-0.3.8/btlaunchmanycurses.py /tmp/dpep.faC2GA/bittornado-0.3.8/btlaunchmanycurses.py +--- bittornado-0.3.8/btlaunchmanycurses.py 2004-12-15 11:50:49.000000000 -0600 ++++ /tmp/dpep.faC2GA/bittornado-0.3.8/btlaunchmanycurses.py 2004-12-15 11:50:52.000000000 -0600 +@@ -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.10.orig/debian/btlaunchmany.bittornado.1 +++ bittornado-0.3.10/debian/btlaunchmany.bittornado.1 @@ -0,0 +1,296 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTLAUNCHMANY "1" "August 2004" "btlaunchmany (bttornado)" +.SH NAME +Btlaunchmany \- manual page for btlaunchmany +.SH SYNOPSIS +.B btlaunchmany +\fI \fR +.SH DESCRIPTION + - directory to look for .torrent files (semi-recursive) +.SH OPTIONS +.PP +\fB\-\-max_uploads\fR +.IP +the maximum number of uploads to allow at once. (defaults to 7) +.PP +\fB\-\-keepalive_interval\fR +.IP +number of seconds to pause between sending keepalives (defaults to +120.0) +.PP +\fB\-\-download_slice_size\fR +.IP +How many bytes to query for per request. (defaults to 16384) +.PP +\fB\-\-upload_unit_size\fR +.IP +when limiting upload rate, how many bytes to send at a time (defaults +to 1460) +.PP +\fB\-\-request_backlog\fR +.IP +maximum number of requests to keep in a single pipe at once. +(defaults to 10) +.PP +\fB\-\-max_message_length\fR +.IP +maximum length prefix encoding you'll accept over the wire - larger +values get the connection dropped. (defaults to 8388608) +.PP +\fB\-\-ip\fR +.IP +ip to report you have to the tracker. (defaults to '') +.PP +\fB\-\-minport\fR +.IP +minimum port to listen on, counts up if unavailable (defaults to +10000) +.PP +\fB\-\-maxport\fR +.IP +maximum port to listen on (defaults to 60000) +.PP +\fB\-\-random_port\fR +.IP +whether to choose randomly inside the port range instead of counting +up linearly (defaults to 1) +.PP +\fB\-\-responsefile\fR +.IP +file the server response was stored in, alternative to url (defaults +to '') +.PP +\fB\-\-url\fR +.IP +url to get file from, alternative to responsefile (defaults to '') +.PP +\fB\-\-selector_enabled\fR +.IP +whether to enable the file selector and fast resume function +(defaults to 1) +.PP +\fB\-\-expire_cache_data\fR +.IP +the number of days after which you wish to expire old cache data (0 = +disabled) (defaults to 10) +.PP +\fB\-\-priority\fR +.IP +a list of file priorities separated by commas, must be one per file, +0 = highest, 1 = normal, 2 = lowest, \fB\-1\fR = download disabled (defaults +to '') +.PP +\fB\-\-saveas\fR +.IP +local file name to save the file as, null indicates query user +(defaults to '') +.PP +\fB\-\-timeout\fR +.IP +time to wait between closing sockets which nothing has been received +on (defaults to 300.0) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out +(defaults to 60.0) +.PP +\fB\-\-max_slice_length\fR +.IP +maximum length slice to send to peers, larger requests are ignored +(defaults to 131072) +.PP +\fB\-\-max_rate_period\fR +.IP +maximum amount of time to guess the current rate estimate represents +(defaults to 20.0) +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to +\&'') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections +(defaults to 1) +.PP +\fB\-\-upnp_nat_access\fR +.IP +attempt to autoconfigure a UPnP router to forward a server port (0 = +disabled, 1 = mode 1 [fast], 2 = mode 2 [slow]) (defaults to 1) +.PP +\fB\-\-upload_rate_fudge\fR +.IP +time equivalent of writing to kernel-level TCP buffer, for rate +adjustment (defaults to 5.0) +.PP +\fB\-\-tcp_ack_fudge\fR +.IP +how much TCP ACK download overhead to add to upload rate calculations +(0 = disabled) (defaults to 0.029999999999999999) +.PP +\fB\-\-display_interval\fR +.IP +time between updates of displayed information (defaults to 0.5) +.PP +\fB\-\-rerequest_interval\fR +.IP +time to wait between requesting more peers (defaults to 300) +.PP +\fB\-\-min_peers\fR +.IP +minimum number of peers to not do rerequesting (defaults to 20) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has +timed out (defaults to 60) +.PP +\fB\-\-max_initiate\fR +.IP +number of peers at which to stop initiating new connections (defaults +to 40) +.PP +\fB\-\-check_hashes\fR +.IP +whether to check hashes on disk (defaults to 1) +.PP +\fB\-\-max_upload_rate\fR +.IP +maximum kB/s to upload at (0 = no limit, \fB\-1\fR = automatic) (defaults to +0) +.PP +\fB\-\-max_download_rate\fR +.IP +maximum kB/s to download at (0 = no limit) (defaults to 0) +.PP +\fB\-\-alloc_type\fR +.IP +allocation type (may be normal, background, pre-allocate or sparse) +(defaults to 'normal') +.PP +\fB\-\-alloc_rate\fR +.IP +rate (in MiB/s) to allocate space at using background allocation +(defaults to 2.0) +.PP +\fB\-\-buffer_reads\fR +.IP +whether to buffer disk reads (defaults to 1) +.PP +\fB\-\-write_buffer_size\fR +.IP +the maximum amount of space to use for buffering disk writes (in +megabytes, 0 = disabled) (defaults to 4) +.PP +\fB\-\-snub_time\fR +.IP +seconds to wait for data to come in over a connection before assuming +it's semi-permanently choked (defaults to 30.0) +.PP +\fB\-\-spew\fR +.IP +whether to display diagnostic info to stdout (defaults to 0) +.PP +\fB\-\-rarest_first_cutoff\fR +.IP +number of downloads at which to switch from random to rarest first +(defaults to 2) +.PP +\fB\-\-rarest_first_priority_cutoff\fR +.IP +the number of peers which need to have a piece before other partials +take priority over rarest first (defaults to 5) +.PP +\fB\-\-min_uploads\fR +.IP +the number of uploads to fill out to with extra optimistic unchokes +(defaults to 4) +.PP +\fB\-\-max_files_open\fR +.IP +the maximum number of files to keep open at a time, 0 means no limit +(defaults to 50) +.PP +\fB\-\-round_robin_period\fR +.IP +the number of seconds between the client's switching upload targets +(defaults to 30) +.PP +\fB\-\-super_seeder\fR +.IP +whether to use special upload-efficiency-maximizing routines (only +for dedicated seeds) (defaults to 0) +.PP +\fB\-\-security\fR +.IP +whether to enable extra security features intended to prevent abuse +(defaults to 1) +.PP +\fB\-\-max_connections\fR +.IP +the absolute maximum number of peers to connect with (0 = no limit) +(defaults to 0) +.PP +\fB\-\-auto_kick\fR +.IP +whether to allow the client to automatically kick/ban peers that send +bad data (defaults to 1) +.PP +\fB\-\-double_check\fR +.IP +whether to double-check data being written to the disk for errors +(may increase CPU load) (defaults to 1) +.PP +\fB\-\-triple_check\fR +.IP +whether to thoroughly check data being written to the disk (may slow +disk access) (defaults to 0) +.PP +\fB\-\-lock_files\fR +.IP +whether to lock files the client is working with (defaults to 1) +.PP +\fB\-\-lock_while_reading\fR +.IP +whether to lock access to files being read (defaults to 0) +.PP +\fB\-\-auto_flush\fR +.IP +minutes between automatic flushes to disk (0 = disabled) (defaults to +0) +.PP +\fB\-\-parse_dir_interval\fR +.IP +how often to rescan the torrent directory, in seconds (defaults to +60) +.PP +\fB\-\-saveas_style\fR +.IP +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) +.PP +\fB\-\-display_path\fR +.IP +whether to display the full path or the torrent contents for each +torrent (defaults to 1) +.PP +\fB\-\-save_options\fR +.IP +whether to save the current options as the new default configuration +(only for btlaunchmany) (defaults to 0) +.PP +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). + --- bittornado-0.3.10.orig/debian/docs +++ bittornado-0.3.10/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.10.orig/debian/bittornado-gui.menu +++ bittornado-0.3.10/debian/bittornado-gui.menu @@ -0,0 +1,4 @@ +?package(bittornado-gui):needs="X11" section="Apps/Net"\ + icon="/usr/share/pixmaps/bittornado.xpm"\ + title="Bittornado Client" command="/usr/bin/btdownloadgui.bittornado" \ + hints="Internet" --- bittornado-0.3.10.orig/debian/bittorrent-downloader.bittornado.1 +++ bittornado-0.3.10/debian/bittorrent-downloader.bittornado.1 @@ -0,0 +1,127 @@ +.TH "BITTORRENT-DOWNLOADER" 1 "Sep 24 2003" +.SH NAME +bittorrent-downloader \- download files using a scatter-gather network +.SH SYNOPSIS +.nf +.B btdownloadheadless [ option ... ] \fIURL\fB +.B btdownloadheadless [ option ... ] \fIfilename\fB +.B btdownloadcurses [ option ... ] \fIURL\fB +.B btdownloadcurses [ option ... ] \fIfilename\fB +.B btdownloadgui [ option ... ] \fIURL\fB +.B btdownloadgui [ option ... ] \fIfilename\fB +.fi +.br +.B +.SH DESCRIPTION +This manual page documents briefly the \fBbtdownloadheadless\fP, +\fBbtdownloadcurses\fP, and \fBbtdownloadgui\fP commands. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +These are all programs that allow a user to download files using +bittorrent, a peer to peer, scatter-gather network protocol. +They all have the same options. +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +.TP +.B \-\-responsefile \fIfilename\fP +treat \fIfilename\fP as a file which the server reponse was stored in. If this +option is used, no filename or URL should be present on the command line. +.TP +.B \-\-url \fIurl\fP +retrieve the torrent info file from \fIurl\fP. If this option is used, no +filename or URL should be present on the command line. +.TP +.B \-i \fIip\fP | \-\-ip \fIip\fP +report \fIip\fP as your IP to the tracker +.TP +.B \-\-bind \fIip\fP +bind to \fIip\fP instead of the default +.TP +.B \-\-minport \fIportnum\fP +set \fIportnum\fP as the minimum port to listen on, counts up if unavailable (default 6881) +.TP +.B \-\-maxport \fIportnum\fP +set \fIportnum\fP as the maximum port to listen on (default 6889) +.TP +.B \-\-saveas \fIfilename\fP +store the downloaded file to \fIfilename\fP, instead of querying user (gui) or +using the filename stored in the torrent info file +.TP +.B \-\-max_uploads \fInum\fP +Only allow \fInum\fP uploads at once (default 4) +.TP +.B \-\-max_upload_rate \fIkbytes\fP +maximum rate to upload at in kilobytes, 0 means no limit (default 0) +.TP +.B \-\-keepalive_interval \fIsecs\fP +pause \fIsecs\fP seconds between sending keepalives (default 120.0) +.TP +.B \-\-download_slice_size \fIbytes\fP +query for \fIbytes\fP bytes per request (default 32768) +.TP +.B \-\-request_backlog \fInum\fP +keep \fInum\fP requests in a single pipe at once (default 5) +.TP +.B \-\-max_message_length \fIbytes\fP +set \fIbytes\fP to the maximum length prefix encoding you'll accept over the wire - larger values get the connection dropped (default 8388608) +.TP +.B \-\-timeout \fIsecs\fP +wait \fIsecs\fP before closing sockets which nothing has been recieved on (default 300.0) +.TP +.B \-\-timeout_check_interval \fIsecs\fP +check whether connections have timed out every \fIsecs\fP seconds (default 60.0) +.TP +.B \-\-max_slice_length \fIbytes\fP +requests from peers larger than \fIbytes\fP bytes are ignored (default 131072) +.TP +.B \-\-max_rate_recalculate_interval \fIsecs\fP +connections that pause longer than \fIsecs\fP seconds are given reduced rate (default 15.0) +.TP +.B \-\-max_rate_period \fIsecs\fP +set \fIsecs\fP to the maximum amount of time to guess the current rate estimate represents (default 20.0) +.TP +.B \-\-upload_rate_fudge \fIsecs\fP +set the time equivalent of writing to kernel-level TCP buffer to \fIsecs\fP (default 5.0) +.TP +.B \-\-display_interval \fIsecs\fP +update displayed information every \fIsecs\fP seconds (default 0.1) +.TP +.B \-\-rerequest_interval \fIsecs\fP +request more peers every \fIsecs\fP seconds (default 300) +.TP +.B \-\-min_peers \fInum\fP +do not rerequest if we have \fInum\fP peers already (default 20) +.TP +.B \-\-http_timeout \fIsecs\fP +wait \fIsecs\fP seconds before assuming a http connection has timed out (default 60) +.TP +.B \-\-snub_time \fIsecs\fP +wait \fIsecs\fP seconds for data to come in over a connection before assuming it's semi-permanently choked (default 30.0) +.TP +.B \-\-spew \fI 1 | 0 \fP +whether to display diagnostic info to stdout. This option is not useful when +using btdownloadcurses or btdownloadgui. (default 0) +.B \-\-max_initiate \fInum\fP +stop initiating new connections when we have \fInum\fP peers (default 40) +.TP +.B \-\-check_hashes \fI 1 | 0 \fP +whether to check hashes on disk (defaults to 1) +.TP +.B \-\-report_hash_failures \fI 1 | 0 \fP +whether to report to the user that hash failuers occur (non-fatal, common error) (default 0) +.TP +.B \-\-rarest_first_priority_cutoff \fInum\fP +the number of peers which need to have a piece before other partials take +priority over rarest first (default 3) + +.SH SEE ALSO +.BR bttrack (1), +.BR btmakemetafile (1), +.BR btlaunchmany (1). +.br +.SH AUTHOR +This manual page was written by Michael Janssen , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btshowmetainfo.bittornado.1 +++ bittornado-0.3.10/debian/btshowmetainfo.bittornado.1 @@ -0,0 +1,40 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH "BTSHOWMETAINFO" 1 "Jan 18 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +btshowmetainfo \- display information in bittorrent files +.SH SYNOPSIS +\fBbtshowmetainfo\fP \fIfile\fP [ file ... ] +.SH DESCRIPTION +This manual page documents briefly the \fBbtshowmetainfo\fP +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBbtshowmetainfo\fP is a program which will display the information +stored in a bittorrent file. + +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1). +.br +.SH AUTHOR +This manual page was written by Michael Janssen , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/bttrack.bittornado.1 +++ bittornado-0.3.10/debian/bttrack.bittornado.1 @@ -0,0 +1,354 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTTRACK "1" "September 2004" +.SH NAME +Bttrack \- tracker for bittornado +.SH SYNOPSIS +.B bttrack \fI --dfile +.SH DESCRIPTION +\fBbttrack\fP 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. +.SH OPTIONS +This program follows the usual GNU command-line syntax, with long options +starting with two dashes ('-'). A summary of options is included below. + +\fB\-\-port\fR +.IP +Port to listen on. (defaults to 80) +.PP +\fB\-\-dfile\fR +.IP +file to store recent downloader info in +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to +\&'') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections +(defaults to 1) +.PP +\fB\-\-socket_timeout\fR +.IP +timeout for closing connections (defaults to 15) +.PP +\fB\-\-save_dfile_interval\fR +.IP +seconds between saving dfile (defaults to 300) +.PP +\fB\-\-timeout_downloaders_interval\fR +.IP +seconds between expiring downloaders (defaults to 2700) +.PP +\fB\-\-reannounce_interval\fR +.IP +seconds downloaders should wait between reannouncements (defaults to +1800) +.PP +\fB\-\-response_size\fR +.IP +number of peers to send in an info message (defaults to 50) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out +(defaults to 5) +.PP +\fB\-\-nat_check\fR +.IP +how many times to check if a downloader is behind a NAT (0 = don't +check) (defaults to 3) +.PP +\fB\-\-log_nat_checks\fR +.IP +whether to add entries to the log for nat-check results (defaults to +0) +.PP +\fB\-\-min_time_between_log_flushes\fR +.IP +minimum time it must have been since the last flush to do another one +(defaults to 3.0) +.PP +\fB\-\-min_time_between_cache_refreshes\fR +.IP +minimum time in seconds before a cache is considered stale and is +flushed (defaults to 600.0) +.PP +\fB\-\-allowed_dir\fR +.IP +only allow downloads for .torrents in this dir (defaults to '') +.PP +\fB\-\-allowed_controls\fR +.IP +allow special keys in torrents in the allowed_dir to affect tracker +access (defaults to 0) +.PP +\fB\-\-multitracker_enabled\fR +.IP +whether to enable multitracker operation (defaults to 0) +.PP +\fB\-\-multitracker_allowed\fR +.IP +whether to allow incoming tracker announces (can be none, autodetect +or all) (defaults to 'autodetect') +.PP +\fB\-\-multitracker_reannounce_interval\fR +.IP +seconds between outgoing tracker announces (defaults to 120) +.PP +\fB\-\-multitracker_maxpeers\fR +.IP +number of peers to get in a tracker announce (defaults to 20) +.PP +\fB\-\-aggregate_forward\fR +.IP +format: [,] - if set, forwards all non-multitracker to +this url with this optional password (defaults to '') +.PP +\fB\-\-aggregator\fR +.IP +whether to act as a data aggregator rather than a tracker. If +enabled, may be 1, or ; if password is set, then an +incoming password is required for access (defaults to '0') +.PP +\fB\-\-hupmonitor\fR +.IP +whether to reopen the log file upon receipt of HUP signal (defaults +to 0) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has +timed out (defaults to 60) +.PP +\fB\-\-parse_dir_interval\fR +.IP +seconds between reloading of allowed_dir (defaults to 60) +.PP +\fB\-\-show_infopage\fR +.IP +whether to display an info page when the tracker's root dir is loaded +(defaults to 1) +.PP +\fB\-\-infopage_redirect\fR +.IP +a URL to redirect the info page to (defaults to '') +.PP +\fB\-\-show_names\fR +.IP +whether to display names from allowed dir (defaults to 1) +.PP +\fB\-\-favicon\fR +.IP +file containing x-icon data to return when browser requests +favicon.ico (defaults to '') +.PP +\fB\-\-allowed_ips\fR +.IP +only allow connections from IPs specified in the given file; file +contains subnet data in the format: aa.bb.cc.dd/len (defaults to '') +.PP +\fB\-\-only_local_override_ip\fR +.IP +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) +.PP +\fB\-\-logfile\fR +.IP +file to write the tracker logs, use - for stdout (default) (defaults +to '') +.PP +\fB\-\-allow_get\fR +.IP +use with allowed_dir; adds a /file?hash={hash} url that allows users +to download the torrent file (defaults to 0) +.PP +\fB\-\-keep_dead\fR +.IP +keep dead torrents after they expire (so they still show up on your +/scrape and web page) (defaults to 0) +.PP +\fB\-\-scrape_allowed\fR +.IP +scrape access allowed (can be none, specific or full) (defaults to +\&'full') +.IP +Port to listen on. (defaults to 80) +.PP +\fB\-\-dfile\fR +.IP +file to store recent downloader info in +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to +\&'') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections +(defaults to 1) +.PP +\fB\-\-socket_timeout\fR +.IP +timeout for closing connections (defaults to 15) +.PP +\fB\-\-save_dfile_interval\fR +.IP +seconds between saving dfile (defaults to 300) +.PP +\fB\-\-timeout_downloaders_interval\fR +.IP +seconds between expiring downloaders (defaults to 2700) +.PP +\fB\-\-reannounce_interval\fR +.IP +seconds downloaders should wait between reannouncements (defaults to +1800) +.PP +\fB\-\-response_size\fR +.IP +number of peers to send in an info message (defaults to 50) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out +(defaults to 5) +.PP +\fB\-\-nat_check\fR +.IP +how many times to check if a downloader is behind a NAT (0 = don't +check) (defaults to 3) +.PP +\fB\-\-log_nat_checks\fR +.IP +whether to add entries to the log for nat-check results (defaults to +0) +.PP +\fB\-\-min_time_between_log_flushes\fR +.IP +minimum time it must have been since the last flush to do another one +(defaults to 3.0) +.PP +\fB\-\-min_time_between_cache_refreshes\fR +.IP +minimum time in seconds before a cache is considered stale and is +flushed (defaults to 600.0) +.PP +\fB\-\-allowed_dir\fR +.IP +only allow downloads for .torrents in this dir (defaults to '') +.PP +\fB\-\-allowed_controls\fR +.IP +allow special keys in torrents in the allowed_dir to affect tracker +access (defaults to 0) +.PP +\fB\-\-multitracker_enabled\fR +.IP +whether to enable multitracker operation (defaults to 0) +.PP +\fB\-\-multitracker_allowed\fR +.IP +whether to allow incoming tracker announces (can be none, autodetect +or all) (defaults to 'autodetect') +.PP +\fB\-\-multitracker_reannounce_interval\fR +.IP +seconds between outgoing tracker announces (defaults to 120) +.PP +\fB\-\-multitracker_maxpeers\fR +.IP +number of peers to get in a tracker announce (defaults to 20) +.PP +\fB\-\-aggregate_forward\fR +.IP +format: [,] - if set, forwards all non-multitracker to +this url with this optional password (defaults to '') +.PP +\fB\-\-aggregator\fR +.IP +whether to act as a data aggregator rather than a tracker. If +enabled, may be 1, or ; if password is set, then an +incoming password is required for access (defaults to '0') +.PP +\fB\-\-hupmonitor\fR +.IP +whether to reopen the log file upon receipt of HUP signal (defaults +to 0) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has +timed out (defaults to 60) +.PP +\fB\-\-parse_dir_interval\fR +.IP +seconds between reloading of allowed_dir (defaults to 60) +.PP +\fB\-\-show_infopage\fR +.IP +whether to display an info page when the tracker's root dir is loaded +(defaults to 1) +.PP +\fB\-\-infopage_redirect\fR +.IP +a URL to redirect the info page to (defaults to '') +.PP +\fB\-\-show_names\fR +.IP +whether to display names from allowed dir (defaults to 1) +.PP +\fB\-\-favicon\fR +.IP +file containing x-icon data to return when browser requests +favicon.ico (defaults to '') +.PP +\fB\-\-allowed_ips\fR +.IP +only allow connections from IPs specified in the given file; file +contains subnet data in the format: aa.bb.cc.dd/len (defaults to '') +.PP +\fB\-\-only_local_override_ip\fR +.IP +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) +.PP +\fB\-\-logfile\fR +.IP +file to write the tracker logs, use - for stdout (default) (defaults +to '') +.PP +\fB\-\-allow_get\fR +.IP +use with allowed_dir; adds a /file?hash={hash} url that allows users +to download the torrent file (defaults to 0) +.PP +\fB\-\-keep_dead\fR +.IP +keep dead torrents after they expire (so they still show up on your +/scrape and web page) (defaults to 0) +.PP +\fB\-\-scrape_allowed\fR +.IP +scrape access allowed (can be none, specific or full) (defaults to +\&'full') +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btrename.bittornado.1 +++ bittornado-0.3.10/debian/btrename.bittornado.1 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH "BTRENAME" 1 "Jan 18 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +btrename \- change the suggested filename inside a bittorrent file +.SH SYNOPSIS +\fBbttrack\fP \fItorrent\fP \fInewfilename\fP +.SH DESCRIPTION +This manual page documents briefly the \fBbtrename\fP +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBbtrename\fP is a program which will change the suggested +filename presented to the user for a bittorrent file. This +will make the downloader save it as a different name by default. +The torrent specified by the \fItorrent\fP option is modified +in-place, changing the suggested filename to \fInewfilename\fP. + +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1), +.BR btreannounce (1). +.br +.SH AUTHOR +This manual page was written by Michael Janssen , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btcompletedir.bittornado.1 +++ bittornado-0.3.10/debian/btcompletedir.bittornado.1 @@ -0,0 +1,95 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTCOMPLETEDIR "1" "May 2004" "btcompletedir" "User Commands" +.SH NAME +btcompletedir \- manual page for btcompletedir +.SH SYNOPSIS +.B btcompletedir +\fI \fR[\fIdir\fR...] [\fIparams\fR...] +.SH DESCRIPTION +makes a .torrent file for every file or directory present in each dir. +.PP +\fB\-\-announce_list\fR +.IP +a list of announce URLs - explained below (defaults to '') +.PP +\fB\-\-piece_size_pow2\fR +.IP +which power of 2 to set the piece size to (0 = automatic) (defaults +to 0) +.PP +\fB\-\-comment\fR +.IP +optional human-readable comment to put in .torrent (defaults to '') +.PP +\fB\-\-target\fR +.IP +optional target file for the torrent (defaults to '') +.IP +announce_list = optional list of redundant/backup tracker URLs, in the format: +.IP +url[,url...][|url[,url...]...] +.IP +where URLs separated by commas are all tried first +before the next group of URLs separated by the pipe is checked. +If none is given, it is assumed you don't want one in the metafile. +If announce_list is given, clients which support it +will ignore the value. +.IP +Examples: +.IP +http://tracker1.com|http://tracker2.com|http://tracker3.com +.IP +(tries trackers 1-3 in order) +.IP +http://tracker1.com,http://tracker2.com,http://tracker3.com +.IP +(tries trackers 1-3 in a randomly selected order) +.IP +http://tracker1.com|http://backup1.com,http://backup2.com +.IP +(tries tracker 1 first, then tries between the 2 backups randomly) +.PP +makes a .torrent file for every file or directory present in each dir. +.PP +\fB\-\-announce_list\fR +.IP +a list of announce URLs - explained below (defaults to '') +.PP +\fB\-\-piece_size_pow2\fR +.IP +which power of 2 to set the piece size to (0 = automatic) (defaults +to 0) +.PP +\fB\-\-comment\fR +.IP +optional human-readable comment to put in .torrent (defaults to '') +.PP +\fB\-\-target\fR +.IP +optional target file for the torrent (defaults to '') +.IP +announce_list = optional list of redundant/backup tracker URLs, in the format: +.IP +url[,url...][|url[,url...]...] +.IP +where URLs separated by commas are all tried first +before the next group of URLs separated by the pipe is checked. +If none is given, it is assumed you don't want one in the metafile. +If announce_list is given, clients which support it +will ignore the value. +.IP +Examples: +.IP +http://tracker1.com|http://tracker2.com|http://tracker3.com +.IP +(tries trackers 1-3 in order) +.IP +http://tracker1.com,http://tracker2.com,http://tracker3.com +.IP +(tries trackers 1-3 in a randomly selected order) +.IP +http://tracker1.com|http://backup1.com,http://backup2.com +.IP +(tries tracker 1 first, then tries between the 2 backups randomly) +.SH "SEE ALSO" +http://bittornado.org --- bittornado-0.3.10.orig/debian/btsethttpseeds.1 +++ bittornado-0.3.10/debian/btsethttpseeds.1 @@ -0,0 +1,26 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTSETHTTPSEEDS "1" "May 2004" "btsethttpseeds" "User Commands" +.SH NAME +Btsethttpseeds \- manual page for btsethttpseeds +.SH SYNOPSIS +.B btsethttpseeds +\fI file1.torrent \fR[\fIfile2.torrent\fR...] +.SH DESCRIPTION +.IP +Where: +.IP +http-seeds = list of seed URLs, in the format: +.IP +url[|url...] or 0 +.IP +if the list is a zero, any http seeds will be stripped. +.IP +Where: +.IP +http-seeds = list of seed URLs, in the format: +.IP +url[|url...] or 0 +.IP +if the list is a zero, any http seeds will be stripped. +.SH "SEE ALSO" +http://bittornado.org --- bittornado-0.3.10.orig/debian/btdownloadgui.bittornado.1 +++ bittornado-0.3.10/debian/btdownloadgui.bittornado.1 @@ -0,0 +1,256 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTDOWNLOADGUI "1" "August 2004" "btdownloadgui (bittornado)" "User Commands" +.SH NAME +Btdownloadgui \- GUI bittornado download interface +.SH SYNOPSIS +.B btdownloadgui +\fI\fR +.SH DESCRIPTION +GUI interface to download torrents. +.SH OPTIONS +This program follows the usual GNU command-line syntax, with long options +starting with two dashes ('-'). A summary of options is included below. + +.PP +\fB\-\-max_uploads\fR +.IP +the maximum number of uploads to allow at once. (defaults to 7) +.PP +\fB\-\-keepalive_interval\fR +.IP +number of seconds to pause between sending keepalives (defaults to 120.0) +.PP +\fB\-\-download_slice_size\fR +.IP +How many bytes to query for per request. (defaults to 16384) +.PP +\fB\-\-upload_unit_size\fR +.IP +when limiting upload rate, how many bytes to send at a time (defaults to 1460) +.PP +\fB\-\-request_backlog\fR +.IP +maximum number of requests to keep in a single pipe at once. (defaults to 10) +.PP +\fB\-\-max_message_length\fR +.IP +maximum length prefix encoding you'll accept over the wire - larger values get the +connection dropped. (defaults to 8388608) +.PP +\fB\-\-ip\fR +.IP +ip to report you have to the tracker. (defaults to '') +.PP +\fB\-\-minport\fR +.IP +minimum port to listen on, counts up if unavailable (defaults to 10000) +.PP +\fB\-\-maxport\fR +.IP +maximum port to listen on (defaults to 60000) +.PP +\fB\-\-random_port\fR +.IP +whether to choose randomly inside the port range instead of counting up linearly +(defaults to 1) +.PP +\fB\-\-responsefile\fR +.IP +file the server response was stored in, alternative to url (defaults to '') +.PP +\fB\-\-url\fR +.IP +url to get file from, alternative to responsefile (defaults to '') +.PP +\fB\-\-selector_enabled\fR +.IP +whether to enable the file selector and fast resume function (defaults to 1) +.PP +\fB\-\-expire_cache_data\fR +.IP +the number of days after which you wish to expire old cache data (0 = disabled) (defaults +to 10) +.PP +\fB\-\-priority\fR +.IP +a list of file priorities separated by commas, must be one per file, 0 = highest, 1 = +normal, 2 = lowest, \fB\-1\fR = download disabled (defaults to '') +.PP +\fB\-\-saveas\fR +.IP +local file name to save the file as, null indicates query user (defaults to '') +.PP +\fB\-\-timeout\fR +.IP +time to wait between closing sockets which nothing has been received on (defaults to +300.0) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out (defaults to 60.0) +.PP +\fB\-\-max_slice_length\fR +.IP +maximum length slice to send to peers, larger requests are ignored (defaults to 131072) +.PP +\fB\-\-max_rate_period\fR +.IP +maximum amount of time to guess the current rate estimate represents (defaults to 20.0) +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to '') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections (defaults to 1) +.PP +\fB\-\-upnp_nat_access\fR +.IP +attempt to autoconfigure a UPnP router to forward a server port (0 = disabled, 1 = mode 1 +[fast], 2 = mode 2 [slow]) (defaults to 1) +.PP +\fB\-\-upload_rate_fudge\fR +.IP +time equivalent of writing to kernel-level TCP buffer, for rate adjustment (defaults to +5.0) +.PP +\fB\-\-tcp_ack_fudge\fR +.IP +how much TCP ACK download overhead to add to upload rate calculations (0 = disabled) +(defaults to 0.029999999999999999) +.PP +\fB\-\-display_interval\fR +.IP +time between updates of displayed information (defaults to 0.5) +.PP +\fB\-\-rerequest_interval\fR +.IP +time to wait between requesting more peers (defaults to 300) +.PP +\fB\-\-min_peers\fR +.IP +minimum number of peers to not do rerequesting (defaults to 20) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has timed out (defaults +to 60) +.PP +\fB\-\-max_initiate\fR +.IP +number of peers at which to stop initiating new connections (defaults to 40) +.PP +\fB\-\-check_hashes\fR +.IP +whether to check hashes on disk (defaults to 1) +.PP +\fB\-\-max_upload_rate\fR +.IP +maximum kB/s to upload at (0 = no limit, \fB\-1\fR = automatic) (defaults to 0) +.PP +\fB\-\-max_download_rate\fR +.IP +maximum kB/s to download at (0 = no limit) (defaults to 0) +.PP +\fB\-\-alloc_type\fR +.IP +allocation type (may be normal, background, pre-allocate or sparse) (defaults to +\&'normal') +.PP +\fB\-\-alloc_rate\fR +.IP +rate (in MiB/s) to allocate space at using background allocation (defaults to 2.0) +.PP +\fB\-\-buffer_reads\fR +.IP +whether to buffer disk reads (defaults to 1) +.PP +\fB\-\-write_buffer_size\fR +.IP +the maximum amount of space to use for buffering disk writes (in megabytes, 0 = disabled) +(defaults to 4) +.PP +\fB\-\-snub_time\fR +.IP +seconds to wait for data to come in over a connection before assuming it's +semi-permanently choked (defaults to 30.0) +.PP +\fB\-\-spew\fR +.IP +whether to display diagnostic info to stdout (defaults to 0) +.PP +\fB\-\-rarest_first_cutoff\fR +.IP +number of downloads at which to switch from random to rarest first (defaults to 2) +.PP +\fB\-\-rarest_first_priority_cutoff\fR +.IP +the number of peers which need to have a piece before other partials take priority over +rarest first (defaults to 5) +.PP +\fB\-\-min_uploads\fR +.IP +the number of uploads to fill out to with extra optimistic unchokes (defaults to 4) +.PP +\fB\-\-max_files_open\fR +.IP +the maximum number of files to keep open at a time, 0 means no limit (defaults to 50) +.PP +\fB\-\-round_robin_period\fR +.IP +the number of seconds between the client's switching upload targets (defaults to 30) +.PP +\fB\-\-super_seeder\fR +.IP +whether to use special upload-efficiency-maximizing routines (only for dedicated seeds) +(defaults to 0) +.PP +\fB\-\-security\fR +.IP +whether to enable extra security features intended to prevent abuse (defaults to 1) +.PP +\fB\-\-max_connections\fR +.IP +the absolute maximum number of peers to connect with (0 = no limit) (defaults to 0) +.PP +\fB\-\-auto_kick\fR +.IP +whether to allow the client to automatically kick/ban peers that send bad data (defaults +to 1) +.PP +\fB\-\-double_check\fR +.IP +whether to double-check data being written to the disk for errors (may increase CPU load) +(defaults to 1) +.PP +\fB\-\-triple_check\fR +.IP +whether to thoroughly check data being written to the disk (may slow disk access) +(defaults to 0) +.PP +\fB\-\-lock_files\fR +.IP +whether to lock files the client is working with (defaults to 1) +.PP +\fB\-\-lock_while_reading\fR +.IP +whether to lock access to files being read (defaults to 0) +.PP +\fB\-\-auto_flush\fR +.IP +minutes between automatic flushes to disk (0 = disabled) (defaults to 0) +.PP +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR bittorrent-multi-downloader (1), +.BR btdownloadcurses (1), +.BR btdownloadheadless (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btcompletedirgui.bittornado.1 +++ bittornado-0.3.10/debian/btcompletedirgui.bittornado.1 @@ -0,0 +1,95 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTCOMPLETEDIRGUI "1" "May 2004" "btcompletedirgui" "User Commands" +.SH NAME +btcompletedirgui \- manual page for btcompletedirgui +.SH SYNOPSIS +.B btcompletedirgui +\fI \fR[\fIdir\fR...] [\fIparams\fR...] +.SH DESCRIPTION +makes a .torrent file for every file or directory present in each dir. +.PP +\fB\-\-announce_list\fR +.IP +a list of announce URLs - explained below (defaults to '') +.PP +\fB\-\-piece_size_pow2\fR +.IP +which power of 2 to set the piece size to (0 = automatic) (defaults +to 0) +.PP +\fB\-\-comment\fR +.IP +optional human-readable comment to put in .torrent (defaults to '') +.PP +\fB\-\-target\fR +.IP +optional target file for the torrent (defaults to '') +.IP +announce_list = optional list of redundant/backup tracker URLs, in the format: +.IP +url[,url...][|url[,url...]...] +.IP +where URLs separated by commas are all tried first +before the next group of URLs separated by the pipe is checked. +If none is given, it is assumed you don't want one in the metafile. +If announce_list is given, clients which support it +will ignore the value. +.IP +Examples: +.IP +http://tracker1.com|http://tracker2.com|http://tracker3.com +.IP +(tries trackers 1-3 in order) +.IP +http://tracker1.com,http://tracker2.com,http://tracker3.com +.IP +(tries trackers 1-3 in a randomly selected order) +.IP +http://tracker1.com|http://backup1.com,http://backup2.com +.IP +(tries tracker 1 first, then tries between the 2 backups randomly) +.PP +makes a .torrent file for every file or directory present in each dir. +.PP +\fB\-\-announce_list\fR +.IP +a list of announce URLs - explained below (defaults to '') +.PP +\fB\-\-piece_size_pow2\fR +.IP +which power of 2 to set the piece size to (0 = automatic) (defaults +to 0) +.PP +\fB\-\-comment\fR +.IP +optional human-readable comment to put in .torrent (defaults to '') +.PP +\fB\-\-target\fR +.IP +optional target file for the torrent (defaults to '') +.IP +announce_list = optional list of redundant/backup tracker URLs, in the format: +.IP +url[,url...][|url[,url...]...] +.IP +where URLs separated by commas are all tried first +before the next group of URLs separated by the pipe is checked. +If none is given, it is assumed you don't want one in the metafile. +If announce_list is given, clients which support it +will ignore the value. +.IP +Examples: +.IP +http://tracker1.com|http://tracker2.com|http://tracker3.com +.IP +(tries trackers 1-3 in order) +.IP +http://tracker1.com,http://tracker2.com,http://tracker3.com +.IP +(tries trackers 1-3 in a randomly selected order) +.IP +http://tracker1.com|http://backup1.com,http://backup2.com +.IP +(tries tracker 1 first, then tries between the 2 backups randomly) +.SH "SEE ALSO" +http://bittornado.org --- bittornado-0.3.10.orig/debian/watch +++ bittornado-0.3.10/debian/watch @@ -0,0 +1,3 @@ +# Site Directory Pattern Version Script +version=2 +http://www.bittornado.com/download/BitTornado-(.*)\.tar\.gz debian --- bittornado-0.3.10.orig/debian/bittornado.xpm +++ bittornado-0.3.10/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.10.orig/debian/bittornado-gui.postinst +++ bittornado-0.3.10/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.10.orig/debian/bittornado-gui.prerm +++ bittornado-0.3.10/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.10.orig/debian/NEWS +++ bittornado-0.3.10/debian/NEWS @@ -0,0 +1,9 @@ +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 --- bittornado-0.3.10.orig/debian/btmakemetafile.bittornado.1 +++ bittornado-0.3.10/debian/btmakemetafile.bittornado.1 @@ -0,0 +1,70 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTMAKEMETAFILE "1" "September 2004" +.SH NAME +Btmakemetafile \- manual page for btmakemetafile [file...] [params...] +.SH SYNOPSIS +.B btmakemetafile +\fI \fR[\fIfile\fR...] [\fIparams\fR...] +.SH DESCRIPTION +\fBbtmakemetafile\fP 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. +.PP +\fBbtmakemetafile\fP requires two arguments. The first is the +"announce" address of a tracker (ex. http://127.0.0.1:6969/announce), +the second is the file that you +wish to generate a torrent info file for. +.SH OPTIONS +.TP +\fB\-\-announce_list\fR +.IP +a list of announce tracker URLs for redundancy/backup (defaults to '') +.IP +the accepted format is: +.IP +url[,url...][|url[,url...]...] +.IP +where URLs separated by commas are all tried first +before the next group of URLs separated by the pipe is checked. +If none is given, it is assumed you don't want one in the metafile. +If announce_list is given, clients which support it +will ignore the value. +.IP +.PP +\fB\-\-piece_size_pow2\fR +.IP +which power of 2 to set the piece size to (0 = automatic) (defaults +to 0) +.PP +\fB\-\-comment\fR +.IP +optional human-readable comment to put in .torrent (defaults to '') +.PP +\fB\-\-target\fR +.IP +optional target file for the torrent (defaults to '') +.IP +.SH EXAMPLES +.IP +http://tracker1.com|http://tracker2.com|http://tracker3.com +.IP +(tries trackers 1-3 in order) +.IP +http://tracker1.com,http://tracker2.com,http://tracker3.com +.IP +(tries trackers 1-3 in a randomly selected order) +.IP +http://tracker1.com|http://backup1.com,http://backup2.com +.IP +(tries tracker 1 first, then tries between the 2 backups randomly) +.PP +.SH "SEE ALSO" +.BR bittorrent-downloader (1), +.BR btrename (1), +.BR btreannounce (1), +.BR bttrack (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/bittornado.desktop +++ bittornado-0.3.10/debian/bittornado.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=0.3.10 +Encoding=UTF-8 +Name=Bittornado Client +GenericName=Bittorrent Client +MultipleArgs=false +Exec=/usr/bin/btdownloadgui +test=test -n "$DISPLAY" +Type=Application +Icon=/usr/share/pixmaps/bittornado.xpm +MimeType=application/x-bittorrent; +NoDisplay=false +Categories=GNOME;Application;Internet; +Terminal=false --- bittornado-0.3.10.orig/debian/bittornado-gui.manpages +++ bittornado-0.3.10/debian/bittornado-gui.manpages @@ -0,0 +1,3 @@ +debian/btdownloadgui.bittornado.1 +debian/btcompletedirgui.bittornado.1 +debian/btmaketorrentgui.1 --- bittornado-0.3.10.orig/debian/bittorrent-multi-downloader.bittornado.1 +++ bittornado-0.3.10/debian/bittorrent-multi-downloader.bittornado.1 @@ -0,0 +1,31 @@ +.TH "BITTORRENT-MULTI-DOWNLOADER" 1 "Jan 18 2003" +.SH NAME +bittorrent-multi-downloader \- multiple file clients for bittorrent +.SH SYNOPSIS +.nf +.B btlaunchmany \fIdirname\fP [ option ... ] +.B btlaunchmanycurses \fIdirname\fP [ option ... ] +.fi +.SH DESCRIPTION +This manual page documents briefly the \fBbtlaunchmany\fP and +\fBbtlaunchmanycurses\fP commands. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBbtlaunchmany\fP is a program that eases the use of +bittorrent in multiple-downloader situations. The program checks +a directory for torrent files. When it finds any, it starts a +separate downloader thread for each file. +.SH OPTIONS + +These programs have the exact same options as the normal +downloaders, which are documented in \fBbittorrent-downloader\fP(1). + +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1), +.BR bttrack (1). +.br +.SH AUTHOR +This manual page was written by Michael Janssen , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/btmaketorrentgui.1 +++ bittornado-0.3.10/debian/btmaketorrentgui.1 @@ -0,0 +1,53 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH "BTMAKETORRENTGUI" 1 "Sep 3 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +btmaketorrentgui \- program to generate torrent info files for bittorrent +.SH SYNOPSIS +.B btmaketorrentgui +.SH DESCRIPTION +This manual page documents briefly the \fBbtmaketorrentgui\fP +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBbtmaketorrentgui\fP is a GUI interface to btmakemetafile, it generates +the torrent info files which are distributed to bittorrent clients +(usually via the WWW) in order to inform them where the designated tracker +for the torrent is located, and to allow them to verify the file's contents. +.PP +\fBbtmaketorrentgui\fP does not require arguments like btmakemetafiles does, +everything is done in the GUI interface. The first box in the GUI is the +file that the torrent info file will be generated for, the second is the +"announce" address of a tracker (ex. http://my.tracker:6969/announce). The +third box is for a list of announces, separated by commas or whitespace and on +several lines, this is not required. Additionally, you can set a piece size +or an optional comment. +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btrename (1), +.BR btreannounce (1), +.BR bttrack (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson and was +based on the manual page for btmakemetafile written for the bittorrent package +by Michael Janssen for the Debian GNU/Linux system +(but may be used by others). --- bittornado-0.3.10.orig/debian/changelog +++ bittornado-0.3.10/debian/changelog @@ -0,0 +1,184 @@ +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.10.orig/debian/bittornado.postinst +++ bittornado-0.3.10/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.10.orig/debian/bittornado.prerm +++ bittornado-0.3.10/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.10.orig/debian/rules +++ bittornado-0.3.10/debian/rules @@ -0,0 +1,89 @@ +#!/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 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +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: patch + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build/ BitTornado/*.pyc *.pyc + dh_clean + +install: patch build + + + 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 -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/lib/python$(PYTHON_VERSION)/site-packages/BitTornado/launchmanycore.py + cp debian/tmp/usr/bin/btmakemetafile.py debian/tmp/usr/lib/python$(PYTHON_VERSION)/site-packages/BitTornado + cp debian/tmp/usr/bin/btcompletedir.py debian/tmp/usr/lib/python$(PYTHON_VERSION)/site-packages/BitTornado + +# 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_python + 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.10.orig/debian/bittornado.mime +++ bittornado-0.3.10/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.10.orig/debian/bittornado-gui.install +++ bittornado-0.3.10/debian/bittornado-gui.install @@ -0,0 +1,4 @@ +usr/bin/*gui* +usr/share/icons/bittornado/* +usr/share/man/man1/*gui* +usr/share/pixmaps --- bittornado-0.3.10.orig/debian/bittornado.manpages +++ bittornado-0.3.10/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.10.orig/debian/dirs +++ bittornado-0.3.10/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/bittorrent +usr/share/icons/bittornado --- bittornado-0.3.10.orig/debian/copyright +++ bittornado-0.3.10/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.10.orig/debian/btdownloadheadless.bittornado.1 +++ bittornado-0.3.10/debian/btdownloadheadless.bittornado.1 @@ -0,0 +1,280 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTDOWNLOADHEADLESS "1" "August 2004" "btdownloadheadless (bittornado)" "User Commands" +.SH NAME +btdownloadheadless \- headless bittornado download interface +.SH DESCRIPTION +Downloads torrents in the same manner as btdownloadcurses or +btdownloadgui, but does not require a terminal to stay alive. +.SH OPTIONS +This program follows the usual GNU command-line syntax, with long options +starting with two dashes ('-'). A summary of options is included below. + +.PP +\fB\-\-max_uploads\fR +.IP +the maximum number of uploads to allow at once. (defaults to 7) +.PP +\fB\-\-keepalive_interval\fR +.IP +number of seconds to pause between sending keepalives (defaults to +120.0) +.PP +\fB\-\-download_slice_size\fR +.IP +How many bytes to query for per request. (defaults to 16384) +.PP +\fB\-\-upload_unit_size\fR +.IP +when limiting upload rate, how many bytes to send at a time (defaults +to 1460) +.PP +\fB\-\-request_backlog\fR +.IP +maximum number of requests to keep in a single pipe at once. +(defaults to 10) +.PP +\fB\-\-max_message_length\fR +.IP +maximum length prefix encoding you'll accept over the wire - larger +values get the connection dropped. (defaults to 8388608) +.PP +\fB\-\-ip\fR +.IP +ip to report you have to the tracker. (defaults to '') +.PP +\fB\-\-minport\fR +.IP +minimum port to listen on, counts up if unavailable (defaults to +10000) +.PP +\fB\-\-maxport\fR +.IP +maximum port to listen on (defaults to 60000) +.PP +\fB\-\-random_port\fR +.IP +whether to choose randomly inside the port range instead of counting +up linearly (defaults to 1) +.PP +\fB\-\-responsefile\fR +.IP +file the server response was stored in, alternative to url (defaults +to '') +.PP +\fB\-\-url\fR +.IP +url to get file from, alternative to responsefile (defaults to '') +.PP +\fB\-\-selector_enabled\fR +.IP +whether to enable the file selector and fast resume function +(defaults to 1) +.PP +\fB\-\-expire_cache_data\fR +.IP +the number of days after which you wish to expire old cache data (0 = +disabled) (defaults to 10) +.PP +\fB\-\-priority\fR +.IP +a list of file priorities separated by commas, must be one per file, +0 = highest, 1 = normal, 2 = lowest, \fB\-1\fR = download disabled (defaults +to '') +.PP +\fB\-\-saveas\fR +.IP +local file name to save the file as, null indicates query user +(defaults to '') +.PP +\fB\-\-timeout\fR +.IP +time to wait between closing sockets which nothing has been received +on (defaults to 300.0) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out +(defaults to 60.0) +.PP +\fB\-\-max_slice_length\fR +.IP +maximum length slice to send to peers, larger requests are ignored +(defaults to 131072) +.PP +\fB\-\-max_rate_period\fR +.IP +maximum amount of time to guess the current rate estimate represents +(defaults to 20.0) +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to +\&'') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections +(defaults to 1) +.PP +\fB\-\-upnp_nat_access\fR +.IP +attempt to autoconfigure a UPnP router to forward a server port (0 = +disabled, 1 = mode 1 [fast], 2 = mode 2 [slow]) (defaults to 1) +.PP +\fB\-\-upload_rate_fudge\fR +.IP +time equivalent of writing to kernel-level TCP buffer, for rate +adjustment (defaults to 5.0) +.PP +\fB\-\-tcp_ack_fudge\fR +.IP +how much TCP ACK download overhead to add to upload rate calculations +(0 = disabled) (defaults to 0.029999999999999999) +.PP +\fB\-\-display_interval\fR +.IP +time between updates of displayed information (defaults to 0.5) +.PP +\fB\-\-rerequest_interval\fR +.IP +time to wait between requesting more peers (defaults to 300) +.PP +\fB\-\-min_peers\fR +.IP +minimum number of peers to not do rerequesting (defaults to 20) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has +timed out (defaults to 60) +.PP +\fB\-\-max_initiate\fR +.IP +number of peers at which to stop initiating new connections (defaults +to 40) +.PP +\fB\-\-check_hashes\fR +.IP +whether to check hashes on disk (defaults to 1) +.PP +\fB\-\-max_upload_rate\fR +.IP +maximum kB/s to upload at (0 = no limit, \fB\-1\fR = automatic) (defaults to +0) +.PP +\fB\-\-max_download_rate\fR +.IP +maximum kB/s to download at (0 = no limit) (defaults to 0) +.PP +\fB\-\-alloc_type\fR +.IP +allocation type (may be normal, background, pre-allocate or sparse) +(defaults to 'normal') +.PP +\fB\-\-alloc_rate\fR +.IP +rate (in MiB/s) to allocate space at using background allocation +(defaults to 2.0) +.PP +\fB\-\-buffer_reads\fR +.IP +whether to buffer disk reads (defaults to 1) +.PP +\fB\-\-write_buffer_size\fR +.IP +the maximum amount of space to use for buffering disk writes (in +megabytes, 0 = disabled) (defaults to 4) +.PP +\fB\-\-snub_time\fR +.IP +seconds to wait for data to come in over a connection before assuming +it's semi-permanently choked (defaults to 30.0) +.PP +\fB\-\-spew\fR +.IP +whether to display diagnostic info to stdout (defaults to 0) +.PP +\fB\-\-rarest_first_cutoff\fR +.IP +number of downloads at which to switch from random to rarest first +(defaults to 2) +.PP +\fB\-\-rarest_first_priority_cutoff\fR +.IP +the number of peers which need to have a piece before other partials +take priority over rarest first (defaults to 5) +.PP +\fB\-\-min_uploads\fR +.IP +the number of uploads to fill out to with extra optimistic unchokes +(defaults to 4) +.PP +\fB\-\-max_files_open\fR +.IP +the maximum number of files to keep open at a time, 0 means no limit +(defaults to 50) +.PP +\fB\-\-round_robin_period\fR +.IP +the number of seconds between the client's switching upload targets +(defaults to 30) +.PP +\fB\-\-super_seeder\fR +.IP +whether to use special upload-efficiency-maximizing routines (only +for dedicated seeds) (defaults to 0) +.PP +\fB\-\-security\fR +.IP +whether to enable extra security features intended to prevent abuse +(defaults to 1) +.PP +\fB\-\-max_connections\fR +.IP +the absolute maximum number of peers to connect with (0 = no limit) +(defaults to 0) +.PP +\fB\-\-auto_kick\fR +.IP +whether to allow the client to automatically kick/ban peers that send +bad data (defaults to 1) +.PP +\fB\-\-double_check\fR +.IP +whether to double-check data being written to the disk for errors +(may increase CPU load) (defaults to 1) +.PP +\fB\-\-triple_check\fR +.IP +whether to thoroughly check data being written to the disk (may slow +disk access) (defaults to 0) +.PP +\fB\-\-lock_files\fR +.IP +whether to lock files the client is working with (defaults to 1) +.PP +\fB\-\-lock_while_reading\fR +.IP +whether to lock access to files being read (defaults to 0) +.PP +\fB\-\-auto_flush\fR +.IP +minutes between automatic flushes to disk (0 = disabled) (defaults to +0) +.PP +\fB\-\-save_options\fR +.IP +whether to save the current options as the new default configuration +(only for btdownloadheadless.py) (defaults to 0) +.PP +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). --- bittornado-0.3.10.orig/debian/bittornado.install +++ bittornado-0.3.10/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/lib --- bittornado-0.3.10.orig/debian/btlaunchmanycurses.bittornado.1 +++ bittornado-0.3.10/debian/btlaunchmanycurses.bittornado.1 @@ -0,0 +1,301 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH BTLAUNCHMANYCURSES "1" "August 2004" "btlaunchmanycurses (bittornado)" +.SH NAME +Btlaunchmanycurses \- launch multi torrent downloads, curses interface +.SH SYNOPSIS +.B btlaunchmanycurses +\fI \fR +.SH DESCRIPTION +Launches a separate torrent download thread for each .torrent file in +the directory specified by , using the curses interface. +.SH OPTIONS +This program follows the usual GNU command-line syntax, with long options +starting with two dashes ('-'). A summary of options is included below. +.PP + - directory to look for .torrent files (semi-recursive) +.PP +\fB\-\-max_uploads\fR +.IP +the maximum number of uploads to allow at once. (defaults to 7) +.PP +\fB\-\-keepalive_interval\fR +.IP +number of seconds to pause between sending keepalives (defaults to +120.0) +.PP +\fB\-\-download_slice_size\fR +.IP +How many bytes to query for per request. (defaults to 16384) +.PP +\fB\-\-upload_unit_size\fR +.IP +when limiting upload rate, how many bytes to send at a time (defaults +to 1460) +.PP +\fB\-\-request_backlog\fR +.IP +maximum number of requests to keep in a single pipe at once. +(defaults to 10) +.PP +\fB\-\-max_message_length\fR +.IP +maximum length prefix encoding you'll accept over the wire - larger +values get the connection dropped. (defaults to 8388608) +.PP +\fB\-\-ip\fR +.IP +ip to report you have to the tracker. (defaults to '') +.PP +\fB\-\-minport\fR +.IP +minimum port to listen on, counts up if unavailable (defaults to +10000) +.PP +\fB\-\-maxport\fR +.IP +maximum port to listen on (defaults to 60000) +.PP +\fB\-\-random_port\fR +.IP +whether to choose randomly inside the port range instead of counting +up linearly (defaults to 1) +.PP +\fB\-\-responsefile\fR +.IP +file the server response was stored in, alternative to url (defaults +to '') +.PP +\fB\-\-url\fR +.IP +url to get file from, alternative to responsefile (defaults to '') +.PP +\fB\-\-selector_enabled\fR +.IP +whether to enable the file selector and fast resume function +(defaults to 1) +.PP +\fB\-\-expire_cache_data\fR +.IP +the number of days after which you wish to expire old cache data (0 = +disabled) (defaults to 10) +.PP +\fB\-\-priority\fR +.IP +a list of file priorities separated by commas, must be one per file, +0 = highest, 1 = normal, 2 = lowest, \fB\-1\fR = download disabled (defaults +to '') +.PP +\fB\-\-saveas\fR +.IP +local file name to save the file as, null indicates query user +(defaults to '') +.PP +\fB\-\-timeout\fR +.IP +time to wait between closing sockets which nothing has been received +on (defaults to 300.0) +.PP +\fB\-\-timeout_check_interval\fR +.IP +time to wait between checking if any connections have timed out +(defaults to 60.0) +.PP +\fB\-\-max_slice_length\fR +.IP +maximum length slice to send to peers, larger requests are ignored +(defaults to 131072) +.PP +\fB\-\-max_rate_period\fR +.IP +maximum amount of time to guess the current rate estimate represents +(defaults to 20.0) +.PP +\fB\-\-bind\fR +.IP +comma-separated list of ips/hostnames to bind to locally (defaults to +\&'') +.PP +\fB\-\-ipv6_enabled\fR +.IP +allow the client to connect to peers via IPv6 (defaults to 0) +.PP +\fB\-\-ipv6_binds_v4\fR +.IP +set if an IPv6 server socket will also field IPv4 connections +(defaults to 1) +.PP +\fB\-\-upnp_nat_access\fR +.IP +attempt to autoconfigure a UPnP router to forward a server port (0 = +disabled, 1 = mode 1 [fast], 2 = mode 2 [slow]) (defaults to 1) +.PP +\fB\-\-upload_rate_fudge\fR +.IP +time equivalent of writing to kernel-level TCP buffer, for rate +adjustment (defaults to 5.0) +.PP +\fB\-\-tcp_ack_fudge\fR +.IP +how much TCP ACK download overhead to add to upload rate calculations +(0 = disabled) (defaults to 0.029999999999999999) +.PP +\fB\-\-display_interval\fR +.IP +time between updates of displayed information (defaults to 0.5) +.PP +\fB\-\-rerequest_interval\fR +.IP +time to wait between requesting more peers (defaults to 300) +.PP +\fB\-\-min_peers\fR +.IP +minimum number of peers to not do rerequesting (defaults to 20) +.PP +\fB\-\-http_timeout\fR +.IP +number of seconds to wait before assuming that an http connection has +timed out (defaults to 60) +.PP +\fB\-\-max_initiate\fR +.IP +number of peers at which to stop initiating new connections (defaults +to 40) +.PP +\fB\-\-check_hashes\fR +.IP +whether to check hashes on disk (defaults to 1) +.PP +\fB\-\-max_upload_rate\fR +.IP +maximum kB/s to upload at (0 = no limit, \fB\-1\fR = automatic) (defaults to +0) +.PP +\fB\-\-max_download_rate\fR +.IP +maximum kB/s to download at (0 = no limit) (defaults to 0) +.PP +\fB\-\-alloc_type\fR +.IP +allocation type (may be normal, background, pre-allocate or sparse) +(defaults to 'normal') +.PP +\fB\-\-alloc_rate\fR +.IP +rate (in MiB/s) to allocate space at using background allocation +(defaults to 2.0) +.PP +\fB\-\-buffer_reads\fR +.IP +whether to buffer disk reads (defaults to 1) +.PP +\fB\-\-write_buffer_size\fR +.IP +the maximum amount of space to use for buffering disk writes (in +megabytes, 0 = disabled) (defaults to 4) +.PP +\fB\-\-snub_time\fR +.IP +seconds to wait for data to come in over a connection before assuming +it's semi-permanently choked (defaults to 30.0) +.PP +\fB\-\-spew\fR +.IP +whether to display diagnostic info to stdout (defaults to 0) +.PP +\fB\-\-rarest_first_cutoff\fR +.IP +number of downloads at which to switch from random to rarest first +(defaults to 2) +.PP +\fB\-\-rarest_first_priority_cutoff\fR +.IP +the number of peers which need to have a piece before other partials +take priority over rarest first (defaults to 5) +.PP +\fB\-\-min_uploads\fR +.IP +the number of uploads to fill out to with extra optimistic unchokes +(defaults to 4) +.PP +\fB\-\-max_files_open\fR +.IP +the maximum number of files to keep open at a time, 0 means no limit +(defaults to 50) +.PP +\fB\-\-round_robin_period\fR +.IP +the number of seconds between the client's switching upload targets +(defaults to 30) +.PP +\fB\-\-super_seeder\fR +.IP +whether to use special upload-efficiency-maximizing routines (only +for dedicated seeds) (defaults to 0) +.PP +\fB\-\-security\fR +.IP +whether to enable extra security features intended to prevent abuse +(defaults to 1) +.PP +\fB\-\-max_connections\fR +.IP +the absolute maximum number of peers to connect with (0 = no limit) +(defaults to 0) +.PP +\fB\-\-auto_kick\fR +.IP +whether to allow the client to automatically kick/ban peers that send +bad data (defaults to 1) +.PP +\fB\-\-double_check\fR +.IP +whether to double-check data being written to the disk for errors +(may increase CPU load) (defaults to 1) +.PP +\fB\-\-triple_check\fR +.IP +whether to thoroughly check data being written to the disk (may slow +disk access) (defaults to 0) +.PP +\fB\-\-lock_files\fR +.IP +whether to lock files the client is working with (defaults to 1) +.PP +\fB\-\-lock_while_reading\fR +.IP +whether to lock access to files being read (defaults to 0) +.PP +\fB\-\-auto_flush\fR +.IP +minutes between automatic flushes to disk (0 = disabled) (defaults to +0) +.PP +\fB\-\-parse_dir_interval\fR +.IP +how often to rescan the torrent directory, in seconds (defaults to +60) +.PP +\fB\-\-saveas_style\fR +.IP +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 2) +.PP +\fB\-\-display_path\fR +.IP +whether to display the full path or the torrent contents for each +torrent (defaults to 0) +.PP +\fB\-\-save_options\fR +.IP +whether to save the current options as the new default configuration +(only for btlaunchmanycurses.py) (defaults to 0) +.PP +.SH SEE ALSO +.BR bittorrent-downloader (1), +.BR btmakemetafile (1). +.br +.SH AUTHOR +This manual page was written by Micah Anderson , +for the Debian GNU/Linux system (but may be used by others). + --- bittornado-0.3.10.orig/debian/README.Debian +++ bittornado-0.3.10/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 +