aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-26 16:25:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-26 16:25:32 +0000
commitfc885d9b34d4913eb3bff0b0b108bca1a508bcf5 (patch)
tree104b25f6f2cb40b65264b5d37262fb5ba4524fef
parentc2f8fae38c5875343e2b210fbcdf33bcb73920d9 (diff)
downloadaports-fc885d9b34d4913eb3bff0b0b108bca1a508bcf5.tar.bz2
aports-fc885d9b34d4913eb3bff0b0b108bca1a508bcf5.tar.xz
main/transmission: user and group and var/lib belongs to daemon package
fixes #1115
-rw-r--r--main/transmission/APKBUILD7
-rw-r--r--main/transmission/transmission-daemon.pre-install (renamed from main/transmission/transmission.pre-install)0
2 files changed, 5 insertions, 2 deletions
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD
index b9ccbb0fed..8c6f962321 100644
--- a/main/transmission/APKBUILD
+++ b/main/transmission/APKBUILD
@@ -1,13 +1,15 @@
# Maintainer:Carlo Landmeter
pkgname=transmission
pkgver=2.51
-pkgrel=1
+pkgrel=2
pkgdesc="Lightweight GTK BitTorrent client"
url="http://www.tansmissionbt.com"
-install="$pkgname.pre-install"
+install="transmission-daemon.pre-install"
arch="all"
license="MIT"
depends=
+pkgusers="transmission"
+pkggroups="transmission"
makedepends="openssl-dev pkgconfig curl-dev gtk+-dev intltool libevent-dev
libnotify-dev dbus-glib-dev autoconf automake tar libcanberra-dev gconf-dev"
source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
@@ -47,6 +49,7 @@ package() {
daemon() {
pkgdesc="Lightweight BitTorrent client (daemon and webinterface)"
install -d "$subpkgdir"/usr/share "$subpkgdir"/usr/bin
+ install -d -o transmission -g transmission "$subpkgdir"/var/lib/transmission
mv "$pkgdir"/usr/bin/transmission-daemon "$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/share/transmission "$subpkgdir"/usr/share/
install -D -m755 "$srcdir"/transmission-daemon.initd \
diff --git a/main/transmission/transmission.pre-install b/main/transmission/transmission-daemon.pre-install
index 44a14760f6..44a14760f6 100644
--- a/main/transmission/transmission.pre-install
+++ b/main/transmission/transmission-daemon.pre-install