summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-17 00:06:09 -0800
committerroot <root@rshg054.dnsready.net>2013-01-17 00:06:09 -0800
commit4e8c9530dbbf6c8b4c8147cef8fe9845c8898de3 (patch)
tree86de1737558215adb39fdcd56c699257288facca /social
parente1c991185c594db7cc8978ed0239ebca4d37560e (diff)
Thu Jan 17 00:06:09 PST 2013
Diffstat (limited to 'social')
-rw-r--r--social/libowfat/PKGBUILD4
-rw-r--r--social/opentracker/PKGBUILD28
2 files changed, 19 insertions, 13 deletions
diff --git a/social/libowfat/PKGBUILD b/social/libowfat/PKGBUILD
index ea43adfab..4962068fb 100644
--- a/social/libowfat/PKGBUILD
+++ b/social/libowfat/PKGBUILD
@@ -4,8 +4,8 @@
# henning mueller <henning@orgizm.net>
pkgname=libowfat
-pkgver=0.28
-pkgrel=4
+pkgver=0.29
+pkgrel=1
pkgdesc='GPL reimplementation of libdjb'
arch=(i686 x86_64)
url=http://www.fefe.de/libowfat/
diff --git a/social/opentracker/PKGBUILD b/social/opentracker/PKGBUILD
index f328607e7..2826a21ef 100644
--- a/social/opentracker/PKGBUILD
+++ b/social/opentracker/PKGBUILD
@@ -1,8 +1,9 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>
+# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=opentracker
-pkgver=20111020
-pkgrel=1
+pkgver=20120911
+pkgrel=2
pkgdesc='An open and free bittorrent tracker (open mode)'
arch=('i686' 'x86_64')
url='http://erdgeist.org/arts/software/opentracker/'
@@ -10,13 +11,12 @@ license=('custom:Beer' 'GPL')
makedepends=('libowfat' 'cvs')
depends=('bash' 'zlib')
backup=('etc/opentracker/config')
-install=${pkgname}.install
-source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz"
- 'opentracker.rc.d'
- 'license.txt')
-md5sums=('1dbace4895b4e1d290790f8ebacb2a2f'
- '390bde9d010e79ab1309c02dcf9972e8'
- '865211941e882c0aff5d36a22ac9efaa')
+source=('opentracker.rc'
+'opentracker.service'
+'license.txt')
+md5sums=('390bde9d010e79ab1309c02dcf9972e8'
+'3c638b71d5ecb65fb7964796975b2078'
+'865211941e882c0aff5d36a22ac9efaa')
_cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot'
_cvsmod='opentracker'
@@ -42,7 +42,6 @@ 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
@@ -58,7 +57,14 @@ package(){
cd "${srcdir}/${_cvsmod}"
install -D -m 755 opentracker $pkgdir/usr/bin/opentracker
- install -D -m 755 $srcdir/opentracker.rc.d $pkgdir/etc/rc.d/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 /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/"
}