summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-28 17:48:01 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-29 19:24:39 +0100
commitee6c86aea577dec2643f6a9915033feda7f67e26 (patch)
tree36f2f4b966bacb640b14648c3bf90ee926a6c177 /mail
parentnet-p2p/tooth: Mark deprecated, drop maintainership (diff)
*/*: Refactor with IGNORE_WITH_MYSQL
- There are multiple ports which has MYSQL options and are non-DEFAULT. Most of the time committers actually forget to check with the OPTION enabled and in some cases they are BROKEN with newr versions of mysql. So test with different versions of mysql and mark IGNOPRE_WITH_MYSQL appropriately. Due to the EOL of 5.7 this has not been checked. - Unbreak sysutils/cfengine* with MySQL 8.0 and later - The primary purpose of running this check is having statistics of the MySQL usability over MariaDB to explore the future possibility of shifting to MariaDB as the default as major ports upstream have moved their codebase to support MariaDB over MySQL. - The following actions will also be taken after the sunset of MySQL 5.7 If a port is broken on all instances of MySQL/MariaDB: - If a port has the option of multiple DB backends and MySQL is the default then the DEFAULT will be changed to PGSQL/SQLITE before 2024Q1. And the OPTION will be removed before 2024Q2. If a MAINTAINER is aware about such cases and want to prefer PGSQL over SQLITE or vice versa please do so at your own accord. Otherwise PGSQL will be preferred over SQLITE. - If a port has the option of multiple DB backends and MySQL is not the default then the the OPTION will be removed before 2024Q1. Approved by: portmgr (blanket)
Diffstat (limited to 'mail')
-rw-r--r--mail/dspam/Makefile1
-rw-r--r--mail/tpop3d/Makefile1
-rw-r--r--mail/vpopmail/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 86033f5736f1..adfe4d029a81 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -271,6 +271,7 @@ CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
PLIST_SUB+= MYSQL=""
_DBDRV_COUNT:= ${_DBDRV_COUNT}o
+IGNORE_WITH_MYSQL= 105m 106m 1011m
. if ${PORT_OPTIONS:MMYSQL_COMPRESS}
CONFIGURE_ARGS+= --enable-client-compression
. endif
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index dc5f18dfb8ef..3905f6c73aba 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -45,6 +45,7 @@ MYSQL_USES= mysql
MYSQL_CONFIGURE_ON= --enable-auth-mysql \
--with-mysql-lib-dir=${LOCALBASE}/lib/mysql \
--with-mysql-include-dir=${LOCALBASE}/include/mysql
+MYSQL_VARS= IGNORE_WITH_MYSQL="80 81"
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ON= --enable-auth-pgsql \
--with-pgsql-lib-dir=${LOCALBASE}/lib \
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index a03b5cc197a2..fd7c9c3e64f3 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -148,6 +148,7 @@ ROAMING_CONFIGURE_ON= --enable-roaming-users \
MYSQL_CONFIGURE_ON= --enable-auth-module=mysql \
--enable-incdir=${LOCALBASE}/include/mysql \
--enable-libdir=${LOCALBASE}/lib/mysql
+MYSQL_VARS= IGNORE_WITH_MYSQL="105m 106m 1011m 80 81"
MYSQL_REPLICATION_CONFIGURE_ON= --enable-mysql-replication
MYSQL_LIMITS_CONFIGURE_ON= --enable-mysql-limits