Update of /cvsroot/fink/experimental/todai/ecc/main/finkinfo/net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13373

Added Files:
        bittorrent.info bittorrent.patch 
Log Message:
Testing..

--- NEW FILE: bittorrent.info ---
Info2: <<
Package: bittorrent%type_pkg[-x11]
Version: 4.4.0
Revision: 1
Maintainer: Hisashi Todd Fujinaka <[EMAIL PROTECTED]>
Type: -x11 (boolean)
Depends: (%type_raw[-x11] = -x11) wxpython-py24, python24
Conflicts: bittorrent, bittorrent-x11, bittorrent-nox
Replaces: bittorrent, bittorrent-x11, bittorrent-nox
Source: http://www.bittorrent.com/dl/BitTorrent-%v.tar.gz
Source-MD5: 74d4b48202c28f0b27e989b6d5f5b214
PatchScript: <<
#!/bin/sh -e
if [ "%type_raw[-x11]" != "-x11" ]; then
        sed 's:@PREFIX@:%p:g' <%a/%{n}.patch | patch -p1
fi
<<
CompileScript: echo "No Compile Script"
InstallScript: python2.4 setup.py install --root=%d
DocFiles: INSTALL.unix.txt LICENSE.txt README.txt credits.txt
Description: Tool for distributing files
DescDetail: <<
  BitTorrent is a tool for distributing files. It's extremely
  easy to use - downloads are started by clicking on hyperlinks.
  Whenever more than one person is downloading at once
  they send pieces of the file(s) to each other, thus relieving
  the central server's bandwidth burden. Even with many
  simultaneous downloads, the upload burden on the central server
  remains quite small, since each new downloader introduces new
  upload capacity.

  This package contains the tools which are used for console-only
  downloading.  If you want the GUI interface, install the
  bittorrent-gui package.
<<
DescUsage: <<
Please refer to 'README.txt' and 'FAQ.txt' which can be found in 
'/sw/share/doc/bittorrent'.
<<
License: GPL
Homepage: http://bitconjurer.org/BitTorrent
<<

--- NEW FILE: bittorrent.patch ---
diff -ruN BitTorrent-4.0.0/BitTorrent/Storage.py 
BitTorrent-4.0.0-mod/BitTorrent/Storage.py
--- BitTorrent-4.0.0/BitTorrent/Storage.py      Sun Mar  6 21:56:08 2005
+++ BitTorrent-4.0.0-mod/BitTorrent/Storage.py  Wed Mar  9 17:08:55 2005
@@ -187,7 +187,7 @@
             h.seek(begin)
             h.write(s[total: total + end - begin])
             total += end - begin
-
+   
     def close(self):
         error = None
         for filename in self.handles.keys():
diff -ruN BitTorrent-4.0.0/BitTorrent/spewout.py 
BitTorrent-4.0.0-mod/BitTorrent/spewout.py
--- BitTorrent-4.0.0/BitTorrent/spewout.py      Wed Dec 31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/BitTorrent/spewout.py  Wed Mar  9 17:08:55 2005
@@ -0,0 +1,44 @@
+
+# This file created for Debian because btdownloadcurses can't 
+# find btdownloadheadless because we rename it.
+
+def print_spew(spew):
+    s = StringIO()
+    s.write('\n\n\n')
+    for c in spew:
+        s.write('%20s ' % c['ip'])
+        if c['initiation'] == 'local':
+            s.write('l')
+        else:
+            s.write('r')
+        rate, interested, choked = c['upload']
+        s.write(' %10s ' % str(int(rate)))
+        if c['is_optimistic_unchoke']:
+            s.write('*')
+        else:
+            s.write(' ')
+        if interested:
+            s.write('i')
+        else:
+            s.write(' ')
+        if choked:
+            s.write('c')
+        else:
+            s.write(' ')
+
+        rate, interested, choked, snubbed = c['download']
+        s.write(' %10s ' % str(int(rate)))
+        if interested:
+            s.write('i')
+        else:
+            s.write(' ')
+        if choked:
+            s.write('c')
+        else:
+            s.write(' ')
+        if snubbed:
+            s.write('s')
+        else:
+            s.write(' ')
+        s.write('\n')
+    print s.getvalue()
diff -ruN BitTorrent-4.0.0/BitTorrent/track.py 
BitTorrent-4.0.0-mod/BitTorrent/track.py
--- BitTorrent-4.0.0/BitTorrent/track.py        Sun Mar  6 21:56:08 2005
+++ BitTorrent-4.0.0-mod/BitTorrent/track.py    Wed Mar  9 17:08:55 2005
@@ -365,7 +365,7 @@
                             szt = sz * n   # Transferred for this torrent
                             tt = tt + szt
                             if self.allow_get == 1:
