diff options
-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 aa577fe8fde0..f5f37ed80fca 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 aa577fe8fde0..f5f37ed80fca 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 aa577fe8fde0..f5f37ed80fca 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 |