diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-28 17:48:01 +0100 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-29 19:24:39 +0100 |
commit | ee6c86aea577dec2643f6a9915033feda7f67e26 (patch) | |
tree | 36f2f4b966bacb640b14648c3bf90ee926a6c177 /databases | |
parent | net-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 'databases')
-rw-r--r-- | databases/luadbi/Makefile | 2 | ||||
-rw-r--r-- | databases/mroonga/Makefile | 2 | ||||
-rw-r--r-- | databases/mysql-connector-c++/Makefile | 2 | ||||
-rw-r--r-- | databases/mysql-udf/Makefile | 2 | ||||
-rw-r--r-- | databases/mysqltcl/Makefile | 2 | ||||
-rw-r--r-- | databases/ocaml-mysql/Makefile | 2 | ||||
-rw-r--r-- | databases/qt6-base_sqldriver/Makefile | 4 | ||||
-rw-r--r-- | databases/rubygem-mysql/Makefile | 2 |
8 files changed, 11 insertions, 7 deletions
diff --git a/databases/luadbi/Makefile b/databases/luadbi/Makefile index 1f1ef208f298..37413e1749bf 100644 --- a/databases/luadbi/Makefile +++ b/databases/luadbi/Makefile @@ -41,7 +41,7 @@ MYSQL_ALL_TARGET= mysql MYSQL_PLIST_FILES= %%LUA_MODLIBDIR%%/dbd/mysql.so MYSQL_MAKE_ENV+= MYSQL_LDFLAGS="-L${LOCALBASE}/lib/mysql -lmysqlclient" MYSQL_MAKE_ENV+= MYSQL_INC="-I${LOCALBASE}/include/mysql" -MYSQL_VARS= IGNORE_WITH_MYSQL=80 +MYSQL_VARS= IGNORE_WITH_MYSQL="80 81" SQLITE3_USES= localbase:ldflags sqlite:3 SQLITE3_ALL_TARGET= sqlite3 diff --git a/databases/mroonga/Makefile b/databases/mroonga/Makefile index ad6051b4b023..159548452f64 100644 --- a/databases/mroonga/Makefile +++ b/databases/mroonga/Makefile @@ -14,7 +14,7 @@ BUILD_DEPENDS= ${NONEXISTENT}:${_MYSQL_SERVER}:configure LIB_DEPENDS= libgroonga.so:textproc/groonga USES= compiler:c11 libtool mysql pkgconfig shebangfix -IGNORE_WITH_MYSQL= 105m 57w +IGNORE_WITH_MYSQL= 105m 106m 1011m 57w 81 SHEBANG_FILES= data/rpm/post.sh data/rpm/preun.sh diff --git a/databases/mysql-connector-c++/Makefile b/databases/mysql-connector-c++/Makefile index d92836b8f8f1..73cd4352bdd5 100644 --- a/databases/mysql-connector-c++/Makefile +++ b/databases/mysql-connector-c++/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libzstd.so:archivers/zstd USES= cmake:noninja compiler:c++17-lang cpe gmake mysql ssl -IGNORE_WITH_MYSQL= 105m +IGNORE_WITH_MYSQL= 105m 106m 1011m CPE_VENDOR= oracle USE_CXXSTD= c++17 USE_LDCONFIG= yes diff --git a/databases/mysql-udf/Makefile b/databases/mysql-udf/Makefile index 5aa8b07e56f3..47b93958b828 100644 --- a/databases/mysql-udf/Makefile +++ b/databases/mysql-udf/Makefile @@ -14,7 +14,7 @@ DEPRECATED= Upstream last update was in 2007 EXPIRATION_DATE= 2023-12-31 USES= mysql -IGNORE_WITH_MYSQL= 80 +IGNORE_WITH_MYSQL= 105m 106m 1011m 80 81 CFLAGS+= -fPIC diff --git a/databases/mysqltcl/Makefile b/databases/mysqltcl/Makefile index 6103ea539eda..dba640436ca9 100644 --- a/databases/mysqltcl/Makefile +++ b/databases/mysqltcl/Makefile @@ -8,7 +8,7 @@ COMMENT= TCL module for accessing MySQL databases based on msqltcl WWW= http://www.xdobry.de/mysqltcl/ USES= mysql tcl -IGNORE_WITH_MYSQL= 80 +IGNORE_WITH_MYSQL= 80 81 USE_LDCONFIG= yes PLIST_FILES= lib/${PORTNAME}-${PORTVERSION}/libmysqltcl${PORTVERSION}.so \ diff --git a/databases/ocaml-mysql/Makefile b/databases/ocaml-mysql/Makefile index 6dee49ad6204..7783983b5fb1 100644 --- a/databases/ocaml-mysql/Makefile +++ b/databases/ocaml-mysql/Makefile @@ -13,7 +13,7 @@ WWW= http://ygrek.org.ua/p/ocaml-mysql/ LICENSE= LGPL21 USES= gmake mysql -IGNORE_WITH_MYSQL= 80 +IGNORE_WITH_MYSQL= 80 81 USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAML_CAMLP4= yes diff --git a/databases/qt6-base_sqldriver/Makefile b/databases/qt6-base_sqldriver/Makefile index b7f4abfe8308..fc30996a3275 100644 --- a/databases/qt6-base_sqldriver/Makefile +++ b/databases/qt6-base_sqldriver/Makefile @@ -30,4 +30,8 @@ sqlite_USES= sqlite:3 sqlite_CMAKE_ON= QT_FEATURE_system_sqlite ${FLAVOR}_PLIST= ${.CURDIR}/pkg-plist.${FLAVOR} +.if ${FLAVOR:U} == mysql +IGNORE_WITH_MYSQL= 105m 106m 1011m +.endif + .include <bsd.port.mk> diff --git a/databases/rubygem-mysql/Makefile b/databases/rubygem-mysql/Makefile index d0a20eb92c53..462c4779a28d 100644 --- a/databases/rubygem-mysql/Makefile +++ b/databases/rubygem-mysql/Makefile @@ -12,6 +12,6 @@ LICENSE= GPLv2 RUBY LICENSE_COMB= dual USES= gem mysql -IGNORE_WITH_MYSQL= 80 +IGNORE_WITH_MYSQL= 80 81 .include <bsd.port.mk> |