diff options
author | nbm <nbm@FreeBSD.org> | 2001-01-29 15:18:28 +0000 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2001-01-29 15:18:28 +0000 |
commit | f5099a450a9c8848b83bd65f3c16a7a9b6338aaa (patch) | |
tree | e5eb5de2dcbf1597b6f9c26589c86dfb6ed5ee11 | |
parent | 9a4f254c285fa2bdc0fed0b7f1499c21f44da853 (diff) | |
download | FreeBSD-ports-f5099a450a9c8848b83bd65f3c16a7a9b6338aaa.zip FreeBSD-ports-f5099a450a9c8848b83bd65f3c16a7a9b6338aaa.tar.gz |
Incorporate optional DEFAULT_DOMAIN and mysql support.
PR: 24718
Submitted by: Alex Povolotsky <tarkhil@over.ru>
-rw-r--r-- | mail/vpopmail-devel/Makefile | 14 | ||||
-rw-r--r-- | mail/vpopmail-stable/Makefile | 14 | ||||
-rw-r--r-- | mail/vpopmail/Makefile | 14 |
3 files changed, 42 insertions, 0 deletions
diff --git a/mail/vpopmail-devel/Makefile b/mail/vpopmail-devel/Makefile index aa577fe..f5f37ed 100644 --- a/mail/vpopmail-devel/Makefile +++ b/mail/vpopmail-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= vpopmail PORTVERSION= 4.9.8 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.inter7.com/vpopmail/ @@ -30,6 +31,7 @@ CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \ # Define these to change from the default behaviour # # WITH_PASSWD - allow authentication off /etc/passwd +# WITH_MYSQL - allow authentitation via mysql # WITH_APOP - allow apop authentication # WITHOUT_ROAMING - disallow roaming users # @@ -37,6 +39,7 @@ CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \ # # HARDQUOTA - size of hard quota, or 'n' for no hard quota # RELAYCLEAR - time in minutes before clearing relay hole (requires roaming) +# DEFAULT_DOMAIN - default domain for non-vhost lookups # LOGLEVEL - n - no logging, y - log all, # e - log errors, p - log passwords in errors # APOPFILE - location of apop secrets file @@ -84,6 +87,17 @@ CONFIGURE_ARGS+= --enable-roaming-users=y \ --enable-relay-clear-minutes=${RELAYCLEAR} .endif +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+= --with-mysql=y \ + --with-sqlincdir=${LOCALBASE}/include/mysql \ + --with-sqllibdir=${LOCALBASE}/lib/mysql +.endif + +.if defined(DEFAULT_DOMAIN) +CONFIGURE_ARGS+= --enable-default-domain=${DEFAULT_DOMAIN} +.endif + # # This port doesn't honour PREFIX, it honours vpopmail's home directory. # Since we create vpopmail if it doesn't exist, we set it so that it diff --git a/mail/vpopmail-stable/Makefile b/mail/vpopmail-stable/Makefile index aa577fe..f5f37ed 100644 --- a/mail/vpopmail-stable/Makefile +++ b/mail/vpopmail-stable/Makefile @@ -7,6 +7,7 @@ PORTNAME= vpopmail PORTVERSION= 4.9.8 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.inter7.com/vpopmail/ @@ -30,6 +31,7 @@ CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \ # Define these to change from the default behaviour # # WITH_PASSWD - allow authentication off /etc/passwd +# WITH_MYSQL - allow authentitation via mysql # WITH_APOP - allow apop authentication # WITHOUT_ROAMING - disallow roaming users # @@ -37,6 +39,7 @@ CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \ # # HARDQUOTA - size of hard quota, or 'n' for no hard quota # RELAYCLEAR - time in minutes before clearing relay hole (requires roaming) +# DEFAULT_DOMAIN - default domain for non-vhost lookups # LOGLEVEL - n - no logging, y - log all, # e - log errors, p - log passwords in errors # APOPFILE - location of apop secrets file @@ -84,6 +87,17 @@ CONFIGURE_ARGS+= --enable-roaming-users=y \ --enable-relay-clear-minutes=${RELAYCLEAR} .endif +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+= --with-mysql=y \ + --with-sqlincdir=${LOCALBASE}/include/mysql \ + --with-sqllibdir=${LOCALBASE}/lib/mysql +.endif + +.if defined(DEFAULT_DOMAIN) +CONFIGURE_ARGS+= --enable-default-domain=${DEFAULT_DOMAIN} +.endif + # # This port doesn't honour PREFIX, it honours vpopmail's home directory. # Since we create vpopmail if it doesn't exist, we set it so that it diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile index aa577fe..f5f37ed 100644 --- a/mail/vpopmail/Makefile +++ b/mail/vpopmail/Makefile @@ -7,6 +7,7 @@ PORTNAME= vpopmail PORTVERSION= 4.9.8 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.inter7.com/vpopmail/ @@ -30,6 +31,7 @@ CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \ # Define these to change from the default behaviour # # WITH_PASSWD - allow authentication off /etc/passwd +# WITH_MYSQL - allow authentitation via mysql # WITH_APOP - allow apop authentication # WITHOUT_ROAMING - disallow roaming users # @@ -37,6 +39,7 @@ CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \ # # HARDQUOTA - size of hard quota, or 'n' for no hard quota # RELAYCLEAR - time in minutes before clearing relay hole (requires roaming) +# DEFAULT_DOMAIN - default domain for non-vhost lookups # LOGLEVEL - n - no logging, y - log all, # e - log errors, p - log passwords in errors # APOPFILE - location of apop secrets file @@ -84,6 +87,17 @@ CONFIGURE_ARGS+= --enable-roaming-users=y \ --enable-relay-clear-minutes=${RELAYCLEAR} .endif +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+= --with-mysql=y \ + --with-sqlincdir=${LOCALBASE}/include/mysql \ + --with-sqllibdir=${LOCALBASE}/lib/mysql +.endif + +.if defined(DEFAULT_DOMAIN) +CONFIGURE_ARGS+= --enable-default-domain=${DEFAULT_DOMAIN} +.endif + # # This port doesn't honour PREFIX, it honours vpopmail's home directory. # Since we create vpopmail if it doesn't exist, we set it so that it |