summaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAgeFilesLines
* Post-fixes for "Rename plugin rocksdb_se to rocksdb"Sergei Petrunia2017-04-021-1/+1
| | | | | - Also rename plugin's config file - And fix unit test's CMakeLists.txt
* Fix debian architecture parsingVicențiu Ciorbaru2017-04-011-1/+1
|
* Merge 10.2 into bb-10.2-mariarocksSergei Petrunia2017-03-315-493/+2002
|\
| * Merge branch '10.1' into 10.2Sergei Golubchik2017-03-305-493/+2002
| |\
| | * Correct FSF addressiangilfillan2017-03-104-9/+9
| | |
| | * Updated innotop on debian/additions from 1.7.1 to 1.11.4Jean Weisbuch2017-03-073-485/+1993
| | |
| | * spelling fixesklemens2017-03-073-4/+4
| | |
| | * Merge 10.0 into 10.1Marko Mäkelä2017-03-031-1/+2
| | |\
| | | * MDEV-11610: Alter Debian log rotate to not rotate binary/relay logsDaniel Black2017-03-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rotating binary/relay logs can cause interuption to the processing on the server. Binary and relay logs have their own mechanism already for not getting out of control (expire_logs_days). By no longer rotating binary and relay logs log rotation is limited to the following logs: * error log * general log * slow query log Writing these to the binary log would cause any logrotation on the slave to occur twice, once due to this and another due to the log- rotate script on the slave. Now --local is passed to mysqladmin to prevent this duplication.
* | | | Skip rocksdb on debian i386 and when gcc version is < 4.8Vicențiu Ciorbaru2017-03-261-0/+10
| | | |
* | | | Add sst_dump as binary in rocksdb packageVicențiu Ciorbaru2017-03-261-0/+1
| | | |
* | | | Add mysql_ldb to debian rocksdb packageVicențiu Ciorbaru2017-03-251-1/+1
| | | |
* | | | Add rocksdb as a plugin into debian packagingVicențiu Ciorbaru2017-03-211-0/+3
| | | |
* | | | Revert "Revert "Make rocksdb build as a deb package too""Vicențiu Ciorbaru2017-03-171-0/+9
| | | | | | | | | | | | | | | | This reverts commit 49de95679da3040f6e653640476208d6fbf2c24e.
* | | | Revert "Make rocksdb build as a deb package too"Vicențiu Ciorbaru2017-03-161-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 38919f68a1eb1dca14a41885828499a9c0cb8157. Temporary revert to be able to see other failures until builders are updated.
* | | | Make rocksdb build as a deb package tooVicențiu Ciorbaru2017-03-151-0/+9
|/ / /
* | | MDEV-12096: Fix ln syntax in debian/rules for libmariadb3 symlink creationOtto Kekäläinen2017-03-111-4/+4
| | | | | | | | | | | | | | | | | | | | | Compatibility links ended up looking like this: libmysqlclient.so.18 -> /tmp/buildd/mariadb-10.2-10.2.0/debian/tmp/usr/lib/i386-linux-gnu/libmariadb.so.3 This change fixes ln syntax to create links with correct target paths.
* | | Travis: Revert to optional MYSQL_{BUILD_CC,BUILD_CXX,COMPILER_LAUNCHER}Daniel Black2017-03-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To facilitate multiple build types in Travis, the environment variable MYSQL_{BUILD_CC,BUILD_CXX} will be passed to cmake if used. This will fallback to $CC/$CXX otherwise. Added MYSQL_COMPILER_LAUNCHER (usually ccache) which isn't supported until cmake-3.4, which isn't in travis (trusty), but hopefully a later version can use it or in CI systems other than travis. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* | | MariaDB 10.2 can now start from MySQL 5.7 data directoryVicențiu Ciorbaru2017-02-151-1/+1
| | | | | | | | | | | | An upgrade is still necessary however.
* | | Merge branch '10.1' into 10.2Sergei Golubchik2017-02-102-12/+13
|\ \ \ | |/ /
| * | mysql_install_db enhancements to facilitate Debian bug#848616 fixKristian Nielsen2017-01-171-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Debian, the default install is made more secure by omitting the anonymous user and by making the root account authenticate by unix socket authentication instead of the default password-less root. However, Debian hard-codes this change in mysql_install_db, which breaks that program for other users. This commit instead implements new general options for mysql_install_db that can be used by anyone to similarly perform a more secure install: --skip-auth-anonymous-user: omits the anonymous user. --auth-root-authentication-method=normal: Keeps the existing behaviour with a password-less root account. Currently on by default. --auth-root-socket-user=USER --auth-root-authentication-method=socket: creates the MariaDB root user with the name USER (defaults to 'root') and using unix socket authentication. This way, only that user has MariaDB root access after install. The idea with --auth-root-authentication-method=normal is that applications that need this behaviour can give that option explicitly. Then eventually we could make --auth-root-authentication-method=socket the default, giving a more secure default installation. Note that it is perfectly possible to do a secure install with --auth-root-authentication-method=normal. For example, installing a private server just for local access by a single OS-level user, by using --skip-networking and putting the connection socket in a location without public access. So it is important to preserve this API for backwards compatibility.
| * | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2017-01-161-0/+1
| |\ \ | | |/
| | * Fix problems from 5.5 mergeVicențiu Ciorbaru2017-01-102-0/+2
| | | | | | | | | | | | | | | | | | | | | * Update mysqld_safe script to remove duplicated parameter --crash-script * Make --core-file-size accept underscores as well as dashes correctly. * Add mysqld_safe_helper to Debian and Ubuntu files. * Update innodb minor version to 35
| * | Merge branch '10.0' into 10.1Sergei Golubchik2016-12-111-1/+0
| |\ \ | | |/
| | * MDEV-11164 - hardening-wrapper has been removed from Debian SidSergey Vojtovich2016-10-283-3/+0
| | | | | | | | | | | | | | | The hardening-wrapper package has been removed from Debian Sid. Remove dependency and relevant settings.
* | | Fixes for running with gcovMonty2017-01-111-1/+1
| | |
* | | update libmariadb, and fix debian packaging for client libsVladislav Vaintroub2016-12-223-6/+5
| | |
* | | Deb: Streamline package listing order to make comparisons downstream easierOtto Kekäläinen2016-11-272-123/+123
| | |
* | | Deb: wrap-and-sort for easier comparison to downstream in futureOtto Kekäläinen2016-11-276-32/+38
| | |
* | | Deb: Make libmariadb3 to provide the libmysqlclient.so.XX linksOtto Kekäläinen2016-11-273-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For backwards compatibility reasons. E.g. innotop builds against libmysqlclient.so and expects to find a libmysqlclient.so.18 library and does not use libmariadb.so.3 even when built from our own sources. This commit mimics to dcfe6cb834b8106e384e24ac038cf6a6456fa9ee
* | | Deb: Rename libmariadbclient-dev to libmariadb-devOtto Kekäläinen2016-11-271-7/+6
| | | | | | | | | | | | This change was accidentally omitted from commit 2bcc16c17b
* | | Deb: Fix libmariadbclient.so.18 link path to point to libmariadb.so.3Otto Kekäläinen2016-11-271-1/+1
| | | | | | | | | | | | | | | As libmariadb.so.3 does not reside in a multi-arch directory (yet), use the plain path.
* | | MDEV-10126: replace deprecated iproute dependency with iproute2Otto Kekäläinen2016-11-262-1/+9
| | | | | | | | | | | | | | | Fall back to old iproute on Debian Wheezy and Ubuntu Precise that don't have iproute2 available.
* | | MDEV-9165: Run chown much faster on the datadir during install/updateOtto Kekäläinen2016-11-262-4/+4
| | |
* | | Deb: make server core package breaks/replaces earlier client packagesOtto Kekäläinen2016-11-251-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is required, as the innochecksum binary has moved package. Without this change the following error would be emitted: Unpacking mariadb-server-core-10.2 (10.2.3+maria~jessie) over (10.2.2+maria-1~jessie) ... dpkg: error processing archive /var/cache/apt/archives/mariadb-server-core-10.2_10.2.3+maria~jessie_amd64.deb (--unpack): trying to overwrite '/usr/bin/innochecksum', which is also in package mariadb-client-10.2 10.2.2+maria-1~jessie
* | | Deb: skip invoke-rc.d mysql stop if no mysql process is running at allOtto Kekäläinen2016-11-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quite often in upgrades on systemd systems dpkg emitted an error like: Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 5 There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.2 This is because the mariadb/mysql.service file is not loaded during the upgrade/unpack stage of dpkg in certain situations. With this simple check we can easily skip the shutdown step when it is really not needed, which is for sure the case if no mysqld process at all is running on the entire system.
* | | Deb: provide the libmysqlclient shim packages that exist in Debian/UbuntuOtto Kekäläinen2016-11-201-1/+1
| | | | | | | | | | | | | | | This way all 3rd party apps configured to build against any MySQL or MariaDB version will pick up the libmariadb3-dev package instead.
* | | Deb: make libmariadb3 to provide the libmariadbclient.so.18 linkOtto Kekäläinen2016-11-202-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Debian many existing applications in Debian/Ubuntu have been built while libmariadbclient-dev or libmariadbclient-dev-compat was installed. To satisfy installation dependencies, the package name libmariadbclient18 must be provided, and at runtime a shared library must by the name libmariadbclient.so.18. Provide these to remain backwards compatible.
* | | Deb: rename client library packages to reflect its contentsOtto Kekäläinen2016-11-209-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new library name libmariadb3 matches the libmariadb.so.3 filename. Packages that want to build against MariaDB Connector C have as build-dependency libmariadb-dev and as run-time dependency libmariadb3. Make the package provide libmariadbclient18 for backwards compatibility, though compatibility is not always assured. There library did change to a whole new generation after all, even though ABI compatibility has been a design goal. Also do the equivalent change for the -dev package. Packages that explicitly want to use the MariaDB Connector C should mark it as their build-depends. Also provide an empty libmariadbclient18 metapackage to facilitate upgrades from old MariaDB installs, just like there is an empty libmysqlclient18 package. Create more of these in the future as needed.
* | | Deb: provide the default-mysql-* packages that exist in Debian/UbuntuOtto Kekäläinen2016-11-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Debian 9 (Stretch) and Ubuntu 16.10 (Yakkety) the following packages have existed: * virtual-mysql-client * virtual-mysql-client-core * virtual-mysql-server * virtual-mysql-server-core * virtual-libmysqlclient-dev They are metapackages that in Debian depend on MariaDB and in Ubuntu currently on MySQL. We need to provide them and point them to MariaDB so that systems that have the mariadb.org repositories enabled automatically get everything MariaDB and not MySQL. This change makes the packaging provide the four first ones, and later commits will fix the client library issues.
* | | Deb: install GSSAPI and Cracklib config filesOtto Kekäläinen2016-11-202-0/+2
| | |
* | | Deb: correct comment about socket auth in Spider/Mroong maintainer scriptsOtto Kekäläinen2016-11-203-6/+0
| | |
* | | Deb: install libmysqld.so and libmysqld.so.19 in correct packagesOtto Kekäläinen2016-11-183-3/+4
| | | | | | | | | | | | | | | The versioned so-file belongs to the run-time package and the unversioned symlink shall be in the development package.
* | | MDEV-5725: mysqld embedded libraries into libmariadbd19 Deb packageDaniel Black2016-11-174-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libmariadbd19 was intended to be added as the package that included the libmysqld shared library. This was missing from the debian control file. The libmariadbd-dev package requires libmariadbd19 to provide the shared library. The shared libraries for embedded mysql will go into the libmariadbd18 package rather than the libmariadbd-dev development package. /usr/bin/mariadb_config is a executable that assists embedded developers to use the correctly correct header and library files during their development. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* | | MDEV-5725: Don't install private mysql header filesDaniel Black2016-11-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously private/*.h where included in the package. These represent internal mysqld structures that aren't guarenteed to provide a stable ABI. There aren't intended to be used by embedded mysqld applications so they have been removed. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* | | Deb: add gdb as a build dependency for stack traces on test suite failuresOtto Kekäläinen2016-11-101-0/+1
| | | | | | | | | | | | | | | If mysqld crashed during the test suite run and gdb is available, a stack trace will be printed automatically.
* | | Deb: List package contents as part of the build logOtto Kekäläinen2016-11-101-0/+13
| | |
* | | Deb: clean up, strip legacy and simplify autobake-deb.shOtto Kekäläinen2016-11-101-34/+19
| | |
* | | MDEV-6284: Install systemd files (almost) the Debian wayOtto Kekäläinen2016-10-294-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | The control file contents must be correct from the start and cannot be modified at build time by CMake. Also all static Debian package analyzers will fail to see all manipulations by CMake later on. It is best to do all manipulations like these in autobake-deb.sh.
* | | Deb: use deb-sys-maint user credentials to configure MariaDB pluginsOtto Kekäläinen2016-10-293-3/+3
| | | | | | | | | | | | | | | On systems with unix socket authentication root could run these without any special maintenance accounts.