[arch-releng] How to create a torrent for the ISO
Pierre Schmitz
pierre at archlinux.de
Mon Aug 3 17:46:26 EDT 2009
Am Montag 03 August 2009 23:36:05 schrieb Aaron Griffin:
> $ ls -l /etc/opentracker/
> total 4
> -rw-r--r-- 1 root root 3432 2009-08-03 17:07 config
> -rw-r--r-- 1 opentracker users 0 2009-08-03 17:05 whitelist
% ls -l /etc/opentracker/
insgesamt 8
-rw-r--r-- 1 root root 84 18. Jul 01:24 config
-rw-r--r-- 1 root root 656 31. Jul 00:03 whitelist
>
> $ grep su /etc/rc.d/opentracker
> [ -z "$PID" ] && su opentracker -s /bin/sh -c
> "/usr/bin/opentracker -f /etc/opentracker/config&"
% grep su /etc/rc.d/opentracker
[ -z "$PID" ] && su opentracker -s /bin/sh -c "/usr/bin/opentracker -f
/etc/opentracker/config&"
OK, I don't really know then. Did you compile yourself or use the package from
http://users.archlinux.de/~pierre/packages/x86_64/opentracker-20090722-1-
x86_64.pkg.tar.gz
>
> >> > 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:
> >>
> >> So sha1sum file >> whitelist is all that is needed?
> >
> > Its not that easy. You need some torrent tools to get the info hash or
> > just upload it at some site like http://torrenteditor.com/ and copy the
> > hash fro mthere (remvoe the white spaces)
>
> Sounds good. What tools output this hash info?
If you have found a super simple command line tool which does just this wihout
heavy deps, let me know. In general its just reading the hash in binary format
from the torrent file.
--
Pierre Schmitz, http://users.archlinux.de/~pierre
More information about the arch-releng
mailing list