diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-02 15:45:51 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-02 15:45:51 +0200 |
commit | b115eb45f2289ac64889d195c87873e24ccf11bb (patch) | |
tree | f9bdfdff6aaffd8a39c4e985202c390c6abfca38 /main/opentracker | |
parent | 1a10c24e73376bce82d24f506833033b2288850a (diff) | |
download | aports-b115eb45f2289ac64889d195c87873e24ccf11bb.tar.bz2 aports-b115eb45f2289ac64889d195c87873e24ccf11bb.tar.xz |
community/opentracker: move from main
depends on libowfat which is in community
Diffstat (limited to 'main/opentracker')
-rw-r--r-- | main/opentracker/APKBUILD | 40 | ||||
-rw-r--r-- | main/opentracker/opentracker.initd | 38 | ||||
-rw-r--r-- | main/opentracker/opentracker.pre-install | 5 |
3 files changed, 0 insertions, 83 deletions
diff --git a/main/opentracker/APKBUILD b/main/opentracker/APKBUILD deleted file mode 100644 index 75c35d666a..0000000000 --- a/main/opentracker/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=opentracker -pkgver=0_cvs20100625 -pkgrel=4 -pkgdesc="an open and free bittorrent tracker" -url="http://erdgeist.org/arts/software/opentracker/" -arch="all" -license="GPL" -depends= -makedepends="libowfat-dev zlib-dev" -install="$pkgname.pre-install" -subpackages= -source="http://dev.alpinelinux.org/opentracker/opentracker-$pkgver.tar.gz - opentracker.initd" - -_builddir="$srcdir"/$pkgname -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -d "$pkgdir"/usr/bin - make BINDIR="$pkgdir"/usr/bin install || return 1 - install -m644 -D opentracker.conf.sample \ - "$pkgdir"/etc/opentracker/opentracker.conf - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname -} - -md5sums="8d02a6f7a241c6b8c98e2dbde086cfcf opentracker-0_cvs20100625.tar.gz -bb3cfa7597cd86e2987aafb4081c6d78 opentracker.initd" -sha256sums="c2be547353c55be95f7b29a1efd551d44ebbe7f7bc9835a29cf742ea2c21199e opentracker-0_cvs20100625.tar.gz -9058d2df337dc9259cd92e99350889dddcd86f14b3ced8577f69a348339bd15c opentracker.initd" -sha512sums="85686782d8f4469b3bbcd67851b86bb43fc258b6f347a695cef83b2d1354880eaeca475b85cce475646cec5e118a5dd3cb27c664166d0f5a8158a8662f633f01 opentracker-0_cvs20100625.tar.gz -80ae2f4f5a485df7e3dab982068f3b79457721fd87e00e6a3450003f1a7685ade3e0edd4ab341a822abd51f002d3a8f7b897b38e76ac360fd6a0551c91a56d77 opentracker.initd" diff --git a/main/opentracker/opentracker.initd b/main/opentracker/opentracker.initd deleted file mode 100644 index 548be7a20f..0000000000 --- a/main/opentracker/opentracker.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/openrc-run - -# Sample init.d file for alpine linux. - -name=opentracker -daemon=/usr/bin/$name -conf=${opentracker_conf:-/etc/opentracker/opentracker.conf} -pidfile=/var/run/opentracker.pid - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${name}" - start-stop-daemon --start --quiet \ - --make-pidfile \ - --pidfile ${pidfile} \ - --background \ - --stdout /dev/null \ - --stderr /dev/null \ - --exec ${daemon} \ - -- \ - -d /var/empty \ - -f $conf \ - -u ${opentracker_user:-opentracker} \ - ${opentracker_opts} - eend $? -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet --pidfile ${pidfile} \ - --exec ${daemon} - eend $? -} - diff --git a/main/opentracker/opentracker.pre-install b/main/opentracker/opentracker.pre-install deleted file mode 100644 index 4a573b2733..0000000000 --- a/main/opentracker/opentracker.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -adduser -S -D -H -h /var/empty -s /sbin/false -g opentracker opentracker 2>/dev/null - -exit 0 |