summaryrefslogtreecommitdiff
path: root/debian/mariadb-server.install
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-30205 Move /usr/share/mysql to /usr/share/mariadbDaniel Black2023-04-111-6/+6
| | | | | | | | | These are mainly internal files so is a low impact change. The few scripts/mysql*sql where renames to mariadb_* prefix on the name. mysql-test renamed to mariadb-test in the final packages
* Deb: use MariaDB namingDaniel Black2023-03-021-1/+1
| | | | | | | | | | Use MariaDB named executables. Also remove unnecessary slave references. rename 50-mysql-clients.cnf -> 50-mariadb-clients.cnf 50-mysqld_safe.cnf -> 50-mariadb_safe.cnf
* MDEV-30203 Move mysql symlinks to different packageDaniel Black2023-02-121-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | For both Deb and RPM, create mariadb-client-compat and mariadb-server-compat containing the mysql links to the mariadb named executables/scripts. The mariadb-client-core mysqlcheck was moved to mariadb-client-compat. The symlinks in MYSQL_ADD_EXECUTABLE is tagged as a {Client,Server}Symlinks component and placed in the symlinks packages. Man pages are restructured be installed into compat package if that matches the executable. Columnstore has a workaround as it doesn't use the cmake/plugin.cmake. Scripts likewise have compatibility symlinks are in the {server,client}-compat packages. Co-author: Andrew Hutchings <andrew@linuxjedi.co.uk> Closes #2390
* MDEV-22659: Create one single unified and optimal logrotate configOtto Kekäläinen2022-10-271-0/+1
| | | | | | | | | | | | | | | | | | | 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.11 branch onward we use now the 'mariadb' name, and use 'logrotate' to match the actual name of the utility. Also automatically disable deprecated /etc/logrotate.d/mysql-server file on deb upgrades. Reviewer: Daniel Black Reviewer edits made: * Added 'su mysql mysql' to the logrotate this is more RPM friendly. This is commented on Debian * /var/log/mysql is the path on SuSe based distributions
* Deb: Use --fail-missing and ensure the not-installed list is up-to-dateOtto Kekäläinen2022-05-051-0/+10
| | | | | | | | | | | | | | | | | | Make the Debian build fail if it detects that the build (CMake) created files that are not used in any package nor accounted in the special not-installed file. Stop creating symbolic links in Debian packaging for files that the CMake build already created. Document known cases of files that are intentionally not installed. Leave the rest in the not-installed list for visibility. The list can later be trimmed down and having the --fail-missing will prevent any new unaccounted files from being introduced. Note that despite extensive refactoring in the Debian packaging files, there was no changes in the packages produced as verified by package files lists before and after.
* Deb: Finalize the version less Debian package transitionOtto Kekäläinen2022-05-051-1/+1
| | | | | | | | | | In addition to the binary .deb packages, also remove the version string from the Debian source package. Also clean away excess use of __MARIADB_MAJOR_VER__ constant and add inline note that the whole debian-XX.X.flag file thing should be removed and replaced by using the new MariaDB server mysql_upgrade_info file.
* MDEV-27033: Remove version suffix from Debian packagesTuukka Pasanen2022-04-261-0/+83
Remove version suffix from Debian packages (for example mariadb-server-10.9) because installing suffixed package removes older version of package even if it's suffixed (for example mariadb-server-10.7) This make also Debian package management easier in future MariaDB version iterations because there is no need for stacking Conlicts/Breaks/Replaces-parameters in every new major release