git: 41383e28e9d1 - 2023Q2 - databases/mariadb106-server: Bugfixes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 May 2023 12:03:09 UTC
The branch 2023Q2 has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=41383e28e9d17d1d2de370170e27bab4188da488 commit 41383e28e9d17d1d2de370170e27bab4188da488 Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2023-04-10 11:32:31 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2023-05-31 12:03:00 +0000 databases/mariadb106-server: Bugfixes * Don't override bind-address when WSREP is enabled [1] * Fix typo in mysql_config patch [2] * Update CONFLICTS after MariaDB 10.0.11 port creation PR: 264999[1], 269654[2] Reported by: ingenium <freebsd gmx info>[1], Oleg Sidorkin <osidorkin gmail com> (cherry picked from commit c55765750a896182a2774ced7217145fa746cdba) --- databases/mariadb106-server/Makefile | 1 + databases/mariadb106-server/files/patch-scripts_mysql__config.sh | 2 +- databases/mariadb106-server/files/pkg-message.in | 4 ++++ databases/mariadb106-server/pkg-plist | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/databases/mariadb106-server/Makefile b/databases/mariadb106-server/Makefile index 26def325d2f8..83fffd842974 100644 --- a/databases/mariadb106-server/Makefile +++ b/databases/mariadb106-server/Makefile @@ -120,6 +120,7 @@ DATADIR= ${PREFIX}/share/mysql ETCDIR= ${PREFIX}/etc/mysql CONFLICTS_INSTALL= mariadb10[0-57-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ + mariadb1011-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* diff --git a/databases/mariadb106-server/files/patch-scripts_mysql__config.sh b/databases/mariadb106-server/files/patch-scripts_mysql__config.sh index 31b54bf148c5..f8321be63ecc 100644 --- a/databases/mariadb106-server/files/patch-scripts_mysql__config.sh +++ b/databases/mariadb106-server/files/patch-scripts_mysql__config.sh @@ -4,7 +4,7 @@ # Create options libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@" embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@" -+embedded_libs="-L$embedded_libs -%%LOCALBASE%%/lib " ++embedded_libs="$embedded_libs -%%LOCALBASE%%/lib " include="-I$pkgincludedir" if [ "$basedir" != "/usr" ]; then diff --git a/databases/mariadb106-server/files/pkg-message.in b/databases/mariadb106-server/files/pkg-message.in index 189a27624f5d..19d0db2a69df 100644 --- a/databases/mariadb106-server/files/pkg-message.in +++ b/databases/mariadb106-server/files/pkg-message.in @@ -12,6 +12,10 @@ nor /var/db/mysql for logs and PID-file. This port does NOT include the mytop perl script, this is included in the MariaDB tarball but the most recent version can be found in the databases/mytop port + +%%WSREP%%Using wsrep clustering requires adding a configuration file. +%%WSREP%%Copy %%PREFIX%%/etc/mysql/conf.d/wsrep.conf.sample to +%%WSREP%%%%PREFIX%%/etc/mysql/conf.d/wsrep.conf and change what you need there. EOM } { type: upgrade diff --git a/databases/mariadb106-server/pkg-plist b/databases/mariadb106-server/pkg-plist index 96f3a8a38b83..9867f566ebf2 100644 --- a/databases/mariadb106-server/pkg-plist +++ b/databases/mariadb106-server/pkg-plist @@ -62,7 +62,7 @@ bin/test-connect-t @comment %%ETCDIR%%/server.cnf @sample %%ETCDIR%%/conf.d/server.cnf.sample %%SPIDER%%@sample %%ETCDIR%%/conf.d/spider.cnf.sample -%%WSREP%%@sample %%ETCDIR%%/conf.d/wsrep.cnf.sample +%%WSREP%%%%ETCDIR%%/conf.d/wsrep.cnf.sample @comment %%ETCDIR%%/my.cnf @sample %%ETCDIR%%/user_map.conf.sample include/mysql/server/big_endian.h