summaryrefslogtreecommitdiff
path: root/mail/vpopmail
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-09-08 10:48:49 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-09-08 10:48:49 +0000
commitbb8cf40c25593d2e5b3909bcb65916941c96fcaa (patch)
treebe3d97a77de75169b9105c2ffd06c4fbe6133ebb /mail/vpopmail
parentDon't ignore ${MKDIR}'s return status. (diff)
Turn off world-readability on the directories holding the executable
binaries and libraries of vpopmail. This prevents arbitrary users from obtaining the username and password for access to the MySQL database, which are present in plaintext in the vpopmail object files and binaries. Obtained from: Bugtraq
Notes
Notes: svn path=/head/; revision=47534
Diffstat (limited to 'mail/vpopmail')
-rw-r--r--mail/vpopmail/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index 09f3db073de6..8334d2f22145 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpopmail
PORTVERSION= 4.9.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.inter7.com/vpopmail/
@@ -129,4 +129,7 @@ pre-configure:
.endif
.endif
+post-install:
+ ${CHMOD} o-rwx ${PREFIX}/vpopmail/bin ${PREFIX}/vpopmail/lib
+
.include <bsd.port.mk>