diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-07-06 10:21:15 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-07-06 10:24:35 +0300 |
commit | 0e902e56b891ec024aba7b56e4edf0010d359cd0 (patch) | |
tree | 0d1e9f7a9420b36a13d5f662c9aa41a8ca22c0c5 /main/rt4/APKBUILD | |
parent | 2a12c1f8d7a9d2a292f74b915bd3ab55ecc4b3bc (diff) | |
download | aports-0e902e56b891ec024aba7b56e4edf0010d359cd0.tar.bz2 aports-0e902e56b891ec024aba7b56e4edf0010d359cd0.tar.xz |
main/rt4: create rt4 user, fix package permissions
* also add a patch to allow overriding of envelope-from from a
template
Diffstat (limited to 'main/rt4/APKBUILD')
-rw-r--r-- | main/rt4/APKBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/main/rt4/APKBUILD b/main/rt4/APKBUILD index 8645d2916..da69f0a71 100644 --- a/main/rt4/APKBUILD +++ b/main/rt4/APKBUILD @@ -2,8 +2,10 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=rt4 pkgver=4.0.1 -pkgrel=0 +pkgrel=1 pkgdesc="Request Tracker - issue and bug tracker" +pkgusers="rt4" +pkggroups="rt4" url="http://www.bestpractical.com/rt" arch="noarch" license="GPLv2+" @@ -68,9 +70,10 @@ depends="perl " makedepends="$depends" -install="" +install="$pkgname.pre-install" subpackages="" -source="http://www.bestpractical.com/pub/rt/release/rt-$pkgver.tar.gz" +source="http://www.bestpractical.com/pub/rt/release/rt-$pkgver.tar.gz + 0001-email-allow-envelope-from-overriding-from-templates.patch" _builddir="$srcdir"/rt-$pkgver prepare() { @@ -115,6 +118,9 @@ EOF build() { cd "$_builddir" ./configure --enable-layout=Alpine \ + --with-rt-group=rt4 \ + --with-web-group=rt4 \ + --with-web-user=rt4 \ || return 1 make || return 1 } @@ -124,4 +130,5 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="bde89fbdadf7b709fb13f32638848b9d rt-4.0.1.tar.gz" +md5sums="bde89fbdadf7b709fb13f32638848b9d rt-4.0.1.tar.gz +ed9ba8bd09e68f4af1095aeedbe7a18b 0001-email-allow-envelope-from-overriding-from-templates.patch" |