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'
---
Removed reference to debian svn location of debian dir.
Changed verbage of comment to appease Timothy.
---
Removed added manpages that aren't appropriate for our build.
---
Added debian dir to list of dist targets.
Added list of files needed to be distributed in debian dir.
---
Added semi-colons to fix syntax error.
---
BUG#27769 MySQL should include debian packaing dir
Added debian/Makefile to configure.in to support make dist.
BitKeeper/deleted/.del-configure.in.rej:
Delete: configure.in.rej
Makefile.am:
Added debian dir to list of dist targets.
configure.in:
Added debian/Makefile to configure.in to support make dist
BitKeeper/deleted/.del-comp_err.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-msql2mysql.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-my_print_defaults.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisam_ftdump.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisamchk.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisamlog.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisampack.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_config.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_convert_table_format.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_explain_log.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_find_rows.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_fix_extensions.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_install_db.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_secure_installation.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_setpermission.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_tableinfo.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_waitpid.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlbinlog.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlbug.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlcheck.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqldumpslow.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlimport.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlmanager.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqltest.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-pack_isam.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-resolve_stack_dump.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-resolveip.1:
Adding files to support building for debian.
debian/Makefile.am:
Added list of files needed to be distributed in debian dir.
debian/README.Maintainer:
Adding files to support building for debian.
---
Removed reference to debian svn location of debian dir.
Changed verbage of comment to appease Timothy.
debian/changelog:
Adding files to support building for debian.
debian/compat:
Adding files to support building for debian.
debian/control.in:
Adding files to support building for debian.
debian/copyright.more:
Adding files to support building for debian.
debian/copyright:
Adding files to support building for debian.
debian/defs.mk:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.README.Maintainer.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.dirs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.docs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.examples.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.files.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.links.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.README.Debian.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.dirs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.docs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.files.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.postinst.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER-dev.dirs.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER-dev.files.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER-dev.links.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.README.Debian.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.dirs.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.files.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.postinst.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.NEWS.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.README.Debian.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.docs.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.lintian-overrides.in:
Adding files to support building for debian.
debian/mysql-common.README.Debian.in:
Adding files to support building for debian.
debian/mysql-common.dirs.in:
Adding files to support building for debian.
debian/mysql-common.files.in:
Adding files to support building for debian.
debian/mysql-common.postrm.in:
Adding files to support building for debian.
debian/mysql-common.preinst.in:
Adding files to support building for debian.
debian/mysql-extra-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-extra-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-management-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-management-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-management-MYVER.mysql-management.init.in:
Adding files to support building for debian.
debian/mysql-server-MYOLDVER.preinst.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.NEWS.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.README.Debian.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.config.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.docs.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.links.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.lintian-overrides.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.logcheck.ignore.paranoid.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.logcheck.ignore.server.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.logcheck.ignore.workstation.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.mysql-server.logrotate.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.postinst.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.postrm.in:
Adding files to support building for debian.
debian/additions/my.cnf:
Adding files to support building for debian.
debian/additions/mysql-server.lintian-overrides:
Adding files to support building for debian.
debian/additions/ndb_mgmd.cnf:
Adding files to support building for debian.
debian/mysql-server-MYVER.preinst.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.prerm.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.templates.in:
Adding files to support building for debian.
debian/mysql-server.preinst.in:
Adding files to support building for debian.
debian/mysql-storage-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-storage-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-storage-MYVER.mysql-storage.init.in:
Adding files to support building for debian.
debian/mysql-test-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-test-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-tools-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-tools-MYVER.files.in:
Adding files to support building for debian.
debian/po/POTFILES.in.in:
Adding files to support building for debian.
debian/po/ca.po:
Adding files to support building for debian.
debian/po/cs.po:
Adding files to support building for debian.
debian/po/da.po:
Adding files to support building for debian.
debian/po/de.po:
Adding files to support building for debian.
debian/po/es.po:
Adding files to support building for debian.
debian/po/eu.po:
Adding files to support building for debian.
debian/po/fr.po:
Adding files to support building for debian.
debian/po/gl.po:
Adding files to support building for debian.
debian/po/it.po:
Adding files to support building for debian.
debian/po/ja.po:
Adding files to support building for debian.
debian/po/nb.po:
Adding files to support building for debian.
debian/po/nl.po:
Adding files to support building for debian.
debian/po/pt.po:
Adding files to support building for debian.
debian/po/pt_BR.po:
Adding files to support building for debian.
debian/po/ro.po:
Adding files to support building for debian.
debian/po/ru.po:
Adding files to support building for debian.
debian/po/sv.po:
Adding files to support building for debian.
debian/po/templates.pot:
Adding files to support building for debian.
debian/po/tr.po:
Adding files to support building for debian.
debian/rules:
Adding files to support building for debian.
---
Added semi-colons to fix syntax error.
debian/source.lintian-overrides.in:
Adding files to support building for debian.
debian/watch:
Adding files to support building for debian.