head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2025.06.07.08.58.43; author nia; state Exp; branches; next ; commitid vXq1mbQoioDU9WXF; desc @@ 1.1 log @mariadb118: Initial import MariaDB 11.8 is a long-term release series, maintained until Jun 2028. Notable features since 11.4, the last LTS branch: - aarch64 SIMD instructions now supported in Vectors - Optimizer improvements - Configure limits on sizes of temporary files - Y2038 support for TIMESTAMP values on 64-bit platforms - Added the --dir option to mariadb-import, allowing one to restore all tables from a backup directory created using mariadb-dump --dir - The mariadb-dump --no-autocommit option is now set by default to allow faster data loading by InnoDB, writing only one undo log for the whole operation - mariadb-import has a new option, --innodb-optimize-keys to delay creation of secondary indexes - New USERS table in the Information Schema for storing information about users - More columns in Information Schema for greater observability - SESSION_USER(), which used to be an alias for USER() now shows the value of CURRENT_USER() when the session was created pkgsrc-specific notes: - This has been verified to build successfully on NetBSD, FreeBSD, OpenBSD, macOS (arm & x86), Linux. SunOS tests should happen. - This now requires a C++17 compiler instead of a C++11 compiler. - Care should be taken before switching the default MariaDB version for the above reasons. - The new PARSEC plugin is disabled by default to avoid PLIST troubles - it depends on specific features added in a specific version of OpenSSL. @ text @$NetBSD: patch-plugin_auth__socket_CMakeLists.txt,v 1.1 2024/08/21 21:08:34 nia Exp $ Add SO_PEERCRED definitions for NetBSD. https://github.com/MariaDB/server/pull/1884 --- plugin/auth_socket/CMakeLists.txt.orig 2021-07-05 10:15:49.000000000 +0000 +++ plugin/auth_socket/CMakeLists.txt @@@@ -57,6 +57,21 @@@@ IF (HAVE_XUCRED) SET(ok 1) ELSE() +# NetBSD, is that you? +CHECK_CXX_SOURCE_COMPILES( +"#include +#include +int main() { + struct unpcbid unp; + socklen_t unpl = sizeof(unp); + getsockopt(0, 0, LOCAL_PEEREID, &unp, &unpl); + }" HAVE_UNPCBID) + +IF (HAVE_UNPCBID) + ADD_DEFINITIONS(-DHAVE_UNPCBID) + SET(ok 1) +ELSE() + # illumos, is that you? CHECK_CXX_SOURCE_COMPILES( "#include @@@@ -104,6 +119,7 @@@@ ENDIF() ENDIF() ENDIF() ENDIF() +ENDIF() IF(ok) MYSQL_ADD_PLUGIN(auth_socket auth_socket.c DEFAULT) @