diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-27 13:24:49 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-27 13:24:49 -0200 |
commit | a75f364d94f399159be804254bd74b5aafdfd955 (patch) | |
tree | e7e611946d4e24e287cef6faa7ddcc2226c95b3e /social | |
parent | bcb7b35417d8181557b47af15c54d8a5b4dc2d14 (diff) | |
parent | a98a7931923d702e17d7db3de4dd40cdcfb26885 (diff) | |
download | abslibre-a75f364d94f399159be804254bd74b5aafdfd955.tar.gz abslibre-a75f364d94f399159be804254bd74b5aafdfd955.tar.bz2 abslibre-a75f364d94f399159be804254bd74b5aafdfd955.zip |
Merge branch 'master' of 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 |