[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
access.stats 127.0.0.1

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:

dc33a27b9ad0d97a1d2c536ae45561f507c25ad1
7434c995950fdf3c29bf90f46bc26defc4e9d2f6
5d49e09821539ce9753b5b8968633317b049fb74
5959847e44c24bd7b432db603e6a4b495a3ac192
b329016903efb29d7677f42bbc5f4a1f13f7a921
91f754453d87bf2956bd21dbc3bf4703aaaeb78c
72e23e8836e22f253dfd810b5138809b468e09f8
5ae22f7cef9b033f5e4830511c6f929ba672b9ec
8d8413b188224de03facf6c79258dcb2356cbcb5
8719f00b1927ef85cca616a292ab6e073183be05
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