aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2013-10-21 08:54:06 +0800
committeradamw <adamw@FreeBSD.org>2013-10-21 08:54:06 +0800
commit6df45cdffd3989bad5637905e824880eba85ad18 (patch)
tree7c006ee2e1a6521969525a00674f26a067b59b71 /mail/squirrelmail
parent36d47a4118c517c2eae453dada4a8d9fcfd117b5 (diff)
downloadfreebsd-ports-gnome-6df45cdffd3989bad5637905e824880eba85ad18.tar.gz
freebsd-ports-gnome-6df45cdffd3989bad5637905e824880eba85ad18.tar.zst
freebsd-ports-gnome-6df45cdffd3989bad5637905e824880eba85ad18.zip
Improve permissions on writeable directories.
PORTREVISION bump for safety.
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index c1747f794cde..0c12a3833557 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -3,6 +3,7 @@
PORTNAME= squirrelmail
PORTVERSION= 20131020
+PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= adamw
@@ -101,8 +102,9 @@ do-install:
.for DIR in attach class config data functions help images include locale plugins po src themes
cd ${WRKSRC} && ${FIND} ${DIR} | ${CPIO} -pdmu --quiet ${STAGEDIR}${SQUIRRELDIR}
.endfor
- ${CHOWN} -R ${SMUSER}:${SMGROUP} ${STAGEDIR}${SQUIRRELDIR}/data
- ${CHMOD} 733 ${STAGEDIR}${SQUIRRELDIR}/attach
+ ${CHOWN} ${SMUSER}:${SMGROUP} ${STAGEDIR}${SQUIRRELDIR}/data ${STAGEDIR}${SQUIRRELDIR}/attach
+ ${CHMOD} 730 ${STAGEDIR}${SQUIRRELDIR}/attach
+ ${CHMOD} 750 ${STAGEDIR}${SQUIRRELDIR}/data
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${FIND} . | ${CPIO} -pdmu --quiet ${STAGEDIR}${DOCSDIR}