summaryrefslogtreecommitdiff
path: root/mail/maildrop
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-07 09:26:37 +0000
committerjoerg <joerg>2006-11-07 09:26:37 +0000
commit207a661a01679160a6ee22f4f6529b072c853ae6 (patch)
treed6e6bae570b15f5813ec1d6ffe9c8d4813a70aee /mail/maildrop
parentbe0989e370443f453fa8eabc43e8c48837b06e7f (diff)
downloadpkgsrc-207a661a01679160a6ee22f4f6529b072c853ae6.tar.gz
Explicitly annotate permissions of lockmail and maildrop, as they belong
to the courier group. XXX Why doesn't lockmail have the default group?
Diffstat (limited to 'mail/maildrop')
-rw-r--r--mail/maildrop/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index ed3132d6239..b9d44f15b51 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2006/07/11 00:57:43 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2006/11/07 09:26:37 joerg Exp $
DISTNAME= maildrop-2.0.2
CATEGORIES= security
@@ -9,6 +9,8 @@ MAINTAINER= jlam@pkgsrc.org
COMMENT= Courier mail delivery agent with filtering abilities
HOMEPAGE= http://www.courier-mta.org/maildrop/
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= courier-maildir>=0.53.1:../../mail/courier-maildir
USE_TOOLS+= gmake perl
@@ -42,16 +44,18 @@ CONFIGURE_ARGS+= --disable-authlib
.endif
REQD_DIRS= ${DOCDIR}
-SPECIAL_PERMS= bin/maildrop ${ROOT_USER} ${COURIER_GROUP} 4711
+SPECIAL_PERMS= bin/lockmail ${REAL_ROOT_USER} ${COURIER_GROUP} 755
+SPECIAL_PERMS+= bin/maildrop ${REAL_ROOT_USER} ${COURIER_GROUP} 4755
.include "../../devel/sysexits/buildlink3.mk"
+INSTALLATION_DIRS= ${DOCDIR}/maildrop
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README.postfix ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/maildrop/maildroptips.html ${DOCDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}/maildrop
- ${INSTALL_DATA} ${WRKSRC}/maildrop/README.html ${DOCDIR}/maildrop
- ${INSTALL_DATA} ${WRKSRC}/maildrop/makedat.html ${DOCDIR}
- ${INSTALL_MAN} ${WRKSRC}/maildrop/makedat.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/README.postfix ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/maildrop/maildroptips.html ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/maildrop/README.html ${DESTDIR}${DOCDIR}/maildrop
+ ${INSTALL_DATA} ${WRKSRC}/maildrop/makedat.html ${DESTDIR}${DOCDIR}
+ ${INSTALL_MAN} ${WRKSRC}/maildrop/makedat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"