aboutsummaryrefslogtreecommitdiff
path: root/mail/vpopmail
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2005-06-07 08:51:34 +0000
committerPeter Pentchev <roam@FreeBSD.org>2005-06-07 08:51:34 +0000
commit36001620eb930c42d31f98a12af966d9c460891f (patch)
tree24861cc0561ab9b990e1e0234529bb85b3db8657 /mail/vpopmail
parent491be68d30e9e1f9738cacc2e0b9a68bcccb506e (diff)
downloadports-36001620eb930c42d31f98a12af966d9c460891f.tar.gz
ports-36001620eb930c42d31f98a12af966d9c460891f.zip
Notes
Diffstat (limited to 'mail/vpopmail')
-rw-r--r--mail/vpopmail/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index 7b529afe0539..0e2b2ac00fa2 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpopmail
PORTVERSION= 5.4.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -73,8 +73,9 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# e - log errors, p - log passwords in errors,
# v - verbose success and errors with passwords
# WITHOUT_AUTH_LOG - disables authentication logging
-# WITH_MYSQL_LOG - enable logging to a MySQL database
-# WITH_PGSQL_LOG - enable logging to a PostgreSQL database
+# WITH_MYSQL_LOG - enable auth logging to a MySQL database [deprecateed]
+# WITH_PGSQL_LOG - enable auth logging to a PostgreSQL database [deprecated]
+# WITH_SQL_LOG - enable auth logging to the selected SQL database
# QMAIL_DIR - location of qmail directory
# PREFIX - installation area for vpopmail (see comment below)
# VCHKPW_GID - the group ID of the new vchkpw group (89)
@@ -153,7 +154,7 @@ CONFIGURE_ARGS+= --enable-auth-module=mysql \
CONFIGURE_ARGS+= --enable-mysql-replication
.endif
.if defined(WITH_MYSQL_LOG)
-CONFIGURE_ARGS+= --enable-mysql-logging
+WITH_SQL_LOG= yes
.endif
.if defined(WITH_MYSQL_LIMITS)
CONFIGURE_ARGS+= --enable-mysql-limits
@@ -180,10 +181,14 @@ USE_PGSQL= yes
CONFIGURE_ARGS+= --enable-auth-module=pgsql
.if defined(WITH_PGSQL_LOG)
-CONFIGURE_ARGS+= --enable-pgsql-logging
+WITH_SQL_LOG= yes
.endif
.endif
+.if defined(WITH_SQL_LOG)
+CONFIGURE_ARGS+= --enable-sql-logging
+.endif
+
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/qmail/bin/qmail-send)