summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-03-12 16:04:04 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-03-12 16:04:04 -0300
commit62ce2d47a819bb21d3e462fc5e56cdfde3aab621 (patch)
treed2ea39ef7a1d5a98906fa375eea7219bbf7dc705 /social
parent142c794d4d452388c27355da3b47c02bf49846ac (diff)
downloadabslibre-62ce2d47a819bb21d3e462fc5e56cdfde3aab621.tar.gz
abslibre-62ce2d47a819bb21d3e462fc5e56cdfde3aab621.tar.bz2
abslibre-62ce2d47a819bb21d3e462fc5e56cdfde3aab621.zip
Upgraded, it was missing on repos
Diffstat (limited to 'social')
-rw-r--r--social/opentracker/PKGBUILD67
-rw-r--r--social/opentracker/license.txt2
-rw-r--r--social/opentracker/opentracker.install17
-rw-r--r--social/opentracker/opentracker.rc.d37
-rw-r--r--social/opentracker/opentracker.service11
5 files changed, 0 insertions, 134 deletions
diff --git a/social/opentracker/PKGBUILD b/social/opentracker/PKGBUILD
deleted file mode 100644
index 5ecf00b3a..000000000
--- a/social/opentracker/PKGBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-# Maintainer: Jonas Heinrich <onny@project-insanity.org>
-
-pkgname=opentracker
-pkgver=20130126
-pkgrel=1
-pkgdesc='An open and free bittorrent tracker (open mode)'
-arch=('i686' 'x86_64' 'mips64el')
-url='http://erdgeist.org/arts/software/opentracker/'
-license=('custom:Beer' 'GPL')
-makedepends=('libowfat' 'cvs')
-depends=('bash' 'zlib')
-backup=('etc/opentracker/config')
-source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz"{,.sig}
-'opentracker.service'
-'license.txt')
-
-_cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot'
-_cvsmod='opentracker'
-
-mksource() {
- pushd "${srcdir}"
- msg 'Connecting to CVS server....'
- if [ -d ${_cvsmod}/CVS ]; then
- cd ${_cvsmod}
- cvs -z3 update -d
- else
- cvs -z3 -d ${_cvsroot} co -f ${_cvsmod}
- cd ${_cvsmod}
- fi
-
- msg 'CVS checkout done or server timeout'
- popd
-
- tar czf ${pkgname}-${pkgver}.tar.gz ${_cvsmod}/
-}
-
-build() {
- cd "${srcdir}/${_cvsmod}"
- msg 'Starting make...'
-
- sed -e 's|# tracker.rootdir /usr/local/etc/opentracker|tracker.rootdir /etc/opentracker|' \
- -e 's|# access.stats 192.168.0.23|access.stats 127.0.0.1|' \
- -i opentracker.conf.sample
-
-# See Makefile for available features
- make PREFIX=/usr \
- LIBOWFAT_HEADERS=/usr/includes \
- LIBOWFAT_LIBRARY=/usr/lib \
- FEATURES="-DWANT_SYSLOGS -DDEBUG_HTTPERROR"
-}
-
-package(){
- cd "${srcdir}/${_cvsmod}"
-
- install -D -m 755 opentracker $pkgdir/usr/bin/opentracker
- install -D -m 644 opentracker.conf.sample $pkgdir/etc/opentracker/config
- install -D -m 644 $srcdir/license.txt $pkgdir/usr/share/licenses/opentracker/license.txt
-
- # Create opentracker service
- mkdir -p "$pkgdir/usr/lib/systemd/system/"
- install -m 644 "$srcdir/opentracker.service" "$pkgdir/usr/lib/systemd/system/"
-}
-md5sums=('702a05fc2c205c6367a7e95334d8e152'
- '3c80785c33c97dffe6f119417865a309'
- '3c638b71d5ecb65fb7964796975b2078'
- '865211941e882c0aff5d36a22ac9efaa')
diff --git a/social/opentracker/license.txt b/social/opentracker/license.txt
deleted file mode 100644
index ff1bb40f5..000000000
--- a/social/opentracker/license.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-This software was written by Dirk Engling <erdgeist@erdgeist.org>
-It is considered beerware. Prost. Skol. Cheers or whatever.
diff --git a/social/opentracker/opentracker.install b/social/opentracker/opentracker.install
deleted file mode 100644
index 59f6f6ebe..000000000
--- a/social/opentracker/opentracker.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
- cat <<EOM
-
- Please be aware this package is built without accesslist support. Any
- torrent announced to it will be tracked.
-
- If you want this features you'll have to rebuild this package. There're
- instructions on the PKGBUILD.
-
- For more info check: http://erdgeist.org/arts/software/opentracker/
-
-EOM
-}
-
-post_upgrade() {
- post_install
-}
diff --git a/social/opentracker/opentracker.rc.d b/social/opentracker/opentracker.rc.d
deleted file mode 100644
index b1aa34c14..000000000
--- a/social/opentracker/opentracker.rc.d
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/opentracker`
-
-case "$1" in
- start)
- stat_busy "Starting opentracker Daemon"
- [ -z "$PID" ] && su nobody -s /bin/sh -c "/usr/bin/opentracker -f /etc/opentracker/config&"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon opentracker
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping opentracker Daemon"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon opentracker
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/social/opentracker/opentracker.service b/social/opentracker/opentracker.service
deleted file mode 100644
index 5f1b887ea..000000000
--- a/social/opentracker/opentracker.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=OpenTracker Daemon
-After=network.target
-
-[Service]
-User=nobody
-ExecStart=/usr/bin/opentracker -f /etc/opentracker/config
-ExecStop=/bin/kill -INT $MAINPID
-
-[Install]
-WantedBy=multi-user.target