mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 2adaf5c261
			
		
	
	
	2adaf5c261
	
	
	
		
			
			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 commit952af4a1missed 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 commit7cbb45d1in Debian by conserving customizations > in: > - debian/mariadb-server.postinst > - debian/mariadb-server.postrm > - debian/mariadb-server.preinstd0bcab443f> Ensure spaces are used everywhere instead of tabs for indentation0300a9157c> 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'
		
			
				
	
	
		
			59 lines
		
	
	
	
		
			2.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
	
		
			2.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| == MariaDB ==
 | |
| 
 | |
| The Debian package of MySQL was first debianzed on 1997-04-12 by Christian
 | |
| Schwarz <schwarz@debian.org> and is maintained since 1999-04-20 by
 | |
| Christian Hammers <ch@debian.org>.
 | |
| 
 | |
| The MariaDB packages were initially made by http://ourdelta.org/, and
 | |
| are now managed by the MariaDB development team, developers@lists.mariadb.org
 | |
| 
 | |
| MariaDB can be downloaded from https://downloads.mariadb.org/
 | |
| 
 | |
| Copyright:
 | |
| 
 | |
| 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.
 | |
| 
 | |
| 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:
 | |
| 
 | |
| > 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 manual had to be removed as it is not free in the sense of the
 | |
| Debian Free Software Guidelines (DFSG).
 | |
| 
 | |
| 
 | |
| == innotop ==
 | |
| 
 | |
| Copyright 2006-2009, Baron Schwartz <baron@xaprb.com>
 | |
| URL:    http://innotop.sourceforge.net
 | |
| 
 | |
| 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
 | |
| 
 | |
| On Debian systems, the complete text of the GNU General Public License and the
 | |
| Artistic License can be found in `/usr/share/common-licenses/'.
 |