head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.14 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.12 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.10 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.8 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.6 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.4 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.2 pkgsrc-2024Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2024.08.21.21.08.34; author nia; state Exp; branches; next ; commitid lrFoRXflimyIyJmF; desc @@ 1.1 log @databases: Import MariaDB 11.4, the most recent LTS release. MariaDB Server is one of the most popular open source relational databases. It's made by the original developers of MySQL. MariaDB turns data into structured information in a wide array of applications, ranging from banking to websites. It is an enhanced, drop-in replacement for MySQL. MariaDB is used because it is fast, scalable and robust, with a rich ecosystem of storage engines, plugins and many other tools make it very versatile for a wide variety of use cases. MariaDB is developed as open source software and as a relational database it provides an SQL interface for accessing data. The latest versions of MariaDB also include GIS and JSON features. @ text @$NetBSD: patch-plugin_auth__socket_CMakeLists.txt,v 1.1 2023/07/10 22:55:49 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) @