diff options
author | roam <roam@FreeBSD.org> | 2005-06-07 08:51:34 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2005-06-07 08:51:34 +0000 |
commit | d87ad06f5d351ffa594152c08581a73b3d77b999 (patch) | |
tree | 87e74be6f3ce79943cca97a33a984fb1b60e1579 /mail/vpopmail | |
parent | 2520009e6ef18e5e1da511fb32bf4f4710663c87 (diff) | |
download | FreeBSD-ports-d87ad06f5d351ffa594152c08581a73b3d77b999.zip FreeBSD-ports-d87ad06f5d351ffa594152c08581a73b3d77b999.tar.gz |
Use --enable-sql-logging instead of the deprecated --enable-mysql-logging
and --enable-pgsql-logging. Correspondingly, deprecate WITH_MYSQL_LOG and
WITH_PGSQL_LOG in favor of WITH_SQL_LOG.
Reported by: Alexander B. Zubkov <sasha@sekrett.ru>,
Martin Tsachev <mtsachev@gmail.com>
Diffstat (limited to 'mail/vpopmail')
-rw-r--r-- | mail/vpopmail/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile index 7b529af..0e2b2ac 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) |