summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-27 13:24:49 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-27 13:24:49 -0200
commita75f364d94f399159be804254bd74b5aafdfd955 (patch)
treee7e611946d4e24e287cef6faa7ddcc2226c95b3e
parentbcb7b35417d8181557b47af15c54d8a5b4dc2d14 (diff)
parenta98a7931923d702e17d7db3de4dd40cdcfb26885 (diff)
downloadabslibre-a75f364d94f399159be804254bd74b5aafdfd955.tar.gz
abslibre-a75f364d94f399159be804254bd74b5aafdfd955.tar.bz2
abslibre-a75f364d94f399159be804254bd74b5aafdfd955.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--libre/pacman-mirrorlist-libre/PKGBUILD3
-rw-r--r--social/opentracker/PKGBUILD19
-rw-r--r--social/opentracker/opentracker.service11
3 files changed, 20 insertions, 13 deletions
diff --git a/libre/pacman-mirrorlist-libre/PKGBUILD b/libre/pacman-mirrorlist-libre/PKGBUILD
index 9117277a7..6563cff19 100644
--- a/libre/pacman-mirrorlist-libre/PKGBUILD
+++ b/libre/pacman-mirrorlist-libre/PKGBUILD
@@ -15,7 +15,7 @@ source=(mirrorlist::${url})
conflicts=(pacman-mirrorlist)
replaces=(pacman-mirrorlist)
provides=(pacman-mirrorlist)
-md5sums=('83cc258f57e6e9501246270bf776849e')
+md5sums=('0ee6833595a007a60ca36eca98ae9781')
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
@@ -24,4 +24,3 @@ build() {
mkdir -p $pkgdir/etc/pacman.d
install -m644 $srcdir/mirrorlist $pkgdir/etc/pacman.d/
}
-
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