head	1.5;
access;
symbols
	pkgsrc-2026Q1:1.5.0.4
	pkgsrc-2026Q1-base:1.5
	pkgsrc-2025Q4:1.5.0.2
	pkgsrc-2025Q4-base:1.5
	pkgsrc-2025Q3:1.4.0.4
	pkgsrc-2025Q3-base:1.4
	pkgsrc-2025Q2:1.4.0.2
	pkgsrc-2025Q2-base:1.4
	pkgsrc-2025Q1:1.3.0.4
	pkgsrc-2025Q1-base:1.3
	pkgsrc-2024Q4:1.3.0.2
	pkgsrc-2024Q4-base:1.3
	pkgsrc-2024Q3:1.1.0.2
	pkgsrc-2024Q3-base:1.1;
locks; strict;
comment	@# @;


1.5
date	2025.10.27.20.53.45;	author nia;	state Exp;
branches;
next	1.4;
commitid	xUJSWsKQAxLKAfgG;

1.4
date	2025.06.06.20.15.49;	author nia;	state Exp;
branches;
next	1.3;
commitid	DVoaqShiRkfzYRXF;

1.3
date	2024.12.13.14.07.44;	author nia;	state Exp;
branches;
next	1.2;
commitid	e7jd9oYWRW1hzlBF;

1.2
date	2024.12.11.10.32.04;	author nia;	state dead;
branches;
next	1.1;
commitid	prQ2a366122br4BF;

1.1
date	2024.08.21.21.08.34;	author nia;	state Exp;
branches;
next	;
commitid	lrFoRXflimyIyJmF;


desc
@@


1.5
log
@mariadb114: Update to 11.4.8

The usual bundle of reliability fixes.
@
text
@$NetBSD: patch-cmake_libfmt.cmake,v 1.3 2024/12/13 14:07:45 nia Exp $

Disable broken libfmt detection.

--- cmake/libfmt.cmake.orig	2025-05-19 16:14:24.000000000 +0000
+++ cmake/libfmt.cmake
@@@@ -25,28 +25,7 @@@@ MACRO(BUNDLE_LIBFMT)
 ENDMACRO()
 
 MACRO (CHECK_LIBFMT)
