summaryrefslogtreecommitdiffstats
path: root/mail/vpopmail
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2002-02-26 14:54:19 +0000
committerroam <roam@FreeBSD.org>2002-02-26 14:54:19 +0000
commitc19336d24655bcc9b0c012b3db3fae747ff4d706 (patch)
tree8d5cb24f68128fbffe514c214ae3fe77c070b235 /mail/vpopmail
parent4759569f6ceb485606b346489349a33d1d7c52a6 (diff)
downloadFreeBSD-ports-c19336d24655bcc9b0c012b3db3fae747ff4d706.zip
FreeBSD-ports-c19336d24655bcc9b0c012b3db3fae747ff4d706.tar.gz
Update vpopmail to version 5.2.
Introduce two new build knobs: - WITH_CLEAR_PASSWD actually enable the clear passwords management that was turned on by default in 5.2 (hello, POLA!) - WITH_MD5_PASSWORDS for the encrypted passwords, use MD5 hashes. Prompted by: Claus Rasmussen <claus@webclaus.com>
Diffstat (limited to 'mail/vpopmail')
-rw-r--r--mail/vpopmail/Makefile14
-rw-r--r--mail/vpopmail/distinfo2
2 files changed, 13 insertions, 3 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index 200c3a3..335be40 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= vpopmail
-PORTVERSION= 5.0.1
+PORTVERSION= 5.2
CATEGORIES= mail
MASTER_SITES= http://www.inter7.com/vpopmail/
@@ -34,8 +34,10 @@ CONFIGURE_ARGS= --enable-qmaildir=${QMAIL_DIR} \
# Define these to change from the default behaviour
#
# WITH_PASSWD - allow authentication off /etc/passwd
+# WITH_MD5_PASSWORDS - store encrypted passwords in MD5 format
# WITH_MYSQL - allow authentitation via mysql
# WITH_MYSQL_LARGE_SITE - enables large site layout
+# WITH_CLEAR_PASSWD - store passwords in plaintext into the MySQL db
# WITH_APOP - allow apop authentication
# WITHOUT_ROAMING - disallow roaming users
# WITH_IP_ALIAS - enables IP aliasing
@@ -90,13 +92,17 @@ QMAIL_DIR?= /var/qmail
# Some suggestions from Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
#
-CONFIGURE_ARGS+= --enable-hardquota=${HARDQUOTA} \
+CONFIGURE_ARGS+= --enable-defaultquota=${HARDQUOTA} \
--enable-logging=${LOGLEVEL}
.if defined(WITH_PASSWD)
CONFIGURE_ARGS+= --enable-passwd=y
.endif
+.if defined(WITH_MD5_PASSWORDS)
+CONFIGURE_ARGS+= --enable-md5-passwords=y
+.endif
+
.if defined(WITH_APOP)
CONFIGURE_ARGS+= --enable-apop=y \
--enable-apop-file=${APOPFILE}
@@ -113,6 +119,10 @@ CONFIGURE_ARGS+= --enable-roaming-users=y \
--enable-relay-clear-minutes=${RELAYCLEAR}
.endif
+.if !defined(WITH_CLEAR_PASSWD)
+CONFIGURE_ARGS+= --enable-clear-passwd=n
+.endif
+
.if defined(WITH_MYSQL)
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+= --enable-mysql=y \
diff --git a/mail/vpopmail/distinfo b/mail/vpopmail/distinfo
index 181db176..f462e5a 100644
--- a/mail/vpopmail/distinfo
+++ b/mail/vpopmail/distinfo
@@ -1 +1 @@
-MD5 (vpopmail-5.0.1.tar.gz) = 4402f272aca753ba4ad799fc59d37f2d
+MD5 (vpopmail-5.2.tar.gz) = fe0249785fd53deaa5f14813f292884d
OpenPOWER on IntegriCloud