-                                linkname = '<a href="/file?info_hash=' + 
quote(infohash) + '">' + name + '</a>'
+                                linkname = '<a href="/file?info_hash=' + 
b2a_hex(infohash) + '">' + name + '</a>'
                             else:
                                 linkname = name
                             
s.write('<tr><td><code>%s</code></td><td>%s</td><td align="right">%s</td><td 
align="right">%i</td><td align="right">%i</td><td align="right">%i</td><td 
align="right">%s</td></tr>\n' \
@@ -415,7 +415,7 @@
                 return (400, 'Not Authorized', {'Content-Type': 'text/plain', 
'Pragma': 'no-cache'},
                     bencode({'failure reason':
                     'specific scrape function is not available with this 
tracker.'}))
-            for infohash in paramslist['info_hash']:
+            for infohash in a2b_hex(paramslist['info_hash']):
                 if self.allowed is not None and infohash not in self.allowed:
                     continue
                 if infohash in self.downloads:
@@ -671,14 +671,14 @@
             if path == 'scrape':
                 return self.get_scrape(paramslist)
             if (path == 'file'):
-                return self.get_file(params('info_hash'))
+                return self.get_file(a2b_hex(params('info_hash')))
             if path == 'favicon.ico' and self.favicon is not None:
                 return (200, 'OK', {'Content-Type' : 'image/x-icon'}, 
self.favicon)
             if path != 'announce':
                 return (404, 'Not Found', {'Content-Type': 'text/plain', 
'Pragma': 'no-cache'}, alas)
 
             # main tracker function
-            infohash = params('info_hash')
+            infohash = a2b_hex(params('info_hash'))
             if not infohash:
                 raise ValueError, 'no info hash'
 
diff -ruN BitTorrent-4.0.0/debian/bittorrent-downloader.bittorrent.1 
BitTorrent-4.0.0-mod/debian/bittorrent-downloader.bittorrent.1
--- BitTorrent-4.0.0/debian/bittorrent-downloader.bittorrent.1  Wed Dec 31 
18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/bittorrent-downloader.bittorrent.1      Wed Mar 
 9 17:14:46 2005
@@ -0,0 +1,136 @@
+.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).
+
+More information on the \fBBitTorrent\fR protocol used for distributing files 
is available
+at
+.B http://bitconjurer.org/BitTorrent/protocol.html
+
+You will also find a full description on the advantages of the protocol in the 
academic paper
+.B "Incentives Build Robustness in BitTorrent"
+available at
+.B http://bitconjurer.org/BitTorrent/bittorrentecon.pdf
+.br
+.SH AUTHOR
+This manual page was written by Michael Janssen <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
diff -ruN BitTorrent-4.0.0/debian/bittorrent-multi-downloader.bittorrent.1 
BitTorrent-4.0.0-mod/debian/bittorrent-multi-downloader.bittorrent.1
--- BitTorrent-4.0.0/debian/bittorrent-multi-downloader.bittorrent.1    Wed Dec 
31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/bittorrent-multi-downloader.bittorrent.1        
Wed Mar  9 17:14:46 2005
@@ -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 <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
diff -ruN BitTorrent-4.0.0/debian/btmakemetafile.bittorrent.1 
BitTorrent-4.0.0-mod/debian/btmakemetafile.bittorrent.1
--- BitTorrent-4.0.0/debian/btmakemetafile.bittorrent.1 Wed Dec 31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/btmakemetafile.bittorrent.1     Wed Mar  9 
17:14:46 2005
@@ -0,0 +1,52 @@
+.\"                                      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 "BTMAKEMETAFILE" 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 <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+btmakemetafile \- program to generate torrent info files for bittorrent
+.SH SYNOPSIS
+.B btmakemetafile \fIfile\fP \fItracker_announce_address\fP [ option ... ] 
+.SH DESCRIPTION
+This manual page documents briefly the \fBbtmakemetafile\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<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBbtmakemetafile\fP is a program that 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
+\fBbtmakemetafile\fP takes two arguments.  Both are required.  The first
+is the file that the torrent info file will be generated for.  The second is 
+the "announce" address of a tracker (ex. http://127.0.0.1:6969/announce).
+.SH OPTIONS
+.TP
+.B \-\-piece_size_pow2 \fIarg\fP
+which power of 2 to set the piece size to (default: 18)
+
+.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 Michael Janssen <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
diff -ruN BitTorrent-4.0.0/debian/btreannounce.bittorrent.1 
BitTorrent-4.0.0-mod/debian/btreannounce.bittorrent.1
--- BitTorrent-4.0.0/debian/btreannounce.bittorrent.1   Wed Dec 31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/btreannounce.bittorrent.1       Wed Mar  9 
17:14:46 2005
@@ -0,0 +1,43 @@
+.\"                                      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 <n>    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
+\fBbtreannounce\fP \fIurl\fP \fItorrent\fP [ \fItorrent\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<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBbtreannounce\fP is a program which will change the announce 
+address of one or more existing torrent files.  
+The torrent files will be modified to use the new 
+announce url given by the \fIurl\fP argument.
+
+.SH SEE ALSO
+.BR bittorrent-downloader (1),
+.BR btmakemetafile (1),
+.BR btrename (1).
+.br
+.SH AUTHOR
+This manual page was written by Michael Janssen <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
diff -ruN BitTorrent-4.0.0/debian/btrename.bittorrent.1 
BitTorrent-4.0.0-mod/debian/btrename.bittorrent.1
--- BitTorrent-4.0.0/debian/btrename.bittorrent.1       Wed Dec 31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/btrename.bittorrent.1   Wed Mar  9 17:14:46 2005
@@ -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 <n>    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<whatever>\fP and
+.\" \fI<whatever>\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 <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
diff -ruN BitTorrent-4.0.0/debian/btshowmetainfo.bittorrent.1 
BitTorrent-4.0.0-mod/debian/btshowmetainfo.bittorrent.1
--- BitTorrent-4.0.0/debian/btshowmetainfo.bittorrent.1 Wed Dec 31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/btshowmetainfo.bittorrent.1     Wed Mar  9 
17:14:46 2005
@@ -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 <n>    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<whatever>\fP and
+.\" \fI<whatever>\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 <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
diff -ruN BitTorrent-4.0.0/debian/bttrack.bittorrent.1 
BitTorrent-4.0.0-mod/debian/bttrack.bittorrent.1
--- BitTorrent-4.0.0/debian/bttrack.bittorrent.1        Wed Dec 31 18:00:00 1969
+++ BitTorrent-4.0.0-mod/debian/bttrack.bittorrent.1    Wed Mar  9 17:14:46 2005
@@ -0,0 +1,88 @@
+.\"                                      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 "BTTRACK" 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 <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+bttrack \- tracker for bittorrent
+.SH SYNOPSIS
+.B bttrack \fI [ option ... ]
+.SH DESCRIPTION
+This manual page documents briefly the \fIbttrack\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<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBbttrack\fP is a program that serves as a "tracker" for 
+bittorrent clients.  This program keeps track of the completion
+of each client, and communcates that information when requested
+to other clients.
+.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 \-\-port \fIportnum\fP
+listen on port \fIportnum\fP (default 80)
+.TP
+.B \-\-dfile \fIfilename\fP
+store recent downloader info in \fIfilename\fP
+.TP
+.B \-\-bind \fIip\fP
+bind to \fIip\fP instead of the default
+.TP
+.B \-\-socket_timeout \fIsecs\fP
+timeout for closing connections (default 15)
+.TP
+.B \-\-save_dfile_interval \fIsecs\fP
+seconds between saving dfile (default 300)
+.TP
+.B \-\-timeout_downloaders_interval \fIsecs\fP
+seconds between expiring downloaders (default 2700)
+.TP
+.B \-\-reannounce_interval \fIsecs\fP
+seconds downloaders should wait between reannouncements (default 1800)
+.TP
+.B \-\-response_size \fInum\fP
+number of peers to send in an info message (default 50)
+.TP
+.B \-\-timeout_check_interval \fIsecs\fP
+time to wait between checking if any connections have timed out (default 5)
+.TP
+.B \-\-nat_check \fI[ 1 | 0 ]\fP
+whether to check back and ban downloaders behind NAT (default 1)
+.TP
+.B \-\-min_time_between_log_flushes \fIsecs\fP
+minimum time it must have been since the last flush to do another one (default 
3.0)
+.TP
+.B \-\-allowed_dir \fIpath\fP
+only allow downloads for .torrents in this directory (default '')
+.TP
+.B \-\-parse_allowed_interval \fImins\fP
+minutes between reloading of allowed_dir (default 15)
+.TP
+.B \-\-show_names \fI[ 1 | 0 ]\fP
+whether to display names from alowed dir (default 1)
+
+.SH SEE ALSO
+.BR bittorrent-downloader (1),
+.BR btmakemetafile (1).
+.br
+.SH AUTHOR
+This manual page was written by Michael Janssen <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to