Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 16:39:53 +0000 | Пакетов: 18782
en ru
Исходные пакеты в ветвях
свернуть окно
Группа :: Система/Серверы
Исходный пакет: opentracker
Необработанный spec-файл

%define _user _opentracker
%define _group _opentracker
%define _home /dev/null

%define cvsrev 30082010

Name: opentracker
Version: 1.6
Release: alt2

Summary: An open and free bittorrent tracker
License: Beerware
Group: System/Servers

# git cvsimport -v -o upstream -i -k -d :pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot opentracker

Url: http://erdgeist.org/arts/software/opentracker

Source: %name-%version.tar

BuildRequires: libowfat-devel zlib-devel

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.

Utilizing the highly scalable server framework from libowfat, opentracker can
easily serve multiple thousands of requests on a standard plastic WLAN-router,
limited only by your kernels capabilities ;)

One important design decision of opentracker was to not store any data
persistently. This reduces wear&tear on hard disks and eliminates problems
with corrupt databases.

opentracker allows several instances running in a cluster. Those clusters can
be synced with a simple protocol extension proposed here and implemented in
opentracker already



install -dm1750 %buildroot%_localstatedir/%name

install -pDm0755 %name %buildroot%_bindir/%name

install -pDm0755 %name.init %buildroot%_initdir/%name
install -pDm0755 %name.sysconfig %buildroot%_sysconfdir/sysconfig/%name

install -D -m 644 %name.conf.sample %buildroot%_sysconfdir/%name/%name.conf
touch %buildroot%_sysconfdir/%name/whitelist.conf

/usr/sbin/groupadd -r -f %_group ||:
/usr/sbin/useradd -g %_group -c 'The opentracker Daemon' \
-d %_home -s /dev/null -r %_user >/dev/null 2>&1 ||:

%post_service %name

%preun_service %name

%config(noreplace) %_sysconfdir/%name/opentracker.conf
%config(noreplace) %_sysconfdir/%name/whitelist.conf
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir %attr(1750,root,%_group) %_localstatedir/%name
%doc README* nginx.retracker.conf

* Mon Aug 30 2010 Vladimir V. Kamarzin <vvk at altlinux.org> 1.6-alt2
- Update to cvs snapshot from 30.08.2010.
- Add sample config for nginx (for retracker mode).
- Don't build with -DWANT_ACCESSLIST_WHITE.
- Add initscript.
- Fix configs packaging.

* Mon Nov 16 2009 Ilya Shpigor <elly at altlinux.org> 1.6-alt1
- initial build for ALT Linux Sisyphus

* Tue Sep 04 2007 Vladimir V Kamarzin <vvk at altlinux.ru> 1.0-alt1.cvs.18082007
- Initial build for Sisyphus.
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT