<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><atom:link href="http://claudiusmaximus.goto10.org/cm/torrent.xml" rel="self" type="application/rss+xml"/><title>torrent :: ClaudiusMaximus</title><link>http://claudiusmaximus.goto10.org/cm/torrent.html</link><description>ClaudiusMaximus torrent feed</description><item><title>buildtorrent-0.8 released</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p><strong>buildtorrent</strong> is a simple command-line .torrent file creation tool.</p>
<p>buildtorrent 0.8 (2010-01-31) comfy chair</p>
<p>Changes since <a href="2008-04-13_buildtorrent-0.7_released.html" title="buildtorrent 0.7">buildtorrent 0.7</a> (2008-04-13):</p>
<p>Fixed bugs:</p>
<ul>
<li>announce-list segfault on 64bit</li>
</ul>
<p>New features:</p>
<ul>
<li>webseed url-list (-w)</li>
<li>piece length as a power of 2 (-L)</li>
<li>torrent name (-n)</li>
<li>external file list (-f)</li>
</ul>
<p>New homepage:</p>
<ul>
<li><a href="http://claudiusmaximus.goto10.org/cm/torrent.html" title="buildtorrent news">http://claudiusmaximus.goto10.org/cm/torrent.html</a></li>
</ul>
<p>New repository:</p>
<ul>
<li><a href="http://gitorious.org/buildtorrent" title="buildtorrent code">http://gitorious.org/buildtorrent</a></li>
</ul>
<p>The transition from 0.7 to 0.8 involved some extensive code
reorganisation to make it possible to add the new features:
as with any such extensive change, this may have introduced
new bugs.  If you find a bug, please report it.</p>
<p>Download the release tarball: <a href="http://claudiusmaximus.goto10.org/files/coding/buildtorrent/buildtorrent-0.8.tar.gz" title="buildtorrent-0.8.tar.gz">buildtorrent-0.8.tar.gz</a></p>
<p>Checksums:</p>
<blockquote><pre>
3bba072cc89d2b8b4198c85734e39302 *buildtorrent-0.8.tar.gz
32694478ddef91453dc85ab7a2e659132adadeb6 *buildtorrent-0.8.tar.gz
</pre></blockquote>
<p>Manual page:</p>
<blockquote>
<h4>Synopsis</h4>
<p><strong>buildtorrent</strong> [<em>OPTIONS</em>] <em>-a announceurl input output</em></p>
<p><strong>buildtorrent</strong> [<em>OPTIONS</em>] <em>-a announceurl -f filelist -n name output</em></p>
<h4>Description</h4>
<p><strong>buildtorrent</strong> is a torrent file creation program. Given an
announce url and an input file or directory, <strong>buildtorrent</strong>
generates an output <em>.torrent</em> file that can be used by
torrent clients.</p>
<h4>Options</h4>
<dl>
<dt><strong>-a</strong> <em>announce</em>, <strong>--announce=</strong><em>url</em></dt>
<dd>Announce URL (required).</dd>
<dt><strong>-f</strong> <em>filelist</em>, <strong>--filelist=</strong><em>filelist</em></dt>
<dd><p>A text file (or - for standard input) containing a list of files to
add to the output torrent file, together with the path to use inside the
torrent.  One file is given per line, use / as path separator for the
torrent path, use | to separate the filesystem path from the torrent
path.  Backslash \ can be used to escape newlines and | characters inside
names.  For example:</p>
<blockquote><pre>/data/files/linux.iso|bin/linux.iso
/data/files/linux.txt|doc/linux.txt</pre></blockquote>
<p>Using this option requires that the <em>--name</em> option be used.</p></dd>
<dt><strong>-n</strong> <em>name</em>, <strong>--name=</strong><em>name</em></dt>
<dd>Specify  the  name  for  the  torrent.   Usage of this option is
required when the <em>--filelist</em> option is used, in  which case it
specifies  the  name  of the torrent directory.  Usage without a
file list overrides the name of the directory or file  given  on
the command line.</dd>
<dt><strong>-A</strong> <em>announces</em>, <strong>--announcelist=</strong><em>announces</em></dt>
<dd><p>Additional announce URL list.   Use , to separate outer level
lists, and | to separate inner level items; for example:</p>
<blockquote><pre>a,b1|b2,c</pre></blockquote></dd>
<dt><strong>-w</strong> <em>webseeds</em>, <strong>--webseeds=</strong><em>webseeds</em></dt>
<dd><p>Additional WebSeed URL list.   Use , to separate items; for example:</p>
<blockquote><pre>a,b,c</pre></blockquote></dd>
<dt><strong>-l</strong> <em>length</em>, <strong>--piecelength=</strong><em>length</em></dt>
<dd>Piece length in bytes (default 262144).</dd>
<dt><strong>-L</strong> <em>size</em>, <strong>--piecesize=</strong><em>size</em></dt>
<dd>Use 2<sup><em>size</em></sup> as piece length in bytes (default 18) (overrides <em>-l</em>).</dd>
<dt><strong>-c</strong> <em>comment</em>, <strong>--comment=</strong><em>comment</em></dt>
<dd>User comment (omitted by default).</dd>
<dt><strong>-p</strong> <em>private</em>, <strong>--private=</strong><em>private</em></dt>
<dd>Private flag (either 0 or 1).</dd>
<dt><strong>-D</strong>, <strong>--nodate</strong></dt>
<dd>Omit the <em>creation date</em> field.</dd>
<dt><strong>-C</strong>, <strong>--nocreator</strong></dt>
<dd>Omit the <em>created by</em> field.</dd>
<dt><strong>-m</strong>, <strong>--md5sum</strong></dt>
<dd>Add an <em>md5sum</em> field for each file.</dd>
<dt><strong>-s</strong>, <strong>--show</strong></dt>
<dd>Show generated torrent structure.</dd>
<dt><strong>-S</strong>, <strong>--showall</strong></dt>
<dd>Show generated torrent structure, including piece data.</dd>
<dt><strong>-q</strong>, <strong>--quiet</strong></dt>
<dd>Quiet operation with reduced output.</dd>
<dt><strong>-V</strong>, <strong>--version</strong></dt>
<dd>Show the version string.</dd>
<dt><strong>-h</strong>, <strong>--help</strong></dt>
<dd>Show a help screen with brief usage information.</dd>
</dl>
<h4>See also</h4>
<ul>
<li><a href="http://www.createtorrent.com">createtorrent</a></li>
<li><a href="http://mktorrent.sourceforge.net">mktorrent</a></li>
<li><a href="http://wiki.theory.org/BitTorrentSpecification">http://wiki.theory.org/BitTorrentSpecification</a></li>
<li><a href="http://bittorrent.org/beps/bep_0012.html">http://bittorrent.org/beps/bep_0012.html</a></li>
<li><a href="http://www.getright.com/seedtorrent.html">http://www.getright.com/seedtorrent.html</a></li>
</ul>
</blockquote>
<p>Feature comparison matrix:</p>
<table>
<tr><th/><th>buildtorrent-0.8</th><th>mktorrent-1.0</th></tr>
<tr><th>announce url</th><td>Y</td><td>Y</td></tr>
<tr><th>announce list</th><td>Y</td><td>Y</td></tr>
<tr><th>webseed list</th><td>Y</td><td>Y</td></tr>
<tr><th>piece length</th><td>any</td><td>2<sup>N</sup></td></tr>
<tr><th>name</th><td>Y</td><td>Y</td></tr>
<tr><th>output file</th><td>Y</td><td>Y, implicit</td></tr>
<tr><th>comment</th><td>Y</td><td>Y</td></tr>
<tr><th>private</th><td>N/A,Y,N</td><td>N/A,Y</td></tr>
<tr><th>no date</th><td>Y</td><td>Y</td></tr>
<tr><th>no creator</th><td>Y</td><td>N</td></tr>
<tr><th>md5sum</th><td>Y</td><td>N</td></tr>
<tr><th>file list</th><td><strong>Y</strong></td><td><strong>N</strong></td></tr>
<tr><th>threads</th><td><strong>N</strong></td><td><strong>Y</strong></td></tr>
</table>
<p>buildtorrent is more flexible, especially with the external file list feature,
but mktorrent's threaded hashing wins if you want to exploit multi-core CPUs.</p>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2010-01-31_buildtorrent-0.8_released.html</link><guid>http://claudiusmaximus.goto10.org/cm/2010-01-31_buildtorrent-0.8_released.html</guid><pubDate>31 Jan 2010 11:30:00 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent update</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p><strong>buildtorrent</strong> used to have its own page, but
that part of this website has been dismantled, so here is the
content that was previously available:</p>
<blockquote>
<h4>Synopsis</h4>
<p><strong>buildtorrent</strong> [<em>OPTIONS</em>] <em>-a announceurl input
output</em></p>
<h4>Description</h4>
<p><strong>buildtorrent</strong> is a torrent file creation program. Given an
announce url and an input file or directory, <strong>buildtorrent</strong>
generates an output <em>.torrent</em> file that can be used by
torrent clients.</p>
<h4>Options</h4>
<dl>
<dt><strong>-a</strong> <em>announce</em>, <strong>--announce=</strong><em>url</em></dt>
<dd>Announce URL (required).</dd>
<dt><strong>-A</strong> <em>announces</em>, <strong>--announcelist=</strong><em>announces</em></dt>
<dd>Additional announce URL list.</dd>
<dt><strong>-l</strong> <em>length</em>, <strong>--piecelength=</strong><em>length</em></dt>
<dd>Piece length in bytes (default 262144).</dd>
<dt><strong>-c</strong> <em>comment</em>, <strong>--comment=</strong><em>comment</em></dt>
<dd>User comment (omitted by default).</dd>
<dt><strong>-p</strong> <em>private</em>, <strong>--private=</strong><em>private</em></dt>
<dd>Private flag (either 0 or 1).</dd>
<dt><strong>-D</strong>, <strong>--nodate</strong></dt>
<dd>Omit the <em>creation date</em> field.</dd>
<dt><strong>-C</strong>, <strong>--nocreator</strong></dt>
<dd>Omit the <em>created by</em> field.</dd>
<dt><strong>-m</strong>, <strong>--md5sum</strong></dt>
<dd>Add an <em>md5sum</em> field for each file.</dd>
<dt><strong>-s</strong>, <strong>--show</strong></dt>
<dd>Show generated torrent structure.</dd>
<dt><strong>-S</strong>, <strong>--showall</strong></dt>
<dd>Show generated torrent structure, including piece data.</dd>
<dt><strong>-q</strong>, <strong>--quiet</strong></dt>
<dd>Quiet operation with reduced output.</dd>
<dt><strong>-V</strong>, <strong>--version</strong></dt>
<dd>Show the version string.</dd>
<dt><strong>-h</strong>, <strong>--help</strong></dt>
<dd>Show a help screen with brief usage information.</dd>
</dl>
<h4>See also</h4>
<ul>
<li><a href="http://wiki.theory.org/BitTorrentSpecification">http://wiki.theory.org/BitTorrentSpecification</a></li>
</ul>
</blockquote>
<p>The above is the manual page from the
<a href="http://claudiusmaximus.goto10.org/files/coding/buildtorrent/buildtorrent-0.7.2.tar.gz" title="buildtorrent-0.7.2.tar.gz">buildtorrent-0.7.2 source tarball</a>,
double-check your local buildtorrent package for the manual corresponding
to the version you have.</p>
<p>Some new news now: progress on the 0.8 release of buildtorrent is
very slow, as I have too many other things I prefer to spend my time on.
The roadmap is roughly:</p>
<dl>
<dt>0.8</dt><dd>implement the already-documented file list feature</dd>
<dt>0.9</dt><dd>fix all remaining bugs</dd>
<dt>1.0</dt><dd>final release</dd>
<dt>2.0</dt><dd>go crazy with all kinds of freaky features</dd>
</dl>
<p>Hopefully 1.0 will get finished by the end of the decade.  Jan Stępień
sent me (a couple of months ago...) a patch for multi-threaded hashing, but
I didn't have a multi-core machine at the time - expect that as an optional
configure-time switch in Subversion as soon as I've had time to test it.</p>
<p>The freaky features I have in mind for 2.0 include distributed .torrent
creation within a trusted swarm for later publication to an untrusted swarm.
It should allow torrents to be created when not all the files are local without
transferring large amounts of data.</p>
<p>You can get the development version of buildtorrent here:</p>
<blockquote><pre>svn co https://code.goto10.org/svn/maximus/buildtorrent buildtorrent</pre></blockquote>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2009-11-21_buildtorrent_update.html</link><guid>http://claudiusmaximus.goto10.org/cm/2009-11-21_buildtorrent_update.html</guid><pubDate>21 Nov 2009 13:46:18 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent-0.7 released</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p><strong>buildtorrent</strong> is a simple command-line .torrent file creation tool.</p>
<p>Bug fixes in <strong>buildtorrent-0.7</strong>:</p>
<ul>
<li>Handle empty files better.</li>
<li>No more badly formatted error messages.</li>
<li>Don't crash on nonsense piece length.</li>
</ul>
<p>Download the release tarball: <a href="http://claudiusmaximus.goto10.org/files/coding/buildtorrent/buildtorrent-0.7-1.tar.gz">buildtorrent-0.7-1.tar.gz</a></p>
<p>Or check out the development sources from SVN:</p>
<pre>svn checkout https://code.goto10.org/svn/maximus/buildtorrent buildtorrent</pre>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2008-04-13_buildtorrent-0.7_released.html</link><guid>http://claudiusmaximus.goto10.org/cm/2008-04-13_buildtorrent-0.7_released.html</guid><pubDate>13 Apr 2008 00:08:00 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent-0.6 released</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p><strong>buildtorrent</strong> is a simple command-line .torrent file creation tool.</p>
<p>New features in <strong>buildtorrent-0.6</strong>:</p>
<ul>
<li>Autoconf build system (the usual <em>./configure &amp;&amp; make &amp;&amp; make install</em>).</li>
<li>Manual page (so you can get useful information using <em>man buildtorrent</em>).</li>
</ul>
<p>Download the release tarball: <a href="http://claudiusmaximus.goto10.org/files/coding/buildtorrent/buildtorrent-0.6-1.tar.gz">buildtorrent-0.6-1.tar.gz</a></p>
<p>Or check out the development sources from SVN:</p>
<pre>svn checkout https://code.goto10.org/svn/maximus/buildtorrent buildtorrent</pre>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2007-12-04_buildtorrent-0.6_released.html</link><guid>http://claudiusmaximus.goto10.org/cm/2007-12-04_buildtorrent-0.6_released.html</guid><pubDate>04 Dec 2007 17:15:00 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent-0.5 released</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p>New features in <strong>buildtorrent</strong>:</p>
<ul>
<li>Large file support (can now create torrents for files/directories larger than 2GB).</li>
<li>Hashing progress bar (neat display instead of reams of dots).</li>
</ul>
<p>Check out the development sources from the Subversion repository:</p>
<blockquote><pre>svn co https://code.goto10.org/svn/maximus/buildtorrent buildtorrent</pre></blockquote>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2007-09-19_buildtorrent-0.5_released.html</link><guid>http://claudiusmaximus.goto10.org/cm/2007-09-19_buildtorrent-0.5_released.html</guid><pubDate>19 Sep 2007 16:24:00 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent-0.4 released</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p>Previously <strong>buildtorrent</strong> would only work on files
and directories in the current directory, and moreover would generate
bad .torrent files if you gave a directory name with a trailing '/'.
These bugs have now been fixed.  Some tests (all should work and
generate good .torrent files):</p>
<blockquote><pre>buildtorrent -a http://www.example.com/announce <strong>directory</strong> output.torrent
buildtorrent -a http://www.example.com/announce <strong>directory/</strong> output.torrent
buildtorrent -a http://www.example.com/announce <strong>/path/to/directory</strong> output.torrent
buildtorrent -a http://www.example.com/announce <strong>/path/to/directory/</strong> output.torrent
buildtorrent -a http://www.example.com/announce <strong>file</strong> output.torrent
buildtorrent -a http://www.example.com/announce <strong>/path/to/file</strong> output.torrent</pre></blockquote>
<p>Check out the current development sources from the Subversion repository:</p>
<blockquote><pre>svn co https://code.goto10.org/svn/maximus/buildtorrent buildtorrent</pre></blockquote>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2007-09-03_buildtorrent-0.4_released.html</link><guid>http://claudiusmaximus.goto10.org/cm/2007-09-03_buildtorrent-0.4_released.html</guid><pubDate>03 Sep 2007 16:05:00 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent-0.3 released</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p>I released a new version of <strong>buildtorrent</strong>, a replacement
for <a href="http://www.createtorrent.com">createtorrent</a> without the
bugs that made it unusable.  It is feature-complete with respect to the
<a href="http://wiki.theory.org/BitTorrentSpecification#Metainfo_File_Structure">BitTorrent
metainfo specfication</a>.</p>
<blockquote><pre>Usage: buildtorrent [OPTIONS] -a announceurl input output

