pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/maildrop Explicitly annotate permissions of lockm...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cf9e4a64930
branches: trunk
changeset: 521236:8cf9e4a64930
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Nov 07 09:26:37 2006 +0000
description:
Explicitly annotate permissions of lockmail and maildrop, as they belong
to the courier group.
XXX Why doesn't lockmail have the default group?
diffstat:
mail/maildrop/Makefile | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r 4e644ac7eabb -r 8cf9e4a64930 mail/maildrop/Makefile
--- a/mail/maildrop/Makefile Tue Nov 07 09:24:32 2006 +0000
+++ b/mail/maildrop/Makefile Tue Nov 07 09:26:37 2006 +0000
@@ -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 @@
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 @@
.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"
Home |
Main Index |
Thread Index |
Old Index