[arch-releng] How to create a torrent for the ISO

Pierre Schmitz pierre at archlinux.de
Mon Aug 3 16:54:14 EDT 2009

Am Montag 03 August 2009 22:13:22 schrieb Aaron Griffin:
> On Thu, Jul 30, 2009 at 5:22 PM, Pierre Schmitz<pierre at archlinux.de> wrote:
> > Hi engineers,
> >
> > thanks to a new version of mktorrent it is now easy to create webseed
> > enabled torrents. I have updated my wrapper script to use this instead of
> > my evil ktorrent hack.
> >
> > This script can be found at
> > http://git.archlinux.de/archlinux-torrent-utils/plain/mktorrent-archlinux
> >
> > You will need kmtorrent from http://mktorrent.sourceforge.net/; there is
> > also a PKGBUILD.
> >
> > I would suggest to install this on sigurd and also the opentracker on it.
> > This way the releng team can create those torrents right on the server
> > and will also be able to add those to the trackers whitelist.
> Hey guys,
> I'd like to do this today.
> I'm currently building and installing opentracker (and libowfat).
> Pierre, do you happen to know much about the config? Do we get a web
> interface with this, or is it dumb?

Its a really KISS application. Here are some install instructions:

After installing the package you might want to alter the rc script to use a 
dedicated user like opentracker isntead of nobody; this user does not need any 
rights nor does it need to write anything anywhere.

Create a config file /etc/opentracker/config containing:

tracker.rootdir /etc/opentracker
access.whitelist whitelist

This virtually disables any stats page etc.. Maybe we want to enable it later.

Then we need a whitelist file for all torrents we like to share in the same 
dir. I use this which includes the previous ones on those archbott images from 
tpowa. Everything after a whitespace will be ignored; so I used it for 
commenting for the recent entries:

97a5c0701ceee6598efe08ad8577513bdc341139	2009.04-1-archboot.iso
783668c0dd9bd9f73ec1e3fd2156727f33fec3d1	2009.05-1-archboot.iso
772AA65BDCF417F927D78E0A8CA27F9931D12214	2009.08-1-archboot.iso

I recommend to add an extra dns-entry like tracker.archlinux.org for it. The 
default port should be 6969. So if this thing is running I just could change 
tracker.archlinux.de to the new IP and the old torrents will still work.


Pierre Schmitz, http://users.archlinux.de/~pierre

More information about the arch-releng mailing list