aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2007-06-07 03:37:23 +0800
committerbarner <barner@FreeBSD.org>2007-06-07 03:37:23 +0800
commit2a637dc3d1cb5610bb400a59cc99bc7774043423 (patch)
tree7ba91f691441654b3a11bcd60855c73ad98dd5a3 /mail
parent0a86a22a2836b5c3c70f3eefbecea99035ccc165 (diff)
downloadfreebsd-ports-gnome-2a637dc3d1cb5610bb400a59cc99bc7774043423.tar.gz
freebsd-ports-gnome-2a637dc3d1cb5610bb400a59cc99bc7774043423.tar.zst
freebsd-ports-gnome-2a637dc3d1cb5610bb400a59cc99bc7774043423.zip
Install fetchmailrc with 640 since it may contain passwords.
The fetchmailrc.sample file is still installed 644.
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index b9aa273d44c9..f496d1d18787 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -165,6 +165,7 @@ post-install:
${INSTALL} -m 644 -o fetchmail -g fetchmail ${FILESDIR}/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc.sample
if [ ! -f ${PREFIX}/etc/fetchmailrc ]; then \
${CP} -p ${PREFIX}/etc/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc ; \
+ ${CHMOD} 640 ${PREFIX}/etc/fetchmailrc ; \
fi
@${ECHO_CMD} ""