diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2009-06-12 07:46:57 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2009-06-12 07:46:57 +0000 |
commit | d66118bc797eaea3c1f3956c073bfe35098ee9e4 (patch) | |
tree | 569a7db76f440f78dcbe7d234325e21f65e721e9 | |
parent | 81317f10c03457ace8fa498772795071f57f984b (diff) | |
download | aports-d66118bc797eaea3c1f3956c073bfe35098ee9e4.tar.bz2 aports-d66118bc797eaea3c1f3956c073bfe35098ee9e4.tar.xz |
testing/amavisd-new: nanny and release utils added
-rw-r--r-- | testing/amavisd-new/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/amavisd-new/APKBUILD b/testing/amavisd-new/APKBUILD index ba60326be9..daad650daa 100644 --- a/testing/amavisd-new/APKBUILD +++ b/testing/amavisd-new/APKBUILD @@ -30,16 +30,19 @@ build() { if [ ! -d "${pkgdir}$dir" ]; then mkdir -p ${pkgdir}$dir fi + chown -R amavis.amavis $HOME done install -m 755 -o root -D amavisd $pkgdir/usr/sbin/amavisd + install -m 755 -o root -D amavisd-nanny $pkgdir/usr/bin/amavisd-nanny + install -m 755 -o root -D amavisd-release $pkgdir/usr/bin/amavisd-release sed -e "s:^.*\$MYHOME = .*$:\$MYHOME = '$HOME';:" \ -e 's:^.*\$TEMPBASE = .*$:\$TEMPBASE = "\$MYHOME/tmp";:' \ -e 's:^.*\$db_home = .*$:\$db_home = "$MYHOME/db";:' \ -e "s:^.*\$QUARANTINEDIR = .*$:\$QUARANTINEDIR = '$QUARANTINE';:" \ -e "s:^.*\$daemon_user = 'vscan';\(.*\)$:\$daemon_user = 'amavis';\1:" \ -e "s:^.*\$daemon_group = 'vscan';\(.*\)$:\$daemon_group = 'amavis';\1:" < amavisd.conf > amavisd.conf.alpine - install -m 640 -o root -D amavisd.conf.alpine ${pkgdir}${CONFIG} + install -m 640 -o root -g amavis -D amavisd.conf.alpine ${pkgdir}${CONFIG} install -m 755 -D ../../amavisd.init $pkgdir/etc/init.d/amavisd } |