mktorrent

mktorrent is a simple command line utility to create BitTorrent metainfo files.
It has been tested on Linux, OSX, MinGW, OpenBSD and SunOS, but should work on many other POSIX compliant operating systems.

Download

The latest release is version 1.0. Source code is available below.

The latest development sources are also available at github.

Features of the latest release

Non-features of latest release

Building mktorrent

Basics

Get the source code from the links above, extract the files, enter the directory and run make to build the program. However, see the recommend build one-liners below.

To install the program to /usr/bin do make PREFIX=/usr install as root.

Options

For portability reasons lots of useful features of mktorrent aren't enabled by default. They are all documented in the Makefile. To enable features either edit the Makefile or add the options when you invoke make.

OpenSSL

mktorrent can optionally use the SHA1 algorithm in the OpenSSL library instead of compiling its own. Most systems have this library installed already, but on some systems (notably Ubuntu and other Debian derivatives) you'll also need the development package in order to build the program. Usually it will be called something like "openssl-dev" or "libssl-dev".

Recommended build one-liners

32bit Linux
make USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1 USE_LARGE_FILES=1
64bit Linux
make USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1
OSX
make USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1

These only apply to the latest release. If it doesn't work (and you're sure you have the OpenSSL headers installed) or you successfully compiled mktorrent on some other OS, please let me know.

Changelog

1.0

0.7

0.6

0.5

0.4

0.3

0.2

0.1

License

mktorrent is free software. It is distributed under the terms of the GNU General Public License.

Contact

Please send bug reports, patches, feature requests, praise and general gossip about the program to esmil@users.sourceforge.net.

Valid XHTML 1.0! SourceForge.net Logo