Raspbian automatic forward porter [Tue, 10 Sep 2024 18:58:59 +0000 (19:58 +0100)]
Merge version 1:11.4.2-4+rpi1 and 1:11.4.3-1 to produce 1:11.4.3-1+rpi1
Otto Kekäläinen [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
Merge mariadb (1:11.4.3-1) import into refs/heads/workingbranch
Otto Kekäläinen [Thu, 4 Jul 2024 07:03:58 +0000 (00:03 -0700)]
[PATCH] Make compile_time_assert compatible with x32 (Closes: #
1063738)
The x32 build was failing on:
compile_time_assert(sizeof(MYSQL) == 77*sizeof(void*)+656);
Reported upstream at https://jira.mariadb.org/browse/MDEV-34195.
This is a regression from upstream commits
c432c9ef and
06a884a57071.
Fix is based on advice from https://lists.debian.org/debian-amd64/2024/07/msg00003.html
which is also aligned with https://wiki.debian.org/X32Port.
Gbp-Pq: Name
1063738-x32-compile-time-assert.patch
Debian MySQL Maintainers [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
[PATCH] Disable the 'mysql*' command deprecation warning
Many command-line tools expect the commands they run to return without
any output in stderr or having error codes. The fact that now in MariaDB
11.4 all 'mysql*' commands emit a deprecation warning causes a lot of
scripts to fail, such as the /etc/init.d/mariadb itself and many dependant
programs as witnessed via Debian autopkgtests. See examples below.
https://ci.debian.net/packages/m/mariadb-connector-odbc/testing/amd64/
48373500/
https://ci.debian.net/packages/p/pam-mysql/testing/amd64/
48373511/
https://ci.debian.net/packages/r/roundcube/testing/amd64/
48373518/
Gbp-Pq: Name hide-mysql-command-deprecation-warnings.patch
Svante Signell [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
Bug#
1069094: mariadb: FTBFS on hurd-i386
Add Hurd to define __USE_FILE_OFFSET64 et al.
Gbp-Pq: Name hurd-i386-storage_connect_ioapi.h.patch
Svante Signell [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
Bug#
1069094: mariadb: FTBFS on hurd-i386
Define PATH_MAX if not defined.
Gbp-Pq: Name hurd-i386-plugin_disks_information_schema_disks.cc.patch
Otto Kekäläinen [Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)]
[PATCH] Fix misc spelling in MariaDB Server repository
Gbp-Pq: Name fix-spelling-mariadb.patch
Otto Kekäläinen [Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)]
[PATCH] Show banner in server and client startup to drive community engagement
Suggest to users that they can support MariaDB development by simply giving a
star on GitHub. This patch experiments with how well such a banner works, and
may later change the contents to drive some other kind of engagement.
Client output:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 34
Server version: 10.11.7-MariaDB-3 Debian n/a
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Support MariaDB developers by giving a star at https://github.com/MariaDB/server
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
Server output:
[Note] Support MariaDB developers by giving a star at https://github.com/MariaDB/server
Server output if build in git directory:
[Note] Starting MariaDB 10.11.7-MariaDB-3 source revision
219efb0a6ab0ee8ce2ec831c715783586c4db2ef as process 5426
Gbp-Pq: Name startup-message.patch
Daniel Black [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
mariadb: FTBFS on hurd-i386: undefined reference to misc functions and files
requires https://github.com/MariaDB/server/pull/2893 as debian
explicit architectures aren't needed since dh_auto_configure handles
this.
If it works, upstream welcome.
Hurd string from uname -m, "SYSTEM processor: i686-AT386" in mariadb
output. And wiki reference https://en.wikipedia.org/wiki/Uname
Gbp-Pq: Name
1006531-hurd-no-auth-socket.patch
Michael Biebl [Mon, 22 Jan 2024 21:52:25 +0000 (22:52 +0100)]
[PATCH] Install PAM modules and systemd units into /usr
Since Debian trixie all files need to be installed into their canonical
location under /usr.
Gbp-Pq: Name install-files-into-usr.patch
Otto Kekäläinen [Sat, 11 Mar 2023 19:22:24 +0000 (11:22 -0800)]
[PATCH] Fix trivial spelling errors
- handshak -> handshake
- occured -> occurred
- releated -> related
- reponse -> response
- seperated -> separated
- sucess -> success
- use use -> use
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name fix-spelling-libmariadb.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch
Debian MySQL Maintainers [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
fix-reproducible-builds-rocksdb
Origin: https://github.com/facebook/rocksdb/commit/
0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
# Merged in RocksDB 6.19.3, but not updated into MariaDB yet
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: Make RocksDB build reproducible
The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23·16:04:38@
As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.
This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.
Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
Debian MySQL Maintainers [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
fix-spelling-rocksdb
Forwarded: https://github.com/facebook/rocksdb/pull/9653
Origin: https://patch-diff.githubusercontent.com/raw/facebook/rocksdb/pull/9653.patch
# Merged in RocksDB 7.3.1, but not updated into MariaDB yet
From: Otto Kekäläinen <otto@debian.org>
Date: Wed, 2 Mar 2022 18:13:18 -0800
Subject: Fix various spelling errors still found in code
Two upstream PRs remain that have been merged, but not imported on MariaDB yet.
Gbp-Pq: Name fix-spelling-rocksdb.patch
Otto Kekäläinen [Sun, 20 Dec 2020 18:58:42 +0000 (20:58 +0200)]
Fix perl path in scripts Fix Lintian issue https://lintian.debian.org/tags/incorrect-path-for-interpreter.html . Upstream will never accept this patch, see https://github.com/MariaDB/server/pull/1718
Gbp-Pq: Name env-perl-usr-bin-perl.patch
Debian MySQL Maintainers [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
rocksdb-kfreebsd
Forwarded: https://github.com/facebook/rocksdb/pull/6992
# Merged in RocksDB 6.12.6 but not updated into MariaDB yet
From: Andrew Kryczka <andrewkr@fb.com>
Date: Tue, 16 Jun 2020 19:34:21 -0700
# Merged in RocksDB 6.13.fb, but not updated into MariaDB yet
Bug: https://jira.mariadb.org/browse/MDEV-19251
Description:
Upstream has merged this but we still need to wait for it to be included
in a RocksDB release and imported into MariaDB and then into Debian.
Gbp-Pq: Name rocksdb-kfreebsd.patch
Ondrej Sury [Wed, 22 Nov 2017 20:32:51 +0000 (20:32 +0000)]
Change the default optimization from -O3 to -O2 in mysql_release.cmake BUILD_CONFIG profile
Forwarded: no
Bug: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606
Gbp-Pq: Name 0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
Otto Kekäläinen [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
mariadb (1:11.4.3-1) unstable; urgency=medium
[ Otto Kekäläinen ]
* New upstream version 11.4.3. Includes fixes for several severe regressions
as noted at https://mariadb.com/kb/en/mariadb-11-4-3-release-notes/. This
release is not known to include any CVE assigned security fixes.
* Add Lintian override for metadata_lock_info.so not linked against libc
* Update Lintian overrides and MTR skiplists after 11.4.3 import
* Update server trace to include new parameters and values
* Refactor import * with only required imports
* Import upstream debian/ changes from MDEV-33750
* Pre-depend on 'procps' in mariadb-server
* Use /usr/lib/lsb/init-functions instead of old /lib location
* Rewrite the NEWS item to match latest status in MariaDB 11.4.3
* Extend gbp.conf and update maintainer READMEs to make git-buildpackage
and in general building and maintaining this package easier and more
approachable by new contributors
[ Bastien Roucariès ]
* Add NEWS file
[dgit import unpatched mariadb 1:11.4.3-1]
Otto Kekäläinen [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
Import mariadb_11.4.3.orig.tar.gz
[dgit import orig mariadb_11.4.3.orig.tar.gz]
Otto Kekäläinen [Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)]
Import mariadb_11.4.3-1.debian.tar.xz
[dgit import tarball mariadb 1:11.4.3-1 mariadb_11.4.3-1.debian.tar.xz]
Raspbian automatic forward porter [Sat, 27 Jul 2024 08:08:52 +0000 (09:08 +0100)]
Merge version 1:10.11.8-1+rpi1 and 1:11.4.2-4 to produce 1:11.4.2-4+rpi1
Otto Kekäläinen [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
Merge mariadb (1:11.4.2-4) import into refs/heads/workingbranch
Otto Kekäläinen [Thu, 4 Jul 2024 07:03:58 +0000 (00:03 -0700)]
[PATCH] Make compile_time_assert compatible with x32 (Closes: #
1063738)
The x32 build was failing on:
compile_time_assert(sizeof(MYSQL) == 77*sizeof(void*)+656);
Reported upstream at https://jira.mariadb.org/browse/MDEV-34195.
This is a regression from upstream commits
c432c9ef and
06a884a57071.
Fix is based on advice from https://lists.debian.org/debian-amd64/2024/07/msg00003.html
which is also aligned with https://wiki.debian.org/X32Port.
Gbp-Pq: Name
1063738-x32-compile-time-assert.patch
Debian MySQL Maintainers [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
[PATCH] Disable the 'mysql*' command deprecation warning
Many command-line tools expect the commands they run to return without
any output in stderr or having error codes. The fact that now in MariaDB
11.4 all 'mysql*' commands emit a deprecation warning causes a lot of
scripts to fail, such as the /etc/init.d/mariadb itself and many dependant
programs as witnessed via Debian autopkgtests. See examples below.
https://ci.debian.net/packages/m/mariadb-connector-odbc/testing/amd64/
48373500/
https://ci.debian.net/packages/p/pam-mysql/testing/amd64/
48373511/
https://ci.debian.net/packages/r/roundcube/testing/amd64/
48373518/
Gbp-Pq: Name hide-mysql-command-deprecation-warnings.patch
Svante Signell [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
Bug#
1069094: mariadb: FTBFS on hurd-i386
Add Hurd to define __USE_FILE_OFFSET64 et al.
Gbp-Pq: Name hurd-i386-storage_connect_ioapi.h.patch
Svante Signell [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
Bug#
1069094: mariadb: FTBFS on hurd-i386
Define PATH_MAX if not defined.
Gbp-Pq: Name hurd-i386-plugin_disks_information_schema_disks.cc.patch
Otto Kekäläinen [Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)]
[PATCH] Fix misc spelling in MariaDB Server repository
Gbp-Pq: Name fix-spelling-mariadb.patch
Otto Kekäläinen [Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)]
[PATCH] Show banner in server and client startup to drive community engagement
Suggest to users that they can support MariaDB development by simply giving a
star on GitHub. This patch experiments with how well such a banner works, and
may later change the contents to drive some other kind of engagement.
Client output:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 34
Server version: 10.11.7-MariaDB-3 Debian n/a
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Support MariaDB developers by giving a star at https://github.com/MariaDB/server
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
Server output:
[Note] Support MariaDB developers by giving a star at https://github.com/MariaDB/server
Server output if build in git directory:
[Note] Starting MariaDB 10.11.7-MariaDB-3 source revision
219efb0a6ab0ee8ce2ec831c715783586c4db2ef as process 5426
Gbp-Pq: Name startup-message.patch
Daniel Black [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
mariadb: FTBFS on hurd-i386: undefined reference to misc functions and files
requires https://github.com/MariaDB/server/pull/2893 as debian
explicit architectures aren't needed since dh_auto_configure handles
this.
If it works, upstream welcome.
Hurd string from uname -m, "SYSTEM processor: i686-AT386" in mariadb
output. And wiki reference https://en.wikipedia.org/wiki/Uname
Gbp-Pq: Name
1006531-hurd-no-auth-socket.patch
Michael Biebl [Mon, 22 Jan 2024 21:52:25 +0000 (22:52 +0100)]
[PATCH] Install PAM modules and systemd units into /usr
Since Debian trixie all files need to be installed into their canonical
location under /usr.
Gbp-Pq: Name install-files-into-usr.patch
Otto Kekäläinen [Sat, 11 Mar 2023 19:22:24 +0000 (11:22 -0800)]
[PATCH] Fix trivial spelling errors
- handshak -> handshake
- occured -> occurred
- releated -> related
- reponse -> response
- seperated -> separated
- sucess -> success
- use use -> use
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name fix-spelling-libmariadb.patch
Hugo Wen [Sat, 11 Mar 2023 00:27:42 +0000 (00:27 +0000)]
[PATCH] Fix a stack overflow in pinbox allocator
MariaDB supports a "wait-free concurrent allocator based on pinning addresses".
In `lf_pinbox_real_free()` it tries to sort the pinned addresses for better
performance to use binary search during "real free". `alloca()` was used to
allocate stack memory and copy addresses.
To prevent a stack overflow when allocating the stack memory the function checks
if there's enough stack space. However, the available stack size was calculated
inaccurately which eventually caused database crash due to stack overflow.
The crash was seen on MariaDB 10.6.11 but the same code defect exists on all
MariaDB versions.
A similar issue happened previously and the fix in
fc2c1e43 was to add a
`ALLOCA_SAFETY_MARGIN` which is 8192 bytes. However, that safety margin is not
enough during high connection workloads.
MySQL also had a similar issue and the fix
https://github.com/mysql/mysql-server/commit/
b086fda was to remove the use of
`alloca` and replace qsort approach by a linear scan through all pointers (pins)
owned by each thread.
This commit is mostly the same as it is the only way to solve this issue as:
1. Frame sizes in different architecture can be different.
2. Number of active (non-null) pinned addresses varies, so the frame
size for the recursive sorting function `msort_with_tmp` is also hard
to predict.
3. Allocating big memory blocks in stack doesn't seem to be a very good
practice.
For further details see the mentioned commit in MySQL and the inline comments.
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name 2541-fix-stack-overflow-in-pinbox-allocator.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch
Debian MySQL Maintainers [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
fix-reproducible-builds-rocksdb
Origin: https://github.com/facebook/rocksdb/commit/
0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
# Merged in RocksDB 6.19.3, but not updated into MariaDB yet
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: Make RocksDB build reproducible
The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23·16:04:38@
As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.
This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.
Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
Debian MySQL Maintainers [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
fix-spelling-rocksdb
Forwarded: https://github.com/facebook/rocksdb/pull/9653
Origin: https://patch-diff.githubusercontent.com/raw/facebook/rocksdb/pull/9653.patch
# Merged in RocksDB 7.3.1, but not updated into MariaDB yet
From: Otto Kekäläinen <otto@debian.org>
Date: Wed, 2 Mar 2022 18:13:18 -0800
Subject: Fix various spelling errors still found in code
Two upstream PRs remain that have been merged, but not imported on MariaDB yet.
Gbp-Pq: Name fix-spelling-rocksdb.patch
Otto Kekäläinen [Sun, 20 Dec 2020 18:58:42 +0000 (20:58 +0200)]
Fix perl path in scripts Fix Lintian issue https://lintian.debian.org/tags/incorrect-path-for-interpreter.html . Upstream will never accept this patch, see https://github.com/MariaDB/server/pull/1718
Gbp-Pq: Name env-perl-usr-bin-perl.patch
Debian MySQL Maintainers [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
rocksdb-kfreebsd
Forwarded: https://github.com/facebook/rocksdb/pull/6992
# Merged in RocksDB 6.12.6 but not updated into MariaDB yet
From: Andrew Kryczka <andrewkr@fb.com>
Date: Tue, 16 Jun 2020 19:34:21 -0700
# Merged in RocksDB 6.13.fb, but not updated into MariaDB yet
Bug: https://jira.mariadb.org/browse/MDEV-19251
Description:
Upstream has merged this but we still need to wait for it to be included
in a RocksDB release and imported into MariaDB and then into Debian.
Gbp-Pq: Name rocksdb-kfreebsd.patch
Ondrej Sury [Wed, 22 Nov 2017 20:32:51 +0000 (20:32 +0000)]
Change the default optimization from -O3 to -O2 in mysql_release.cmake BUILD_CONFIG profile
Forwarded: no
Bug: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606
Gbp-Pq: Name 0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
Otto Kekäläinen [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
mariadb (1:11.4.2-4) unstable; urgency=medium
* Revert move of 'mysqld_safe' to compat package to avoid breaking pdns
[dgit import unpatched mariadb 1:11.4.2-4]
Otto Kekäläinen [Sat, 13 Jul 2024 03:52:32 +0000 (20:52 -0700)]
Import mariadb_11.4.2-4.debian.tar.xz
[dgit import tarball mariadb 1:11.4.2-4 mariadb_11.4.2-4.debian.tar.xz]
Otto Kekäläinen [Mon, 24 Jun 2024 04:46:13 +0000 (21:46 -0700)]
Import mariadb_11.4.2.orig.tar.gz
[dgit import orig mariadb_11.4.2.orig.tar.gz]
Raspbian automatic forward porter [Wed, 5 Jun 2024 01:33:53 +0000 (02:33 +0100)]
Merge version 1:10.11.3-1+rpi1 and 1:10.11.8-1 to produce 1:10.11.8-1+rpi1
Otto Kekäläinen [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
Merge mariadb (1:10.11.8-1) import into refs/heads/workingbranch
Svante Signell [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
Bug#
1069094: mariadb: FTBFS on hurd-i386
Add Hurd to define __USE_FILE_OFFSET64 et al.
Gbp-Pq: Name hurd-i386-storage_connect_ioapi.h.patch
Svante Signell [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
Bug#
1069094: mariadb: FTBFS on hurd-i386
Define PATH_MAX if not defined.
Gbp-Pq: Name hurd-i386-plugin_disks_information_schema_disks.cc.patch
Otto Kekäläinen [Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)]
[PATCH] Fix misc spelling in MariaDB Server repository
Gbp-Pq: Name fix-spelling-mariadb.patch
Otto Kekäläinen [Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)]
[PATCH] Show banner in server and client startup to drive community engagement
Suggest to users that they can support MariaDB development by simply giving a
star on GitHub. This patch experiments with how well such a banner works, and
may later change the contents to drive some other kind of engagement.
Client output:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 34
Server version: 10.11.7-MariaDB-3 Debian n/a
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Support MariaDB developers by giving a star at https://github.com/MariaDB/server
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
Server output:
[Note] Support MariaDB developers by giving a star at https://github.com/MariaDB/server
Server output if build in git directory:
[Note] Starting MariaDB 10.11.7-MariaDB-3 source revision
219efb0a6ab0ee8ce2ec831c715783586c4db2ef as process 5426
Gbp-Pq: Name startup-message.patch
Daniel Black [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
mariadb: FTBFS on hurd-i386: undefined reference to misc functions and files
requires https://github.com/MariaDB/server/pull/2893 as debian
explicit architectures aren't needed since dh_auto_configure handles
this.
If it works, upstream welcome.
Hurd string from uname -m, "SYSTEM processor: i686-AT386" in mariadb
output. And wiki reference https://en.wikipedia.org/wiki/Uname
Gbp-Pq: Name
1006531-hurd-no-auth-socket.patch
Michael Biebl [Mon, 22 Jan 2024 21:52:25 +0000 (22:52 +0100)]
[PATCH] Install PAM modules and systemd units into /usr
Since Debian trixie all files need to be installed into their canonical
location under /usr.
Gbp-Pq: Name install-files-into-usr.patch
Otto Kekäläinen [Sat, 11 Mar 2023 19:22:24 +0000 (11:22 -0800)]
[PATCH] Fix trivial spelling errors
- handshak -> handshake
- occured -> occurred
- releated -> related
- reponse -> response
- seperated -> separated
- sucess -> success
- use use -> use
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name fix-spelling-libmariadb.patch
Hugo Wen [Sat, 11 Mar 2023 00:27:42 +0000 (00:27 +0000)]
[PATCH] Fix a stack overflow in pinbox allocator
MariaDB supports a "wait-free concurrent allocator based on pinning addresses".
In `lf_pinbox_real_free()` it tries to sort the pinned addresses for better
performance to use binary search during "real free". `alloca()` was used to
allocate stack memory and copy addresses.
To prevent a stack overflow when allocating the stack memory the function checks
if there's enough stack space. However, the available stack size was calculated
inaccurately which eventually caused database crash due to stack overflow.
The crash was seen on MariaDB 10.6.11 but the same code defect exists on all
MariaDB versions.
A similar issue happened previously and the fix in
fc2c1e43 was to add a
`ALLOCA_SAFETY_MARGIN` which is 8192 bytes. However, that safety margin is not
enough during high connection workloads.
MySQL also had a similar issue and the fix
https://github.com/mysql/mysql-server/commit/
b086fda was to remove the use of
`alloca` and replace qsort approach by a linear scan through all pointers (pins)
owned by each thread.
This commit is mostly the same as it is the only way to solve this issue as:
1. Frame sizes in different architecture can be different.
2. Number of active (non-null) pinned addresses varies, so the frame
size for the recursive sorting function `msort_with_tmp` is also hard
to predict.
3. Allocating big memory blocks in stack doesn't seem to be a very good
practice.
For further details see the mentioned commit in MySQL and the inline comments.
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name 2541-fix-stack-overflow-in-pinbox-allocator.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch
Debian MySQL Maintainers [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
fix-reproducible-builds-rocksdb
Origin: https://github.com/facebook/rocksdb/commit/
0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
# Merged in RocksDB 6.19.3, but not updated into MariaDB yet
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: Make RocksDB build reproducible
The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23·16:04:38@
As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.
This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.
Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
Debian MySQL Maintainers [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
fix-spelling-rocksdb
Forwarded: https://github.com/facebook/rocksdb/pull/9653
Origin: https://patch-diff.githubusercontent.com/raw/facebook/rocksdb/pull/9653.patch
# Merged in RocksDB 7.3.1, but not updated into MariaDB yet
From: Otto Kekäläinen <otto@debian.org>
Date: Wed, 2 Mar 2022 18:13:18 -0800
Subject: Fix various spelling errors still found in code
Two upstream PRs remain that have been merged, but not imported on MariaDB yet.
Gbp-Pq: Name fix-spelling-rocksdb.patch
Otto Kekäläinen [Sun, 20 Dec 2020 18:58:42 +0000 (20:58 +0200)]
Fix perl path in scripts Fix Lintian issue https://lintian.debian.org/tags/incorrect-path-for-interpreter.html . Upstream will never accept this patch, see https://github.com/MariaDB/server/pull/1718
Gbp-Pq: Name env-perl-usr-bin-perl.patch
Debian MySQL Maintainers [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
rocksdb-kfreebsd
Forwarded: https://github.com/facebook/rocksdb/pull/6992
# Merged in RocksDB 6.12.6 but not updated into MariaDB yet
From: Andrew Kryczka <andrewkr@fb.com>
Date: Tue, 16 Jun 2020 19:34:21 -0700
# Merged in RocksDB 6.13.fb, but not updated into MariaDB yet
Bug: https://jira.mariadb.org/browse/MDEV-19251
Description:
Upstream has merged this but we still need to wait for it to be included
in a RocksDB release and imported into MariaDB and then into Debian.
Gbp-Pq: Name rocksdb-kfreebsd.patch
Ondrej Sury [Wed, 22 Nov 2017 20:32:51 +0000 (20:32 +0000)]
Change the default optimization from -O3 to -O2 in mysql_release.cmake BUILD_CONFIG profile
Forwarded: no
Bug: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606
Gbp-Pq: Name 0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
Otto Kekäläinen [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
mariadb (1:10.11.8-1) unstable; urgency=medium
[ Otto Kekäläinen ]
* New upstream version 10.11.8. Includes fixes for several severe regressions
as noted at https://mariadb.com/kb/en/mariadb-10-11-8-release-notes/ as well
as security issues:
- CVE-2024-21096
* Add CMake flag to ignore libfmt exit code so cross-building works
* Extend skip test list for latest failures in reproducible builds on armhf
* Disable tests that fail on armhf when full test suite is run
* Remove temporary exceptions for bugs that should by now be fixed
* MDEV-31530 Localizations for Swahili language
* Update Innotop to be compatible with MariaDB 11.x series
* Replace use of trailing line `| \` with just `|` in Bash scripts
* Remove libmariadb file no longer present in MariaDB Connector C v3.3
* Replace autopkgtest smoke test dependency hack with arch list
* Update client program 'mariadb' trace to match new libmariadb v3.3
- New parameter 'sandbox' to fix a vulnerability and new mariadb-dump
output that always has the sandbox header and is backwards incompatible
* Update server trace to include new parameters innodb-log-spin-wait-delay
and innodb-snapshot-isolation
[ Michael Biebl ]
* Ensure debconf database is purged after it has been used in postrm
[ Svante Signell ]
* Make hurd-i386 build fully pass (Closes: #
1069094)
[dgit import unpatched mariadb 1:10.11.8-1]
Otto Kekäläinen [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
Import mariadb_10.11.8.orig.tar.gz
[dgit import orig mariadb_10.11.8.orig.tar.gz]
Otto Kekäläinen [Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)]
Import mariadb_10.11.8-1.debian.tar.xz
[dgit import tarball mariadb 1:10.11.8-1 mariadb_10.11.8-1.debian.tar.xz]
Peter Michael Green [Tue, 6 Jun 2023 14:09:17 +0000 (14:09 +0000)]
Merge mariadb (1:10.11.3-1+rpi1) import into refs/heads/workingbranch
Hugo Wen [Sat, 11 Mar 2023 00:27:42 +0000 (00:27 +0000)]
[PATCH] Fix a stack overflow in pinbox allocator
MariaDB supports a "wait-free concurrent allocator based on pinning addresses".
In `lf_pinbox_real_free()` it tries to sort the pinned addresses for better
performance to use binary search during "real free". `alloca()` was used to
allocate stack memory and copy addresses.
To prevent a stack overflow when allocating the stack memory the function checks
if there's enough stack space. However, the available stack size was calculated
inaccurately which eventually caused database crash due to stack overflow.
The crash was seen on MariaDB 10.6.11 but the same code defect exists on all
MariaDB versions.
A similar issue happened previously and the fix in
fc2c1e43 was to add a
`ALLOCA_SAFETY_MARGIN` which is 8192 bytes. However, that safety margin is not
enough during high connection workloads.
MySQL also had a similar issue and the fix
https://github.com/mysql/mysql-server/commit/
b086fda was to remove the use of
`alloca` and replace qsort approach by a linear scan through all pointers (pins)
owned by each thread.
This commit is mostly the same as it is the only way to solve this issue as:
1. Frame sizes in different architecture can be different.
2. Number of active (non-null) pinned addresses varies, so the frame
size for the recursive sorting function `msort_with_tmp` is also hard
to predict.
3. Allocating big memory blocks in stack doesn't seem to be a very good
practice.
For further details see the mentioned commit in MySQL and the inline comments.
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name 2541-fix-stack-overflow-in-pinbox-allocator.patch
Otto Kekäläinen [Sun, 22 May 2022 17:13:33 +0000 (10:13 -0700)]
[PATCH] Properly introduce wsrep_sst_backup script in project packaging
The script wsrep_sst_backup was introduced on MariaDB 10.3 in commit
9b2fa2a. The new script was automatically included in RPM packages but not
in Debian packages (which started to fail on waring about stray file).
Include wsrep_sst_backup in the mariadb-server-10.{3..8} package, and
also include a stub man page so that packaging of a new script is complete.
Gbp-Pq: Name 2129-new-script-wsrep-sst-backup-fixes.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch
Debian MySQL Maintainers [Tue, 6 Jun 2023 14:09:17 +0000 (14:09 +0000)]
fix-reproducible-builds-rocksdb
Origin: https://github.com/facebook/rocksdb/commit/
0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
# Merged in RocksDB 6.19.3, but not updated into MariaDB yet
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: Make RocksDB build reproducible
The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23·16:04:38@
As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.
This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.
Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
Otto Kekäläinen [Thu, 3 Mar 2022 02:13:18 +0000 (18:13 -0800)]
Fix various spelling errors still found in code Two upstream PRs remain that have been merged, but not imported on MariaDB yet.
Gbp-Pq: Name fix-spelling-rocksdb.patch
Otto Kekäläinen [Sun, 20 Dec 2020 18:58:42 +0000 (20:58 +0200)]
Fix perl path in scripts Fix Lintian issue https://lintian.debian.org/tags/incorrect-path-for-interpreter.html . Upstream will never accept this patch, see https://github.com/MariaDB/server/pull/1718
Gbp-Pq: Name env-perl-usr-bin-perl.patch
Andrew Kryczka [Wed, 17 Jun 2020 02:34:21 +0000 (19:34 -0700)]
rocksdb-kfreebsd
Forwarded: https://github.com/facebook/rocksdb/pull/6992
# Merged in RocksDB 6.13.fb, but not updated into MariaDB yet
Bug: https://jira.mariadb.org/browse/MDEV-19251
Description:
Upstream has merged this but we still need to wait for it to be included
in a RocksDB release and imported into MariaDB and then into Debian.
Gbp-Pq: Name rocksdb-kfreebsd.patch
Ondrej Sury [Wed, 22 Nov 2017 20:32:51 +0000 (20:32 +0000)]
Change the default optimization from -O3 to -O2 in mysql_release.cmake BUILD_CONFIG profile
Forwarded: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606
Gbp-Pq: Name 0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
Peter Michael Green [Tue, 6 Jun 2023 14:09:17 +0000 (14:09 +0000)]
mariadb (1:10.11.3-1+rpi1) bookworm-staging; urgency=medium
* Disable testsuite.
[dgit import unpatched mariadb 1:10.11.3-1+rpi1]
Peter Michael Green [Tue, 6 Jun 2023 14:09:17 +0000 (14:09 +0000)]
Import mariadb_10.11.3-1+rpi1.debian.tar.xz
[dgit import tarball mariadb 1:10.11.3-1+rpi1 mariadb_10.11.3-1+rpi1.debian.tar.xz]
Otto Kekäläinen [Sun, 28 May 2023 06:16:42 +0000 (23:16 -0700)]
Merge mariadb (1:10.11.3-1) import into refs/heads/workingbranch
Otto Kekäläinen [Sun, 28 May 2023 06:16:42 +0000 (23:16 -0700)]
Import mariadb_10.11.3.orig.tar.gz
[dgit import orig mariadb_10.11.3.orig.tar.gz]
Hugo Wen [Sat, 11 Mar 2023 00:27:42 +0000 (00:27 +0000)]
[PATCH] Fix a stack overflow in pinbox allocator
MariaDB supports a "wait-free concurrent allocator based on pinning addresses".
In `lf_pinbox_real_free()` it tries to sort the pinned addresses for better
performance to use binary search during "real free". `alloca()` was used to
allocate stack memory and copy addresses.
To prevent a stack overflow when allocating the stack memory the function checks
if there's enough stack space. However, the available stack size was calculated
inaccurately which eventually caused database crash due to stack overflow.
The crash was seen on MariaDB 10.6.11 but the same code defect exists on all
MariaDB versions.
A similar issue happened previously and the fix in
fc2c1e43 was to add a
`ALLOCA_SAFETY_MARGIN` which is 8192 bytes. However, that safety margin is not
enough during high connection workloads.
MySQL also had a similar issue and the fix
https://github.com/mysql/mysql-server/commit/
b086fda was to remove the use of
`alloca` and replace qsort approach by a linear scan through all pointers (pins)
owned by each thread.
This commit is mostly the same as it is the only way to solve this issue as:
1. Frame sizes in different architecture can be different.
2. Number of active (non-null) pinned addresses varies, so the frame
size for the recursive sorting function `msort_with_tmp` is also hard
to predict.
3. Allocating big memory blocks in stack doesn't seem to be a very good
practice.
For further details see the mentioned commit in MySQL and the inline comments.
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Gbp-Pq: Name 2541-fix-stack-overflow-in-pinbox-allocator.patch
Otto Kekäläinen [Sun, 22 May 2022 17:13:33 +0000 (10:13 -0700)]
[PATCH] Properly introduce wsrep_sst_backup script in project packaging
The script wsrep_sst_backup was introduced on MariaDB 10.3 in commit
9b2fa2a. The new script was automatically included in RPM packages but not
in Debian packages (which started to fail on waring about stray file).
Include wsrep_sst_backup in the mariadb-server-10.{3..8} package, and
also include a stub man page so that packaging of a new script is complete.
Gbp-Pq: Name 2129-new-script-wsrep-sst-backup-fixes.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch
Debian MySQL Maintainers [Sun, 28 May 2023 06:16:42 +0000 (23:16 -0700)]
fix-reproducible-builds-rocksdb
Origin: https://github.com/facebook/rocksdb/commit/
0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
# Merged in RocksDB 6.19.3, but not updated into MariaDB yet
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: Make RocksDB build reproducible
The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23·16:04:38@
As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.
This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.
Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
Otto Kekäläinen [Thu, 3 Mar 2022 02:13:18 +0000 (18:13 -0800)]
Fix various spelling errors still found in code Two upstream PRs remain that have been merged, but not imported on MariaDB yet.
Gbp-Pq: Name fix-spelling-rocksdb.patch
Otto Kekäläinen [Sun, 20 Dec 2020 18:58:42 +0000 (20:58 +0200)]
Fix perl path in scripts Fix Lintian issue https://lintian.debian.org/tags/incorrect-path-for-interpreter.html . Upstream will never accept this patch, see https://github.com/MariaDB/server/pull/1718
Gbp-Pq: Name env-perl-usr-bin-perl.patch
Andrew Kryczka [Wed, 17 Jun 2020 02:34:21 +0000 (19:34 -0700)]
rocksdb-kfreebsd
Forwarded: https://github.com/facebook/rocksdb/pull/6992
# Merged in RocksDB 6.13.fb, but not updated into MariaDB yet
Bug: https://jira.mariadb.org/browse/MDEV-19251
Description:
Upstream has merged this but we still need to wait for it to be included
in a RocksDB release and imported into MariaDB and then into Debian.
Gbp-Pq: Name rocksdb-kfreebsd.patch
Ondrej Sury [Wed, 22 Nov 2017 20:32:51 +0000 (20:32 +0000)]
Change the default optimization from -O3 to -O2 in mysql_release.cmake BUILD_CONFIG profile
Forwarded: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606
Gbp-Pq: Name 0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
Otto Kekäläinen [Sun, 28 May 2023 06:16:42 +0000 (23:16 -0700)]
mariadb (1:10.11.3-1) unstable; urgency=medium
* New upstream version 10.11.3. Includes security fixes for
- CVE-2022-47015 (Closes: #
1034889)
* This is the first bug fixing maintenance release from upstream in the 10.11
series as the 10.11.2 release was the first one announced GA (general
availability). For a full list of all bug fixes see release notes at
https://mariadb.com/kb/en/mariadb-10-11-3-release-notes/.
* Update libmariadb3.symbols to include new ABI changes in 3.3.5
and fix DPKG_GENSYMBOLS_CHECK_LEVEL so it actually takes effect and in
build will properly fail if there are unaccounted symbol changes in
future upstream maintenance releases
* Update Lintian overrides after 10.11.3 import
* Use new log_slow_* configuration variable names in configuration examples
to be aligned with upstream and have least amount of surprises for users
of MariaDB 10.11 where these variables changed names
* Clean away unnecessary mariadb-test.links, no functional effect
* Delete all embedded zlib copies to fix crossbuilds and improve security
* Use native zlib to make crossbuilds work again after recent zlib 1.2.13
update regressed crossbuilds
* Revert fixes from February/March 2023 that the Debian release team
deemed unfit/too late for Bookworm (Bug#
1033811):
- Revert "Add patch to fix upgrades from MySQL 5.7 to MariaDB 10.11..."
- Revert "Limit check of running mysqld/mariadbd to system users..."
- Revert "MDEV-21303: Fix man page packaging for new mariadb-* named..."
- Revert "Add patches to fix spelling in MariaDB and components..."
- Revert "Add patch to better diagnose failures in main.order_by_innodb..."
- Revert "Add patch to fix misc compiler warnings in upstream build"
- Revert "Add patch to emit warnings if mariadb-upgrade was not run..."
[ Mathias Gibbens ]
* Silence superfluous warnings in mariadb-server preinst (Closes: #
1034684)
[dgit import unpatched mariadb 1:10.11.3-1]
Otto Kekäläinen [Sun, 28 May 2023 06:16:42 +0000 (23:16 -0700)]
Import mariadb_10.11.3-1.debian.tar.xz
[dgit import tarball mariadb 1:10.11.3-1 mariadb_10.11.3-1.debian.tar.xz]
Otto Kekäläinen [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
Merge mariadb-10.6 (1:10.6.11-2) import into refs/heads/workingbranch
Otto Kekäläinen [Sun, 22 May 2022 17:13:33 +0000 (10:13 -0700)]
[PATCH] Properly introduce wsrep_sst_backup script in project packaging
The script wsrep_sst_backup was introduced on MariaDB 10.3 in commit
9b2fa2a. The new script was automatically included in RPM packages but not
in Debian packages (which started to fail on waring about stray file).
Include wsrep_sst_backup in the mariadb-server-10.{3..8} package, and
also include a stub man page so that packaging of a new script is complete.
Gbp-Pq: Name 2129-new-script-wsrep-sst-backup-fixes.patch
Samuel Thibault [Tue, 8 Feb 2022 00:18:27 +0000 (00:18 +0000)]
[PATCH] MDEV-27804 Fails to build - perf schema - thread id of type uintptr_t requires header
While building on GNU/Hurd and kfreebsd.
On the C++ standard uintptr_t can be defined in <cstdint>
ref: https://www.cplusplus.com/reference/cstdint/
Fixes: 0d44792a835128a83ff07f14dbbcdd621df9f7da
Gbp-Pq: Name 2006-kfreebsd-amd64.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch
Debian MySQL Maintainers [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
fix-reproducible-builds-rocksdb
Origin: upstream, https://github.com/facebook/rocksdb/commit/
0a9a05ae12943b1529ef1eabbca5ce5a71c986bf
# Merged in RocksDB 6.19.3, but not updated into MariaDB 10.6
Bug: https://github.com/facebook/rocksdb/issues/7035
Author: Otto Kekäläinen <otto@kekalainen.net>
Subject: Make RocksDB build reproducible
The RocksDB binary included a string with the build timestamp:
> rocksdb_build_git_date:@2021-05-23·16:04:38@
As this changes from build to build, it makes the builds unreproducible.
Simply removing it solves the issue.
This temporary fix can be removed when a proper fix already done in upstream
lands in MariaDB when the RocksDB submodule is updated to a newer release.
Gbp-Pq: Name fix-reproducible-builds-rocksdb.patch
Otto Kekäläinen [Wed, 30 Sep 2020 17:01:35 +0000 (20:01 +0300)]
[PATCH] MDEV-22659: Create one single unified and optimal logrotate config
Replace mysql-log-rotate.sh and debian/...mysql-server.logrotate with one
new unified and well documented version.
Name is mariadb.logrotate.in as in 10.6 branch we use now the 'mariadb'
name, and use 'logrotate' to match the actual name of the utility, and
use '.in' instead of '.sh' as this is not a shell script but a template
file.
Gbp-Pq: Name 1556.patch
Otto Kekäläinen [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
Fix various spelling errors still found in code Two upstream PRs remain that have been merged, but not imported on MariaDB 10.6.
Gbp-Pq: Name fix-spelling-rocksdb.patch
Otto Kekäläinen [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
Fix perl path in scripts Fix Lintian issue https://lintian.debian.org/tags/incorrect-path-for-interpreter.html . Upstream will never accept this patch, see https://github.com/MariaDB/server/pull/1718
Gbp-Pq: Name env-perl-usr-bin-perl.patch
Debian MySQL Maintainers [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
rocksdb-kfreebsd
Forwarded: https://github.com/facebook/rocksdb/pull/6992
# Merged in RocksDB 6.13.fb, but not updated into MariaDB 10.6
Forwarded: https://jira.mariadb.org/browse/MDEV-19251
Description:
Upstream has merged this but we still need to wait for it to be included
in a RocksDB release and imported into MariaDB and then into Debian.
Gbp-Pq: Name rocksdb-kfreebsd.patch
Ondřej Surý [Wed, 22 Nov 2017 20:32:51 +0000 (20:32 +0000)]
Change the default optimization from -O3 to -O2 in mysql_release.cmake BUILD_CONFIG profile
Forwarded: https://jira.mariadb.org/browse/MDEV-19734?focusedCommentId=156606&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-156606
Gbp-Pq: Name 0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
Otto Kekäläinen [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
mariadb-10.6 (1:10.6.11-2) unstable; urgency=medium
[ Otto Kekäläinen ]
* Standardize on using capitalized 'ON' in CMake build options
* Fix Breaks/Replaces for smoother upgrades from MySQL 5.5
and update maintainer documentation on how to do comprehensive
upgrade testing
* Enable automatic datadir move also on upgrades from MySQL.com packages
and make upgrades from MySQL Community (Cluster) 8.0 not get
stuck on dpkg and server restart
[ Eric Lindblad ]
* Fix typos
[dgit import unpatched mariadb-10.6 1:10.6.11-2]
Otto Kekäläinen [Tue, 3 Jan 2023 06:42:46 +0000 (06:42 +0000)]
Import mariadb-10.6_10.6.11-2.debian.tar.xz
[dgit import tarball mariadb-10.6 1:10.6.11-2 mariadb-10.6_10.6.11-2.debian.tar.xz]
Otto Kekäläinen [Mon, 14 Nov 2022 06:27:08 +0000 (06:27 +0000)]
Merge mariadb-10.6 (1:10.6.11-1) import into refs/heads/workingbranch
Otto Kekäläinen [Mon, 14 Nov 2022 06:27:08 +0000 (06:27 +0000)]
Import mariadb-10.6_10.6.11.orig.tar.gz
[dgit import orig mariadb-10.6_10.6.11.orig.tar.gz]
Otto Kekäläinen [Sun, 22 May 2022 17:13:33 +0000 (10:13 -0700)]
[PATCH] Properly introduce wsrep_sst_backup script in project packaging
The script wsrep_sst_backup was introduced on MariaDB 10.3 in commit
9b2fa2a. The new script was automatically included in RPM packages but not
in Debian packages (which started to fail on waring about stray file).
Include wsrep_sst_backup in the mariadb-server-10.{3..8} package, and
also include a stub man page so that packaging of a new script is complete.
Gbp-Pq: Name 2129-new-script-wsrep-sst-backup-fixes.patch
Samuel Thibault [Tue, 8 Feb 2022 00:18:27 +0000 (00:18 +0000)]
[PATCH] MDEV-27804 Fails to build - perf schema - thread id of type uintptr_t requires header
While building on GNU/Hurd and kfreebsd.
On the C++ standard uintptr_t can be defined in <cstdint>
ref: https://www.cplusplus.com/reference/cstdint/
Fixes: 0d44792a835128a83ff07f14dbbcdd621df9f7da
Gbp-Pq: Name 2006-kfreebsd-amd64.patch
Sutou Kouhei [Sat, 5 Feb 2022 02:05:39 +0000 (11:05 +0900)]
[PATCH] cmake: add support for reproducible buildS . We should use relative path not absolute path. We can use target without breaking reproducibility.
Gbp-Pq: Name mroonga-mrn-lib-dirs-path-reproducible-build.patch