mariadb/mariadb.spec

865 lines
33 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mariadb
#
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# libmysqld soname
%define soname 19
%define extra_provides mariadb_102
# Set this to 1 to run regression test suite (it takes a long time)
%define run_testsuite 0
# Set this to 1 for testing purposes (run all regression tests but ignore
# failures). Set this to 0 for production usage (skip tests in the
# unstable-tests list (contains also suse_skipped_tests.list) and don't
# ignore failures
%define ignore_testsuite_result 0
# OQGRAPH engine cannot be built for SLE (missing Judy dependency)
%if 0%{?is_opensuse} > 0
%define with_oqgraph 1
%else
%define with_oqgraph 0
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%endif
# TokuDB engine is available only for x86_64 architecture
# see https://mariadb.com/kb/en/mariadb/tokudb/
# Don't build for SLE<15 (missing jemalloc dependency)
%define with_tokudb 0
%if 0%{?is_opensuse} > 0 || 0%{?sle_version} > 120300
%ifarch x86_64
%define with_tokudb 1
%endif
%endif
# Mroonga currently only supports the x86_64 architecture
# see https://mariadb.com/kb/en/mariadb/about-mroonga/
%ifarch x86_64
%define with_mroonga 1
%else
%define with_mroonga 0
%endif
Name: mariadb
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
Version: 10.2.12
Release: 0
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: Server part of MariaDB
License: SUSE-GPL-2.0-with-FLOSS-exception
Group: Productivity/Databases/Servers
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
URL: https://www.mariadb.org
Source: https://downloads.mariadb.org/f/mariadb-%{version}/source/mariadb-%{version}.tar.gz
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Source1: %{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source4: README.debug
Source5: suse-test-run
Source6: mysql.SuSEfirewall2
Source7: README.install
Source14: my.ini
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
Source15: mariadb.service
Source16: mariadb.target
Source17: mysql-systemd-helper
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
Source18: mariadb@.service
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Source50: suse_skipped_tests.list
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
Patch0: mysql-community-server-5.1.45-multi-configuration.patch
Patch1: mariadb-10.2.4-logrotate.patch
Patch2: mariadb-5.5.28-install_db-quiet.patch
Patch3: mariadb-10.1.1-mysqld_multi-features.patch
Patch4: mariadb-5.2.3-cnf.patch
Patch5: mariadb-10.2.3-group.patch
Patch6: mariadb-10.1.12-deharcode-libdir.patch
Patch7: mariadb-10.0.15-logrotate-su.patch
Patch8: mariadb-10.2.4-fortify-and-O.patch
Patch9: mariadb-10.2.8-systemd-cmake.patch
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
Patch10: mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
Patch11: mariadb-10.2.9-galera_cnf.patch
Patch12: mariadb-10.2.10-disable_openssl_compatibility_check.patch
BuildRequires: bison
BuildRequires: cmake
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: gcc-c++
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
BuildRequires: krb5-devel
BuildRequires: libaio-devel
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
BuildRequires: libarchive-devel
BuildRequires: libbz2-devel
BuildRequires: libevent-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# MariaDB requires a specific version of pcre. Provide MariaDB with
# "BuildRequires: pcre-devel" and it automatically decides if the version is
# ok or not. If not, it uses bundled pcre.
BuildRequires: pcre-devel
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
BuildRequires: pkgconfig
BuildRequires: procps
BuildRequires: pwdutils
BuildRequires: sqlite
BuildRequires: tcpd-devel
# Tests requires time and ps and some perl modules
# Keep in sync with Requires of mysql-testsuite
BuildRequires: time
BuildRequires: unixODBC-devel
BuildRequires: zlib-devel
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Env)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Socket)
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes)
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Do not ever switch away from BuildRequires: pkgconfig(libsystemd); BuildRequires systemd/systemd-devel causes build cycles
BuildRequires: pkgconfig(libsystemd)
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Required by rcmysql
Requires: %{name}-client
Requires: %{name}-errormessages = %{version}
# Requires /bin/hostname because otherwise we have a conflict on Leap (bsc#1009905).
# It can be switched back to plain "hostname" when this bug is resolved
Requires: /bin/hostname
Requires: perl-base
Requires(pre): pwdutils
Recommends: logrotate
Conflicts: otherproviders(mariadb-server)
Conflicts: otherproviders(mysql)
Conflicts: otherproviders(mysql-debug)
Conflicts: otherproviders(mysql-server)
# Compatibility with Fedora/CentOS
Provides: mysql-server = %{version}
Provides: mariadb-server = %{version}
# Compatibility with old version
Provides: %{name}-debug-version = %{version}
Obsoletes: %{name}-debug-version < %{version}
Provides: %{name}-debug = %{version}
Obsoletes: %{name}-debug < %{version}
Provides: mysql = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Obsoletes: mysql < %{version}
Provides: mysql-debug = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Obsoletes: mysql-debug < %{version}
Provides: %{extra_provides} = %{version}
Obsoletes: %{extra_provides} < %{version}
Provides: %{extra_provides}-debug-version = %{version}
Obsoletes: %{extra_provides}-debug-version < %{version}
%{?systemd_requires}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Do not BuildRequires lzo for i586 and arm
# https://lists.launchpad.net/maria-discuss/msg04639.html
%ifnarch i586 %{arm}
BuildRequires: lzo-devel
Accepting request 437454 from home:kstreitova:branches:server:database - update to 10.1.18 * Release notes: https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10116-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10115-release-notes/ * Changelog: https://mariadb.com/kb/en/mariadb/mariadb-10118-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10117-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10116-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10115-changelog/ * fixed CVE's: CVE-2016-8283, CVE-2016-6663, CVE-2016-5629, CVE-2016-5626, CVE-2016-5624, CVE-2016-5616, CVE-2016-3492, CVE-2016-6662, CVE-2016-5440, CVE-2016-3615, CVE-2016-3521, CVE-2016-3477 * fix: [bsc#1005582], [bsc#1001367], [bsc#1005569], [bsc#1005566], [bsc#1005564], [bsc#1005562], [bsc#1005555], [bnc#998309], [bsc#989926], [bsc#989922], [bsc#989919], [bsc#989913] * refresh mariadb-10.1.4-group.patch * refresh mariadb-10.1.12-fortify-and-O.patch - requires devel packages for aio and lzo2 - remove mariadb-10.0.21-mysql-test_main_bootstrap.patch that is no longer needed [bnc#984858] - append "--ignore-db-dir=lost+found" to the mysqld options in "mysql-systemd-helper" script if "lost+found" directory is found in $datadir [bnc#986251] - remove syslog.target from *.service files [bsc#983938] - add BuildRequires: systemd-devel - make some dependecies switchable OBS-URL: https://build.opensuse.org/request/show/437454 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=184
2016-10-27 10:56:24 +02:00
%endif
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# We want readline5 for openSUSE and libedit for SLE12
%if ( 0%{?suse_version} == 1315 ) && ( ! 0%{?is_opensuse} )
BuildRequires: libedit-devel
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%else
BuildRequires: readline5-devel
%endif
%if 0%{with_oqgraph} > 0
BuildRequires: judy-devel
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%if 0%{?suse_version} > 1315
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
%endif
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%if 0%{with_tokudb} > 0
BuildRequires: jemalloc-devel
%endif
%description
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
MariaDB is an open-source, multi-threaded, relational database management
system. It's a backward compatible, drop-in replacement branch of the
MySQL Community Server.
This package only contains the server-side programs.
%package -n libmysqld%{soname}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: MariaDB embedded server library
Group: System/Libraries
Requires: %{name}-errormessages >= %{version}
%description -n libmysqld%{soname}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
This package contains MariaDB library that allows to run an embedded
MariaDB server inside a client application.
%package -n libmysqld-devel
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: MariaDB embedded server development files
Group: Development/Libraries/C and C++
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Requires: libaio-devel
# The headers files are the shared
Requires: libmariadb-devel >= 3.0
Requires: libmysqld%{soname} = %{version}
Requires: tcpd-devel
%description -n libmysqld-devel
This package contains the development header files and libraries
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
for developing applications that embed the MariaDB.
%package client
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: Client for MariaDB
Group: Productivity/Databases/Clients
Requires: %{name}-errormessages = %{version}
# Explicit requires to pull in charsets for errormessages
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Requires: libmariadb3 >= 3.0
Requires(pre): pwdutils
Conflicts: otherproviders(mysql-client)
Provides: mysql-client = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Obsoletes: mysql-client < %{version}
Provides: %{extra_provides}-client = %{version}
Obsoletes: %{extra_provides}-client < %{version}
%description client
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
This package contains the standard clients for MariaDB.
%package galera
Summary: The configuration files and scripts for galera replication
Group: Productivity/Databases/Tools
Requires: %{name} = %{version}
# galera-3 is not in openSUSE:Factory now
#Requires: galera-3 >= 25.3.18
Requires: lsof
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
Requires: iproute2
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Requires: rsync
Requires: socat
Requires: xtrabackup
# We need Conflicts here as galera_new_cluster (and use_galera_new_cluster.conf)
# and galera_recovery scripts were in mariadb package but now they are in galera
# subpackage
Conflicts: mariadb <= 10.1.25
# wsrep_* scripts were in mariadb-tools subpackage but now they are in galera subpackage
Conflicts: mariadb-tools <= 10.1.25
%description galera
This package contains configuration files and scripts that are
needed for running MariaDB Galera Cluster.
%package errormessages
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: The error messages files required by server, client and libmysqld
Group: System/Localization
BuildArch: noarch
# Old libmysqld18 requires an exact version of errormessages. This causes problem
# during the update ("libmysqld18-10.1.25-3.1.x86_64 requires mariadb-errormessages
# = 10.1.25, but this requirement cannot be provided").
# Add the following Provides that solves this update issue.
Provides: mariadb-errormessages = 10.1.25
%description errormessages
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
This package provides translated error messages for the standalone
server daemon, embedded server and client.
%package bench
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: Benchmarks for MariaDB
Group: Productivity/Databases/Tools
Requires: %{name}-client
Requires: perl-DBD-mysql
Conflicts: otherproviders(mysql-bench)
Provides: mysql-bench = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Obsoletes: mysql-bench < %{version}
Provides: %{extra_provides}-bench = %{version}
Obsoletes: %{extra_provides}-bench < %{version}
%description bench
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
This package contains benchmark scripts and data for MariaDB.
To run these database benchmarks, start the script "run-all-tests" in
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
the directory %{_datadir}/sql-bench after starting MariaDB.
%package test
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: Testsuite for MariaDB
Group: Productivity/Databases/Servers
Requires: %{name} = %{version}
Requires: %{name}-bench = %{version}
Requires: %{name}-client = %{version}
Requires: %{name}-tools = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Requires: perl-DBD-mysql
Requires: procps
Requires: time
# Tests requires time and ps and some perl modules
Requires: perl(Data::Dumper)
Requires: perl(Env)
Requires: perl(Exporter)
Requires: perl(Fcntl)
Requires: perl(File::Temp)
Requires: perl(Getopt::Long)
Requires: perl(IPC::Open3)
Requires: perl(Socket)
Requires: perl(Sys::Hostname)
Requires: perl(Test::More)
Requires: perl(Time::HiRes)
Conflicts: otherproviders(mysql-test)
Provides: mysql-test = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Obsoletes: mysql-test < %{version}
Provides: %{extra_provides}-test = %{version}
Obsoletes: %{extra_provides}-test < %{version}
%description test
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
This package contains the test scripts and data for MariaDB.
To run the testsuite, run %{_datadir}/mysql-test/suse-test-run.
%package tools
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Summary: MariaDB tools
Group: Productivity/Databases/Servers
Requires: perl-DBD-mysql
Conflicts: otherproviders(mysql-tools)
# make sure this package is installed when updating from 10.2 and older
Provides: mysql-client:%{_bindir}/perror
Provides: mysql:%{_bindir}/mysqlhotcopy
Provides: mysql-tools = %{version}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Obsoletes: mysql-tools < %{version}
Provides: %{extra_provides}-tools = %{version}
Obsoletes: %{extra_provides}-tools < %{version}
%description tools
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
A set of scripts for administering a MariaDB or developing
applications with MariaDB.
%prep
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
cp %{_sourcedir}/suse-test-run .
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Remove unneeded manpages ('make install' basically installs everything under
# man/*)
rm -f man/mysqlman.1 # dummy fallback manpage
[ \! -f man/CMakeLists.txt ] || sed -i 's|mysqlman.1||' man/CMakeLists.txt
rm -f man/mysql.server.1 # init script, not installed in our rpm
[ \! -f man/CMakeLists.txt ] || sed -i 's|mysql.server.1||' man/CMakeLists.txt
rm -f man/make_win_*.1 # windows build scripts
rm -f man/comp_err.1 # built-time utility
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Breaks VPATH builds when in sourcedir, is generated in the builddirs
rm -f sql/sql_builtin.cc
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
sed -i 's|@localstatedir@|%{_localstatedir}/log|' support-files/mysql-log-rotate.sh
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Broken test that needs sources
rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Specify perl path on shebangs
for i in `grep -Rl '^#!@PERL@$' .`; do
sed -i 's|@PERL@|%{_bindir}/perl|' $i
done
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Add our list of tests that fail (correctly or temporarily) to the list of such
# tests created by upstream
cat %{SOURCE50} | tee -a mysql-test/unstable-tests
# Remove python scripts remains from tokudb upstream (those files are not used anyway)
rm -r storage/tokudb/mysql-test/tokudb/t/*.py
%build
EXTRA_FLAGS="-Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter"
# Mariadb devs seems to fall in love with -Werror option
EXTRA_FLAGS="${EXTRA_FLAGS} -Wno-error"
export CFLAGS="%{optflags} -DOPENSSL_LOAD_CONF -DPIC -fPIC -DFORCE_INIT_OF_VARS $EXTRA_FLAGS"
export CXXFLAGS="$CFLAGS -felide-constructors"
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%cmake -DWITH_SSL=system \
-DWITH_LIBWRAP=ON \
-DENABLED_PROFILING=ON \
-DENABLE_DEBUG_SYNC=OFF \
-DWITH_PIC=ON \
-DWITH_ZLIB=system \
-DWITH_LIBEVENT=system \
-DWITH_JEMALLOC=system \
-DWITH_READLINE=0 \
-DWITH_LIBEDIT=0 \
-DWITH_EDITLINE=system \
-DINSTALL_LAYOUT=RPM \
-DWITH_SYSTEMD=ON \
-DWITH_LZ4=system \
-DMYSQL_UNIX_ADDR="%{_localstatedir}/run/mysql/mysql.sock" \
-DINSTALL_UNIX_ADDRDIR="%{_localstatedir}/run/mysql/mysql.sock" \
-DINSTALL_MYSQLSHAREDIR=share/%{name} \
-DWITH_COMMENT="openSUSE mariadb rpm" \
-DWITH_EXTRA_CHARSET=all \
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_general_ci \
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
%if 0%{with_oqgraph} < 1
-DWITHOUT_OQGRAPH=ON \
%endif
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%if 0%{with_tokudb} < 1
-DWITHOUT_TOKUDB=ON \
%endif
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%if 0%{with_mroonga} < 1
-DWITHOUT_MROONGA=ON \
%endif
-DWITH_XTRADB_STORAGE_ENGINE=1 \
-DWITH_CSV_STORAGE_ENGINE=1 \
-DWITH_HANDLERSOCKET_STORAGE_ENGINE=1 \
-DWITH_INNODB_MEMCACHED=ON \
-DWITH_EMBEDDED_SERVER=true \
-DWITH_WSREP=ON \
-DWITH_INNODB_DISALLOW_WRITES=1 \
-DWITH_LIBARCHIVE=ON \
-DWITH_MARIABACKUP=ON \
-DCOMPILATION_COMMENT="openSUSE package" \
-DDENABLE_DOWNLOADS=false \
-DINSTALL_PLUGINDIR_RPM="%{_lib}/mysql/plugin" \
-DINSTALL_LIBDIR_RPM="%{_lib}" \
-DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
-DCMAKE_C_FLAGS_RELWITHDEBINFO="$CFLAGS" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$CXXFLAGS" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DINSTALL_SQLBENCHDIR=share \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
-Wno-dev "$@" ..
make %{?_smp_mflags}
nm --numeric-sort sql/mysqld > sql/mysqld.sym
%install
# Helper function to generate filelist for binaries and their manpages
filelist()
{
echo '%%defattr(-, root, root)'
pushd %{buildroot} >/dev/null
for i; do
if test -e usr/sbin/"$i"; then
echo %{_sbindir}/"$i"
fi
if test -e usr/bin/"$i"; then
echo %{_bindir}/"$i"
fi
if test -d usr/share/*/"$i"; then
echo "/`echo usr/share/*/"$i"`"
fi
if test -n "`ls -1 %{buildroot}$i 2> /dev/null`"; then
echo "$i"
fi
if ls usr/share/man/*/"$i".[1-9]* >/dev/null 2>&1; then
echo "%{_mandir}/*/$i.[1-9]*"
fi
done
popd >/dev/null
}
# Install the package itself
%cmake_install benchdir_root=%{_datadir}/
# Logrotate file should be named as the package
if [ ! -e %{buildroot}%{_sysconfdir}/logrotate.d/mysql ]; then
# some versions do not install it automatically
install -D -m 644 build/support-files/mysql-log-rotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
fi
mv %{buildroot}%{_sysconfdir}/logrotate.d/mysql %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
# Create log directory with the expected perms of mysql
install -d -m 700 %{buildroot}%{_localstatedir}/log/mysql/
# Symbols from build to go into libdir
install -m 644 build/sql/mysqld.sym %{buildroot}%{_libdir}/mysql/mysqld.sym
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# INFO_SRC binary
install -p -m 644 build/Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
# Remove most static libs (FIXME: don't build them at all...)
[ \! -f "%{buildroot}%{_libdir}/"libmysqld.a ] || mv "%{buildroot}%{_libdir}/"libmysqld.a "%{buildroot}%{_libdir}/"libmysqld.static
rm -f %{buildroot}%{_libdir}/*.a
[ \! -f "%{buildroot}%{_libdir}/"libmysqld.static ] || mv "%{buildroot}%{_libdir}/"libmysqld.static "%{buildroot}%{_libdir}/"libmysqld.a
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
# Remove unused stuff
rm -f %{buildroot}%{_datadir}/mysql/{errmsg-utf8.txt,mysql-log-rotate}
rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
# binary-configure creates the MySQL system tables and starts the server (not used)
rm -f %{buildroot}%{_datadir}/mysql/binary-configure
# FS files first-bytes recoginiton (not updated by upstream since nobody realy use that)
rm -f %{buildroot}%{_datadir}/mysql/magic
# Upstream ships them because of MDEV-10797 (we don't need them as we use our own systemd scripts)
rm -f %{buildroot}%{_datadir}/mysql/mysql.server
rm -f %{buildroot}%{_datadir}/mysql/mysqld_multi.server
# The old fork of mytop utility (we ship it as a separate package)
rm -f %{buildroot}%{_bindir}/mytop
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Remove *.jar files from mysql-test
rm -r %{buildroot}%{_datadir}/mysql-test/plugin/connect/connect/std_data/JdbcMariaDB.jar
rm -r %{buildroot}%{_datadir}/mysql-test/plugin/connect/connect/std_data/Mongo2.jar
rm -r %{buildroot}%{_datadir}/mysql-test/plugin/connect/connect/std_data/Mongo3.jar
# Remove unused upstream services
Accepting request 437454 from home:kstreitova:branches:server:database - update to 10.1.18 * Release notes: https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10116-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10115-release-notes/ * Changelog: https://mariadb.com/kb/en/mariadb/mariadb-10118-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10117-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10116-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10115-changelog/ * fixed CVE's: CVE-2016-8283, CVE-2016-6663, CVE-2016-5629, CVE-2016-5626, CVE-2016-5624, CVE-2016-5616, CVE-2016-3492, CVE-2016-6662, CVE-2016-5440, CVE-2016-3615, CVE-2016-3521, CVE-2016-3477 * fix: [bsc#1005582], [bsc#1001367], [bsc#1005569], [bsc#1005566], [bsc#1005564], [bsc#1005562], [bsc#1005555], [bnc#998309], [bsc#989926], [bsc#989922], [bsc#989919], [bsc#989913] * refresh mariadb-10.1.4-group.patch * refresh mariadb-10.1.12-fortify-and-O.patch - requires devel packages for aio and lzo2 - remove mariadb-10.0.21-mysql-test_main_bootstrap.patch that is no longer needed [bnc#984858] - append "--ignore-db-dir=lost+found" to the mysqld options in "mysql-systemd-helper" script if "lost+found" directory is found in $datadir [bnc#986251] - remove syslog.target from *.service files [bsc#983938] - add BuildRequires: systemd-devel - make some dependecies switchable OBS-URL: https://build.opensuse.org/request/show/437454 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=184
2016-10-27 10:56:24 +02:00
rm -f %{buildroot}'%{_unitdir}/mariadb.service'
rm -f %{buildroot}'%{_unitdir}/mariadb@.service'
rm -f %{buildroot}'%{_unitdir}/mariadb@bootstrap.service.d/use_galera_new_cluster.conf'
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
# Remove systemd-sysusers conf file for creating of mysql user (we do it in the specfile)
rm -f %{buildroot}%{_sysusersdir}/sysusers.conf
# Remove debug management for keys Mariadb 101+
rm -f %{buildroot}%{_libdir}/mysql/plugin/debug_key_management.so
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Remove client libraries that are now provided in mariadb-connector-c
# Client library and links
rm %{buildroot}%{_libdir}/libmariadb*.so.*
unlink %{buildroot}%{_libdir}/libmysqlclient.so
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
unlink %{buildroot}%{_libdir}/libmariadb.so
# Client plugins
rm %{buildroot}%{_libdir}/mysql/plugin/{auth_gssapi_client.so,dialog.so,mysql_clear_password.so,sha256_password.so}
# Devel files
rm %{buildroot}%{_bindir}/mysql_config
rm %{buildroot}%{_bindir}/mariadb_config
rm %{buildroot}%{_datadir}/pkgconfig/mariadb.pc
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
rm %{buildroot}%{_mandir}/man1/mysql_config*.1*
rm -r %{buildroot}%{_includedir}/mysql
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
# mysql-test includes my_safe_process executable that should be moved to /usr/bin
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
# Rename the wsrep README so it corresponds with the other README names
cp Docs/README-wsrep Docs/README.wsrep
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Generate various filelists (binaries and manpages)
# mariadb.files
filelist mariabackup mbstream innochecksum mariadb-service-convert my_print_defaults myisam_ftdump myisamchk myisamlog myisampack mysql_fix_extensions mysql_install_db mysql_secure_installation mysql_upgrade mysqld mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump {m,}aria_pack {m,}aria_read_log tokuft_logprint tokuft_logdump tokuftdump mysql_ldb sst_dump >mariadb.files
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# mariadb-client.files
filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysql_config_editor mysqld_safe_helper >mariadb-client.files
# Mysql has configuration file in _bindir
if [ -f scripts/mysqlaccess.conf ] ; then
install -m 640 scripts/mysqlaccess.conf %{buildroot}%{_sysconfdir}/mysqlaccess.conf
rm -f %{buildroot}%{_bindir}/mysqlaccess.conf
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
echo '%config(noreplace) %attr(0640, root, mysql) %{_sysconfdir}/mysqlaccess.conf' >> mariadb-client.files
fi
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# mariadb-galera.files
filelist galera_new_cluster galera_recovery wsrep_sst_common wsrep_sst_mariabackup wsrep_sst_mysqldump wsrep_sst_rsync wsrep_sst_xtrabackup-v2 wsrep_sst_xtrabackup >mariadb-galera.files
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# mariadb-bench.files
filelist mysqlslap >mariadb-bench.files
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# mariadb-test.files
filelist mysql_client_test mysql_client_test_embedded mysql_waitpid mysqltest mysqltest_embedded >mariadb-test.files
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# mariadb-tools.files
filelist msql2mysql mysql_plugin mysql_convert_table_format mysql_find_rows mysql_setpermission mysql_tzinfo_to_sql mysqlaccess mysqlhotcopy perror replace mysql_embedded >mariadb-tools.files
# All configuration files
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
echo '%{_datadir}/mysql/*.cnf' >> mariadb.files
# Special errormessages approach
echo '%%defattr(-, root, root)' > %{_builddir}/errormessages.files
pushd %{buildroot} >/dev/null
for f in usr/share/%{name}/*; do
if test -e $f/errmsg.sys; then
echo "%%dir /$f" >> %{_builddir}/errormessages.files
fi
done
echo %{_datadir}/%{name}/errmsg-utf8.txt >> %{_builddir}/errormessages.files
popd >/dev/null
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
mv %{_builddir}/errormessages.files mariadb-errormessages.files
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Files not installed by make install
# Some of the documentation we need to have installed
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
DOCS=(COPYING README.md EXCEPTIONS-CLIENT %{_sourcedir}/README.debug plugin/daemon_example/daemon_example.ini)
DOCDIR=%{buildroot}%{_defaultdocdir}/%{name}
install -d -m 755 ${DOCDIR}
for i in "${DOCS[@]}"; do
install -m 644 "${i}" "${DOCDIR}" || true
done
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Install default configuration file
install -m 664 %{SOURCE14} %{buildroot}%{_sysconfdir}/my.cnf
# Systemd/initscript
install -D -m 755 %{_sourcedir}/mysql-systemd-helper '%{buildroot}'%{_libexecdir}/mysql/mysql-systemd-helper
sed -i 's|@MYSQLVER@|%{version}|' '%{buildroot}'%{_libexecdir}/mysql/mysql-systemd-helper
ln -sf service '%{buildroot}'%{_sbindir}/rcmysql
rm -rf '%{buildroot}'%{_sysconfdir}/init.d
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
install -D -m 644 %{_sourcedir}/mariadb.service '%{buildroot}'%{_unitdir}/mariadb.service
install -D -m 644 %{_sourcedir}/mariadb@.service '%{buildroot}'%{_unitdir}/mariadb@.service
install -D -m 644 %{_sourcedir}/mariadb.target '%{buildroot}'%{_unitdir}/mariadb.target
# Aliases for the backward compatibility. Create symlinks from the alias to the existing one
# We can't use 'Alias=' option only because it's effective only when the unit is enabled
ln -sf %{_unitdir}/mariadb.service %{buildroot}%{_unitdir}/mysql.service
ln -sf %{_unitdir}/mariadb@.service %{buildroot}%{_unitdir}/mysql@.service
# Rename systemd-tmpfiles conf file because each systemd-tmpfiles file shall be named in the style of package.conf or package-part.conf
mv %{buildroot}%{_tmpfilesdir}/tmpfiles.conf %{buildroot}%{_tmpfilesdir}/mariadb.conf
# Tmpfiles file to exclude mysql tempfiles that are auto-cleaned up
# bnc#852451
mkdir -p %{buildroot}%{_tmpfilesdir}
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
cat >> %{buildroot}%{_tmpfilesdir}/mariadb.conf <<EOF
x %{_localstatedir}/tmp/mysql.*
EOF
# SuSEfirewall service description
install -D -m 644 %{_sourcedir}/mysql.SuSEfirewall2 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/mysql
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Testsuite
install -d -m 755 '%{buildroot}'%{_datadir}/mysql-test/
install -m 755 suse-test-run '%{buildroot}'%{_datadir}/mysql-test/
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
mkdir '%{buildroot}'%{_datadir}/mysql-test%{_localstatedir}
# Install the list of skipped tests to be available for user runs
install -p -m 0644 mysql-test/unstable-tests %{buildroot}%{_datadir}/mysql-test
ln -s unstable-tests %{buildroot}%{_datadir}/mysql-test/suse_skipped_tests.list
# Final fixes
find '%{buildroot}'%{_datadir}/mysql-test -name '*.orig' -delete
%fdupes -s '%{buildroot}'%{_datadir}/mysql-test
fdupes -q -n -r '%{buildroot}'%{_datadir}/mysql-test
for i in `grep -Rl '\r' '%{buildroot}'%{_datadir}/sql-bench`; do
dos2unix "$i"
done
# Compat with old scripts
ln -s mysqlcheck '%{buildroot}'%{_bindir}/mysqlrepair
ln -s mysqlcheck '%{buildroot}'%{_bindir}/mysqlanalyze
ln -s mysqlcheck '%{buildroot}'%{_bindir}/mysqloptimize
# Use our configuration stuff instead of upstream one
rm -rf '%{buildroot}'%{_sysconfdir}/my.cnf.d
install -d -m 755 '%{buildroot}'%{_sysconfdir}/my.cnf.d
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Install galera config file and script
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
install -p -m 644 build/support-files/wsrep.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/50-galera.cnf
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
install -p -m 755 build/scripts/galera_new_cluster %{buildroot}%{_bindir}/galera_new_cluster
# Documentation that was copied to wrong folder
rm -f '%{buildroot}'%{_datadir}/doc/* 2> /dev/null || true
# Unwanted packaged stuff
rm -rf '%{buildroot}'%{_datadir}/mysql/{solaris,SELinux}
# Create the directory specified in 'secure-file-priv' option
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
mkdir -p '%{buildroot}'%{_localstatedir}/lib/mysql-files
%check
cd build
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Run an extensive mysql test suite
# If 0%{ignore_testsuite_result} == 1 then run all tests but ignore failures
# If 0%{ignore_testsuite_result} == 0 then skip tests listed in unstable-tests
# (contains suse_skipped_tests.list) and don't ignore failures
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%if 0%{run_testsuite} > 0
cd mysql-test
./mysql-test-run.pl \
--parallel=%{?jobs:%{jobs}} \
--force \
--retry=0 \
--ssl \
--suite-timeout=720 \
--testcase-timeout=30 \
--mysqld=--binlog-format=mixed \
--force-restart \
--shutdown-timeout=60 \
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
--max-test-fail=0 \
%if 0%{ignore_testsuite_result} > 0
|| :
%else
--skip-test-list=unstable-tests
%endif
%endif
# client does not require server and needs the user too
%pre client
getent group mysql >/dev/null || groupadd -r mysql
getent passwd mysql >/dev/null || useradd -r -o -g mysql -u 60 -c "MySQL database admin" \
-s /bin/false -d %{_localstatedir}/lib/mysql mysql
# if mysql user is not in mysql group or if mysql user doesn't have '/bin/false' shell set, do so
id -Gn mysql | grep '\bmysql\b' &>/dev/null || usermod -g mysql mysql
getent passwd mysql | cut -d: -f7 | grep '\b/bin/false\b' &>/dev/null || usermod -s /bin/false mysql
exit 0
%pre
getent group mysql >/dev/null || groupadd -r mysql
getent passwd mysql >/dev/null || useradd -r -o -g mysql -u 60 -c "MySQL database admin" \
-s /bin/false -d %{_localstatedir}/lib/mysql mysql
# if mysql user is not in mysql group or if mysql user doesn't have '/bin/false' shell set, do so
id -Gn mysql | grep '\bmysql\b' &>/dev/null || usermod -g mysql mysql
getent passwd mysql | cut -d: -f7 | grep '\b/bin/false\b' &>/dev/null || usermod -s /bin/false mysql
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%service_add_pre mariadb.service
%post
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%service_add_post mariadb.service
%tmpfiles_create %{_tmpfilesdir}/mariadb.conf
# SLE11 Migration support
for i in protected tmp; do
rmdir "$datadir"/.$i 2>/dev/null || :
done
# During package rename (migration maria->mysql-community-server),
# there might be config file move and we get rpmsave that we should keep
if [ -f %{_sysconfdir}/my.cnf.rpmsave ]; then
mv %{_sysconfdir}/my.cnf{,.rpmnew}
mv %{_sysconfdir}/my.cnf{.rpmsave,}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
cat >> %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something << EOF
WARNING: %{_sysconfdir}/my.cnf.rpmsave file detected!
This probably means that you are migrating from different variant of MySQL.
Your configuration was left intact and you can see the new configuration in
%{_sysconfdir}/my.cnf.rpmnew
EOF
fi
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
# Warn on first run
datadir="`%{_bindir}/my_print_defaults mysqld mysql_server | sed -n 's|--datadir=||p'`"
[ -n "$datadir" ] || datadir="%{_localstatedir}/lib/mysql"
if [ -d "$datadir/mysql" ]; then
touch "$datadir/.run-mysql_upgrade"
fi
if [ \! -f "$datadir/mysql_upgrade_info" ]; then
if [ $1 -eq 1 ]; then
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
cat >> %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something << EOF
%(cat %{_sourcedir}/README.install)
EOF
fi
else
MYSQLVER="`echo %{version} | sed 's|\.[0-9]\+$||'`"
if [ -f "$datadir/mysql_upgrade_info" ] && \
[ -z "`grep "^$MYSQLVER" "$datadir/mysql_upgrade_info" 2> /dev/null`" ]; then
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
cat >> %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something << EOF
WARNING: You are upgrading from different stable version of MySQL!
Your database will be migrated automatically during next restart of MySQL.
Before you do that make sure you have up to date backup of your data. It
should be mainly in $datadir directory.
EOF
fi
fi
exit 0
%preun
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%service_del_preun mariadb.service
%postun
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%service_del_postun mariadb.service
%post -n libmysqld%{soname} -p /sbin/ldconfig
%postun -n libmysqld%{soname} -p /sbin/ldconfig
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files -f mariadb.files
%config(noreplace) %attr(0644, root, mysql) %{_sysconfdir}/my.cnf
%dir %attr(0755, root, mysql) %{_sysconfdir}/my.cnf.d
%config(noreplace) %attr(0644, root, mysql) %{_sysconfdir}/my.cnf.d/*
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%exclude %{_sysconfdir}/my.cnf.d/50-galera.cnf
%config %{_sysconfdir}/logrotate.d/%{name}
%doc %{_defaultdocdir}/%{name}
%dir %{_libexecdir}/mysql
%dir %attr(0700, mysql, mysql) %{_localstatedir}/log/mysql
%{_libexecdir}/mysql/mysql-systemd-helper
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%{_unitdir}/mariadb.service
%{_unitdir}/mariadb@.service
%{_unitdir}/mariadb.target
Accepting request 437454 from home:kstreitova:branches:server:database - update to 10.1.18 * Release notes: https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10116-release-notes/ https://mariadb.com/kb/en/mariadb/mariadb-10115-release-notes/ * Changelog: https://mariadb.com/kb/en/mariadb/mariadb-10118-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10117-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10116-changelog/ https://mariadb.com/kb/en/mariadb/mariadb-10115-changelog/ * fixed CVE's: CVE-2016-8283, CVE-2016-6663, CVE-2016-5629, CVE-2016-5626, CVE-2016-5624, CVE-2016-5616, CVE-2016-3492, CVE-2016-6662, CVE-2016-5440, CVE-2016-3615, CVE-2016-3521, CVE-2016-3477 * fix: [bsc#1005582], [bsc#1001367], [bsc#1005569], [bsc#1005566], [bsc#1005564], [bsc#1005562], [bsc#1005555], [bnc#998309], [bsc#989926], [bsc#989922], [bsc#989919], [bsc#989913] * refresh mariadb-10.1.4-group.patch * refresh mariadb-10.1.12-fortify-and-O.patch - requires devel packages for aio and lzo2 - remove mariadb-10.0.21-mysql-test_main_bootstrap.patch that is no longer needed [bnc#984858] - append "--ignore-db-dir=lost+found" to the mysqld options in "mysql-systemd-helper" script if "lost+found" directory is found in $datadir [bnc#986251] - remove syslog.target from *.service files [bsc#983938] - add BuildRequires: systemd-devel - make some dependecies switchable OBS-URL: https://build.opensuse.org/request/show/437454 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=184
2016-10-27 10:56:24 +02:00
%{_unitdir}/mysql.service
%{_unitdir}/mysql@.service
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%{_tmpfilesdir}/mariadb.conf
%{_sbindir}/rcmysql
%dir %{_datadir}/%{name}
%dir %{_datadir}/mysql
%{_datadir}/%{name}/charsets/
%{_datadir}/%{name}/*.sql
%dir %{_libdir}/mysql
%{_libdir}/mysql/mysqld.sym
%{_libdir}/mysql/INFO_SRC
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/mysql
%dir %{_libdir}/mysql/plugin
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%{_libdir}/mysql/plugin/*.so
%exclude %{_libdir}/mysql/plugin/dialog*.so
%ghost %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something
%dir %attr(0750, mysql, mysql) %{_localstatedir}/lib/mysql-files
%if 0%{with_mroonga} > 0
%{_datadir}/mariadb/mroonga/
%dir %{_datadir}/groonga/
%{_datadir}/groonga/COPYING
%{_datadir}/groonga/README.md
%dir %{_datadir}/groonga-normalizer-mysql
%{_datadir}/groonga-normalizer-mysql/README.md
%{_datadir}/groonga-normalizer-mysql/lgpl-2.0.txt
%endif
%dir %{_datadir}/mysql/policy
%dir %{_datadir}/mysql/policy/apparmor
%{_datadir}/mysql/policy/apparmor/README
%{_datadir}/mysql/policy/apparmor/usr.sbin.mysqld*
%dir %{_datadir}/mysql/policy/selinux
%{_datadir}/mysql/policy/selinux/README
%{_datadir}/mysql/policy/selinux/mariadb-server.*
%{_datadir}/mysql/policy/selinux/mariadb.te
%dir %{_datadir}/mysql/systemd
%{_datadir}/mysql/systemd/mariadb.service
%{_datadir}/mysql/systemd/mariadb@.service
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files -n libmysqld%{soname}
%{_libdir}/libmysqld.so.*
%files -n libmysqld-devel
%{_libdir}/libmysqld.a
%{_libdir}/libmysqld.so
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files client -f mariadb-client.files
%dir %{_libdir}/mysql
%dir %{_libdir}/mysql/plugin
%{_libdir}/mysql/plugin/dialog_examples.so
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files galera -f mariadb-galera.files
%doc Docs/README.wsrep
Accepting request 563119 from home:kstreitova:branches:server:database - update to 10.2.12 GA * release notes and changelog: https://mariadb.com/kb/en/library/mariadb-10212-release-notes/ https://mariadb.com/kb/en/library/mariadb-10212-changelog/ - remove mysql-community-server-5.5.6-safe-process-in-bin.patch becuase this moving is done in the specfile - get rid of the archive with patches (remove mysql-patches.tar.xz and series files), handle patches in the standard way - add comments to the section with removing unused files (based on https://lists.launchpad.net/maria-developers/msg11028.html) - put rm statements together - install the new upstream systemd-tmpfiles configuration file 'tmpfiles.conf' and rename it to 'mariadb.conf' in order to follow the manual - remove the new upstream systemd-sysusers configuration file as we handle creating of mysql user in the specfile - mysql.service: remove calling of the wait function and let systemd to do this job. Switch from 'Type=simple' to 'Type=notify' and add TimeoutSec=300 - rename unit files from mysql to mariadb and add mysql alias for the backward compatibility [bsc#1067443] * mysql.service -> mariadb.service * mysql.target -> mariadb.target * mysql@.service -> mariadb@.service - remove configuration-tweaks.tar.xz and move configuration to my.ini/my.cnf file (omit default_plugins.cnf as all configuration here was commented out) - add a numeric prefix for galera.cnf file in order to allow users to speficy in which order the configs will be loaded within the my.cnf.d directory [bsc#1055268] OBS-URL: https://build.opensuse.org/request/show/563119 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 19:28:29 +01:00
%config(noreplace) %{_sysconfdir}/my.cnf.d/50-galera.cnf
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%{_datadir}/mysql/systemd/use_galera_new_cluster.conf
%{_datadir}/mysql/wsrep_notify
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files errormessages -f mariadb-errormessages.files
%{_datadir}/%{name}/*/errmsg.sys
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files bench -f mariadb-bench.files
%{_datadir}/sql-bench
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files test -f mariadb-test.files
%{_bindir}/my_safe_process
%{_mandir}/man1/my_safe_process.1*
%{_mandir}/man1/mysql-test-run.pl.1*
%{_mandir}/man1/mysql-stress-test.pl.1*
%{_datadir}/mysql-test/valgrind.supp
%dir %attr(755, mysql, mysql)%{_datadir}/mysql-test
%{_datadir}/mysql-test/[^v]*
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%dir %attr(755, mysql, mysql) %{_datadir}/mysql-test%{_localstatedir}
Accepting request 539319 from home:kstreitova:branches:server:database - update to 10.2.10 GA * release notes and changelogs https://downloads.mariadb.org/mariadb/+releases/ * fixes for the following security vulnerabilities * 10.2.10: CVE-2017-10378, CVE-2017-10268 * 10.2.8: CVE-2017-3636, CVE-2017-3641, CVE-2017-3653, CVE-2017-10320, CVE-2017-10365, CVE-2017-10379, CVE-2017-10384, CVE-2017-10286, CVE-2017-3257 * 10.2.6: CVE-2017-3308, CVE-2017-3309, CVE-2017-3453, CVE-2017-3456, CVE-2017-3464 * 10.2.5: CVE-2017-3313, CVE-2017-3302 * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738] - refresh and rename the following patches: * mariadb-10.1.4-group.patch to mariadb-10.2.3-group.patch * mariadb-10.1.16-systemd-cmake.patch to mariadb-10.2.8-systemd-cmake.patch * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch * mariadb-10.1.12-fortify-and-O.patch to mariadb-10.2.4-fortify-and-O.patch * mysql-community-server-5.1.46-logrotate.patch to mariadb-10.2.4-logrotate.patch - add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files - start building without client library part, use mariadb-connector-c for getting libmariadb libraries. Remove libmysclient* packages - remove baselibs.conf because we no longer build client libraries here - update %{soname} to 19 (libmysqld soname) OBS-URL: https://build.opensuse.org/request/show/539319 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 16:24:06 +01:00
%files tools -f mariadb-tools.files
%{_bindir}/mysqlrepair
%{_bindir}/mysqlanalyze
%{_bindir}/mysqloptimize
%changelog