---
name: opentracker
version: 0.2010.05.30_1
origin: net/opentracker
comment: A free lightweight bittorrent tracker using libowfat
arch: freebsd:9:x86:64
www: http://erdgeist.org/arts/software/opentracker/
maintainer: crees@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 80845
desc: |
  opentracker is a open and free bittorrent tracker project.
  It aims for minimal resource usage and is intended to run
  at your wlan router. Currently it is deployed as an open and
  free tracker instance.

  WWW: http://erdgeist.org/arts/software/opentracker/
categories: [net]
options: {COMPRESSION_GZIP: off, DEBUG_HTTPERROR: off, FULLSCRAPE: on, IPV6: on, RESTRICT_STATS: on,
  ACCESSLIST_OPEN: on, ACCESSLIST_BLACK: off, ACCESSLIST_WHITE: off}
files:
  /usr/local/bin/opentracker: 5e937b1faf90919bba8cad5e8173596fc0aea166d272f9e9434a2ca018b9888e
  /usr/local/etc/opentracker/opentracker.conf.sample: 2a4dad9cb2a54f99ba94da67662cadff3984181f38854229b0a821cc5e3530ac
  /usr/local/etc/rc.d/opentracker: fc2915b2a0d0f31d774c65df6f754e512a30d2594fd776aa00170a8af4a7e332
directories:
  /usr/local/etc/opentracker/: n
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/opentracker/opentracker.conf.sample /usr/local/etc/opentracker/opentracker.conf; then rm -f /usr/local/etc/opentracker/opentracker.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  This tracker is open in a sense that everyone announcing a torrent is welcome
  to do so and will be informed about anyone else announcing the same torrent.
  Unless -DWANT_IP_FROM_QUERY_STRING is enabled (which is meant for debugging
  purposes only), only source IPs are accepted. The tracker implements a minimal
  set of essential features only but was able respond to far more than 10000
  requests per second on a Sun Fire 2200 M2 (thats where we found no more clients
  able to fire more of our testsuite.sh script).

  Some tweaks you may want to try under FreeBSD:

  sysctl kern.ipc.somaxconn=1024
  sysctl kern.ipc.nmbclusters=32768
  sysctl net.inet.tcp.msl=10000
  sysctl kern.maxfiles=10240
