summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2007-06-06 19:37:23 +0000
committerSimon Barner <barner@FreeBSD.org>2007-06-06 19:37:23 +0000
commit7da518ccdd06f9418e794326fa426c872780cad8 (patch)
tree55bf27e41dbdd6faa888121b8d0411317c7d8705 /mail
parentUpdate to 0.98 (diff)
Install fetchmailrc with 640 since it may contain passwords.
The fetchmailrc.sample file is still installed 644.
Notes
Notes: svn path=/head/; revision=192945
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} ""