diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-27 11:49:47 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-27 11:49:47 -0200 |
commit | 387a6ac962ce6a21ccb27fa2cc494ea6e3d2b8cd (patch) | |
tree | e0ac407d773af321071153aa5c0138235cc1f25e /social | |
parent | b6fba38485fbddb58ea021c9b532e7fea84404b1 (diff) | |
parent | a98a7931923d702e17d7db3de4dd40cdcfb26885 (diff) | |
download | abslibre-387a6ac962ce6a21ccb27fa2cc494ea6e3d2b8cd.tar.gz abslibre-387a6ac962ce6a21ccb27fa2cc494ea6e3d2b8cd.tar.bz2 abslibre-387a6ac962ce6a21ccb27fa2cc494ea6e3d2b8cd.zip |
Merge ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social')
-rw-r--r-- | social/opentracker/PKGBUILD | 19 | ||||
-rw-r--r-- | social/opentracker/opentracker.service | 11 |
2 files changed, 19 insertions, 11 deletions
diff --git a/social/opentracker/PKGBUILD b/social/opentracker/PKGBUILD index 2826a21ef..5ecf00b3a 100644 --- a/social/opentracker/PKGBUILD +++ b/social/opentracker/PKGBUILD @@ -2,21 +2,18 @@ # Maintainer: Jonas Heinrich <onny@project-insanity.org> pkgname=opentracker -pkgver=20120911 -pkgrel=2 +pkgver=20130126 +pkgrel=1 pkgdesc='An open and free bittorrent tracker (open mode)' -arch=('i686' 'x86_64') +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=('opentracker.rc' +source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz"{,.sig} 'opentracker.service' 'license.txt') -md5sums=('390bde9d010e79ab1309c02dcf9972e8' -'3c638b71d5ecb65fb7964796975b2078' -'865211941e882c0aff5d36a22ac9efaa') _cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot' _cvsmod='opentracker' @@ -60,11 +57,11 @@ package(){ 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 /etc/rc.d/opentracker - mkdir -p "$pkgdir/etc/rc.d/" - install -m 755 "$srcdir/opentracker.rc" "$pkgdir/etc/rc.d/opentracker" - # 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/opentracker.service b/social/opentracker/opentracker.service new file mode 100644 index 000000000..5f1b887ea --- /dev/null +++ b/social/opentracker/opentracker.service @@ -0,0 +1,11 @@ +[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 |