aboutsummaryrefslogtreecommitdiffstats
path: root/main/amavisd-new
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 09:13:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 09:13:43 +0000
commit28e32452e02476be2bbc07677a416ab9d8f69705 (patch)
tree46d24ec3746d93d56711b45c46c82625f5d33ab6 /main/amavisd-new
parent489e359a742e06cde3c0a17bcfc877aeffc779e7 (diff)
downloadaports-28e32452e02476be2bbc07677a416ab9d8f69705.tar.bz2
aports-28e32452e02476be2bbc07677a416ab9d8f69705.tar.xz
main/amavis: do not change $HOME
abuild-sign fails to find the users private key if $HOME is changed.
Diffstat (limited to 'main/amavisd-new')
-rw-r--r--main/amavisd-new/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/amavisd-new/APKBUILD b/main/amavisd-new/APKBUILD
index daad650daa..c6c79173af 100644
--- a/main/amavisd-new/APKBUILD
+++ b/main/amavisd-new/APKBUILD
@@ -17,7 +17,7 @@ $pkgname.post-install"
build() {
cd "$srcdir/$pkgname-$pkgver"
-
+ (
HOME=/var/amavis
QUARANTINE=$HOME/quarantine
USER=amavis
@@ -44,6 +44,7 @@ build() {
-e "s:^.*\$daemon_group = 'vscan';\(.*\)$:\$daemon_group = 'amavis';\1:" < amavisd.conf > amavisd.conf.alpine
install -m 640 -o root -g amavis -D amavisd.conf.alpine ${pkgdir}${CONFIG}
install -m 755 -D ../../amavisd.init $pkgdir/etc/init.d/amavisd
+ )
}
md5sums="02b0bd38b40258841c60479603dc6842 amavisd-new-2.6.3.tar.gz