mariadb-10.6 (1:10.6.7-3) unstable; urgency=medium
authorOtto Kekäläinen <otto@debian.org>
Thu, 10 Mar 2022 06:26:32 +0000 (06:26 +0000)
committerOtto Kekäläinen <otto@debian.org>
Thu, 10 Mar 2022 06:26:32 +0000 (06:26 +0000)
  * Fix syntax error in unstable tests lists
  * Forward patches upstream and update metadata for them
  * Bugfix: Include missing sql_parse.cc in ER_KILL_DENIED_ERROR patch
  * Fix mysql_install_db by reverting recent addition (MDEV-27980)
  * Fix htm use on PowerPC to fix build failure (might close #1006527)
  * Revert "Strip path from Mroonga to make the build reproducible"

[dgit import unpatched mariadb-10.6 1:10.6.7-3]

70 files changed:
1  2 
debian/README.Contributor
debian/README.Maintainer
debian/changelog
debian/compat
debian/control
debian/copyright
debian/gbp.conf
debian/libmariadb-dev.install
debian/libmariadb-dev.links
debian/libmariadb-dev.lintian-overrides
debian/libmariadb3.symbols
debian/libmariadbd-dev.install
debian/libmariadbd19.lintian-overrides
debian/mariadb-backup.lintian-overrides
debian/mariadb-client-10.6.install
debian/mariadb-client-10.6.lintian-overrides
debian/mariadb-client-core-10.6.install
debian/mariadb-common.preinst
debian/mariadb-server-10.6.NEWS
debian/mariadb-server-10.6.insserv.conf
debian/mariadb-server-10.6.install
debian/mariadb-server-10.6.lintian-overrides
debian/mariadb-server-10.6.postinst
debian/mariadb-server-core-10.6.install
debian/mariadb-server-core-10.6.lintian-overrides
debian/mariadb-test-data.install
debian/mariadb-test-data.lintian-overrides
debian/mariadb-test.install
debian/mariadb-test.links
debian/mariadb-test.lintian-overrides
debian/not-installed
debian/patches/0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
debian/patches/1006527-fix-ppc64-ftbfs.patch
debian/patches/1556.patch
debian/patches/2006-kfreebsd-amd64.patch
debian/patches/2028-MDEV-23915-fix-test-main.grat_kill.patch
debian/patches/MDEV-26645-fix-test-main.func_math.patch
debian/patches/MDEV-27980-revert-loose-disable-plugin-file-key-management.patch
debian/patches/env-perl-usr-bin-perl.patch
debian/patches/fix-reproducible-builds-rocksdb.patch
debian/patches/fix-spelling-mariadb.patch
debian/patches/fix-spelling-rocksdb.patch
debian/patches/fix-spelling-wsrep.patch
debian/patches/mroonga-mrn-lib-dirs-path-reproducible-build.patch
debian/patches/openssl-3-compatibility.patch
debian/patches/openssl-3-enable.patch
debian/patches/rocksdb-kfreebsd.patch
debian/patches/series
debian/rules
debian/salsa-ci.yml
debian/source/format
debian/source/lintian-overrides
debian/tests/smoke
debian/tests/upstream
debian/unstable-tests.alpha
debian/unstable-tests.amd64
debian/unstable-tests.arm64
debian/unstable-tests.armel
debian/unstable-tests.armhf
debian/unstable-tests.hppa
debian/unstable-tests.m68k
debian/unstable-tests.mipsel
debian/unstable-tests.powerpc
debian/unstable-tests.ppc64el
debian/unstable-tests.s390x
debian/unstable-tests.sh4
debian/unstable-tests.sparc64
debian/upstream/metadata
debian/upstream/signing-key.asc
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5dd068df1a63bbbcc2b539ed0c259c268ff59bef
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,399 @@@
++# README for Debian packaging contributors
++
++This documentation describes how to contribute to the official Debian packages
++of MariaDB. The packaging in Debian repositories is not identical to the packaging
++in mariadb.org repositories, but whatever is in Debian repositories will eventually
++be upstreamed.
++
++
++## Development environment and tools
++
++Use a recent version of Debian or Ubuntu as the environment for Debian packaging
++testing and development. Preferred environment is Debian Sid (unstable).
++
++Install the tool used to manage and build the source:
++
++    sudo apt-get install git-buildpackage
++
++
++## Getting the source
++
++The official Debian package source is hosted on the Debian Gitlab server under
++the MariaDB/MySQL packaging team at https://salsa.debian.org/mariadb-team/. You
++are welcome to fork it and make merge requests.
++
++To get the latest official Debian packaging source of mariadb-10.6, clone the
++source repository with all relevant branches (main branch `debian/latest`) to
++your local environment using _git-buildpackage_:
++
++    gbp clone https://salsa.debian.org/mariadb-team/mariadb-server.git
++
++If you have your own fork and SSH keys set up on Salsa, you can run:
++
++    gbp clone git@salsa.debian.org:<username>/mariadb-server.git
++
++
++The clone needs to be run only once. On later runs you can refresh your clone with
++relevant branches using:
++
++    gbp pull --force
++
++
++## Building the packages
++
++Build binaries, run testsuite and build Debian packages with:
++
++    gbp buildpackage
++
++On the first run git-buildpackage will complain if some of the build dependencies
++defined in debian/control are missing. Simply install those packages and run the
++build again.
++
++A quick command to install all dependencies:
++
++    sudo mk-build-deps -r -i debian/control -t "apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends"
++
++If the build fails, the easiest way to clean up before a new run is
++
++    git clean -fdx && git reset --hard
++
++
++### Build options
++
++If you want to skip the mysql-test-run step (which takes a lot of time) set
++the following environment variable:
++
++    export DEB_BUILD_OPTIONS="nocheck"
++
++If you want to run the build in parallel on 2 CPUs and have verbose output:
++
++    export DEB_BUILD_OPTIONS="parallel=2 verbose"
++
++The options above can also be combined freely to get desired behavior.
++
++
++### Using special build environments
++
++If you want to ensure all build dependencies are clean, you can build inside a
++Docker or sbuild (Debian tool) environment.
++
++#### Build in Docker
++
++First make a working directory for the build artifacts. Inside that directory
++clone the repository. Then start a Docker session using whatever Debian/Ubuntu
++image you want with the command:
++
++    docker run -it -v ${PWD}:/build -w /build debian:sid bash
++
++This will start a session, where you are as the root user in the path /build
++inside the Docker container. Here you can `cd` into the source directory,
++install dependencies and start the build. Note that when you exit the session,
++everything will be lost apart from the files you had inside the mounted volume
++in `/build`.
++
++#### Build using sbuild
++
++If you prefer sbuild, you can build with something like:
++
++    gbp buildpackage --git-builder=sbuild -A -v -d unstable
++
++## Creating a feature or bugfix branch
++
++The repository layout follows the DEP-14 standard:
++https://dep-team.pages.debian.net/deps/dep14/
++
++All new features and also bug fixes are done only in the `debian/latest` branch.
++The release branches for Debian and Ubuntu are only used for security updates.
++
++To prepare the Salsa pull request, create a bugfix branch from master with:
++
++    git checkout -b bugfix/NNNNNN-example-name
++
++After this you can develop with all the usual git commit and push commands
++until you have in your fork at Salsa the desired change and you are ready
++to open the merge request.
++
++
++### Notes about how to make changes in the proper way
++
++First consider submitting your patch upstream. Upstream MariaDB makes frequent
++maintenance releases and any fix done upstream will therefore be included in
++Debian relatively quickly. You can send email to the developers mailing list
++or open a pull request at https://github.com/MariaDB/server.
++
++Follow these instructions if your fix is about packaging in Debian specifically.
++Start by using `gitk --all` or similar tool to browse the previous changes. Try
++to follow similar pattern in your new changes.
++
++Keep in mind that all changes must done only for files residing in the `debian/`
++sub-directory. If you need to create changes outside the `debian/` directory,
++then you need to create a patch file using the same pattern as the patches
++found in `debian/patches` and activated by a line in `debian/patches/series`.
++
++Do not bundle in your commit any changes to `debian/changelog`. The correct
++changelog entries will be created later by the maintainer using `git-dch` in an
++automated fashion.
++
++For an example of a patch adding commit see
++https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/7972a38e
++
++
++# Quality assurance tips
++
++Ensure most packaging files are formatted correctly:
++
++    wrap-and-sort -av
++
++Check man pages for syntax errors:
++
++    LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z mariadb.1 >/dev/null
++
++Find spelling errors:
++
++    find * -type f | xargs spellintian
++
++
++# Debugging tips
++
++## Debug mariadb-test-run failures
++
++If the test suite is failing on Launchpad or some other CI system where you
++don't have access to the build artifacts, you can extend the debian/rules file
++to print out valuable information with the commands:
++
++    cd $(BUILDDIR)/mysql-test && find var/log/ -ls || true
++    cd $(BUILDDIR)/mysql-test && cat var/log/*.err || true
++    cd $(BUILDDIR)/mysql-test && tail -n 1000 var/log/*.log || true
++
++The `cd` is required on every line since it is a Makefile and the actual command
++needs to run in the correct directory. Also, the `|| true` at the end ensures
++the build will complete and not abort if any of those debug steps fail.
++
++## Debugging with gdb
++
++If the `mariadb-test-run` fails on a `mariadbd` crash it should produce a core
++dump file, from which a full stack trace can be produced with:
++
++    cd $(BUILDDIR)/mysql-test && gdb --batch --ex 'thr a a bt' var/log/*/mysqld.1/core || true
++
++To attach `gdb` on a running process and get a stack trace run:
++
++    gdb -p $(pgrep -x mariadbd) /usr/sbin/mariadbd
++    set height 0
++    set logging file /tmp/mysqld.log
++    set logging on
++    thread apply all backtrace full
++
++The readability of the stack traces depends on if symbols are available on the
++system. In Debian and Ubuntu all (C/C++) software is automatically built with
++debug symbols, but to save disk space they are distributed in separate packages
++(usually with `-dbg` or `-dbgsym` suffix) which users need to install in the
++rare case stack traces are needed. See the Debian and Ubuntu documentation on
++how to enable the repository that has the debug symbol packages.
++
++* https://wiki.ubuntu.com/Debug%20Symbol%20Packages
++* https://wiki.debian.org/HowToGetABacktrace
++
++## Debug build
++
++A debug build can be created using the following build flags:
++
++    -DCMAKE_BUILD_TYPE=Debug \
++    -DMYSQL_MAINTAINER_MODE=OFF \
++
++The latter flag ensures a build does not stop on warnings but continues to the
++end.
++
++A 'mariadbd' binary from a debug build can be started with argument '--debug' to
++be verbose about what is going on in the server. Debug binaries should not be
++used in production as they are slower than normal binaries.
++
++Core dumps and stack traces can be produced on any build running with
++`--core-file --stack-trace` and *debug builds are not needed to run `gdb`*.
++
++## Debugging a running server
++
++Linux distros come standard with tools like `strace` and `lsof` which can also
++be used to inspect what processes are doing (no need for debug build). For
++example to see what `mariadbd` is writing to the database files can be viewed
++with:
++
++    strace -ffp $(pgrep -x mariadbd) -e pwrite,write,fsync,fdatasync,sync,send,sendto,sendmsg
++    lsof -a -p $(pgrep -x mariadbd) | grep "/var/lib/mysql"
++
++## Compare changes between builds
++
++Diffoscope can be used to investigate small changes between recent builds:
++
++    docker run --rm -t -w $(pwd) -v $(pwd):$(pwd) registry.salsa.debian.org/reproducible-builds/diffoscope --html-dir report mariadb-server-1.deb mariadb-server-2.deb
++    firefox report/index.html
++
++## Test autopkgtest locally
++
++If Debian CI fails (or Ubuntu CI) one might need to debug the autopkgtests
++manually. The easiest way to do it is to start a Docker container that has
++access to the packaging source directory via a local mount:
++
++    laptop$ docker run -it -v ${PWD}:/build -w /build debian:sid bash
++    container$ apt update && apt install -y autopkgtest
++    container$ autopkgtest --shell-fail -- null
++
++Edit the files in `debian/tests` in your favorite code editor and re-run the
++`autopkgtest -- null` until the tests are passing. When the autopkgtests work
++the container can be shut down and the valid `debian/tests` committed in git.
++
++## Debug installation/upgrade
++
++To see what exactly the Debian maintainer scripts run, they can be made verbose with:
++
++    export DEBIAN_SCRIPT_DEBUG=1
++    apt install ...
++
++The source files of the Debian maintainer scripts are not the final ones, as the
++package building stage may make changes and additions to them. To view a
++maintainer script in the final form on an installed system run:
++
++    cat /var/lib/dpkg/info/mariadb-server-10.5.postinst
++
++To review the my.cnf status run:
++
++    find /etc/mysql/ -ls
++    update-alternatives --display my.cnf
++
++## Debug apt Depends/Conflicts/Breaks
++
++It can be quite frustrating to debug situations where `apt` (or `apt-get`) fails
++on an install or upgrade with an error message like:
++
++    The following packages have unmet dependencies:
++     mariadb-client : Depends: mariadb-client-10.5 but 1:10.5.12 is to be installed
++     mariadb-server : Depends: mariadb-server-10.5 but 1:10.5.12 is to be installed
++     mariadb-test : Depends: mariadb-client-10.5 but 1:10.5.12 is to be installed
++                    Depends: mariadb-server-10.5 but 1:10.5.12 is to be installed
++    E: Unable to correct problems, you have held broken packages.
++
++To make apt show debug information on what it tried to resolve and how it failed
++add `Debug::pkgProblemResolver "true";` to a file in `/etc/apt/apt.conf.d/` or
++alternatively append `-o Debug::pkgProblemResolver=1` to the `apt` commands:
++
++    apt dist-upgrade -o Debug::pkgProblemResolver=1
++
++To have maximum verbosity add more `Debug` options:
++
++    apt-get upgrade -o Debug::pkgProblemResolver=1 -o Debug::pkgDepCache::AutoInstall=1 -o Debug::pkgDepCache::Marker=1
++
++The examples above also illustrate that these debug options apply for both
++`apt-get` and `apt` and to all install/upgrade commands.
++
++It can be also quite annoying to rebuild the entire package to debug small
++changes in the `debian/control` file. To have a much faster change->test->change
++cycle one can simply instruct `apt` to use a custom `Packages` file to read the
++`control` data.
++
++First ensure `apt` forgets all repositories:
++
++    rm /etc/apt/sources.list
++    apt clean
++    apt update
++
++Download a Packages file for so it can be edited:
++
++    curl -O http://ftp.debian.org/debian/dists/sid/main/binary-amd64/Packages.xz
++    unxz Packages.xz
++    cp Packages Packages.orig
++
++Open the file in an editor, scroll down to the MariadB packages and make any
++changes you want and then test them:
++
++    nano Packages
++    apt install --with-source ./Packages -s mariadb-server -o Debug::pkgDepCache::Marker=1 -o Debug::pkgDepCache::AutoInstall=1 -o Debug::pkgProblemResolver=1
++
++The example uses maximum verbosity but it is naturally not mandatory. When the
++solution has been found, compare to the original and transfer the changes into
++the actual debian/control in the MariaDB packaging:
++
++    diff -u Packages.orig Packages
++
++## Test install/upgrade with local package repository
++
++Normally the fastest way to test that the built *.deb files install and upgrade
++properly is simply to run `apt` directly on them inside a container that has
++access to the .deb files via a local mount:
++
++    laptop$ docker run -it -v ${PWD}:/build -w /build debian:sid bash
++    container$ apt update && apt install ./*.deb
++
++Some bugs however occur only when apt does various dependency resolving and can
++only be tested with an installation from an actual apt repository. The fastest
++way to get a directory with deb files served via a local repository is to run:
++
++    apt install apt-utils
++    apt-ftparchive release . > Release
++    echo 'deb [trusted=yes] file:/build/mariadb-bionic ./' >> /etc/apt/sources.list
++    apt update
++    apt install mariadb-server
++
++The example above assumes that the .deb files are in path `/build`.
++
++## Check Breaks/Replaces
++
++MariaDB is not only a massive package by itself, it also has several parallel
++major releases at any given time and also other variants (MySQL, Percona Server)
++the packaging might interact with.
++
++The standard Salsa-CI pipeline checks Breaks/Replaces for what is currently in
++the Debian repositories, but to check Breaks/Replaces across all known
++repositories one needs to run:
++
++    docker run -it -v ${PWD}:/build -w /build debian:sid bash
++    apt update
++    apt install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates curl debian-archive-keyring
++    curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
++    apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 871920D1991BC93C 3B4FE6ACC0B21F32 CBF8D6FD518E17E1 7638D0442B90D010 8C718D3B5072E1F5 9334A25F8507EFA5 CBCB082A1BB943DB
++    cat > /etc/apt/sources.list <<EOF
++    deb http://deb.debian.org/debian sid main
++    deb http://deb.debian.org/debian bullseye main
++    deb http://deb.debian.org/debian buster main
++    deb http://deb.debian.org/debian stretch main
++    deb http://deb.debian.org/debian jessie main
++    deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
++    deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
++    deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
++    deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
++    deb http://mirror.one.com/mariadb/repo/10.5/debian buster main
++    deb http://mirror.one.com/mariadb/repo/10.4/debian buster main
++    deb http://mirror.one.com/mariadb/repo/10.3/debian buster main
++    deb http://mirror.one.com/mariadb/repo/10.2/debian buster main
++    deb http://mirror.one.com/mariadb/repo/10.1/debian stretch main
++    deb [trusted=yes] http://mirror.one.com/mariadb/repo/10.0/debian jessie main
++    deb [trusted=yes] http://mirror.one.com/mariadb/repo/5.5/debian wheezy main
++    deb https://repo.mysql.com/apt/debian/ buster mysql-8.0
++    deb https://repo.mysql.com/apt/debian/ buster mysql-5.7
++    deb https://repo.mysql.com/apt/debian/ buster mysql-5.6
++    deb https://repo.mysql.com/apt/debian/ buster mysql-cluster-8.0
++    deb https://repo.mysql.com/apt/debian/ buster mysql-tools
++    deb https://repo.mysql.com/apt/debian/ buster mysql-cluster-7.6
++    deb https://repo.mysql.com/apt/debian/ buster mysql-cluster-7.5
++    deb https://repo.percona.com/apt/ buster main
++    deb https://repo.percona.com/apt/ stretch main
++    deb https://repo.percona.com/apt/ jessie main
++    deb https://repo.percona.com/apt/ wheezy main
++    EOF
++    apt install python3-junit.xml python3-debian apt-file
++    apt-file update
++    curl -O https://salsa.debian.org/salsa-ci-team/pipeline/-/raw/master/images/scripts/check_for_missing_breaks_replaces.py
++    chmod +x check_for_missing_breaks_replaces.py
++    ./check_for_missing_breaks_replaces.py --changes-file mariadb-*.changes --debug
++
++## Check reverse dependencies
++
++When making changes to the MariaDB packaging in Debian and Ubuntu, keep in mind
++that there are hundreds of packages that depend on MariaDB. Most of them can be
++found by running:
++
++    apt rdepends 'default-mysql*' 'default-libmysql*' 'mariadb*' 'libmariadb*'
++
++The separate command/package 'apt-rdepends' can also check for reverse
++build-dependencies.
++
++Please be diligent in all changes to not wreak havoc in Debian.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..55c07c503df6743efccb19470a8dbccb801f42e5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,222 @@@
++# README for Debian package maintainers
++
++This file mostly applies to how the packaging work-flow works for the official
++Debian packages, but it may contain useful information also for anybody doing
++their own private .deb builds.
++
++## Version control
++
++This package is maintained by the MariaDB/MySQL team in Debian using the
++git-buildpackage tool and storing the git repositories on the Debian Gitlab
++instance Salsa. For details see https://salsa.debian.org/mariadb-team/.
++
++The official Ubuntu packages are also maintained by the same team using the same
++source repository.
++
++### Ensuring git contents match what has been uploaded to Debian/Ubuntu
++
++It is possible (but extremely rare) that somebody uploads a MariaDB package to
++Debian/Ubuntu and either does not use git at all, or simply forgets to push the
++same changes on git, or makes an error in tagging the release or something.
++Therefore, maintainers should check that the git contents match what has been
++uploaded to Debian/Ubuntu before making new changes on git.
++
++This can be done by using dgit. The example command below will fetch the latest
++mariadb-10.1 package available in Ubuntu 18.04 (Bionic) base archive, security
++archive or updates archive (whichever has a newer version):
++
++    dgit -d ubuntu clone mariadb-10.1 bionic,-security,-updates
++    cp -ra mariadb-10.1/* .
++    rm -rf mariadb-10.1
++
++You can then compare these two directories with a recursive diff or `git diff`.
++
++
++Another option is to manually check on packages.debian.org or packages.ubuntu.com
++what is the latest version, and download and extract it on top of the existing
++debian/ directory with:
++
++    curl -SL http://archive.ubuntu.com/ubuntu/pool/universe/m/mariadb-10.1/\
++    mariadb-10.1_10.1.44-0ubuntu0.18.04.1.debian.tar.xz -o - | tar xv --xz
++
++You can simply run `git diff` to see the report on differences.
++
++
++## Building from sources with git-buildpackage
++
++See README.Contributor for details.
++
++
++## Upgrading sources from upstream
++
++Upstream will publish maintenance releases at least 5 years after the major
++version release, and security updates are likely to come even after that as
++long as major distributions ship the version.
++
++See table at
++https://mariadb.com/kb/en/mariadb/development/mariadb-maintenance-policy/
++
++Release notes are available at
++https://mariadb.com/kb/en/mariadb/development/release-notes/
++
++
++### Steps to import new upstream version
++
++Download new source package:
++
++    git checkout 10.6
++    git pull --tags upstream 10.6
++    git tag -v mariadb-10.6.5
++    git checkout debian/latest
++    git merge -v mariadb-10.6.5
++
++Refresh patches:
++
++    while quilt push; do quilt refresh; done; quilt pop -a
++
++Simple offsets will be updated automatically. If there are any rejects, inspect
++the files and update the patches or discard the patch completely if you are
++_sure_ that it has been applied upstream.
++
++Generate new debian/changelog entry automatically with git-dch:
++
++    gbp dch -vR
++
++Edit the details to match correct release:
++
++    gedit debian/changelog &
++
++Commit to git:
++
++    git citool
++
++Build and test locally to verify it works:
++
++    gbp buildpackage
++
++Alternatively you can use Docker with something like this:
++
++    mkdir ccache buildout
++    docker run -it -v "${PWD}/buildout":/tmp/build -v "${PWD}/ccache":/.ccache \
++       -v "${PWD}/$PKG":/tmp/build/source -w /tmp/build/source \
++       -e DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS" -e CCACHE_DIR=/var/cache/ccache \
++       --user=1001 registry.gitlab.com/mariadb/mariadb.org-build-containers:$PKG-debian-sid-build-env \
++       gbp buildpackage | tee latest.build
++
++If needed, add commits or amend the ones you made until the package is in
++perfect shape.
++
++Let Lintian automatically check as much as possible:
++
++    lintian -EvIL +pedantic --color=always *.changes
++
++Then proceed to make a source only build:
++
++    gbp buildpackage -S
++
++Test more with upload to Launchpad:
++
++    COMMIT_ID=`git log -n 1 --oneline | cut -d ' ' -f 1`
++    PKG=mariadb-10.6
++    backportpackage --yes -u ppa:mysql-ubuntu/$PKG -d groovy -S ~`date '+%s'`.$COMMIT_ID $PKG*.dsc
++
++When done, push to Salsa:
++
++    gbp push # gbp branches and tags
++    git push # master branch
++
++Wait until the Salsa CI pipeline finishes. If it did not either spot any
++regressions, proceed to tagging the commit:
++
++    gbp tag
++    gbp push
++
++Once you are sure there are no regressions, finally upload to Debian:
++
++    dput ftp-master *.changes
++
++After the upload, check that everything is OK at
++* https://tracker.debian.org/mariadb-10.6 (Debian)
++* https://launchpad.net/ubuntu/+source/mariadb-10.6 (Ubuntu)
++
++## Maintaining translations
++
++Running `debconf-updatepo --verbose` will refresh the translation files.
++
++A call for translations can be initiated with e.g. `podebconf-report-po --call -v --smtp=smtp.kolumbus.fi`.
++
++### Launchpad testing matrix
++
++Since Launchpad only has Ubuntu releases, packages for specific Debian releases
++needs to be tested on the Ubuntu release which most closely matches the Debian
++release in question. The following matrix maps what package should be tested
++where:
++
++- 10.6 for sid on Launchpad impish
++- 10.5 for hirsute on Launchpad hirsute
++- 10.5 for groovy on Launchpad groovy
++- 10.5 for bullseye on Launchpad hirsute
++- 10.3 for groovy on Launchpad groovy
++- 10.3 for focal on Launchpad focal
++- 10.3 for buster on Launchpad disco (not available anymore)
++- 10.1 for bionic on Launchpad bionic
++- 10.1 for stretch on Launchpad xenial (not available anymore)
++
++NOTE! As long as Launchpad builders are running an older kernel, the MariaDB
++10.6 built with liburing will fail to start on them. See
++- https://jira.mariadb.org/browse/MDEV-26569
++- https://bugs.launchpad.net/launchpad/+bug/1943292
++
++## Uploading security releases to Debian
++
++After you've got permission from the security team, upload with `dput security-master *.changes`.
++
++For details see https://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-security
++
++## Uploading security releases to Ubuntu
++
++See example with documented procedure:
++ * https://bugs.launchpad.net/ubuntu/+source/mariadb-10.3/+bug/1861260
++
++### Upload priority
++
++Do the security uploads in this order for having the best chance of catching
++regressions before they spread out to too many users.
++
++Upload priority for 10.6
++- debian sid
++
++Upload priority for 10.5
++- debian bullseye
++- ubuntu-21.10
++- ubuntu-21.04
++
++Upload priority for 10.3
++- ubuntu-20.10 groovy
++- ubuntu-20.04 focal
++- debian-10 buster
++
++for 10.1 (only in case there are extra releases after official EOL)
++- ubuntu-18.04 bionic
++- debian-9 stretch
++
++for 10.0 (only in case there are extra releases after official EOL)
++- ubuntu-16.04 xenial
++
++## Comparison to other distributions
++
++For tracking security release information, finding solutions for build errors
++on many architectures and for general quality control it can be useful to keep
++an eye on what packagers in other distributions do:
++
++Fedora:
++  * https://apps.fedoraproject.org/packages/mariadb/
++  * http://pkgs.fedoraproject.org/cgit/mariadb.git/
++OpenSUSE:
++  * https://build.opensuse.org/package/show/server:database/mariadb
++Arch Linux:
++  * https://projects.archlinux.org/svntogit/packages.git/?h=packages/mariadb
++Mageia:
++  * http://svnweb.mageia.org/packages/cauldron/mariadb/current/
++
++See also: https://repology.org/project/mariadb/badges
index 08065467bdc45070e2702b9a0b211e08a41aca16,0000000000000000000000000000000000000000..3e311ff6e4b5ade9b6f34c6c519565e36a6e44fc
mode 100644,000000..100644
--- /dev/null
@@@ -1,5 -1,0 +1,1993 @@@
- mariadb-10.6 (1:10.6.0) unstable; urgency=medium
++mariadb-10.6 (1:10.6.7-3) unstable; urgency=medium
 +
-   * Initial Release
++  * Fix syntax error in unstable tests lists
++  * Forward patches upstream and update metadata for them
++  * Bugfix: Include missing sql_parse.cc in ER_KILL_DENIED_ERROR patch
++  * Fix mysql_install_db by reverting recent addition (MDEV-27980)
++  * Fix htm use on PowerPC to fix build failure (might close #1006527)
++  * Revert "Strip path from Mroonga to make the build reproducible"
 +
-  -- Otto Kekäläinen <otto@debian.org>  Thu, 14 May 2020 18:00:57 +0300
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 09 Mar 2022 22:26:32 -0800
++
++mariadb-10.6 (1:10.6.7-2) unstable; urgency=medium
++
++  * Backport OpenSSL 3.0 support for MariaDB 10.6 series (Closes: #1005950)
++  * Clean away most Lintian overrides and unstable-tests to see full
++    QA results in Debian experimental
++  * Add upstream PR#2028 to fix main.grant_kill test failure
++  * Update unstable-tests skip lists after review of 1:10.6.7-2~exp1 builds
++  * Fix more spelling errors
++  * Fix misc Lintian issues and add overrides
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 01 Mar 2022 20:40:07 -0800
++
++mariadb-10.6 (1:10.6.7-1) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.6.7. Includes security fixes for
++    - CVE-2021-46661
++    - CVE-2021-46663
++    - CVE-2021-46664
++    - CVE-2021-46665
++    - CVE-2021-46668
++  * New upstream version 10.6.6. Includes security fixes for
++    - CVE-2021-46659
++    - CVE-2022-24048
++    - CVE-2022-24050
++    - CVE-2022-24051
++    - CVE-2022-24052
++  * Previous release 10.6.5 included security fixes for:
++    - CVE-2021-46662
++    - CVE-2021-46667
++  * Notable upstream functional changes in 10.6.6 and 10.6.7:
++    - New default value for innodb_change_buffering is 'none' instead of old
++      value 'all' (MDEV-27734). This change should improve crash safety but
++      might cause performance regressions on systems that use old spinning disks
++      (HDD) where seek latency is higher.
++    - New default value for innodb_read_only_compressed is 'OFF' instead of
++      'ON'. Upstream originally intended to deprecate ROW_FORMAT=COMPRESSED but
++      abandoned the plan.
++    - New default minimum value for innodb_buffer_pool_size is 20 MB (from 2 MB)
++  * Drop MIPS and CTE patches applied now upstream
++  * Add upstream patch to make Mroonga builds reproducible (Closes: #976984)
++  * Add patch for potential kfreebsd-amd64 build failure (Closes: #994665)
++  * Remove useless libaio-dev dependency from d/control (Closes: #1001649)
++
++  [ Faustin Lammler ]
++  * Salsa-CI: use a mirror redirector for the CI
++
++  [ Bas Couwenberg ]
++  * Don't require debian.cnf to be executable in logrotate (Closes: #1005186)
++
++  [ Tuukka Pasanen ]
++  * Remove unneeded path from MariaDB server postinst script
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 19 Feb 2022 16:00:00 -0800
++
++mariadb-10.6 (1:10.6.5-2) unstable; urgency=medium
++
++  * Fix misc failures in 10.6 detected by Debian QA systems
++    - Revert systemd extra and socket files to fix build=all
++    - Backport fix for test cte_nonrecursive failure
++    - Disable test main.func_math on more platforms
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 14 Dec 2021 20:05:25 -0800
++
++mariadb-10.6 (1:10.6.5-1) unstable; urgency=medium
++
++  * New upstream version 10.6.5.
++  * Drop MIPS and libatomic patches applied now upstream
++  * Enable Numa support (Closes: #861553)
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 27 Nov 2021 13:48:25 -0800
++
++mariadb-10.6 (1:10.6.4-1) unstable; urgency=medium
++
++  [ Bas Couwenberg ]
++  * Don't require debian.cnf to be executable in logrotate (Closes: #994284)
++
++  [ Otto Kekäläinen ]
++  * Add new overrides to be clean on Lintian v2.105.0
++  * Salsa-CI: Add workarounds for Stretch->Bookworm upgrade bugs
++  * Salsa-CI: Add testing for Bullseye upgrades and backports
++  * Extend README.Contributor to include more QA and debugging tips
++  * Make RocksDB plugin depend on python3:any to be Lintian clean
++  * Adopt DEP-14 for the git repository layout
++  * Import new upstream major release MariaDB 10.6.4
++  * Update Debian packaging for MariaDB 10.6 series
++  * Clean up d/copyright and remove obsolete licence-reconcile config
++  * Extend Breaks/Replaces to cover all known MySQL variants
++  * Skip upstream tests that are permanently broken
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 21 Oct 2021 11:02:17 +0300
++
++mariadb-10.5 (1:10.5.12-1) unstable; urgency=medium
++
++  * New upstream version 10.5.12. Includes security fixes for:
++    - CVE-2021-2389
++    - CVE-2021-2372
++  * Drop patches applied upstream in MariaDB S3 plugin
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 08 Aug 2021 20:33:47 -0700
++
++mariadb-10.5 (1:10.5.11-1) unstable; urgency=medium
++
++  * New upstream version 10.5.11. Includes several important bug fixes,
++    including a replication hang (Closes: #991399, Closes: #989400)
++  * Cleanup, documentation and testing:
++    * Drop backported patch for armfh build now in 10.5.11 from upstream.
++    * Drop patch no longer needed with latest gcc-10 (Closes: #972564)
++    * Save autopkgtests results as JUnit-compatible XML-report
++    * Salsa-CI: Verify wrap-and-sort usage and correctness of patches/series
++  * Remove rocksdb_build_git_date from RocksDB binaries to make them
++    build in a reproducible way, thus making the entire MariaDB finally
++    reproducible (Closes: #976985)
++
++  [ Andreas Beckmann ]
++  * Ease switching from galera-3 to galera-4 on upgrades from buster
++    (Closes: #990708, Closes: #976147, Closes: #977137)
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 25 Jul 2021 15:38:34 -0700
++
++mariadb-10.5 (1:10.5.10-2) unstable; urgency=medium
++
++  * Bugfix: Revert upstream code change to fix armhf build (Closes: #988629)
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 23 May 2021 21:04:38 -0700
++
++mariadb-10.5 (1:10.5.10-1) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.5.10. Includes security fixes for (Closes: #988428):
++    - CVE-2021-2154
++    - CVE-2021-2166
++  * Previous release 10.5.9 included security fixes additionally for:
++    - CVE-2021-27928
++  * Previous release 10.5.7 included security fixes additionally for:
++    - CVE-2021-2194
++  * Previous release 10.5.5 included security fixes additionally for:
++    - CVE-2021-2022
++  * Update symbols to include new one from MariaDB Client 3.1.13
++  * Misc Salsa-CI fixes for better QA
++  * Innotop: Add support for MariaDB 10.5+ (Closes: #941986)
++  * Bugfix: Ensure upstream 1556 patch is included fully (Closes: 987231)
++  * Bugfix: Don't create /usr/share/mysql/*.flag files (Closes: #985870)
++  * Misc spelling fixes
++
++  [ Glenn Strauss ]
++  * Mark systemd files [linux-any] in debian/*.install
++
++  [ Arnaud Rebillout ]
++  * Fix postinst trigger when systemd is not running (Closes: #983563)
++
++  [ Faustin Lammler ]
++  * GitLab CI now supports timeout for specific jobs
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 16 May 2021 11:36:38 -0700
++
++mariadb-10.5 (1:10.5.9-1) unstable; urgency=medium
++
++  * New upstream version 10.5.9
++  * Remove transitional libmariadbclient-dev empty metapackage
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 22 Feb 2021 21:32:47 +0200
++
++mariadb-10.5 (1:10.5.8-3) unstable; urgency=medium
++
++  * Re-introduce deprecated transitional libmariadbclient-dev package
++    so that the libmariadbclient-dev from 10.5 can replace the existing
++    libmariadbclient-dev form 10.3 and thus allow MariaDB 10.5 to
++    migrate from Debian unstable to testing.
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 23 Nov 2020 22:14:57 +0200
++
++mariadb-10.5 (1:10.5.8-2) unstable; urgency=medium
++
++  * Fix FTBFS on mipsel/mips64el due to test main.drop failure
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 17 Nov 2020 17:07:55 +0200
++
++mariadb-10.5 (1:10.5.8-1) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * Revert back to 1fc0f45a as the armhf build failure was due to GCC bug
++  * Salsa-CI: salsa-ci-team/pipeline#173 seems fixed, stop allowing failure
++  * Filter out extra 3rd party sources directly when importing new upstream
++  * New upstream version 10.5.7. Includes security fixes for:
++    - CVE-2020-28912
++    - CVE-2020-14812
++    - CVE-2020-14789
++    - CVE-2020-14776
++    - CVE-2020-14765
++  * Clean away from d/copyright files that are no longer in the sources
++  * Sync debian/* changes from upstream 10.5.7 release
++  * Clean away columnstore sources during build and ignore all CS issues
++  * New upstream version 10.5.8
++    - Includes criticat fix for arbitrary InnoDB buffer pool and data file
++      corruption issue (MDEV-24096)
++  * Add patch to workaround armhf build failure due to gcc segfault
++
++  [ Helmut Grohne ]
++  * Fix FTCBFS: Add native libssl-dev to Build-Depends (Closes: #973388)
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 13 Nov 2020 09:20:28 +0200
++
++mariadb-10.5 (1:10.5.6-2) unstable; urgency=medium
++
++  [ Miroslav Kure ]
++  * Update Czech translation of debconf messages (Closes: #972441)
++
++  [ Otto Kekäläinen ]
++  * Salsa-CI: Circumvent Bug#972552 so upgrade tests work again
++  * Salsa-CI: Install more packages to cover more in upgrade tests
++  * Automatically remove /etc/logrotate.d/mysql-server (Closes: #971399)
++  * Fix debci: Skip main.failed_auth_unixsocket on armhf and i386
++  * Revert "Allow libnuma-dev on armhf as well"
++  * Switch to using system OpenSSL (Closes: #787118)
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 26 Oct 2020 14:13:56 +0200
++
++mariadb-10.5 (1:10.5.6-1) unstable; urgency=medium
++
++  * New upstream version 10.5.6. Includes security fixes for:
++    - CVE-2020-15180
++  * Include debian/ when importing new upstream releases
++    - This will help to follow upstream packaging changes and prevent
++      divergence in packaging code upstream vs. downstream.
++  * Unify config file syntax style
++  * Allow libnuma-dev on armhf as well
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 15 Oct 2020 11:55:14 +0300
++
++mariadb-10.5 (1:10.5.5-3) unstable; urgency=medium
++
++  [ Helmut Grohne ]
++  * Fix cross-compilation, amend commit f0ba31e1
++
++  [ Aurelien Jarno ]
++  * Correctly link pthread so riscv64 builds pass (Closes: #933151)
++
++  [ Otto Kekäläinen ]
++  * Revert "Automatically use libatomics on 64-bit archs (Closes: #933151)"
++  * Update MTR test skip lists after full test runs in Debian experimental
++  * Clean up d/rules and patches for issues that to best knowledge were
++    temporary and not needed anymore in MariaDB 10.5.5
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 09 Oct 2020 10:06:04 +0300
++
++mariadb-10.5 (1:10.5.5-2) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * Salsa-CI: Extend feature tests to ensure TLS connections work at v1.2
++  * Fix x32 compilation issue (Closes: #970662)
++  * Implement unified logrotate from upstream PR#1556 (Closes: #971399)
++  * Fix upgrade from Percona.com by ensuring server uses mariadb.cnf
++  * Revert emptying /etc/mysql/debian.cnf (Closes: #971256)
++  * Use build flag to enforce default charset as utf8mb4 (Closes: #933063)
++  * Remove "Multi-Arch: same" from libmariadbd-dev
++  * Disable flaky MTR tests to get builds pass
++  * Automatically use libatomics on 64-bit archs (Closes: #933151)
++
++  [ Daniel Black ]
++  * Fix upgrade from MySQL.com with a new 'auth_socket' rename
++
++  [ Helmut Grohne ]
++  * Fix FTCBFS so cross-compiling works (Closes: #971579)
++    - Add native dependencies on gnutls, libedit and ncurses.
++    - Use a native perl interpreter during build.
++    - Let dh_auto_configure pass -DCMAKE_SYSTEM_NAME to cmake.
++    - Keep default CMAKE_BUILD_TYPE=RelWithDebInfo instead of debhelper's None.
++    - Cache the per-architecture stack direction.
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 06 Oct 2020 14:44:39 +0300
++
++mariadb-10.5 (1:10.5.5-1) unstable; urgency=medium
++
++  * New upstream version 10.5.5 (Closes: #968895)
++    - Drop patches that are obsolete or applied upstream in 10.5
++    - Rename most occurrences of 10.4 to 10.5 after importing 10.5 series
++    - Add Breaks/Replaces for 10.5 on previous 10.4 versions
++    - Stop suggesting tinyca, upstream project does not exist anymore
++    - Sync some changes from upstream MariaDB 10.5 debian/ directory
++    - Update d/copyright for MariaDB 10.5
++    - Disable ColumnStore, not mature enough for Debian yet
++    - Remove mariadb-plugin-tokudb as upstream TokuDB is not maintained anymore
++    - Introduce new package mariadb-plugin-s3 new in MariaDB 10.5
++    - Include caching_sha2_password.so plugin for libmariadb3 (Closes: #962597)
++    - Remove unnecessary charset stanza from client config (Closes: #879099)
++  * Remove deprecated transitional libmariadbclient-dev package
++  * Correct documentation about systemd using debian-start (Closes: #866782)
++  * Add NEWS item about MySQL 8.0 in-place binary incompatibility
++  * Add Provides: libmysqld-dev now as the mysql-8.0 stopped providing it
++  * Install Spider with a simple spider.cnf (Closes: #917818)
++  * Remove faulty encryption.preset file installed in subdirectory
++  * Salsa-CI: Refactor common parts into reusable sections
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 25 Sep 2020 19:56:59 +0300
++
++mariadb-10.4 (1:10.4.14-1~exp1) experimental; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.4.14
++    - Includes fix for RocksDB build failure on arch riscv64
++  * Add Breaks/Replaces for mysql-client-core-8.0 that ships myisam_ftdump
++
++  [ Christian Göttsche ]
++  * Prevent executable stack due to objects compiled from assembly
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 23 Aug 2020 13:20:04 +0300
++
++mariadb-10.4 (1:10.4.13-1~exp1) experimental; urgency=medium
++
++  * New upstream version 10.4.13. Includes security fixes for:
++    - CVE-2020-2752
++    - CVE-2020-2760
++    - CVE-2020-2812
++    - CVE-2020-2814
++    - CVE-2020-13249
++  - Includes fix for MDEV-21586: Server does not start if lc_messages setting
++    was not English (Closes: #951059)
++  * Restructure and extend d/copyright to cover libmariadb (Closes: #962541)
++  * Simplify autopkgtest 'smoke' to be easier to debug
++  * Add patch to fix RocksDB detection of ZSTD
++  * Update libmariadb symbols for upstream release 3.1.8
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 29 Jun 2020 09:47:07 +0300
++
++mariadb-10.4 (1:10.4.12-1~exp3) experimental; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * Make mariadb-client-10.4 Recommends libdbd-mariadb-perl as primary option
++  * Detect MySQL 8.0 based on undo_001 file as *.flag is buggy in mysql-8.0
++
++  [ Faustin Lammler ]
++  * Fix systemd aliases (Closes: #932289)
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 10 Apr 2020 11:03:02 +0300
++
++mariadb-10.4 (1:10.4.12-1~exp2) experimental; urgency=medium
++
++  [ Christian Göttsche ]
++  * Prevent executable stack due to objects compiled from assembly
++
++  [ Bastian Germann ]
++  * Link with libedit instead of readline5 (Closes: #940879)
++
++  [ Otto Kekäläinen ]
++  * Fix mysqld crash on s390x that stemmed from WolfSSL
++  * Extend contributor README with debugging tips
++  * Clean up -dev packages from excess private files
++  * Make full contents, also header files, explicit in -dev packages
++  * Remove entire sql-bench in debian/rules to simplify not-installed listings
++  * Remove obsolete AUTH_SOCKET build flag
++  * Add missing mariadb-ldb to mariadb-plugin-rocksdb
++  * Install files that belong to mariadb-test instead of not-installed
++  * Ignore mariadb-config.1 since there is no mariadb-config binary
++  * Enforce --fail-missing in debian/rules to not miss any uninstalled files
++  * Unify server preinst and postrm server stopping function
++  * Move mariadb-upgrade to same package as mysql-upgrade and manpage
++  * Update package to use debhelper level 10
++  * Install arch dependent mariadb.pc in lib/ with patch from upstream
++  * Move binary mariadb-tzinfo-to-sql to server package like upstream has
++  * Don't install useless extra logrotate script or test config helper
++  * Add patch for man page fixes from upstream 10.5 pull request
++  * Add patch to backport spelling fixes from upstream 10.5 pull request
++  * Include new man pages for mytop and myrocks_hotbackup in packaging
++  * Use https protected nluug.nl server for upstream repo to watch
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 17 Mar 2020 15:05:39 +0200
++
++mariadb-10.4 (1:10.4.12-1~exp1) experimental; urgency=medium
++
++  * New upstream version 10.4.12
++    - Drop patches applied upstream in 10.4
++    - Sync debian/* improvements done in upstream MariaDB 10.4 release
++    - Update Galera to version 4
++    - Update debian/copyright for MariaDB 10.4
++    - Sync non-functional delta from upstream 10.4
++    - Sync AppArmor profile handling from MariaDB 10.4
++    - Sync server stopping logic from MariaDB 10.4 preinst/postinst/postrm
++    - Package PAM tool and user map introduced in upstream MariaDB 10.4
++    - Clean away versioned breaks/replaces on older generation packages
++    - Update maintainer and contributor docs for MariaDB 10.4
++    - Add patch from MDEV-21691 so mysql-test-run works out-of-source tree
++  - Upstream release 10.4.12 included security fixes for:
++    - CVE-2020-2574
++    - CVE-2020-7221
++  - Previous version 10.4.9 included security fixes for:
++    - CVE-2020-2780
++  - Previous version 10.4.7 included security fixes for:
++    - CVE-2020-2922
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 18 Feb 2020 20:24:40 +0200
++
++mariadb-10.3 (1:10.3.22-1) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.3.22. Includes security fixes for:
++    - CVE-2020-2574
++  * Update conflicts/breaks/replaces for MySQL 8.0
++  * Add Rules-Requires-Root definition to control file
++  * Activate NO_UPDATE_BUILD_VERSION to make RocksDB build reproducible
++  * Strip path from Mroonga to make the build reproducible
++  * Update Debian Policy version
++  * Simplify and extend Gitlab-CI testing by using more of Salsa-CI features
++  * Prefer salsa-ci.yml naming over gitlab-ci.yml since we inherit Salsa-CI
++  * Add Breaks/Replaces for mysql-client-5.7 that ships myisam_ftdump
++
++  [ Christian Göttsche ]
++  * Set correct SELinux contexts on package installation (Closes: #948424)
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 28 Jan 2020 22:12:28 +0200
++
++mariadb-10.3 (1:10.3.21-2) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * Update Python dependencies and recommends to Python 3 (Closes: #945697)
++  * Remove deprecated basedir config from debian.cnf (Closes: #947553)
++
++  [ James Clarke ]
++  * Fix RocksDB on GNU/kFreeBSD (Closes: #920994)
++  * Use versioned symbols on GNU/kFreeBSD
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 07 Jan 2020 09:01:10 +0200
++
++mariadb-10.3 (1:10.3.21-1) unstable; urgency=low
++
++  [ Faustin Lammler ]
++  * Remove no more needed lintian overrides
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.3.21
++
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 11 Dec 2019 18:01:43 +0200
++
++mariadb-10.3 (1:10.3.20-1) unstable; urgency=high
++
++  * New upstream version 10.3.20. Includes fix for regression:
++    - MDEV-20987: InnoDB fails to start when FTS table has FK relation
++  * Remove obsolete fields Name, Contact from debian/upstream/metadata
++  * Gitlab-CI: Print artifact sizes to ensure it stays under 100 MB
++  * Gitlab-CI: Adapt CI jobs for Debian Sid work
++  * Update README.Maintainer with current Debian and Ubuntu release statuses
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 11 Nov 2019 23:55:37 +0200
++
++mariadb-10.3 (1:10.3.19-1) unstable; urgency=high
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.3.17. Includes security fixes for:
++    - CVE-2019-2938
++    - CVE-2019-2974
++  * Update symbols to match latest libmariadb_3
++  * Drop systemd service patch applied upstream
++
++  [ Faustin Lammler ]
++  * Fix typo in Readme
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 07 Nov 2019 21:26:49 +0200
++
++mariadb-10.3 (1:10.3.18-1) unstable; urgency=medium
++
++  * New upstream version 10.3.18. Fixes regression introduced in 10.3.17
++    (MDEV-20247: Replication hangs with "preparing" and never starts)
++    (Closes: #939819)
++  * Minort Gitlab-CI improvements
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 12 Sep 2019 15:51:04 +0300
++
++mariadb-10.3 (1:10.3.17-1) unstable; urgency=high
++
++  * New upstream version 10.3.17. Includes security fixes for:
++    - CVE-2019-2737
++    - CVE-2019-2739
++    - CVE-2019-2740
++    - CVE-2019-2758
++    - CVE-2019-2805
++  * Multiple Gitlab-CI/Salsa-CI improvements
++  * Dependency in resolveip is still included (Closes: #910902)
++  * Update libmariadb3 symbols to match MariaDB Connector C 3.1 API
++  * Add Lintian override for new test binary wsrep_check_version
++  * Gitlab-CI: Clean away one excess comment left from b9d633b38
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 02 Aug 2019 17:53:22 +0100
++
++mariadb-10.3 (1:10.3.16-1) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.3.16
++  * Make libzstd dependency versioned as RocksDB need at least 1.3.3.
++    This fixes build errors across different build environments.
++  * Update Gitlab CI for better quality control and long-term maintenance.
++
++  [ Helmut Grohne ]
++  * Improve cross building (Closes: #930314)
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 22 Jun 2019 16:45:18 +0200
++
++mariadb-10.3 (1:10.3.15-2) unstable; urgency=medium
++
++  [ Julien Muchembled ]
++  * Fixup RocksDB test on s390x, not available there
++
++  [ Otto Kekäläinen ]
++  * Purge deleted translations from debian/po
++  * Rename 'mariadbcheck' to 'mariadb-check' as upstream is doing in 10.4
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 07 Jun 2019 09:13:35 +0300
++
++mariadb-10.3 (1:10.3.15-1) unstable; urgency=high
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.3.15. Includes security fixes for (Closes: #928393):
++    - CVE-2019-2628
++    - CVE-2019-2627
++    - CVE-2019-2614
++  * Includes upstream fix for MDEV-18721: Host option in configuration file is
++    ignored (Closes: #921599)
++
++  [ Gregor Riepl ]
++  * Extend mariadb/mysql_config to support --libmysqld-libs (Closes: #928230)
++
++  [ Julien Muchembled ]
++  * Enable LZ4&Snappy for InnoDB and LZ4&Snappy&ZSTD for RocksDB
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 21 May 2019 10:45:37 +0300
++
++mariadb-10.3 (1:10.3.14-1) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * Rename and re-organize gitlab-ci.yml stages
++  * Refactor gitlab-ci.yml to be optimal for a life in Buster
++  * Ensure cmake builds also apply CPPFLAGS flags for hardening to fully work
++  * New upstream version 10.3.14. Includes MariaDB Connector C 3.0.10 which
++    includes an improved impelemntation of mysql_real_connect() that respects
++    the my.cnf "host" option (Closes: #921599). This upstream release also
++    fixes an indexes problem on import dump SQL (MDEV-18577) and many other
++    InnoDB corruption issues (Closes: #924498).
++  * Enable automatic restarts from maint scripts in gitlab-ci.yml
++  * Automate renaming MySQL auth_socket correctly in mysql_upgrade
++    (Closes: #926231)
++
++  [ Andreas Beckmann ]
++  * Use piuparts with --testdebs-repo so dependencies of each install resolve
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 19 Apr 2019 14:38:26 +0300
++
++mariadb-10.3 (1:10.3.13-2) unstable; urgency=medium
++
++  [ Olaf ]
++  * Use upstream conf defaults (Closes: #905599). This is critically important
++    so that nothing defined in the configuration would hold back upstream
++    improvements in default option values.
++
++  [ Otto Kekäläinen ]
++  * Extend gitlab-ci.yml to include MySQL to MariaDB upgrade testing and also
++    refine automatic testing in many ways to ensure as little regressions as
++    possible.
++  * Automatically rename 'auth_socket' to 'unix_socket' when upgrading from
++    MySQL 5.7 which otherwise would completely fail.
++  * Drop the transitional libmariadbclient18 package (Closes: #925117)
++  * Move resolveip from mariadb-server-10.3 to -core-10.3 (Closes: #910902)
++  * Move all mariadb-server-x.x *.sql files to mariadb-server-core-x.x package
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 01 Apr 2019 23:05:31 +0300
++
++mariadb-10.3 (1:10.3.13-1) unstable; urgency=medium
++
++  * New upstream version 10.3.13
++  * Includes fixes for the following security vulnerabilities
++    (Closes: #920933):
++    - CVE-2019-2537
++    - CVE-2019-2529
++  * Update symbols list to match latest MariaDB Connector C release
++  * Use bundled SSL libraries instead of system OpenSSL (Closes: #921488)
++  * Fix 'Multi-Arch: same' stanzas (Closes: #920364)
++  * Implement proper version detection in maintainer scripts (Closes: #920415)
++  * Make libmariadb-dev depend on libgnutls28-dev (Closes: #917135)
++  * Extend Gitlab-CI significantly and update READMEs
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 24 Feb 2019 21:14:15 +0200
++
++mariadb-10.3 (1:10.3.12-2) unstable; urgency=medium
++
++  [ Adrian Bunk ]
++  * mariadb-plugin-tokudb: Properly generate the libjemalloc dependency
++
++  [ Otto Kekäläinen ]
++  * Re-enable jemalloc as Debian#843926 is now fixed (Closes: #918798)
++  * Update gitlab-ci.yml
++    * Follow upstream 'build' and 'lintian' steps
++    * Extend upgrade testing to upgrade from buster->sid (10.1 -> 10.3)
++  * Make libmariadb-dev-compat also Breaks+Replaces old libmariadbclient-dev
++    (Closes: #863675)
++  * Revert "Update libmariadb-dev.links to restore /usr/include/mysql.."
++
++  [ Andreas Beckmann ]
++  * Reintroduce libmariadbclient-dev as a transitional package
++  * Drop obsolete libmariadbclient18 symbols file
++  * Add Build-Depends-Package field to symbols file
++  * Minimize the upstream signing key by dropping all signatures
++  * Fix multiple Lintian issues
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 24 Jan 2019 20:56:46 +0200
++
++mariadb-10.3 (1:10.3.12-1) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * New upstream version 10.3.12
++  * Create the mysqlclient.pc symlink at correct path with /pkgconfig/
++    (Closes: #878340)
++  * Add libjemalloc2 as alternative dep for mariadb-plugin-tokudb
++  * Prevent mysql_upgrade from being triggered on every server restart
++  * Automate VERSION variable in mariadb-server installer scripts
++  * Improve logging and tag syslog messages with postinstall filename
++  * Make libmariadbclient18 Breaks old libpam-mysql and libdbd-mysql-perl
++
++  [ Samuel Thibault ]
++  * Do not try to install disks.so file not built on non-Linux
++  * Tune symbol visibility on GNU/Hurd too
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 08 Jan 2019 22:52:16 +0100
++
++mariadb-10.3 (1:10.3.11-3) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Use sst_dump from package rocksdb-tools (Closes: #886853)
++  * Remove wsrep_sst_xtrabackup(-v2) already deprecated in upstream
++  * Make gitlab-ci.yml upgrade test specifically run mariadb-server-10.1->10.3
++  * Fix upstream RocksDB patch to fix Lintian complaints about source code
++  * Drop the MIPS Innobase patch that it is already fixed upstream
++  * Extend gitlab-ci.yml to test libmysql* interactions
++  * Ensure libmariadbd19 does not breaks/replace anything
++  * Make libmariadb-dev-compat break what is replaces
++  * Make libmariadb-dev breaks/replaces libmysqlclient-dev (Closes: #863675)
++  * Update Dutch translation by Frans Spiesschaert (Closes: #895461)
++
++  [ Faustin Lammler ]
++  * Fix 2 typo error in README contributor
++  * Lintian some complaints
++
++  [ Helge Deller ]
++  * Skip failing test on HPPA, it's not too important (Closes: #917395)
++
++  [ Scott Kitterman ]
++  * Update libmariadb-dev.links to restore /usr/include/mysql compatibility
++    symlinks lost when the default switched from 10.1 to 10.3 (Closes: #917266)
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 31 Dec 2018 16:39:33 +0200
++
++mariadb-10.3 (1:10.3.11-2) unstable; urgency=low
++
++  [ Vicențiu Ciorbaru ]
++  * Update c11_atomics patch to include mysys. This should fix both
++    mips and armel build failures.
++
++  [ Otto Kekäläinen ]
++  * Make libmariadb-dev depend on libssl-dev (Closes: #917135)
++  * Remove "Conflicts: libmariadbclient18 (<< 10.2.0)" (Closes: #917075)
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 24 Dec 2018 18:50:31 +0200
++
++mariadb-10.3 (1:10.3.11-1) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Import to Debian latest major release of MariaDB (Closes: #867892)
++  * Packaging carries on all impromevements done on to the latest MariaDB
++    10.1.x packages in Debian unstable up until Dec 15th 2018.
++  * Drop the Hurd socket patch that it is already applied upstream
++  * Update SSL/TLS keys as OpenSSL since 1.1.0 rejects weak keys by default
++  * Remove innodb_* options from server config that are default in 10.3
++  * Remove --skip-auth-anonymous-user deprecated in 10.3
++  * Include also arch specific skiplists in CI tests
++  * Make TokuDB explicitly depend on libjemalloc1
++  * Follow Salsa-CI changes and update build image name to 'dockerbuilder'
++  * Extend gitlab-ci to test installation and upgrade of MariaDB
++
++  [ Vicențiu Ciorbaru ]
++  * Refresh c11_atomics patch for 10.3
++  * Fix MEMORY storage engine test
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 20 Dec 2018 21:52:42 +0200
++
++mariadb-10.1 (1:10.1.37-3) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Update translation templates
++  * Fix typo in commit 33d853128 so skip list is not reset when adding lines
++
++  [ Vicențiu Ciorbaru ]
++  * Fix mips compilation failure (__bss_start symbol missing)
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 08 Dec 2018 18:50:43 +0200
++
++mariadb-10.1 (1:10.1.37-2) unstable; urgency=low
++
++  [ Samuel Thibault ]
++  * Do not depend on libsystemd-dev on non-Linux
++  * On non-Linux, do not install files not built there
++  * Add hurd cmake configuration (Closes: #912902)
++
++  [ Otto Kekäläinen ]
++  * Add Gitlab-CI definition file that can test each commit to this repository
++  * Utilize upstream unstable-tests list in tests/upstream mysql-test-run.
++    This will make ci.debian.net pass as it will correctly ignore tests.
++  * Disable test unit.pcre_test on s390x that was failing in stretch-security
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 01 Dec 2018 18:17:18 +0200
++
++mariadb-10.1 (1:10.1.37-1) unstable; urgency=high
++
++  * New upstream version 10.1.37. Includes security fixes for:
++    - CVE-2018-3282
++    - CVE-2018-3251
++    - CVE-2018-3174
++    - CVE-2018-3156
++    - CVE-2018-3143
++    - CVE-2016-9843
++  * Update README.Contributor based on recent feedback
++  * Update README.Maintainer to match current best practices
++  * Move my_print_defaults to mariadb-server-core (Closes: #898367)
++  * Update Debian standards version to 4.2.1 (no changes)
++  * Fix minor Lintian complaints
++  * Add (and rename) new man pages
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 04 Nov 2018 19:11:19 +0200
++
++mariadb-10.1 (1:10.1.35-1) unstable; urgency=medium
++
++  * New upstream version 10.1.35. Includes security fixes for:
++    - CVE-2018-3066
++    - CVE-2018-3064
++    - CVE-2018-3063
++    - CVE-2018-3058
++  * Fix wrong-path-for-interpreter in innotop script
++  * Update Debian standards version
++  * Revert "Remove the mariadb-test-* packages" (Closes: #888956)
++  * Omit test plugins as they are not used by the tests and already deleted
++  * Define autopkgtest with isolation-container (Closes: #870408)
++  * Ship config examples et al in /usr/share/mysql (Closes: #878223)
++  * Extend the server README to clarify misunderstandings (Closes: #878215)
++  * Introduce mariadb-backup as a separate binary package, just like in upstream
++  * Fix bash syntax issues detected by Shellcheck
++  * Fix 'max key length is 767 bytes' errors (Closes: #886756)
++  * Remove GNU Hurd FTBFS patch that's been applied upstream (Closes: #882062)
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 07 Aug 2018 22:18:20 +0300
++
++mariadb-10.1 (1:10.1.34-1) unstable; urgency=medium
++
++  * New upstream release 10.1.34.
++  * Previous upstream version 10.1.33 included fixes for the following
++    security vulnerabilities:
++    - CVE-2018-2819
++    - CVE-2018-2817
++    - CVE-2018-2813
++    - CVE-2018-2787
++    - CVE-2018-2784
++    - CVE-2018-2782
++    - CVE-2018-2781
++    - CVE-2018-2771
++    - CVE-2018-2766
++    - CVE-2018-2761
++    - CVE-2018-2755
++  * Previous upstream version 10.1.31 included fixes for the following
++    security vulnerabilities:
++    - CVE-2018-2668
++    - CVE-2018-2665
++    - CVE-2018-2640
++    - CVE-2018-2622
++    - CVE-2018-2612
++    - CVE-2018-2562
++  * Previous upstream version 10.1.30 included fixes for the following
++    security vulnerabilities:
++    - CVE-2017-15365
++
++  [ Otto Kekäläinen ]
++  * Update VCS-* links to point to the new source repository
++  * Delete unnecessary systemd files introduced by upstream
++  * Add new files introduced by upstream to correct packages
++  * Mark selected tests as unstable so they don't stop the whole upload in vain
++  * Update d/control Uploaders to match current affairs
++  * Various minor Lintian fixes
++  [ Otto Kekäläinen ]
++  * Use the ccache symlinks made by update-ccache-symlinks, if available
++
++  [ Vicențiu Ciorbaru ]
++  * Extend libmariadbclient-rename.patch to cover TokuDB as well
++  * Disable disks.disks test
++
++  [ Rui Branco ]
++  * Updated Portuguese translation by Rui Branco (Closes: #871052)
++
++  [ Takuma Yamada ]
++  Updated Japanese translation by Takuma Yamada (Closes: #859481)
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 31 Jul 2018 21:52:16 +0800
++
++mariadb-10.1 (1:10.1.29-6) unstable; urgency=high
++
++  * Ignore failed tests on more non-release platforms (kfreebsd-i386,
++    kfreebsd-amd64 and sparc64)
++
++ -- Ondřej Surý <ondrej@debian.org>  Thu, 23 Nov 2017 07:03:47 +0000
++
++mariadb-10.1 (1:10.1.29-5) unstable; urgency=high
++
++  * Update the -O3 -> -O2 patch to include more cmake files
++
++ -- Ondřej Surý <ondrej@debian.org>  Wed, 22 Nov 2017 22:48:13 +0000
++
++mariadb-10.1 (1:10.1.29-4) unstable; urgency=high
++
++  * Change the default optimization from -O3 to -O2 in mysql_release.cmake
++    BUILD_CONFIG profile
++
++ -- Ondřej Surý <ondrej@debian.org>  Wed, 22 Nov 2017 20:33:17 +0000
++
++mariadb-10.1 (1:10.1.29-3) unstable; urgency=medium
++
++  * Change the default optimization level to -O2 to fix arm64 build
++
++ -- Ondřej Surý <ondrej@debian.org>  Wed, 22 Nov 2017 15:33:21 +0000
++
++mariadb-10.1 (1:10.1.29-2) unstable; urgency=medium
++
++  [ Otto Kekäläinen ]
++  * Update the d/changelog with CVEs
++
++  [ Ondřej Surý ]
++  * Revert to using system pcre library (Closes: #882329)
++  * Bump the epoch to fix the mess created by mariadb-10.2 upload
++    (Closes: #881898)
++
++  [ Christian Ehrhardt ]
++  * d/t/upstream: skip func_regexp_pcre on s390x
++
++ -- Ondřej Surý <ondrej@debian.org>  Wed, 22 Nov 2017 06:03:17 +0000
++
++mariadb-10.1 (10.1.29-1) unstable; urgency=medium
++
++  * New upstream version 10.1.29, includes fixes for the following
++    security vulnerabilities:
++    - [CVE-2017-10378]: Optimizer component to cause denial of service
++      conditions
++    - [CVE-2017-10268]: Replication component to access data
++    - [MDEV-13819]: Server crashes in Item_func_in::val_int or Assertion
++      `in_item' failed in virtual longlong Item_func_in::val_int
++  * Remove the mariadb-test-* packages as they are now provided by
++    mariadb-10.2 (Closes: #881898)
++  * Rebase patches for new upstream version.
++
++ -- Ondřej Surý <ondrej@debian.org>  Thu, 16 Nov 2017 15:24:36 +0000
++
++mariadb-10.1 (10.1.28-2) unstable; urgency=high
++
++  * Add libconfig-inifiles-perl to mariadb-client-10.1 depends to fix
++    mytop (Closes: #875708)
++  * Add mips64el to the list of platforms that are allowed to fail test
++    suite (Closes: #879637)
++
++ -- Ondřej Surý <ondrej@debian.org>  Sun, 12 Nov 2017 11:03:20 +0000
++
++mariadb-10.1 (10.1.28-1) unstable; urgency=medium
++
++  * New upstream version 10.1.28
++  * Rebase patches on top of MariaDB 10.1.28
++  * Add extra symbols aliases for libmariadbclient_16
++
++ -- Ondřej Surý <ondrej@debian.org>  Mon, 09 Oct 2017 22:07:43 +0000
++
++mariadb-10.1 (10.1.26-1) unstable; urgency=medium
++
++  * Ignore upstream debian/ directory when importing upstream tarball
++  * New upstream version 10.1.26
++  * Refresh patches for MariaDB 10.1.26
++  * Remove unstable tests patches for unstable build, so we see what is
++    really failing and what is not
++
++ -- Ondřej Surý <ondrej@debian.org>  Thu, 10 Aug 2017 20:41:46 +0200
++
++mariadb-10.1 (10.1.25-1) unstable; urgency=medium
++
++  * New upstream version 10.1.25
++  * Update quilt patches on top of mariadb-10.1.25 release
++  * Explicitly add dh_systemd_start snippets to mariadb-server-10.1
++    because it's all messed up with different name for sysvinit ('mysql')
++    and systemd ('mariadb') (Closes: #865870)
++  * Don't disable PIE, it's enabled by upstream anyway (Closes: #865737)
++  * Add default socket location for client (Closes: #864662)
++
++ -- Ondřej Surý <ondrej@debian.org>  Sun, 30 Jul 2017 14:15:48 +0200
++
++mariadb-10.1 (10.1.24-6) unstable; urgency=medium
++
++  * Run invoke-rc.d mysql maintscript snippets only when running under
++    sysvinit (Closes: #864593)
++
++ -- Ondřej Surý <ondrej@debian.org>  Wed, 21 Jun 2017 11:12:16 +0200
++
++mariadb-10.1 (10.1.24-5) unstable; urgency=medium
++
++  * Add @SYSTEMD_EXECSTARTPOST@ replacement token to mariadb@.service, so
++    the /var/run/mysqld directory is created even for multi-server setup
++    (Closes: #865083)
++
++ -- Ondřej Surý <ondrej@debian.org>  Mon, 19 Jun 2017 08:52:26 +0200
++
++mariadb-10.1 (10.1.24-4) unstable; urgency=medium
++
++  [ James Cowgill ]
++  * Disable jemalloc on mips*. (Closes: #864340)
++  * Update C11 atomics to have correct semantics (Closes: #864774)
++
++  [ Ondřej Surý ]
++  * Refresh patches after C11 atomics patch update
++  * Merge mytop script improvements from src:mytop package (Original
++    patches by Philipp Matthias Hahn, Werner Detter, Olaf van der Spek,
++    and Steffen Zieger) (Closes: #864762)
++
++  [ Svante Signell ]
++  * Fix FTBFS on Debian GNU/Hurd (Closes: #861166)
++
++ -- Ondřej Surý <ondrej@debian.org>  Mon, 19 Jun 2017 07:09:50 +0200
++
++mariadb-10.1 (10.1.24-3) unstable; urgency=medium
++
++  * Team upload.
++  * Add mips-innobase-atomic.patch, fixing FTBFS on 32-bit mips*, thanks to
++    James Cowgill.  (Closes: #864298)
++
++ -- Andreas Beckmann <anbe@debian.org>  Wed, 07 Jun 2017 02:23:44 +0200
++
++mariadb-10.1 (10.1.24-2) unstable; urgency=medium
++
++  * Add Breaks: cqrlog (<< 1.9.0-5~) to ensure correct upgrade order
++    (Closes: #864159)
++
++ -- Ondřej Surý <ondrej@debian.org>  Tue, 06 Jun 2017 14:29:52 +0200
++
++mariadb-10.1 (10.1.24-1) unstable; urgency=medium
++
++  * New upstream version 10.1.24, includes fixes for the following
++    high-priority regression fixes:
++    + MDEV-11842: Fail to insert on a table where a field has no default
++    + MDEV-12075: innodb_use_fallocate does not work in MariaDB
++      Server 10.1.21
++  * Refresh patches on top of MariaDB 10.1.24
++  * Fix FTBFS in tests: Add cracklib-runtime to Build-Depends
++
++ -- Ondřej Surý <ondrej@debian.org>  Tue, 06 Jun 2017 09:25:19 +0200
++
++mariadb-10.1 (10.1.23-9+deb9u1) stretch; urgency=medium
++
++  [ Ondřej Surý ]
++  * Add Breaks: cqrlog (<< 1.9.0-5~) to ensure correct upgrade order
++    (Closes: #864159)
++
++ -- Andreas Beckmann <anbe@debian.org>  Wed, 07 Jun 2017 21:11:23 +0200
++
++mariadb-10.1 (10.1.23-9) unstable; urgency=medium
++
++  * Fix the invalid location of insserv configuration snippet
++    (Thanks Michael Biebl for catching that)
++
++ -- Ondřej Surý <ondrej@debian.org>  Fri, 26 May 2017 09:26:33 +0200
++
++mariadb-10.1 (10.1.23-8) unstable; urgency=medium
++
++  * Use /etc/insserv.conf.d/mariadb to provide $database system facility
++    (Closes: #862447)
++
++ -- Ondřej Surý <ondrej@debian.org>  Sat, 13 May 2017 11:08:43 +0200
++
++mariadb-10.1 (10.1.23-7) unstable; urgency=medium
++
++  * Remove hard Breaks/Replaces with mysql-server and mysql-client
++  * Move virtual packages from Breaks to Conflicts (Debian Policy 7.6.2)
++
++ -- Ondřej Surý <ondrej@debian.org>  Fri, 12 May 2017 12:21:33 +0200
++
++mariadb-10.1 (10.1.23-6) unstable; urgency=medium
++
++  * Also fix the same assertion failure in xtradb (Closes: #862103)
++
++ -- Ondřej Surý <ondrej@debian.org>  Mon, 08 May 2017 19:51:47 +0200
++
++mariadb-10.1 (10.1.23-5) unstable; urgency=medium
++
++  * Add upstream patch to fix assertion failure in InnoDB storage engine
++    (Closes: #862103)
++
++ -- Ondřej Surý <ondrej@debian.org>  Mon, 08 May 2017 17:21:55 +0200
++
++mariadb-10.1 (10.1.23-4) unstable; urgency=medium
++
++  * Properly declare conflict on mytop (Closes: #861913)
++
++ -- Ondřej Surý <ondrej@debian.org>  Mon, 08 May 2017 11:31:13 +0200
++
++mariadb-10.1 (10.1.23-3) unstable; urgency=medium
++
++  * Remove two internal symbols (ll2str and longlong2str) from
++    kfrebsd-amd64 symbols file
++
++ -- Ondřej Surý <ondrej@debian.org>  Thu, 04 May 2017 13:19:00 +0200
++
++mariadb-10.1 (10.1.23-2) unstable; urgency=medium
++
++  * Add CVE list for 10.1.23 release
++  * Fix FTBFS on kfrebsd-any due missing .service files
++
++ -- Ondřej Surý <ondrej@debian.org>  Thu, 04 May 2017 10:55:06 +0200
++
++mariadb-10.1 (10.1.23-1) unstable; urgency=medium
++
++  * New upstream version 10.1.23, includes fixes for the following
++    security vulnerabilities:
++   - [CVE-2017-3302]: use-after-free in C client library for MySQL
++   - [CVE-2017-3313]: unauthorized (local) access to critical data or
++     complete access to all MySQL Server accessible data
++   - [CVE-2017-3308]: unauthorized (network) ability to cause a hang or
++     frequently repeatable crash
++   - [CVE-2017-3309]: unauthorized (network) ability to cause a hang or
++     frequently repeatable crash
++   - [CVE-2017-3453]: unauthorized (network) ability to cause a hang or
++     frequently repeatable crash
++   - [CVE-2017-3456]: unauthorized (network) ability to cause a hang or
++     frequently repeatable crash
++   - [CVE-2017-3464]: unauthorized update, insert or delete access to some
++     of MySQL Server accessible data
++  * Refresh debian/patches on top of MariaDB 10.1.23 release
++  * debian/gbp.conf: Filter most common cruft in the orig tarball
++  * debian/rules: Use --fail-missing to catch extra upstream files
++  * debian/*.manpages: Merge into debian/*.install
++  * debian/*.install: Add few missing binaries into various packages
++  * Declare mariadb-plugin-tokudb as available only on (linux-)amd64
++    to fix FTBFS on kfreebsd-amd64
++  * Remove the extra sanity check as it is already there via standard
++    dh_installinit (|| exit 0) (Closes: #861782)
++  * Stop /usr/sbin/mysqld in prerm script even with systemd
++  * Move mariadb.pc into proper multiarch directory (Closes: #852621)
++  * Add libarchive-dev needed by mariabackup to Build-Depends
++  * debian/control: run wrap-and-sort -a
++  * Move mysql_install_db from mariadb-server-10.1 to
++    mariadb-server-core-10.1 (Closes: #840646)
++  * Add Provides: $database to mysql.init - this partially addresses
++    #852776
++  * Call dh_systemd_start with --no-restart-after-upgrade
++    (Closes: #853137)
++  * d/rules: Remove dh_prep override (legacy cruft)
++
++ -- Ondřej Surý <ondrej@debian.org>  Thu, 04 May 2017 07:23:23 +0200
++
++mariadb-10.1 (10.1.22-4) unstable; urgency=medium
++
++  * Fix small typo in d/rules that caused MySQL version suffix to not
++    contain information about Debian build
++
++ -- Ondřej Surý <ondrej@debian.org>  Sat, 29 Apr 2017 21:56:23 +0200
++
++mariadb-10.1 (10.1.22-3) unstable; urgency=medium
++
++  * Use pidof instead of pgrep, so we don't have to depend on procps
++  * Stop stopping mariadb server that many times and just add a simple
++    check to preinst that it has been really stopped (Closes: #852495)
++  * Fix small typo in gettid patch
++  * Disable TokuDB on kfreebsd-amd64
++
++ -- Ondřej Surý <ondrej@debian.org>  Tue, 28 Mar 2017 22:59:06 +0200
++
++mariadb-10.1 (10.1.22-2) unstable; urgency=medium
++
++  [ Ondřej Surý ]
++  * Add correct kfreebsd-i386 symbols file (but this needs to be fixed in
++    how upstream uses linker)
++  * Update italian translation (Closes: #858300)
++
++  [ Otto Kekäläinen ]
++  * Add Vietnamese translation by Trần Ngọc Quân
++  * Add Finnish translation by Antti Järvinen
++
++  [ Ondřej Surý ]
++  * Disable test suite on hppa, don't fail test suite on more unstable
++    platforms: alpha, powerpc, and x32
++  * Add swedish debconf translation (Closes: #858536)
++  * Add Catalan debconf translation (Closes: #858632)
++  * Use thr_self() as gettid implementation onf __FreeBSD_kernel__
++  * Make mariadb-server-10.1 installable on kFreeBSD and Hurd (Closes: #851687)
++  * Update Turkish debconf translation (Closes: #858340)
++  * Disable specific tests on hppa to make the build succeed (Courtesy of
++    John David Anglin) (Closes: #858869)
++
++ -- Ondřej Surý <ondrej@debian.org>  Tue, 28 Mar 2017 22:59:01 +0200
++
++mariadb-10.1 (10.1.22-1) unstable; urgency=high
++
++  [ Otto Kekäläinen ]
++  * New upstream release 10.1.22. Includes fixes for the following
++    security vulnerabilities:
++    - CVE-2017-3313
++    - CVE-2017-3302
++  * New upstream also includes fix to logrotate so that it no longer
++    risks interrupting binary/relay log processing on the server.
++    https://github.com/MariaDB/server/commit/156cf86defdc59353f37f6
++  * Add a NEWS.Debian item with same contents as the Stretch release notes
++
++  [ Ondřej Surý ]
++  * Add myself to Uploaders
++  * Use https URI for Homepage
++  * Use /usr/share/dpkg/default.mk to define dpkg-architecture and other
++    build variables
++  * Install and use non-versioned symbols files for kFreeBSD and Hurd
++    architectures
++  * Make mysql_config and mariadb.pc return -lmariadbclient instead of
++    missing -lmysqlclient
++  * Add mysqlclient.pc -> mariadb.pc symlink into
++    libmariadbclient-dev-compat package
++  * MDEV-11884: Fix logrotate failing if mysqld is not running (Closes: #830976)
++
++ -- Ondřej Surý <ondrej@debian.org>  Sun, 19 Mar 2017 15:23:26 +0100
++
++mariadb-10.1 (10.1.21-5) unstable; urgency=low
++
++  [ James Clarke ]
++  * Make debian/mariadb-server-10.1.install executable (Closes: #852728)
++  * Allow mariadb-plugin-tokudb/mroonga on non-linux and non-release arches
++  * Detect whether libatomic is needed rather than hard-coding for mips
++  * Use host architecture, not build architecture, and clean up variables
++  * General clean-up in d/rules
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 27 Jan 2017 20:42:36 +0200
++
++mariadb-10.1 (10.1.21-4) unstable; urgency=low
++
++  * Hotfix to full build failure: Add missing galera_new_cluster.1 to patch
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 26 Jan 2017 23:33:32 +0200
++
++mariadb-10.1 (10.1.21-3) unstable; urgency=low
++
++  [ Ian Gilfillan ]
++  * Extend WSREP and Galera man pages patch to cover all commands
++
++  [ Dieter Adriaenssens ]
++  * Specify Architecture for mariadb-plugin-mroonga and mariadb-plugin-tokudb
++    (Closes: #852709)
++
++  [ James Clarke ]
++  * Fix FTBFS on non-Linux architectures (Closes: #852728)
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 26 Jan 2017 22:18:26 +0200
++
++mariadb-10.1 (10.1.21-2) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Implement systemd packaging the Debian way
++  * Extend README.Debian regarding new systemd files
++  * Add config file comments about SysV init and systemd differences
++  * Extend Debian.README with section about mixing with packages MariaDB.org
++  * Update /etc/init.d/mysql after comparison with upstream MariaDB 10.1.21
++  * Run chown much faster on the datadir during install/update
++  * Check if /var/lib/mysql exists before running 'find' on it
++  * Skip mysqld stopping if no mysqld process is running at all
++  * Update French debconf translation by Baptiste Jammet (Closes: #850066)
++  * Remove unnecessary XS-Testsuite field (as instructed by Lintian)
++  * Add a modified version of upstream autobake-deb script to utilize CI tools
++  * Fix server config example on how to enable SSL with YaSSL (Closes: #851132)
++  * Make commands mariadb and mariadbcheck available with symlinks
++
++  [ Jean Weisbuch ]
++  * Update Innotop to latest version
++
++  [ Ian Gilfillan ]
++  * Add wsrep_* man pages
++
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 25 Jan 2017 10:42:45 +0200
++
++mariadb-10.1 (10.1.21-1) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * New upstream release 10.0.28. Includes fixes for the following
++    security vulnerabilities (Closes: #851759, Closes: ##849435):
++    - CVE-2017-3318
++    - CVE-2017-3317
++    - CVE-2017-3312
++    - CVE-2017-3291
++    - CVE-2017-3265
++    - CVE-2017-3258
++    - CVE-2017-3257
++    - CVE-2017-3244
++    - CVE-2017-3243
++    - CVE-2017-3238
++    - CVE-2016-6664
++  * Add new program introduced in upstream 10.1.21: mysqld_safe_helper
++  * Deb-CI: remove parameter --skip-ndbcluster not available in 10.1 any more
++  * Make libmariadbclient18 depend on mysql-common only (Closes: #850216)
++  * Fix misleading config file comment (Closes: #677223)
++  * Update preinst variable $this_version from 10.0 to 10.1 (Closes: #851257)
++
++  [ Kristian Nielsen ]
++  * Re-implement passwordless root login (Closes: #851131)
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 19 Jan 2017 11:33:01 +0200
++
++mariadb-10.1 (10.1.20-3) unstable; urgency=low
++
++  [ Vicențiu Ciorbaru ]
++  * Update debian rules to also account for mipsel
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 24 Dec 2016 20:23:23 +0200
++
++mariadb-10.1 (10.1.20-2) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Upload to unstable
++  * Previous version string should had been ~exp1, thus this
++    first upload to unstable is -2 and not -1 as normal
++  * Disable test suite temporairly due to false regressions
++
++  [ Dieter Adriaenssens ]
++  * fix Vcs-git link format and repo name
++  * update 10.0 to 10.1 in README files
++
++  [ Vicențiu Ciorbaru ]
++  * Fix mips missing atomics primitives
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 24 Dec 2016 09:54:59 +0200
++
++mariadb-10.1 (10.1.20-1) experimental; urgency=low
++
++  * Upgrade package to new MariaDB 10.1.x series:
++    - New upstream release  10.1.20
++    - Refresh patches after 10.1.20 import
++    - Update strings 10.0 -> 10.1 after importing 10.1.20
++    - Refresh patches after 10.1.20 import
++    - Update d/control after 10.1 import
++    - Use https protected git url in d/control
++    - Backwards compatible XS-Testsuite syntax in d/control
++    - Import debian/* changes done in upstream 10.1
++    - Replace deprecated iproute with iproute2
++    - Remove unnecessary dependencies as packages are Essential anyway
++    - Remove unnecessary and big file mysql_embedded
++    - Switch to 10.1 style build flag for unix socket auth module in d/rules
++    - Update d/copyright after 10.1 import
++    - Add missing aria_add_gis_sp.sql to mariadb-server-10.1
++    - Ship SELinux and AppArmor files with the server, but as inactive
++    - New package from upstream 10.1: GSS API (Kerberos) client and server
++    - Extend GSSAPI plugin descriptions to satisfy Lintian
++    - New plugin from upstream 10.1: Cracklib password validation
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 20 Dec 2016 22:46:59 +0200
++
++mariadb-10.0 (10.0.28-3) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Move libmariadbd and -dev next to each other for a more logical flow in d/control
++  * Move mariadb-test to last in file for a more logical flow in d/control
++  * Clean away unused Lintian overrides
++  * Add Lintian override for impossible mysql_config multi-arch requirement
++  * Update Debian copyright based on the 2016 git log author list
++  * Remove unnecessary /var/lib/mysql-upgrade (Closes: #848620)
++
++  [ Vicențiu Ciorbaru ]
++  * Fix connect.upd test in armhf
++  * Fix mroonga/storage.index_read_multiple_double test in armhf
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 20 Dec 2016 21:59:47 +0200
++
++mariadb-10.0 (10.0.28-2) unstable; urgency=low
++
++  [ Samuel Thibault ]
++  * patches/hurd_socket.patch: Also avoid non-working socket path length check
++    on hurd-i386.
++  * rules: Drop symbols on hurd-i386 too (Closes: #842696).
++
++  [ Daniel Black ]
++  * Don't install private mysql header files in libmariadbclient-dev
++
++  [ Otto Kekäläinen ]
++  * Update libmariadbd18 description and contents to match latest upstream
++  * Mark missing Multi-Arch as suggested by Multiarch hinter
++  * Move plugins to $ARCH/*/mariadb18 to meet multiarch needs (Closes: #739452)
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 11 Nov 2016 22:03:33 +0200
++
++mariadb-10.0 (10.0.28-1) unstable; urgency=low
++
++  [ Vicențiu Ciorbaru ]
++  * Fix tokudb jemalloc linking
++
++  [ Otto Kekäläinen ]
++  * New upstream release 10.0.28. Includes fixes for the following
++    security vulnerabilities:
++    - CVE-2016-8283
++    - CVE-2016-7440
++    - CVE-2016-6663
++    - CVE-2016-5629
++    - CVE-2016-5626
++    - CVE-2016-5624
++    - CVE-2016-5616
++    - CVE-2016-5584
++    - CVE-2016-3492
++  * Drop 4 patches that have been applied upstream.
++  * Delete runnable files from mariadb-test-data as they were only
++    needed at build time to generate tests.
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 28 Oct 2016 22:51:14 +0300
++
++mariadb-10.0 (10.0.27-2) unstable; urgency=low
++
++  [ Dieter Adriaenssens ]
++  * Fix typo in README.Contributor
++  * Improve documentation on how to clean the build env
++
++  [ James Cowgill ]
++  * Mips build and testsuite fixes (Closes: #838557, Closes: #838914)
++    - Permit 93 as a valid value of the ENOTEMPTY error in the testsuite
++    - Correctly fix mips64 multiplication in taocrypt
++    - Ensure groonga is built with libatomic
++    - Handle unaligned buffers in connect's TYPBLK class
++    - Fix DEFAULT_MACHINE on mips
++    - Remove various tests from unstable-tests which now pass on MIPS
++    - Update debian/unstable-tests.mips*
++
++  [ Kristian Nielsen ]
++  * Fix missing path for perl in autopkgtest (Closes: #809022)
++  * Fix test failures on hppa due to wrong enoempty (Closes: #837369)
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 02 Oct 2016 09:22:59 +0300
++
++mariadb-10.0 (10.0.27-1) unstable; urgency=low
++
++  * New upstream release 10.0.27
++  * Remove 3 patches after 10.0.27 import as they have been applied
++    upstream.
++
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 07 Sep 2016 23:05:28 +0300
++
++mariadb-10.0 (10.0.26-3) unstable; urgency=low
++
++  [ Dieter Adriaenssens ]
++  * Add DEP-12 formatted upstream metadata file (Closes: #808421)
++
++  [ Vicențiu Ciorbaru ]
++  * Update innodb_xtradb patch to introduce memory barrier after lock
++  * Fix failing shutdown with gcc v6
++
++  [ Otto Kekäläinen ]
++  * Extend commit d5af196 with old name of package libmariadb-dev-compat
++  * Extend commit 8d2a7c9 and actually install the tokuftdump man page
++  * Update mariadb-test dependencies to include also libmariadbclient18
++  * Add path to fix for sporadically failing test main.information_schema_stats
++  * d/rules: NUMJOBS must have a default value
++
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 17 Aug 2016 00:31:02 +0300
++
++mariadb-10.0 (10.0.26-2) unstable; urgency=low
++
++  [ Vicențiu Ciorbaru ]
++  * Add patch to correctly revert changes from 10.0.26 that caused
++    build failure regression on PPC64el
++
++  [ Paul Gevers ]
++  * Add autopkg tests for MariaDB 10.0 (Closes: #809022)
++
++  [ Axel Beckert ]
++  * Extend mariadb-server to purge gracefully if datadir is a mountpoint
++    (Closes: #829491)
++
++  [ Ian Gilfillan ]
++  * Add a patch to provide a man page for tokuftdump
++
++  [ Robie Basak ]
++  * Re-add libmariadbclient18 and libmariadbclient-dev
++  * Add libmariadbclient-dev-compat package
++
++  [ Otto Kekäläinen ]
++  * d/control: libmariadbclient18 must be 'Multi-Arch: same'
++  * Make libmariadbclient-dev-compat conflict with libmariadb-dev-compat
++    (Closes: #831229)
++  * Add libmariadbclient-dev as dependency for libmariadbd-dev
++  * Replace hacky sed of libmysqlclient->libmariadbclient with proper patch
++  * Update symbols file to match newest libmariadbclient18
++  * Updated Danish translation by Joe Hansen (Closes: #830592)
++  * Remove mariadb-plugin-cassandra until libthrif-dev lands in unstable
++  * Make libdbd-mysql-perl and friends Recommends instead of strict Depends
++    (Closes: #793787)
++  * Documentation and spelling fixes
++  * Remove mysqlbug binary as it is not used for MariaDB
++  * Update default config files with more secure TLS examples
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 29 Jul 2016 21:42:50 +0300
++
++mariadb-10.0 (10.0.26-1) unstable; urgency=low
++
++  * Updated French translation by Baptiste Jammet (Closes: #826879)
++  * New upstream release 10.0.26. Includes fixes for the following
++    security vulnerabilities:
++    - CVE-2016-5440
++    - CVE-2016-3615
++    - CVE-2016-3521
++    - CVE-2016-3477
++  * Updated old changelog entries to include new CVE identifiers.
++  * Refresh patches after 10.0.26 import
++
++ -- Otto Kekäläinen <otto@debian.org>  Fri, 24 Jun 2016 17:05:44 +0300
++
++mariadb-10.0 (10.0.25-1) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Revert previous changes tailored for Ubuntu 16.04 compatibility.
++  * New upstream release 10.0.25. Includes fixes for the following
++    security vulnerabilities (Closes: #823325):
++    - CVE-2016-0666
++    - CVE-2016-0655
++    - CVE-2016-0648
++    - CVE-2016-0647
++    - CVE-2016-0643
++    - CVE-2016-5444
++    - CVE-2016-3459
++    - CVE-2016-3452
++  * Updated old changelog entries to include new CVE identifiers.
++  * Upstream included changes to logrotate script that supports systems that
++    has multiple mysqld processes running (Closes: #810968).
++  * Updated Dutch translation by Frans Spiesschaert (Closes: #822894).
++  * Updated Spanish translation by Javier Fernández-Sanguino Peña
++    (Closes: #823099).
++  * Updated Russian translation by Yuri Kozlov (Closes: #823422).
++  * Updated German translation by Chris Leick (Closes: #824487).
++  * Updated Brazilian Portuguese translation (Closes: #824644).
++  * Updated Turkish translation by Atila KOÇ (Closes: #825802).
++  * Add patch to provide passwordless root accounts for test suite.
++  * Updated Japanese translation by Takuma Yamada (Closes: #825813).
++
++  [ Vicențiu Ciorbaru ]
++  * Backport upstream MDEV-9479 fix: oqgraph fails to build with boost 1.60
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 30 May 2016 22:43:30 +0300
++
++mariadb-10.0 (10.0.24-7) unstable; urgency=low
++
++  * Temporarily remove mariadb-plugin-cassandra as Debian FTP bot thinks
++    it wasn't there before 10.0.24-6 and put the package in the NEW queue.
++
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 13 Apr 2016 13:24:28 +0300
++
++mariadb-10.0 (10.0.24-6) unstable; urgency=low
++
++  * Move mysql_embedded from client package to client-core package,
++    equally as is in mysql-client-core-5.6 and -5.7 (LP: #1568077).
++  * Add breaks/replaces for mariadb-client to accommodate the above.
++  * Add conflicts/breaks/replaces for MySQL 5.7 series packages now
++    when mysql-5.7 entered the Ubuntu repositories (LP: #1568285).
++  * Detect properly if there is an incompatible data directory from 5.7,
++    save it to another location and initialize a new data directory so that the
++    installation can complete properly without leaving dpkg in an inconsistent
++    state.
++  * Remove all old passwordless root account lines to close a potential
++    security vulnerability (LP: #1561062).
++
++ -- Otto Kekäläinen <otto@debian.org>  Wed, 13 Apr 2016 10:56:10 +0300
++
++mariadb-10.0 (10.0.24-5) unstable; urgency=low
++
++  * Disable sporadically failing rpl_binlog_index test on PowerPC.
++  * Disable another sporadic on amd64 and update all Jira links.
++  * Fix typo in Mroonga prerm script.
++
++ -- Otto Kekäläinen <otto@debian.org>  Sat, 12 Mar 2016 10:08:23 +0200
++
++mariadb-10.0 (10.0.24-4) unstable; urgency=low
++
++  * Update contributor documentation to match git-buildpackage version in sid.
++  * Add libxml and unixOBDC as build-depends for ConnectSE as done by in
++    upstream (Closes: #814944).
++  * Upload to via NEW as mariadb-10.0 was accidentally removed from Debian
++    unstable archives.
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 10 Mar 2016 18:40:51 +0200
++
++mariadb-10.0 (10.0.24-3) unstable; urgency=low
++
++  * Fix typo in rules file about Mroonga control section
++  * Add main.delayed test exception to more platforms
++  * Install mysql_embedded man page correctly
++
++ -- Otto Kekäläinen <otto@debian.org>  Sun, 06 Mar 2016 22:20:52 +0200
++
++mariadb-10.0 (10.0.24-2) unstable; urgency=low
++
++  * Make new plugin packages breaks+replaces mariadb-server-10.0 as
++    the files used to reside there (Closes: #815377).
++  * Disable main.delayed that has been confirmed to be a false positive
++    caused by built platform resource limits.
++  * Disable multiple s390x tests that only fail on Ubuntu/Launchpad and
++    cannot be reproduced anywhere else.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 04 Mar 2016 08:38:25 +0200
++
++mariadb-10.0 (10.0.24-1) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * New upstream release 10.0.24
++    - Drop auth_socket patches as MDEV-8375 was partially fixed upstream
++    - Refresh other patches
++  * New upstream release includes fixes for the following security
++    vulnerabilities:
++    - CVE-2016-0668
++    - CVE-2016-0650
++    - CVE-2016-0649
++    - CVE-2016-0646
++    - CVE-2016-0644
++    - CVE-2016-0641
++    - CVE-2016-0640
++  * Update filenames in d/copyright
++
++  [ Ian Gilfillan ]
++  * Add missing mysql_embedded man page
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sat, 20 Feb 2016 14:23:50 +0200
++
++mariadb-10.0 (10.0.23-3) unstable; urgency=low
++
++  * Add Lintian overrides for TokuDB sources that indeed need autotools files
++  * Split TokuDB, Mroonga, Spider and Cassandra into their own packages and
++    start using new naming scheme 'mariadb-plugin-xzy' and rename existing
++    Connect and OQGraph packages accordingly (Closes: #773727)
++  * There is no need for mariadb-test packages to contain the version in the
++    package name, so remove it. It only makes sense to keep the version number
++    in the client and server packages, which users actually want to pin to.
++  * Update standards version
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Tue, 26 Jan 2016 11:34:48 +0200
++
++mariadb-10.0 (10.0.23-2) unstable; urgency=low
++
++  * Skip unstable Spider tests on Launchpad s390x builds
++  * Extend install lists with missing files after reviewing the list
++    of files produced by the build process
++  * Update server README.Debian to match current unix socekt authentication
++  * Lintian fixes and more updates to TokuDB plugin copyright paths
++  * Move mysql_upgrade to server core package so that Akonadi and similar
++    core package consumers can upgrade the database. Also update control file
++    with breaks/replaces to allow smooth upgrades (Closes: #793977).
++  * Update slow_query_log_file configuration syntax to match upstream's. Also
++    fixes #677222 in MariaDB packages.
++  * Rename and install Apport hook correctly
++  * Remove Taocrypt workaround fixed upstream long since #627208
++  * Removed CFLAGS and CXXFLAGS as suggested by Lars Tangvald and also done
++    in mysql-5.6 packaging commit id 16a64e810e28f1d0b66ede274cd4c2b1a425fecb
++  * Unmask the systemd mysql.service if left behind by a mysql-server-5.6
++    installation, otherwise the MariaDB service would remain masked too.
++  * Add gdb to build-deps as suggested in #627208 to get automatic stack traces
++  * Updated Turkish translation by Atila KOÇ (Closes: #811414)
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sat, 23 Jan 2016 23:07:15 +0200
++
++mariadb-10.0 (10.0.23-1) unstable; urgency=low
++
++  * New upstream release 10.0.23. Includes fixes for the following
++    security vulnerabilities:
++    - CVE-2016-2047
++    - CVE-2016-0651
++    - CVE-2016-0642
++    - CVE-2016-0616
++    - CVE-2016-0609
++    - CVE-2016-0608
++    - CVE-2016-0606
++    - CVE-2016-0600
++    - CVE-2016-0598
++    - CVE-2016-0597
++    - CVE-2016-0596
++    - CVE-2016-0546
++    - CVE-2016-0505
++  * Ignore test suite exit code on unstable platforms (mips, mipsel)
++  * Update TokuDB plugin install and copyright paths to match latest
++    release done under Percona ownership
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sun, 20 Dec 2015 14:18:33 +0200
++
++mariadb-10.0 (10.0.22-6) unstable; urgency=low
++
++  * Add patches to make passwordless root login default on all new
++    installs in all situations. Make auth_socket a built-in plugin.
++  * Clean up previous passwordless root implementation so that it
++    applies only to new installs and existing databases continue
++    to operate with the passwords defined in their user tables
++  * As disabled.def intrepreted test names in a special way, switch
++    back to using --skip-test-list option
++  * Make the watch file to make it better suited for the
++    git-buildpackage workflow and remove call to uupdate
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sat, 19 Dec 2015 22:28:23 +0200
++
++mariadb-10.0 (10.0.22-5) unstable; urgency=low
++
++  * Fix non-working path of unstable-test in d/rules
++  * Add unstable test for amd64 to fix reproducible builds
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Thu, 17 Dec 2015 13:31:56 +0200
++
++mariadb-10.0 (10.0.22-4) unstable; urgency=low
++
++  * Upload to unstable
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Mon, 14 Dec 2015 00:49:14 +0200
++
++mariadb-10.0 (10.0.22-4~exp1) experimental; urgency=low
++
++  * Rewrite unstable tests section in d/rules that was not working
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sun, 13 Dec 2015 21:36:48 +0200
++
++mariadb-10.0 (10.0.22-3) unstable; urgency=low
++
++  * Fix typo in d/rules
++  * Extend list of unstable tests for arch mips, mipsel64 and alpha
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 11 Dec 2015 21:57:23 +0200
++
++mariadb-10.0 (10.0.22-2) unstable; urgency=low
++
++  * Escape d/rules file correctly to avoid parse error.
++  * Remove patches/os_sync_Free patch that is not intended for production use.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 20 Nov 2015 23:11:09 +0200
++
++mariadb-10.0 (10.0.22-2~exp2) experimental; urgency=low
++
++  [ Alexander Barkov ]
++  * Backport patch from upstream to fix MDEV-9091: mysqld crashes on shutdown
++    after running TokuDB tests on Ubuntu
++  * Backport patch from upstream to fix MDEV-8692: prefschema test failures
++
++  [ Otto Kekäläinen ]
++  * Replace old 'make test' structure with direct call on mysql-test-run and
++    parallelize the test suite run in the Debian build.
++  * Print in build log env info to help debug builds on different platforms.
++  * Keep a list of unstable tests that are to be skipped on official builds.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 13 Nov 2015 22:08:49 +0200
++
++mariadb-10.0 (10.0.22-2~exp1) experimental; urgency=low
++
++  * Add diagnostics to find out the problem in os_sync_free()
++  * Backport fix for TokuDB crashes in build tests on Launchpad
++    and enable TokuDB builds
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 13 Nov 2015 08:54:05 +0200
++
++mariadb-10.0 (10.0.22-1) unstable; urgency=low
++
++  [ Otto Kekäläinen ]
++  * New upstream release. Includes fixes for the following security
++    vulnerabilities (Closes: #802874):
++    - CVE-2016-0610
++    - CVE-2016-3471
++    - CVE-2015-7744
++    - CVE-2015-4802
++    - CVE-2015-4807
++    - CVE-2015-4815
++    - CVE-2015-4826
++    - CVE-2015-4830
++    - CVE-2015-4836
++    - CVE-2015-4858
++    - CVE-2015-4861
++    - CVE-2015-4870
++    - CVE-2015-4913
++    - CVE-2015-4792
++  * New release includes updated man pages (Closes: #779992)
++  * Update the most recent patches with proper DEP-3 compliant headers
++  * Add CVE IDs to previous changelog entries
++
++  [ Jean Weisbuch ]
++  * Update mysqlreport to version 4.0
++
++  [ Otto Kekäläinen ]
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 30 Oct 2015 11:42:30 +0200
++
++mariadb-10.0 (10.0.21-3) unstable; urgency=low
++
++  * Updated Brazilian Portuguese translation (Closes: #798048)
++  * Upload 10.0.21 and all changes tested initially in experimental
++    to unstable. Now sensible as mysql-5.6 has entered testing.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 18 Sep 2015 23:04:53 +0300
++
++mariadb-10.0 (10.0.21-2) experimental; urgency=low
++
++  * Update gdb.conf to have tags signed by default
++  * Add CVE IDs to previous changelog entries
++  * Pass DEB_BUILD_ARCH to CMake options to enhance buils on some platforms
++  * Test suite failures are now fatal on all platforms and not ignored anywhere
++  * Revert most of commit 579282f and re-enable Mroonga
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Wed, 26 Aug 2015 18:20:54 +0300
++
++mariadb-10.0 (10.0.21-1) experimental; urgency=low
++
++  [ Otto Kekäläinen ]
++  * Created libmariadbd18 and moved .so file from libmariadbd-dev there
++  * Reproducible build improvement: Add LC_ALL=C to mysql.sym sort command
++  * New upstream release.
++    - Upstream added skip_log_error to mysqld_safe config (Closes: #781945)
++    - Diffie-Helman modulus increased to 2048-bits (Closes: #788905)
++  * New upstream release fixes the following security vulnerabilities:
++    - CVE-2015-4816
++    - CVE-2015-4819
++    - CVE-2015-4879
++    - CVE-2015-4895
++  * Split mariadb-test-data-10.0 out of the main test package. This will save
++    disk space in Debian archives as the arch independent data files are
++    in one single package that can be used on all platforms and the package
++    that is built on multiple platform shrinks significantly.
++
++  [ Jean Weisbuch ]
++  * The MYCHECK_RCPT variable can now be set from the default file.
++  * The check_for_crashed_tables() function on the debian-start script has been
++    fixed to be able to log (and email) the errors it encountered : Errors are
++    sent to stderr by the CLI while only stdout was captured by the function.
++  * The same function now also checks Aria tables along with MyISAM ones.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Thu, 13 Aug 2015 10:08:38 +0200
++
++mariadb-10.0 (10.0.20-3) unstable; urgency=medium
++
++  [ Andreas Beckmann ]
++  * mariadb-common: Depend on a version of mysql-common that ships
++    /usr/share/mysql-common/configure-symlinks.  (Closes: #787533)
++  * mariadb-common.postinst: Drop fallback my.cnf symlink management.
++  * mariadb-common.preinst: Clean up my.cnf/my.cnf.old from the fallback.
++
++  [ Otto Kekäläinen ]
++  * Clean up old cruft from rules file after review by Sergei Golubchik
++  * Unified config file layout with upstream .cnf layout
++  * Recover mysql-upgrade dir/link handlig wrongly removed in f7caa041db
++  * Minor Lintian and documentation fixes
++  * Switch 'nm -n' to 'nm --defined-only' to improve reproducible builds
++
++  [ Olaf van der Spek ]
++  * Minor spell checking (Closes: #792123)
++
++  [ Israel Tsadok ]
++  * Fix mariadb-server-10.0.preinst script that failed to save a new
++    /var/lib/mysql-upgrade/DATADIR.link if a previous DATADIR.link existed and
++    the /var/lib/mysql directory was a symbolic link with an absolute path
++    as target (Closes: #792918)
++
++  [ Jean Weisbuch ]
++  * Added a Debian default file for the mariadb-server-10.0 package which allows
++    one to set the MYSQLD_STARTUP_TIMEOUT variable used in the init script
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 24 Jul 2015 23:00:00 +0300
++
++mariadb-10.0 (10.0.20-2) unstable; urgency=low
++
++  * Fix bash test logic in postinstall (Closes: #789589)
++  * Add extra sort in d/rules mysqld.sym.gz command to satisfy Debian
++    reproducible build requirements
++  * Switch to utf8mb4 as default character set
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 03 Jul 2015 17:11:01 +0300
++
++mariadb-10.0 (10.0.20-1) unstable; urgency=low
++
++  * New upstream release. Includes fixes for the following security
++    vulnerabilities:
++    - CVE-2015-2582
++    - CVE-2015-2620
++    - CVE-2015-2643
++    - CVE-2015-2648
++    - CVE-2015-3152: Client command line option --ssl-verify-server-cert (and
++      MYSQL_OPT_SSL_VERIFY_SERVER_CERT option of the client API) when used
++      together with --ssl will ensure that the established connection is
++      SSL-encrypted and the MariaDB server has a valid certificate.
++    - CVE-2015-4752
++    - CVE-2015-4864
++  * New release includes fix for memory corruption on arm64 (Closes: #787221)
++  * Added patch to enhance build reproducibility regarding the file INFO_BIN
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 19 Jun 2015 13:01:56 +0300
++
++mariadb-10.0 (10.0.19-1) unstable; urgency=low
++
++  * New upstream release. Fixed the server crash caused by mysql_upgrade
++    (MDEV-8115).
++  * Upload to unstable from master branch as Jessie is not released.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sat, 09 May 2015 22:24:03 +0300
++
++mariadb-10.0 (10.0.18-1~exp1) experimental; urgency=low
++
++  * New upstream release. Includes fixes for the following security
++    vulnerabilities:
++    - CVE-2015-4866
++    - CVE-2014-8964 bundled PCRE contained heap-based buffer overflow
++      vulnerability that allowed the server to crash or have other unspecified
++      impact via a crafted regular expression made possible with the
++      REGEXP_SUBSTR function (MDEV-8006).
++    - CVE-2015-0501
++    - CVE-2015-2571
++    - CVE-2015-0505
++    - CVE-2015-0499
++    - CVE-2015-4757
++    - CVE-2015-4866
++  * Cleanup in d/copyright
++  * Make the mariadb-common depends versioned to guarantee that latest
++    config files are installed
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Thu, 07 May 2015 23:21:20 +0300
++
++mariadb-10.0 (10.0.17-1~exp2) experimental; urgency=low
++
++  * d/control: Related to innochecksum manpage move, also break/replace
++    the mysql-client-5.5/6 packages (Closes: #779873)
++  * Add automatic fallback to the new /etc/mysql/my.cnf management scheme
++    for cases where mysql-common/configure-symlinks is not yet available
++    and users complain the installation ends up broken.
++  * New release confirmed to build with GCC-5 (Closes: #777996)
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 06 Mar 2015 16:42:21 +0200
++
++mariadb-10.0 (10.0.17-1~exp1) experimental; urgency=low
++
++  [ Jan Wagner ]
++  * Adding mysqld_multi.server_lsb-header.patch, provides LSB headers for
++    example initscript (Closes: #778762)
++  * Adding mysqld_multi_confd.patch, makes mysqld_multi reading conf.d
++    (Closes: #778761)
++
++  [ Robie Basak ]
++  * Move innochecksum back to mariadb-server-core-10.0 to align with other
++    variants (LP: #1421520).
++  * Fix typo in mariadb-server-10.0.postinst.
++  * Fix typo in postinst mktemp call (LP: #1420831).
++
++  [ Arnaud Fontaine ]
++  * d/control: innochecksum manpage has been moved to mariadb-client-10.0 in
++    10.0.13-1 (ba97056), thus add Breaks/Replaces in mariadb-client-10.0
++    against mariadb-server-10.0 << 10.0.13-1~.
++
++  [ Otto Kekäläinen ]
++  * Follow to new /etc/mysql/my.cnf management scheme
++  * Remove the my.cnf move command as it increases complexity too much and might
++    emit an error code if mariadb-common is upgraded before mysql-common is.
++  * Add patch to enhance build reproducibility
++  * Remove /var/log/mysql.log from logrotate. Everything should be inside
++    the mysql directory (/var/log/mysql/) and not directly on plain /var/log
++  * New upstream release. Includes fixes for the following security
++    vulnerabilities (changelog updated post release):
++    - CVE-2015-2568
++    - CVE-2015-2573
++    - CVE-2015-0433
++    - CVE-2015-0441
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Mon, 02 Mar 2015 20:01:13 +0200
++
++mariadb-10.0 (10.0.16-1~exp3) experimental; urgency=low
++
++  * Update the mail.ssl test to match new cacert.pem
++  * Stop asking and setting a database root user password. Instead enable
++    the auth_socket plugin and let unix user root access MariaDB without
++    a separate password. Admins using sudo or cron scripts can use the
++    same access too, and there is no debian-sys-maint password either anymore.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 30 Jan 2015 18:52:55 +0200
++
++mariadb-10.0 (10.0.16-1~exp2) experimental; urgency=low
++
++  * Fix typo in preinstall script (Closes: #776494).
++  * Backported new cacert.pem etc from 5.5 the replace the expired ones.
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Wed, 28 Jan 2015 20:57:23 +0200
++
++mariadb-10.0 (10.0.16-1~exp1) experimental; urgency=low
++
++  * New upstream release. Includes fixes for the following security
++    vulnerabilities:
++    - CVE-2015-0411
++    - CVE-2015-0382
++    - CVE-2015-0381
++    - CVE-2015-0432
++    - CVE-2014-6568
++    - CVE-2015-0374
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Tue, 27 Jan 2015 17:04:21 +0200
++
++mariadb-10.0 (10.0.15-2~exp1) experimental; urgency=low
++
++  * Fix mariadb-server-10.0.postinst so that the flag removal will not emit
++    an error code if there are no previous debian-*.flag files. This will
++    fix a dpkg issue caught by piuparts testing.
++  * Increase the debconf downgrade warning dialog priority to critical to make
++    sure all users see it and understand why their system broke after downgrade.
++  * Attempt to fix FTBFS on mips, mipsel, powerpc introduced by upstream
++    release 10.0.15 (Closes: #772964).
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Fri, 12 Dec 2014 14:07:50 +0200
++
++mariadb-10.0 (10.0.15-1) unstable; urgency=low
++
++  [ Arnaud Fontaine ]
++  * Bump libpcre3-dev Build-Depends to >= 2:8.35-3.2~ (Closes: #767903).
++
++  [ Otto Kekäläinen }
++  * New upstream release, includes fixes for the following security issues:
++    - CVE-2014-6507
++    - CVE-2014-6491
++    - CVE-2014-6500
++    - CVE-2014-6469
++    - CVE-2014-6555
++    - CVE-2014-6559
++    - CVE-2014-6494
++    - CVE-2014-6496
++    - CVE-2014-6464
++  * Disable on non-amd64 platforms the new Mroonga storage engine which
++    was introduced in the new upstream release.
++  * Allow mariadb-server-10.0 to overwrite file man1/mysql_plugin.1.gz in
++    mysql-client-5.5 with breaks and replaces (Closes: #771213).
++  * Clean up old debian-*.flag files from datadir to avoid unexpected
++    behavior at later upgrades (Closes: #770177).
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Tue, 25 Nov 2014 21:45:43 +0200
++
++mariadb-10.0 (10.0.14-4) unstable; urgency=low
++
++  * Updated patch d/username-in-tests-replace.patch to fix the
++    obfuscation done by anti-spam measures in the MariaDB
++    commit message view (Closes: #769865).
++  * Unified indentantion to two spaces in init file for easier
++    debugging of #609537
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Mon, 17 Nov 2014 11:45:11 +0200
++
++mariadb-10.0 (10.0.14-3) unstable; urgency=low
++
++  * Added patch d/username-in-tests-replace.patch to fix
++    test failure (Closes: #769212).
++  * Added versioned dependency on libpcre3 (Closes: #767903).
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Wed, 12 Nov 2014 15:00:11 +0300
++
++mariadb-10.0 (10.0.14-2) unstable; urgency=low
++
++  [ Tobias Frost ]
++  * Fix two lintian warnings in d/copyright (missing "-" between GPL and 2)
++  * Always be verbose when building the package and show compiler args
++
++  [ Otto Kekäläinen ]
++  * Upload to unstable
++  * Updated German translation by Chris Leick and Holger Wansing
++    (Closes: #763952)
++  * Updated Dutch translation by Frans Spiesschaert (Closes: #764013)
++  * Removed libssl-dev from build dependencies in favour of using
++    bundled YaSSL instead (Closes: #761911)
++  * Fixed debconf value saving (Closes: #761452)
++  * Re-enabled TokuDB after backporting upstream fix in MDEV-6815
++  * Removed libmariadbclient packages that provided the Debian-only
++    libmariadbclient.so library that nobody used. Instead developers are
++    encouraged to use the libraries from the package libmariadb-client-lgpl
++    instead (Closes: #739452) (Closes: #742172).
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Sat, 18 Oct 2014 19:00:11 +0300
++
++mariadb-10.0 (10.0.14-1) experimental; urgency=low
++
++  * New upstream release. (Closes: #757026)
++  * d/control: Removed Provides: libmysqlclient-dev (Closes: #759309)
++  * d/control: Removed Provides: libmysqld-dev with same motivation
++  * Updated Swedish translation by Martin Bagge
++    and Anders Jonsson (Closes: #762795)
++  * Updated Spanish translation by Javier Fernandez-Sanguino (Closes: #762751)
++  * Updated Portuguese translation by Miguel Figueiredo (Closes: #763194)
++  * Updated Czech translation by Miroslav Kure (Closes: #763309)
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Thu, 28 Aug 2014 00:39:02 +0300
++
++mariadb-10.0 (10.0.10-1) experimental; urgency=low
++
++  * Initial Upload (Closes: #740473)
++
++ -- Otto Kekäläinen <otto@seravo.fi>  Tue, 01 Apr 2014 09:56:38 +0300
diff --cc debian/compat
index ec635144f60048986bc560c5576355344005e6e7,0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,1 @@@
- 9
++10
diff --cc debian/control
index e7906cddb89dbdf1461e20d2c286e4d741545282,0000000000000000000000000000000000000000..9d92ac04d76adbcaa628f97856dafbc4061c6635
mode 100644,000000..100644
--- /dev/null
@@@ -1,1008 -1,0 +1,723 @@@
- Maintainer: MariaDB Developers <maria-developers@lists.launchpad.net>
 +Source: mariadb-10.6
 +Section: database
 +Priority: optional
-                debhelper (>= 9.20160709~),
++Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
++Uploaders: Otto Kekäläinen <otto@debian.org>
 +Build-Depends: bison,
 +               cmake,
 +               cracklib-runtime <!nocheck>,
-                flex [amd64],
++               debhelper (>= 10),
 +               dh-exec,
-                libaio-dev [linux-any],
-                libboost-atomic-dev [amd64],
-                libboost-chrono-dev [amd64],
-                libboost-date-time-dev [amd64],
 +               gdb <!nocheck>,
-                libboost-filesystem-dev [amd64],
-                libboost-regex-dev [amd64],
-                libboost-system-dev [amd64],
-                libboost-thread-dev [amd64],
 +               libboost-dev,
-                libzstd-dev,
 +               libcrack2-dev (>= 2.9.0),
 +               libcurl4-openssl-dev | libcurl4-dev,
 +               libedit-dev,
 +               libedit-dev:native,
 +               libjemalloc-dev [linux-any],
 +               libjudy-dev,
 +               libkrb5-dev,
 +               liblz4-dev,
 +               libncurses5-dev (>= 5.0-6~),
 +               libncurses5-dev:native (>= 5.0-6~),
 +               libnuma-dev [linux-any],
 +               libpam0g-dev,
 +               libpcre2-dev,
 +               libpmem-dev [amd64 arm64 ppc64el],
 +               libsnappy-dev,
 +               libssl-dev,
 +               libssl-dev:native,
 +               libsystemd-dev [linux-any],
 +               liburing-dev [linux-any],
 +               libxml2-dev,
- Vcs-Browser: https://github.com/MariaDB/server/
- Vcs-Git: https://github.com/MariaDB/server.git
++               libzstd-dev (>= 1.3.3),
 +               lsb-release,
 +               perl:any,
 +               po-debconf,
 +               psmisc,
 +               unixodbc-dev,
 +               uuid-dev,
 +               zlib1g-dev (>= 1:1.1.3-5~)
 +Rules-Requires-Root: no
 +Standards-Version: 4.5.0
 +Homepage: https://mariadb.org/
- Conflicts: libmariadb-dev-compat (<< 3.0.0),
-            libmariadbclient-dev,
-            libmariadbclient16-dev
- Provides: libmariadbclient-dev
++Vcs-Browser: https://salsa.debian.org/mariadb-team/mariadb-server
++Vcs-Git: https://salsa.debian.org/mariadb-team/mariadb-server.git
 +
 +Package: libmariadb-dev
 +Architecture: any
 +Section: libdevel
 +Depends: libmariadb3 (= ${binary:Version}),
 +         libssl-dev,
 +         zlib1g-dev,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
-         libmysqlclient-dev (<< ${source:Version}),
 +Breaks: libmariadb-client-lgpl-dev,
-           libmariadb-dev-compat (<< 3.0.0),
-           libmariadbclient-dev,
-           libmysqlclient-dev (<< ${source:Version}),
++        libmariadb-dev-compat (<< ${source:Version}),
++        libmariadbclient-dev (<< 1:10.3),
++        libmysqlclient-dev,
 +        libmysqld-dev (<< ${source:Version})
 +Replaces: libmariadb-client-lgpl-dev,
- Conflicts: libmariadb-client-lgpl-dev,
-            libmariadb-client-lgpl-dev-compat,
++          libmariadb-dev-compat (<< ${source:Version}),
++          libmariadbclient-dev (<< 1:10.3),
++          libmysqlclient-dev,
 +          libmysqld-dev (<< ${source:Version})
++Conflicts: libmariadbclient16-dev,
++           libmysqlclient-dev
 +Description: MariaDB database development files
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes development libraries and header files. To allow sources
 + expecting the MariaDB Connector/C to build. Sources that expect the MySQL
 + Client libraries should use files from the libmariadb-dev-compat package.
 +
 +Package: libmariadb-dev-compat
 +Architecture: any
 +Multi-Arch: same
 +Section: libdevel
 +Depends: libmariadb-dev (= ${binary:Version}),
 +         ${misc:Depends}
-            libmysqlclient-dev,
-            libmysqlclient10-dev,
-            libmysqlclient12-dev,
-            libmysqlclient14-dev,
-            libmysqlclient15-dev,
-            libmysqlclient16-dev
++Conflicts: libmariadb-client-lgpl-dev-compat,
 +           libmariadbclient-dev-compat,
-           libmariadbclient-dev-compat,
-           libmysqlclient-dev
- Breaks: libmariadb-dev (<< ${source:Version})
- Replaces: libmariadb-client-lgpl-dev,
-           libmariadb-client-lgpl-dev-compat,
-           libmariadb-dev (<< ${source:Version}),
++           libmysqlclient-dev
 +Provides: libmariadb-client-lgpl-dev-compat,
- Conflicts: libmariadbclient18 (<< 10.2.0),
-            mariadb-galera-server-10.0,
++          libmariadbclient-dev-compat
++Breaks: libmariadb-client-lgpl-dev-compat,
++        libmariadbclient-dev (<< 1:10.3),
++        libmariadbclient-dev-compat,
++        libmysqlclient-dev
++Replaces: libmariadb-client-lgpl-dev-compat,
++          libmariadbclient-dev (<< 1:10.3),
 +          libmariadbclient-dev-compat,
 +          libmysqlclient-dev
 +Description: MariaDB Connector/C, compatibility symlinks
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes compatibility symlinks to allow sources expecting the
 + MySQL client libraries to be built against MariaDB Connector/C.
 +
 +Package: libmariadb3
 +Architecture: any
 +Multi-Arch: same
 +Section: libs
 +Depends: mariadb-common,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
- Breaks: libmariadbclient18 (<< ${source:Version})
- Replaces: libmariadbclient18 (<< ${source:Version})
++Conflicts: mariadb-galera-server-10.0,
 +           mariadb-galera-server-5.5,
 +           mariadb-server-10.0,
 +           mariadb-server-5.1,
 +           mariadb-server-5.2,
 +           mariadb-server-5.3,
 +           mariadb-server-5.5
- Package: libmariadb3-compat
- Architecture: any
- Section: libs
- Depends: libmariadb3,
-          mariadb-common,
-          ${misc:Depends}
- Breaks: libmysqlclient19,
-         libmysqlclient20,
-         libmysqlclient21
- Replaces: libmysqlclient19,
-           libmysqlclient20,
-           libmysqlclient21
- Provides: libmysqlclient19,
-           libmysqlclient20,
-           libmysqlclient21
- Description: MariaDB database client library MySQL compat package
-  MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
-  server. SQL (Structured Query Language) is the most popular database query
-  language in the world. The main goals of MariaDB are speed, robustness and
-  ease of use.
-  .
-  This package includes the client runtime libraries that simulate and replace
-  the equivalents found in MySQL 5.6, 5.7 and 8.0 (mysqlclient19, 20 and 21).
- Package: libmariadbclient18
- Section: libs
- Architecture: any
- Depends: libmariadb3 (= ${binary:Version}),
-          ${misc:Depends}
- Replaces: libmariadbclient18
- Provides: libmariadbclient18
- Description: Virtual package to satisfy external libmariadbclient18 depends
-  MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
-  server. SQL (Structured Query Language) is the most popular database query
-  language in the world. The main goals of MariaDB are speed, robustness and
-  ease of use.
-  .
-  This package provides compatibility symlinks for binaries that expect to find
-  libmariadbclient.so.18 will automatically use libmariadb.so.3 instead.
- Package: libmysqlclient18
- Section: libs
- Architecture: any
- Depends: libmariadb3 (= ${binary:Version}),
-          ${misc:Depends}
- Replaces: libmysqlclient18
- Provides: libmysqlclient18
- Description: Virtual package to satisfy external libmysqlclient18 depends
-  MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
-  server. SQL (Structured Query Language) is the most popular database query
-  language in the world. The main goals of MariaDB are speed, robustness and
-  ease of use.
-  .
-  This package provides compatibility symlinks for binaries that expect to find
-  libmysqlclient.so.18 will automatically use libmariadb.so.3 instead.
++Breaks: libmariadbclient18
++Replaces: libmariadbclient18
 +Description: MariaDB database client library
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the client library.
 +
- Breaks: libmariadbd-dev (<< ${source:Version})
- Replaces: libmariadbd-dev (<< ${source:Version})
 +Package: libmariadbd19
 +Architecture: any
 +Section: libs
 +Depends: ${misc:Depends},
 +         ${shlibs:Depends}
-          ${misc:Depends}
- Breaks: libmariadb-dev (<< ${source:Version}),
-         libmariadbclient-dev (<< ${source:Version}),
 +Multi-Arch: same
 +Description: MariaDB embedded database, shared library
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes a shared library for embedded MariaDB applications.
 +
 +Package: libmariadbd-dev
 +Architecture: any
 +Section: libdevel
 +Provides: libmysqld-dev
 +Pre-Depends: ${misc:Pre-Depends}
 +Depends: libmariadb-dev (= ${binary:Version}),
 +         libmariadbd19 (= ${binary:Version}),
- Replaces: libmariadb-dev (<< ${source:Version}),
-           libmariadbclient-dev (<< ${source:Version}),
++         ${misc:Depends},
++         ${shlibs:Depends}
++Breaks: libmariadb-dev (<< 1:10.4),
 +        libmysqld-dev
- Package: mysql-common
- Architecture: all
- Depends: ${misc:Depends}
- Description: MariaDB database common files (e.g. /etc/mysql/my.cnf)
-  MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
-  server. SQL (Structured Query Language) is the most popular database query
-  language in the world. The main goals of MariaDB are speed, robustness and
-  ease of use.
-  .
-  This package includes files needed by all versions of the client library
-  (e.g. /etc/mysql/my.cnf).
++Replaces: libmariadb-dev (<< 1:10.4),
 +          libmysqld-dev
 +Description: MariaDB embedded database, development files
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the embedded server library development and header files.
 +
- Conflicts: mariadb-client-10.0,
-            mariadb-client-10.1,
-            mariadb-client-10.2,
-            mariadb-client-10.3,
-            mariadb-client-10.4,
-            mariadb-client-10.5,
-            mariadb-client-10.6 (<< ${source:Version}),
-            mariadb-client-5.1,
-            mariadb-client-5.2,
-            mariadb-client-5.3,
-            mariadb-client-5.5,
-            mariadb-client-core-10.0,
-            mariadb-client-core-10.1,
-            mariadb-client-core-10.2,
-            mariadb-client-core-10.3,
-            mariadb-client-core-10.4,
-            mariadb-client-core-10.5,
-            mariadb-client-core-5.1,
-            mariadb-client-core-5.2,
-            mariadb-client-core-5.3,
-            mariadb-client-core-5.5,
-            mysql-client (<< 5.0.51),
-            mysql-client-5.0,
-            mysql-client-5.1,
-            mysql-client-5.5,
-            mysql-client-core-5.1,
-            mysql-client-core-5.5,
-            mysql-client-core-5.6,
-            mysql-client-core-5.7,
-            mysql-client-core-8.0,
 +Package: mariadb-common
 +Architecture: all
 +Depends: mysql-common (>= 5.6.25),
 +         ${misc:Depends}
 +Multi-Arch: foreign
 +Description: MariaDB common configuration files
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes configuration files common to all MariaDB programs.
 +
 +Package: mariadb-client-core-10.6
 +Architecture: any
 +Depends: libmariadb3 (>= 10.5.4),
 +         mariadb-common (>= ${source:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
- Breaks: mariadb-server-10.0,
-         mariadb-server-10.1,
-         mariadb-server-core-10.0,
-         mariadb-server-core-10.1,
-         mariadb-server-core-10.2,
-         mariadb-server-core-10.3,
-         mariadb-server-core-10.4,
-         mariadb-server-core-10.5,
-         mariadb-server-core-10.6 (<< ${source:Version}),
-         mysql-server-core-5.5,
-         mysql-server-core-5.6,
-         mysql-server-core-5.7,
-         mysql-server-core-8.0,
-         percona-server-server-5.6,
-         percona-xtradb-cluster-server-5.6,
-         percona-xtradb-cluster-server-5.7
++Conflicts: mysql-client-5.5,
++           mysql-client-5.6,
++           mysql-client-5.7,
++           mysql-client-8.0,
 +           virtual-mysql-client-core
-           mariadb-client-10.1,
-           mariadb-client-10.2,
-           mariadb-client-10.3,
-           mariadb-client-10.4,
-           mariadb-client-10.5,
-           mariadb-client-10.6 (<< ${source:Version}),
-           mariadb-client-5.1,
-           mariadb-client-5.2,
-           mariadb-client-5.3,
-           mariadb-client-5.5,
++Breaks: mariadb-client-10.0,
++        mariadb-client-core-10.0,
++        mariadb-client-core-10.1,
++        mariadb-client-core-10.2,
++        mariadb-client-core-10.3,
++        mariadb-client-core-10.4,
++        mariadb-client-core-10.5,
++        mariadb-client-core-5.5,
++        mysql-client-core-5.5,
++        mysql-client-core-5.6,
++        mysql-client-core-5.7,
++        mysql-client-core-8.0
 +Replaces: mariadb-client-10.0,
-           mariadb-client-core-5.1,
-           mariadb-client-core-5.2,
-           mariadb-client-core-5.3,
 +          mariadb-client-core-10.0,
 +          mariadb-client-core-10.1,
 +          mariadb-client-core-10.2,
 +          mariadb-client-core-10.3,
 +          mariadb-client-core-10.4,
 +          mariadb-client-core-10.5,
-           mariadb-server-10.0,
-           mariadb-server-10.1,
-           mariadb-server-core-10.0,
-           mariadb-server-core-10.1,
-           mariadb-server-core-10.2,
-           mariadb-server-core-10.3,
-           mariadb-server-core-10.4,
-           mariadb-server-core-10.5,
-           mariadb-server-core-10.6 (<< ${source:Version}),
-           mysql-client (<< 5.0.51),
-           mysql-client-5.0,
-           mysql-client-5.1,
-           mysql-client-5.5,
-           mysql-client-core-5.1,
 +          mariadb-client-core-5.5,
-           mysql-server-core-5.5,
-           mysql-server-core-5.6,
-           mysql-server-core-5.7,
-           mysql-server-core-8.0,
-           percona-server-server-5.6,
-           percona-xtradb-cluster-server-5.6,
-           percona-xtradb-cluster-server-5.7,
-           virtual-mysql-client-core
- Provides: default-mysql-client-core,
 +          mysql-client-core-5.5,
 +          mysql-client-core-5.6,
 +          mysql-client-core-5.7,
 +          mysql-client-core-8.0,
-          mariadb-common,
 +          virtual-mysql-client-core
++Provides: virtual-mysql-client-core
 +Description: MariaDB database core client binaries
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the core client files, as used by Akonadi.
 +
 +Package: mariadb-client-10.6
 +Architecture: any
 +Depends: debianutils (>=1.6),
++         libconfig-inifiles-perl,
 +         mariadb-client-core-10.6 (>= ${source:Version}),
- Conflicts: mariadb-client (<< ${source:Version}),
-            mariadb-client-10.0,
-            mariadb-client-10.1,
-            mariadb-client-10.2,
-            mariadb-client-10.3,
-            mariadb-client-10.4,
-            mariadb-client-10.5,
-            mariadb-client-10.6 (<< ${source:Version}),
-            mariadb-client-5.1,
-            mariadb-client-5.2,
-            mariadb-client-5.3,
-            mariadb-client-5.5,
-            mysql-client (<< 5.0.51),
-            mysql-client-5.0,
-            mysql-client-5.1,
-            mysql-client-5.5,
-            mysql-client-5.6,
-            mysql-client-5.7,
-            mysql-client-8.0,
-            mysql-client-core-5.0,
-            mysql-client-core-5.1,
-            mysql-client-core-5.5,
 +         ${misc:Depends},
 +         ${perl:Depends},
 +         ${shlibs:Depends}
- Breaks: mariadb-client-core-10.0,
++Conflicts: mysql-client-core-5.5,
 +           mysql-client-core-5.6,
 +           mysql-client-core-5.7,
 +           mysql-client-core-8.0,
 +           mytop,
 +           virtual-mysql-client
-         mariadb-server-10.1,
-         mariadb-server-10.2,
-         mariadb-server-10.3,
-         mariadb-server-10.4,
-         mariadb-server-10.5,
-         mariadb-server-10.6 (<< ${source:Version}),
-         mariadb-server-core-10.0,
-         mariadb-server-core-10.1,
-         mariadb-server-core-10.2,
-         mariadb-server-core-10.3,
-         mariadb-server-core-10.4,
-         mariadb-server-core-10.5,
-         mariadb-server-core-10.6 (<< ${source:Version}),
-         mysql-server-5.5,
-         mysql-server-5.6,
-         mysql-server-5.7,
-         mysql-server-8.0,
-         mysql-server-core-5.5,
-         mysql-server-core-5.6,
-         mysql-server-core-5.7,
-         mysql-server-core-8.0,
-         percona-server-server-5.6,
-         percona-xtradb-cluster-server-5.6,
-         percona-xtradb-cluster-server-5.7
- Replaces: mariadb-client (<< ${source:Version}),
-           mariadb-client-10.0,
++Breaks: mariadb-client-10.0,
++        mariadb-client-10.1,
++        mariadb-client-10.2,
++        mariadb-client-10.3,
++        mariadb-client-10.4,
++        mariadb-client-10.5,
++        mariadb-client-5.5,
++        mariadb-client-core-10.0,
 +        mariadb-client-core-10.1,
 +        mariadb-client-core-10.2,
 +        mariadb-client-core-10.3,
 +        mariadb-client-core-10.4,
 +        mariadb-client-core-10.5,
 +        mariadb-client-core-10.6 (<< ${source:Version}),
 +        mariadb-server-10.0,
-           mariadb-client-5.1,
-           mariadb-client-5.2,
-           mariadb-client-5.3,
++        mysql-client-5.5,
++        mysql-client-5.6,
++        mysql-client-5.7,
++        mysql-client-8.0
++Replaces: mariadb-client-10.0,
 +          mariadb-client-10.1,
 +          mariadb-client-10.2,
 +          mariadb-client-10.3,
 +          mariadb-client-10.4,
 +          mariadb-client-10.5,
-           mariadb-server-10.1,
-           mariadb-server-10.2,
-           mariadb-server-10.3,
-           mariadb-server-10.4,
-           mariadb-server-10.5,
-           mariadb-server-10.6 (<< ${source:Version}),
-           mariadb-server-core-10.0,
-           mariadb-server-core-10.1,
-           mariadb-server-core-10.2,
-           mariadb-server-core-10.3,
-           mariadb-server-core-10.4,
-           mariadb-server-core-10.5,
-           mariadb-server-core-10.6 (<< ${source:Version}),
-           mysql-client (<< 5.0.51),
-           mysql-client-5.0,
-           mysql-client-5.1,
 +          mariadb-client-5.5,
 +          mariadb-client-core-10.0,
 +          mariadb-client-core-10.1,
 +          mariadb-client-core-10.2,
 +          mariadb-client-core-10.3,
 +          mariadb-client-core-10.4,
 +          mariadb-client-core-10.5,
 +          mariadb-client-core-10.6 (<< ${source:Version}),
 +          mariadb-server-10.0,
-           mysql-client-core-5.0,
-           mysql-client-core-5.1,
-           mysql-client-core-5.5,
-           mysql-client-core-5.6,
-           mysql-client-core-5.7,
-           mysql-client-core-8.0,
-           mysql-server-5.5,
-           mysql-server-5.6,
-           mysql-server-5.7,
-           mysql-server-8.0,
-           mysql-server-core-5.5,
-           mysql-server-core-5.6,
-           mysql-server-core-5.7,
-           mysql-server-core-8.0,
 +          mysql-client-5.5,
 +          mysql-client-5.6,
 +          mysql-client-5.7,
 +          mysql-client-8.0,
-           percona-server-server-5.6,
-           percona-xtradb-cluster-server-5.6,
-           percona-xtradb-cluster-server-5.7,
-           virtual-mysql-client
- Provides: default-mysql-client,
 +          mytop,
- Conflicts: mariadb-server-core-10.0,
-            mariadb-server-core-10.1,
-            mariadb-server-core-10.2,
-            mariadb-server-core-10.3,
-            mariadb-server-core-10.4,
-            mariadb-server-core-10.5,
-            mariadb-server-core-5.1,
-            mariadb-server-core-5.2,
-            mariadb-server-core-5.3,
-            mariadb-server-core-5.5,
-            mysql-server-5.0,
-            mysql-server-core-5.0,
-            mysql-server-core-5.1,
-            mysql-server-core-5.5,
-            mysql-server-core-5.6,
-            mysql-server-core-5.7,
-            mysql-server-core-8.0,
 +          virtual-mysql-client
++Provides: virtual-mysql-client
 +Recommends: libdbd-mariadb-perl | libdbd-mysql-perl,
 +            libdbi-perl,
 +            libterm-readkey-perl
 +Description: MariaDB database client binaries
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the client binaries and the additional tools
 + innotop and mariadb-report (mysqlreport).
 +
 +Package: mariadb-server-core-10.6
 +Architecture: any
 +Depends: mariadb-common (>= ${source:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
- Breaks: mariadb-client-10.0,
-         mariadb-client-10.1,
-         mariadb-client-10.2,
-         mariadb-client-10.3,
-         mariadb-client-10.4,
-         mariadb-client-10.5,
-         mariadb-client-10.6 (<< ${source:Version}),
++Conflicts: mariadb-galera-server-5.5,
++           mysql-server-5.5,
++           mysql-server-5.6,
++           mysql-server-5.7,
++           mysql-server-8.0,
 +           virtual-mysql-server-core
-         mariadb-server-10.5,
-         mariadb-server-10.6 (<< ${source:Version}),
++Breaks: mariadb-client-10.1,
 +        mariadb-server-10.0,
 +        mariadb-server-10.1,
++        mariadb-server-10.2,
 +        mariadb-server-10.3,
 +        mariadb-server-10.4,
-         mysql-server-5.5,
-         mysql-server-5.6,
-         mysql-server-5.7,
-         mysql-server-8.0,
++        mariadb-server-core-10.0,
++        mariadb-server-core-10.1,
++        mariadb-server-core-10.2,
++        mariadb-server-core-10.3,
++        mariadb-server-core-10.4,
++        mariadb-server-core-10.5,
++        mariadb-server-core-5.5,
 +        mysql-client-5.5,
- Replaces: mariadb-client-10.0,
-           mariadb-client-10.1,
-           mariadb-client-10.2,
-           mariadb-client-10.3,
-           mariadb-client-10.4,
-           mariadb-client-10.5,
-           mariadb-client-10.6 (<< ${source:Version}),
++        mysql-client-5.6,
++        mysql-server-core-5.5,
++        mysql-server-core-5.6,
++        mysql-server-core-5.7,
++        mysql-server-core-8.0,
 +        percona-server-server-5.6,
 +        percona-xtradb-cluster-server-5.6,
 +        percona-xtradb-cluster-server-5.7
-           mariadb-server-core-5.1,
-           mariadb-server-core-5.2,
-           mariadb-server-core-5.3,
++Replaces: mariadb-client-10.1,
 +          mariadb-server-10.0,
 +          mariadb-server-10.1,
++          mariadb-server-10.2,
 +          mariadb-server-10.3,
 +          mariadb-server-10.4,
 +          mariadb-server-10.5,
 +          mariadb-server-10.6 (<< ${source:Version}),
 +          mariadb-server-core-10.0,
 +          mariadb-server-core-10.1,
 +          mariadb-server-core-10.2,
 +          mariadb-server-core-10.3,
 +          mariadb-server-core-10.4,
 +          mariadb-server-core-10.5,
-           mysql-server-5.0,
-           mysql-server-5.5,
-           mysql-server-5.6,
-           mysql-server-5.7,
-           mysql-server-8.0,
-           mysql-server-core-5.0,
-           mysql-server-core-5.1,
 +          mariadb-server-core-5.5,
 +          mysql-client-5.5,
- Provides: default-mysql-server-core,
-           virtual-mysql-server-core
++          mysql-client-5.6,
++          mysql-client-5.7,
++          mysql-client-8.0,
 +          mysql-server-core-5.5,
 +          mysql-server-core-5.6,
 +          mysql-server-core-5.7,
 +          mysql-server-core-8.0,
 +          percona-server-server-5.6,
 +          percona-xtradb-cluster-server-5.6,
 +          percona-xtradb-cluster-server-5.7,
 +          virtual-mysql-server-core
-          mariadb-server-core-10.6 (>= ${source:Version}),
++Provides: virtual-mysql-server-core
 +Description: MariaDB database core server files
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the core server files, as used by Akonadi.
 +
 +Package: mariadb-server-10.6
 +Architecture: any
 +Suggests: mailx,
 +          mariadb-test,
 +          netcat-openbsd
 +Recommends: libhtml-template-perl
 +Pre-Depends: adduser (>= 3.40),
 +             debconf,
 +             mariadb-common (>= ${source:Version})
 +Depends: galera-4 (>= 26.4),
 +         gawk,
 +         iproute2 [linux-any],
 +         libdbi-perl,
 +         lsb-base (>= 3.0-10),
 +         lsof [linux-any],
 +         mariadb-client-10.6 (>= ${source:Version}),
-          ${perl:Depends},
++         mariadb-server-core-10.6 (>= ${server:Version}),
 +         passwd,
 +         perl (>= 5.6),
 +         procps,
 +         psmisc,
 +         rsync,
 +         socat,
 +         ${misc:Depends},
- Conflicts: mariadb-server (<< ${source:Version}),
-            mariadb-server-10.0,
-            mariadb-server-10.1,
-            mariadb-server-10.2,
-            mariadb-server-10.3,
-            mariadb-server-10.4,
-            mariadb-server-10.5,
-            mariadb-server-5.1,
-            mariadb-server-5.2,
-            mariadb-server-5.3,
-            mariadb-server-5.5,
-            mysql-client-5.5,
-            mysql-client-5.6,
-            mysql-client-5.7,
-            mysql-client-8.0,
-            mysql-client-core-8.0,
-            mysql-server,
-            mysql-server-4.1,
-            mysql-server-5.0,
-            mysql-server-5.1,
-            mysql-server-5.5,
-            mysql-server-5.6,
-            mysql-server-5.7,
-            mysql-server-8.0,
 +         ${shlibs:Depends}
- Breaks: handlersocket-mysql-5.5,
-         percona-server-server-5.6,
-         percona-xtradb-cluster-server-5.6,
-         percona-xtradb-cluster-server-5.7
++Conflicts: handlersocket-mysql-5.5,
++           mariadb-tokudb-engine-10.0,
++           mariadb-tokudb-engine-10.1,
++           mariadb-tokudb-engine-5.5,
 +           mysql-server-core-5.5,
 +           mysql-server-core-5.6,
 +           mysql-server-core-5.7,
 +           mysql-server-core-8.0,
++           percona-server-server-5.6,
++           percona-xtradb-cluster-server-5.6,
++           percona-xtradb-cluster-server-5.7,
 +           virtual-mysql-server
-           libmariadbclient-dev (<< 5.5.0),
-           libmariadbclient16,
-           mariadb-client-10.5,
-           mariadb-client-10.6 (<< ${source:Version}),
-           mariadb-server (<< ${source:Version}),
++Breaks: cqrlog (<< 1.9.0-5~),
++        galera-3 (<< 26.4),
++        handlersocket-mysql-5.5,
++        mariadb-galera-server,
++        mariadb-galera-server-10.0,
++        mariadb-galera-server-5.5,
++        mariadb-server-10.0,
++        mariadb-server-10.1,
++        mariadb-server-10.2,
++        mariadb-server-10.3,
++        mariadb-server-10.4,
++        mariadb-server-10.5,
++        mariadb-server-5.5,
++        mariadb-tokudb-engine-10.0,
++        mariadb-tokudb-engine-10.1,
++        mariadb-tokudb-engine-5.5,
++        mysql-client-5.5,
++        mysql-client-5.7,
++        mysql-client-core-8.0,
++        mysql-server-5.5,
++        mysql-server-5.6,
++        mysql-server-5.7,
++        mysql-server-8.0
 +Replaces: handlersocket-mysql-5.5,
-           mariadb-server-5.1,
-           mariadb-server-5.2,
-           mariadb-server-5.3,
++          mariadb-galera-server,
++          mariadb-galera-server-10.0,
++          mariadb-galera-server-5.5,
 +          mariadb-server-10.0,
 +          mariadb-server-10.1,
 +          mariadb-server-10.2,
 +          mariadb-server-10.3,
 +          mariadb-server-10.4,
 +          mariadb-server-10.5,
-           mysql-client-5.6,
 +          mariadb-server-5.5,
++          mariadb-tokudb-engine-10.0,
++          mariadb-tokudb-engine-10.1,
++          mariadb-tokudb-engine-5.5,
 +          mysql-client-5.5,
-           mysql-client-8.0,
 +          mysql-client-5.7,
-           mysql-server,
-           mysql-server-4.1,
-           mysql-server-5.0,
-           mysql-server-5.1,
 +          mysql-client-core-8.0,
- Provides: default-mysql-server,
-           virtual-mysql-server
 +          mysql-server-5.5,
 +          mysql-server-5.6,
 +          mysql-server-5.7,
 +          mysql-server-8.0,
 +          percona-server-server-5.6,
 +          percona-xtradb-cluster-server-5.6,
 +          percona-xtradb-cluster-server-5.7,
 +          virtual-mysql-server
-         mariadb-connect-engine-10.2,
-         mariadb-connect-engine-10.3,
-         mariadb-connect-engine-10.4
++Provides: virtual-mysql-server
 +Description: MariaDB database server binaries
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the server binaries.
 +
 +Package: mariadb-server
 +Architecture: all
 +Depends: mariadb-server-10.6 (>= ${source:Version}),
 +         ${misc:Depends}
 +Description: MariaDB database server (metapackage depending on the latest version)
 + This is an empty package that depends on the current "best" version of
 + mariadb-server (currently mariadb-server-10.6), as determined by the MariaDB
 + maintainers. Install this package if in doubt about which MariaDB
 + version you need. That will install the version recommended by the
 + package maintainers.
 + .
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 +
 +Package: mariadb-client
 +Architecture: all
 +Depends: mariadb-client-10.6 (>= ${source:Version}),
 +         ${misc:Depends}
 +Description: MariaDB database client (metapackage depending on the latest version)
 + This is an empty package that depends on the current "best" version of
 + mariadb-client (currently mariadb-client-10.6), as determined by the MariaDB
 + maintainers.  Install this package if in doubt about which MariaDB version
 + you want, as this is the one considered to be in the best shape.
 +
 +Package: mariadb-backup
 +Architecture: any
 +Breaks: mariadb-backup-10.1,
 +        mariadb-backup-10.2,
++        mariadb-backup-10.3,
 +        mariadb-client-10.1
 +Replaces: mariadb-backup-10.1,
 +          mariadb-backup-10.2,
++          mariadb-backup-10.3,
 +          mariadb-client-10.1
 +Depends: mariadb-client-core-10.6 (= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: Backup tool for MariaDB server
 + This backup tool is guaranteed to be compatible with MariaDB.
 + Based on Xtrabackup, but improved to work with MariaDB.
 + .
 + Please refer to the MariaDB Knowledge Base on more information on
 + how to use this tool.
 +
 +Package: mariadb-plugin-connect
 +Architecture: any
 +Depends: libxml2,
 +         mariadb-server-10.6 (= ${server:Version}),
 +         unixodbc,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
++Conflicts: mariadb-connect-engine-10.0,
++           mariadb-connect-engine-10.1
 +Breaks: mariadb-connect-engine-10.0,
 +        mariadb-connect-engine-10.1,
-           mariadb-connect-engine-10.2,
-           mariadb-connect-engine-10.3,
-           mariadb-connect-engine-10.4
++        mariadb-server-10.0,
++        mariadb-server-10.1
 +Replaces: mariadb-connect-engine-10.0,
 +          mariadb-connect-engine-10.1,
-          python3,
++          mariadb-server-10.0,
++          mariadb-server-10.1
 +Description: Connect storage engine for MariaDB
 + Connect engine supports a number of file formats (dbf, xml, txt, bin, etc),
 + connections to ODBC tables and remote MySQL tables, as well as a number of
 + other interesting features.
 + This package contains the Connect plugin for MariaDB.
 +
 +Package: mariadb-plugin-s3
 +Architecture: any
 +Depends: libcurl4,
 +         mariadb-server-10.6 (= ${server:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: Amazon S3 archival storage engine for MariaDB
 + The S3 storage engine allows one to archive MariaDB tables in Amazon S3 (or any
 + third-party public or private cloud that implements S3 API), but still have
 + them accessible in MariaDB in read-only mode.
 +
 +Package: mariadb-plugin-rocksdb
 +Architecture: amd64 arm64 mips64el ppc64el
 +Depends: mariadb-server-10.6 (= ${server:Version}),
-         mariadb-rocksdb-engine-10.3,
-         mariadb-rocksdb-engine-10.4
++         python3:any,
 +         rocksdb-tools,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Breaks: mariadb-rocksdb-engine-10.2,
-           mariadb-rocksdb-engine-10.3,
-           mariadb-rocksdb-engine-10.4
++        mariadb-rocksdb-engine-10.3
 +Replaces: mariadb-rocksdb-engine-10.2,
-  at maximising storage efficiency while maintaining InnoDB-like performance.
++          mariadb-rocksdb-engine-10.3
 +Recommends: python3-mysqldb
 +Description: RocksDB storage engine for MariaDB
 + The RocksDB storage engine is a high performance storage engine, aimed
-         mariadb-oqgraph-engine-10.2,
-         mariadb-oqgraph-engine-10.3,
-         mariadb-oqgraph-engine-10.4
++ at maximizing storage efficiency while maintaining InnoDB-like performance.
 + This package contains the RocksDB plugin for MariaDB.
 +
 +Package: mariadb-plugin-oqgraph
 +Architecture: any
 +Depends: libjudydebian1,
 +         mariadb-server-10.6 (= ${server:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
++Conflicts: mariadb-oqgraph-engine-10.0,
++           mariadb-oqgraph-engine-10.1
 +Breaks: mariadb-oqgraph-engine-10.0,
 +        mariadb-oqgraph-engine-10.1,
-           mariadb-oqgraph-engine-10.2,
-           mariadb-oqgraph-engine-10.3,
-           mariadb-oqgraph-engine-10.4
++        mariadb-server-10.0,
++        mariadb-server-10.1
 +Replaces: mariadb-oqgraph-engine-10.0,
 +          mariadb-oqgraph-engine-10.1,
-         mariadb-server-10.1,
-         mariadb-server-10.2,
-         mariadb-server-10.3,
-         mariadb-server-10.4
++          mariadb-server-10.0,
++          mariadb-server-10.1
 +Description: OQGraph storage engine for MariaDB
 + The OQGraph engine is a computation engine plugin for handling hierarchies
 + (trees) and graphs (friend-of-a-friend, etc) cleanly through standard SQL.
 + This package contains the OQGraph plugin for MariaDB.
 +
 +Package: mariadb-plugin-mroonga
 +Architecture: any-alpha any-amd64 any-arm any-arm64 any-i386 any-ia64 any-mips64el any-mips64r6el any-mipsel any-mipsr6el any-nios2 any-powerpcel any-ppc64el any-sh3 any-sh4 any-tilegx
 +Depends: mariadb-server-10.6 (= ${server:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Breaks: mariadb-server-10.0,
-           mariadb-server-10.1,
-           mariadb-server-10.2,
-           mariadb-server-10.3,
-           mariadb-server-10.4
++        mariadb-server-10.1
 +Replaces: mariadb-server-10.0,
-         mariadb-server-10.1,
-         mariadb-server-10.2,
-         mariadb-server-10.3,
-         mariadb-server-10.4
++          mariadb-server-10.1
 +Description: Mroonga storage engine for MariaDB
 + Mroonga (formerly named Groonga Storage Engine) is a storage engine that
 + provides fast CJK-ready full text searching using column store.
 + This package contains the Mroonga plugin for MariaDB.
 +
 +Package: mariadb-plugin-spider
 +Architecture: any
 +Depends: mariadb-server-10.6 (= ${server:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Breaks: mariadb-server-10.0,
-           mariadb-server-10.1,
-           mariadb-server-10.2,
-           mariadb-server-10.3,
-           mariadb-server-10.4
++        mariadb-server-10.1
 +Replaces: mariadb-server-10.0,
-         mariadb-gssapi-server-10.2,
-         mariadb-gssapi-server-10.3,
-         mariadb-gssapi-server-10.4
++          mariadb-server-10.1
 +Description: Spider storage engine for MariaDB
 + The Spider storage engine with built-in sharding features. It supports
 + partitioning and xa transactions, and allows tables of different MariaDB
 + instances to be handled as if they were on the same instance. It refers to one
 + possible implementation of ISO/IEC 9075-9:2008 SQL/MED.
 +
 +Package: mariadb-plugin-gssapi-server
 +Architecture: any
 +Depends: libgssapi-krb5-2,
 +         mariadb-server-10.6,
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Breaks: mariadb-gssapi-server-10.1,
-           mariadb-gssapi-server-10.2,
-           mariadb-gssapi-server-10.3,
-           mariadb-gssapi-server-10.4
++        mariadb-gssapi-server-10.2
 +Replaces: mariadb-gssapi-server-10.1,
-         mariadb-gssapi-client-10.2,
-         mariadb-gssapi-client-10.3,
-         mariadb-gssapi-client-10.4
++          mariadb-gssapi-server-10.2
 +Description: GSSAPI authentication plugin for MariaDB server
 + This plugin includes support for Kerberos on Unix, but can also be used for
 + Windows authentication with or without domain environment.
 + .
 + This package contains the server parts.
 +
 +Package: mariadb-plugin-gssapi-client
 +Architecture: any
 +Multi-Arch: same
 +Depends: libgssapi-krb5-2,
 +         mariadb-client-10.6 (= ${binary:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Breaks: mariadb-gssapi-client-10.1,
-           mariadb-gssapi-client-10.2,
-           mariadb-gssapi-client-10.3,
-           mariadb-gssapi-client-10.4
++        mariadb-gssapi-client-10.2
 +Replaces: mariadb-gssapi-client-10.1,
-          mariadb-server-10.6,
++          mariadb-gssapi-client-10.2
 +Description: GSSAPI authentication plugin for MariaDB client
 + This plugin includes support for Kerberos on Unix, but can also be used for
 + Windows authentication with or without domain environment.
 + .
 + This package contains the client parts.
 +
 +Package: mariadb-plugin-cracklib-password-check
 +Architecture: any
 +Depends: libcrack2 (>= 2.9.0),
-          ${perl:Depends},
++         mariadb-server-10.6 (= ${server:Version}),
 +         ${misc:Depends},
 +         ${shlibs:Depends}
 +Description: CrackLib Password Validation Plugin for MariaDB
 + This password validation plugin uses cracklib to allow only
 + sufficiently secure (as defined by cracklib) user passwords in MariaDB.
 + .
 + Install and configure this to enforce stronger passwords for MariaDB users.
 +
 +Package: mariadb-test
 +Architecture: any
 +Depends: mariadb-client-10.6 (= ${binary:Version}),
 +         mariadb-server-10.6 (= ${server:Version}),
 +         mariadb-test-data (= ${source:Version}),
 +         virtual-mysql-testsuite,
 +         ${misc:Depends},
- Conflicts: mariadb-server-5.5,
-            mysql-server-5.7,
-            mysql-server-core-8.0
- Breaks: mariadb-server-5.5,
-         mariadb-test-10.0,
 +         ${shlibs:Depends}
-         mariadb-test-10.2,
-         mariadb-test-10.3,
-         mariadb-test-10.4,
++Breaks: mariadb-test-10.0,
 +        mariadb-test-10.1,
-           mariadb-test-10.2,
-           mariadb-test-10.3,
-           mariadb-test-10.4,
 +        mariadb-test-5.5,
 +        mysql-client-5.5,
 +        mysql-server-5.5,
 +        mysql-server-5.7,
 +        mysql-server-core-8.0,
 +        mysql-testsuite,
 +        mysql-testsuite-5.5,
 +        mysql-testsuite-5.6,
 +        mysql-testsuite-5.7,
 +        mysql-testsuite-8.0,
 +        percona-server-server-5.6,
 +        percona-xtradb-cluster-server-5.6,
 +        percona-xtradb-cluster-server-5.7
 +Replaces: mariadb-test-10.0,
 +          mariadb-test-10.1,
-         mariadb-test-10.2,
 +          mariadb-test-5.5,
 +          mysql-client-5.5,
 +          mysql-server-5.5,
++          mysql-server-5.7,
++          mysql-server-core-8.0,
 +          mysql-testsuite,
 +          mysql-testsuite-5.5,
 +          mysql-testsuite-5.6,
 +          mysql-testsuite-5.7,
 +          mysql-testsuite-8.0,
 +          percona-server-server-5.6,
 +          percona-xtradb-cluster-server-5.6,
 +          percona-xtradb-cluster-server-5.7,
 +          virtual-mysql-testsuite
 +Provides: virtual-mysql-testsuite
 +Suggests: patch
 +Description: MariaDB database regression test suite
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package includes the regression test suite.
 +
 +Package: mariadb-test-data
 +Architecture: all
 +Multi-Arch: foreign
 +Depends: ${misc:Depends},
 +         ${perl:Depends},
 +         ${shlibs:Depends}
 +Breaks: mariadb-test-10.0,
 +        mariadb-test-10.1,
-           mariadb-test-10.2,
 +        mariadb-test-5.5,
 +        mariadb-test-data-10.0,
 +        mysql-testsuite,
 +        mysql-testsuite-5.5,
 +        mysql-testsuite-5.6,
 +        mysql-testsuite-5.7,
 +        mysql-testsuite-8.0
 +Replaces: mariadb-test-10.0,
 +          mariadb-test-10.1,
 +          mariadb-test-5.5,
 +          mariadb-test-data-10.0,
 +          mysql-testsuite,
 +          mysql-testsuite-5.5,
 +          mysql-testsuite-5.6,
 +          mysql-testsuite-5.7,
 +          mysql-testsuite-8.0
 +Description: MariaDB database regression test suite - data files
 + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
 + server. SQL (Structured Query Language) is the most popular database query
 + language in the world. The main goals of MariaDB are speed, robustness and
 + ease of use.
 + .
 + This package has the architecture independent data files for the test suite.
index 836fe89f4c3575853459dd555bf54e7d6ae374ed,0000000000000000000000000000000000000000..730fe7e38214eba5984f9446cf9dcca0a4674383
mode 100644,000000..100644
--- /dev/null
@@@ -1,61 -1,0 +1,1048 @@@
- == MariaDB ==
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: MariaDB Server
++Upstream-Contact: https://mariadb.org/jira
++Source: https://github.com/MariaDB/server
++Comment:
++ Originally produced by a modified version of licensecheck2dep5
++ from CDBS by Clint Byrum <clint@ubuntu.com>. Hand modified to reduce
++ redundancy in the output and add appropriate license text. The file
++ has been rechecked against the source using the development version
++ of license-reconcile, see #686485.
++ .
++ Also, MySQL carries the "FOSS License Exception" specified in README
++ .
++ Quoting from README:
++ .
++ MySQL FOSS License Exception We want free and open source
++ software applications under certain licenses to be able to use
++ specified GPL-licensed MySQL client libraries despite the fact
++ that not all such FOSS licenses are compatible with version
++ 2 of the GNU General Public License.  Therefore there are
++ special exceptions to the terms and conditions of the GPLv2
++ as applied to these client libraries, which are identified
++ and described in more detail in the FOSS License Exception at
++ <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
++ .
++ The text of the Above URL is quoted below, as of Aug 17, 2011.
++ .
++ > FOSS License Exception
++ > .
++ > Updated July 1, 2010
++ > .
++ > What is the FOSS License Exception?  Oracle's Free and Open Source
++ > Software ("FOSS") License Exception (formerly known as the FLOSS
++ > License Exception) allows developers of FOSS applications to include
++ > Oracle's MySQL Client Libraries (also referred to as "MySQL Drivers"
++ > or "MySQL Connectors") with their FOSS applications. MySQL Client
++ > Libraries are typically licensed pursuant to version 2 of the General
++ > Public License ("GPL"), but this exception permits distribution of
++ > certain MySQL Client Libraries with a developer's FOSS applications
++ > licensed under the terms of another FOSS license listed below,
++ > even though such other FOSS license may be incompatible with the GPL.
++ > .
++ > The following terms and conditions describe the circumstances under
++ > which Oracle's FOSS License Exception applies.
++ > .
++ > Oracle's FOSS License Exception Terms and Conditions Definitions.
++ > "Derivative Work" means a derivative work, as defined under applicable
++ > copyright law, formed entirely from the Program and one or more
++ > FOSS Applications.
++ > .
++ > "FOSS Application" means a free and open source software application
++ > distributed subject to a license listed in the section below titled
++ > "FOSS License List."
++ > .
++ > "FOSS Notice" means a notice placed by Oracle or MySQL in a copy
++ > of the MySQL Client Libraries stating that such copy of the MySQL
++ > Client Libraries may be distributed under Oracle's or MySQL's FOSS
++ > (or FLOSS) License Exception.
++ > .
++ > "Independent Work" means portions of the Derivative Work that are not
++ > derived from the Program and can reasonably be considered independent
++ > and separate works.
++ > .
++ > "Program" means a copy of Oracle's MySQL Client Libraries that
++ > contains a FOSS Notice.
++ > .
++ > A FOSS application developer ("you" or "your") may distribute a
++ > Derivative Work provided that you and the Derivative Work meet all
++ > of the following conditions: You obey the GPL in all respects for
++ > the Program and all portions (including modifications) of the Program
++ > included in the Derivative Work (provided that this condition does not
++ > apply to Independent Works); The Derivative Work does not include any
++ > work licensed under the GPL other than the Program; You distribute
++ > Independent Works subject to a license listed in the section below
++ > titled "FOSS License List"; You distribute Independent Works in
++ > object code or executable form with the complete corresponding
++ > machine-readable source code on the same medium and under the same
++ > FOSS license applying to the object code or executable forms; All
++ > works that are aggregated with the Program or the Derivative Work
++ > on a medium or volume of storage are not derivative works of the
++ > Program, Derivative Work or FOSS Application, and must reasonably
++ > be considered independent and separate works.  Oracle reserves all
++ > rights not expressly granted in these terms and conditions. If all
++ > of the above conditions are not met, then this FOSS License Exception
++ > does not apply to you or your Derivative Work.
++ > .
++ > FOSS License List
++ > .
++ > License Name    Version(s)/Copyright Date
++ > Release Early    Certified Software
++ > Academic Free License    2.0
++ > Apache Software License  1.0/1.1/2.0
++ > Apple Public Source License  2.0
++ > Artistic license     From Perl 5.8.0
++ > BSD license  "July 22 1999"
++ > Common Development and Distribution License (CDDL)   1.0
++ > Common Public License    1.0
++ > Eclipse Public License   1.0
++ > European Union Public License (EUPL)[1]    1.1
++ > GNU Library or "Lesser" General Public License (LGPL)    2.0/2.1/3.0
++ > GNU General Public License (GPL)     3.0
++ > IBM Public License   1.0
++ > Jabber Open Source License   1.0
++ > MIT License (As listed in file MIT-License.txt)  -
++ > Mozilla Public License (MPL)     1.0/1.1
++ > Open Software License    2.0
++ > OpenSSL license (with original SSLeay license)   "2003" ("1998")
++ > PHP License  3.0/3.01
++ > Python license (CNRI Python License)     -
++ > Python Software Foundation License   2.1.1
++ > Sleepycat License   "1999"
++ > University of Illinois/NCSA Open Source License  -
++ > W3C License  "2001"
++ > X11 License  "2001"
++ > Zlib/libpng License  -
++ > Zope Public License  2.0
++ > [1] When an Independent Work is licensed under a "Compatible License"
++ > pursuant to the EUPL, the Compatible License rather than the EUPL is
++ > the applicable license for purposes of these FOSS License Exception
++ > Terms and Conditions.
++ .
++ The above text is subject to this copyright notice:
++ © 2010, Oracle and/or its affiliates.
 +
- The Debian package of MySQL was first debianzed on 1997-04-12 by Christian
- Schwarz <schwarz@debian.org> and ist maintained since 1999-04-20 by
- Christian Hammers <ch@debian.org>.
++Files: *
++Copyright:
++ 2000-2016, Oracle and/or its affiliates. All rights reserved.
++ 2008-2013 Monty Program AB
++ 2008-2014 SkySQL Ab
++ 2013-2016 MariaDB Corporation
++ 2012-2016 MariaDB Foundation
++License: GPL-2
++
++Files: debian/*
++Copyright:
++ 1997-1998, Scott Hanson <shanson@debian.org>
++ 1997 Christian Schwarz <schwarz@debian.org>
++ 1999-2007, 2009, Christian Hammers <ch@debian.org>
++ 2000-2001, Christopher C. Chimelis <chris@debian.org>
++ 2001 Matthew Wilcox <willy@debian.org>
++ 2005-2007, Sean Finney <seanius@debian.org>
++ 2006 Adam Conrad <adconrad@0c3.net>
++ 2007-2011, Norbert Tretkowski <norbert@tretkowski.de>
++ 2007-2008, Monty Taylor <mordred@inaugust.com>
++ 2008 Devin Carraway <devin@debian.org>
++ 2008 Steffen Joeris <white@debian.org>
++ 2009 Canonical Ltd
++ 2010 Xavier Oswald <xoswald@debian.org>
++ 2011 Clint Byrum <clint@ubuntu.com>
++ 2011 Ondřej Surý <ondrej@debian.org>
++ 2012 Nicholas Bamber <nicholas@periapt.co.uk>
++ 2013,2016 Kristian Nielsen <knielsen@askmonty.org>
++ 2013-2020 Otto Kekäläinen <otto@debian.org>
++ 2014 Daniel Schepler <schepler@debian.org>
++ 2014 Julien Muchembled <jm@jmuchemb.eu>
++ 2014 Tobias Frost <tobi@coldtobi.de>
++ 2015 Andreas Beckmann <anbe@debian.org>
++ 2015-2016 Arnaud Fontaine <arnau@debian.org>
++ 2015-2016 Daniel Black <daniel.black@openquery.com.au>
++ 2015 Israel Tsadok <itsadok@gmail.com>
++ 2015 Jan Wagner <waja@cyconet.org>
++ 2015 Jean Weisbuch <jean@phpnet.org>
++ 2015 Olaf van der Spek <olafvdspek@gmail.com>
++ 2015-2106 Robie Basak <robie.basak@canonical.com>
++ 2016 Axel Beckert <abe@debian.org>
++ 2016 Dieter Adriaenssens <dieter.adriaenssens@gmail.com>
++ 2016 Ian Gilfillan <ian@mariadb.org>
++ 2016 James Cowgill <jcowgill@debian.org>
++ 2016 Paul Gevers <elbrus@debian.org>
++ 2016 Samuel Thibault <sthibault@debian.org>
++ 2016 Vicențiu Ciorbaru <vicentiu@mariadb.org>
++License: GPL-2+
++
++Files: plugin/feedback/*
++Copyright: 2010 Sergei Golubchik and Monty Program Ab
++License: GPL-2
++
++Files: debian/additions/mariadb-report*
++Copyright: 2006-2008 Daniel Nichter <public@codenode.com>
++ 2012-2015 Jean Weisbuch
++License: GPL-2+
++
++Files:
++ dbug/example1.c
++ dbug/example2.c
++ dbug/example3.c
++ dbug/factorial.c
++ dbug/main.c
++ dbug/my_main.c
++ dbug/remove_function_from_trace.pl
++ dbug/tests.c
++ dbug/tests-t.pl
++ mysql-test/*
++ support-files/binary-configure.sh
++ support-files/mysqld_multi.server.sh
++ Docs/*
++Copyright: UNKNOWN
++Comment: These files fall under the blanket license specified in the file
++ COPYING and README
++ GPLv2 Disclaimer:
++ For the avoidance of doubt, except that if any license choice
++ other than GPL or LGPL is available it will apply instead,
++ Oracle elects to use only the General Public License version 2
++ (GPLv2) at this time for any software where a choice of GPL
++ license versions is made available with the language indicating
++ that GPLv2 or any later version may be used, or where a choice
++ of which version of the GPL is applied is otherwise unspecified.
++License: GPL-2
++
++Files: BUILD/*
++ client/*
++ cmake/*
++ dbug/dbug_add_tags.pl
++ extra/*
++ include/*
++ libmysqld/*
++ libservices/*
++ mysql-test/include/have_perfschema.inc
++ mysql-test/lib/mtr_cases.pm
++ mysql-test/lib/mtr_gprof.pl
++ mysql-test/lib/mtr_io.pl
++ mysql-test/lib/mtr_match.pm
++ mysql-test/lib/mtr_process.pl
++ mysql-test/lib/mtr_report.pm
++ mysql-test/lib/mtr_results.pm
++ mysql-test/lib/mtr_stress.pl
++ mysql-test/lib/mtr_unique.pm
++ mysql-test/lib/My/Config.pm
++ mysql-test/lib/My/CoreDump.pm
++ mysql-test/lib/My/File/*
++ mysql-test/lib/My/Find.pm
++ mysql-test/lib/My/Handles.pm
++ mysql-test/lib/My/Options.pm
++ mysql-test/lib/My/Platform.pm
++ mysql-test/lib/My/SafeProcess/Base.pm
++ mysql-test/lib/My/SafeProcess/safe_kill_win.cc
++ mysql-test/lib/My/SafeProcess/safe_process.cc
++ mysql-test/lib/My/SafeProcess/safe_process_win.cc
++ mysql-test/lib/My/SysInfo.pm
++ mysql-test/lib/My/Test.pm
++ mysql-test/lib/t/*
++ mysql-test/lib/v1/mtr_cases.pl
++ mysql-test/lib/v1/mtr_gcov.pl
++ mysql-test/lib/v1/mtr_gprof.pl
++ mysql-test/lib/v1/mtr_im.pl
++ mysql-test/lib/v1/mtr_io.pl
++ mysql-test/lib/v1/mtr_match.pl
++ mysql-test/lib/v1/mtr_process.pl
++ mysql-test/lib/v1/mtr_report.pl
++ mysql-test/lib/v1/mtr_stress.pl
++ mysql-test/lib/v1/mtr_timer.pl
++ mysql-test/lib/v1/mtr_unique.pl
++ mysql-test/lib/v1/My/*
++ mysql-test/lib/v1/mysql-test-run.pl
++ mysql-test/lib/v1/mtr_misc.pl
++ mysql-test/mariadb-stress-test.pl
++ mysql-test/mariadb-test-run.pl
++ mysql-test/std_data/*
++ mysql-test/suite/perfschema/include/*
++ mysql-test/suite/perfschema_stress/include/*
++ mysys/*
++ win/packaging/ca/*
++ plugin/audit_null/*
++ plugin/auth_*
++ plugin/daemon_example/*
++ plugin/fulltext/*
++ scripts/*
++ sql/*
++ sql-common/*
++ storage/*
++ strings/*
++ support-files/MacOSX/*
++ support-files/compiler_warnings.supp
++ support-files/mysql.*
++ support-files/dtrace/*
++ tests/*
++ unittest/*
++ vio/*
++Copyright: 1979-2009 MySQL AB
++           1995-2010 Sun Microsystems Inc
++           1994-1997,2000-2014 Oracle and/or its affiliates
++           2010 Kristian Nielsen
++           2012 MariaDB Services
++           2013 MariaDB Foundation
++           2010,2013 Sergei Golubchik
++           1985,1995,2008-2011,2012-2014 Monty Program AB
++           2008-2014 SykSQL Ab
++           1993-2014 Olivier Bertrand
++           2008-2014 Kentoku Shiba
++           2013 Sergey Vojtovich and MariaDB Foundation
++           2006 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
++           2012 Michael Widenius
++           2010-2011 DeNA Co.,Ltd.
++           2011 Kentoku SHIBA
++License: GPL-2
++
++Files: include/maria.h include/myisamchk.h
++Copyright: 2006-2008 MySQL AB
++ 2008-2009 Sun Microsystems, Inc
++ 2009, 2013, Monty Program Ab
++License: GPL-2+
++
++Files: plugin/auth_pam/testing/pam_mariadb_mtr.c
++Copyright: none
++License: public-domain
++
++Files:  plugin/locale_info/locale_info.cc
++Copyright: 2013, Spaempresarial - Brazil, Roberto Spadim
++License: BSD-3-clause
++
++Files:  plugin/qc_info/qc_info.cc
++Copyright:  2008, Roland Bouman
++License: BSD-3-clause
++
++Files: tests/async_queries.c tests/nonblock-wrappers.h
++Copyright: 2011 Kristian Nielsen and Monty Program Ab
++License: LGPL-2.1+
++
++Files: include/ma_dyncol.h include/queues.h mysys/ma_dyncol.c mysys/queues.c
++ unittest/mysys/ma_dyncol-t.c
++Copyright: 2010,2011,2013 Monty Program Ab
++ 2011,2012 Oleksandr Byelkin
++License: BSD-2-clause
++
++Files: mysys/my_port.c
++Copyright: 2002 MySQL AB
++License: LGPL-2
++
++Files: mysys/my_safehash.*
++Copyright: 2003-2007 MySQL AB
++License: GPL-2+
++
++Files: strings/bmove_upp.c strings/is_prefix.c strings/llstr.c
++ strings/longlong2str.c strings/strcont.c strings/strfill.c strings/strmov.c
++ strings/strnmov.c strings/bchange.c strings/int2str.c strings/my_strtoll10.c
++ strings/str2int.c strings/strappend.c strings/strcend.c
++Copyright: 2009-2013, Monty Program Ab
++           2000,2003 TXT DataKonsult Ab & Monty Program Ab
++License: BSD-2-clause
++
++Files: strings/strxmov.c
++ strings/strxnmov.c
++ strings/strnlen.c
++Copyright: 2009-2011, Monty Program Ab
++           2000 TXT DataKonsult Ab & Monty Program Ab
++           Richard A. O'Keefe
++License: BSD-2-clause
++
++Files: client/async_example.c
++Copyright: 2011 Kristian Nielsen and Monty Program Ab
++License: LGPL-2.1+
++
++Files: storage/oqgraph/*
++Copyright:
++ 2007-2013 Arjen G Lentz & Antony T Curtis for Open Query
++ 2000-2006 MySQL AB
++License: GPL-2+
++
++Files: storage/connect/connect.cc
++Copyright: 2004-2012 Olivier Bertrand
++License: GPL-2+
++
++Files: storage/oqgraph/ha_oqgraph.*
++ storage/oqgraph/oqgraph_probes.d
++Copyright:
++ 2007-2013 Arjen G Lentz & Antony T Curtis for Open Query
++ 2000-2006 MySQL AB
++License: GPL-2
++
++Files: extra/*/INSTALL
++Copyright: 1994-1996, 1999-2002, 2004-2006, Free Software Foundation, Inc.
++License: unlimited-free-doc
++ This file is free documentation; the Free Software Foundation gives
++ unlimited permission to copy, distribute and modify it.
++
++Files: mysql-test/lib/mtr_misc.pl
++ mysql-test/lib/My/SafeProcess.pm
++Copyright: 2004, 2007, 2011, Oracle and/or its affiliates
++License: LGPL
++
++Files:
++ storage/myisam/ft_update.c
++ storage/myisam/fulltext.h
++ storage/myisam/ft_boolean_search.c
++ storage/myisam/ft_stopwords.c
++ storage/myisam/ft_nlq_search.c
++ storage/myisam/ft_parser.c
++ storage/myisam/myisam_ftdump.c
++Copyright:
++ 2000, 2001, 2010, 2011, Oracle and/or its affiliates
++ Sergei A. Golubchik
++License: GPL-2
++
++Files: storage/myisam/ft_myisam.c
++Copyright: 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
++License: GPL-2+
++
++Files: storage/innobase/*
++Copyright:
++ 1994-2011 Sergei A. Golubchik
++ 1996 Michael Widenius
++ 1994-2014 Oracle and/or its affiliates
++ 2008-2009 Google Inc
++ 2009 Sun Microsystems, Inc
++ 2009 Percona Inc
++ 2013, 2014 SkySQL Ab
++ 2012 Facebook Inc
++License: GPL-2
++
++Files: storage/maria/*
++Copyright:
++ 2008-2009 Sun Microsystems, Inc
++ 2008 Sun AB
++ 2006 MySQL Finland AB
++ 2006 TCX DataKonsult AB
++ 2003-2008 MySQL AB
++ 2007-2008 Michael Widenius
++ 2007 Guilhem Bichot
++ 2006 Sergei A. Golubchik
++ 2007 Sanja Belkin
++ 2006 Ramil Kalimullin
++ 2006 Alexey Botchkov
++ 2008-2011 Monty Program Ab
++ 2004-2008 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
++License: GPL-2
++
++Files: storage/sphinx/*
++Copyright: 2001-2014 Andrew Aksyonoff
++ 2008-2014 Sphinx Technologies Inc
++License: GPL-2
++
++Files: extra/readline/*
++Copyright: 1987-2006 Free Software Foundation Inc
++License: GPL-2+
++
++Files: sql-bench/*.sh
++Copyright: 2009 Sun Microsystems, Inc
++           2000-2007 MySQL AB
++License: LGPL
++
++Files: client/completion_hash.h
++ scripts/mysqlaccess.sh
++ scripts/mysql_fix_extensions.sh
++ scripts/mysql_setpermission.sh
++ storage/myisam/ftbench/ft-test-run.sh
++ storage/myisam/mi_test_all.sh
++ strings/ctype-uca.c
++ strings/ctype-ucs2.c
++ strings/ctype-utf8.c
++ support-files/MacOSX/postflight.sh
++ support-files/MacOSX/preflight.sh
++ mysql-test/lib/My/ConfigFactory.pm
++ BUILD/*.sh
++ BUILD/compile-solaris-amd64
++ BUILD/compile-amd64-valgrind-max
++ BUILD/compile-pentium64-max
++ BUILD/compile-pentium64
++ scripts/mysqlhotcopy.sh
++ scripts/mysqld_multi.sh
++ mysql-test/std_data/checkDBI_DBD-MariaDB.pl
++Copyright: 2000-2013 Oracle and/or its affiliates
++           2000-2007 MySQL AB
++           2009 Sun Microsystems Inc
++License: LGPL
++
++Files: BUILD/util.sh
++Copyright: 2010 Kristian Nielsen and Monty Program AB
++License: GPL-2
++
++Files: sql-bench/innotest1.sh
++ sql-bench/innotest1a.sh
++ sql-bench/innotest1b.sh
++ sql-bench/innotest2.sh
++ sql-bench/innotest2a.sh
++ sql-bench/innotest2b.sh
++Copyright: 2000-2002 Innobase Oy & MySQL AB
++Comment: These files fall under the blanket license specified in the file COPYING
++License: GPL-2
++
++Files: storage/myisam/rt_index.h
++ storage/myisam/rt_key.*
++ storage/myisam/rt_mbr.*
++ storage/myisam/sp_defs.h
++Copyright:
++ 2000,2002-2007 MySQL AB
++ Ramil Kalimullin
++License: GPL-2
++
++Files: strings/ctype-bin.c
++ strings/ctype-eucjpms.c
++ strings/ctype-ujis.c
++Copyright:
++ 2000,2002,2005-2011 Oracle and/or its affiliates
++ tommy@valley.ne.jp
++License: LGPL
++
++Files: scripts/mysqld_safe.sh
++ support-files/mysql-multi.server.sh
++ support-files/mysql.server.sh
++Copyright: 1996 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB
++License: public-domain
 +
- The MariaDB packages were initially made by http://ourdelta.org/, and
- are now managed by the MariaDB development team,
- maria-developers@lists.launchpad.net
++Files: storage/innobase/include/pars0grm.h storage/innobase/pars/pars0grm.cc
++Copyright: 1995-2009 Innobase Oy.
++ 1984,1989-1990,2000-2004 Free Software Foundation Inc.
++License: GPL-2+-with-bison-exception
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2, or (at your option)
++ any later version.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin Street, Fifth Floor,
++ Boston, MA 02110-1301, USA.
++ .
++ As a special exception, you may create a larger work that contains
++ part or all of the Bison parser skeleton and distribute that work
++ under terms of your choice, so long as that work isn't itself a
++ parser generator using the skeleton or a modified version thereof
++ as a parser skeleton.  Alternatively, if you modify or redistribute
++ the parser skeleton itself, you may (at your option) remove this
++ special exception, which will cause the skeleton and the resulting
++ Bison output files to be licensed under the GNU General Public
++ License without this special exception.
++ .
++ This special exception was added by the Free Software Foundation in
++ version 2.2 of Bison.
 +
- MariaDB can be downloaded from https://downloads.mariadb.org/
++Files: storage/innobase/fts/fts0pars.cc
++ storage/innobase/include/fts0pars.h
++Copyright: 1984, 1989-1990, 2000-2006  Free Software Foundation, Inc.
++License: GPL-3+-with-bison-exception
 +
- According to the file "COPYING" all parts of this package are licenced
- under the terms of the GNU GPL Version 2 of which a copy is available
- in /usr/share/common-licenses.
++License: GPL-3+-with-bison-exception
++ This program is free software: you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation, either version 3 of the License, or
++ (at your option) any later version.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program.  If not, see <http://www.gnu.org/licenses/>.
++ .
++ As a special exception, you may create a larger work that contains
++ part or all of the Bison parser skeleton and distribute that work
++ under terms of your choice, so long as that work isn't itself a
++ parser generator using the skeleton or a modified version thereof
++ as a parser skeleton.  Alternatively, if you modify or redistribute
++ the parser skeleton itself, you may (at your option) remove this
++ special exception, which will cause the skeleton and the resulting
++ Bison output files to be licensed under the GNU General Public
++ License without this special exception.
++ .
++ This special exception was added by the Free Software Foundation in
++ version 2.2 of Bison.
 +
++
++Files: include/t_ctype.h
++ strings/t_ctype.h
++Copyright: 2000 MySQL AB
++ 1998 Theppitak Karoonboonyanan
++ 1998-1999 Pruet Boonma
++License: GPL-2
++
++Files: strings/strend.c
++Copyright: Richard A. O'Keefe.
++   2000 TXT DataKonsult Ab & Monty Program Ab
++   2009-2011, Monty Program Ab
++License: BSD-2-clause
++
++Files: dbug/dbug.c
++ dbug/dbug_long.h
++Copyright: 1987 Abandoned Fred Fish
++License: public-domain
++
++Files: scripts/dheadgen.pl
++Copyright: 2008-2009 Sun Microsystems Inc
++License: BSD-3-clause
++
++Files: plugin/handler_socket/*
++Copyright:
++ 2010 DeNA Co.,Ltd.
++License: BSD-3-clause
++
++Files: plugin/auth_gssapi/*
++Copyright: 2015 Shuang Qiu
++ 2015 Robbie Harwood
++License: BSD-2-clause
++
++Files: plugin/file_key_management/*
++Copyright: 2002-2012 eperi GmbH
++License: GPL-2
++
++Files: storage/mroonga/*
++Copyright: 2011-2015 Kouhei Sutou <kou@clear-code.com>
++ 2011-2013 Kentoku SHIBA
++ 2010 Tetsuro IKEDA
++ 2014 Kenji Maruyama <mmmaru777@gmail.com>
++ 2014-2015 Naoya Murakami <naoya@createfield.com>
++License: LGPL-2.1+
++
++Files: storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/*
++Copyright: 2009-2015 Brazil
++License: LGPL-2.1+
++
++Files: storage/spider/*
++Copyright: 2008-2015 Kentoku Shiba
++License: GPL-2
++
++Files: strings/ctype-win1250ch.c
++Copyright: 2002-2010 Oracle and/or its affiliates.
++ 2001 Jan Pazdziora
++License: GPL-2
++
++Files: strings/ctype-tis620.c
++Copyright: 1998 Theppitak Karoonboonyanan <thep@links.nectec.or.th>
++ 1989-1991 Samphan Raruenrom <samphan@thai.com>
++ 2000-2010 Oracle and/or its affiliates.
++ 2003 Sathit Jittanupat
++ 2001 Korakot Chaovavanich <korakot@iname.com> and
++ 1998-1999 Pruet Boonma <pruet@eng.cmu.ac.th>
++License: GPL-2
++
++Files: storage/innobase/handler/ha_innodb.h
++Copyright: 2000-2010 MySQL AB & Innobase Oy.
++License: GPL-2
++
++Files: strings/dtoa.c
++Copyright: 2007-2012 Oracle and/or its affiliates.
++ 1991,2000-2001 Lucent Technologies
++License: LGPL
++
++Files: scripts/mysqldumpslow.sh
 +Copyright:
++ 2000-2002,2005-2008 MySQL AB
++ 2008-2009 Sun Microsystems Inc
++License: LGPL
++
++Files: libmysqld/lib_sql.cc
++Copyright: 2000 SWsoft  company
++License: SWsoft
++ This material is provided "as is", with absolutely no warranty expressed
++ or implied. Any use is at your own risk.
++ .
++ Permission to use or copy this software for any purpose is hereby granted
++ without fee, provided the above notices are retained on all copies.
++ Permission to modify the code and to distribute modified code is granted,
++ provided the above notices are retained, and a notice that the code was
++ modified is included with the above copyright notice.
++
++Files: tests/mail_to_db.pl
++Copyright: 1998 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB
++License: public-domain
++
++Files: scripts/mysqlaccess.conf
++Copyright: 1997, Yves.Carlier@rug.ac.be
++License: GPL-2
++
++Files: debian/additions/innotop/*
++Copyright: 2006-2009, Baron Schwartz <baron@xaprb.com>
++License: GPL-2 or Artistic
++
++Files: include/mysql_version.h.in
++Copyright: 1996, 1999, 2001 MySQL AB
++License: public-domain
++
++Files: storage/federatedx/*
++Copyright:
++ 2007 Antony T Curtis
++ 2008-2009 Patrick Galbraith
++License: BSD-3-clause
++
++Files: cmake/systemd.cmake
++ scripts/mariadb-service-convert
++Copyright: 2015 Daniel Black
++License: GPL-2
++
++Files: wsrep-lib/*
++ sql/wsrep_*
++ scripts/wsrep_*
++Copyright: 2008-2019 Codership Oy <http://www.codership.com>
++License: GPL-2
++
++Files: libmariadb/*
++Copyright:
++ 2000-2012 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
++ 2006-2011 The PHP Group
++ 2012-2013 Monty Program AB
++ 2014-2020 MariaDB Corporation Ab
++ 2014 Kristian Nielsen & MariaDB Corporation
++License: LGPL-2+
++
++Files: libmariadb/libmariadb/mariadb_dyncol.*
++Copyright:
++ 2011-2012 Oleksandr Byelkin
++ 2011-2013 Monty Program Ab
++License: BSD-2-clause
++
++Files: libmariadb/libmariadb/ma_dtoa.*
++Copyright:
++ 1991, 2000-2001, Lucent Technologies
++ 2007, 2012, Oracle and/or its affiliates.
++License: LGPL
++
++Files: libmariadb/unittest/libmariadb/getopt.*
++Copyright:
++ 1989-1994, Free Software Foundation, Inc
++License: LGPL-2+
++
++Files: libmariadb/cmake/FindIconv.cmake
++Copyright:
++ 2010, Michael Bell <michael.bell@web.de>
++License: BSD-2-Clause
++
++Files: storage/archive/azio.c
++ storage/archive/azlib.h
++ zlib/*
++ libmariadb/zlib/*
++Copyright:
++ 1995-2005 Jean-loup Gailly
++ 1995-2005 Mark Adler
++License: zlib/libpng
++  This software is provided 'as-is', without any express or implied
++  warranty.  In no event will the authors be held liable for any damages
++  arising from the use of this software.
++  .
++  Permission is granted to anyone to use this software for any purpose,
++  including commercial applications, and to alter it and redistribute it
++  freely, subject to the following restrictions:
++  .
++  1. The origin of this software must not be misrepresented; you must not
++     claim that you wrote the original software. If you use this software
++     in a product, an acknowledgment in the product documentation would be
++     appreciated but is not required.
++  2. Altered source versions must be plainly marked as such, and must not be
++     misrepresented as being the original software.
++  3. This notice may not be removed or altered from any source distribution.
++
++Files: */CMakeLists.txt
++Copyright:
++ 2006-2011,2013 Oracle and/or its affiliates
++ 2009, 2010 Sun Microsystems, Inc
++ 2006,2007 MySQL AB
++License: GPL-2
++
++Files: mysys/CMakeLists.txt
++Copyright: 2006, 2014, Oracle and/or its affiliates
++License: GPL-2
++
++Files: plugin/server_audit/CMakeLists.txt
++Copyright: 2013 Alexey Botchkov and SkySQL Ab
++License: GPL-2
++
++Files: zlib/CMakeLists.txt
++Copyright: 2006, 2014, Oracle and/or its affiliates
++License: GPL-2
++
++License: GPL-2
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; version 2 of the License.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ On Debian and systems the full text of the GNU General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/GPL-2`
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 +
- To allow free software with other licences than the GPL to link against the
- shared library, special terms for "derived works" are granted in the README file of MySQL 5.5, as follows:
++License: GPL-2+
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2 of the License, or
++ (at your option) any later version.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ On Debian and systems the full text of the GNU General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/GPL-2`
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 +
- > MySQL FOSS License Exception
- > We want free and open source software applications under certain
- > licenses to be able to use specified GPL-licensed MySQL client
- > libraries despite the fact that not all such FOSS licenses are
- > compatible with version 2 of the GNU General Public License.
- > Therefore there are special exceptions to the terms and conditions
- > of the GPLv2 as applied to these client libraries, which are
- > identified and described in more detail in the FOSS License
- > Exception at
- > <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
++License: LGPL
++ This library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Library General Public
++ License as published by the Free Software Foundation; version 2
++ of the License.
++ .
++ This library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Library General Public License for more details.
++ .
++ You should have received a copy of the GNU Library General Public
++ License along with this library; if not, write to the Free
++ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
++ MA 02110-1301, USA
++ .
++ On Debian and systems the full text of the GNU Library General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/LGPL-2`
 +
- The manual had to be removed as it is not free in the sense of the
- Debian Free Software Guidelines (DFSG).
++License: LGPL-2
++ This library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Library General Public
++ License as published by the Free Software Foundation; version 2
++ of the License.
++ .
++ This library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Library General Public License for more details.
++ .
++ You should have received a copy of the GNU Library General Public
++ License along with this library; if not, write to the Free
++ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
++ MA 02110-1301, USA
++ .
++ On Debian and systems the full text of the GNU Library General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/LGPL-2`
 +
- == innotop ==
++License: LGPL-2+
++ This library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Library General Public
++ License as published by the Free Software Foundation; either
++ version 2 of the License, or (at your option) any later version.
++ .
++ This library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Library General Public License for more details.
++ .
++ You should have received a copy of the GNU Library General Public
++ License along with this library; if not see <https://www.gnu.org/licenses>
++ or write to the Free Software Foundation, Inc.,
++ 51 Franklin St., Fifth Floor, Boston, MA 02110, USA
++ .
++ On Debian systems, the complete text of the GNU Library General Public
++ License version 2 can be found in "/usr/share/common-licenses/LGPL-2".
 +
++License: LGPL-2.1+
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU Lesser General Public License as published by
++ the Free Software Foundation; either version 2.1, or (at your option)
++ any later version.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU Lesser General Public License along
++ with this program; if not, write to the Free Software Foundation,
++ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
++ .
++ On Debian and systems the full text of the GNU Library General Public
++ License version 2.1 can be found in the file
++ `/usr/share/common-licenses/LGPL-2.1`
 +
- Copyright 2006-2009, Baron Schwartz <baron@xaprb.com>
- URL:    http://innotop.sourceforge.net
++License: BSD-2-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are
++ met:
++ .
++  1. Redistributions of source code must retain the above copyright
++  notice, this list of conditions and the following disclaimer.
++ .
++  2. Redistributions in binary form must the following disclaimer in
++    the documentation and/or other materials provided with the
++    distribution.
 +
- License:
- > This software is dual licensed, either GPL version 2 or Artistic License.
- >
- > This package is free software; you can redistribute it and/or modify
- > it under the terms of the GNU General Public License as published by
- > the Free Software Foundation; either version 2 of the License, or
- > (at your option) any later version.
- >
- > This package is distributed in the hope that it will be useful,
- > but WITHOUT ANY WARRANTY; without even the implied warranty of
- > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- > GNU General Public License for more details.
- >
- > You should have received a copy of the GNU General Public License
- > along with this package; if not, write to the Free Software
- > Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1335 USA
++License: BSD-3-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++    notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++    notice, this list of conditions and the following disclaimer in the
++    documentation and/or other materials provided with the distribution.
++ 3. Neither the name of the University nor the names of its contributors
++    may be used to endorse or promote products derived from this software
++    without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ SUCH DAMAGE.
 +
- On Debian systems, the complete text of the GNU General Public License and the
- Artistic License can be found in `/usr/share/common-licenses/'.
++License: Artistic
++ The "Artistic License"
++ .
++ Preamble
++ .
++ The intent of this document is to state the conditions under which a
++ Package may be copied, such that the Copyright Holder maintains some
++ semblance of artistic control over the development of the package,
++ while giving the users of the package the right to use and distribute
++ the Package in a more-or-less customary fashion, plus the right to make
++ reasonable modifications.
++ .
++ Definitions:
++ .
++ "Package" refers to the collection of files distributed by the
++ Copyright Holder, and derivatives of that collection of files
++ created through textual modification.
++ .
++ "Standard Version" refers to such a Package if it has not been
++ modified, or has been modified in accordance with the wishes
++ of the Copyright Holder as specified below.
++ .
++ "Copyright Holder" is whoever is named in the copyright or
++ copyrights for the package.
++ .
++ "You" is you, if you're thinking about copying or distributing
++ this Package.
++ .
++ "Reasonable copying fee" is whatever you can justify on the
++ basis of media cost, duplication charges, time of people involved,
++ and so on.  (You will not be required to justify it to the
++ Copyright Holder, but only to the computing community at large
++ as a market that must bear the fee.)
++ .
++ "Freely Available" means that no fee is charged for the item
++ itself, though there may be fees involved in handling the item.
++ It also means that recipients of the item may redistribute it
++ under the same conditions they received it.
++ .
++ 1. You may make and give away verbatim copies of the source form of the
++ Standard Version of this Package without restriction, provided that you
++ duplicate all of the original copyright notices and associated disclaimers.
++ .
++ 2. You may apply bug fixes, portability fixes and other modifications
++ derived from the Public Domain or from the Copyright Holder.  A Package
++ modified in such a way shall still be considered the Standard Version.
++ .
++ 3. You may otherwise modify your copy of this Package in any way, provided
++ that you insert a prominent notice in each changed file stating how and
++ when you changed that file, and provided that you do at least ONE of the
++ following:
++ .
++     a) place your modifications in the Public Domain or otherwise make them
++     Freely Available, such as by posting said modifications to Usenet or
++     an equivalent medium, or placing the modifications on a major archive
++     site such as uunet.uu.net, or by allowing the Copyright Holder to include
++     your modifications in the Standard Version of the Package.
++ .
++     b) use the modified Package only within your corporation or organization.
++ .
++     c) rename any non-standard executables so the names do not conflict
++     with standard executables, which must also be provided, and provide
++     a separate manual page for each non-standard executable that clearly
++     documents how it differs from the Standard Version.
++ .
++     d) make other distribution arrangements with the Copyright Holder.
++ .
++ 4. You may distribute the programs of this Package in object code or
++ executable form, provided that you do at least ONE of the following:
++ .
++     a) distribute a Standard Version of the executables and library files,
++     together with instructions (in the manual page or equivalent) on where
++     to get the Standard Version.
++ .
++     b) accompany the distribution with the machine-readable source of
++     the Package with your modifications.
++ .
++     c) give non-standard executables non-standard names, and clearly
++     document the differences in manual pages (or equivalent), together
++     with instructions on where to get the Standard Version.
++ .
++     d) make other distribution arrangements with the Copyright Holder.
++ .
++ 5. You may charge a reasonable copying fee for any distribution of this
++ Package.  You may charge any fee you choose for support of this
++ Package.  You may not charge a fee for this Package itself.  However,
++ you may distribute this Package in aggregate with other (possibly
++ commercial) programs as part of a larger (possibly commercial) software
++ distribution provided that you do not advertise this Package as a
++ product of your own.  You may embed this Package's interpreter within
++ an executable of yours (by linking); this shall be construed as a mere
++ form of aggregation, provided that the complete Standard Version of the
++ interpreter is so embedded.
++ .
++ 6. The scripts and library files supplied as input to or produced as
++ output from the programs of this Package do not automatically fall
++ under the copyright of this Package, but belong to whoever generated
++ them, and may be sold commercially, and may be aggregated with this
++ Package.  If such scripts or library files are aggregated with this
++ Package via the so-called "undump" or "unexec" methods of producing a
++ binary executable image, then distribution of such an image shall
++ neither be construed as a distribution of this Package nor shall it
++ fall under the restrictions of Paragraphs 3 and 4, provided that you do
++ not represent such an executable image as a Standard Version of this
++ Package.
++ .
++ 7. C subroutines (or comparably compiled subroutines in other
++ languages) supplied by you and linked into this Package in order to
++ emulate subroutines and variables of the language defined by this
++ Package shall not be considered part of this Package, but are the
++ equivalent of input as in Paragraph 6, provided these subroutines do
++ not change the language in any way that would cause it to fail the
++ regression tests for the language.
++ .
++ 8. Aggregation of this Package with a commercial distribution is always
++ permitted provided that the use of this Package is embedded; that is,
++ when no overt attempt is made to make this Package's interfaces visible
++ to the end user of the commercial distribution.  Such use shall not be
++ construed as a distribution of this Package.
++ .
++ 9. The name of the Copyright Holder may not be used to endorse or promote
++ products derived from this software without specific prior written permission.
++ .
++ 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
++ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
++ WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
++ .
++ The End
 +
++License: public-domain
++ The work is public domain (no license).
diff --cc debian/gbp.conf
index a5af3e1f7e8fde87cd6af213ede350fbae357daf,0000000000000000000000000000000000000000..11bd29b5572106db58a5b80f4a6ec0967ef5a67e
mode 100644,000000..100644
--- /dev/null
@@@ -1,5 -1,0 +1,16 @@@
- # to Debian packaging
 +[DEFAULT]
 +# Ignore requirement to use branch name 'master' to make it easier
 +# for contributors to work with feature and bugfix branches
 +ignore-branch = True
++
++# Always sign everything
++sign-tags = True
++upstream-signatures = on
++
++# DEP-14 format
++debian-branch = debian/latest
++upstream-branch = 10.6
++upstream-tag = mariadb-%(version)s
++
++# MariaDB has submodules
++submodules = True
index 1e52e2acfdca42291288f8d7485d6431f42f094b,0000000000000000000000000000000000000000..1926bff45985f42976f01ac26865a4d7b2123983
mode 100644,000000..100644
--- /dev/null
@@@ -1,33 -1,0 +1,34 @@@
- usr/include/mariadb/mariadb/
++usr/bin/mariadb-config
 +usr/bin/mariadb_config
 +usr/include/mariadb/errmsg.h
 +usr/include/mariadb/ma_list.h
 +usr/include/mariadb/ma_pvio.h
 +usr/include/mariadb/ma_tls.h
 +usr/include/mariadb/mariadb/ma_io.h
 +usr/include/mariadb/mariadb_com.h
 +usr/include/mariadb/mariadb_ctype.h
 +usr/include/mariadb/mariadb_dyncol.h
 +usr/include/mariadb/mariadb_rpl.h
 +usr/include/mariadb/mariadb_stmt.h
 +usr/include/mariadb/mariadb_version.h
 +usr/include/mariadb/my_config.h
 +usr/include/mariadb/my_global.h
 +usr/include/mariadb/my_sys.h
 +usr/include/mariadb/mysql.h
 +usr/include/mariadb/mysql/
 +usr/include/mariadb/mysql/client_plugin.h
 +usr/include/mariadb/mysql/plugin_auth.h
 +usr/include/mariadb/mysql/plugin_auth_common.h
 +usr/include/mariadb/mysql_com.h
 +usr/include/mariadb/mysql_version.h
 +usr/include/mariadb/mysqld_error.h
 +usr/lib/*/libmariadb.a
 +usr/lib/*/libmariadb.so
 +usr/lib/*/libmariadbclient.a
 +usr/lib/*/libmariadbclient.so
 +usr/lib/*/libmysqlservices.a
 +usr/lib/*/pkgconfig/libmariadb.pc
++usr/lib/*/pkgconfig/mariadb.pc
 +usr/share/aclocal/mysql.m4
 +usr/share/man/man1/mariadb_config.1
 +usr/share/man/man1/mysql_config.1
index 31a5f655555ea0d1f766d499c045018338dfd569,0000000000000000000000000000000000000000..b6d84cc8369eed7c374a15e326e89053d0066563
mode 100644,000000..100644
--- /dev/null
@@@ -1,2 -1,0 +1,1 @@@
- usr/bin/mariadb_config usr/bin/mariadb-config
 +usr/share/man/man1/mariadb_config.1.gz usr/share/man/man1/mariadb-config.1.gz
index 345b537a52171757d4152e13496ef2100d5e22f7,0000000000000000000000000000000000000000..054a3281b1220b536d0d63c4667f761e734c8ef9
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,2 @@@
- arch-dependent-file-not-in-arch-specific-directory usr/bin/mariadb_config
++# This is how upstream does it, wont' fix
++repeated-path-segment mariadb usr/include/mariadb/mariadb/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..783c6a35df1ac9e5634fdd317a87a14b2f108e2a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,338 @@@
++libmariadb.so.3 libmariadb3 #MINVER#
++* Build-Depends-Package: libmariadb-dev
++ libmariadb_3@libmariadb_3 3.0.0
++ libmariadbclient_18@libmariadbclient_18 3.0.0
++ libmysqlclient_18@libmysqlclient_18 3.0.0
++ ma_pvio_register_callback@libmariadb_3 3.0.0
++ mariadb_cancel@libmariadb_3 3.0.0
++ mariadb_connection@libmariadb_3 3.0.0
++ mariadb_convert_string@libmariadb_3 3.0.0
++ mariadb_deinitialize_ssl@libmariadb_3 3.0.0
++ mariadb_field_attr@libmariadb_3 3.1.8
++ mariadb_free_rpl_event@libmariadb_3 3.1.0
++ mariadb_get_charset_by_name@libmariadb_3 3.0.0
++ mariadb_get_charset_by_nr@libmariadb_3 3.0.0
++ mariadb_get_info@libmariadb_3 3.0.0
++ mariadb_get_infov@libmariadb_3 3.0.0
++ mariadb_reconnect@libmariadb_3 3.0.0
++ mariadb_rpl_close@libmariadb_3 3.1.0
++ mariadb_rpl_fetch@libmariadb_3 3.1.0
++ mariadb_rpl_get_optionsv@libmariadb_3 3.1.0
++ mariadb_rpl_init_ex@libmariadb_3 3.1.13
++ mariadb_rpl_open@libmariadb_3 3.1.0
++ mariadb_rpl_optionsv@libmariadb_3 3.1.0
++ mariadb_stmt_execute_direct@libmariadb_3 3.0.0
++ mariadb_stmt_fetch_fields@libmariadb_3 3.1.0
++ mysql_affected_rows@libmariadbclient_18 3.0.0
++ mysql_affected_rows@libmysqlclient_18 3.0.0
++ mysql_autocommit_cont@libmariadb_3 3.0.0
++ mysql_autocommit@libmariadbclient_18 3.0.0
++ mysql_autocommit@libmysqlclient_18 3.0.0
++ mysql_autocommit_start@libmariadb_3 3.0.0
++ mysql_change_user_cont@libmariadb_3 3.0.0
++ mysql_change_user@libmariadbclient_18 3.0.0
++ mysql_change_user@libmysqlclient_18 3.0.0
++ mysql_change_user_start@libmariadb_3 3.0.0
++ mysql_character_set_name@libmariadbclient_18 3.0.0
++ mysql_character_set_name@libmysqlclient_18 3.0.0
++ mysql_client_find_plugin@libmariadbclient_18 3.0.0
++ mysql_client_find_plugin@libmysqlclient_18 3.0.0
++ mysql_client_register_plugin@libmariadbclient_18 3.0.0
++ mysql_client_register_plugin@libmysqlclient_18 3.0.0
++ mysql_close_cont@libmariadb_3 3.0.0
++ mysql_close@libmariadbclient_18 3.0.0
++ mysql_close@libmysqlclient_18 3.0.0
++ mysql_close_start@libmariadb_3 3.0.0
++ mysql_commit_cont@libmariadb_3 3.0.0
++ mysql_commit@libmariadbclient_18 3.0.0
++ mysql_commit@libmysqlclient_18 3.0.0
++ mysql_commit_start@libmariadb_3 3.0.0
++ mysql_data_seek@libmariadbclient_18 3.0.0
++ mysql_data_seek@libmysqlclient_18 3.0.0
++ mysql_debug@libmariadbclient_18 3.0.0
++ mysql_debug@libmysqlclient_18 3.0.0
++ mysql_dump_debug_info_cont@libmariadb_3 3.0.0
++ mysql_dump_debug_info@libmariadbclient_18 3.0.0
++ mysql_dump_debug_info@libmysqlclient_18 3.0.0
++ mysql_dump_debug_info_start@libmariadb_3 3.0.0
++ mysql_embedded@libmariadbclient_18 3.0.0
++ mysql_embedded@libmysqlclient_18 3.0.0
++ mysql_eof@libmariadbclient_18 3.0.0
++ mysql_eof@libmysqlclient_18 3.0.0
++ mysql_errno@libmariadbclient_18 3.0.0
++ mysql_errno@libmysqlclient_18 3.0.0
++ mysql_error@libmariadbclient_18 3.0.0
++ mysql_error@libmysqlclient_18 3.0.0
++ mysql_escape_string@libmariadbclient_18 3.0.0
++ mysql_escape_string@libmysqlclient_18 3.0.0
++ mysql_fetch_field_direct@libmariadbclient_18 3.0.0
++ mysql_fetch_field_direct@libmysqlclient_18 3.0.0
++ mysql_fetch_field@libmariadbclient_18 3.0.0
++ mysql_fetch_field@libmysqlclient_18 3.0.0
++ mysql_fetch_fields@libmariadbclient_18 3.0.0
++ mysql_fetch_fields@libmysqlclient_18 3.0.0
++ mysql_fetch_lengths@libmariadbclient_18 3.0.0
++ mysql_fetch_lengths@libmysqlclient_18 3.0.0
++ mysql_fetch_row_cont@libmariadb_3 3.0.0
++ mysql_fetch_row@libmariadbclient_18 3.0.0
++ mysql_fetch_row@libmysqlclient_18 3.0.0
++ mysql_fetch_row_start@libmariadb_3 3.0.0
++ mysql_field_count@libmariadbclient_18 3.0.0
++ mysql_field_count@libmysqlclient_18 3.0.0
++ mysql_field_seek@libmariadbclient_18 3.0.0
++ mysql_field_seek@libmysqlclient_18 3.0.0
++ mysql_field_tell@libmariadbclient_18 3.0.0
++ mysql_field_tell@libmysqlclient_18 3.0.0
++ mysql_free_result_cont@libmariadb_3 3.0.0
++ mysql_free_result@libmariadbclient_18 3.0.0
++ mysql_free_result@libmysqlclient_18 3.0.0
++ mysql_free_result_start@libmariadb_3 3.0.0
++ mysql_get_character_set_info@libmariadbclient_18 3.0.0
++ mysql_get_character_set_info@libmysqlclient_18 3.0.0
++ mysql_get_charset_by_name@libmariadbclient_18 3.0.0
++ mysql_get_charset_by_name@libmysqlclient_18 3.0.0
++ mysql_get_charset_by_nr@libmariadbclient_18 3.0.0
++ mysql_get_charset_by_nr@libmysqlclient_18 3.0.0
++ mysql_get_client_info@libmariadbclient_18 3.0.0
++ mysql_get_client_info@libmysqlclient_18 3.0.0
++ mysql_get_client_version@libmariadbclient_18 3.0.0
++ mysql_get_client_version@libmysqlclient_18 3.0.0
++ mysql_get_host_info@libmariadbclient_18 3.0.0
++ mysql_get_host_info@libmysqlclient_18 3.0.0
++ mysql_get_option@libmariadbclient_18 3.0.0
++ mysql_get_option@libmysqlclient_18 3.0.0
++ mysql_get_optionv@libmariadbclient_18 3.0.0
++ mysql_get_optionv@libmysqlclient_18 3.0.0
++ mysql_get_parameters@libmariadbclient_18 3.0.0
++ mysql_get_parameters@libmysqlclient_18 3.0.0
++ mysql_get_proto_info@libmariadbclient_18 3.0.0
++ mysql_get_proto_info@libmysqlclient_18 3.0.0
++ mysql_get_server_info@libmariadbclient_18 3.0.0
++ mysql_get_server_info@libmysqlclient_18 3.0.0
++ mysql_get_server_name@libmariadbclient_18 3.0.0
++ mysql_get_server_name@libmysqlclient_18 3.0.0
++ mysql_get_server_version@libmariadbclient_18 3.0.0
++ mysql_get_server_version@libmysqlclient_18 3.0.0
++ mysql_get_socket@libmariadbclient_18 3.0.0
++ mysql_get_socket@libmysqlclient_18 3.0.0
++ mysql_get_ssl_cipher@libmariadbclient_18 3.0.0
++ mysql_get_ssl_cipher@libmysqlclient_18 3.0.0
++ mysql_get_timeout_value@libmariadb_3 3.0.19
++ mysql_get_timeout_value_ms@libmariadb_3 3.0.19
++ mysql_hex_string@libmariadbclient_18 3.0.0
++ mysql_hex_string@libmysqlclient_18 3.0.0
++ mysql_info@libmariadbclient_18 3.0.0
++ mysql_info@libmysqlclient_18 3.0.0
++ mysql_init@libmariadbclient_18 3.0.0
++ mysql_init@libmysqlclient_18 3.0.0
++ mysql_insert_id@libmariadbclient_18 3.0.0
++ mysql_insert_id@libmysqlclient_18 3.0.0
++ mysql_kill_cont@libmariadb_3 3.0.0
++ mysql_kill@libmariadbclient_18 3.0.0
++ mysql_kill@libmysqlclient_18 3.0.0
++ mysql_kill_start@libmariadb_3 3.0.0
++ mysql_list_dbs@libmariadbclient_18 3.0.0
++ mysql_list_dbs@libmysqlclient_18 3.0.0
++ mysql_list_fields_cont@libmariadb_3 3.0.0
++ mysql_list_fields@libmariadbclient_18 3.0.0
++ mysql_list_fields@libmysqlclient_18 3.0.0
++ mysql_list_fields_start@libmariadb_3 3.0.0
++ mysql_list_processes@libmariadbclient_18 3.0.0
++ mysql_list_processes@libmysqlclient_18 3.0.0
++ mysql_list_tables@libmariadbclient_18 3.0.0
++ mysql_list_tables@libmysqlclient_18 3.0.0
++ mysql_load_plugin@libmariadbclient_18 3.0.0
++ mysql_load_plugin@libmysqlclient_18 3.0.0
++ mysql_load_plugin_v@libmariadbclient_18 3.0.0
++ mysql_load_plugin_v@libmysqlclient_18 3.0.0
++ mysql_more_results@libmariadbclient_18 3.0.0
++ mysql_more_results@libmysqlclient_18 3.0.0
++ mysql_net_field_length@libmariadbclient_18 3.0.0
++ mysql_net_field_length@libmysqlclient_18 3.0.0
++ mysql_net_read_packet@libmariadbclient_18 3.0.0
++ mysql_net_read_packet@libmysqlclient_18 3.0.0
++ mysql_next_result_cont@libmariadb_3 3.0.0
++ mysql_next_result@libmariadbclient_18 3.0.0
++ mysql_next_result@libmysqlclient_18 3.0.0
++ mysql_next_result_start@libmariadb_3 3.0.0
++ mysql_num_fields@libmariadbclient_18 3.0.0
++ mysql_num_fields@libmysqlclient_18 3.0.0
++ mysql_num_rows@libmariadbclient_18 3.0.0
++ mysql_num_rows@libmysqlclient_18 3.0.0
++ mysql_options4@libmariadbclient_18 3.0.0
++ mysql_options4@libmysqlclient_18 3.0.0
++ mysql_options@libmariadbclient_18 3.0.0
++ mysql_options@libmysqlclient_18 3.0.0
++ mysql_optionsv@libmariadb_3 3.0.0
++ mysql_ping_cont@libmariadb_3 3.0.0
++ mysql_ping@libmariadbclient_18 3.0.0
++ mysql_ping@libmysqlclient_18 3.0.0
++ mysql_ping_start@libmariadb_3 3.0.0
++ mysql_ps_fetch_functions@libmariadb_3 3.0.0
++ mysql_query_cont@libmariadb_3 3.0.0
++ mysql_query@libmariadbclient_18 3.0.0
++ mysql_query@libmysqlclient_18 3.0.0
++ mysql_query_start@libmariadb_3 3.0.0
++ mysql_read_query_result_cont@libmariadb_3 3.0.0
++ mysql_read_query_result@libmariadbclient_18 3.0.0
++ mysql_read_query_result@libmysqlclient_18 3.0.0
++ mysql_read_query_result_start@libmariadb_3 3.0.0
++ mysql_real_connect_cont@libmariadb_3 3.0.0
++ mysql_real_connect@libmariadbclient_18 3.0.0
++ mysql_real_connect@libmysqlclient_18 3.0.0
++ mysql_real_connect_start@libmariadb_3 3.0.0
++ mysql_real_escape_string@libmariadbclient_18 3.0.0
++ mysql_real_escape_string@libmysqlclient_18 3.0.0
++ mysql_real_query_cont@libmariadb_3 3.0.0
++ mysql_real_query@libmariadbclient_18 3.0.0
++ mysql_real_query@libmysqlclient_18 3.0.0
++ mysql_real_query_start@libmariadb_3 3.0.0
++ mysql_refresh_cont@libmariadb_3 3.0.0
++ mysql_refresh@libmariadbclient_18 3.0.0
++ mysql_refresh@libmysqlclient_18 3.0.0
++ mysql_refresh_start@libmariadb_3 3.0.0
++ mysql_reset_connection_cont@libmariadb_3 3.0.0
++ mysql_reset_connection@libmariadbclient_18 3.0.0
++ mysql_reset_connection@libmysqlclient_18 3.0.0
++ mysql_reset_connection_start@libmariadb_3 3.0.0
++ mysql_rollback_cont@libmariadb_3 3.0.0
++ mysql_rollback@libmariadbclient_18 3.0.0
++ mysql_rollback@libmysqlclient_18 3.0.0
++ mysql_rollback_start@libmariadb_3 3.0.0
++ mysql_row_seek@libmariadbclient_18 3.0.0
++ mysql_row_seek@libmysqlclient_18 3.0.0
++ mysql_row_tell@libmariadbclient_18 3.0.0
++ mysql_row_tell@libmysqlclient_18 3.0.0
++ mysql_select_db_cont@libmariadb_3 3.0.0
++ mysql_select_db@libmariadbclient_18 3.0.0
++ mysql_select_db@libmysqlclient_18 3.0.0
++ mysql_select_db_start@libmariadb_3 3.0.0
++ mysql_send_query_cont@libmariadb_3 3.0.0
++ mysql_send_query@libmariadbclient_18 3.0.0
++ mysql_send_query@libmysqlclient_18 3.0.0
++ mysql_send_query_start@libmariadb_3 3.0.0
++ mysql_server_end@libmariadbclient_18 3.0.0
++ mysql_server_end@libmysqlclient_18 3.0.0
++ mysql_server_init@libmariadbclient_18 3.0.0
++ mysql_server_init@libmysqlclient_18 3.0.0
++ mysql_session_track_get_first@libmariadbclient_18 3.0.0
++ mysql_session_track_get_first@libmysqlclient_18 3.0.0
++ mysql_session_track_get_next@libmariadbclient_18 3.0.0
++ mysql_session_track_get_next@libmysqlclient_18 3.0.0
++ mysql_set_character_set_cont@libmariadb_3 3.0.0
++ mysql_set_character_set@libmariadbclient_18 3.0.0
++ mysql_set_character_set@libmysqlclient_18 3.0.0
++ mysql_set_character_set_start@libmariadb_3 3.0.0
++ mysql_set_local_infile_default@libmariadbclient_18 3.0.0
++ mysql_set_local_infile_default@libmysqlclient_18 3.0.0
++ mysql_set_local_infile_handler@libmariadbclient_18 3.0.0
++ mysql_set_local_infile_handler@libmysqlclient_18 3.0.0
++ mysql_set_server_option_cont@libmariadb_3 3.0.0
++ mysql_set_server_option@libmariadbclient_18 3.0.0
++ mysql_set_server_option@libmysqlclient_18 3.0.0
++ mysql_set_server_option_start@libmariadb_3 3.0.0
++ mysql_shutdown_cont@libmariadb_3 3.0.0
++ mysql_shutdown@libmariadbclient_18 3.0.0
++ mysql_shutdown@libmysqlclient_18 3.0.0
++ mysql_shutdown_start@libmariadb_3 3.0.0
++ mysql_sqlstate@libmariadbclient_18 3.0.0
++ mysql_sqlstate@libmysqlclient_18 3.0.0
++ mysql_ssl_set@libmariadbclient_18 3.0.0
++ mysql_ssl_set@libmysqlclient_18 3.0.0
++ mysql_stat_cont@libmariadb_3 3.0.0
++ mysql_stat@libmariadbclient_18 3.0.0
++ mysql_stat@libmysqlclient_18 3.0.0
++ mysql_stat_start@libmariadb_3 3.0.0
++ mysql_stmt_affected_rows@libmariadbclient_18 3.0.0
++ mysql_stmt_affected_rows@libmysqlclient_18 3.0.0
++ mysql_stmt_attr_get@libmariadbclient_18 3.0.0
++ mysql_stmt_attr_get@libmysqlclient_18 3.0.0
++ mysql_stmt_attr_set@libmariadbclient_18 3.0.0
++ mysql_stmt_attr_set@libmysqlclient_18 3.0.0
++ mysql_stmt_bind_param@libmariadbclient_18 3.0.0
++ mysql_stmt_bind_param@libmysqlclient_18 3.0.0
++ mysql_stmt_bind_result@libmariadbclient_18 3.0.0
++ mysql_stmt_bind_result@libmysqlclient_18 3.0.0
++ mysql_stmt_close_cont@libmariadb_3 3.0.0
++ mysql_stmt_close@libmariadbclient_18 3.0.0
++ mysql_stmt_close@libmysqlclient_18 3.0.0
++ mysql_stmt_close_start@libmariadb_3 3.0.0
++ mysql_stmt_data_seek@libmariadbclient_18 3.0.0
++ mysql_stmt_data_seek@libmysqlclient_18 3.0.0
++ mysql_stmt_errno@libmariadbclient_18 3.0.0
++ mysql_stmt_errno@libmysqlclient_18 3.0.0
++ mysql_stmt_error@libmariadbclient_18 3.0.0
++ mysql_stmt_error@libmysqlclient_18 3.0.0
++ mysql_stmt_execute_cont@libmariadb_3 3.0.0
++ mysql_stmt_execute@libmariadbclient_18 3.0.0
++ mysql_stmt_execute@libmysqlclient_18 3.0.0
++ mysql_stmt_execute_start@libmariadb_3 3.0.0
++ mysql_stmt_fetch_column@libmariadbclient_18 3.0.0
++ mysql_stmt_fetch_column@libmysqlclient_18 3.0.0
++ mysql_stmt_fetch_cont@libmariadb_3 3.0.0
++ mysql_stmt_fetch@libmariadbclient_18 3.0.0
++ mysql_stmt_fetch@libmysqlclient_18 3.0.0
++ mysql_stmt_fetch_start@libmariadb_3 3.0.0
++ mysql_stmt_field_count@libmariadbclient_18 3.0.0
++ mysql_stmt_field_count@libmysqlclient_18 3.0.0
++ mysql_stmt_free_result_cont@libmariadb_3 3.0.0
++ mysql_stmt_free_result@libmariadbclient_18 3.0.0
++ mysql_stmt_free_result@libmysqlclient_18 3.0.0
++ mysql_stmt_free_result_start@libmariadb_3 3.0.0
++ mysql_stmt_init@libmariadbclient_18 3.0.0
++ mysql_stmt_init@libmysqlclient_18 3.0.0
++ mysql_stmt_insert_id@libmariadbclient_18 3.0.0
++ mysql_stmt_insert_id@libmysqlclient_18 3.0.0
++ mysql_stmt_more_results@libmariadbclient_18 3.0.0
++ mysql_stmt_more_results@libmysqlclient_18 3.0.0
++ mysql_stmt_next_result_cont@libmariadb_3 3.0.0
++ mysql_stmt_next_result@libmariadbclient_18 3.0.0
++ mysql_stmt_next_result@libmysqlclient_18 3.0.0
++ mysql_stmt_next_result_start@libmariadb_3 3.0.0
++ mysql_stmt_num_rows@libmariadbclient_18 3.0.0
++ mysql_stmt_num_rows@libmysqlclient_18 3.0.0
++ mysql_stmt_param_count@libmariadbclient_18 3.0.0
++ mysql_stmt_param_count@libmysqlclient_18 3.0.0
++ mysql_stmt_param_metadata@libmariadbclient_18 3.0.0
++ mysql_stmt_param_metadata@libmysqlclient_18 3.0.0
++ mysql_stmt_prepare_cont@libmariadb_3 3.0.0
++ mysql_stmt_prepare@libmariadbclient_18 3.0.0
++ mysql_stmt_prepare@libmysqlclient_18 3.0.0
++ mysql_stmt_prepare_start@libmariadb_3 3.0.0
++ mysql_stmt_reset_cont@libmariadb_3 3.0.0
++ mysql_stmt_reset@libmariadbclient_18 3.0.0
++ mysql_stmt_reset@libmysqlclient_18 3.0.0
++ mysql_stmt_reset_start@libmariadb_3 3.0.0
++ mysql_stmt_result_metadata@libmariadbclient_18 3.0.0
++ mysql_stmt_result_metadata@libmysqlclient_18 3.0.0
++ mysql_stmt_row_seek@libmariadbclient_18 3.0.0
++ mysql_stmt_row_seek@libmysqlclient_18 3.0.0
++ mysql_stmt_row_tell@libmariadbclient_18 3.0.0
++ mysql_stmt_row_tell@libmysqlclient_18 3.0.0
++ mysql_stmt_send_long_data_cont@libmariadb_3 3.0.0
++ mysql_stmt_send_long_data@libmariadbclient_18 3.0.0
++ mysql_stmt_send_long_data@libmysqlclient_18 3.0.0
++ mysql_stmt_send_long_data_start@libmariadb_3 3.0.0
++ mysql_stmt_sqlstate@libmariadbclient_18 3.0.0
++ mysql_stmt_sqlstate@libmysqlclient_18 3.0.0
++ mysql_stmt_store_result_cont@libmariadb_3 3.0.0
++ mysql_stmt_store_result@libmariadbclient_18 3.0.0
++ mysql_stmt_store_result@libmysqlclient_18 3.0.0
++ mysql_stmt_store_result_start@libmariadb_3 3.0.0
++ mysql_stmt_warning_count@libmariadb_3 3.0.0
++ mysql_store_result_cont@libmariadb_3 3.0.0
++ mysql_store_result@libmariadbclient_18 3.0.0
++ mysql_store_result@libmysqlclient_18 3.0.0
++ mysql_store_result_start@libmariadb_3 3.0.0
++ mysql_thread_end@libmariadbclient_18 3.0.0
++ mysql_thread_end@libmysqlclient_18 3.0.0
++ mysql_thread_id@libmariadbclient_18 3.0.0
++ mysql_thread_id@libmysqlclient_18 3.0.0
++ mysql_thread_init@libmariadbclient_18 3.0.0
++ mysql_thread_init@libmysqlclient_18 3.0.0
++ mysql_thread_safe@libmariadbclient_18 3.0.0
++ mysql_thread_safe@libmysqlclient_18 3.0.0
++ mysql_use_result@libmariadbclient_18 3.0.0
++ mysql_use_result@libmysqlclient_18 3.0.0
++ mysql_warning_count@libmariadbclient_18 3.0.0
++ mysql_warning_count@libmysqlclient_18 3.0.0
index 5a4344721be8f87acfc48ea78438c9fe1c5a26ad,0000000000000000000000000000000000000000..3eebe631b9eab14c6357912b597284b1d82488ea
mode 100644,000000..100644
--- /dev/null
@@@ -1,6 -1,0 +1,5 @@@
- usr/lib/*/pkgconfig/mariadb.pc
 +usr/include/mariadb/server
 +usr/lib/*/libmariadbd.a
 +usr/lib/*/libmariadbd.so
 +usr/lib/*/libmysqld.a
 +usr/lib/*/libmysqld.so
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ed08ece8a7647be9cc7311548051bf17eae22155
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,6 @@@
++# myisam stopwords that cannot be changed and spelling errors remain
++spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 AfE Safe
++spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 noone no one
++spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 thats that's
++spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 theres there's
++spelling-error-in-binary usr/lib/x86_64-linux-gnu/libmariadbd.so.19 yuR your
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b19a71ee8288741f27042819e3a44ed1234401f4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,6 @@@
++# myisam stopwords that cannot be changed and spelling errors remain
++spelling-error-in-binary usr/bin/mariadb-backup AfE Safe
++spelling-error-in-binary usr/bin/mariadb-backup noone no one
++spelling-error-in-binary usr/bin/mariadb-backup thats that's
++spelling-error-in-binary usr/bin/mariadb-backup theres there's
++spelling-error-in-binary usr/bin/mariadb-backup yuR your
index 3a92ded15b68fd67f001ebbd2951ff86c7cbf9a2,0000000000000000000000000000000000000000..b299d3034c952e6c05eb5c2560bf3e1ebfd5c48f
mode 100644,000000..100644
--- /dev/null
@@@ -1,68 -1,0 +1,39 @@@
- usr/bin/mariadb-binlog
 +debian/additions/innotop/innotop usr/bin/
 +debian/additions/mariadb-report usr/bin/
 +debian/additions/mariadb.conf.d/50-client.cnf etc/mysql/mariadb.conf.d
 +debian/additions/mariadb.conf.d/50-mysql-clients.cnf etc/mysql/mariadb.conf.d
 +debian/additions/mariadb.conf.d/60-galera.cnf etc/mysql/mariadb.conf.d
 +usr/bin/mariadb-access
 +usr/bin/mariadb-admin
- usr/bin/mariadb-convert-table-format
 +usr/bin/mariadb-conv
- usr/bin/mariadb-hotcopy
 +usr/bin/mariadb-dump
 +usr/bin/mariadb-dumpslow
 +usr/bin/mariadb-find-rows
 +usr/bin/mariadb-fix-extensions
- usr/bin/mariadb-plugin
- usr/bin/mariadb-secure-installation
- usr/bin/mariadb-setpermission
 +usr/bin/mariadb-import
- usr/bin/mariadb-tzinfo-to-sql
 +usr/bin/mariadb-show
 +usr/bin/mariadb-slap
- usr/bin/msql2mysql
 +usr/bin/mariadb-waitpid
- usr/bin/perror
- usr/bin/replace
- usr/bin/resolve_stack_dump
 +usr/bin/mytop
- usr/share/man/man1/mariadb-binlog.1
 +usr/share/man/man1/mariadb-access.1
 +usr/share/man/man1/mariadb-admin.1
- usr/share/man/man1/mariadb-convert-table-format.1
 +usr/share/man/man1/mariadb-conv.1
- usr/share/man/man1/mariadb-hotcopy.1
 +usr/share/man/man1/mariadb-dump.1
 +usr/share/man/man1/mariadb-dumpslow.1
 +usr/share/man/man1/mariadb-find-rows.1
 +usr/share/man/man1/mariadb-fix-extensions.1
- usr/share/man/man1/mariadb-plugin.1
- usr/share/man/man1/mariadb-secure-installation.1
- usr/share/man/man1/mariadb-setpermission.1
 +usr/share/man/man1/mariadb-import.1
- usr/share/man/man1/mariadb-tzinfo-to-sql.1
 +usr/share/man/man1/mariadb-show.1
 +usr/share/man/man1/mariadb-slap.1
- usr/share/man/man1/msql2mysql.1
- usr/share/man/man1/mysql_convert_table_format.1
 +usr/share/man/man1/mariadb-waitpid.1
- usr/share/man/man1/mysql_plugin.1
- usr/share/man/man1/mysql_secure_installation.1
- usr/share/man/man1/mysql_setpermission.1
- usr/share/man/man1/mysql_tzinfo_to_sql.1
 +usr/share/man/man1/mysql_find_rows.1
 +usr/share/man/man1/mysql_fix_extensions.1
- usr/share/man/man1/mysqlbinlog.1
 +usr/share/man/man1/mysql_waitpid.1
 +usr/share/man/man1/mysqlaccess.1
 +usr/share/man/man1/mysqladmin.1
- usr/share/man/man1/mysqlhotcopy.1
 +usr/share/man/man1/mysqldump.1
 +usr/share/man/man1/mysqldumpslow.1
- usr/share/man/man1/perror.1
- usr/share/man/man1/replace.1
- usr/share/man/man1/resolve_stack_dump.1
 +usr/share/man/man1/mysqlimport.1
 +usr/share/man/man1/mysqlshow.1
 +usr/share/man/man1/mysqlslap.1
 +usr/share/man/man1/mytop.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4665a536eaae9f53da0d475920303030cfd95a0a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++# The Innotop changelog has this name for a valid reason
++wrong-name-for-upstream-changelog usr/share/doc/mariadb-client-10.6/changelog.innotop.gz
index 421b62d2a1ab4843ef41b0aa8e873a6b503d654d,0000000000000000000000000000000000000000..224e324b7041cf00821f58115c2a257464e434cd
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,6 @@@
- usr/bin/my_print_defaults
 +usr/bin/mariadb
 +usr/bin/mariadb-check
- usr/share/man/man1/my_print_defaults.1
 +usr/share/man/man1/mariadb-check.1
 +usr/share/man/man1/mariadb.1
 +usr/share/man/man1/mysql.1
 +usr/share/man/man1/mysqlcheck.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..84dfeeee0154c98531a76959f57027f2459d2898
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,20 @@@
++#!/bin/sh
++set -e
++
++if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
++    if dpkg --compare-versions "$2" lt-nl "10.0.20-3~" ; then
++
++        # revert fallback my.cnf symlink setup performed by mariadb-common
++        # from 10.0.17-1~exp2 upto 10.0.20-2
++        if [ -L /etc/mysql/my.cnf ] && [ -f /etc/mysql/my.cnf.old ]; then
++            if [ "$(readlink /etc/mysql/my.cnf)" = "mariadb.cnf" ]; then
++                echo "Reverting my.cnf -> mariadb.cnf symlink setup by mariadb-common"
++                rm /etc/mysql/my.cnf
++                mv /etc/mysql/my.cnf.old /etc/mysql/my.cnf
++            fi
++        fi
++
++    fi
++fi
++
++#DEBHELPER#
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..559f04b3c3be27387e04f0183e2ab06ce988624a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,117 @@@
++mariadb-10.6 (1:10.6.4-1) unstable; urgency=medium
++
++  Import new upstream release MariaDB 10.6.4
++  - 10.6 introduces one new status variable:
++    * Innodb_buffer_pool_pages_lru_freed
++      (https://mariadb.com/kb/en/status-variables-added-in-mariadb-106/)
++    * Resultset_metadata_skipped
++      (undocumented upstream https://mariadb.com/docs/reference/mdb/status-variables/Resultset_metadata_skipped/)
++
++    Read more at https://mariadb.com/kb/en/status-variables-added-in-mariadb-106/
++
++  - 10.6 introduces several new server variables:
++    * binlog_expire_logs_seconds
++    * innodb_deadlock_report
++    * innodb_read_only_compressed
++
++    Read more at https://mariadb.com/kb/en/system-variables-added-in-mariadb-106/
++
++  - 10.6 removes several server variables:
++    * innodb_adaptive_max_sleep_delay
++    * innodb_background_scrub_data_*
++    * innodb_buffer_pool_instances
++    * innodb_commit_concurrency
++    * innodb_concurrency_tickets
++    * innodb_file_format
++    * innodb_large_prefix
++    * innodb_lock_schedule_algorithm
++    * innodb_log_checksums
++    * innodb_log_compressed_pages
++    * innodb_log_files_in_group
++    * innodb_log_optimize_ddl
++    * innodb_page_cleaners
++    * innodb_replication_delay (*not* related to https://mariadb.com/kb/en/delayed-replication/)
++    * innodb_scrub_*
++    * innodb_sync_array_size
++    * innodb_thread_*
++    * innodb_undo_logs
++
++    Read more at https://mariadb.com/kb/en/upgrading-from-mariadb-105-to-mariadb-106/#options-that-have-been-removed-or-renamed
++
++  - 10.6 introduces new default server variable values:
++    * character sets utf8 -> utf8mb3
++    * innodb_flush_method fsync -> O_DIRECT
++    * innodb_use_native_aio ON -> OFF
++    * old_mode (none) -> UTF8_IS_UTF8MB3
++
++  - 10.6 introduces new 'sys' database and several 'sys' procedures
++
++    Read more at https://mariadb.com/kb/en/sys-schema/
++
++  - Read more about above changes at
++    https://mariadb.com/kb/en/upgrading-from-mariadb-105-to-mariadb-106/
++    https://mariadb.com/kb/en/changes-improvements-in-mariadb-106/
++
++  - Update libmariadb folder to match the one in MariaDB 10.6.4
++    (MariaDB Connector C 10.6.4)
++
++ -- Otto Kekäläinen <otto@debian.org>  Mon, 06 Sep 2021 22:55:39 -0700
++
++mariadb-10.5 (1:10.5.5-1) unstable; urgency=medium
++
++   The latest version 10.5 of the MariaDB Server came out in June 2020 and is
++   guaranteed to have security releases at least until summer 2025.
++
++   For more information on what is new in MariaDB 10.5 check out:
++   https://speakerdeck.com/ottok/debconf-2020-whats-new-in-mariadb-server-10-dot-5-and-galera-4
++   or video from https://peertube.debian.social/videos/watch/bb80cf53-d9ba-4ed9-b472-a21238fb67f5.
++
++   Quick summary:
++   - Service name is now 'mariadb', e.g. /etc/init.d/mariadb and systemctl mariadb
++   - The main server binary is now running as 'mariadbd' instead of old 'mysqld'
++   - Many commands are now mariadb-* instead of old mysql*, but old names
++     continue to work as symlinks
++   - Referencing the /etc/mysql/debian.cnf file is not advised anymore. It will
++     be deprecated in a future Debian release and has been obsolete anyway for
++     several years now since MariaDB in Debian introduced Unix socket
++     authentication for the root account in 2015.
++
++   MariaDB 10.5 has been tested to be backwards compatible with all previous
++   versions of MariaDB and all previous versions of MySQL up until version 5.7.
++   Note that MySQL 8.0 introduces significant backwards incompatible changes
++   compared to MySQL 5.7, and thus in-place binary upgrades from MySQL 8.0 to
++   MariaDB 10.5 are not possible, but sysadmins need to upgrade by exporting and
++   importing SQL dumps of their databases.
++
++   If you encounter any bugs, please make sure your bug report is of highest
++   standards so we can quickly reproduce and fix the issue. Even better if you
++   find the solution yourself, and can submit it as a Merge Request at
++   https://salsa.debian.org/mariadb-team/mariadb-10.5/
++
++   If you appreciate the Debian packaging work done, please star us on Salsa!
++
++ -- Otto Kekäläinen <otto@debian.org>  Thu, 17 Sep 2020 14:37:47 +0300
++
++mariadb-10.1 (10.1.20-1) unstable; urgency=low
++
++    MariaDB is now the default MySQL variant in Debian, at version 10.1. The
++    Stretch release introduces a new mechanism for switching the default
++    variant, using metapackages created from the 'mysql-defaults' source
++    package. For example, installing the metapackage 'default-mysql-server' will
++    install 'mariadb-server-10.1'. Users who had 'mysql-server-5.5' or
++    'mysql-server-5.6' will have it removed and replaced by the MariaDB
++    equivalent. Similarly, installing 'default-mysql-client' will install
++    'mariadb-client-10.1'.
++
++    Note that the database binary data file formats are not backwards
++    compatible, so once you have upgraded to MariaDB 10.1 you will not be able
++    to switch back to any previous version of MariaDB or MySQL unless you have a
++    proper database dump. Therefore, before upgrading, please make backups of
++    all important databases with an appropriate tool such as 'mysqldump'.
++
++    The 'virtual-mysql-*' and 'default-mysql-*' packages will continue to exist.
++    MySQL continues to be maintained in Debian, in the unstable release. See the
++    page https://wiki.debian.org/Teams/MySQL more information about the
++    mysql-related software available in Debian.
++
++ -- Otto Kekäläinen <otto@debian.org>  Tue, 14 Mar 2017 16:21:58 +0200
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cb29a54771fb71f573dfc4a2c05803e8119d7051
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++$database     mysql
index 4d15f5d8e548107dc5719d801ab903894e76c152,0000000000000000000000000000000000000000..0ed972063f96500cb8882031718b5e44997591db
mode 100644,000000..100755
--- /dev/null
@@@ -1,81 -1,0 +1,111 @@@
- lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf
- lib/systemd/system/mysql.service
- lib/systemd/system/mysqld.service
- support-files/rpm/enable_encryption.preset etc/mysql/mariadb.conf.d/99-enable-encryption.cnf.preset
++#!/usr/bin/dh-exec
 +debian/additions/debian-start etc/mysql
 +debian/additions/debian-start.inc.sh usr/share/mysql
 +debian/additions/echo_stderr usr/share/mysql
 +debian/additions/mariadb.conf.d/50-mysqld_safe.cnf etc/mysql/mariadb.conf.d
 +debian/additions/mariadb.conf.d/50-server.cnf etc/mysql/mariadb.conf.d
 +debian/additions/source_mariadb-10.6.py usr/share/apport/package-hooks
 +etc/apparmor.d/usr.sbin.mariadbd
++etc/logrotate.d/mariadb
 +etc/security/user_map.conf
 +lib/*/security/pam_user_map.so
- usr/bin/galera_new_cluster
- usr/bin/galera_recovery
- usr/bin/mariadb-service-convert
++[linux-any] lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf
++[linux-any] lib/systemd/system/mysql.service
++[linux-any] lib/systemd/system/mysqld.service
 +usr/bin/aria_chk
 +usr/bin/aria_dump_log
 +usr/bin/aria_ftdump
 +usr/bin/aria_pack
 +usr/bin/aria_read_log
- usr/lib/mysql/plugin/disks.so
++[linux-any] usr/bin/galera_new_cluster
++[linux-any] usr/bin/galera_recovery
++usr/bin/mariadb-binlog
++usr/bin/mariadb-convert-table-format
++usr/bin/mariadb-hotcopy
++usr/bin/mariadb-plugin
++usr/bin/mariadb-secure-installation
++[linux-any] usr/bin/mariadb-service-convert
++usr/bin/mariadb-setpermission
++usr/bin/mariadb-tzinfo-to-sql
 +usr/bin/mariadbd-multi
 +usr/bin/mariadbd-safe
 +usr/bin/mariadbd-safe-helper
++usr/bin/msql2mysql
 +usr/bin/myisam_ftdump
 +usr/bin/myisamchk
 +usr/bin/myisamlog
 +usr/bin/myisampack
++usr/bin/perror
++usr/bin/replace
++usr/bin/resolve_stack_dump
 +usr/bin/wsrep_sst_common
 +usr/bin/wsrep_sst_mariabackup
 +usr/bin/wsrep_sst_mysqldump
 +usr/bin/wsrep_sst_rsync
 +usr/bin/wsrep_sst_rsync_wan
 +usr/lib/mysql/plugin/auth_ed25519.so
 +usr/lib/mysql/plugin/auth_pam.so
 +usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
 +usr/lib/mysql/plugin/auth_pam_v1.so
- usr/share/man/man1/galera_new_cluster.1
- usr/share/man/man1/galera_recovery.1
- usr/share/man/man1/mariadb-service-convert.1
++[linux-any] usr/lib/mysql/plugin/disks.so
 +usr/lib/mysql/plugin/file_key_management.so
 +usr/lib/mysql/plugin/ha_archive.so
 +usr/lib/mysql/plugin/ha_blackhole.so
 +usr/lib/mysql/plugin/ha_federated.so
 +usr/lib/mysql/plugin/ha_federatedx.so
 +usr/lib/mysql/plugin/ha_sphinx.so
 +usr/lib/mysql/plugin/handlersocket.so
 +usr/lib/mysql/plugin/locales.so
 +usr/lib/mysql/plugin/metadata_lock_info.so
 +usr/lib/mysql/plugin/query_cache_info.so
 +usr/lib/mysql/plugin/query_response_time.so
 +usr/lib/mysql/plugin/server_audit.so
 +usr/lib/mysql/plugin/simple_password_check.so
 +usr/lib/mysql/plugin/sql_errlog.so
 +usr/lib/mysql/plugin/type_mysql_json.so
 +usr/lib/mysql/plugin/wsrep_info.so
 +usr/share/doc/mariadb-server-10.6/mariadbd.sym.gz
 +usr/share/man/man1/aria_chk.1
 +usr/share/man/man1/aria_dump_log.1
 +usr/share/man/man1/aria_ftdump.1
 +usr/share/man/man1/aria_pack.1
 +usr/share/man/man1/aria_read_log.1
++[linux-any] usr/share/man/man1/galera_new_cluster.1
++[linux-any] usr/share/man/man1/galera_recovery.1
++usr/share/man/man1/mariadb-binlog.1
++usr/share/man/man1/mariadb-convert-table-format.1
++usr/share/man/man1/mariadb-hotcopy.1
++usr/share/man/man1/mariadb-plugin.1
++usr/share/man/man1/mariadb-secure-installation.1
++[linux-any] usr/share/man/man1/mariadb-service-convert.1
++usr/share/man/man1/mariadb-setpermission.1
++usr/share/man/man1/mariadb-tzinfo-to-sql.1
 +usr/share/man/man1/mariadbd-multi.1
 +usr/share/man/man1/mariadbd-safe-helper.1
 +usr/share/man/man1/mariadbd-safe.1
++usr/share/man/man1/msql2mysql.1
 +usr/share/man/man1/myisam_ftdump.1
 +usr/share/man/man1/myisamchk.1
 +usr/share/man/man1/myisamlog.1
 +usr/share/man/man1/myisampack.1
++usr/share/man/man1/mysql_convert_table_format.1
++usr/share/man/man1/mysql_plugin.1
++usr/share/man/man1/mysql_secure_installation.1
++usr/share/man/man1/mysql_setpermission.1
++usr/share/man/man1/mysql_tzinfo_to_sql.1
++usr/share/man/man1/mysqlbinlog.1
 +usr/share/man/man1/mysqld_multi.1
 +usr/share/man/man1/mysqld_safe.1
 +usr/share/man/man1/mysqld_safe_helper.1
++usr/share/man/man1/mysqlhotcopy.1
++usr/share/man/man1/perror.1
++usr/share/man/man1/replace.1
++usr/share/man/man1/resolve_stack_dump.1
 +usr/share/man/man1/wsrep_sst_common.1
 +usr/share/man/man1/wsrep_sst_mariabackup.1
 +usr/share/man/man1/wsrep_sst_mysqldump.1
 +usr/share/man/man1/wsrep_sst_rsync.1
 +usr/share/man/man1/wsrep_sst_rsync_wan.1
 +usr/share/mysql/errmsg-utf8.txt
 +usr/share/mysql/wsrep.cnf
 +usr/share/mysql/wsrep_notify
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f21a7a69bf90c3796eba323dcd57df98f8f114a9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,9 @@@
++# They are in fact used, but the server version string has a macro in it
++unused-debconf-template mariadb-server-10.6/old_data_directory_saved
++unused-debconf-template mariadb-server-10.6/postrm_remove_databases
++# myisam stopwords that cannot be changed and spelling errors remain
++spelling-error-in-binary usr/bin/* noone no one
++spelling-error-in-binary usr/bin/* thats that's
++spelling-error-in-binary usr/bin/* theres there's
++# Intentional in-context documentation
++package-contains-documentation-outside-usr-share-doc usr/share/mysql/errmsg-utf8.txt
index 13800b7bce27540ccb7ec66a5a44a70f3202eb54,0000000000000000000000000000000000000000..d09a08e96150f2ba1262a1c146c0a271b549d5b4
mode 100644,000000..100644
--- /dev/null
@@@ -1,273 -1,0 +1,273 @@@
-              /usr/sbin/mariadbd --skip-innodb --key_buffer_size=0  --default-storage-engine=MyISAM --bootstrap 2> /dev/null
 +#!/bin/bash
 +set -e
 +
 +. /usr/share/debconf/confmodule
 +
 +# Automatically set version to ease maintenance of this file
 +MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}"
 +
 +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
 +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
 +
 +export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
 +
 +# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
 +ERR_LOGGER="logger -p daemon.err -t mariadb-server-$MAJOR_VER.postinst -i"
 +# Specify syslog tag name so it is clear the entry came from this postinst script.
 +# This will make an error in a logged command immediately apparent by aborting
 +# the install, rather than failing silently and leaving a broken install.
 +set -o pipefail
 +
 +case "$1" in
 +  configure)
 +    # This is needed because mysql_install_db removes the pid file in /run
 +    # and because changed configuration options should take effect immediately.
 +    # In case the server wasn't running at all it should be ok if the stop
 +    # script fails. I can't tell at this point because of the cleaned /run.
 +    set +e; invoke-rc.d mariadb stop; set -e
 +
 +    # An existing /etc/init.d/mysql might be on the system if there was a
 +    # previous MySQL or MariaDB installation, since /etc/init.d files are
 +    # considered config files and stay around even after the package is removed.
 +    #
 +    # The install step of this package adds a new /etc/init.d/mariadb file. As
 +    # we also want to ensure that there are no old (and potentially outdated)
 +    # versions of /etc/init.d/mysql we simply replace it using a copy of the
 +    # latest 'mariadb' file. This has also the added benefit that anything that
 +    # invokes traditional sysv init with either 'mysql' or 'mariadb' will end up
 +    # controlling this newly installed MariaDB, and thus we maintain better
 +    # backwards compatibility.
 +    #
 +    # Note that the 'Provides' line is also updated to avoid 'insserv' exiting
 +    # on failure (when it is run by update-rc.d) because of duplicate service
 +    # names.
 +    if [ -f "/etc/init.d/mysql" ] && [ -f "/etc/init.d/mariadb" ]
 +    then
 +      # Copy init file and rename the service name and filename on the fly
 +      sed 's/Provides:          mariadb/Provides:          mysql/g' /etc/init.d/mariadb > /etc/init.d/mysql
 +      # NOTE: Number of spaces/tabs is important here!
 +      # Confirm if the sed worked
 +      if ! grep --quiet "Provides:          mysql" /etc/init.d/mysql
 +      then
 +        # If not, then delete the file to avoid failures later on
 +        rm -f /etc/init.d/mysql
 +        echo "Warning! Failed creating a mysql named copy of mariadb init.d file"
 +      fi
 +    fi
 +
 +    mysql_statedir=/usr/share/mysql
 +    mysql_datadir=/var/lib/mysql
 +    mysql_logdir=/var/log/mysql
 +    mysql_cfgdir=/etc/mysql
 +    mysql_upgradedir=/var/lib/mysql-upgrade
 +
 +    # If the following symlink exists, it is a preserved copy the old data dir
 +    # created by the preinst script during a upgrade that would have otherwise
 +    # been replaced by an empty mysql dir.  This should restore it.
 +    for dir in DATADIR LOGDIR; do
 +
 +      if [ "$dir" = "DATADIR" ]; then
 +        targetdir=$mysql_datadir
 +      else
 +        targetdir=$mysql_logdir
 +      fi
 +
 +      savelink="$mysql_upgradedir/$dir.link"
 +      if [ -L "$savelink" ]; then
 +        # If the targetdir was a symlink before we upgraded it is supposed
 +        # to be either still be present or not existing anymore now.
 +        if [ -L "$targetdir" ]; then
 +          rm "$savelink"
 +        elif [ ! -d "$targetdir" ]; then
 +          mv "$savelink" "$targetdir"
 +        else
 +          # this should never even happen, but just in case...
 +          mysql_tmp=$(mktemp -d -t mysql-symlink-restore-XXXXXX)
 +          echo "this is very strange!  see $mysql_tmp/README..." >&2
 +          mv "$targetdir" "$mysql_tmp"
 +          cat << EOF > "$mysql_tmp/README"
 +
 +If you're reading this, it's most likely because you had replaced /var/lib/mysql
 +with a symlink, then upgraded to a new version of mysql, and then dpkg
 +removed your symlink (see #182747 and others). The mysql packages noticed
 +that this happened, and as a workaround have restored it. However, because
 +/var/lib/mysql seems to have been re-created in the meantime, and because
 +we don't want to rm -rf something we don't know as much about, we are going
 +to leave this unexpected directory here. If your database looks normal,
 +and this is not a symlink to your database, you should be able to blow
 +this all away.
 +
 +EOF
 +        fi
 +      fi
 +          rmdir $mysql_upgradedir 2>/dev/null || true
 +
 +    done
 +
 +    # Upgrading from mysql.com needs might have the root user as auth_socket.
 +    # auto.cnf is a sign of a mysql install, that doesn't exist in mariadb.
 +    # We use lsof to protect against concurrent access by mysqld (mariadb has
 +    # its own projection). We make sure we're not doing this on a MySQL-8.0
 +    # directory.
 +    # This direct update is needed to enable an authentication mechanism to
 +    # perform mariadb-upgrade, (MDEV-22678).  To keep the impact minimal, we
 +    # skip innodb and set key-buffer-size to 0 as it isn't reused.
 +    if [ -f "$mysql_datadir"/auto.cnf ] && [ -f "$mysql_datadir"/mysql/user.MYD ] &&
 +       [ ! lsof -nt "$mysql_datadir"/mysql/user.MYD > /dev/null ] && [ ! -f "$mysql_datadir"/undo_001 ]; then
 +         echo "UPDATE mysql.user SET plugin='unix_socket' WHERE plugin='auth_socket';" |
-     # @TODO: Remove once buildbot.askmonty.org has been updated not to expect this file
-     mkdir -p /etc/systemd/system/mariadb.service.d/
-     # Note that file cannot be empty, otherwise systemd version in Ubuntu Bionic
-     # will think the service is masked
-     echo "# empty placeholder" > /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
++             mariadbd --skip-innodb --key_buffer_size=0  --default-storage-engine=MyISAM --bootstrap 2> /dev/null
 +    fi
 +
 +    # Ensure the existence and right permissions for the database and
 +    # log files. Use mkdir option 'Z' to create with correct SELinux context.
 +    if [ ! -d "$mysql_statedir" ] && [ ! -L "$mysql_statedir" ]; then mkdir -Z "$mysql_statedir"; fi
 +    if [ ! -d "$mysql_datadir"  ] && [ ! -L "$mysql_datadir" ]; then mkdir -Z "$mysql_datadir" ; fi
 +    if [ ! -d "$mysql_logdir"   ] && [ ! -L "$mysql_logdir"  ]; then mkdir -Z "$mysql_logdir"  ; fi
 +    # When creating an ext3 jounal on an already mounted filesystem like e.g.
 +    # /var/lib/mysql, you get a .journal file that is not modifiable by chown.
 +    # The mysql_statedir must not be writable by the mysql user under any
 +    # circumstances as it contains scripts that are executed by root.
 +    set +e
 +    chown -R 0:0 $mysql_statedir
 +    find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql
 +    chown -R mysql:adm $mysql_logdir
 +    chmod 2750 $mysql_logdir
 +    set -e
 +
 +    ## Set the correct filesystem ownership for the PAM v2 plugin
 +    # eg. /usr/lib/x86_64-linux-gnu/mysql/plugin/auth_pam_tool_dir/
 +    # NOTE! This is security sensitive, don't allow for a race condition.
 +    #
 +    # 1. Drop privileges of directory
 +    # -> At this point only root can see and execute auth_pam_tool
 +    chmod 0700 /usr/lib/mysql/plugin/auth_pam_tool_dir
 +    #
 +    # 2. Make binary setuid
 +    # -> At this point only root can run the setuid binary so no escalation here yet
 +    chmod 04755 /usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
 +    #
 +    # 3. Allow user 'mysql' to see and execute auth_pam_tool
 +    # -> Now user mysql owns the directory and can see and execute the binary inside
 +    # -> Since the binary is setuid, user mysql gets limited root powers here to
 +    #    run the PAM authetications, which need root (e.g. to validate passwords
 +    #    against /etc/shadow)
 +    chown mysql /usr/lib/mysql/plugin/auth_pam_tool_dir
 +
 +    # This is important to avoid dataloss when there is a removed
 +    # mysql-server version from Woody lying around which used the same
 +    # data directory and then somewhen gets purged by the admin.
 +    db_set mariadb-server/postrm_remove_database false || true
 +
 +    # Clean up old flags before setting new one
 +    rm -f $mysql_datadir/debian-*.flag
 +    # Flag data dir to avoid downgrades
 +    touch "$mysql_datadir/debian-$MAJOR_VER.flag"
 +
 +    # initiate databases. Output is not allowed by debconf :-(
 +    # This will fail if we are upgrading an existing database; in this case
 +    # mysql_upgrade, called from the /etc/init.d/mariadb start script, will
 +    # handle things.
 +    # Debian: beware of the bashisms...
 +    # Debian: can safely run on upgrades with existing databases
 +    set +e
 +    bash /usr/bin/mysql_install_db --rpm --cross-bootstrap --user=mysql \
 +                                   --disable-log-bin  --skip-test-db 2>&1 | \
 +                                   $ERR_LOGGER
 +    set -e
 +
 +    # On new installations root user can connect via unix_socket.
 +    # But on upgrades, scripts rely on debian-sys-maint user and
 +    # credentials in /etc/mysql/debian.cnf
 +    # All tools use --defaults-file=/etc/mysql/debian.cnf
 +    # And while it's not needed for new installations, we keep using
 +    # --defaults-file option for tools (for the sake of upgrades)
 +    # and thus need /etc/mysql/debian.cnf to exist, even if it's empty.
 +    # In the long run the goal is to obsolete this file.
 +    dc=$mysql_cfgdir/debian.cnf;
 +    if [ ! -d "$mysql_cfgdir" ]; then
 +      install -o 0 -g 0 -m 0755 -d $mysql_cfgdir
 +    fi
 +    if [ ! -e "$dc" ]; then
 +        cat /dev/null > $dc
 +        echo "# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE."       >>$dc
 +        echo "# This file exists only for backwards compatibility for"   >>$dc
 +        echo "# tools that run '--defaults-file=/etc/mysql/debian.cnf'"  >>$dc
 +        echo "# and have root level access to the local filesystem."     >>$dc
 +        echo "# With those permissions one can run 'mariadb' directly"   >>$dc
 +        echo "# anyway thanks to unix socket authentication and hence"   >>$dc
 +        echo "# this file is useless. See package README for more info." >>$dc
 +        echo "[client]"                                                  >>$dc
 +        echo "host     = localhost"                                      >>$dc
 +        echo "user     = root"                                           >>$dc
 +        echo "[mysql_upgrade]"                                           >>$dc
 +        echo "host     = localhost"                                      >>$dc
 +        echo "user     = root"                                           >>$dc
 +        echo "# THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE."   >>$dc
 +    fi
 +    # Keep it only root-readable, as it always was
 +    chown 0:0 $dc
 +    chmod 0600 $dc
 +
 +    # If there is a real AppArmor profile, we reload it.
 +    # If the default empty profile is installed, then we remove any old
 +    # profile that may be loaded.
 +    # This allows upgrade from old versions (that have an apparmor profile
 +    # on by default) to work both to disable a default profile, and to keep
 +    # any profile installed and maintained by users themselves.
 +    profile="/etc/apparmor.d/usr.sbin.mariadbd"
 +    if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then
 +      if grep -q /usr/sbin/mariadbd "$profile" 2>/dev/null ; then
 +        apparmor_parser -r "$profile" || true
 +      else
 +        echo "/usr/sbin/mariadbd { }" | apparmor_parser --remove 2>/dev/null || true
 +      fi
 +    fi
 +
-     else
++    # The introduction of /etc/logrotate.d/mariadb has made the old config
++    # obsolete and it needs to be disabled to prevent logrotate running twice.
++    if [ -f /etc/logrotate.d/mysql-server ]
++    then
++      mv -vf /etc/logrotate.d/mysql-server /etc/logrotate.d/mysql-server.dpkg-bak
++    fi
 +  ;;
 +
 +  abort-upgrade|abort-remove|abort-configure)
 +  ;;
 +
 +  triggered)
 +    if [ -d /run/systemd/system ]; then
 +      systemctl --system daemon-reload
++    elif [ -x /etc/init.d/mariadb ]; then
 +      invoke-rc.d mariadb restart
 +    fi
 +  ;;
 +
 +  *)
 +    echo "postinst called with unknown argument '$1'" 1>&2
 +    exit 1
 +  ;;
 +esac
 +
 +db_stop # in case invoke fails
 +
 +# dh_systemd_start doesn't emit anything since we still ship /etc/init.d/mariadb.
 +# Thus MariaDB server is started via init.d script, which in turn redirects to
 +# systemctl. If we upgrade from MySQL mysql.service may be masked, which also
 +# means init.d script is disabled. Unmask mysql service explicitly.
 +# Check first that the command exists, to avoid emitting any warning messages.
 +if [ -x "$(command -v deb-systemd-helper)" ]; then
 +  deb-systemd-helper unmask mysql.service > /dev/null
 +fi
 +
 +#DEBHELPER#
 +
 +# Modified dh_systemd_start snippet that's not added automatically
 +if [ -d /run/systemd/system ]; then
 +      systemctl --system daemon-reload >/dev/null || true
 +      deb-systemd-invoke start mariadb.service >/dev/null || true
 +# Modified dh_installinit snippet to only run with sysvinit
 +elif [ -x "/etc/init.d/mariadb" ]; then
 +      if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
 +              invoke-rc.d mariadb start || exit $?
 +      fi
 +fi
index f760f34e3f7e0192b55642747a44da0061587f78,0000000000000000000000000000000000000000..aa7e143078ce5ce2e3c3f440fd6efa8c4860f3af
mode 100644,000000..100644
--- /dev/null
@@@ -1,46 -1,0 +1,48 @@@
 +usr/bin/innochecksum
 +usr/bin/mariadb-install-db
 +usr/bin/mariadb-upgrade
++usr/bin/my_print_defaults
 +usr/bin/resolveip
 +usr/sbin/mariadbd
 +usr/share/man/man1/innochecksum.1
 +usr/share/man/man1/mariadb-install-db.1
 +usr/share/man/man1/mariadb-upgrade.1
++usr/share/man/man1/my_print_defaults.1
 +usr/share/man/man1/mysql_install_db.1
 +usr/share/man/man1/mysql_upgrade.1
 +usr/share/man/man1/resolveip.1
 +usr/share/man/man8/mariadbd.8
 +usr/share/man/man8/mysqld.8
 +usr/share/mysql/charsets
 +usr/share/mysql/czech
 +usr/share/mysql/danish
 +usr/share/mysql/dutch
 +usr/share/mysql/english
 +usr/share/mysql/estonian
 +usr/share/mysql/fill_help_tables.sql
 +usr/share/mysql/french
 +usr/share/mysql/german
 +usr/share/mysql/greek
 +usr/share/mysql/hindi
 +usr/share/mysql/hungarian
 +usr/share/mysql/italian
 +usr/share/mysql/japanese
 +usr/share/mysql/korean
 +usr/share/mysql/maria_add_gis_sp_bootstrap.sql
 +usr/share/mysql/mysql_performance_tables.sql
 +usr/share/mysql/mysql_sys_schema.sql
 +usr/share/mysql/mysql_system_tables.sql
 +usr/share/mysql/mysql_system_tables_data.sql
 +usr/share/mysql/mysql_test_data_timezone.sql
 +usr/share/mysql/mysql_test_db.sql
 +usr/share/mysql/norwegian
 +usr/share/mysql/norwegian-ny
 +usr/share/mysql/polish
 +usr/share/mysql/portuguese
 +usr/share/mysql/romanian
 +usr/share/mysql/russian
 +usr/share/mysql/serbian
 +usr/share/mysql/slovak
 +usr/share/mysql/spanish
 +usr/share/mysql/swedish
 +usr/share/mysql/ukrainian
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4ec7938f7b21ff0e88bcde6bcff697044e1f1c58
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++# myisam stopwords that cannot be changed and spelling errors remain
++spelling-error-in-binary usr/sbin/mariadbd AfE Safe
++spelling-error-in-binary usr/sbin/mariadbd noone no one
++spelling-error-in-binary usr/sbin/mariadbd thats that's
++spelling-error-in-binary usr/sbin/mariadbd theres there's
++spelling-error-in-binary usr/sbin/mariadbd yuR your
++# Valid reason for extra documentation in context in directory
++package-contains-documentation-outside-usr-share-doc usr/share/mysql/charsets/README
index 718fc0e122c94b67405177ecf32ddcece31e0d1f,0000000000000000000000000000000000000000..9e68c608c60bfab15528746bab1c4262a0a1fddc
mode 100644,000000..100644
--- /dev/null
@@@ -1,6 -1,0 +1,8 @@@
++debian/unstable-tests.* usr/share/mysql/mysql-test/
 +usr/share/mysql/mysql-test/collections
 +usr/share/mysql/mysql-test/include
 +usr/share/mysql/mysql-test/main
 +usr/share/mysql/mysql-test/plugin
 +usr/share/mysql/mysql-test/std_data
 +usr/share/mysql/mysql-test/suite
++usr/share/mysql/mysql-test/unstable-tests
index 4ff05a3be2af675586643015cce3415607597c2a,0000000000000000000000000000000000000000..630e9fcab1ec3e7d6c98dbcf7b40b3ce77a4a740
mode 100644,000000..100644
--- /dev/null
@@@ -1,3 -1,0 +1,25 @@@
 +# These should be moved, see https://jira.mariadb.org/browse/MDEV-21654
 +arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
 +arch-independent-package-contains-binary-or-object usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
++# Intentional for test files
++national-encoding usr/share/mysql/mysql-test/*
++# Extra test documentation files that really need to be kept in context in test directory
++package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/*
++# Intentional directory structure
++repeated-path-segment auth_gssapi usr/share/mysql/mysql-test/plugin/auth_gssapi/auth_gssapi/
++repeated-path-segment connect usr/share/mysql/mysql-test/plugin/connect/connect/
++repeated-path-segment disks usr/share/mysql/mysql-test/plugin/disks/disks/
++repeated-path-segment func_test usr/share/mysql/mysql-test/plugin/func_test/func_test/
++repeated-path-segment metadata_lock_info usr/share/mysql/mysql-test/plugin/metadata_lock_info/metadata_lock_info/
++repeated-path-segment mroonga usr/share/mysql/mysql-test/plugin/mroonga/mroonga/
++repeated-path-segment mroonga usr/share/mysql/mysql-test/plugin/mroonga/mroonga/include/mroonga/
++repeated-path-segment oqgraph usr/share/mysql/mysql-test/plugin/oqgraph/oqgraph/
++repeated-path-segment query_response_time usr/share/mysql/mysql-test/plugin/query_response_time/query_response_time/
++repeated-path-segment rocksdb usr/share/mysql/mysql-test/plugin/rocksdb/rocksdb/
++repeated-path-segment sequence usr/share/mysql/mysql-test/plugin/sequence/sequence/
++repeated-path-segment sphinx usr/share/mysql/mysql-test/plugin/sphinx/sphinx/
++repeated-path-segment spider usr/share/mysql/mysql-test/plugin/spider/spider/
++repeated-path-segment type_inet usr/share/mysql/mysql-test/plugin/type_inet/type_inet/
++repeated-path-segment type_test usr/share/mysql/mysql-test/plugin/type_test/type_test/
++repeated-path-segment user_variables usr/share/mysql/mysql-test/plugin/user_variables/user_variables/
++repeated-path-segment wsrep_info usr/share/mysql/mysql-test/plugin/wsrep_info/wsrep_info/
index 36b49bdab975a521abb2e32482b64486e841f8b2,0000000000000000000000000000000000000000..d00eac585d3881c540c90fc350e48625c5e67173
mode 100644,000000..100644
--- /dev/null
@@@ -1,44 -1,0 +1,44 @@@
- usr/share/man/man1/mysql-test-run.pl.1
 +usr/bin/mariadb-client-test
 +usr/bin/mariadb-client-test-embedded
 +usr/bin/mariadb-test
 +usr/bin/mariadb-test-embedded
 +usr/lib/*/libmariadb3/plugin/auth_test_plugin.so
 +usr/lib/*/libmariadb3/plugin/qa_auth_client.so
 +usr/lib/*/libmariadb3/plugin/qa_auth_interface.so
 +usr/lib/*/libmariadb3/plugin/test_sql_service.so
 +usr/lib/mysql/plugin/adt_null.so
 +usr/lib/mysql/plugin/auth_0x0100.so
 +usr/lib/mysql/plugin/auth_test_plugin.so
 +usr/lib/mysql/plugin/daemon_example.ini
 +usr/lib/mysql/plugin/debug_key_management.so
 +usr/lib/mysql/plugin/dialog_examples.so
 +usr/lib/mysql/plugin/example_key_management.so
 +usr/lib/mysql/plugin/func_test.so
 +usr/lib/mysql/plugin/ha_example.so
 +usr/lib/mysql/plugin/ha_test_sql_discovery.so
 +usr/lib/mysql/plugin/libdaemon_example.so
 +usr/lib/mysql/plugin/mypluglib.so
 +usr/lib/mysql/plugin/qa_auth_interface.so
 +usr/lib/mysql/plugin/qa_auth_server.so
 +usr/lib/mysql/plugin/test_sql_service.so
 +usr/lib/mysql/plugin/test_versioning.so
 +usr/share/man/man1/mariadb-client-test-embedded.1
 +usr/share/man/man1/mariadb-client-test.1
 +usr/share/man/man1/mariadb-test-embedded.1
 +usr/share/man/man1/mariadb-test.1
- usr/share/mysql/mysql-test/mysql-test-run.pl
 +usr/share/man/man1/mysql_client_test.1
 +usr/share/man/man1/mysql_client_test_embedded.1
 +usr/share/man/man1/mysqltest.1
 +usr/share/man/man1/mysqltest_embedded.1
 +usr/share/mysql/mysql-test/README
 +usr/share/mysql/mysql-test/README-gcov
 +usr/share/mysql/mysql-test/README.stress
 +usr/share/mysql/mysql-test/dgcov.pl
 +usr/share/mysql/mysql-test/lib
 +usr/share/mysql/mysql-test/mariadb-stress-test.pl
++usr/share/mysql/mysql-test/mariadb-test-run
 +usr/share/mysql/mysql-test/mariadb-test-run.pl
++usr/share/mysql/mysql-test/mysql-test-run.pl
 +usr/share/mysql/mysql-test/purify.supp
 +usr/share/mysql/mysql-test/suite.pm
 +usr/share/mysql/mysql-test/valgrind.supp
index 3c45bb955c41fde91714975e74967c75966dc77f,0000000000000000000000000000000000000000..af5b4832205aa5d5211a716aaa9fc1e232eac364
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,7 @@@
- usr/share/mysql/mysql-test/mariadb-test-run.pl usr/share/mysql/mysql-test/mysql-test-run.pl
- usr/share/mysql/mysql-test/mariadb-test-run.pl usr/share/mysql/mysql-test/mysql-test-run
 +usr/bin/mariadb-client-test usr/bin/mysql_client_test
 +usr/bin/mariadb-client-test-embedded usr/bin/mysql_client_test_embedded
 +usr/bin/mariadb-test usr/bin/mysqltest
 +usr/bin/mariadb-test-embedded usr/bin/mysqltest_embedded
- usr/share/mysql/mysql-test/mariadb-test-run.pl usr/share/mysql/mysql-test/mariadb-test-run
 +usr/share/mysql/mysql-test/mariadb-test-run.pl usr/share/mysql/mysql-test/mtr
++usr/share/mysql/mysql-test/mariadb-test-run.pl usr/share/mysql/mysql-test/mysql-test-run
++usr/share/mysql/mysql-test/mariadb-test-run.pl usr/share/mysql/mysql-test/mysql-test-run.pl
index 9de1b3784ff2607db28353bfd4efa045733b056d,0000000000000000000000000000000000000000..9e8c5dda467c9b4a8ce3b92c7b0088e79be0b472
mode 100644,000000..100644
--- /dev/null
@@@ -1,3 -1,0 +1,15 @@@
- # These should be moved, see https://jira.mariadb.org/browse/MDEV-21653
++# OK, these files are part of test suite and only used for a test
 +arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
 +arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/wsrep_check_version
++# myisam stopwords and other variable names that cannot be changed and spelling errors remain
++spelling-error-in-binary usr/bin/* AfE Safe
++spelling-error-in-binary usr/bin/* yuR your
++spelling-error-in-binary usr/bin/* no one
++spelling-error-in-binary usr/bin/* that's
++spelling-error-in-binary usr/bin/* theres there's
++spelling-error-in-binary usr/lib/mysql/plugin/qa_auth_interface.so userA users
++# Valid reason for documentation in context in directory
++package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/README*
++# Test plugins intentionally not fully featured
++shared-library-lacks-prerequisites usr/lib/mysql/plugin/auth_0x0100.so
++shared-library-lacks-prerequisites usr/lib/mysql/plugin/debug_key_management.so
index 6924c9ad1a5181ec2142e13bbd0eac59dd28aead,0000000000000000000000000000000000000000..af5f4528403aa684376af82cf9cfb59d6cb6246f
mode 100644,000000..100644
--- /dev/null
@@@ -1,53 -1,0 +1,228 @@@
- lib/systemd/system/mariadb.socket # Installed by rules file
- lib/systemd/system/mariadb-extra.socket # Installed by rules file
 +etc/columnstore/storagemanager.cnf.example # Copy of etc/columnstore/storagemanager.cnf that is installed
++etc/logrotate.d/mysql
++etc/my.cnf
++etc/mysql/mariadb.conf.d/client.cnf
++etc/mysql/mariadb.conf.d/enable_encryption.preset
++etc/mysql/mariadb.conf.d/mysql-clients.cnf
++etc/mysql/mariadb.conf.d/server.cnf
 +lib/systemd/system/mariadb.service # Installed by rules file
- lib/systemd/system/mariadb@.socket # Installed by rules file
- lib/systemd/system/mariadb-extra@.socket # Installed by rules file
 +lib/systemd/system/mariadb@.service # Installed by rules file
- usr/lib/mysql/plugin/JavaWrappers.jar # These are only built if JNI/libjawt.so is installed from e.g. openjdk-8-jre-headless
- usr/lib/mysql/plugin/JdbcInterface.jar # These are only built if JNI/libjawt.so is installed from e.g. openjdk-8-jre-headless
- usr/lib/sysusers.d/sysusers.conf
- usr/lib/tmpfiles.d/tmpfiles.conf
++usr/bin/mariabackup
++usr/bin/mariadb-embedded
++usr/bin/mysql
++usr/bin/mysqlaccess
++usr/bin/mysqladmin
++usr/bin/mysqlbinlog
++usr/bin/mysqlcheck
++usr/bin/mysql_client_test
++usr/bin/mysql_client_test_embedded
 +usr/bin/mysql_config # We already have the MariaDB variant
++usr/bin/mysql_convert_table_format
++usr/bin/mysqld_multi
++usr/bin/mysqld_safe
++usr/bin/mysqld_safe_helper
++usr/bin/mysqldump
++usr/bin/mysqldumpslow
++usr/bin/mysql_embedded
++usr/bin/mysql_find_rows
++usr/bin/mysql_fix_extensions
++usr/bin/mysqlhotcopy
++usr/bin/mysqlimport
++usr/bin/mysql_install_db
++usr/bin/mysql_ldb
++usr/bin/mysql_plugin
++usr/bin/mysql_secure_installation
++usr/bin/mysql_setpermission
++usr/bin/mysqlshow
++usr/bin/mysqlslap
++usr/bin/mysqltest
++usr/bin/mysqltest_embedded
++usr/bin/mysql_tzinfo_to_sql
++usr/bin/mysql_upgrade
++usr/bin/mysql_waitpid
 +usr/bin/mytop # Mytop is distributed from a separate source package
 +usr/bin/sst_dump # Use the one from rocksdb-tools package
- usr/share/mysql/mysql-log-rotate
++usr/bin/test-connect-t
 +usr/lib/*/libdbbc.a # ColumnStore header file
 +usr/lib/*/libidbboot.a # ColumnStore header file
 +usr/lib/*/libprocessor.a # ColumnStore header file
 +usr/lib/*/libwe_xml.a # ColumnStore header file
++usr/lib/mysql/plugin/JavaWrappers.jar # These are only built if JNI/libjawt.so is installed from e.g. openjdk-8-jre-headless
++usr/lib/mysql/plugin/JdbcInterface.jar # These are only built if JNI/libjawt.so is installed from e.g. openjdk-8-jre-headless
++usr/lib/mysql/plugin/type_test.so
++usr/lib/sysusers.d/mariadb.conf
++usr/lib/sysusers.d/sysusers.conf
++usr/lib/tmpfiles.d/mariadb.conf
++usr/lib/tmpfiles.d/tmpfiles.conf
++usr/lib/*/pkgconfig/mariadb.pc # Server (not client) helper has confusing naming https://jira.mariadb.org/browse/MDEV-23538
++usr/sbin/mysqld
++usr/sbin/rcmysql
 +usr/share/doc/mariadb-server-10.6/COPYING
 +usr/share/doc/mariadb-server-10.6/COPYING.AGPLv3
 +usr/share/doc/mariadb-server-10.6/COPYING.GPLv2
 +usr/share/doc/mariadb-server-10.6/COPYING.thirdparty
 +usr/share/doc/mariadb-server-10.6/CREDITS
 +usr/share/doc/mariadb-server-10.6/EXCEPTIONS-CLIENT
 +usr/share/doc/mariadb-server-10.6/INSTALL-BINARY
 +usr/share/doc/mariadb-server-10.6/PATENTS
++usr/share/doc/mariadb-server-10.6/README.md
 +usr/share/doc/mariadb-server-10.6/README-wsrep
++usr/share/doc/mariadb-server-10.6/THIRDPARTY
 +usr/share/groonga/COPYING
 +usr/share/groonga-normalizer-mysql/lgpl-2.0.txt
 +usr/share/groonga-normalizer-mysql/README.md
 +usr/share/groonga/README.md
++usr/share/man/man1/mariadb-embedded.1
 +usr/share/man/man1/my_safe_process.1
++usr/share/man/man1/mysql_embedded.1
++usr/share/man/man1/mysql-test-run.pl.1
++usr/share/man/man1/mysql-stress-test.pl.1
 +usr/share/man/man1/mysql.server.1
 +usr/share/mysql/binary-configure
 +usr/share/mysql/magic
 +usr/share/mysql/maria_add_gis_sp.sql
 +usr/share/mysql/mysqld_multi.server
- usr/share/mysql/mysql_to_mariadb.sql
 +usr/share/mysql/mysql.server
++usr/share/mysql/mysql-test/asan.supp
++usr/share/mysql/mysql-test/lsan.supp
 +usr/share/mysql/mysql-test/mtr # Already created by mariadb-test.links
 +usr/share/mysql/mysql-test/mysql-test-run # Already created by mariadb-test.links
 +usr/share/mysql/policy/apparmor/README # In MariaDB we don't want to use AppArmor at the moment
 +usr/share/mysql/policy/apparmor/usr.sbin.mysqld # In MariaDB we don't want to use AppArmor at the moment
 +usr/share/mysql/policy/apparmor/usr.sbin.mysqld.local # In MariaDB we don't want to use AppArmor at the moment
 +usr/share/mysql/policy/selinux/mariadb-server.fc # In MariaDB we don't want to use SELinux at the moment
 +usr/share/mysql/policy/selinux/mariadb-server.te # In MariaDB we don't want to use SELinux at the moment
 +usr/share/mysql/policy/selinux/mariadb.te # In MariaDB we don't want to use SELinux at the moment
 +usr/share/mysql/policy/selinux/README # In MariaDB we don't want to use SELinux at the moment
 +usr/share/mysql/systemd/mariadb.service # Installed by rules file
 +usr/share/mysql/systemd/mariadb@.service # Installed by rules file
++usr/share/mysql/systemd/mysqld.service
++usr/share/mysql/systemd/mysql.service
 +usr/share/mysql/systemd/use_galera_new_cluster.conf
 +usr/share/mysql/wsrep.cnf
++lib/systemd/system/mariadb-extra.socket
++lib/systemd/system/mariadb-extra@.socket
++lib/systemd/system/mariadb.socket
++lib/systemd/system/mariadb@.socket
++usr/share/man/man3/mariadb_cancel.3
++usr/share/man/man3/mariadb_connection.3
++usr/share/man/man3/mariadb_dyncol_check.3
++usr/share/man/man3/mariadb_dyncol_column_cmp_named.3
++usr/share/man/man3/mariadb_dyncol_column_count.3
++usr/share/man/man3/mariadb_dyncol_create_many_named.3
++usr/share/man/man3/mariadb_dyncol_create_many_num.3
++usr/share/man/man3/mariadb_dyncol_exists_named.3
++usr/share/man/man3/mariadb_dyncol_exists_num.3
++usr/share/man/man3/mariadb_dyncol_free.3
++usr/share/man/man3/mariadb_dyncol_list_named.3
++usr/share/man/man3/mariadb_dyncol_list_num.3
++usr/share/man/man3/mariadb_dyncol_unpack.3
++usr/share/man/man3/mariadb_dyncol_update_many_named.3
++usr/share/man/man3/mariadb_dyncol_update_many_num.3
++usr/share/man/man3/mariadb_get_infov.3
++usr/share/man/man3/mariadb_reconnect.3
++usr/share/man/man3/mariadb_rpl_close.3
++usr/share/man/man3/mariadb_rpl_fetch.3
++usr/share/man/man3/mariadb_rpl_get_optionsv.3
++usr/share/man/man3/mariadb_rpl_open.3
++usr/share/man/man3/mariadb_rpl_optionsv.3
++usr/share/man/man3/mariadb_stmt_execute_direct.3
++usr/share/man/man3/mariadb_stmt_fetch_fields.3
++usr/share/man/man3/mysql_affected_rows.3
++usr/share/man/man3/mysql_autocommit.3
++usr/share/man/man3/mysql_change_user.3
++usr/share/man/man3/mysql_close.3
++usr/share/man/man3/mysql_commit.3
++usr/share/man/man3/mysql_data_seek.3
++usr/share/man/man3/mysql_errno.3
++usr/share/man/man3/mysql_error.3
++usr/share/man/man3/mysql_fetch_field.3
++usr/share/man/man3/mysql_fetch_field_direct.3
++usr/share/man/man3/mysql_fetch_fields.3
++usr/share/man/man3/mysql_fetch_lengths.3
++usr/share/man/man3/mysql_fetch_row.3
++usr/share/man/man3/mysql_field_count.3
++usr/share/man/man3/mysql_field_seek.3
++usr/share/man/man3/mysql_field_tell.3
++usr/share/man/man3/mysql_free_result.3
++usr/share/man/man3/mysql_get_character_set_info.3
++usr/share/man/man3/mysql_get_client_info.3
++usr/share/man/man3/mysql_get_client_version.3
++usr/share/man/man3/mysql_get_host_info.3
++usr/share/man/man3/mysql_get_proto_info.3
++usr/share/man/man3/mysql_get_server_info.3
++usr/share/man/man3/mysql_get_server_version.3
++usr/share/man/man3/mysql_get_socket.3
++usr/share/man/man3/mysql_get_ssl_cipher.3
++usr/share/man/man3/mysql_hex_string.3
++usr/share/man/man3/mysql_info.3
++usr/share/man/man3/mysql_init.3
++usr/share/man/man3/mysql_kill.3
++usr/share/man/man3/mysql_more_results.3
++usr/share/man/man3/mysql_next_result.3
++usr/share/man/man3/mysql_num_fields.3
++usr/share/man/man3/mysql_num_rows.3
++usr/share/man/man3/mysql_options.3
++usr/share/man/man3/mysql_options4.3
++usr/share/man/man3/mysql_optionsv.3
++usr/share/man/man3/mysql_ping.3
++usr/share/man/man3/mysql_query.3
++usr/share/man/man3/mysql_read_query_result.3
++usr/share/man/man3/mysql_real_connect.3
++usr/share/man/man3/mysql_real_escape_string.3
++usr/share/man/man3/mysql_real_query.3
++usr/share/man/man3/mysql_refresh.3
++usr/share/man/man3/mysql_reset_connection.3
++usr/share/man/man3/mysql_rollback.3
++usr/share/man/man3/mysql_row_seek.3
++usr/share/man/man3/mysql_row_tell.3
++usr/share/man/man3/mysql_select_db.3
++usr/share/man/man3/mysql_send_query.3
++usr/share/man/man3/mysql_server_end.3
++usr/share/man/man3/mysql_server_init.3
++usr/share/man/man3/mysql_session_track_get_first.3
++usr/share/man/man3/mysql_session_track_get_next.3
++usr/share/man/man3/mysql_set_character_set.3
++usr/share/man/man3/mysql_set_server_option.3
++usr/share/man/man3/mysql_shutdown.3
++usr/share/man/man3/mysql_sqlstate.3
++usr/share/man/man3/mysql_ssl_set.3
++usr/share/man/man3/mysql_stat.3
++usr/share/man/man3/mysql_stmt_affected_rows.3
++usr/share/man/man3/mysql_stmt_attr_get.3
++usr/share/man/man3/mysql_stmt_attr_set.3
++usr/share/man/man3/mysql_stmt_bind_param.3
++usr/share/man/man3/mysql_stmt_bind_result.3
++usr/share/man/man3/mysql_stmt_close.3
++usr/share/man/man3/mysql_stmt_data_seek.3
++usr/share/man/man3/mysql_stmt_errno.3
++usr/share/man/man3/mysql_stmt_error.3
++usr/share/man/man3/mysql_stmt_execute.3
++usr/share/man/man3/mysql_stmt_fetch.3
++usr/share/man/man3/mysql_stmt_fetch_column.3
++usr/share/man/man3/mysql_stmt_field_count.3
++usr/share/man/man3/mysql_stmt_free_result.3
++usr/share/man/man3/mysql_stmt_init.3
++usr/share/man/man3/mysql_stmt_insert_id.3
++usr/share/man/man3/mysql_stmt_more_results.3
++usr/share/man/man3/mysql_stmt_next_result.3
++usr/share/man/man3/mysql_stmt_num_rows.3
++usr/share/man/man3/mysql_stmt_param_count.3
++usr/share/man/man3/mysql_stmt_param_metadata.3
++usr/share/man/man3/mysql_stmt_prepare.3
++usr/share/man/man3/mysql_stmt_reset.3
++usr/share/man/man3/mysql_stmt_result_metadata.3
++usr/share/man/man3/mysql_stmt_row_seek.3
++usr/share/man/man3/mysql_stmt_row_tell.3
++usr/share/man/man3/mysql_stmt_send_long_data.3
++usr/share/man/man3/mysql_stmt_sqlstate.3
++usr/share/man/man3/mysql_stmt_store_result.3
++usr/share/man/man3/mysql_stmt_warning_count.3
++usr/share/man/man3/mysql_store_result.3
++usr/share/man/man3/mysql_thread_end.3
++usr/share/man/man3/mysql_thread_id.3
++usr/share/man/man3/mysql_thread_init.3
++usr/share/man/man3/mysql_use_result.3
++usr/share/man/man3/mysql_warning_count.3
++usr/share/mysql/systemd/mariadb-extra@.socket
++usr/share/mysql/systemd/mariadb@.socket
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..991de3d28724d2e8925692734fd19294e97132b8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,54 @@@
++From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@debian.org>
++Date: Wed, 22 Nov 2017 20:32:51 +0000
++Subject: 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
++
++---
++ cmake/build_configurations/mysql_release.cmake           | 12 ++++++------
++ .../PerconaFT/cmake_modules/TokuSetupCompiler.cmake      | 16 ++++++++--------
++ 2 files changed, 14 insertions(+), 14 deletions(-)
++
++--- a/cmake/build_configurations/mysql_release.cmake
+++++ b/cmake/build_configurations/mysql_release.cmake
++@@ -183,12 +183,12 @@ IF(UNIX)
++   IF(CMAKE_COMPILER_IS_GNUCC)
++     SET(COMMON_C_FLAGS               "-g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized")
++     SET(CMAKE_C_FLAGS_DEBUG          "-O ${COMMON_C_FLAGS}")
++-    SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_C_FLAGS}")
+++    SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_C_FLAGS}")
++   ENDIF()
++   IF(CMAKE_COMPILER_IS_GNUCXX)
++     SET(COMMON_CXX_FLAGS               "-g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized")
++     SET(CMAKE_CXX_FLAGS_DEBUG          "-O ${COMMON_CXX_FLAGS}")
++-    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_CXX_FLAGS}")
+++    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_CXX_FLAGS}")
++   ENDIF()
++ 
++   # IBM Z flags
++@@ -237,8 +237,8 @@ IF(UNIX)
++       ENDIF()
++       SET(CMAKE_C_FLAGS_DEBUG            "${COMMON_C_FLAGS}")
++       SET(CMAKE_CXX_FLAGS_DEBUG          "${COMMON_CXX_FLAGS}")
++-      SET(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O3 -unroll2 -ip ${COMMON_C_FLAGS}")
++-      SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -unroll2 -ip ${COMMON_CXX_FLAGS}")
+++      SET(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -unroll2 -ip ${COMMON_C_FLAGS}")
+++      SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -unroll2 -ip ${COMMON_CXX_FLAGS}")
++       SET(WITH_SSL no)
++     ENDIF()
++   ENDIF()
++@@ -247,12 +247,12 @@ IF(UNIX)
++   IF(CMAKE_C_COMPILER_ID MATCHES "Clang")
++     SET(COMMON_C_FLAGS               "-g -fno-omit-frame-pointer -fno-strict-aliasing -Wno-parentheses-equality -Wno-string-plus-int")
++     SET(CMAKE_C_FLAGS_DEBUG          "${COMMON_C_FLAGS}")
++-    SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_C_FLAGS}")
+++    SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_C_FLAGS}")
++   ENDIF()
++   IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
++     SET(COMMON_CXX_FLAGS               "-g -fno-omit-frame-pointer -fno-strict-aliasing -Wno-parentheses-equality -Wno-string-plus-int")
++     SET(CMAKE_CXX_FLAGS_DEBUG          "${COMMON_CXX_FLAGS}")
++-    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_CXX_FLAGS}")
+++    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 ${COMMON_CXX_FLAGS}")
++   ENDIF()
++ 
++   # Solaris flags
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..694e9ca349bd81438fdaba92c24541a8fd17d1b6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,187 @@@
++Forwarded: https://github.com/MariaDB/server/commit/bd5f7f0f8930fa343ee676fdffa1cf26b5e12e70
++Origin: https://github.com/MariaDB/server/commit/bd5f7f0f8930fa343ee676fdffa1cf26b5e12e70.patch
++Bug: https://jira.mariadb.org/browse/MDEV-27936
++From: Daniel Black <daniel@mariadb.org>
++Date: Wed, 2 Mar 2022 11:48:24 +1100
++Subject: [PATCH] MDEV-27936 hardware lock elision on ppc64{,le} failing to
++ compile
++
++There is only a very small range of gcc compiler versions
++that allow the built_{htm} functions to be defined without -mhtm
++being specified as a global C{,XX}FLAGS.
++
++Because the design is centered around enable HTM only in the
++functional blocks that use it, this breaks on the inclusion
++of the htmxlintrin.h header that includes this.
++
++As a partial mitigation, extented to GNU/clang compilers,
++transaction functions gain the attribute "hot".
++
++In general the use of htm is around the optimistic
++transaction ability of the function. The key part of using the
++hot attribute is to place these functions together so that
++a maximization of icache, tlb and OS paging can ensure that
++these can be ready to execute by any thread/cpu with the
++minimium amount of overhead.
++
++POWER is particulary affected here because the xbegin/xend
++functions are not inline.
++
++srw_lock.cc requires the -mhtm cflag, both in the storage
++engine and the unittests.
++
++As below, target htm sections don't enable the builtins
++
++root@0b49bb233a4d:/# gcc -o main main.c
++main.c: In function 'f':
++main.c:5:16: warning: implicit declaration of function '__builtin_tbegin'; did you mean '__builtin_asin'? [-Wimplicit-function-declaration]
++    5 |         return __builtin_tbegin(0);
++      |                ^~~~~~~~~~~~~~~~
++      |                __builtin_asin
++/usr/bin/ld: /tmp/ccaqLefJ.o: in function `f':
++main.c:(.text+0x20): undefined reference to `__builtin_tbegin'
++collect2: error: ld returned 1 exit status
++
++root@0b49bb233a4d:/# gcc -mhtm -o main main.c
++
++root@0b49bb233a4d:/# cat main.c
++
++__attribute__((target("htm")))
++int f()
++{
++      return __builtin_tbegin(0);
++}
++
++int main()
++{
++
++      return f();
++}
++root@0b49bb233a4d:/# uname -a
++Linux 0b49bb233a4d 5.17.0-0.rc6.109.fc37.x86_64 #1 SMP PREEMPT Mon Feb 28 15:48:52 UTC 2022 ppc64le GNU/Linux
++---
++ storage/innobase/CMakeLists.txt               | 10 ++++++
++ .../include/transactional_lock_guard.h        | 31 ++++++++++---------
++ storage/innobase/sync/srw_lock.cc             | 17 +++++++++-
++ storage/innobase/unittest/CMakeLists.txt      |  6 ++++
++ 4 files changed, 48 insertions(+), 16 deletions(-)
++
++--- a/storage/innobase/CMakeLists.txt
+++++ b/storage/innobase/CMakeLists.txt
++@@ -380,6 +380,16 @@ IF(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SY
++       COMPILE_FLAGS "-O0"
++       )
++ ENDIF()
+++
+++# Older gcc version insist on -mhtm flag for including the
+++# htmxlintrin.h header. This is also true for new gcc versions
+++# like 11.2.0 in Debian Sid
+++IF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64|powerpc64")
+++  ADD_COMPILE_FLAGS(
+++      sync/srw_lock.cc
+++      COMPILE_FLAGS "-mhtm"
+++      )
+++ENDIF()
++ IF(MSVC)
++   IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
++    ADD_COMPILE_FLAGS(
++--- a/storage/innobase/include/transactional_lock_guard.h
+++++ b/storage/innobase/include/transactional_lock_guard.h
++@@ -45,8 +45,8 @@ bool transactional_lock_enabled();
++ 
++ #  include <immintrin.h>
++ #  if defined __GNUC__ && !defined __INTEL_COMPILER
++-#   define TRANSACTIONAL_TARGET __attribute__((target("rtm")))
++-#   define TRANSACTIONAL_INLINE __attribute__((target("rtm"),always_inline))
+++#   define TRANSACTIONAL_TARGET __attribute__((target("rtm"),hot))
+++#   define TRANSACTIONAL_INLINE __attribute__((target("rtm"),hot,always_inline))
++ #  else
++ #   define TRANSACTIONAL_TARGET /* nothing */
++ #   define TRANSACTIONAL_INLINE /* nothing */
++@@ -70,25 +70,26 @@ TRANSACTIONAL_INLINE static inline void
++ 
++ TRANSACTIONAL_INLINE static inline void xend() { _xend(); }
++ # elif defined __powerpc64__
++-#  include <htmxlintrin.h>
++ extern bool have_transactional_memory;
++ bool transactional_lock_enabled();
++-#   define TRANSACTIONAL_TARGET __attribute__((target("htm")))
++-#   define TRANSACTIONAL_INLINE __attribute__((target("htm"),always_inline))
++-
++-TRANSACTIONAL_INLINE static inline bool xbegin()
++-{
++-  return have_transactional_memory &&
++-    __TM_simple_begin() == _HTM_TBEGIN_STARTED;
++-}
+++#   define TRANSACTIONAL_TARGET __attribute__((hot))
+++#   define TRANSACTIONAL_INLINE __attribute__((hot,always_inline))
++ 
+++/**
+++  Newer gcc compilers only provide __builtin_{htm}
+++  function when the -mhtm is actually provided. So
+++  we've got the option of including it globally, or
+++  pushing down to one file with that enabled and removing
+++  the inline optimization.
+++  file.
+++ */
+++TRANSACTIONAL_TARGET bool xbegin();
+++TRANSACTIONAL_TARGET void xabort();
+++TRANSACTIONAL_TARGET void xend();
++ #  ifdef UNIV_DEBUG
++ bool xtest();
++ #  endif
++ 
++-TRANSACTIONAL_INLINE static inline void xabort() { __TM_abort(); }
++-
++-TRANSACTIONAL_INLINE static inline void xend() { __TM_end(); }
++ # endif
++ #endif
++ 
++--- a/storage/innobase/sync/srw_lock.cc
+++++ b/storage/innobase/sync/srw_lock.cc
++@@ -55,6 +55,20 @@ TRANSACTIONAL_TARGET
++ bool xtest() { return have_transactional_memory && _xtest(); }
++ # endif
++ #elif defined __powerpc64__
+++# include <htmxlintrin.h>
+++
+++__attribute__((target("htm"),hot))
+++bool xbegin()
+++{
+++  return have_transactional_memory &&
+++    __TM_simple_begin() == _HTM_TBEGIN_STARTED;
+++}
+++
+++__attribute__((target("htm"),hot))
+++void xabort() { __TM_abort(); }
+++
+++__attribute__((target("htm"),hot))
+++void xend() { __TM_end(); }
++ # ifdef __linux__
++ #  include <sys/auxv.h>
++ 
++@@ -79,7 +93,8 @@ bool transactional_lock_enabled()
++ }
++ 
++ # ifdef UNIV_DEBUG
++-TRANSACTIONAL_TARGET bool xtest()
+++__attribute__((target("htm"),hot))
+++bool xtest()
++ {
++   return have_transactional_memory &&
++     _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
++--- a/storage/innobase/unittest/CMakeLists.txt
+++++ b/storage/innobase/unittest/CMakeLists.txt
++@@ -21,6 +21,12 @@ ADD_EXECUTABLE(innodb_fts-t innodb_fts-t
++ TARGET_LINK_LIBRARIES(innodb_fts-t mysys mytap)
++ ADD_DEPENDENCIES(innodb_fts-t GenError)
++ MY_ADD_TEST(innodb_fts)
+++IF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64|powerpc64")
+++  ADD_COMPILE_FLAGS(
+++      ../sync/srw_lock.cc
+++      COMPILE_FLAGS "-mhtm"
+++      )
+++ENDIF()
++ ADD_EXECUTABLE(innodb_sync-t innodb_sync-t.cc ../sync/srw_lock.cc)
++ TARGET_LINK_LIBRARIES(innodb_sync-t mysys mytap)
++ ADD_DEPENDENCIES(innodb_sync-t GenError)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..61fcd276b5dce1eb40befcb66f33bb902477f635
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,140 @@@
++Forwarded: https://github.com/MariaDB/server/pull/1556
++From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= <otto@kekalainen.net>
++Date: Wed, 30 Sep 2020 20:01:35 +0300
++Subject: [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.
++
++--- a/.gitignore
+++++ b/.gitignore
++@@ -259,7 +259,7 @@ support-files/my-innodb-heavy-4G.cnf
++ support-files/my-large.cnf
++ support-files/my-medium.cnf
++ support-files/my-small.cnf
++-support-files/mysql-log-rotate
+++support-files/mariadb.logrotate
++ support-files/mysql.10.0.11.spec
++ support-files/mysql.server
++ support-files/mysql.service
++--- a/support-files/CMakeLists.txt
+++++ b/support-files/CMakeLists.txt
++@@ -32,6 +32,9 @@ ELSE()
++   SET(MYSQLD_GROUP "mysql")
++   SET(ini_file_extension "cnf")
++   SET(HOSTNAME "uname -n")
+++
+++  # Define directly here, as cmake/install_layout.cmake has no LOGDIR to be inherited
+++  SET(logdir "/var/log/mysql")
++ ENDIF()
++ 
++ # XXX: shouldn't we just have variables for all this stuff and centralise
++@@ -51,9 +54,11 @@ ENDIF()
++ 
++ IF(UNIX AND NOT WITHOUT_SERVER)
++   SET(prefix ${CMAKE_INSTALL_PREFIX})
++-  FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure wsrep_notify)
++-    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh 
+++  FOREACH(script mysqld_multi.server binary-configure wsrep_notify)
+++    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
++                    ${CMAKE_CURRENT_BINARY_DIR}/${script} @ONLY )
+++    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mariadb.logrotate.in
+++                   ${CMAKE_CURRENT_BINARY_DIR}/mariadb.logrotate @ONLY )
++     INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${script}
++       DESTINATION ${inst_location} COMPONENT Server_Scripts)
++   ENDFOREACH()
++@@ -95,7 +100,7 @@ IF(UNIX AND NOT WITHOUT_SERVER)
++   INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
++ 
++   INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
++-  
+++
++   SET(bindir ${INSTALL_BINDIRABS})
++   SET(sbindir ${INSTALL_SBINDIRABS})
++   SET(scriptdir ${INSTALL_SCRIPTDIRABS})
++@@ -113,7 +118,7 @@ IF(UNIX AND NOT WITHOUT_SERVER)
++   ELSE()
++     SET(sysconf2dir "${sysconfdir}/mysql")
++   ENDIF()
++-  CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql.server.sh 
+++  CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql.server.sh
++                  ${CMAKE_CURRENT_BINARY_DIR}/mysql.server @ONLY)
++   INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mysql.server
++     DESTINATION ${inst_location} COMPONENT SupportFiles)
++@@ -199,8 +204,9 @@ IF(UNIX AND NOT WITHOUT_SERVER)
++   ENDIF()
++ 
++   IF (INSTALL_SYSCONFDIR)
++-    INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate DESTINATION ${INSTALL_SYSCONFDIR}/logrotate.d
++-            RENAME mysql COMPONENT SupportFiles)
+++    INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.logrotate
+++            DESTINATION ${INSTALL_SYSCONFDIR}/logrotate.d
+++            RENAME mariadb COMPONENT SupportFiles)
++     IF(NOT HAVE_SYSTEMD)
++       INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mysql.server
++               DESTINATION  ${INSTALL_SYSCONFDIR}/init.d
++--- /dev/null
+++++ b/support-files/mariadb.logrotate.in
++@@ -0,0 +1,56 @@
+++# This is the MariaDB configuration for the logrotate utility
+++#
+++# Note that on most Linux systems logs are written to journald, which has its
+++# own rotation scheme.
+++#
+++# Read https://mariadb.com/kb/en/error-log/ to learn more about logging and
+++# https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux/ about rotating logs.
+++
+++@localstatedir@/mysqld.log @logdir@/mysql.log @localstatedir@/mariadb.log @logdir@/mysql-slow.log @logdir@/mariadb-slow.log @logdir@/error.log {
+++
+++  # If any of the files listed above is missing, skip them silently without
+++  # emitting any errors
+++  missingok
+++
+++  # If file exists but is empty, don't rotate it
+++  notifempty
+++
+++  # Run monthly
+++  monthly
+++
+++  # Keep 6 months of logs
+++  rotate 6
+++
+++  # If file is growing too big, rotate immediately
+++  maxsize 500M
+++
+++  # If file size is too small, don't rotate at all
+++  minsize 50M
+++
+++  # Compress logs, as they are text and compression will save a lot of disk space
+++  compress
+++
+++  # Don't compress the log immediately to avoid errors about "file size changed while zipping"
+++  delaycompress
+++
+++  # Don't run the postrotate script for each file configured in this file, but
+++  # run it only once if one or more files were rotated
+++  sharedscripts
+++
+++  # After each rotation, run this custom script to flush the logs. Note that
+++  # this assumes that the mariadb-admin command has database access, which it
+++  # has thanks to the default use of Unix socket authentication for the 'root'
+++  # account used everywhere since MariaDB 10.4.
+++  postrotate
+++    if test -r /etc/mysql/debian.cnf
+++    then
+++      EXTRAPARAM='--defaults-file=/etc/mysql/debian.cnf'
+++    fi
+++
+++    if test -x @bindir@/mariadb-admin
+++    then
+++      @bindir@/mariadb-admin $EXTRAPARAM --local flush-error-log \
+++        flush-engine-log flush-general-log flush-slow-log
+++    fi
+++  endscript
+++}
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..287f733c3c80408830a432cad4b42814ec4059d7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,30 @@@
++Forwarded: https://github.com/MariaDB/server/pull/2006
++Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/2006.patch
++From: Samuel Thibault <samuel.thibault@ens-lyon.org>
++Date: Tue, 8 Feb 2022 00:18:27 +0000
++Subject: [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
++---
++ storage/perfschema/my_thread.h | 4 ++++
++ 1 file changed, 4 insertions(+)
++
++--- a/storage/perfschema/my_thread.h
+++++ b/storage/perfschema/my_thread.h
++@@ -14,6 +14,10 @@
++ #include <pthread_np.h>
++ #endif
++ 
+++#if defined(HAVE_INTEGER_PTHREAD_SELF)
+++#include <cstdint>
+++#endif
+++
++ typedef pthread_key_t thread_local_key_t;
++ typedef pthread_t my_thread_handle;
++ typedef pthread_attr_t my_thread_attr_t;
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5686b7ba06ea07706accd1c7bf3fef419281ffc1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,101 @@@
++Forwarded: https://github.com/MariaDB/server/pull/2028
++Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/2028.patch
++From: Daniel Black <daniel@mariadb.org>
++Date: Wed, 23 Feb 2022 10:10:01 +1100
++Subject: [PATCH] MDEV-23915 ER_KILL_DENIED_ERROR not passed a thread id
++
++The 10.5 test error main.grant_kill showed up a incorrect
++thread id on a big endian architecture.
++
++The cause of this is the sql_kill_user function assumed the
++error was ER_OUT_OF_RESOURCES, when the the actual error was
++ER_KILL_DENIED_ERROR. ER_KILL_DENIED_ERROR as an error message
++requires a thread id to be passed as unsigned long, however a
++user/host was passed.
++
++ER_OUT_OF_RESOURCES doesn't even take a user/host, despite
++the optimistic comment. We remove this being passed as an
++argument to the function so that when MDEV-21978 is implemented
++one less compiler format warning is generated (which would
++have caught this error sooner).
++
++Thanks Otto for reporting and Marko for analysis.
++---
++ .../suite/galera/r/galera_kill_applier.result  |  4 ++++
++ .../suite/galera/t/galera_kill_applier.test    |  6 ++++--
++ sql/sql_parse.cc                               | 18 ++++++++++--------
++ 3 files changed, 18 insertions(+), 10 deletions(-)
++
++--- a/mysql-test/suite/galera/r/galera_kill_applier.result
+++++ b/mysql-test/suite/galera/r/galera_kill_applier.result
++@@ -5,9 +5,13 @@ SELECT @@wsrep_slave_threads;
++ @@wsrep_slave_threads
++ 1
++ SET GLOBAL wsrep_slave_threads=2;
+++KILL ID;
++ Got one of the listed errors
+++KILL QUERY ID;
++ Got one of the listed errors
+++KILL ID;
++ Got one of the listed errors
+++KILL QUERY ID;
++ Got one of the listed errors
++ SET GLOBAL wsrep_slave_threads=DEFAULT;
++ connection node_1;
++--- a/mysql-test/suite/galera/t/galera_kill_applier.test
+++++ b/mysql-test/suite/galera/t/galera_kill_applier.test
++@@ -16,21 +16,23 @@ SET GLOBAL wsrep_slave_threads=2;
++ 
++ --let $applier_thread = `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE = 'wsrep applier idle' LIMIT 1`
++ 
++---disable_query_log
+++--replace_result $applier_thread ID
++ --error ER_KILL_DENIED_ERROR,ER_KILL_DENIED_ERROR
++ --eval KILL $applier_thread
++ 
+++--replace_result $applier_thread ID
++ --error ER_KILL_DENIED_ERROR,ER_KILL_DENIED_ERROR
++ --eval KILL QUERY $applier_thread
++ 
++ --let $aborter_thread = `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE = 'wsrep aborter idle' LIMIT 1`
++ 
+++--replace_result $aborter_thread ID
++ --error ER_KILL_DENIED_ERROR,ER_KILL_DENIED_ERROR
++ --eval KILL $aborter_thread
++ 
+++--replace_result $aborter_thread ID
++ --error ER_KILL_DENIED_ERROR,ER_KILL_DENIED_ERROR
++ --eval KILL QUERY $aborter_thread
++---enable_query_log
++ 
++ SET GLOBAL wsrep_slave_threads=DEFAULT;
++ 
++--- a/sql/sql_parse.cc
+++++ b/sql/sql_parse.cc
++@@ -9393,15 +9393,18 @@ sql_kill_user(THD *thd, LEX_USER *user,
++ {
++   uint error;
++   ha_rows rows;
++-  if (likely(!(error= kill_threads_for_user(thd, user, state, &rows))))
++-    my_ok(thd, rows);
++-  else
+++
+++  switch (error= kill_threads_for_user(thd, user, state, &rows))
++   {
++-    /*
++-      This is probably ER_OUT_OF_RESOURCES, but in the future we may
++-      want to write the name of the user we tried to kill
++-    */
++-    my_error(error, MYF(0), user->host.str, user->user.str);
+++  case 0:
+++    my_ok(thd, rows);
+++    break;
+++  case ER_KILL_DENIED_ERROR:
+++    my_error(error, MYF(0), (unsigned long) thd->thread_id);
+++    break;
+++  case ER_OUT_OF_RESOURCES:
+++  default:
+++    my_error(error, MYF(0));
++   }
++ }
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ed555b4d44f059e407a9b35f74f073494a622aab
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,65 @@@
++Origin: upstream, https://github.com/MariaDB/server/commit/b69191bbb2278fce92b470e8e3abafe048166e39
++From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= <marko.makela@mariadb.com>
++Date: Fri, 18 Feb 2022 16:31:54 +0200
++Subject: [PATCH] MDEV-26645: Fix UB in Item_func_plus and Item_func_minus
++
++An integer overflow in an expression like a+b or a-b is undefined behavior.
++The compiler is allowed to assume that no such overflow is possible,
++and optimize away some code accordingly.
++
++Item_func_plus::int_op(), Item_func_minus::int_op(): Always check
++for overflow.
++
++Depending on the compiler and the compilation options, a test might fail:
++
++CURRENT_TEST: main.func_math
++mysqltest: At line 425: query 'SELECT 9223372036854775807 + 9223372036854775807' succeeded - should have failed with errno 1690...
++
++A similar bug had been fixed earlier in
++commit 328edf8560dbf1941ce314fa112e0db05d9f97f1.
++
++This commit was backported from MariaDB 10.9 to Debian with MariaDB 10.6.
++---
++ sql/item_func.cc | 12 ++----------
++ 1 file changed, 2 insertions(+), 10 deletions(-)
++
++--- a/sql/item_func.cc
+++++ b/sql/item_func.cc
++@@ -1,5 +1,5 @@
++ /* Copyright (c) 2000, 2015, Oracle and/or its affiliates.
++-   Copyright (c) 2009, 2021, MariaDB
+++   Copyright (c) 2009, 2022, MariaDB
++ 
++    This program is free software; you can redistribute it and/or modify
++    it under the terms of the GNU General Public License as published by
++@@ -1156,14 +1156,10 @@ longlong Item_func_plus::int_op()
++     }
++   }
++ 
++-#ifndef WITH_UBSAN
++-  res= val0 + val1;
++-#else
++   if (res_unsigned)
++     res= (longlong) ((ulonglong) val0 + (ulonglong) val1);
++   else
++-    res= val0+val1;
++-#endif /* WITH_UBSAN */
+++    res= val0 + val1;
++ 
++   return check_integer_overflow(res, res_unsigned);
++ 
++@@ -1326,14 +1322,10 @@ longlong Item_func_minus::int_op()
++         goto err;
++     }
++   }
++-#ifndef WITH_UBSAN
++-  res= val0 - val1;
++-#else
++   if (res_unsigned)
++     res= (longlong) ((ulonglong) val0 - (ulonglong) val1);
++   else
++     res= val0 - val1;
++-#endif /* WITH_UBSAN */
++ 
++   return check_integer_overflow(res, res_unsigned);
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..766bd91f0083839f490c9d9e68c3b95e37bfd7de
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,18 @@@
++Bug: https://jira.mariadb.org/browse/MDEV-27980
++Author: Daniel Black <daniel@mariadb.org>
++Subject: Revert upstream e99d3da
++
++Revert upstream https://github.com/MariaDB/server/commit/e99d3da6381023395c86f679bb76b00b4385dc2d
++that caused refression in database installation.
++
++--- a/scripts/mysql_install_db.sh
+++++ b/scripts/mysql_install_db.sh
++@@ -541,7 +541,7 @@ mysqld_install_cmd_line()
++ {
++   "$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup\
++   "--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" \
++-  "--plugin-dir=${plugindir}" --loose-disable-plugin-file-key-management \
+++  "--plugin-dir=${plugindir}" \
++   $args --max_allowed_packet=8M \
++   --net_buffer_length=16K
++ }
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..28096072994cd99651717ad67f215f33a04fd580
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,97 @@@
++Forwarded: https://github.com/MariaDB/server/pull/1718
++Author: Otto Kekäläinen <otto@debian.org>
++Subject: 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
++
++--- a/mysql-test/lib/process-purecov-annotations.pl
+++++ b/mysql-test/lib/process-purecov-annotations.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # -*- cperl -*-
++ 
++ # This script processes a .gcov coverage report to honor purecov 
++--- a/mysql-test/lib/v1/mysql-test-run.pl
+++++ b/mysql-test/lib/v1/mysql-test-run.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # -*- cperl -*-
++ 
++ # Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
++--- a/mysql-test/mariadb-stress-test.pl
+++++ b/mysql-test/mariadb-stress-test.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ 
++ # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
++ #
++--- a/mysql-test/mariadb-test-run.pl
+++++ b/mysql-test/mariadb-test-run.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # -*- cperl -*-
++ 
++ # Copyright (c) 2004, 2014, Oracle and/or its affiliates.
++--- a/mysql-test/std_data/checkDBI_DBD-MariaDB.pl
+++++ b/mysql-test/std_data/checkDBI_DBD-MariaDB.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ 
++ # Copyright (c) 2011, Oracle and/or its affiliates
++ #
++--- a/mysql-test/suite/engines/rr_trx/run_stress_tx_rr.pl
+++++ b/mysql-test/suite/engines/rr_trx/run_stress_tx_rr.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ ################################################################################
++ #
++ # This script runs the transactional stress test "stress_tx_rr" against the
++--- a/mysql-test/suite/funcs_1/lib/DataGen_local.pl
+++++ b/mysql-test/suite/funcs_1/lib/DataGen_local.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ 
++ 
++ if ( (scalar(@ARGV) != 1 ) || ($ARGV[0] =~ /[^0-9]/i ) )
++--- a/mysql-test/suite/funcs_1/lib/DataGen_modify.pl
+++++ b/mysql-test/suite/funcs_1/lib/DataGen_modify.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ 
++ 
++ if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) )
++--- a/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
+++++ b/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ 
++ #################################################################################
++ # Author:  Serge Kozlov                                                              #       
++--- a/mysql-test/suite/rpl/extension/checksum.pl
+++++ b/mysql-test/suite/rpl/extension/checksum.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ 
++ # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
++ #
++--- a/scripts/mytop.sh
+++++ b/scripts/mytop.sh
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ #
++ # $Id: mytop,v 1.99-maria6 2019/10/22 14:53:51 jweisbuch Exp $
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a31a3901507dcc4b05a375df7db93496e3aa7336
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,26 @@@
++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.
++
++--- a/storage/rocksdb/rocksdb/util/build_version.cc.in
+++++ b/storage/rocksdb/rocksdb/util/build_version.cc.in
++@@ -1,5 +1,5 @@
++ // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
++ #include "build_version.h"
++-const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:@@GIT_SHA@@";
++-const char* rocksdb_build_git_date = "rocksdb_build_git_date:@@GIT_DATE_TIME@@";
++-const char* rocksdb_build_compile_date = __DATE__;
+++const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:REDACTED";
+++const char* rocksdb_build_git_date = "rocksdb_build_git_date:REDACTED";
+++const char* rocksdb_build_compile_date = "REDACTED";
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ee2f1d696ff6269c990d29e1613888ec0007566c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,182 @@@
++Forwarded: https://github.com/MariaDB/server/pull/2035
++Author: Otto Kekäläinen <otto@debian.org>
++Subject: Fix various spelling errors still found in code
++--- a/mysql-test/main/dyncol.result
+++++ b/mysql-test/main/dyncol.result
++@@ -1508,7 +1508,7 @@ select column_get(column_create("1212",
++ column_get(column_create("1212", 2, "адын", 1, 3, 3), "4" as int)
++ NULL
++ set names latin1;
++-# column existance test (names)
+++# column existence test (names)
++ set names utf8;
++ select column_exists(column_create("адын", 1212), "адын");
++ column_exists(column_create("адын", 1212), "адын")
++--- a/mysql-test/main/dyncol.test
+++++ b/mysql-test/main/dyncol.test
++@@ -689,7 +689,7 @@ select column_get(column_create("1212",
++ select column_get(column_create("1212", 2, "адын", 1, 3, 3), "4" as int);
++ set names latin1;
++ 
++---echo # column existance test (names)
+++--echo # column existence test (names)
++ set names utf8;
++ select column_exists(column_create("адын", 1212), "адын");
++ select column_exists(column_create("адын", 1212), "aады");
++--- a/mysql-test/suite/archive/discover.result
+++++ b/mysql-test/suite/archive/discover.result
++@@ -84,7 +84,7 @@ drop table t1;
++ db.opt
++ t0.ARZ
++ #
++-# discover of table non-existance on drop
+++# discover of table non-existence on drop
++ #
++ select * from t0;
++ a
++--- a/mysql-test/suite/archive/discover.test
+++++ b/mysql-test/suite/archive/discover.test
++@@ -67,7 +67,7 @@ drop table t1;
++ --list_files $mysqld_datadir/test
++ 
++ --echo #
++---echo # discover of table non-existance on drop
+++--echo # discover of table non-existence on drop
++ --echo #
++ select * from t0;
++ remove_file $mysqld_datadir/test/t0.ARZ;
++@@ -119,7 +119,7 @@ select * from t1;
++ --list_files $mysqld_datadir/test
++ 
++ #
++-# MDEV-4955 discover of table non-existance on CREATE
+++# MDEV-4955 discover of table non-existence on CREATE
++ #
++ create table t1 (a int) engine=archive;
++ select * from t1;
++--- a/scripts/sys_schema/README.md
+++++ b/scripts/sys_schema/README.md
++@@ -5367,9 +5367,9 @@ name, then 'TEMPORARY' will be returned.
++ 
++ ##### Parameters
++ 
++-* in_db (VARCHAR(64)): The database name to check for the existance of the table in.
+++* in_db (VARCHAR(64)): The database name to check for the existence of the table in.
++ 
++-* in_table (VARCHAR(64)): The name of the table to check the existance of.
+++* in_table (VARCHAR(64)): The name of the table to check the existence of.
++ 
++ * out_exists ENUM('', 'BASE TABLE', 'VIEW', 'TEMPORARY'):  The return value: whether the table exists. The value is one of:
++    - ''           - the table does not exist neither as a base table, view, nor temporary table.
++--- a/scripts/sys_schema/procedures/table_exists.sql
+++++ b/scripts/sys_schema/procedures/table_exists.sql
++@@ -34,10 +34,10 @@ CREATE DEFINER='mariadb.sys'@'localhost'
++              -----------
++ 
++              in_db (VARCHAR(64)):
++-               The database name to check for the existance of the table in.
+++               The database name to check for the existence of the table in.
++ 
++              in_table (VARCHAR(64)):
++-               The name of the table to check the existance of.
+++               The name of the table to check the existence of.
++ 
++              out_exists ENUM('''', ''BASE TABLE'', ''VIEW'', ''TEMPORARY''):
++                The return value: whether the table exists. The value is one of:
++--- a/sql/semisync_master_ack_receiver.h
+++++ b/sql/semisync_master_ack_receiver.h
++@@ -183,7 +183,7 @@ public:
++ 
++   bool listen_on_sockets()
++   {
++-    /* Reinitialze the fds with active fds before calling select */
+++    /* Reinitialize the fds with active fds before calling select */
++     m_fds= m_init_fds;
++     struct timeval tv= {1,0};
++     /* select requires max fd + 1 for the first argument */
++--- a/sql/sql_table.cc
+++++ b/sql/sql_table.cc
++@@ -4357,7 +4357,7 @@ int create_table_impl(THD *thd,
++       else if (options.if_not_exists())
++       {
++         /*
++-          We never come here as part of normal create table as table existance
+++          We never come here as part of normal create table as table existence
++           is  checked in open_and_lock_tables(). We may come here as part of
++           ALTER TABLE when converting a table for a distributed engine to a
++           a local one.
++--- a/storage/maria/ha_s3.cc
+++++ b/storage/maria/ha_s3.cc
++@@ -789,13 +789,13 @@ static int s3_discover_table(handlerton
++    @return 1 frm exists
++ */
++ 
++-static int s3_discover_table_existance(handlerton *hton, const char *db,
+++static int s3_discover_table_existence(handlerton *hton, const char *db,
++                                        const char *table_name)
++ {
++   S3_INFO s3_info;
++   ms3_st *s3_client;
++   int res;
++-  DBUG_ENTER("s3_discover_table_existance");
+++  DBUG_ENTER("s3_discover_table_existence");
++ 
++   /* Ignore names in "mysql" database to speed up boot */
++   if (!strcmp(db, MYSQL_SCHEMA_NAME.str))
++@@ -1019,7 +1019,7 @@ static int ha_s3_init(void *p)
++   s3_hton->table_options= s3_table_option_list;
++   s3_hton->discover_table= s3_discover_table;
++   s3_hton->discover_table_names= s3_discover_table_names;
++-  s3_hton->discover_table_existence= s3_discover_table_existance;
+++  s3_hton->discover_table_existence= s3_discover_table_existence;
++   s3_hton->notify_tabledef_changed= s3_notify_tabledef_changed;
++   s3_hton->create_partitioning_metadata= s3_create_partitioning_metadata;
++   s3_hton->tablefile_extensions= no_exts;
++--- a/extra/mariabackup/xtrabackup.cc
+++++ b/extra/mariabackup/xtrabackup.cc
++@@ -602,7 +602,7 @@ void CorruptedPages::zero_out_free_pages
++           die("Can't zero out corrupted page " UINT32PF " of tablespace %s",
++               *page_it, space_name.c_str());
++         msg("Corrupted page " UINT32PF
++-            " of tablespace %s was successfuly fixed.",
+++            " of tablespace %s was successfully fixed.",
++             *page_it, space_name.c_str());
++       }
++     }
++--- a/mysql-test/suite/mariabackup/log_page_corruption.result
+++++ b/mysql-test/suite/mariabackup/log_page_corruption.result
++@@ -98,12 +98,12 @@ test/t3_inc
++ ------
++ # Full backup prepare
++ # "innodb_corrupted_pages" file must not exist after successful prepare
++-FOUND 1 /was successfuly fixed.*/ in backup.log
+++FOUND 1 /was successfully fixed.*/ in backup.log
++ # Check that fixed pages are zero-filled
++ # Incremental backup prepare
++ # "innodb_corrupted_pages" file must not exist after successful prepare
++ # do not remove "innodb_corrupted_pages" in incremental dir
++-FOUND 1 /was successfuly fixed.*/ in backup.log
+++FOUND 1 /was successfully fixed.*/ in backup.log
++ # Check that fixed pages are zero-filled
++ # shutdown server
++ # remove datadir
++--- a/mysql-test/suite/mariabackup/log_page_corruption.test
+++++ b/mysql-test/suite/mariabackup/log_page_corruption.test
++@@ -323,7 +323,7 @@ exec $XTRABACKUP  --prepare --target-dir
++ --echo # "innodb_corrupted_pages" file must not exist after successful prepare
++ --error 1
++ --file_exists $targetdir/innodb_corrupted_pages
++---let SEARCH_PATTERN=was successfuly fixed.*
+++--let SEARCH_PATTERN=was successfully fixed.*
++ --let SEARCH_FILE=$backuplog
++ --source include/search_pattern_in_file.inc
++ 
++@@ -347,7 +347,7 @@ exec $XTRABACKUP --prepare --target-dir=
++ --file_exists $targetdir/innodb_corrupted_pages
++ --echo # do not remove "innodb_corrupted_pages" in incremental dir
++ --file_exists $incdir/innodb_corrupted_pages
++---let SEARCH_PATTERN=was successfuly fixed.*
+++--let SEARCH_PATTERN=was successfully fixed.*
++ --let SEARCH_FILE=$backuplog
++ --source include/search_pattern_in_file.inc
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f13352db17e02f13bc31b82b75bab8bc1f21a9b6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,36 @@@
++Forwarded: https://github.com/facebook/rocksdb/pull/9653
++Author: Otto Kekäläinen <otto@debian.org>
++Subject: Fix various spelling errors still found in code
++  Two upstream PRs remain that have been merged, but not imported on MariaDB 10.6.
++
++--- a/storage/rocksdb/rocksdb/db/external_sst_file_ingestion_job.cc
+++++ b/storage/rocksdb/rocksdb/db/external_sst_file_ingestion_job.cc
++@@ -46,7 +46,7 @@ Status ExternalSstFileIngestionJob::Prep
++             TablePropertiesCollectorFactory::Context::kUnknownColumnFamily &&
++         f.cf_id != cfd_->GetID()) {
++       return Status::InvalidArgument(
++-          "External file column family id dont match");
+++          "External file column family id don't match");
++     }
++   }
++ 
++@@ -646,7 +646,7 @@ Status ExternalSstFileIngestionJob::Assi
++     return Status::InvalidArgument("Global seqno is required, but disabled");
++   } else if (file_to_ingest->global_seqno_offset == 0) {
++     return Status::InvalidArgument(
++-        "Trying to set global seqno for a file that dont have a global seqno "
+++        "Trying to set global seqno for a file that don't have a global seqno "
++         "field");
++   }
++ 
++--- a/storage/rocksdb/rocksdb/include/rocksdb/cache.h
+++++ b/storage/rocksdb/rocksdb/include/rocksdb/cache.h
++@@ -60,7 +60,7 @@ struct LRUCacheOptions {
++   // If greater than zero, the LRU list will be split into a high-pri
++   // list and a low-pri list. High-pri entries will be insert to the
++   // tail of high-pri list, while low-pri entries will be first inserted to
++-  // the low-pri list (the midpoint). This is refered to as
+++  // the low-pri list (the midpoint). This is referred to as
++   // midpoint insertion strategy to make entries never get hit in cache
++   // age out faster.
++   //
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e2b69b8e662f538b8b79016e0bb4a57d251b4928
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,24 @@@
++Forwarded: https://github.com/codership/wsrep-lib/pull/183
++Author: Otto Kekäläinen <otto@debian.org>
++Subject: Fix various spelling errors still found in code
++
++--- a/wsrep-lib/src/wsrep_provider_v26.cpp
+++++ b/wsrep-lib/src/wsrep_provider_v26.cpp
++@@ -690,7 +690,7 @@ void wsrep::wsrep_provider_v26::init_ser
++     {
++         if (init_tls_service(wsrep_->dlh, services.tls_service))
++         {
++-            throw wsrep::runtime_error("Failed to initialze TLS service");
+++            throw wsrep::runtime_error("Failed to initialize TLS service");
++         }
++         services_enabled_.tls_service = services.tls_service;
++     }
++@@ -698,7 +698,7 @@ void wsrep::wsrep_provider_v26::init_ser
++     {
++         if (init_allowlist_service(wsrep_->dlh, services.allowlist_service))
++         {
++-            throw wsrep::runtime_error("Failed to initialze allowlist service");
+++            throw wsrep::runtime_error("Failed to initialize allowlist service");
++         }
++         services_enabled_.allowlist_service = services.allowlist_service;
++     }
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..45c84ccea1b54106be8de6f69a9f080b387d00f9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,39 @@@
++Origin: upstream, https://github.com/mroonga/mroonga/issues/298#issuecomment-1030815927
++Bug: https://github.com/mroonga/mroonga/issues/298
++Forwarded: not-needed
++Author: Sutou Kouhei <kou@clear-code.com>
++Date: Sat, 5 Feb 2022 11:05:39 +0900
++Subject: [PATCH] cmake: add support for reproducible buildS
++ .
++ We should use relative path not absolute path.
++ We can use target without breaking reproducibility.
++--- a/storage/mroonga/CMakeLists.txt
+++++ b/storage/mroonga/CMakeLists.txt
++@@ -219,7 +219,7 @@ set(MYSQL_INCLUDE_DIRS
++ 
++ if(MRN_BUNDLED)
++   set(MYSQL_PLUGIN_DIR "${INSTALL_PLUGINDIR}")
++-  set(MYSQL_SERVICES_LIB_DIR "${MYSQL_BUILD_DIR}/libservices")
+++  set(MYSQL_SERVICES_LIB_DIR)
++   set(MYSQL_CFLAGS "${CMAKE_C_FLAGS}")
++   set(MYSQL_VERSION "${MYSQL_BASE_VERSION}")
++ else()
++@@ -258,15 +258,11 @@ endif()
++ 
++ if(MRN_GROONGA_BUNDLED)
++   set(GROONGA_INCLUDE_DIRS "${MRN_BUNDLED_GROONGA_DIR}/include")
++-  set(GROONGA_LIBRARY_DIRS "${MRN_BUNDLED_GROONGA_DIR}/lib")
++-  set(GROONGA_LIBRARIES "libgroonga")
+++  set(GROONGA_LIBRARY "libgroonga")
++ 
++-  set(MRN_LIBRARY_DIRS ${GROONGA_LIBRARY_DIRS})
++-  set(MRN_LIBRARIES ${GROONGA_LIBRARIES})
+++  set(MRN_LIBRARY_DIRS)
+++  set(MRN_LIBRARIES ${GROONGA_LIBRARY})
++   if(MRN_GROONGA_NORMALIZER_MYSQL_EMBED)
++-    set(MRN_LIBRARY_DIRS
++-      ${MRN_LIBRARY_DIRS}
++-      "${MRN_BUNDLED_GROONGA_NORMALIZER_MYSQL_DIR}/normalizers")
++     set(MRN_LIBRARIES ${MRN_LIBRARIES} mysql_normalizer)
++   endif()
++ else()
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..770a9c9b350e5509d29832c6c69f4acfddfe9df3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,369 @@@
++Forwarded: https://github.com/MariaDB/server/pull/2036
++From: https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/blob/c9s/mariadb-openssl3.patch
++Origin: upstream, https://github.com/MariaDB/server/commit/c80991c79f701dac42c630af4bd39593b0c7efb4
++Author: Vladislav Vaintroub <wlad@mariadb.com>
++Date: Mon, 8 Nov 2021 18:48:19 +0100
++Subject: [PATCH] MDEV-25785 Add support for OpenSSL 3.0
++
++Summary of changes
++
++- MD_CTX_SIZE is increased
++
++- EVP_CIPHER_CTX_buf_noconst(ctx) does not work anymore, points
++  to nobody knows where. The assumption made previously was that
++  (since the function does not seem to be documented)
++  was that it points to the last partial source block.
++  Add own partial block buffer for NOPAD encryption instead
++
++- SECLEVEL in CipherString in openssl.cnf
++  had been downgraded to 0, from 1, to make TLSv1.0 and TLSv1.1 possible
++
++- Workaround Ssl_cipher_list issue, it now returns TLSv1.3 ciphers,
++  in addition to what was set in --ssl-cipher
++
++- ctx_buf buffer now must be aligned to 16 bytes with openssl(
++  previously with WolfSSL only), or crashes will happen
++
++- updated aes-t , to be better debuggable
++  using function, rather than a huge multiline macro
++  added test that does "nopad" encryption piece-wise, to test
++  replacement of EVP_CIPHER_CTX_buf_noconst
++---
++ cmake/ssl.cmake                   |  19 ++++-
++ include/ssl_compat.h              |   3 +-
++ mysql-test/lib/openssl.cnf        |   2 +-
++ mysql-test/main/ssl_cipher.result |   6 +-
++ mysql-test/main/ssl_cipher.test   |   2 +-
++ mysys_ssl/my_crypt.cc             |  46 +++++++-----
++ unittest/mysys/aes-t.c            | 121 ++++++++++++++++++++++--------
++ 7 files changed, 141 insertions(+), 58 deletions(-)
++
++
++--- a/cmake/ssl.cmake
+++++ b/cmake/ssl.cmake
++@@ -139,9 +139,20 @@ MACRO (MYSQL_CHECK_SSL)
++       SET(SSL_INTERNAL_INCLUDE_DIRS "")
++       SET(SSL_DEFINES "-DHAVE_OPENSSL")
++ 
+++      FOREACH(x INCLUDES LIBRARIES DEFINITIONS)
+++        SET(SAVE_CMAKE_REQUIRED_${x} ${CMAKE_REQUIRED_${x}})
+++      ENDFOREACH()
+++
+++      # Silence "deprecated in OpenSSL 3.0"
+++      IF((NOT OPENSSL_VERSION) # 3.0 not determined by older cmake
+++         OR NOT(OPENSSL_VERSION VERSION_LESS "3.0.0"))
+++        SET(SSL_DEFINES "${SSL_DEFINES} -DOPENSSL_API_COMPAT=0x10100000L")
+++        SET(CMAKE_REQUIRED_DEFINITIONS -DOPENSSL_API_COMPAT=0x10100000L)
+++      ENDIF()
+++
++       SET(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
++       SET(CMAKE_REQUIRED_LIBRARIES ${SSL_LIBRARIES})
++-      SET(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
+++
++       CHECK_SYMBOL_EXISTS(ERR_remove_thread_state "openssl/err.h"
++                           HAVE_ERR_remove_thread_state)
++       CHECK_SYMBOL_EXISTS(EVP_aes_128_ctr "openssl/evp.h"
++@@ -150,8 +161,10 @@ MACRO (MYSQL_CHECK_SSL)
++                           HAVE_EncryptAes128Gcm)
++       CHECK_SYMBOL_EXISTS(X509_check_host "openssl/x509v3.h"
++                           HAVE_X509_check_host)
++-      SET(CMAKE_REQUIRED_INCLUDES)
++-      SET(CMAKE_REQUIRED_LIBRARIES)
+++
+++      FOREACH(x INCLUDES LIBRARIES DEFINITIONS)
+++        SET(CMAKE_REQUIRED_${x} ${SAVE_CMAKE_REQUIRED_${x}})
+++      ENDFOREACH()
++     ELSE()
++       IF(WITH_SSL STREQUAL "system")
++         MESSAGE(FATAL_ERROR "Cannot find appropriate system libraries for SSL. Use WITH_SSL=bundled to enable SSL support")
++--- a/include/ssl_compat.h
+++++ b/include/ssl_compat.h
++@@ -24,7 +24,7 @@
++ #define SSL_LIBRARY OpenSSL_version(OPENSSL_VERSION)
++ #define ERR_remove_state(X) ERR_clear_error()
++ #define EVP_CIPHER_CTX_SIZE 176
++-#define EVP_MD_CTX_SIZE 48
+++#define EVP_MD_CTX_SIZE 72
++ #undef EVP_MD_CTX_init
++ #define EVP_MD_CTX_init(X) do { memset((X), 0, EVP_MD_CTX_SIZE); EVP_MD_CTX_reset(X); } while(0)
++ #undef EVP_CIPHER_CTX_init
++--- a/mysql-test/lib/openssl.cnf
+++++ b/mysql-test/lib/openssl.cnf
++@@ -9,4 +9,4 @@ ssl_conf = ssl_section
++ system_default = system_default_section
++ 
++ [system_default_section]
++-CipherString = ALL:@SECLEVEL=1
+++CipherString = ALL:@SECLEVEL=0
++--- a/mysql-test/main/ssl_cipher.result
+++++ b/mysql-test/main/ssl_cipher.result
++@@ -58,11 +58,8 @@ Ssl_cipher AES256-SHA
++ drop user mysqltest_1@localhost;
++ # restart: --ssl-cipher=AES128-SHA
++ connect  ssl_con,localhost,root,,,,,SSL;
++-SHOW STATUS LIKE 'Ssl_cipher';
++-Variable_name        Value
++-Ssl_cipher   AES128-SHA
++-SHOW STATUS LIKE 'Ssl_cipher_list';
++-Variable_name        Value
++-Ssl_cipher_list      AES128-SHA
+++SELECT VARIABLE_VALUE like '%AES128-SHA%' FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher_list';
+++VARIABLE_VALUE like '%AES128-SHA%'
+++1
++ disconnect ssl_con;
++ connection default;
++--- a/mysql-test/main/ssl_cipher.test
+++++ b/mysql-test/main/ssl_cipher.test
++@@ -97,7 +97,6 @@ drop user mysqltest_1@localhost;
++ let $restart_parameters=--ssl-cipher=AES128-SHA;
++ source include/restart_mysqld.inc;
++ connect (ssl_con,localhost,root,,,,,SSL);
++-SHOW STATUS LIKE 'Ssl_cipher';
++-SHOW STATUS LIKE 'Ssl_cipher_list';
+++SELECT VARIABLE_VALUE like '%AES128-SHA%' FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher_list';
++ disconnect ssl_con;
++ connection default;
++--- a/mysys_ssl/my_crypt.cc
+++++ b/mysys_ssl/my_crypt.cc
++@@ -29,11 +29,7 @@
++ #include <ssl_compat.h>
++ #include <cstdint>
++ 
++-#ifdef HAVE_WOLFSSL
++ #define CTX_ALIGN 16
++-#else
++-#define CTX_ALIGN 0
++-#endif
++ 
++ class MyCTX
++ {
++@@ -100,8 +96,9 @@ class MyCTX_nopad : public MyCTX
++ {
++ public:
++   const uchar *key;
++-  uint klen, buf_len;
+++  uint klen, source_tail_len;
++   uchar oiv[MY_AES_BLOCK_SIZE];
+++  uchar source_tail[MY_AES_BLOCK_SIZE];
++ 
++   MyCTX_nopad() : MyCTX() { }
++   ~MyCTX_nopad() { }
++@@ -112,7 +109,7 @@ public:
++     compile_time_assert(MY_AES_CTX_SIZE >= sizeof(MyCTX_nopad));
++     this->key= key;
++     this->klen= klen;
++-    this->buf_len= 0;
+++    this->source_tail_len= 0;
++     if (ivlen)
++       memcpy(oiv, iv, ivlen);
++     DBUG_ASSERT(ivlen == 0 || ivlen == sizeof(oiv));
++@@ -123,26 +120,41 @@ public:
++     return res;
++   }
++ 
+++  /** Update last partial source block, stored in source_tail array. */
+++  void update_source_tail(const uchar* src, uint slen)
+++  {
+++    if (!slen)
+++      return;
+++    uint new_tail_len= (source_tail_len + slen) % MY_AES_BLOCK_SIZE;
+++    if (new_tail_len)
+++    {
+++      if (slen + source_tail_len < MY_AES_BLOCK_SIZE)
+++      {
+++        memcpy(source_tail + source_tail_len, src, slen);
+++      }
+++      else
+++      {
+++        DBUG_ASSERT(slen > new_tail_len);
+++        memcpy(source_tail, src + slen - new_tail_len, new_tail_len);
+++      }
+++    }
+++    source_tail_len= new_tail_len;
+++  }
+++
++   int update(const uchar *src, uint slen, uchar *dst, uint *dlen)
++   {
++-    buf_len+= slen;
+++    update_source_tail(src, slen);
++     return MyCTX::update(src, slen, dst, dlen);
++   }
++ 
++   int finish(uchar *dst, uint *dlen)
++   {
++-    buf_len %= MY_AES_BLOCK_SIZE;
++-    if (buf_len)
+++    if (source_tail_len)
++     {
++-      uchar *buf= EVP_CIPHER_CTX_buf_noconst(ctx);
++       /*
++         Not much we can do, block ciphers cannot encrypt data that aren't
++         a multiple of the block length. At least not without padding.
++         Let's do something CTR-like for the last partial block.
++-
++-        NOTE this assumes that there are only buf_len bytes in the buf.
++-        If OpenSSL will change that, we'll need to change the implementation
++-        of this class too.
++       */
++       uchar mask[MY_AES_BLOCK_SIZE];
++       uint mlen;
++@@ -154,10 +166,10 @@ public:
++         return rc;
++       DBUG_ASSERT(mlen == sizeof(mask));
++ 
++-      for (uint i=0; i < buf_len; i++)
++-        dst[i]= buf[i] ^ mask[i];
+++      for (uint i=0; i < source_tail_len; i++)
+++        dst[i]= source_tail[i] ^ mask[i];
++     }
++-    *dlen= buf_len;
+++    *dlen= source_tail_len;
++     return MY_AES_OK;
++   }
++ };
++--- a/unittest/mysys/aes-t.c
+++++ b/unittest/mysys/aes-t.c
++@@ -21,27 +21,96 @@
++ #include <string.h>
++ #include <ctype.h>
++ 
++-#define DO_TEST(mode, nopad, slen, fill, dlen, hash)                    \
++-  SKIP_BLOCK_IF(mode == 0xDEADBEAF, nopad ? 4 : 5, #mode " not supported")     \
++-  {                                                                     \
++-    memset(src, fill, src_len= slen);                                   \
++-    ok(my_aes_crypt(mode, nopad | ENCRYPTION_FLAG_ENCRYPT,              \
++-                    src, src_len, dst, &dst_len,                        \
++-                    key, sizeof(key), iv, sizeof(iv)) == MY_AES_OK,     \
++-      "encrypt " #mode " %u %s", src_len, nopad ? "nopad" : "pad");     \
++-    if (!nopad)                                                         \
++-      ok (dst_len == my_aes_get_size(mode, src_len), "my_aes_get_size");\
++-    my_md5(md5, (char*)dst, dst_len);                                   \
++-    ok(dst_len == dlen && memcmp(md5, hash, sizeof(md5)) == 0, "md5");  \
++-    ok(my_aes_crypt(mode, nopad | ENCRYPTION_FLAG_DECRYPT,              \
++-                    dst, dst_len, ddst, &ddst_len,                      \
++-                    key, sizeof(key), iv, sizeof(iv)) == MY_AES_OK,     \
++-       "decrypt " #mode " %u", dst_len);                                \
++-    ok(ddst_len == src_len && memcmp(src, ddst, src_len) == 0, "memcmp"); \
+++
+++/** Test streaming encryption, bytewise update.*/
+++static int aes_crypt_bytewise(enum my_aes_mode mode, int flags, const unsigned char *src,
+++                 unsigned int slen, unsigned char *dst, unsigned int *dlen,
+++                 const unsigned char *key, unsigned int klen,
+++                 const unsigned char *iv, unsigned int ivlen)
+++{
+++  /* Allocate context on odd address on stack, in order to
+++   catch misalignment errors.*/
+++  void *ctx= (char *)alloca(MY_AES_CTX_SIZE+1)+1;
+++
+++  int res1, res2;
+++  uint d1= 0, d2;
+++  uint i;
+++
+++  if ((res1= my_aes_crypt_init(ctx, mode, flags, key, klen, iv, ivlen)))
+++    return res1;
+++  for (i= 0; i < slen; i++)
+++  {
+++    uint tmp_d1=0;
+++    res1= my_aes_crypt_update(ctx, src+i,1, dst, &tmp_d1);
+++    if (res1)
+++      return res1;
+++    d1+= tmp_d1;
+++    dst+= tmp_d1;
+++  }
+++  res2= my_aes_crypt_finish(ctx, dst, &d2);
+++  *dlen= d1 + d2;
+++  return res1 ? res1 : res2;
+++}
+++
+++
+++#ifndef HAVE_EncryptAes128Ctr
+++const uint MY_AES_CTR=0xDEADBEAF;
+++#endif
+++#ifndef HAVE_EncryptAes128Gcm
+++const uint MY_AES_GCM=0xDEADBEAF;
+++#endif
+++
+++#define MY_AES_UNSUPPORTED(x)  (x == 0xDEADBEAF)
+++
+++static void do_test(uint mode, const char *mode_str, int nopad, uint slen,
+++                    char fill, size_t dlen, const char *hash)
+++{
+++  uchar key[16]= {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6};
+++  uchar iv[16]= {2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7};
+++  uchar src[1000], dst[1100], dst2[1100], ddst[1000];
+++  uchar md5[MY_MD5_HASH_SIZE];
+++  uint src_len, dst_len, dst_len2, ddst_len;
+++  int result;
+++
+++  if (MY_AES_UNSUPPORTED(mode))
+++  {
+++    skip(nopad?7:6, "%s not supported", mode_str);
+++    return;
+++  }
+++  memset(src, fill, src_len= slen);
+++  result= my_aes_crypt(mode, nopad | ENCRYPTION_FLAG_ENCRYPT, src, src_len,
+++                       dst, &dst_len, key, sizeof(key), iv, sizeof(iv));
+++  ok(result == MY_AES_OK, "encrypt %s %u %s", mode_str, src_len,
+++     nopad ? "nopad" : "pad");
+++
+++  if (nopad)
+++  {
+++    result= aes_crypt_bytewise(mode, nopad | ENCRYPTION_FLAG_ENCRYPT, src,
+++                                src_len, dst2, &dst_len2, key, sizeof(key),
+++                                iv, sizeof(iv));
+++    ok(result == MY_AES_OK, "encrypt bytewise %s %u", mode_str, src_len);
+++    /* Compare with non-bytewise encryption result*/
+++    ok(dst_len == dst_len2 && memcmp(dst, dst2, dst_len) == 0,
+++       "memcmp bytewise  %s %u", mode_str, src_len);
++   }
+++  else
+++  {
+++    int dst_len_real= my_aes_get_size(mode, src_len);
+++    ok(dst_len_real= dst_len, "my_aes_get_size");
+++  }
+++  my_md5(md5, (char *) dst, dst_len);
+++  ok(dst_len == dlen, "md5 len");
+++  ok(memcmp(md5, hash, sizeof(md5)) == 0, "md5");
+++  result= my_aes_crypt(mode, nopad | ENCRYPTION_FLAG_DECRYPT,
+++                       dst, dst_len, ddst, &ddst_len, key, sizeof(key), iv,
+++                       sizeof(iv));
+++
+++  ok(result == MY_AES_OK, "decrypt %s %u", mode_str, dst_len);
+++  ok(ddst_len == src_len && memcmp(src, ddst, src_len) == 0, "memcmp");
+++}
++ 
++-#define DO_TEST_P(M,S,F,D,H) DO_TEST(M,0,S,F,D,H)
++-#define DO_TEST_N(M,S,F,D,H) DO_TEST(M,ENCRYPTION_FLAG_NOPAD,S,F,D,H)
+++#define DO_TEST_P(M, S, F, D, H) do_test(M, #M, 0, S, F, D, H)
+++#define DO_TEST_N(M, S, F, D, H) do_test(M, #M, ENCRYPTION_FLAG_NOPAD, S, F, D, H)
++ 
++ /* useful macro for debugging */
++ #define PRINT_MD5()                                     \
++@@ -53,25 +122,15 @@
++     printf("\"\n");                                     \
++   } while(0);
++ 
++-#ifndef HAVE_EncryptAes128Ctr
++-const uint MY_AES_CTR=0xDEADBEAF;
++-#endif
++-#ifndef HAVE_EncryptAes128Gcm
++-const uint MY_AES_GCM=0xDEADBEAF;
++-#endif
++ 
++ int
++ main(int argc __attribute__((unused)),char *argv[])
++ {
++-  uchar key[16]= {1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6};
++-  uchar iv[16]=  {2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7};
++-  uchar src[1000], dst[1100], ddst[1000];
++-  uchar md5[MY_MD5_HASH_SIZE];
++-  uint src_len, dst_len, ddst_len;
++ 
++   MY_INIT(argv[0]);
++ 
++-  plan(87);
+++  plan(122);
+++
++   DO_TEST_P(MY_AES_ECB, 200, '.', 208, "\xd8\x73\x8e\x3a\xbc\x66\x99\x13\x7f\x90\x23\x52\xee\x97\x6f\x9a");
++   DO_TEST_P(MY_AES_ECB, 128, '?', 144, "\x19\x58\x33\x85\x4c\xaa\x7f\x06\xd1\xb2\xec\xd7\xb7\x6a\xa9\x5b");
++   DO_TEST_P(MY_AES_CBC, 159, '%', 160, "\x4b\x03\x18\x3d\xf1\xa7\xcd\xa1\x46\xb3\xc6\x8a\x92\xc0\x0f\xc9");
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..58c805c9551dbaf250efdb751bdc568e63095f40
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,23 @@@
++Origin: upstream, https://github.com/MariaDB/server/commit/64e358821e0e8b5a2134aa93ba9ddf24cd46ac7c
++Author: Oleksandr Byelkin <sanja@mariadb.com>
++Date: Fri, 4 Feb 2022 14:52:03 +0100
++Subject: [PATCH] Revert "don't build with OpenSSL 3.0, it doesn't work before
++ MDEV-25785"
++
++This reverts commit c9beef43154a199bfcd9f71049c011a2ed77ca74, because
++we have OpenSSL 3.0 support here.
++---
++ cmake/ssl.cmake | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++--- a/cmake/ssl.cmake
+++++ b/cmake/ssl.cmake
++@@ -118,7 +118,7 @@ MACRO (MYSQL_CHECK_SSL)
++     ENDIF()
++     FIND_PACKAGE(OpenSSL)
++     SET_PACKAGE_PROPERTIES(OpenSSL PROPERTIES TYPE RECOMMENDED)
++-    IF(OPENSSL_FOUND AND OPENSSL_VERSION AND OPENSSL_VERSION VERSION_LESS "3.0.0")
+++    IF(OPENSSL_FOUND)
++       SET(OPENSSL_LIBRARY ${OPENSSL_SSL_LIBRARY})
++       INCLUDE(CheckSymbolExists)
++       SET(SSL_SOURCES "")
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f9e9e63d66014e709c277a78a3747e6758891feb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,148 @@@
++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.
++--- a/storage/rocksdb/build_rocksdb.cmake
+++++ b/storage/rocksdb/build_rocksdb.cmake
++@@ -90,6 +90,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Linux"
++   add_definitions(-DOS_LINUX)
++ elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS")
++   add_definitions(-DOS_SOLARIS)
+++elseif(CMAKE_SYSTEM_NAME MATCHES "kFreeBSD")
+++  add_definitions(-DOS_GNU_KFREEBSD)
++ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
++   add_definitions(-DOS_FREEBSD)
++ elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
++--- a/storage/rocksdb/rocksdb/CMakeLists.txt
+++++ b/storage/rocksdb/rocksdb/CMakeLists.txt
++@@ -91,7 +91,7 @@ if(MSVC)
++   option(WITH_XPRESS "build with windows built in compression" OFF)
++   include(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty.inc)
++ else()
++-  if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+++  if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" AND NOT CMAKE_SYSTEM_NAME MATCHES "kFreeBSD")
++     # FreeBSD has jemalloc as default malloc
++     # but it does not have all the jemalloc files in include/...
++     set(WITH_JEMALLOC ON)
++@@ -413,6 +413,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Linux"
++   add_definitions(-DOS_LINUX)
++ elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS")
++   add_definitions(-DOS_SOLARIS)
+++elseif(CMAKE_SYSTEM_NAME MATCHES "kFreeBSD")
+++  add_definitions(-DOS_GNU_KFREEBSD)
++ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
++   add_definitions(-DOS_FREEBSD)
++ elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
++--- a/storage/rocksdb/rocksdb/build_tools/build_detect_platform
+++++ b/storage/rocksdb/rocksdb/build_tools/build_detect_platform
++@@ -190,6 +190,17 @@ EOF
++         PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lpthread"
++         # PORT_FILES=port/freebsd/freebsd_specific.cc
++         ;;
+++    GNU/kFreeBSD)
+++        PLATFORM=OS_GNU_KFREEBSD
+++        COMMON_FLAGS="$COMMON_FLAGS -DOS_GNU_KFREEBSD"
+++        if [ -z "$USE_CLANG" ]; then
+++            COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp"
+++        else
+++            PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -latomic"
+++        fi
+++        PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lpthread -lrt"
+++        # PORT_FILES=port/gnu_kfreebsd/gnu_kfreebsd_specific.cc
+++        ;;
++     NetBSD)
++         PLATFORM=OS_NETBSD
++         COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp -D_REENTRANT -DOS_NETBSD"
++--- a/storage/rocksdb/rocksdb/env/env_posix.cc
+++++ b/storage/rocksdb/rocksdb/env/env_posix.cc
++@@ -41,7 +41,7 @@
++ #include <time.h>
++ #include <algorithm>
++ // Get nano time includes
++-#if defined(OS_LINUX) || defined(OS_FREEBSD)
+++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD)
++ #elif defined(__MACH__)
++ #include <Availability.h>
++ #include <mach/clock.h>
++@@ -287,7 +287,8 @@ class PosixEnv : public CompositeEnvWrap
++   }
++ 
++   uint64_t NowNanos() override {
++-#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_AIX)
+++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD) || \
+++    defined(OS_AIX)
++     struct timespec ts;
++     clock_gettime(CLOCK_MONOTONIC, &ts);
++     return static_cast<uint64_t>(ts.tv_sec) * 1000000000 + ts.tv_nsec;
++@@ -307,8 +308,8 @@ class PosixEnv : public CompositeEnvWrap
++   }
++ 
++   uint64_t NowCPUNanos() override {
++-#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_AIX) || \
++-    (defined(__MACH__) && defined(__MAC_10_12))
+++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD) || \
+++    defined(OS_AIX) || (defined(__MACH__) && defined(__MAC_10_12))
++     struct timespec ts;
++     clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
++     return static_cast<uint64_t>(ts.tv_sec) * 1000000000 + ts.tv_nsec;
++--- a/storage/rocksdb/rocksdb/port/stack_trace.cc
+++++ b/storage/rocksdb/rocksdb/port/stack_trace.cc
++@@ -32,7 +32,7 @@ namespace port {
++ 
++ namespace {
++ 
++-#if defined(OS_LINUX) || defined(OS_FREEBSD)
+++#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD)
++ const char* GetExecutableName() {
++   static char name[1024];
++ 
++--- a/storage/rocksdb/rdb_io_watchdog.h
+++++ b/storage/rocksdb/rdb_io_watchdog.h
++@@ -56,19 +56,19 @@ class Rdb_io_watchdog {
++   int stop_timers() {
++     int ret = 0;
++ 
++-    if (m_io_check_watchdog_timer) {
+++    if (m_io_check_watchdog_timer != reinterpret_cast<timer_t>(-1)) {
++       ret = timer_delete(m_io_check_watchdog_timer);
++ 
++       if (!ret) {
++-        m_io_check_watchdog_timer = nullptr;
+++        m_io_check_watchdog_timer = reinterpret_cast<timer_t>(-1);
++       }
++     }
++ 
++-    if (m_io_check_timer && !ret) {
+++    if (m_io_check_timer != reinterpret_cast<timer_t>(-1) && !ret) {
++       ret = timer_delete(m_io_check_timer);
++ 
++       if (!ret) {
++-        m_io_check_timer = nullptr;
+++        m_io_check_timer = reinterpret_cast<timer_t>(-1);
++       }
++     }
++ 
++@@ -93,8 +93,8 @@ class Rdb_io_watchdog {
++ 
++  public:
++   explicit Rdb_io_watchdog(std::vector<std::string> &&directories)
++-      : m_io_check_timer(nullptr),
++-        m_io_check_watchdog_timer(nullptr),
+++      : m_io_check_timer(reinterpret_cast<timer_t>(-1)),
+++        m_io_check_watchdog_timer(reinterpret_cast<timer_t>(-1)),
++         m_io_in_progress(false),
++         m_dirs_to_check(std::move(directories)),
++         m_buf(nullptr) {
++--- a/storage/rocksdb/rdb_io_watchdog.cc
+++++ b/storage/rocksdb/rdb_io_watchdog.cc
++@@ -111,7 +111,7 @@ void Rdb_io_watchdog::io_check_callback(
++     sql_print_warning("Deleting the watchdog I/O timer failed with %d.", errno);
++   }
++ 
++-  m_io_check_watchdog_timer = nullptr;
+++  m_io_check_watchdog_timer = reinterpret_cast<timer_t>(-1);
++ 
++   RDB_MUTEX_UNLOCK_CHECK(m_reset_mutex);
++ }
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..41b9ee12084ecefd4a2111e2518399c654ed8c86
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++0025-Change-the-default-optimization-from-O3-to-O2-in-mys.patch
++rocksdb-kfreebsd.patch
++env-perl-usr-bin-perl.patch
++fix-spelling-mariadb.patch
++fix-spelling-rocksdb.patch
++fix-spelling-wsrep.patch
++1556.patch
++fix-reproducible-builds-rocksdb.patch
++mroonga-mrn-lib-dirs-path-reproducible-build.patch
++2006-kfreebsd-amd64.patch
++openssl-3-enable.patch
++openssl-3-compatibility.patch
++MDEV-26645-fix-test-main.func_math.patch
++2028-MDEV-23915-fix-test-main.grat_kill.patch
++MDEV-27980-revert-loose-disable-plugin-file-key-management.patch
++1006527-fix-ppc64-ftbfs.patch
diff --cc debian/rules
index aa778f209f34446f4873017b1804c30958621308,0000000000000000000000000000000000000000..6d02cc0bd1c01b87e5ef1647c0aca77d443dc86e
mode 100755,000000..100755
--- /dev/null
@@@ -1,213 -1,0 +1,215 @@@
- # ColumnStore can build only on amd64 and arm64
- ifneq (,$(filter $(DEB_HOST_ARCH_CPU),amd64 arm64))
-     CMAKEFLAGS += -DPLUGIN_COLUMNSTORE=NO
- endif
 +#!/usr/bin/make -f
 +
 +# Enable Debian Hardening
 +# https://wiki.debian.org/Hardening
 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 +DPKG_EXPORT_BUILDFLAGS = 1
 +# Include all defaults, including buildflags.mk
 +include /usr/share/dpkg/default.mk
 +# CPPFLAGS are nor read by CMake, so copy them to CXXFLAGS
 +# See why at https://cmake.org/Bug/view.php?id=12928
 +# This is needed for e.g. all automatic Debian hardening flags to apply on all cmake builds.
 +CFLAGS+=$(CPPFLAGS)
 +CXXFLAGS+=$(CPPFLAGS)
 +
 +# Only do a strict symbol checking on Linux
 +ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
 +    DPKG_GENSYMBOLS_CHECK_LEVEL := 4
 +endif
 +
 +BUILDDIR := builddir
 +DEB_VERSION_REVISION := $(shell echo $(DEB_VERSION) | sed -e 's/^.*-//')
 +RELEASE := $(shell lsb_release -r -s) # Use changelog based DEB_DISTRIBUTION instead?
 +TMP:=$(CURDIR)/debian/tmp
 +
 +# According to Debian Policy version 4.2.0 builds should be as verbose as
 +# possible unless 'terse' is specifically passed.
 +ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
 +    export DH_VERBOSE=1
 +endif
 +
 +# Parallel build support as advised
 +# at https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 +    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 +    MAKEFLAGS += -j$(NUMJOBS)
 +else
 +    # NUMJOBS cannot be empty as it is used as a parameter to mtr, default to 'auto'.
 +    NUMJOBS = auto
 +endif
 +
 +# RocksDB cannot build on 32-bit platforms
 +ifeq (32,$(DEB_HOST_ARCH_BITS))
 +    CMAKEFLAGS += -DPLUGIN_ROCKSDB=NO
 +endif
 +
-       rm -rf $(BUILDDIR) builddir-native mysql-test/unstable-tests
 +# Cross building requires stack direction instruction
 +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 +    ifneq (,$(filter $(DEB_HOST_ARCH_CPU),alpha amd64 arm arm64 i386 ia64 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64))
 +        CMAKEFLAGS += -DSTACK_DIRECTION=-1
 +    endif
 +    ifneq (,$(filter $(DEB_HOST_ARCH_CPU),hppa))
 +        CMAKEFLAGS += -DSTACK_DIRECTION=1
 +    endif
 +endif
 +
 +# Only attempt to build with PMEM on archs that have package libpmem-dev available
 +# See https://packages.debian.org/search?searchon=names&keywords=libpmem-dev
 +ifneq (,$(filter $(DEB_HOST_ARCH_CPU),amd64 arm64 ppc64el))
 +              CMAKEFLAGS += -DWITH_PMEM=yes
 +endif
 +
 +# Add support for verbose builds
 +MAKEFLAGS += VERBOSE=1
 +
 +override_dh_auto_clean:
 +      @echo "RULES.$@"
 +      dh_testdir
 +      dh_testroot
-       # Don't build ColumnStore as part of the native build as it does not meet the
-       # quality standards in Debian. Also building it requires an extra 4 GB of disk
-       # space which makes native Debian builds fail as the total disk space needed
-       # for MariaDB becomes over 10 GB. Only build CS via autobake-deb.sh.
++      # Delete obsolete/unstable components to ensure they are not used in Debian
++      rm -rf $(BUILDDIR) builddir-native extra/readline extra/wolfssl
++      # Remove columnstore as the source code is dirty and software not mature enough for Debian anyway
++      rm -rf storage/columnstore
++      # Delete precompiled binaries in upstream sources to ensure they are not used in Debian
++      rm -rf storage/connect/JavaWrappers.jar storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2
++
 +      debconf-updatepo # Update po-files when clean runs before each build
 +
 +override_dh_auto_configure:
 +      @echo "RULES.$@"
 +      dh_testdir
 +
 +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 +      dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --builddirectory=builddir-native
 +      dh_auto_build --builddirectory=builddir-native -- import_executables
 +endif
 +
 +      echo "server:Version=$(DEB_VERSION)" >> debian/substvars
 +
-           NO_UPDATE_BUILD_VERSION=1 \
++      # Don't build ColumnStore, not mature enough for Debian yet.
 +      PATH=$${MYSQL_BUILD_PATH:-"/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin"} \
-           -DCOMPILATION_COMMENT="mariadb.org binary distribution" \
 +          dh_auto_configure --builddirectory=$(BUILDDIR) -- \
 +          -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 +          $(CMAKEFLAGS) \
 +          $(if $(filter $(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)),,-DIMPORT_EXECUTABLES=$(CURDIR)/builddir-native/import_executables.cmake) \
-                       -DPLUGIN_COLUMNSTORE=NO \
++          -DCOMPILATION_COMMENT="$(DEB_VENDOR) $(RELEASE)" \
 +          -DMYSQL_SERVER_SUFFIX="-$(DEB_VERSION_REVISION)" \
 +          -DSYSTEM_TYPE="debian-$(DEB_HOST_GNU_SYSTEM)" \
 +          -DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \
 +          -DBUILD_CONFIG=mysql_release \
 +          -DCONC_DEFAULT_CHARSET=utf8mb4 \
 +          -DPLUGIN_AWS_KEY_MANAGEMENT=NO \
-           -DWITH_URING=yes \
++          -DPLUGIN_COLUMNSTORE=NO \
++                      -DWITH_NUMA=auto \
 +          -DIGNORE_AIO_CHECK=YES \
-       ./mtr --force --mem \
++          -DWITH_URING=YES \
++          -DWITH_INNODB_SNAPPY=ON \
 +          -DDEB=$(DEB_VENDOR)
 +
 +# This is needed, otherwise 'make test' will run before binaries have been built
 +override_dh_auto_build:
 +      @echo "RULES.$@"
 +      # Print build env info to help debug builds on different platforms
 +      dpkg-architecture
 +      cd $(BUILDDIR) && $(MAKE)
 +
 +override_dh_auto_test:
 +      @echo "RULES.$@"
 +      dh_testdir
++      # Ensure at least an empty file exists
 +      touch mysql-test/unstable-tests
++      # Skip unstable tests if such are defined for arch
 +      [ ! -f debian/unstable-tests.$(DEB_HOST_ARCH) ] || cat debian/unstable-tests.$(DEB_HOST_ARCH) >> mysql-test/unstable-tests
 +      # Run testsuite
 +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
++      # Don't use --mem here as official Debian builders and most Docker systems don't have a large mem device available and
++      # would fail with errors on lack of disk space.
 +      cd $(BUILDDIR)/mysql-test && \
-       ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.so.18
-       # Install libmysqlclientclientXX compatibility links
-       ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmysqlclient.so.18
-       ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmysqlclient.so.19
-       ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmysqlclient.so.20
++      ./mtr --force --testcase-timeout=120 --suite-timeout=540 --retry=3 \
 +            --parallel=$(NUMJOBS) --skip-rpl --suite=main \
 +            --skip-test-list=unstable-tests
 +endif
 +
 +override_dh_auto_install:
 +      @echo "RULES.$@"
 +      dh_testdir
 +      dh_testroot
 +
 +ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
 +      # Copy systemd files to a location available for dh_installinit
 +      cp $(BUILDDIR)/support-files/mariadb.service debian/mariadb-server-10.6.mariadb.service
 +      cp $(BUILDDIR)/support-files/mariadb.socket debian/mariadb-server-10.6.mariadb.socket
 +      cp $(BUILDDIR)/support-files/mariadb-extra.socket debian/mariadb-server-10.6.mariadb-extra.socket
 +      cp $(BUILDDIR)/support-files/mariadb@.service debian/mariadb-server-10.6.mariadb@.service
 +      cp $(BUILDDIR)/support-files/mariadb@.socket debian/mariadb-server-10.6.mariadb@.socket
 +      cp $(BUILDDIR)/support-files/mariadb-extra@.socket debian/mariadb-server-10.6.mariadb-extra@.socket
 +endif
 +
 +      # Run 'make install' without output since it is uninteresting and
 +      # silencing it helps to make overall build log shorter and more readable
 +      @echo "Running $(MAKE) install DESTDIR=$(TMP) ..."
 +      cd $(BUILDDIR) && $(MAKE) install DESTDIR=$(TMP) > /dev/null
 +
 +      # If mariadb-test package is removed, also remove most of it's files
 +      grep --quiet "Package: mariadb-test" debian/control || rm -rf $(TMP)/usr/share/mysql/mysql-test
 +
 +      # Delete private files from libraries so they don't get shipped in the -dev packages
 +      rm -r $(TMP)/usr/include/mariadb/server/private
 +
 +      # Don't ship sql-bench at all, just delete it completely even though it builds
 +      rm -r $(TMP)/usr/sql-bench
 +
 +      # nm numeric soft is not enough, therefore extra sort in command
 +      # to satisfy Debian reproducible build requirements
 +      nm --defined-only $(BUILDDIR)/sql/mariadbd | LC_ALL=C sort | gzip -n -9 > $(TMP)/usr/share/doc/mariadb-server-10.6/mariadbd.sym.gz
 +
 +      # Rename and install AppArmor profile
 +      install -D -m 644 debian/apparmor-profile $(TMP)/etc/apparmor.d/usr.sbin.mariadbd
 +
++      # Install mariadb.pc as a symlink for the client library,
++      # use -f to override the existing server mariadb.pc file
++      ln -sf libmariadb.pc $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/mariadb.pc
++
 +      # Install libmariadbclient18 compatibility links
 +      ln -s libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.so
- override_dh_installlogrotate-arch:
-       dh_installlogrotate --name mysql-server
 +
 +      # Install libmariadbclient.a compatibility link
 +      ln -s libmariadb.a $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.a
 +
 +      # Symlink plugins that are used by both server and client and thus need to
 +      # load from the libmariadb path as well
 +      ln -s ../../../mysql/plugin/auth_test_plugin.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/auth_test_plugin.so
 +      ln -s ../../../mysql/plugin/qa_auth_interface.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/qa_auth_interface.so
 +      ln -s ../../../mysql/plugin/test_sql_service.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/test_sql_service.so
 +      # Move test plugins that are only needed by the client to the libmariadb path
 +      mv -v $(TMP)/usr/lib/mysql/plugin/qa_auth_client.so $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb3/plugin/
 +
-       dh_systemd_enable --no-enable --name=mariadb mariadb.socket
-       dh_systemd_enable --no-enable --name=mariadb-extra mariadb-extra.socket
-       dh_systemd_enable --no-enable --name=mariadb@ mariadb.socket
-       dh_systemd_enable --no-enable --name=mariadb-extra@ mariadb-extra.socket
-       dh_systemd_enable --no-enable --name=mariadb@ mariadb@.service
++# Install mariadb.socket without enabling it, keep using mariadb.service by default
++# @TODO: Temporarily disable extra and socket systemd file installation until
++# a '--build=all' compatible mechanism is found
 +override_dh_systemd_enable:
 +      dh_systemd_enable --name=mariadb
- # Start MariaDB at sequence number 19 before 20 where apache, proftpd etc gets
++      dh_systemd_enable --no-enable --name=mariadb@ # mariadb@.service
++#     dh_systemd_enable --no-enable --name=mariadb mariadb.socket
++#     dh_systemd_enable --no-enable --name=mariadb-extra mariadb-extra.socket
++#     dh_systemd_enable --no-enable --name=mariadb@ mariadb.socket
++#     dh_systemd_enable --no-enable --name=mariadb-extra@ mariadb-extra.socket
 +
-       dh $@ --parallel --with systemd --list-missing
++# Start mysql at sequence number 19 before 20 where apache, proftpd etc gets
 +# started which might depend on a running database server.
 +override_dh_installinit-arch:
 +      dh_installinit --name=mariadb --no-start -- defaults 19 21
 +      dh_systemd_start --restart-after-upgrade
 +
++# Use custom server version string variable
 +override_dh_gencontrol:
 +      dh_gencontrol -- -Tdebian/substvars
 +
 +# If a file is not supposed to be included anywhere, add it to the not-installed
 +# file and document the reason. Note that dh_install supports the above mentioned
 +# white list file only starting from Debian Stretch and Ubuntu Xenial.
 +# To find more, grep build logs for 'but is not installed to anywhere'.
 +%:
++      dh $@ --fail-missing
 +
 +# vim: ts=8
index c5fa28e47b185690998e137c740f5d2f1e16e002,0000000000000000000000000000000000000000..de82105220423b44a2aaf3b117ccdc06130e9586
mode 100644,000000..100644
--- /dev/null
@@@ -1,790 -1,0 +1,802 @@@
-   SALSA_CI_DISABLE_RC_BUGS: 1
-   SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
-   SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1
-   GIT_SUBMODULE_STRATEGY: recursive
-   SALSA_CI_GBP_BUILDPACKAGE_ARGS: "--git-submodules" # did not apply to extract-sources
 +---
 +# Include Salsa-CI as a base
 +include:
 +  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
 +  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
 +
 +# Override Salsa-CI with MariaDB specific variations
 +variables:
 +  DEB_BUILD_OPTIONS: "nocheck noautodbgsym"
 +  RELEASE: sid
++  # Reprotest works, but takes very long time and often fails due to timeouts.
++  # Thus is is best kept disabled and only occasionally manually enabled to
++  # test that reproducibility works, along with atomic reprotest to directly
++  # pinpoint what aspect of the build is broken if not reproducible.
 +  SALSA_CI_DISABLE_REPROTEST: 1
++  SALSA_CI_ENABLE_ATOMIC_REPROTEST: 0
 +  SALSA_CI_DISABLE_MISSING_BREAKS: 0
-   - upgrade from Bullseye/Buster/Stretch
++  SALSA_CI_DISABLE_RC_BUGS: 0
 +
 +stages:
 +  - provisioning
 +  - build
 +  - test
 +  - upgrade in Sid
- build:
-   extends: .build-package
-   script: &autobake-deb-steps
-     # Run Salsa-CI .build-before-script equivalent
-     - mkdir -p ${WORKING_DIR} ${CCACHE_WORK_DIR}
-     - mv ${CCACHE_WORK_DIR} ${CCACHE_TMP_DIR}
-     # Run Salsa-CI .build-script equivalent, with extra devscripts so autobake-deb.sh can run 'dch'
-     - export CCACHE_DIR=${CCACHE_TMP_DIR}
-     - apt-get update && eatmydata apt-get install --no-install-recommends -y ccache fakeroot build-essential devscripts
-     - cd ${WORKING_DIR}/${SOURCE_DIR}
-     - eatmydata apt-get build-dep --no-install-recommends -y .
-     - update-ccache-symlinks; ccache -z # Zero out ccache counters
-     - while true; do sleep 600; echo "10 minutes passed" >&2; done & # Progress keeper since build is long and silent
-     - debian/autobake-deb.sh |& tail -n 10000 # Keep Gitlab-CI output under 4 MB
-     - cd ${WORKING_DIR}
-     - rm -rf ${WORKING_DIR}/${SOURCE_DIR}
-     - du -shc ${WORKING_DIR}/* # Show total file size of artifacts. Must stay are under 100 MB.
-     - ccache -s # Show ccache stats to validate it worked
-     - mv ${CCACHE_TMP_DIR} ${CCACHE_WORK_DIR}
++  - upgrade from Bullseye/Buster
 +  - upgrade extras
 +  - test extras
 +  - publish # Stage referenced by Salsa-CI template aptly stanza, so must exist even though not used
 +
-   script:
-     - *autobake-deb-steps
++gnitpick:
++  stage: provisioning
++  image: debian:sid-slim
++  script: |
++    # Bare minimal (<4MB) for apt-key and gnitpick to work
++    apt-get update -qq && apt-get -qq install --no-install-recommends --yes ca-certificates curl python3-minimal git
++    curl -sS https://raw.githubusercontent.com/Seravo/gnitpick/master/gnitpick.py -o /usr/bin/gnitpick; chmod +x /usr/bin/gnitpick
++    # Actual Gnitpick part
++    gnitpick --target-repository https://salsa.debian.org/mariadb-team/mariadb-server.git --target-branch debian/latest
++  except:
++    variables:
++      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
++  allow_failure: true  # Gnitpick does not fully support this branch naming scheme so ignore it for now
++
++packaging-fix-checks:
++  stage: provisioning
++  image: debian:sid-slim
++  script:
++    - apt-get update -qq && apt-get -qq install --no-install-recommends --yes git devscripts python3-debian
++    - |
++      if [ "$(find debian/patches/ -type f -not -name series | wc -l)" -eq "$(cat debian/patches/series | wc -l)" ]
++      then
++        echo "The directory debian/patches/ contents and debian/patches/series file match by count."
++      else
++        find debian/patches -type f -not -name series -printf "%P\n" | sort > /tmp/patches-directory-sorted
++        sort debian/patches/series > /tmp/patches-series-sorted
++        diff -y /tmp/patches-series-sorted /tmp/patches-directory-sorted
++        echo
++        echo "The directory debian/patches/ file count does not match that in debian/series. Check that there are no unaccounted patches!"
++        exit 1
++      fi
++    - |
++      wrap-and-sort -a
++      git checkout debian/tests/control # Revert touching this file, wrap-and-sort shouldn't do it
++      if [ "$(git diff --name-only | wc -l)" -eq 0 ]
++      then
++        echo "No uncommitted changes after 'wrap-and-sort -av', maintainer has done good job keeping files in order."
++      else
++        git diff
++        echo
++        echo "Debian packaging files are unordered! Please run 'wrap-and-sort -av'."
++        exit 1
++      fi
++  except:
++    variables:
++      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
++
++
++# build jobs often needs more than default GitLab timeout (1h)
++.build-package:
++  timeout: 3h
 +
 +build bullseye-backports:
 +  extends: .build-package
 +  variables:
 +    RELEASE: bullseye-backports
 +
 +build buster-backports:
 +  extends: .build-package
- # base image missing git
- build i386:
-   extends: .build-package
-   script:
-     - apt-get update && apt-get install -y --no-install-recommends git
-     - *autobake-deb-steps
-   image: $SALSA_CI_IMAGES_BASE_I386
-   variables:
-     ARCH: 'i386'
- build native deb:
-   extends: .build-package
 +  variables:
 +    RELEASE: buster-backports
 +
-     - job: build native deb
++autopkgtest:
++  extends: .test-autopkgtest
++  artifacts:
++    reports:
++      junit: ${WORKING_DIR}/debci/artifacts/mysql-test-run-junit.xml
 +
 +piuparts:
 +  extends: .test-piuparts
 +  stage: test extras
 +
 +blhc:
 +  extends: .test-blhc
 +  stage: test extras
 +  needs:
-   stage: upgrade from Bullseye/Buster/Stretch
++    - job: build
 +
 +# In addition to Salsa-CI, also run these fully MariaDB specific build jobs
 +
 +# Define snippets used to construct jobs
 +
 +.test-prepare-container: &test-prepare-container |
 +  cd ${WORKING_DIR} # Don't repeat this step, it's just cd ./debian/output
 +  # Enable automatic restarts from maint scripts
 +  sed -i "s/101/0/g" -i /usr/sbin/policy-rc.d
 +  # Fake /sbin/runlevel to avoid warnings of "invoke-rc.d: could not determine current runlevel"
 +  echo -e '#!/bin/sh\necho "N 5"' > /sbin/runlevel; chmod +x /sbin/runlevel
 +  # Avoid the warnings of "debconf: unable to initialize frontend: Dialog"
 +  echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
 +  # Prime the apt cache so later apt commands can run
 +  apt-get update
 +
++# Readline was removed from Debian Sid (and Bullseye) in Feb 2021. To be able to install older
++# versions of MariaDB that depend on it, fetch and install it from Buster.
++.test-install-readline-in-sid-for-backwards-compat: &test-install-readline-in-sid-for-backwards-compat |
++  curl -O http://ftp.de.debian.org/debian/pool/main/r/readline5/libreadline5_5.2+dfsg-3+b13_amd64.deb
++  apt install -y ./libreadline5_5.2+dfsg-3+b13_amd64.deb
++
 +.test-verify-initial: &test-verify-initial |
 +  dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
 +  service mysql status || service mariadb status # Early MariaDB 10.5 only had 'mariadb'
 +  mysql --skip-column-names -e "select @@version, @@version_comment" # Show version
 +  mysql --table -e 'SHOW DATABASES;' # List databases before upgrade
 +  mysql --table -e "SELECT host,user,plugin,authentication_string FROM user;" mysql
 +  mysql --table -e "SELECT * FROM plugin;" mysql
 +  mysql --table -e "SHOW PLUGINS;" mysql
 +
 +.test-enable-sid-repos: &test-enable-sid-repos |
 +  # Replace any old repos with just Sid
 +  echo 'deb http://deb.debian.org/debian sid main' > /etc/apt/sources.list
 +  # Upgrade minimal stack first
 +  apt-get update
 +  apt-get install -y apt
 +
 +.test-install: &test-install |
 +  # Install MariaDB built in this commit
 +  apt-get install -y ./*.deb
 +  # Verify installation of MariaDB built in this commit
 +  dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
 +  mariadb --version # Client version
 +
 +.test-verify-final: &test-verify-final |
 +  mkdir -p debug # Ensure dir exists before using it
 +  find /var/lib/mysql -ls > debug/var-lib-mysql.list || true # Ignore errors about "no such file or directory"
 +  cp -ra /etc/mysql debug/etc-mysql
 +  cp -ra /var/log/mysql debug/var-log-mysql
 +  mariadb --skip-column-names -e "select @@version, @@version_comment" # Show version
 +  mariadb --table -e 'SHOW DATABASES;' # List databases
 +  mariadb --table -e "SELECT host,user,plugin,authentication_string FROM user;" mysql
 +  mariadb --table -e "SELECT * FROM plugin;" mysql
 +  mariadb --table -e "SHOW PLUGINS;" mysql
 +  # Test that InnoDB works and that command 'mysql' is also still usable
 +  mysql -e "CREATE DATABASE test; USE test; CREATE TABLE t(a INT PRIMARY KEY) ENGINE=INNODB; INSERT INTO t VALUEs (1); SELECT * FROM t; DROP TABLE t; DROP DATABASE test;"
 +
 +.test-verify-libs: &test-verify-libs
 +  # Don't use a collapsed command as Gitlab-CI would hide each command from the output
 +  - ldconfig -p | grep -e mariadb -e mysql
 +  - pkg-config --list-all
 +  - pkg-config --cflags --libs mysqlclient
 +  - pkg-config --cflags --libs libmariadb
 +  - pkg-config --cflags --libs mariadb
 +  - apt-get install -y --no-install-recommends g++
 +  - |
 +    # Build a test binary that depends on libmysqlclient
 +    cat > b933063.cpp <<EOF
 +    #include <iostream>
 +    #include <mysql/mysql.h>
 +    #include <stdexcept>
 +    int main()
 +    {
 +      MYSQL h;
 +      if (!mysql_init(&h)
 +        || mysql_options(&h, MYSQL_READ_DEFAULT_GROUP, "")
 +        // || mysql_options(&h, MYSQL_SET_CHARSET_NAME, "utf8mb4")
 +        || !mysql_real_connect(&h, "", "", NULL, "", 0, NULL, 0))
 +        throw std::runtime_error(mysql_error(&h));
 +      std::string q = "show variables like '%char%'";
 +      if (mysql_real_query(&h, q.data(), q.size()))
 +        throw std::runtime_error(mysql_error(&h));
 +      MYSQL_RES* result = mysql_store_result(&h);
 +      if (!result && mysql_errno(&h))
 +        throw std::runtime_error(mysql_error(&h));
 +      while (MYSQL_ROW row = mysql_fetch_row(result))
 +      {
 +        std::cout << row[0] << ": " << row[1] << "\n";
 +      }
 +      return 0;
 +    }
 +    EOF
 +    apt-get install -y ./*.deb # Server must be installed for client to connect
 +    echo "Testing -l mysqlclient"
 +    g++ b933063.cpp -l mysqlclient && ./a.out | tee result
 +    if grep --quiet latin result; then echo "ERROR: Charset latin found!"; exit 1; fi
 +    echo "Testing -l mariadbclient"
 +    g++ b933063.cpp -l mariadbclient && ./a.out | tee result
 +    if grep --quiet latin result; then echo "ERROR: Charset latin found!"; exit 1; fi
 +
 +.test-install-all-libs: &test-install-all-libs
 +  - apt-get install -y ./libmariadb3_*.deb ./libmariadb-dev_*.deb ./libmariadb-dev-compat_*.deb ./libmariadbd19_*.deb ./libmariadbd-dev_*.deb ./mariadb-common_*.deb
 +
 +fresh install:
 +  stage: test
 +  needs:
 +    - job: build
 +  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - *test-install
 +    - service mariadb status # There is no init.d/mysql in MariaDB 10.6
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mariadb-10.6 Sid upgrade:
 +  stage: upgrade in Sid
 +  needs:
 +    - job: build
 +  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - *test-install
 +    - service mariadb status # There is no init.d/mysql in MariaDB 10.6
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mariadb-10.5 Bullseye to mariadb-10.6 upgrade:
-   stage: upgrade from Bullseye/Buster/Stretch
++  stage: upgrade from Bullseye/Buster
 +  needs:
 +    - job: build
 +  image: debian:bullseye
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    # Install everything MariaDB currently in Debian Bullseye
 +    - apt-get install -y 'default-mysql*' 'mariadb-*' 'libmariadb*'
 +    # Verify installation of MariaDB from Bullseye
 +    - *test-verify-initial
 +    - *test-enable-sid-repos
 +    - *test-install
 +    - service mariadb status
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mariadb-10.3 Buster to mariadb-10.6 upgrade:
- mariadb-10.1 Stretch to mariadb-10.6 upgrade:
-   stage: upgrade from Bullseye/Buster/Stretch
-   needs:
-     - job: build
-   image: debian:stretch
-   artifacts:
-     when: always
-     name: "$CI_BUILD_NAME"
-     paths:
-       - ${WORKING_DIR}/debug
-   script:
-     - *test-prepare-container
-     # Install almost everything currently in Debian Stretch,
-     # omitting libmariadbclient-dev-compat as it would conflict
-     - apt-get install -y 'default-mysql*' 'mariadb-*' 'libmariadbd*' 'libmariadbclient*'
-     # Verify installation of MariaDB from Stretch
-     - *test-verify-initial
-     - apt-get remove -y manpages  # Workaround for Bug#99375
-     - *test-enable-sid-repos
-     - *test-install
-     - service mysql status
-     - *test-verify-final
-   variables:
-     GIT_STRATEGY: none
-   except:
-     variables:
-       - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
++  stage: upgrade from Bullseye/Buster
 +  needs:
 +    - job: build
 +  image: debian:buster
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    # Install everything MariaDB currently in Debian Buster
 +    - apt-get install -y 'default-mysql*' 'mariadb-*' 'libmariadb*'
 +    # Verify installation of MariaDB from Buster
 +    - *test-verify-initial
 +    - *test-enable-sid-repos
 +    - *test-install
 +    - service mysql status
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
- default-libmysqlclient-dev Buster upgrade:
-   stage: upgrade from Bullseye/Buster/Stretch
 +test basic features:
 +  stage: test
 +  needs:
 +    - job: build
 +  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - *test-install
 +    - service mariadb status # There is no init.d/mysql in MariaDB 10.6
 +    - *test-verify-final
 +    - |
 +      # Print info about server
 +      mariadb --skip-column-names -e "select @@version, @@version_comment"
 +      mariadb --skip-column-names -e "select engine, support, transactions, savepoints from information_schema.engines order by engine" | sort
 +      mariadb --skip-column-names -e "select plugin_name, plugin_status, plugin_type, plugin_library, plugin_license from information_schema.all_plugins order by plugin_name, plugin_library"
 +      # Test various features
 +      mariadb -e "CREATE DATABASE db"
 +      mariadb -e "CREATE TABLE db.t_innodb(a1 SERIAL, c1 CHAR(8)) ENGINE=InnoDB; INSERT INTO db.t_innodb VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')"
 +      mariadb -e "CREATE TABLE db.t_myisam(a2 SERIAL, c2 CHAR(8)) ENGINE=MyISAM; INSERT INTO db.t_myisam VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')"
 +      mariadb -e "CREATE TABLE db.t_aria(a3 SERIAL, c3 CHAR(8)) ENGINE=Aria; INSERT INTO db.t_aria VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')"
 +      mariadb -e "CREATE TABLE db.t_memory(a4 SERIAL, c4 CHAR(8)) ENGINE=MEMORY; INSERT INTO db.t_memory VALUES (1,'"'"'foo'"'"'),(2,'"'"'bar'"'"')"
 +      mariadb -e "CREATE ALGORITHM=MERGE VIEW db.v_merge AS SELECT * FROM db.t_innodb, db.t_myisam, db.t_aria"
 +      mariadb -e "CREATE ALGORITHM=TEMPTABLE VIEW db.v_temptable AS SELECT * FROM db.t_innodb, db.t_myisam, db.t_aria"
 +      mariadb -e "CREATE PROCEDURE db.p() SELECT * FROM db.v_merge"
 +      mariadb -e "CREATE FUNCTION db.f() RETURNS INT DETERMINISTIC RETURN 1"
 +      # Test that the features still work (this step can be done e.g. after an upgrade)
 +      mariadb -e "SHOW TABLES IN db"
 +      mariadb -e "SELECT * FROM db.t_innodb; INSERT INTO db.t_innodb VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')"
 +      mariadb -e "SELECT * FROM db.t_myisam; INSERT INTO db.t_myisam VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')"
 +      mariadb -e "SELECT * FROM db.t_aria; INSERT INTO db.t_aria VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')"
 +      mariadb -e "SELECT * FROM db.t_memory; INSERT INTO db.t_memory VALUES (3,'"'"'foo'"'"'),(4,'"'"'bar'"'"')"
 +      mariadb -e "SELECT COUNT(*) FROM db.v_merge"
 +      mariadb -e "SELECT COUNT(*) FROM db.v_temptable"
 +      mariadb -e "CALL db.p()"
 +      mariadb -e "SELECT db.f()"
 +    - |
 +      # Test TLS connections
 +      dpkg -l | grep -i -e tls -e ssl
 +      # Create user for TCP connection, must have password
 +      mariadb -e "SET PASSWORD FOR 'mysql'@'localhost' = PASSWORD('asdf234');"
 +      cat <<EOF > /root/.my.cnf
 +      [client]
 +      user=mysql
 +      password=asdf234
 +      protocol=tcp
 +      EOF
 +      export CERT_PATH=/usr/share/mysql/mysql-test/std_data
 +      openssl verify -CAfile $CERT_PATH/cacert.pem $CERT_PATH/server-cert.pem
 +      openssl x509 -subject -issuer -noout -in $CERT_PATH/cacert.pem
 +      openssl x509 -subject -issuer -noout -in $CERT_PATH/server-cert.pem
 +      cat <<EOF > /etc/mysql/mariadb.conf.d/tls.cnf
 +      [client-server]
 +      ssl = on
 +      ssl-ca = $CERT_PATH/cacert.pem
 +      ssl-cert = $CERT_PATH/server-cert.pem
 +      ssl-key = $CERT_PATH/server-key.pem
 +      [server]
 +      require-secure-transport = on
 +      [client]
 +      ssl-verify-server-cert = on
 +      EOF
 +      service mariadb restart
 +      mariadb -Bse 'STATUS' | tee result
 +      # Ensure important values present, otherwise fail job
 +      grep --quiet "localhost via TCP/IP" result
 +      mariadb -Bse 'SHOW VARIABLES' | grep -e tls -e ssl | tee result
 +      grep --quiet "have_ssl  YES" result
 +      grep --quiet TLSv1.3 result
 +      mariadb -Bse 'SHOW SESSION STATUS' | grep -i -e tls -e ssl | tee result
 +      grep --quiet TLSv1.3 result
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +# Build a piece of software that was designed for libmysqlclient-dev but using the
 +# libmariadb-dev-compat layer. Should always end up using libmariadb.so.3 run-time.
 +build mariadbclient consumer Python-MySQLdb:
 +  stage: test
 +  needs:
 +    - job: build
 +  image: debian:${RELEASE}
 +  script:
 +    - *test-prepare-container
 +    # Run each step separately to avoitda 800+ lines chunk that lacks the
 +    # commands themselves printed and Gitlab-CI cutting off the output
 +    - apt-get install -y pkg-config ./libmariadb-dev*.deb ./libmariadb3_*.deb ./mariadb-common*.deb
 +    - pkg-config --cflags --libs mysqlclient # See what MySQLdb builds with
 +    - apt-get install -y python3-pip
 +    - pip3 install mysqlclient # Compiles module against libmysqlclient
 +    - apt-get purge -y libmariadb-dev # Not needed for run-time
 +    - python3 -c "import MySQLdb; print(MySQLdb.get_client_info())"
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +libmysql* to libmariadb* upgrade:
 +  stage: upgrade in Sid
 +  needs:
 +    - job: build
 +  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    # Install all libmysql* available in Debian unstable
 +    - apt-get install -y pkg-config libmysqlclient-dev
 +    - pkg-config --list-all
 +    - pkg-config --cflags mysqlclient # mysqlclient.pc from original package
 +    - apt-get install -y ./libmariadb3_*.deb ./mariadb-common_*.deb
 +    - pkg-config --list-all
 +    - apt-get install -y ./libmariadb-dev_*.deb
 +    - pkg-config --list-all
 +    - apt-get install -y ./libmariadb-dev-compat_*.deb
 +    - pkg-config --cflags mysqlclient # mysqlclient.pc from compat package
 +    - pkg-config --list-all
 +    - apt-get install -y ./libmariadbd19_*.deb
 +    - pkg-config --list-all
 +    - apt-get install -y ./libmariadbd-dev_*.deb
 +    - pkg-config --list-all
 +    - apt-get install -y default-libmysqlclient-dev default-libmysqld-dev
 +    - *test-verify-libs
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +default-libmysqlclient-dev Sid upgrade:
 +  stage: upgrade in Sid
 +  needs:
 +    - job: build
 +  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt-get install -y pkg-config default-libmysqlclient-dev default-libmysqld-dev
 +    - pkg-config --list-all
 +    - *test-install-all-libs
 +    - *test-verify-libs
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
-   image: debian:buster
++default-libmysqlclient-dev Bullseye upgrade:
++  stage: upgrade from Bullseye/Buster
 +  needs:
 +    - job: build
- default-libmysqlclient-dev Stretch upgrade:
-   stage: upgrade from Bullseye/Buster/Stretch
++  image: debian:bullseye
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt-get install -y pkg-config default-libmysqlclient-dev
 +    - pkg-config --list-all
 +    - *test-enable-sid-repos
 +    - *test-install-all-libs
 +    - *test-verify-libs
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
-   image: debian:stretch
++default-libmysqlclient-dev Buster upgrade:
++  stage: upgrade from Bullseye/Buster
 +  needs:
 +    - job: build
-     - apt-get remove -y manpages  # Workaround for Bug#99375
++  image: debian:buster
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt-get install -y pkg-config default-libmysqlclient-dev
 +    - pkg-config --list-all
- mariadb-connector-c Stretch upgrade:
-   stage: upgrade from Bullseye/Buster/Stretch
-   needs:
-     - job: build
-   image: debian:stretch
-   artifacts:
-     when: always
-     name: "$CI_BUILD_NAME"
-     paths:
-       - ${WORKING_DIR}/debug
-   script:
-     - *test-prepare-container
-     - apt-get install -y pkg-config libmariadb2 libmariadb-dev libmariadb-dev-compat
-     - pkg-config --list-all
-     - apt-get remove -y manpages  # Workaround for Bug#99375
-     - *test-enable-sid-repos
-     - *test-install-all-libs
-     - *test-verify-libs
-   except:
-     variables:
-       - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
-   allow_failure: true
-   # Upgrading libc from Stretch to Bookworm is not possible due to Bug#993755
 +    - *test-enable-sid-repos
 +    - *test-install-all-libs
 +    - *test-verify-libs
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
- mariadb.org-10.5 to mariadb-10.6 upgrade:
 +# Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump.
 +# The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh.
 +mysql-8.0 Sid to mariadb-10.6 upgrade:
 +  stage: upgrade in Sid
 +  needs:
 +    - job: build
 +  image: debian:sid
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    # The postinst fails often if 'ps' is missing from system, so install procps
 +    - apt-get install -y procps mysql-server 'libmysqlc*'
 +    - *test-verify-initial
 +    - *test-install
 +    - service mysql status
 +    - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +# Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump.
 +# The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh.
 +mysql-8.0 Focal to mariadb-10.6 upgrade:
 +  stage: upgrade extras
 +  needs:
 +    - job: build buster-backports
 +  image: debian:buster
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    # Add Ubuntu Focal archive keys and repository
 +    - apt-get install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates # Bare minimal (<4MB) for apt-key to work
 +    - apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 871920D1991BC93C 3B4FE6ACC0B21F32
 +    - echo 'deb http://archive.ubuntu.com/ubuntu/ focal main restricted' > /etc/apt/sources.list.d/ubuntu.list
 +    - apt-get update
 +    # First install often fail due to bug in mysql-8.0
 +    - apt-get install -y mysql-server 'libmysqlc*' || true
 +    - sleep 10 && apt-get install -f
 +    - *test-verify-initial
 +    # Enable backports to make galera-4 available
 +    - echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list && apt-get update
 +    - *test-install
 +    - service mysql status
 +    - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
-     - echo 'deb http://mirror.one.com/mariadb/repo/10.5/debian sid main' > /etc/apt/sources.list.d/mariadb.list
++mariadb.org-10.6 to mariadb-10.6 upgrade:
 +  stage: upgrade extras
 +  needs:
 +    - job: build
 +  image: debian:sid
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt install -y curl
 +    - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-     # The 10.5.9 release is missing mariadb-plugin-columnstore, define all other packages but it to avoid hitting the error:
-     #   The following packages have unmet dependencies:
-     #   mariadb-plugin-columnstore : Depends: mariadb-server-10.5 (= 1:10.5.8+maria~sid) but 1:10.5.9+maria~sid is to be installed
-     - apt-get install -y libmariadb3 'libmariadb-*' 'libmariadbd*' 'mariadb-c*' 'mariadb-b*' 'mariadb-s*' 'mariadb-t*' 'mariadb-plugin-con*' 'mariadb-plugin-cr*' 'mariadb-plugin-g*' 'mariadb-plugin-m*' 'mariadb-plugin-o*' 'mariadb-plugin-s*'
-     # Once 10.5.10 is out, revert back to:
++    - echo 'deb https://deb.mariadb.org/repo/10.6/debian sid main' > /etc/apt/sources.list.d/mariadb.list
 +    - apt-get update
-     #- apt-get install -y 'mariadb*' libmariadb3 'libmariadb-*' 'libmariadbd*'
 +    # Package libmariadbclient-dev from mariadb.org conflicts with libmariadb-dev in Sid, so cannot use wildcard that would include it
-   image: debian:sid
++    # Enable this line when there is a way to install them only from the mariadb.org repo
++    # - apt-get install -y 'mariadb*' libmariadb3 'libmariadb-*' 'libmariadbd*'
++    - apt-get install -y mariadb-server-10.6
 +    - *test-verify-initial
 +    # Install MariaDB built in this commit
 +    # Force downgrades so our version installs on top of upstream revision, e.g. 1:10.5.5-1 vs 1:10.5.5+mariadb~sid
 +    - apt-get install -y --allow-downgrades ./*.deb
 +    # Verify installation of MariaDB built in this commit
 +    - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
 +    - mariadb --version # Client version
++    - service mariadb status # There is no init.d/mysql in MariaDB 10.6
++    - *test-verify-final
++  variables:
++    GIT_STRATEGY: none
++  except:
++    variables:
++      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
++  allow_failure: true  # Upstream 10.6 build for Sid still uses liburing1, not latest liburing2
++
++mariadb.org-10.5 to mariadb-10.6 upgrade:
++  stage: upgrade extras
++  needs:
++    - job: build
++  image: debian:sid
++  artifacts:
++    when: always
++    name: "$CI_BUILD_NAME"
++    paths:
++      - ${WORKING_DIR}/debug
++  script:
++    - *test-prepare-container
++    - apt install -y curl
++    - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
++    - echo 'deb https://deb.mariadb.org/repo/10.5/debian sid main' > /etc/apt/sources.list.d/mariadb.list
++    - apt-get update
++    - apt-get install -y mariadb-server-10.5
++    - *test-verify-initial
++    # Install MariaDB built in this commit
++    # Verify installation of MariaDB built in this commit
++    - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
++    - mariadb --version # Client version
 +    - service mariadb status # There is no init.d/mysql in MariaDB 10.5
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mariadb.org-10.4 to mariadb-10.6 upgrade:
 +  stage: upgrade extras
 +  needs:
 +    - job: build
-     - echo 'deb http://mirror.one.com/mariadb/repo/10.4/debian sid main' > /etc/apt/sources.list.d/mariadb.list
++  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt install -y curl systemctl # systemctl shim needed on platforms that don't have systemd
 +    - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-   image: debian:sid
++    - echo 'deb https://deb.mariadb.org/repo/10.4/debian sid main' > /etc/apt/sources.list.d/mariadb.list
 +    - apt-get update
++    - *test-install-readline-in-sid-for-backwards-compat
 +    - apt-get install -y mariadb-server-10.4
 +    # MariaDB.org version of 10.4 and early 10.5 do not install an init file, so
 +    # it must be installed here manually
 +    - cp /usr/share/mysql/mysql.init /etc/init.d/mysql; chmod +x /etc/init.d/mysql; service mysql start; sleep 5
 +    - *test-verify-initial
 +    - *test-install
 +    - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
 +    - service mysql status
 +    - service mariadb status
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mariadb.org-10.3 to mariadb-10.6 upgrade:
 +  stage: upgrade extras
 +  needs:
 +    - job: build
-     - echo 'deb http://mirror.one.com/mariadb/repo/10.3/debian sid main' > /etc/apt/sources.list.d/mariadb.list
++  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt install -y curl
 +    - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-     - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
++    - echo 'deb https://deb.mariadb.org/repo/10.3/debian sid main' > /etc/apt/sources.list.d/mariadb.list
 +    - apt-get update
++    - *test-install-readline-in-sid-for-backwards-compat
 +    - apt-get install -y mariadb-server-10.3
 +    # Verify initial state before upgrade
 +    - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
 +    - service mysql status
 +    # prepending with --defaults-file=/etc/mysql/debian.cnf is needed in upstream 5.5–10.3
 +    - mysql --defaults-file=/etc/mysql/debian.cnf --skip-column-names -e "SELECT @@version, @@version_comment"
 +    - echo 'SHOW DATABASES;' | mysql --defaults-file=/etc/mysql/debian.cnf
 +    - mysql --defaults-file=/etc/mysql/debian.cnf -e "SELECT Host,User,plugin,authentication_string FROM user;" mysql
 +    - mysql --defaults-file=/etc/mysql/debian.cnf -e "SELECT * FROM plugin;" mysql
 +    - *test-install
 +    - service mysql status
-   image: debian:sid
++    # Give the mariadb-upgrade plenty of time to complete, otherwise next commands
++    # fail on non-existing mariadb.sys user
++    - sleep 15
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mariadb.org-10.2 to mariadb-10.6 upgrade:
 +  stage: upgrade extras
 +  needs:
 +    - job: build
-     - echo 'deb http://mirror.one.com/mariadb/repo/10.2/debian sid main' > /etc/apt/sources.list.d/mariadb.list
++  image: debian:${RELEASE}
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - apt install -y curl
 +    - curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
-     - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
++    - echo 'deb https://deb.mariadb.org/repo/10.2/debian sid main' > /etc/apt/sources.list.d/mariadb.list
 +    - apt-get update
++    - *test-install-readline-in-sid-for-backwards-compat
 +    - apt-get install -y mariadb-server-10.2
 +    # Verify initial state before upgrade
 +    - dpkg -l | grep -iE 'maria|mysql|galera' || true # List installed
 +    - service mysql status
 +    # prepending with --defaults-file=/etc/mysql/debian.cnf is needed in upstream 5.5–10.3
 +    - mysql --defaults-file=/etc/mysql/debian.cnf --skip-column-names -e "SELECT @@version, @@version_comment"
 +    - echo 'SHOW DATABASES;' | mysql --defaults-file=/etc/mysql/debian.cnf
 +    - mysql --defaults-file=/etc/mysql/debian.cnf -e "SELECT * FROM mysql.user; SHOW CREATE USER root@localhost"
 +    - mysql --defaults-file=/etc/mysql/debian.cnf -e "SELECT * FROM mysql.plugin; SHOW PLUGINS"
 +    - *test-install
 +    - service mysql status
-       apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 8C718D3B5072E1F5
++    # Give the mariadb-upgrade plenty of time to complete, otherwise next commands
++    # fail on non-existing mariadb.sys user
++    - sleep 15
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +mysql.com-5.7 to mariadb-10.6 upgrade:
 +  stage: upgrade extras
 +  needs:
 +    - job: build buster-backports
 +  image: debian:buster
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - |
 +      apt-get install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates # Bare minimal (<4MB) for apt-key to work
-     - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
++      apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 467B942D3A79BD29
 +      echo 'deb https://repo.mysql.com/apt/debian/ buster mysql-5.7' > /etc/apt/sources.list.d/mysql.list
 +      apt-get update
 +      apt-get install -y 'mysql*' 'libmysqlc*'
 +    - *test-verify-initial
 +    # Enable backports to make galera-4 available
 +    - echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list.d/backports.list && apt-get update
 +    - *test-install
 +    - service mysql status
-     - sleep 5 # Give the mysql_upgrade a bit of time to complete before querying the server
++    - sleep 15 # Give the mysql_upgrade a bit of extra time to complete with MySQL 5.7 before querying the server
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
 +
 +percona-xtradb-5.7 to mariadb-10.6 upgrade (MDEV-22679):
 +  stage: upgrade extras
 +  needs:
 +    - job: build buster-backports
 +  image: debian:buster
 +  artifacts:
 +    when: always
 +    name: "$CI_BUILD_NAME"
 +    paths:
 +      - ${WORKING_DIR}/debug
 +  script:
 +    - *test-prepare-container
 +    - |
 +      apt-get install --no-install-recommends --yes gpg gpg-agent dirmngr ca-certificates # Bare minimal (<4MB) for apt-key to work
 +      apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 9334A25F8507EFA5
 +      echo 'deb https://repo.percona.com/apt/ buster main' > /etc/apt/sources.list.d/mysql.list
 +      apt-get update
 +      apt-get install -y percona-xtradb-cluster-full-57 percona-xtrabackup-24 percona-toolkit pmm2-client
 +    - service mysql status
 +    - *test-verify-initial
 +    # Enable backports to make galera-4 available
 +    - echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list.d/backports.list && apt-get update
 +    - *test-install
 +    - service mysql status
++    - sleep 15 # Give the mysql_upgrade a bit of extra time to complete with MySQL 5.7 before querying the server
 +    - *test-verify-final
 +  variables:
 +    GIT_STRATEGY: none
 +  except:
 +    variables:
 +      - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
index 89ae9db8f88b823b6a7eabf55e203658739da122,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,1 @@@
- 3.0 (native)
++3.0 (quilt)
index c52ff448bb6bc670afda191a1791df4cb4b86f08,0000000000000000000000000000000000000000..f5aa4f5fcdc936b4f75d8e4cfadab1b65ea70c1f
mode 100644,000000..100644
--- /dev/null
@@@ -1,30 -1,0 +1,35 @@@
- # Necessary for drop-in-place-replacement upgrades on mysql-server/-client
- # since package breaks/replaces these but at the same time also provides them
- version-substvar-for-external-package mariadb-client-core-10.6 -> mysql-client-5.5
- version-substvar-for-external-package mariadb-server-10.6 -> mysql-server
- version-substvar-for-external-package mariadb-server-10.6 -> mysql-server
- version-substvar-for-external-package libmariadb-dev -> libmysqlclient-dev
- version-substvar-for-external-package libmariadb-dev -> libmysqld-dev
- version-substvar-for-external-package mariadb-server-10.6 -> mysql-client-5.5
- version-substvar-for-external-package mariadb-server-10.6 -> mysql-client-5.6
- version-substvar-for-external-package mariadb-server-10.6 -> mysql-client-5.7
- version-substvar-for-external-package mariadb-server-10.6 -> mysql-client-8.0
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.1
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.1
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.5
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.5
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.6
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.6
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.7
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-5.7
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-8.0
- version-substvar-for-external-package mariadb-client-10.6 -> mysql-client-core-8.0
- version-substvar-for-external-package libmariadbd-dev -> libmariadbclient-dev
- # ColumnStore not used in Debian, safe to ignore. Reported upstream in https://jira.mariadb.org/browse/MDEV-24124
- source-is-missing storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2
- # Must be fixed upstream
- source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js line 58 is 273 characters long (>256)
 +# Intentional control relationships
- version-substvar-for-external-package Replaces (line 216) ${source:Version} libmariadbd-dev -> libmariadbclient-dev
- version-substvar-for-external-package Replaces (line 66) ${source:Version} libmariadb-dev -> libmysqlclient-dev
- version-substvar-for-external-package Replaces (line 66) ${source:Version} libmariadb-dev -> libmysqld-dev
++version-substvar-for-external-package libmariadb-dev -> libmysqld-dev
++version-substvar-for-external-package Replaces (line 60) ${source:Version} libmariadb-dev -> libmysqld-dev
++# Not much we can do about this in Debian, no need for Lintian to fail the whole check on it
++source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js
++# Data or test files where long lines are justified
++very-long-line-length-in-source-file *.test *
++very-long-line-length-in-source-file *.result *
++very-long-line-length-in-source-file BUILD/compile-*
++very-long-line-length-in-source-file *.cproject *
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c *
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/smc.scfg *
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/IDE/Renesas/e2studio/RX65N/RSK/smc/smc.scfg *
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/IDE/Renesas/e2studio/RX65N/RSK/test/test_HardwareDebug.launch *
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/IDE/Renesas/e2studio/RX72N/EnvisionKit/smc/smc.scfg *
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/wolfcrypt/src/fp_mul_comba_*
++very-long-line-length-in-source-file extra/wolfssl/wolfssl/wolfcrypt/src/fp_sqr_comba_*
++very-long-line-length-in-source-file mysql-test/collections/default.weekly *
++very-long-line-length-in-source-file mysql-test/include/common-tests.inc *
++very-long-line-length-in-source-file mysql-test/include/default_optimizer_switch.inc *
++very-long-line-length-in-source-file mysql-test/std_data/*
++very-long-line-length-in-source-file mysql-test/suite/*
++very-long-line-length-in-source-file plugin/handler_socket/regtest/*
++very-long-line-length-in-source-file storage/archive/archive_test.c *
++very-long-line-length-in-source-file storage/maria/libmarias3/docs/_themes/sphinx_rtd_theme/static/css/badge_only.css *
++very-long-line-length-in-source-file storage/maria/libmarias3/docs/_themes/sphinx_rtd_theme/static/css/theme.css *
++very-long-line-length-in-source-file storage/rocksdb/mysql-test/rocksdb/*
++very-long-line-length-in-source-file storage/spider/mysql-test/spider/bugfix/include/sql_mode_init.inc *
++# Columnstore source code pollution
++very-long-line-length-in-source-file storage/columnstore/columnstore/*.xmi *
++very-long-line-length-in-source-file storage/columnstore/columnstore/dbcon/doc/q19_plan.txt *
++very-long-line-length-in-source-file storage/columnstore/columnstore/mysql-test/columnstore/csinternal/include/autopilot_create_datatypetestm_tables.inc *
++very-long-line-length-in-source-file storage/columnstore/columnstore/mysql-test/columnstore/csinternal/include/autopilot_create_datatypeupdate_table.inc *
++source-contains-autogenerated-visual-c++-file storage/columnstore/columnstore/*.rc
++source-contains-autogenerated-visual-c++-file storage/columnstore/columnstore/*.h
index e5d50496bdb513b93184fa658f1225b9e33dc859,0000000000000000000000000000000000000000..a783494415a193f884db44ec4bad54e2cb609591
mode 100644,000000..100644
--- /dev/null
@@@ -1,109 -1,0 +1,109 @@@
- #SET GLOBAL innodb_compression_algorithm=snappy;
 +#!/bin/sh
 +# dep8 smoke test for mysql-server
 +# Author: Robie Basak <robie.basak at canonical.com>
 +#
 +# This test should be declared in debian/tests/control with a dependency
 +# on the package that provides a configured MariaDB server (eg.
 +# mariadb-server-10.6).
 +#
 +# This test should be declared in debian/tests/control with the
 +# following restrictions:
 +#
 +# needs-root (to be able to log into the database)
 +# allow-stderr
 +#
 +# This test:
 +#
 +# 1) Creates a test database and test user as the root user.
 +#
 +# 2) Creates a test table and checks it appears to operate normally
 +# using the test user and test database.
 +#
 +# 3) Checks compression support for InnoDB & RocksDB engine.
 +
 +echo "Running test 'smoke'"
 +set -ex
 +
 +# Start the daemon if it was not running. For example in Docker testing
 +# environments there might not be any systemd et al and the service needs to
 +# be started manually.
 +if ! which systemctl
 +then
 +  if ! /etc/init.d/mariadb status
 +  then
 +    echo "Did not find systemctl and daemon was not running, starting it.."
 +    /etc/init.d/mariadb start
 +  fi
 +else
 +  # If systemd (and systemctl) is available, but the service did not start, then
 +  # this smoke test is supposed to fail if next commands don't work.
 +  echo "Found systemctl, continuing smoke test.."
 +fi
 +
 +mysql <<EOT
 +CREATE DATABASE testdatabase;
 +CREATE USER 'testuser'@'localhost' identified by 'testpassword';
 +GRANT ALL ON testdatabase.* TO 'testuser'@'localhost';
 +EOT
 +
 +mysql testdatabase <<EOT
 +CREATE TABLE foo (bar INTEGER);
 +INSERT INTO foo (bar) VALUES (41);
 +EOT
 +
 +result=$(echo 'SELECT bar+1 FROM foo;'|mysql --batch --skip-column-names --user=testuser --password=testpassword testdatabase)
 +if [ "$result" != "42" ]; then
 +       echo "Unexpected result" >&2
 +       exit 1
 +fi
 +
 +mysql --user=testuser --password=testpassword testdatabase <<EOT
 +DROP TABLE foo;
 +EOT
 +
 +mysql <<EOT
 +DROP DATABASE testdatabase;
 +DROP USER 'testuser'@'localhost';
 +EOT
 +
 +# List based on what is advertised at
 +# https://mariadb.com/kb/en/innodb-page-compression/#configuring-the-innodb-page-compression-algorithm
 +# but disabled  with '#' the options that are not available in this binary build
 +mariadb <<EOT
 +SET GLOBAL innodb_compression_algorithm=lz4;
 +#SET GLOBAL innodb_compression_algorithm=lzo;
 +#SET GLOBAL innodb_compression_algorithm=lzma;
 +#SET GLOBAL innodb_compression_algorithm=bzip2;
++SET GLOBAL innodb_compression_algorithm=snappy;
 +SET GLOBAL innodb_compression_algorithm=zlib;
 +SET GLOBAL innodb_compression_algorithm=none;
 +EOT
 +
 +# Check whether RocksDB should be installed or not
 +plugin=mariadb-plugin-rocksdb
 +if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS)" != 32 ] &&
 +   [ "$(dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)" = little ]
 +  then
 +  dpkg-query -W $plugin
 +
 +  LOG=/var/lib/mysql/#rocksdb/LOG
 +  # XXX: The server may only be started during the install of
 +  #      mariadb-server-10.6, which happens before that of the plugin.
 +  [ -e $LOG ] || mysql -e "INSTALL PLUGIN RocksDB SONAME 'ha_rocksdb';"
 +  # XXX: rocksdb_supported_compression_types variable does not report ZSTD.
 +
 +  # Print RocksDB supported items so test log is easier to debug
 +  grep -F " supported:" $LOG
 +
 +  # Check that the expected compression methods are supported
 +  for a in LZ4 Snappy Zlib ZSTD; do
 +    if ! grep -qE "k$a(Compression)? supported: 1" $LOG
 +    then
 +      # Fail with explicit error message
 +      echo "Error: Compression method $a not supported by RocksDB!" >&2
 +      exit 1
 +    fi
 +  done
 +else
 +  ! dpkg-query -W $plugin
 +fi
index f216df2437177844bc876c2e6fddecb3ae88c604,0000000000000000000000000000000000000000..0f53e25553f8989418f0023f933f232136a03748
mode 100644,000000..100644
--- /dev/null
@@@ -1,67 -1,0 +1,70 @@@
- touch $SKIP_TEST_LST
 +#!/bin/sh
 +# autopkgtest check: Build and run the upstream test suite.
 +# (C) 2012 Canonical Ltd.
 +# Author: Daniel Kessel <d.kessel@gmx.de>
 +
 +# running the mysql testsuite as described in:
 +# https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/959683
 +
 +echo "Running test 'testsuite'"
 +set -e
 +
 +SKIP_TEST_LST="/tmp/skip-test.lst"
++ARCH=$(dpkg --print-architecture)
++
 +WORKDIR=$(mktemp -d)
 +trap 'rm -rf $WORKDIR $SKIP_TEST_LST' 0 INT QUIT ABRT PIPE TERM
 +cd "$WORKDIR"
 +
 +mkdir var
 +mkdir tmp
 +
 +echo "using vardir: $WORKDIR/var"
 +echo "using tmpdir: $WORKDIR/tmp"
 +
 +echo "Setting up skip-tests-list"
 +
- # Also use arch specific skiplists if such files exist
- for filename in /usr/share/mysql/mysql-test/unstable-tests.*
- do
-   # Check for case that no files matched and glob is returned
-   [ -e "$filename" ] || continue
-   # Append file to the main skip test list file
-   cat "$filename" >> $SKIP_TEST_LST
- done
++# Use unstable-tests list as base to skip all tests  considered unstable
++cp /usr/share/mysql/mysql-test/unstable-tests $SKIP_TEST_LST
 +
- ARCH=$(dpkg --print-architecture)
++# Also use the arch specific skiplists if exist
++if [ -f /usr/share/mysql/mysql-test/unstable-tests.$ARCH ]
++then
++  cat /usr/share/mysql/mysql-test/unstable-tests.$ARCH >> $SKIP_TEST_LST
++fi
 +
 +# Skip tests that cannot run properly on ci.debian.net / autopkgtests.ubuntu.com
 +cat >> $SKIP_TEST_LST << EOF
 +binlog.binlog_server_start_options : Requires writable /usr
 +main.ctype_uca : Requires writable /usr
 +rpl.rpl_gtid_mode : Requires starting server as root ref http://bugs.mysql.com/bug.php?id=70517
 +EOF
 +
 +# Skip tests that cannot run properly on Gitlab-CI
 +if [ ! -z "$GITLAB_CI" ]
 +then
 +  cat >> $SKIP_TEST_LST << EOF
 +main.mysqld--help : For unknown reason table-cache is 4000 instead of default 421
 +EOF
 +fi
 +
 +if [ "$ARCH" = "s390x" ]
 +then
 +  echo "main.func_regexp_pcre : recursion fails on s390x https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1723947" >> $SKIP_TEST_LST
 +elif [ "$ARCH" = "armhf" ] || [ "$ARCH" = "i386" ]
 +then
 +  echo "main.failed_auth_unixsocket : Test returns wrong exit code on armhf and i386 (but only in debci) https://jira.mariadb.org/browse/MDEV-23933" >> $SKIP_TEST_LST
 +fi
 +
++# Store skipped test list in artifacts so it can be viewed while debugging
++# failed autopkgtest runs
++cp -v $SKIP_TEST_LST $AUTOPKGTEST_ARTIFACTS
++
 +cd /usr/share/mysql/mysql-test
 +echo "starting mysql-test-tun.pl..."
 +eatmydata perl -I. ./mysql-test-run.pl --suite=main \
 +    --vardir="$WORKDIR/var" --tmpdir="$WORKDIR/tmp" \
 +    --parallel=auto --skip-rpl \
 +    --force --skip-test-list=$SKIP_TEST_LST \
 +    --xml-report=$AUTOPKGTEST_ARTIFACTS/mysql-test-run-junit.xml $@ 2>&1
 +echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a61024c83f8456a536fe31a14f7801856820586d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++repair_symlink-5543            : https://jira.mariadb.org/browse/MDEV-23920
++main.alter_table_mdev539_maria : https://jira.mariadb.org/browse/MDEV-23922
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..17816b6b45bace8abdd8e4071aa5d19a6e04fe0f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.strings : MDEV-26644
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..17816b6b45bace8abdd8e4071aa5d19a6e04fe0f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.strings : MDEV-26644
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7f9b5a69d8787cb76e9b8a9692ea8ae09c2f3a36
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.partition_key_cache : MDEV-23427
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3b6e714bc055e845aa742cc5a4008e56d4b2b7ae
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.xml : MDEV-21968
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2b0a04e9c1705f711f4e7d9d0154fbcc22470b99
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++repair_symlink-5543  : https://jira.mariadb.org/browse/MDEV-23920
++main.index_intersect : https://jira.mariadb.org/browse/MDEV-23921
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8294d9a0b6c747a4f8b2df4a0429bf7d3072aa6e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++# For an unknown reason, the mysql-test-run does not even start on m68k Debian buildd (Bug#972057)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..29f75232addaac1560bde45869b8b1d58c7dca18
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.func_json_notembedded : MDEV-27955
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..29f75232addaac1560bde45869b8b1d58c7dca18
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.func_json_notembedded : MDEV-27955
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7d460393515a5fd7923f87a80da6b42ff90b0944
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++main.strings   : MDEV-26644
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fbf5d1317c1d181fc8bf5fc1734d3d1296a1a68d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++main.strings   : MDEV-26644
++main.func_json_notembedded : MDEV-27955
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..735b5f1806d97ec1200f0c945ba6fa74cfc67ed3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++# For an unknown reason, the mysql-test-run does not even start on sh4 Debian buildd (Bug#988349)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..78d79c7585bc738e540419087a4f7831b3dfc336
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,10 @@@
++main.partition_order : MDEV-27954
++main.func_str : MDEV-27954
++main.group_by : MDEV-27954
++main.group_by_null : MDEV-27954
++main.features : MDEV-27954
++main.repair_symlink-5543 : MDEV-23920
++main.type_datetime : MDEV-27954
++main.xml : MDEV-27954
++main.func_like : MDEV-27954
++main.func_math : MDEV-27954
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..94aa5cb9ec70ac97c2473fcfc689136ce3a6e5bb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,6 @@@
++Bug-Database: http://mariadb.org/jira
++Bug-Submit: http://mariadb.org/jira
++Donation: https://mariadb.org/donate/
++Repository: git://github.com/MariaDB/server.git
++Repository-Browse: https://github.com/MariaDB/server
++Security-Contact: security@mariadb.org
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b21f4d05cb23c6d2a9398d873e8bfcbfbe2386e2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,43 @@@
++-----BEGIN PGP PUBLIC KEY BLOCK-----
++
++mQGiBEtohJARBACxvZpWSIMTp/e7BUzSW+WDL7Pl0JDg6v7ZJFGJk9qo+5JXIiis
++497Ul0FmVJ6EoyVzfpqe5FyUvqtLCkM6UP5adyvXTHi1KMiYacu2q5yRhDpMKbpM
++LkAg23Yyz1yK/d0TsAkerLJ6K1Bh8NIm44Op+qFrDxeYZDIR5Q8WaCdK8wCg/jc8
++p/4XaKq74ghUHEX+35qk63UD/0YEsgHrsRQZ42wKNeO8ZUJKqCVHXYJrCq7DhRhn
++U5aYnuK3op0JusPN5fdIGkKwJy24dWRoRfNIIg0WvM8qUNrC2NvhomnZNudsI0Jb
++XapRemrIwbvrZToD6ei1awdVqa5fT6XIxV4MSQEwn47qmUNSz/0TkUmB3VZ2EL/j
++zfHUA/91ZfAdWCmRemTLWRrzIYYJKyEInZ0qwZVrkyMY8+T7b2/6RGR0f2oV1dOx
++cjbd0+N3vKrUkjuzkcVu/oB8wq9UBfuSHwsxYqub4gvIh0/LW+CsWa955sQ/Hj9H
++48j3nUHaXqM9uJyMMgMlCdo3rLpnYCJH8w2kFfLHIDksMs1YtLQ9TWFyaWFEQiBQ
++YWNrYWdlIFNpZ25pbmcgS2V5IDxwYWNrYWdlLXNpZ25pbmcta2V5QG1hcmlhZGIu
++b3JnPohiBBMRAgAiBQJREUepAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAK
++CRDLywgqG7lD28y4AJ0aByfYvJWqBm5PZjusZiG0vo9SRwCeM0izj/oryMu0fJi3
++kRbTlojzCd20Q0RhbmllbCBCYXJ0aG9sb21ldyAoTW9udHkgUHJvZ3JhbSBzaWdu
++aW5nIGtleSkgPGRiYXJ0QGFza21vbnR5Lm9yZz6IYAQTEQIAIAUCS2iEkAIbAwYL
++CQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEMvLCCobuUPboDgAoNQVrK4i5LXTgwnW
++ke2MxsXCoHDnAJ93j733YuNkV64aHEUwWxNCkkwUkbkEDQRLaIS4EBAApZ0wvxpQ
++VlZ6OEFa9SBQ5eclRIOjXjKqkYGkvIx+jUmqCYfOgfPixOGYS5Q2KwHNz4XEOIOA
++1kyClAoAAgOEGUxj8CxnbBk10IVo/JBONjdqKYPZ2YNdeIIrKXEmai4i5hK5AfZH
++oyqsV5aqxGkGeVUju/coyRJY6La8iL+RBuxiRuUPWymGjtISAR6fSiN8f/kRly/y
++9LmMO8JcOpeieqLUFPK6KuzhI4F0nFkHJpZPDNOHHl+GmAZ+SqZxmIrpkGymd36h
++TKxW4nlnN6kqc1gMwdn1L/u/D+C/jhMbTTssqiMZeyP9uFmnMB3ls1NV8OxvbxcT
++BG0M7g4AlffUQKpUrNhIBoC3R7UbYQ3CTZX1Qp/TBzbfRAgGhdWBQDQEd3/Ll9G4
++QaCs9I+4W68rkAr7e7IylHyfEi9oYQkXFIEeaAhiENmJBpcLpas/yNJoLayqzPsQ
+++lRNg3omFntPtZolkMi6orRNixrgXV64m/01YNjmBFTqsp5wOq2j0cmTkbOWqdnl
++mGPg2El1ufebJc6YWS1nFm6YRpN/B3QbtAnar1Cb+IHlr0haTOYhQp+XFN+k1brq
++s+Sufa8/rz6N5tsm+W5GjHKvHr24FTa02u3H4lIqNlNBkzZZKhzAhxEWiJzwc/f2
++upG5vdplrM/YCU+XTotYPb5ZEXQe2mD/rXMAAwUP/0f1DOJIfnMrh1o/3RKqDq8k
++7tlv2GEEv0VEnh8ty4dMb8Dos2M1Oc4Kv9QLB3DXcS4/L4JW5vF0QgSAzq1r5oBT
++1zaMcqDS6OUlHrWUi8aDNt5EPQuEGdP2/iTDeAq4r8eCYrHRC7egldyRZrmWNfcZ
++N6/G9K+JSjhWfSWWSBRIqb+UxcQNCp6i6tvVSxCfLK1R4P4kA/Z4Co2vywIfVfPh
++Hd5nIWNl1yl9O3r04GCNTjzwsv/dhUGDFIVsghgehZuL0Bb7hDuyvZ2ShALumZ5t
++7mU/SJ2hOk3klO+2bIJB0gquUkWn/4g1h2Tp9XVWrI1x6GUBxRYkwC4tWajzWeVC
++5hcDVAdqYN0H0HVj/CEgrEWlCVv1hJ0JYAsjX8Cj1QuZB1i34fjEkgybMjo3oCU5
++GCSiNmvtTeUpexyY/7iHAdyoZHFT+fQS84VMYKFT4tTYH+5jTa62yfPhn63TYPor
++rRyTqG8aJQLnczm0NN5R5mriYJQjr4Pj8PSSwWck/Gt8R5vb+C69+uXINB6OKqhG
++6xU0bqnCIxt3OhVS7v0SfHjn0+il/JOc/ev9wm6G5FxmEWOoYwibmaDzHfc9N1HM
++RzjTENI7fyJPNFj9IDkpwk4E3ylrkuVl2KEmYDJ9T9ny4UMnQ7Sb6w59UhxMIFtR
++TPNpQJWCWXfhWUAo4WfCiEkEGBECAAkFAktohLgCGwwACgkQy8sIKhu5Q9vThgCg
++7R7ImT+21phcbxVYBQZjiJVY/2YAnRKPeNKPNIviaUUV7kxMXt949GQX
++=zBws
++-----END PGP PUBLIC KEY BLOCK-----
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c4ff37458449db2bf0354654765f39e1d47b5f08
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++version=3
++opts=\
++pgpsigurlmangle=s/$/.asc/,\
++uversionmangle=s/-(rc|beta)/$1/,pasv \
++https://ftp.nluug.nl/db/mariadb/mariadb-10.6.([\d\.]*(?:-beta|-rc)?)/source/mariadb-([\d\.]*(?:-beta|-rc)?).tar.gz \
++
++# String "-10.6." needs to be in path as MariaDB releases several series in
++# parallel (e.g 10.6, 10.4, 10.3 etc) and uscan should check for updates only
++# in the 10.6-series.
++
++# Automated signature checking with pgpsigurlmangle has been available
++# only since devscripts version 2.13.3
++
++# Specifically use ftp.nluug.nl because is supports https and the main page has a file listing
++# suitable for scanning new releases, while other servers either lack https or have the main
++# directory masked by a half-empty index.html file.