options:
--announce      -a  &lt;announce&gt;   : announce url (required)
--announcelist  -A  &lt;announces&gt;  : announce url list
--piecelength   -l  &lt;length&gt;     : piece length in bytes, default 262144
--comment       -c  &lt;comment&gt;    : user comment, omitted by default
--private       -p  &lt;private&gt;    : private flag, either 0 or 1
--nodate        -D               : omit 'creation date' field
--nocreator     -C               : omit 'created by' field
--md5sum        -m               : add an 'md5sum' field for each file
--show          -s               : show generated torrent structure
--showall       -S               : show pieces too (implies '-s')
--quiet         -q               : quiet operation
--version       -V               : show version of buildtorrent
--help          -h               : show this help screen</pre></blockquote>
<p>Changes in this version:</p>
<ul>
<li>Single-file mode.</li>
<li>Support for optional fields:<ul>
  <li><strong>created by</strong></li>
  <li><strong>creation date</strong></li>
  <li><strong>comment</strong></li>
  <li><strong>private</strong></li>
  <li><strong>md5sum</strong></li>
  <li><strong>announce-list</strong></li>
</ul></li>
<li>Pretty-printing of generated torrent file (mainly useful for debugging).</li>
<li>Quiet operation if requested.</li>
<li>Better error messages.</li>
</ul>
<p>Still to do:</p>
<ul>
<li>Large-file support (above 4GB currently won't work, above 2GB untested).</li>
</ul>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2007-06-04_buildtorrent-0.3_released.html</link><guid>http://claudiusmaximus.goto10.org/cm/2007-06-04_buildtorrent-0.3_released.html</guid><pubDate>04 Jun 2007 16:00:00 GMT</pubDate><category>torrent</category></item><item><title>buildtorrent: a createtorrent replacement</title><description><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml">
<p>I was looking for a simple command line torrent file making program,
and <a href="http://www.createtorrent.com">createtorrent</a> seemed just
the ticket, except that it didn't work (namely, the directory support was
broken completely in every version I tried).  So I decided to write my own.
Hence <strong>buildtorrent</strong>.</p>
<p>Features are somewhat limited so far, and I haven't done any testing
beyond checking that the torrent files created by buildtorrent load
correctly in ktorrent with the files on disk passing the piece hash checks,
but it seems to work satisfactorily.</p>
<p>Here's what it can do:</p>
<ul>
<li>Create a torrent from a directory.</li>
<li>Can choose the tracker announce url.</li>
<li>Can choose the piece size.</li>
<li>Written in ANSI C without requiring any special libraries.</li>
</ul>
<p>Here's what still needs to be added or fixed:</p>
<ul>
<li>Create a torrent from a single file.</li>
<li>Adding more metadata to the torrent (user comment, creation date, etc).</li>
<li>There are two warnings during compilation.</li>
<li>More testing.</li>
<li>Better error reporting.</li>
<li>Become valgrind-pure.</li>
<li>Add large-file (and large-torrent) support.</li>
<li>Check 64bit support, check big endian systems.</li>
<li>More thorough documentation.</li>
</ul>
<p>Here's where you can get the current development version (no release
versions yet):</p>
<ul>
<li><pre>svn checkout https://code.goto10.org/svn/maximus/buildtorrent buildtorrent</pre></li>
</ul>
<p>Code based almost entirely on the <a href="http://wiki.theory.org/BitTorrentSpecification#Metainfo_File_Structure">BitTorrent Metainfo Specification</a>,
with some ideas from createtorrent (but not many).</p>
</div>]]></description><link>http://claudiusmaximus.goto10.org/cm/2007-05-25_buildtorrent_a_createtorrent_replacement.html</link><guid>http://claudiusmaximus.goto10.org/cm/2007-05-25_buildtorrent_a_createtorrent_replacement.html</guid><pubDate>25 May 2007 16:10:00 GMT</pubDate><category>torrent</category></item></channel></rss>
