diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-06-08 12:01:23 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-06-08 12:01:23 +0000 |
commit | 12e93ed8e848f90c1b99207189dd3ff9f665d09d (patch) | |
tree | 1683777ca9fb9f5b28ef53ca813cbed75107b52c /mail/amavisd-new | |
parent | de43daf0d63b3cd600c1a2b5204841dc708152fc (diff) | |
download | pkgsrc-12e93ed8e848f90c1b99207189dd3ff9f665d09d.tar.gz |
Make sure initial directories are created and have proper permissions.
Diffstat (limited to 'mail/amavisd-new')
-rw-r--r-- | mail/amavisd-new/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/amavisd-new/Makefile b/mail/amavisd-new/Makefile index b21b725f7f5..92f5f5776fb 100644 --- a/mail/amavisd-new/Makefile +++ b/mail/amavisd-new/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/10/25 20:33:07 spz Exp $ +# $NetBSD: Makefile,v 1.5 2012/06/08 12:01:23 fhajny Exp $ DISTNAME= amavisd-new-${VERSION}${PATCHLEVEL} PKGNAME= amavisd-new-${VERSION}${PATCHLEVEL:S/-//} @@ -68,6 +68,13 @@ PKG_GECOS.${AMAVIS_USER}= AMaViS Virus Scanning Account PKG_HOME.${AMAVIS_USER}= ${AMAVIS_DIR} PKG_SHELL.${AMAVIS_USER}= ${SH} +OWN_DIRS+= ${AMAVIS_DIR} ${AMAVIS_DIR}/db ${AMAVIS_DIR}/tmp +OWN_DIRS+= ${AMAVIS_QUARANTINE} +OWN_DIRS_PERMS+= ${AMAVIS_DIR} ${AMAVIS_USER} ${AMAVIS_GROUP} 750 +OWN_DIRS_PERMS+= ${AMAVIS_DIR}/db ${AMAVIS_USER} ${AMAVIS_GROUP} 750 +OWN_DIRS_PERMS+= ${AMAVIS_DIR}/tmp ${AMAVIS_USER} ${AMAVIS_GROUP} 750 +OWN_DIRS_PERMS+= ${AMAVIS_QUARANTINE} ${AMAVIS_USER} ${AMAVIS_GROUP} 750 + RCD_SCRIPTS= amavisd CONF_FILES= ${EGDIR}/amavisd.conf-minimal ${PKG_SYSCONFDIR}/amavisd.conf |