-  IF(WITH_LIBFMT STREQUAL "system" OR WITH_LIBFMT STREQUAL "auto")
-    SET(CMAKE_REQUIRED_INCLUDES ${LIBFMT_INCLUDE_DIR})
-    CHECK_CXX_SOURCE_RUNS(
-    "#define FMT_HEADER_ONLY 1
-     #include <fmt/args.h>
-     int main() {
-       using ArgStore= fmt::dynamic_format_arg_store<fmt::format_context>;
-       ArgStore arg_store;
-       int answer= 4321;
-       arg_store.push_back(answer);
-       return fmt::vformat(\"{}\", arg_store).compare(\"4321\");
-     }" HAVE_SYSTEM_LIBFMT)
-    SET(CMAKE_REQUIRED_INCLUDES)
-  ENDIF()
-  IF(NOT HAVE_SYSTEM_LIBFMT OR WITH_LIBFMT STREQUAL "bundled")
-    IF (WITH_LIBFMT STREQUAL "system")
-      MESSAGE(FATAL_ERROR "system libfmt library is not found or unusable")
-    ENDIF()
-    BUNDLE_LIBFMT()
-  ELSE()
-    FIND_FILE(Libfmt_core_h fmt/core.h) # for build_depends.cmake
-  ENDIF()
+  FIND_FILE(Libfmt_core_h fmt/core.h) # for build_depends.cmake
 ENDMACRO()
 
 MARK_AS_ADVANCED(LIBFMT_INCLUDE_DIR)
@


1.4
log
@mariadb114: Update to 11.4.7

Fixes for the following security issues:

- CVE-2025-30722
- CVE-2025-30693
- CVE-2023-52970
- CVE-2023-52969
- CVE-2023-52971

Fixes the build on OpenBSD, detected by drecklypkg ci.
@
text
@@


1.3
log
@mariadb: Restore libfmt detection patch on applicable versions
@
text
@d1 1
a1 1
$NetBSD$
d5 1
a5 1
--- cmake/libfmt.cmake.orig	2024-12-13 13:59:17.741050173 +0000
d7 1
a7 1
@@@@ -25,29 +25,7 @@@@ MACRO(BUNDLE_LIBFMT)
d14 1
a14 2
-    "#define FMT_STATIC_THOUSANDS_SEPARATOR ','
-     #define FMT_HEADER_ONLY 1
d21 1
a21 1
-       return fmt::vformat(\"{:L}\", arg_store).compare(\"4,321\");
@


1.2
log
@mariadb114: Update to 11.4.4

                          MariaDB 11.4.4 Release Notes

Notable Items

  Storage Engines

    InnoDB

     * Fix attempt to read outside the bounds of the file: ./ibdata1
       (MDEV-34453)
     * Fix MariaDB crash with SIGILL because the OS does not support AVX512
       (MDEV-34565)
     * Fix deadlock caused by lock_rec_unlock_unmodified() (MDEV-34690)
     * Fix duplicate key error in table 'mysql.innodb_table_stats'
       (MDEV-34207)
     * Fix possible adaptive hash index corruption with ALTER TABLE...IMPORT
       TABLESPACE and FULLTEXT SEARCH (MDEV-35059)
     * XA prepare now correctly releases unmodified records in non-blocking
       mode (MDEV-34466)
     * Fix contention between secondary index UPDATE and purge due to large
       innodb_purge_batch_size (MDEV-34515)
          * New default of 127 for innodb_purge_batch_size (previously 1000).
     * Fix redundant page lookups that hurt performance (MDEV-34791)

    Spider

     * Fix server crash when calling spider UDF after aria_encrypt_tables is
       enabled (MDEV-34682)
     * SELECT MIN on Spider table no longer returns more rows than expected
       (MDEV-26345)
     * Fix Spider group by handler wrong result on order by aggregate
       (MDEV-29546)

    S3

     * Fix Storage Engine S3 that caused 500 error when using Huawai Cloud S3
       and possibly other S3 providers (MDEV-34867)
          * A new option s3-provider has been added. s3-provider=Huawai needs
            to be set for Huawai Cloud S3
          * New option s3_ssl_no_verify, if true, SSL certificate
            verification for the S3 endpoint is disabled

  Optimizer

     * Fix crash caused by query containing constant having clause
       (MDEV-23983)
     * Fix assertion with optimizer_join_limit_pref_ratio and 1-table select
       (MDEV-35072)

  Data Definition - Alter Table

     * Modification of the column now correctly checks foreign key constraint
       (MDEV-34392)
     * Fix incorrect NULL value handling for instantly dropped BLOB columns
       (MDEV-35122)

  Galera

     * Galera updated to 26.4.20
     * Fix server crash when setting wsrep_cluster_address after adding
       invalid value to wsrep_allowlist table (MDEV-31173)
     * TOI (ALTER) no longer hangs on a parent table if SR transaction is in
       progress on a child table (MDEV-34836)
     * Fix INSERT...SELECT' on MyISAM table suddenly replicated by alera
       (MDEV-34647)
     * Fix case where with wsrep_mode=REPLICATE_ARIA, only part of the
       mixed-engine transactions was replicated (MDEV-30653)
     * Fix galera_ssl_reload failure with warning message (MDEV-32778)
     * When InnoDB gets an assertion failure, WSREP layer is now handled
       gracefully (MDEV-32363)

  Backup

     * Recovery now correctly notes some log corruption (MDEV-34802)
     * InnoDB now correctly merges the change buffer to ROW_FORMAT=COMPRESSED
       tables (MDEV-34879)
     * Can now selectively restore sequences using innodb tables from backup
       (MDEV-32350)

  JSON

     * JSON_TABLE now properly unquotes strings (MDEV-27412)
     * JSON_TABLE default values now allows non-string literals (MDEV-25822)

  General

     * mariadbd no longer hangs on startup when --init-file target does not
       exist (MDEV-34814)
     * LOAD DATA INFILE with geometry data no longer fails (MDEV-34883)
     * Fix heap-use-after-free in group_concat with compressed or GIS columns
       (MDEV-16699)
     * Fix assertion `!is_cond()' failed in Item_bool_func::val_int /
       do_select (MDEV-35135)
     * Trigger now works correctly with bulk update (MDEV-34718)
     * Fix assertion failure in find_producing_item upon a query from a view
       (MDEV-35276)
     * Add new setting, --quick-max-column-width to the mariadb client for
       use in --quick mode (MDEV-34704)
@
text
@d1 1
a1 1
$NetBSD: patch-cmake_libfmt.cmake,v 1.1 2024/08/21 21:08:34 nia Exp $
d5 1
a5 1
--- cmake/libfmt.cmake.orig	2024-05-03 09:45:28.584587681 +0000
d7 1
a7 1
@@@@ -25,28 +25,7 @@@@ MACRO(BUNDLE_LIBFMT)
d16 1
a16 1
-     #include <fmt/format-inl.h>
d18 2
d21 2
a22 3
-       fmt::format_args::format_arg arg=
-         fmt::detail::make_arg<fmt::format_context>(answer);
-       return fmt::vformat(\"{:L}\", fmt::format_args(&arg, 1)).compare(\"4,321\");
@


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
@d1 1
a1 1
$NetBSD: patch-cmake_libfmt.cmake,v 1.1 2024/05/03 09:48:19 wiz Exp $
@

