mariadb/debian
Otto Kekäläinen 2adaf5c261 MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian
Fix a large amount of minor fixes to maintainer scripts and other done
downstream in the official Debian packaging.

Changes include:

38198d0b9e
> Limit check of running mysqld/mariadbd to system users (Closes: #1032047)
>
> If a random user has their own copy of mysqld/mariadbd running, the
> dpkg maintainer script should not care about it.

8116354d22
> Make error more helpful in case server restart fails (Related: #1033234)
>
> Bugs such as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033234
> and https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/2011293
> show that currently dpkg stopping on service stop/start does not have
> a very helpful error message.

8675e97202
> Complement upstream commits with more complete mysql->mariadb conversion
>
> The upstream commit 952af4a1 missed some places where 'mysql' or
> 'MySQL' can and should be converted to use 'mariadb' or 'MariaDB'.

c983613300
> Fix indentation in Debian post and pre scripts
>
> There is several misindentation inside Debian post and pre
> installation scripts. False indentation with space as indent space
> should be 2 and indentation with tabs.
>
> Adopt upstream commit 7cbb45d1 in Debian by conserving customizations
> in:
> - debian/mariadb-server.postinst
> - debian/mariadb-server.postrm
> - debian/mariadb-server.preinst

d0bcab443f
> Ensure spaces are used everywhere instead of tabs for indentation

0300a9157c
> Complement previous upstream commits to fix Shellcheck issues
>
> - Unify if/then and while/do on separate lines
> - Fix indentation to be consistent
> - Use "$()" instead of backticks for subshells
> - Exit code cannot be -1, must be 0-255
> - Remove unused variables MYCHECK and MYCHECK_PARAMS
> - Rewrite messy command-line database calls to an easier to read form
>   that does exactly the same
> - Use 'command -v' test instead of 'which'
>
> With this commit, all of debian/* is Shellcheck clean.

Also
* Update mariadb.conf.d template to tell users where to create logdir
  if they are not using journald
* Remove use of work 'slave'
* Add minor workaround for Debian Bug #1022994 if TMPDIR is empty
* Make start/stop in maintainer scripts correctly check mariadbd
  ownership and only start/stop processes owned by root or 'mysql'
* Remove obsolete 'NO_UPDATE_BUILD_VERSION=1' as it did not affect the
  RocksDB build reproducibility as previously assumed
* Run 'wrap-and-sort -av'
2024-07-17 14:32:50 +10:00
..
additions MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
po
source MDEV-33837: Remove autogenerated files in columnstore warnings 2024-07-17 11:25:51 +10:00
tests MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
apparmor-profile
autobake-deb.sh MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
changelog
compat MDEV-34191: Make sure that Debian respects systemd disabled 2024-07-17 13:58:44 +10:00
control MDEV-33750: Fix Lintian warnings 2024-07-17 14:32:50 +10:00
copyright MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
gbp.conf
libmariadb-dev-compat.install
libmariadb-dev-compat.links
libmariadb-dev-compat.lintian-overrides MDEV-33837: Remove conflicts warnings from lintian 2024-07-17 11:25:51 +10:00
libmariadb-dev.examples
libmariadb-dev.install Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
libmariadb-dev.links
libmariadb-dev.lintian-overrides MDEV-33837: Remove unneeded lintian override in libmariadb-dev 2024-07-17 11:25:51 +10:00
libmariadb-dev.README.Maintainer
libmariadb3-compat.install
libmariadb3.install
libmariadb3.lintian-overrides MDEV-33837: Remove conflicts warnings from lintian 2024-07-17 11:25:51 +10:00
libmariadb3.symbols
libmariadb3.symbols.README
libmariadbclient18.install
libmariadbd-dev.install MDEV-34456: Move mariadb.pc to not-installed 2024-07-17 12:19:08 +10:00
libmariadbd19.install
libmariadbd19.lintian-overrides MDEV-33837: Remove purposed spelling errors 2024-07-17 11:25:51 +10:00
libmysqlclient18.install
mariadb-backup.install
mariadb-backup.lintian-overrides MDEV-33837: Remove purposed spelling errors 2024-07-17 11:25:51 +10:00
mariadb-client-core.install
mariadb-client-core.lintian-overrides MDEV-33837: Remove conflicts warnings from lintian 2024-07-17 11:25:51 +10:00
mariadb-client.docs
mariadb-client.install
mariadb-client.links
mariadb-client.lintian-overrides MDEV-33837: Remove conflicts warnings from lintian 2024-07-17 11:25:51 +10:00
mariadb-client.manpages
mariadb-client.menu
mariadb-client.README.Debian
mariadb-common.dirs
mariadb-common.install
mariadb-common.lintian-overrides MDEV-33837: Suspend lintian warnings for description is synopsis 2024-07-17 11:25:51 +10:00
mariadb-common.postinst
mariadb-common.postrm
mariadb-plugin-connect.install
mariadb-plugin-cracklib-password-check.install
mariadb-plugin-gssapi-client.install
mariadb-plugin-gssapi-server.install
mariadb-plugin-hashicorp-key-management.install
mariadb-plugin-mroonga.install
mariadb-plugin-mroonga.lintian-overrides MDEV-33837: Suspend package-contains-documentation-outside-usr-share-doc warnings 2024-07-17 11:25:51 +10:00
mariadb-plugin-mroonga.postinst MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-plugin-mroonga.prerm MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-plugin-oqgraph.install
mariadb-plugin-provider-bzip2.install
mariadb-plugin-provider-bzip2.lintian-overrides MDEV-33837: Add and fix lintian overrides 2024-07-17 11:25:51 +10:00
mariadb-plugin-provider-lz4.install
mariadb-plugin-provider-lz4.lintian-overrides MDEV-33837: Add and fix lintian overrides 2024-07-17 11:25:51 +10:00
mariadb-plugin-provider-lzma.install
mariadb-plugin-provider-lzma.lintian-overrides MDEV-33837: Add and fix lintian overrides 2024-07-17 11:25:51 +10:00
mariadb-plugin-provider-lzo.install
mariadb-plugin-provider-lzo.lintian-overrides MDEV-33837: Add and fix lintian overrides 2024-07-17 11:25:51 +10:00
mariadb-plugin-provider-snappy.install
mariadb-plugin-provider-snappy.lintian-overrides MDEV-33837: Add and fix lintian overrides 2024-07-17 11:25:51 +10:00
mariadb-plugin-rocksdb.install
mariadb-plugin-rocksdb.lintian-overrides MDEV-33837: Remove purposed spelling errors 2024-07-17 11:25:51 +10:00
mariadb-plugin-s3.install
mariadb-plugin-spider.install
mariadb-server-core.install MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-server-core.lintian-overrides MDEV-33837: Suspend package-contains-documentation-outside-usr-share-doc warnings 2024-07-17 11:25:51 +10:00
mariadb-server.config MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-server.dirs
mariadb-server.install MDEV-33837: Fix spare-manual-page warnings in Debian lintian 2024-07-17 11:25:51 +10:00
mariadb-server.lintian-overrides MDEV-33837: Suspend package-contains-documentation-outside-usr-share-doc warnings 2024-07-17 11:25:51 +10:00
mariadb-server.logcheck.ignore.paranoid
mariadb-server.logcheck.ignore.server MDEV-33750: Fix Lintian warnings 2024-07-17 14:32:50 +10:00
mariadb-server.logcheck.ignore.workstation MDEV-33750: Fix Lintian warnings 2024-07-17 14:32:50 +10:00
mariadb-server.mariadb.init MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-server.mysql.default
mariadb-server.postinst MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-server.postrm MDEV-34146: Remove duplicate #DEBHELPER# from MariaDB server postrm 2024-06-05 09:54:41 +10:00
mariadb-server.preinst MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
mariadb-server.README.Debian
mariadb-server.templates
mariadb-server.triggers
mariadb-test-data.install
mariadb-test-data.lintian-overrides MDEV-33837: Remove autogenerated files in columnstore warnings 2024-07-17 11:25:51 +10:00
mariadb-test.install
mariadb-test.lintian-overrides MDEV-33837: Suspend package-contains-documentation-outside-usr-share-doc warnings 2024-07-17 11:25:51 +10:00
mysql-common.dirs
mysql-common.links
mysql-common.lintian-overrides MDEV-33837: Suspend lintian warnings for description is synopsis 2024-07-17 11:25:51 +10:00
mysql-common.postrm
not-installed MDEV-34456: Move mariadb.pc to not-installed 2024-07-17 12:19:08 +10:00
rules MDEV-33750: Sync maintainer scripts etc with latest downstream 10.11.5 in Debian 2024-07-17 14:32:50 +10:00
salsa-ci.yml