2024-06-06 21:06:28 +00:00
|
|
|
# Plain package name for cases, where %%{name} differs (e.g. for versioned packages)
|
2024-02-05 14:17:32 +00:00
|
|
|
%global majorname mariadb
|
2024-06-07 09:21:55 +00:00
|
|
|
%define package_version 10.11.8
|
2024-02-05 14:17:32 +00:00
|
|
|
%define majorversion %(echo %{package_version} | cut -d'.' -f1-2 )
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
# Set if this package will be the default one in distribution
|
|
|
|
%{!?mariadb_default:%global mariadb_default 1}
|
2014-07-24 08:00:33 +00:00
|
|
|
|
2014-11-27 14:30:37 +00:00
|
|
|
# Regression tests may take a long time (many cores recommended), skip them by
|
2024-02-02 16:14:35 +00:00
|
|
|
%{!?runselftest:%global runselftest 1}
|
2014-07-21 22:34:41 +00:00
|
|
|
|
2016-11-28 00:09:55 +00:00
|
|
|
# Set this to 1 to see which tests fail, but 0 on production ready build
|
2019-08-01 18:42:47 +00:00
|
|
|
%global ignore_testsuite_result 0
|
2015-03-04 21:07:10 +00:00
|
|
|
|
2019-01-18 23:57:35 +00:00
|
|
|
# The last version on which the full testsuite has been run
|
|
|
|
# In case of further rebuilds of that version, don't require full testsuite to be run
|
|
|
|
# run only "main" suite
|
2024-06-07 09:21:55 +00:00
|
|
|
%global last_tested_version 10.11.8
|
2019-01-18 23:57:35 +00:00
|
|
|
# Set to 1 to force run the testsuite even if it was already tested in current version
|
|
|
|
%global force_run_testsuite 0
|
|
|
|
|
2023-11-29 22:57:06 +00:00
|
|
|
# Filtering: https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/
|
|
|
|
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::|wsrep)
|
2024-02-05 14:17:32 +00:00
|
|
|
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/%{majorname}/plugin/.*\\.so)$
|
2023-11-29 22:57:06 +00:00
|
|
|
|
2023-09-20 10:20:30 +00:00
|
|
|
# Temporary workaround to fix the "internal compiler error" described in https://bugzilla.redhat.com/show_bug.cgi?id=2239498
|
|
|
|
# TODO: Remove when the issue is resolved
|
|
|
|
%ifarch i686
|
|
|
|
%global _lto_cflags %{nil}
|
|
|
|
%endif
|
|
|
|
|
2018-05-27 23:52:06 +00:00
|
|
|
|
|
|
|
|
2024-01-26 13:39:17 +00:00
|
|
|
# For some use cases we do not need some parts of the package. Set to "...with" to exclude
|
|
|
|
%bcond_with clibrary
|
|
|
|
%bcond_with config
|
|
|
|
%bcond_without embedded
|
|
|
|
%bcond_without devel
|
|
|
|
%bcond_without client
|
|
|
|
%bcond_without common
|
|
|
|
%bcond_without errmsg
|
|
|
|
%bcond_without galera
|
|
|
|
%bcond_without backup
|
|
|
|
%if !0%{?flatpak}
|
|
|
|
%bcond_without test
|
2020-08-03 03:24:49 +00:00
|
|
|
%endif
|
2014-11-27 14:30:37 +00:00
|
|
|
|
2024-06-10 10:48:38 +00:00
|
|
|
# Page compression algorithms for various storage engines
|
2024-01-26 13:39:17 +00:00
|
|
|
%bcond_without lz4
|
2024-06-10 10:48:38 +00:00
|
|
|
%bcond_without bzip2
|
|
|
|
%bcond_without lzo
|
|
|
|
%bcond_without snappy
|
|
|
|
%bcond_without zstd
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%bcond_without lzma
|
|
|
|
%else
|
|
|
|
%bcond_with lzma
|
|
|
|
%endif
|
2014-07-15 13:44:21 +00:00
|
|
|
|
2024-01-26 13:39:17 +00:00
|
|
|
# Aditional SELinux rules from a standalone package 'mysql-selinux' (that holds rules shared between MariaDB and MySQL)
|
|
|
|
%bcond_without require_mysql_selinux
|
|
|
|
|
|
|
|
# For deep debugging we need to build binaries with extra debug info
|
|
|
|
%bcond_with debug
|
|
|
|
|
2024-06-10 18:45:54 +00:00
|
|
|
# Authentication plugins
|
2024-01-26 13:39:17 +00:00
|
|
|
%bcond_without gssapi
|
2024-01-03 04:50:18 +00:00
|
|
|
%if !0%{?flatpak}
|
2021-03-17 04:16:47 +00:00
|
|
|
%bcond_without pam
|
2024-01-03 04:50:18 +00:00
|
|
|
%endif
|
2024-06-10 18:45:54 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
%bcond_without hashicorp
|
|
|
|
%else
|
|
|
|
%bcond_with hashicorp
|
|
|
|
%endif
|
2021-03-17 04:16:47 +00:00
|
|
|
|
2024-01-26 13:39:17 +00:00
|
|
|
# The Open Query GRAPH engine (OQGRAPH) is a computation engine allowing
|
|
|
|
# hierarchies and more complex graph structures to be handled in a relational fashion
|
|
|
|
%bcond_without oqgraph
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
# Other plugins
|
2021-02-10 06:42:31 +00:00
|
|
|
# S3 storage engine
|
|
|
|
# https://mariadb.com/kb/en/s3-storage-engine/
|
2018-05-01 20:45:29 +00:00
|
|
|
%if 0%{?fedora}
|
2018-05-27 23:52:06 +00:00
|
|
|
%bcond_without cracklib
|
|
|
|
%bcond_without connect
|
|
|
|
%bcond_without sphinx
|
2021-02-10 06:42:31 +00:00
|
|
|
%bcond_without s3
|
2018-05-27 23:52:06 +00:00
|
|
|
%else
|
|
|
|
%bcond_with cracklib
|
|
|
|
%bcond_with connect
|
|
|
|
%bcond_with sphinx
|
2021-02-10 06:42:31 +00:00
|
|
|
%bcond_with s3
|
2018-05-01 20:45:29 +00:00
|
|
|
%endif
|
2019-06-11 14:37:44 +00:00
|
|
|
|
2024-01-26 13:39:17 +00:00
|
|
|
# Mroonga engine
|
|
|
|
# https://mariadb.com/kb/en/mariadb/about-mroonga/
|
|
|
|
# Current version in MariaDB, 7.07, only supports the x86_64
|
|
|
|
# Mroonga upstream warns about using 32-bit package: http://mroonga.org/docs/install.html
|
|
|
|
# RocksDB engine
|
|
|
|
# https://mariadb.com/kb/en/library/about-myrocks-for-mariadb/
|
|
|
|
# RocksDB engine is available only for x86_64
|
|
|
|
# RocksDB may be built with jemalloc, if specified in CMake
|
|
|
|
%ifarch x86_64
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%bcond_without mroonga
|
|
|
|
%bcond_without rocksdb
|
|
|
|
%else
|
|
|
|
%bcond_with mroonga
|
|
|
|
%bcond_with rocksdb
|
|
|
|
%endif
|
2024-01-03 04:50:18 +00:00
|
|
|
%endif
|
2018-04-19 18:47:02 +00:00
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
|
|
|
|
|
2020-09-11 07:35:04 +00:00
|
|
|
# MariaDB 10.0 and later requires pcre >= 10.34, otherwise we need to use
|
2014-07-21 08:29:11 +00:00
|
|
|
# the bundled library, since the package cannot be build with older version
|
2020-06-08 08:08:19 +00:00
|
|
|
# https://mariadb.com/kb/en/pcre/
|
2023-11-29 12:57:15 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 8
|
2018-06-04 13:46:46 +00:00
|
|
|
%bcond_without unbundled_pcre
|
2014-07-21 08:29:11 +00:00
|
|
|
%else
|
2018-06-04 13:46:46 +00:00
|
|
|
%bcond_with unbundled_pcre
|
2023-06-01 10:12:30 +00:00
|
|
|
%global pcre_bundled_version 10.42
|
2014-07-21 08:29:11 +00:00
|
|
|
%endif
|
|
|
|
|
2024-06-06 21:00:57 +00:00
|
|
|
# To avoid issues with a breaking change in FMT library, bundle it on systems where FMT wasn't fixed yet
|
|
|
|
# See mariadb-libfmt.patch for detailed description.
|
|
|
|
%bcond bundled_fmt 0
|
|
|
|
%if %{with bundled_fmt}
|
|
|
|
%global fmt_bundled_version 8.0.1
|
|
|
|
%endif
|
|
|
|
|
2018-02-26 15:12:02 +00:00
|
|
|
# Include systemd files
|
2024-02-05 14:17:32 +00:00
|
|
|
%global daemon_name %{majorname}
|
|
|
|
%global daemon_no_prefix %{majorname}
|
2018-02-26 15:12:02 +00:00
|
|
|
|
2014-07-23 13:26:28 +00:00
|
|
|
# We define some system's well known locations here so we can use them easily
|
|
|
|
# later when building to another location (like SCL)
|
2023-11-29 13:26:49 +00:00
|
|
|
%global logrotateddir %{_sysconfdir}/logrotate.d
|
|
|
|
%global logfiledir %{_localstatedir}/log/%{daemon_name}
|
|
|
|
%global logfile %{logfiledir}/%{daemon_name}.log
|
2015-03-03 20:28:20 +00:00
|
|
|
# Directory for storing pid file
|
2023-11-29 13:26:49 +00:00
|
|
|
%global pidfiledir %{_rundir}/%{daemon_name}
|
2014-12-06 08:00:06 +00:00
|
|
|
# Defining where database data live
|
2023-11-29 13:26:49 +00:00
|
|
|
%global dbdatadir %{_localstatedir}/lib/mysql
|
2014-07-24 08:00:33 +00:00
|
|
|
|
2018-02-26 15:12:02 +00:00
|
|
|
|
2016-02-11 09:35:49 +00:00
|
|
|
|
2024-01-30 09:12:28 +00:00
|
|
|
# Set explicit conflicts with 'mysql' packages
|
|
|
|
%bcond_without conflicts_mysql
|
|
|
|
# Set explicit conflicts with 'community-mysql' names, provided by 'mysql' packages
|
|
|
|
# 'community-mysql' names are deprecated and to be removed in future Fedora
|
|
|
|
%bcond_without conflicts_community_mysql
|
2013-06-14 08:47:43 +00:00
|
|
|
|
2014-07-24 08:00:33 +00:00
|
|
|
# Make long macros shorter
|
2014-08-05 12:20:26 +00:00
|
|
|
%global sameevr %{epoch}:%{version}-%{release}
|
2014-07-24 08:00:33 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
Name: %{majorname}%{majorversion}
|
2024-01-31 18:48:36 +00:00
|
|
|
Version: %{package_version}
|
2024-06-10 21:07:24 +00:00
|
|
|
Release: 3%{?with_debug:.debug}%{?dist}
|
2016-07-14 19:15:23 +00:00
|
|
|
Epoch: 3
|
2014-07-18 13:44:47 +00:00
|
|
|
|
2018-10-22 13:37:32 +00:00
|
|
|
Summary: A very fast and robust SQL database server
|
2014-07-21 22:34:41 +00:00
|
|
|
URL: http://mariadb.org
|
2021-04-21 08:02:06 +00:00
|
|
|
License: GPLv2 and LGPLv2
|
2014-07-21 22:34:41 +00:00
|
|
|
|
2023-12-18 05:14:34 +00:00
|
|
|
Source0: https://downloads.mariadb.org/interstitial/mariadb-%{version}/source/mariadb-%{version}.tar.gz
|
2024-06-06 21:00:57 +00:00
|
|
|
%if %{with bundled_fmt}
|
|
|
|
Source1: https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip
|
|
|
|
%endif
|
2014-07-21 22:34:41 +00:00
|
|
|
Source2: mysql_config_multilib.sh
|
2014-07-25 07:00:44 +00:00
|
|
|
Source3: my.cnf.in
|
2021-04-21 08:30:46 +00:00
|
|
|
Source6: README.mariadb-docs
|
2024-06-09 06:43:07 +00:00
|
|
|
Source8: README.wsrep_sst_rsync_tunnel
|
2021-04-21 08:30:46 +00:00
|
|
|
Source10: mariadb.tmpfiles.d.in
|
2014-07-24 08:00:33 +00:00
|
|
|
Source11: mysql.service.in
|
2021-04-21 08:30:46 +00:00
|
|
|
Source12: mariadb-prepare-db-dir.sh
|
|
|
|
Source14: mariadb-check-socket.sh
|
|
|
|
Source15: mariadb-scripts-common.sh
|
|
|
|
Source16: mariadb-check-upgrade.sh
|
2016-02-11 10:58:28 +00:00
|
|
|
Source18: mysql@.service.in
|
2014-07-21 22:34:41 +00:00
|
|
|
Source50: rh-skipped-tests-base.list
|
2015-02-06 12:18:31 +00:00
|
|
|
Source51: rh-skipped-tests-arm.list
|
2017-08-07 16:03:29 +00:00
|
|
|
Source52: rh-skipped-tests-s390.list
|
|
|
|
Source53: rh-skipped-tests-ppc.list
|
2020-10-29 17:45:30 +00:00
|
|
|
# Red Hat OpenStack scripts:
|
|
|
|
# Clustercheck:
|
|
|
|
# Maintainer:
|
|
|
|
# Damien Ciabrini <dciabrin@redhat.com>
|
|
|
|
# Source / Upstream:
|
|
|
|
# Damien; based on https://github.com/olafz/percona-clustercheck
|
|
|
|
# not updated in 5 years; low-effort maintenance
|
|
|
|
# Purpose:
|
|
|
|
# In Openstack, galera is accessed like an A/P database, we have a
|
|
|
|
# load balancer (haproxy) that drives traffic to a single node and
|
|
|
|
# performs failover when the galera node monitor fails.
|
|
|
|
# clustercheck.sh is the monitoring script that is being called remotely
|
|
|
|
# by haproxy. It is a glue between haproxy and the local galera node that
|
|
|
|
# can run SQL commands to check whether the local galera is connected to the galera cluster.
|
|
|
|
# Proposed to MariaDB upstream: https://jira.mariadb.org/browse/MDEV-12442
|
|
|
|
# General upstream response was slightly positive
|
2016-03-22 14:30:08 +00:00
|
|
|
Source70: clustercheck.sh
|
|
|
|
Source71: LICENSE.clustercheck
|
2020-10-29 17:45:30 +00:00
|
|
|
|
2017-05-24 09:25:52 +00:00
|
|
|
# Upstream said: "Generally MariaDB has more allows to allow for xtradb sst mechanism".
|
|
|
|
# https://jira.mariadb.org/browse/MDEV-12646
|
2016-05-12 15:02:51 +00:00
|
|
|
Source72: mariadb-server-galera.te
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-06-09 06:43:07 +00:00
|
|
|
# Script to support encrypted rsync transfers when SST is required between nodes.
|
|
|
|
# https://github.com/dciabrin/wsrep_sst_rsync_tunnel/blob/master/wsrep_sst_rsync_tunnel
|
|
|
|
Source73: wsrep_sst_rsync_tunnel
|
|
|
|
|
2017-05-23 13:14:48 +00:00
|
|
|
# Patch4: Red Hat distributions specific logrotate fix
|
|
|
|
# it would be big unexpected change, if we start shipping it now. Better wait for MariaDB 10.2
|
2024-02-05 14:17:32 +00:00
|
|
|
Patch4: %{majorname}-logrotate.patch
|
2017-05-23 13:14:48 +00:00
|
|
|
# Patch7: add to the CMake file all files where we want macros to be expanded
|
2024-02-05 14:17:32 +00:00
|
|
|
Patch7: %{majorname}-scripts.patch
|
2017-05-23 13:14:48 +00:00
|
|
|
# Patch9: pre-configure to comply with guidelines
|
2024-02-05 14:17:32 +00:00
|
|
|
Patch9: %{majorname}-ownsetup.patch
|
2024-06-06 21:00:57 +00:00
|
|
|
# Patch12: fixes of RocksDB for GCC 13
|
2023-01-24 19:15:29 +00:00
|
|
|
Patch12: rocksdb-6.8-gcc13.patch
|
2024-06-06 21:00:57 +00:00
|
|
|
# Patch13: bundle the FMT library
|
|
|
|
Patch13: %{majorname}-libfmt.patch
|
2014-07-24 08:00:33 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
# This macro is used for package/sub-package names in the entire specfile
|
|
|
|
%if %?mariadb_default
|
2024-02-05 14:17:32 +00:00
|
|
|
%global pkgname %{majorname}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}
|
|
|
|
Summary: A very fast and robust SQL database server
|
|
|
|
%else
|
|
|
|
%global pkgname %{name}
|
|
|
|
%endif
|
|
|
|
|
2023-11-29 13:07:40 +00:00
|
|
|
BuildRequires: make cmake gcc-c++
|
2017-11-13 08:18:22 +00:00
|
|
|
BuildRequires: multilib-rpm-config
|
|
|
|
BuildRequires: selinux-policy-devel
|
2018-02-26 15:12:02 +00:00
|
|
|
BuildRequires: systemd systemd-devel
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2024-06-10 10:48:38 +00:00
|
|
|
# Page compression algorithms for various storage engines
|
2018-04-19 18:47:02 +00:00
|
|
|
BuildRequires: zlib-devel
|
2024-06-10 10:48:38 +00:00
|
|
|
%{?with_lz4:BuildRequires: lz4-devel >= 1.6}
|
|
|
|
%{?with_bzip2:BuildRequires: bzip2-devel}
|
|
|
|
%{?with_lzma:BuildRequires: lzma-sdk-devel}
|
|
|
|
%{?with_lzo:BuildRequires: lzo-devel}
|
|
|
|
%{?with_snappy:BuildRequires: snappy-devel}
|
|
|
|
%{?with_zstd:BuildRequires: libzstd-devel}
|
2018-04-19 18:47:02 +00:00
|
|
|
|
2018-10-08 11:08:59 +00:00
|
|
|
# asynchornous operations stuff; needed also for wsrep API
|
2014-07-21 22:34:41 +00:00
|
|
|
BuildRequires: libaio-devel
|
2017-11-13 08:18:22 +00:00
|
|
|
# commands history features
|
2016-02-11 10:40:18 +00:00
|
|
|
BuildRequires: libedit-devel
|
2018-10-08 11:08:59 +00:00
|
|
|
# CLI graphic; needed also for wsrep API
|
2014-07-21 22:34:41 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2017-11-13 08:18:22 +00:00
|
|
|
# debugging stuff
|
2014-07-21 22:34:41 +00:00
|
|
|
BuildRequires: systemtap-sdt-devel
|
2018-10-08 11:08:59 +00:00
|
|
|
# Bison SQL parser; needed also for wsrep API
|
2024-06-10 17:18:19 +00:00
|
|
|
BuildRequires: bison >= 2.4
|
|
|
|
BuildRequires: bison-devel >= 2.4
|
2017-07-11 20:20:21 +00:00
|
|
|
|
2019-06-11 14:37:44 +00:00
|
|
|
%{?with_debug:BuildRequires: valgrind-devel}
|
|
|
|
|
2020-09-11 07:35:04 +00:00
|
|
|
# use either new enough version of pcre2 or provide bundles(pcre2)
|
|
|
|
%{?with_unbundled_pcre:BuildRequires: pcre2-devel >= 10.34 pkgconf}
|
|
|
|
%{!?with_unbundled_pcre:Provides: bundled(pcre2) = %{pcre_bundled_version}}
|
2017-01-24 09:59:46 +00:00
|
|
|
# Few utilities needs Perl
|
2017-07-12 13:17:26 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2017-01-24 09:59:46 +00:00
|
|
|
BuildRequires: perl-generators
|
2017-10-07 22:18:33 +00:00
|
|
|
# Some tests requires python
|
|
|
|
BuildRequires: python3
|
2014-07-21 22:34:41 +00:00
|
|
|
# Tests requires time and ps and some perl modules
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: time
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(English)
|
2014-07-21 22:34:41 +00:00
|
|
|
BuildRequires: perl(Env)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(Errno)
|
2014-07-24 08:00:33 +00:00
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Fcntl)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
2014-07-24 08:00:33 +00:00
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Select)
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
BuildRequires: perl(IO::Socket::INET)
|
2014-07-24 08:00:33 +00:00
|
|
|
BuildRequires: perl(IPC::Open3)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(lib)
|
2015-08-11 11:44:14 +00:00
|
|
|
BuildRequires: perl(Memoize)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(POSIX)
|
2014-07-21 22:34:41 +00:00
|
|
|
BuildRequires: perl(Socket)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Symbol)
|
2014-07-24 08:00:33 +00:00
|
|
|
BuildRequires: perl(Sys::Hostname)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(Term::ANSIColor)
|
2014-07-21 22:34:41 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
2020-03-27 07:37:56 +00:00
|
|
|
BuildRequires: perl(Time::localtime)
|
|
|
|
BuildRequires: perl(warnings)
|
2016-11-24 09:08:22 +00:00
|
|
|
# for running some openssl tests rhbz#1189180
|
2017-02-15 16:04:36 +00:00
|
|
|
BuildRequires: openssl openssl-devel
|
2016-11-24 09:08:22 +00:00
|
|
|
|
2024-06-06 21:00:57 +00:00
|
|
|
%{!?with_bundled_fmt:BuildRequires: fmt-devel >= 10.2.1-4}
|
2023-07-04 09:39:01 +00:00
|
|
|
|
2017-05-30 12:33:52 +00:00
|
|
|
Requires: bash coreutils grep
|
2014-07-21 22:34:41 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
2017-09-20 12:25:36 +00:00
|
|
|
|
|
|
|
%if %{with clibrary}
|
2017-01-24 09:59:46 +00:00
|
|
|
# Explicit EVR requirement for -libs is needed for RHBZ#1406320
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-libs%{?_isa} = %{sameevr}
|
2017-09-20 12:25:36 +00:00
|
|
|
%else
|
|
|
|
# If not built with client library in this package, use connector-c
|
|
|
|
Requires: mariadb-connector-c >= 3.0
|
|
|
|
%endif
|
2017-01-03 12:21:04 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
Suggests: %{pkgname}-server%{?_isa} = %{sameevr}
|
2016-11-15 11:05:47 +00:00
|
|
|
|
2024-01-30 09:12:28 +00:00
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql}
|
|
|
|
# Explicitly disallow combination mariadb + mysql-server
|
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-server}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-server}
|
2014-07-17 13:11:00 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%define conflict_with_other_streams() %{expand:\
|
2024-02-05 14:17:32 +00:00
|
|
|
Provides: %{majorname}%{?1:-%{1}}-any\
|
|
|
|
Conflicts: %{majorname}%{?1:-%{1}}-any\
|
2024-01-31 18:48:36 +00:00
|
|
|
}
|
|
|
|
|
2024-02-01 22:24:38 +00:00
|
|
|
# Provide also mariadbXX.XX if default
|
|
|
|
%if %?mariadb_default
|
|
|
|
%define mariadbXX_if_default() %{expand:\
|
2024-02-05 14:17:32 +00:00
|
|
|
Provides: mariadb%{majorversion}%{?1:-%{1}} = %{sameevr}\
|
|
|
|
Provides: mariadb%{majorversion}%{?1:-%{1}}%{?_isa} = %{sameevr}\
|
2024-02-01 22:24:38 +00:00
|
|
|
}
|
|
|
|
%else
|
|
|
|
%define mariadbXX_if_default() %{nil}
|
|
|
|
%endif
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%define virtual_conflicts_and_provides() %{expand:\
|
2024-01-31 18:48:36 +00:00
|
|
|
%conflict_with_other_streams %{**}\
|
2024-02-01 22:24:38 +00:00
|
|
|
%mariadbXX_if_default %{**}\
|
2024-01-31 18:48:36 +00:00
|
|
|
}
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides
|
2024-01-31 18:48:36 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%description
|
2021-04-22 23:13:10 +00:00
|
|
|
MariaDB is a community developed fork from MySQL - a multi-user, multi-threaded
|
2018-09-05 03:52:52 +00:00
|
|
|
SQL database server. It is a client/server implementation consisting of
|
2021-04-22 23:13:10 +00:00
|
|
|
a server daemon (mariadbd) and many different client programs and libraries.
|
2018-09-05 03:52:52 +00:00
|
|
|
The base package contains the standard MariaDB/MySQL client programs and
|
2021-04-22 23:13:10 +00:00
|
|
|
utilities.
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}
|
|
|
|
MariaDB is a community developed fork from MySQL - a multi-user, multi-threaded
|
|
|
|
SQL database server. It is a client/server implementation consisting of
|
|
|
|
a server daemon (mariadbd) and many different client programs and libraries.
|
|
|
|
The base package contains the standard MariaDB/MySQL client programs and
|
|
|
|
utilities.
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with clibrary}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-libs
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: The shared libraries required for MariaDB/MySQL clients
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides libs
|
2024-01-30 09:12:28 +00:00
|
|
|
|
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-libs}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-libs}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-libs
|
2014-07-17 13:11:00 +00:00
|
|
|
The mariadb-libs package provides the essential shared libraries for any
|
2013-01-10 17:35:12 +00:00
|
|
|
MariaDB/MySQL client program or interface. You will need to install this
|
|
|
|
package to use any other MariaDB package or any clients that need to connect
|
2017-11-13 08:18:22 +00:00
|
|
|
to a MariaDB/MySQL server.
|
2019-06-11 14:37:44 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-07-24 08:00:33 +00:00
|
|
|
|
2017-02-01 11:42:38 +00:00
|
|
|
# At least main config file /etc/my.cnf is shared for client and server part
|
|
|
|
# Since we want to support combination of different client and server
|
|
|
|
# implementations (e.g. mariadb library and community-mysql server),
|
|
|
|
# we need the config file(s) to be in a separate package, so no extra packages
|
|
|
|
# are pulled, because these would likely conflict.
|
|
|
|
# More specifically, the dependency on the main configuration file (/etc/my.cnf)
|
|
|
|
# is supposed to be defined as Requires: /etc/my.cnf rather than requiring
|
|
|
|
# a specific package, so installer app can choose whatever package fits to
|
|
|
|
# the transaction.
|
2014-08-13 14:07:48 +00:00
|
|
|
%if %{with config}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-config
|
2014-08-13 14:07:48 +00:00
|
|
|
Summary: The config files required by server and client
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides config
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-config
|
2014-08-13 14:07:48 +00:00
|
|
|
The package provides the config file my.cnf and my.cnf.d directory used by any
|
|
|
|
MariaDB or MySQL program. You will need to install this package to use any
|
|
|
|
other MariaDB or MySQL package if the config files are not provided in the
|
|
|
|
package itself.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2014-08-14 13:14:58 +00:00
|
|
|
%if %{with common}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-common
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: The shared files required by server and client
|
2023-11-29 16:49:14 +00:00
|
|
|
BuildArch: noarch
|
2024-04-09 03:18:44 +00:00
|
|
|
%if 0%{?flatpak}
|
|
|
|
Requires: mariadb-connector-c-config
|
|
|
|
%else
|
2024-04-17 00:01:06 +00:00
|
|
|
Requires: %{_sysconfdir}/my.cnf
|
2024-04-09 03:18:44 +00:00
|
|
|
%endif
|
2014-07-17 13:11:00 +00:00
|
|
|
|
2024-02-05 07:35:43 +00:00
|
|
|
# Only conflicts, provides would add %%{_isa} provides for noarch,
|
|
|
|
# which is not wanted
|
|
|
|
%conflict_with_other_streams common
|
2016-02-11 09:35:49 +00:00
|
|
|
|
2017-09-26 11:21:24 +00:00
|
|
|
%if %{without clibrary}
|
2024-01-31 18:48:36 +00:00
|
|
|
Obsoletes: %{pkgname}-libs <= %{sameevr}
|
2017-09-26 11:21:24 +00:00
|
|
|
%endif
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-common
|
2014-07-17 13:11:00 +00:00
|
|
|
The package provides the essential shared files for any MariaDB program.
|
|
|
|
You will need to install this package to use any other MariaDB package.
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2014-07-17 13:11:00 +00:00
|
|
|
|
2014-07-21 08:20:20 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with errmsg}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-errmsg
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: The error messages files required by server and embedded
|
2023-11-29 16:49:14 +00:00
|
|
|
BuildArch: noarch
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
2014-07-21 08:20:20 +00:00
|
|
|
|
2024-02-05 07:35:43 +00:00
|
|
|
# Only conflicts, provides would add %%{_isa} provides for noarch,
|
|
|
|
# which is not wanted
|
|
|
|
%conflict_with_other_streams errmsg
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-errmsg
|
2014-07-21 08:20:20 +00:00
|
|
|
The package provides error messages files for the MariaDB daemon and the
|
|
|
|
embedded server. You will need to install this package to use any of those
|
|
|
|
MariaDB packages.
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2014-07-21 08:20:20 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2016-03-22 14:30:08 +00:00
|
|
|
%if %{with galera}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-server-galera
|
2016-03-22 14:30:08 +00:00
|
|
|
Summary: The configuration files and scripts for galera replication
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2020-01-17 09:09:06 +00:00
|
|
|
Requires: galera >= 26.4.3
|
2023-09-18 10:27:10 +00:00
|
|
|
BuildRequires: selinux-policy-devel
|
|
|
|
Requires(post): (libselinux-utils if selinux-policy-targeted)
|
|
|
|
Requires(post): (policycoreutils if selinux-policy-targeted)
|
|
|
|
Requires(post): (policycoreutils-python-utils if selinux-policy-targeted)
|
2017-11-13 08:18:22 +00:00
|
|
|
# wsrep requirements
|
|
|
|
Requires: lsof
|
2018-10-08 11:08:59 +00:00
|
|
|
# Default wsrep_sst_method
|
2017-11-13 08:18:22 +00:00
|
|
|
Requires: rsync
|
2016-03-22 14:30:08 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides server-galera
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-server-galera
|
2016-03-22 14:30:08 +00:00
|
|
|
MariaDB is a multi-user, multi-threaded SQL database server. It is a
|
2021-04-22 23:13:10 +00:00
|
|
|
client/server implementation consisting of a server daemon (mariadbd)
|
2016-03-22 14:30:08 +00:00
|
|
|
and many different client programs and libraries. This package contains
|
2021-04-22 23:13:10 +00:00
|
|
|
added files to allow MariaDB server to operate as a Galera cluster
|
|
|
|
member. MariaDB is a community developed fork originally from MySQL.
|
2016-03-22 14:30:08 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-server
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: The MariaDB server and related files
|
|
|
|
|
2024-02-05 20:09:33 +00:00
|
|
|
Requires: %{pkgname}%{?_isa} = %{sameevr}
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
|
|
|
Requires: %{pkgname}-errmsg = %{sameevr}
|
|
|
|
Recommends: %{pkgname}-server-utils%{?_isa} = %{sameevr}
|
|
|
|
Recommends: %{pkgname}-backup%{?_isa} = %{sameevr}
|
|
|
|
%{?with_cracklib:Recommends: %{pkgname}-cracklib-password-check%{?_isa} = %{sameevr}}
|
|
|
|
%{?with_gssapi:Recommends: %{pkgname}-gssapi-server%{?_isa} = %{sameevr}}
|
|
|
|
%{?with_rocksdb:Suggests: %{pkgname}-rocksdb-engine%{?_isa} = %{sameevr}}
|
|
|
|
%{?with_sphinx:Suggests: %{pkgname}-sphinx-engine%{?_isa} = %{sameevr}}
|
|
|
|
%{?with_oqgraph:Suggests: %{pkgname}-oqgraph-engine%{?_isa} = %{sameevr}}
|
|
|
|
%{?with_connect:Suggests: %{pkgname}-connect-engine%{?_isa} = %{sameevr}}
|
|
|
|
%{?with_pam:Suggests: %{pkgname}-pam%{?_isa} = %{sameevr}}
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2024-06-06 21:00:57 +00:00
|
|
|
%{?with_bundled_fmt:Provides: bundled(fmt) = %{fmt_bundled_version}}
|
|
|
|
|
2017-12-09 17:57:49 +00:00
|
|
|
Suggests: mytop
|
2018-06-27 14:01:22 +00:00
|
|
|
Suggests: logrotate
|
2017-12-09 17:57:49 +00:00
|
|
|
|
2024-04-17 00:01:06 +00:00
|
|
|
%if 0%{?flatpak}
|
|
|
|
Requires: mariadb-connector-c-config
|
|
|
|
%else
|
2014-07-23 14:37:14 +00:00
|
|
|
Requires: %{_sysconfdir}/my.cnf
|
|
|
|
Requires: %{_sysconfdir}/my.cnf.d
|
2024-04-17 00:01:06 +00:00
|
|
|
%endif
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides server
|
2024-01-31 18:48:36 +00:00
|
|
|
|
2021-04-22 23:13:10 +00:00
|
|
|
# Additional SELinux rules (common for MariaDB & MySQL) shipped in a separate package
|
2019-01-16 11:48:02 +00:00
|
|
|
# For cases, where we want to fix a SELinux issues in MariaDB sooner than patched selinux-policy-targeted package is released
|
2023-11-29 13:36:57 +00:00
|
|
|
%if %{with require_mysql_selinux}
|
2023-09-18 10:28:43 +00:00
|
|
|
# The *-selinux package should only be required on SELinux enabled systems. Therefore the following rich dependency syntax should be used:
|
2024-06-09 05:36:14 +00:00
|
|
|
Requires: (mysql-selinux >= 1.0.10 if selinux-policy-targeted)
|
2023-09-18 10:28:43 +00:00
|
|
|
# This ensures that the *-selinux package and all its dependencies are not pulled into containers and other systems that do not use SELinux.
|
|
|
|
# https://fedoraproject.org/wiki/SELinux/IndependentPolicy#Adding_dependency_to_the_spec_file_of_corresponding_package
|
2019-01-16 11:48:02 +00:00
|
|
|
%endif
|
2019-01-06 02:16:37 +00:00
|
|
|
|
2017-05-23 13:14:48 +00:00
|
|
|
Requires: coreutils
|
2014-07-21 22:34:41 +00:00
|
|
|
Requires(pre): /usr/sbin/useradd
|
2013-07-19 12:37:02 +00:00
|
|
|
# We require this to be present for %%{_tmpfilesdir}
|
2014-07-21 22:34:41 +00:00
|
|
|
Requires: systemd
|
2013-01-10 17:35:12 +00:00
|
|
|
# Make sure it's there when scriptlets run, too
|
2018-02-26 15:12:02 +00:00
|
|
|
%{?systemd_requires}
|
2017-10-04 19:30:08 +00:00
|
|
|
# RHBZ#1496131; use 'iproute' instead of 'net-tools'
|
|
|
|
Requires: iproute
|
2024-01-30 09:12:28 +00:00
|
|
|
|
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-server}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-server}
|
|
|
|
# Explicitly disallow combination mariadb-server + mysql
|
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-server
|
2013-01-10 17:35:12 +00:00
|
|
|
MariaDB is a multi-user, multi-threaded SQL database server. It is a
|
2021-04-22 23:13:10 +00:00
|
|
|
client/server implementation consisting of a server daemon (mariadbd)
|
2013-01-10 17:35:12 +00:00
|
|
|
and many different client programs and libraries. This package contains
|
|
|
|
the MariaDB server and some accompanying files and directories.
|
2021-04-22 23:13:10 +00:00
|
|
|
MariaDB is a community developed fork from MySQL.
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-07-21 22:34:41 +00:00
|
|
|
|
2014-07-21 13:01:30 +00:00
|
|
|
%if %{with oqgraph}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-oqgraph-engine
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: The Open Query GRAPH engine for MariaDB
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2014-07-21 13:01:30 +00:00
|
|
|
# boost and Judy required for oograph
|
2024-06-10 17:18:19 +00:00
|
|
|
BuildRequires: boost-devel >= 1.40.0
|
|
|
|
BuildRequires: Judy-devel
|
2014-07-21 13:01:30 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides oqgraph-engine
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-oqgraph-engine
|
2014-07-21 13:01:30 +00:00
|
|
|
The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB
|
|
|
|
database server. OQGRAPH is a computation engine allowing hierarchies and more
|
|
|
|
complex graph structures to be handled in a relational fashion. In a nutshell,
|
|
|
|
tree structures and friend-of-a-friend style searches can now be done using
|
|
|
|
standard SQL syntax, and results joined onto other tables.
|
|
|
|
%endif
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-09-24 13:53:15 +00:00
|
|
|
%if %{with connect}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-connect-engine
|
2014-09-24 13:53:15 +00:00
|
|
|
Summary: The CONNECT storage engine for MariaDB
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2014-09-24 13:53:15 +00:00
|
|
|
|
2020-01-10 03:24:50 +00:00
|
|
|
# As per https://jira.mariadb.org/browse/MDEV-21450
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides connect-engine
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-connect-engine
|
2014-09-24 13:53:15 +00:00
|
|
|
The CONNECT storage engine enables MariaDB to access external local or
|
|
|
|
remote data (MED). This is done by defining tables based on different data
|
|
|
|
types, in particular files in various formats, data extracted from other DBMS
|
|
|
|
or products (such as Excel), or data retrieved from the environment
|
|
|
|
(for example DIR, WMI, and MAC tables).
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with backup}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-backup
|
2017-11-13 08:18:22 +00:00
|
|
|
Summary: The mariabackup tool for physical online backups
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2017-11-13 08:18:22 +00:00
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides backup
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-backup
|
2017-11-13 08:18:22 +00:00
|
|
|
MariaDB Backup is an open source tool provided by MariaDB for performing
|
|
|
|
physical online backups of InnoDB, Aria and MyISAM tables.
|
|
|
|
For InnoDB, "hot online" backups are possible.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with rocksdb}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-rocksdb-engine
|
2017-11-13 08:18:22 +00:00
|
|
|
Summary: The RocksDB storage engine for MariaDB
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2018-06-14 13:39:00 +00:00
|
|
|
Provides: bundled(rocksdb)
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides rocksdb-engine
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-rocksdb-engine
|
2017-11-13 08:18:22 +00:00
|
|
|
The RocksDB storage engine is used for high performance servers on SSD drives.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with cracklib}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-cracklib-password-check
|
2017-11-13 08:18:22 +00:00
|
|
|
Summary: The password strength checking plugin
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2017-11-13 08:18:22 +00:00
|
|
|
BuildRequires: cracklib-dicts cracklib-devel
|
|
|
|
Requires: cracklib-dicts
|
|
|
|
|
2023-09-05 12:23:07 +00:00
|
|
|
BuildRequires: selinux-policy-devel
|
|
|
|
Requires(post): (libselinux-utils if selinux-policy-targeted)
|
|
|
|
Requires(post): (policycoreutils if selinux-policy-targeted)
|
|
|
|
Requires(post): (policycoreutils-python-utils if selinux-policy-targeted)
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides cracklib-password-check
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-cracklib-password-check
|
2017-11-13 08:18:22 +00:00
|
|
|
CrackLib is a password strength checking library. It is installed by default
|
|
|
|
in many Linux distributions and is invoked automatically (by pam_cracklib.so)
|
|
|
|
whenever the user login password is modified.
|
|
|
|
Now, with the cracklib_password_check password validation plugin, one can
|
|
|
|
also use it to check MariaDB account passwords.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with gssapi}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-gssapi-server
|
2017-11-13 08:18:22 +00:00
|
|
|
Summary: GSSAPI authentication plugin for server
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2017-11-13 08:18:22 +00:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides gssapi-server
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-gssapi-server
|
2017-11-13 08:18:22 +00:00
|
|
|
GSSAPI authentication server-side plugin for MariaDB for passwordless login.
|
|
|
|
This plugin includes support for Kerberos on Unix.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2021-03-17 04:16:47 +00:00
|
|
|
%if %{with pam}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-pam
|
2021-03-17 04:16:47 +00:00
|
|
|
Summary: PAM authentication plugin for the MariaDB server
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2021-05-11 19:17:01 +00:00
|
|
|
# This subpackage NEED the 'mysql' user/group (created during mariadb-server %%pre) to be available prior installation
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires(pre): %{pkgname}-server%{?_isa} = %{sameevr}
|
2021-03-17 04:16:47 +00:00
|
|
|
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides pam
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-pam
|
2021-03-17 04:16:47 +00:00
|
|
|
PAM authentication server-side plugin for MariaDB.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with sphinx}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-sphinx-engine
|
2017-11-13 08:18:22 +00:00
|
|
|
Summary: The Sphinx storage engine for MariaDB
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2017-11-13 08:18:22 +00:00
|
|
|
BuildRequires: sphinx libsphinxclient libsphinxclient-devel
|
|
|
|
Requires: sphinx libsphinxclient
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides sphinx-engine
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-sphinx-engine
|
2017-11-13 08:18:22 +00:00
|
|
|
The Sphinx storage engine for MariaDB.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2021-02-10 06:42:31 +00:00
|
|
|
%if %{with s3}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-s3-engine
|
2021-02-10 06:42:31 +00:00
|
|
|
Summary: The S3 storage engine for MariaDB
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2021-02-10 06:42:31 +00:00
|
|
|
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides s3-engine
|
2024-01-31 18:48:36 +00:00
|
|
|
|
|
|
|
%description -n %{pkgname}-s3-engine
|
2021-02-10 06:42:31 +00:00
|
|
|
The S3 read only storage engine allows archiving MariaDB tables in Amazon S3,
|
|
|
|
or any third-party public or private cloud that implements S3 API,
|
|
|
|
but still have them accessible for reading in MariaDB.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-server-utils
|
2017-01-24 09:59:46 +00:00
|
|
|
Summary: Non-essential server utilities for MariaDB/MySQL applications
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2017-01-24 09:59:46 +00:00
|
|
|
# mysqlhotcopy needs DBI/DBD support
|
2021-02-12 05:47:53 +00:00
|
|
|
Requires: perl(DBI) perl(DBD::MariaDB)
|
2017-01-24 09:59:46 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides server-utils
|
2024-01-31 18:48:36 +00:00
|
|
|
|
2024-01-30 09:12:28 +00:00
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-server}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-server}
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-server-utils
|
2017-10-07 22:35:13 +00:00
|
|
|
This package contains all non-essential server utilities and scripts for
|
|
|
|
managing databases. It also contains all utilities requiring Perl and it is
|
2017-11-03 02:41:33 +00:00
|
|
|
the only MariaDB sub-package, except test subpackage, that depends on Perl.
|
2017-01-24 09:59:46 +00:00
|
|
|
|
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with devel}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-devel
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: Files for development of MariaDB/MySQL applications
|
2024-01-31 18:48:36 +00:00
|
|
|
%{?with_clibrary:Requires: %{pkgname}-libs%{?_isa} = %{sameevr}}
|
2018-08-22 15:05:39 +00:00
|
|
|
Requires: openssl-devel
|
2017-10-05 12:33:14 +00:00
|
|
|
%if %{without clibrary}
|
2017-09-21 09:57:06 +00:00
|
|
|
Requires: mariadb-connector-c-devel >= 3.0
|
2017-10-05 12:33:14 +00:00
|
|
|
%endif
|
2024-01-30 09:12:28 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides devel
|
2024-01-31 18:48:36 +00:00
|
|
|
|
2024-01-30 09:12:28 +00:00
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-devel}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-devel}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-devel
|
2017-11-13 08:18:22 +00:00
|
|
|
MariaDB is a multi-user, multi-threaded SQL database server.
|
2013-01-10 17:35:12 +00:00
|
|
|
MariaDB is a community developed branch of MySQL.
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with clibrary}
|
|
|
|
This package contains everything needed for developing MariaDB/MySQL client
|
2021-04-22 23:13:10 +00:00
|
|
|
and server plugins and applications.
|
2017-11-13 08:18:22 +00:00
|
|
|
%else
|
|
|
|
This package contains everything needed for developing MariaDB/MySQL server
|
2021-04-22 23:13:10 +00:00
|
|
|
plugins and applications. For developing client applications, use
|
|
|
|
mariadb-connector-c package.
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with embedded}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-embedded
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: MariaDB as an embeddable library
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
|
|
|
Requires: %{pkgname}-errmsg = %{sameevr}
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides embedded
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-embedded
|
2013-01-10 17:35:12 +00:00
|
|
|
MariaDB is a multi-user, multi-threaded SQL database server. This
|
|
|
|
package contains a version of the MariaDB server that can be embedded
|
|
|
|
into a client application instead of running as a separate process.
|
2021-04-22 23:13:10 +00:00
|
|
|
MariaDB is a community developed fork from MySQL.
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-embedded-devel
|
2014-07-21 22:34:41 +00:00
|
|
|
Summary: Development files for MariaDB as an embeddable library
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}-embedded%{?_isa} = %{sameevr}
|
|
|
|
Requires: %{pkgname}-devel%{?_isa} = %{sameevr}
|
2016-02-12 11:45:58 +00:00
|
|
|
# embedded-devel should require libaio-devel (rhbz#1290517)
|
|
|
|
Requires: libaio-devel
|
2024-01-30 09:12:28 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides embedded-devel
|
2024-01-31 18:48:36 +00:00
|
|
|
|
2024-01-30 09:12:28 +00:00
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-embedded-devel}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-embedded-devel}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-embedded-devel
|
2017-11-13 08:18:22 +00:00
|
|
|
MariaDB is a multi-user, multi-threaded SQL database server.
|
2021-04-22 23:13:10 +00:00
|
|
|
MariaDB is a community developed fork from MySQL.
|
2017-11-13 08:18:22 +00:00
|
|
|
This package contains files needed for developing and testing with
|
|
|
|
the embedded version of the MariaDB server.
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with test}
|
2024-01-31 18:48:36 +00:00
|
|
|
%package -n %{pkgname}-test
|
2016-11-24 09:08:22 +00:00
|
|
|
Summary: The test suite distributed with MariaDB
|
2024-01-31 18:48:36 +00:00
|
|
|
Requires: %{pkgname}%{?_isa} = %{sameevr}
|
|
|
|
Requires: %{pkgname}-common = %{sameevr}
|
|
|
|
Requires: %{pkgname}-server%{?_isa} = %{sameevr}
|
2021-02-11 04:54:59 +00:00
|
|
|
Requires: patch
|
2014-07-21 22:34:41 +00:00
|
|
|
Requires: perl(Env)
|
2014-07-24 08:00:33 +00:00
|
|
|
Requires: perl(Exporter)
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
Requires: perl(File::Temp)
|
2014-07-21 22:34:41 +00:00
|
|
|
Requires: perl(Data::Dumper)
|
2014-07-24 08:00:33 +00:00
|
|
|
Requires: perl(Getopt::Long)
|
|
|
|
Requires: perl(IPC::Open3)
|
2014-07-21 22:34:41 +00:00
|
|
|
Requires: perl(Socket)
|
2014-07-24 08:00:33 +00:00
|
|
|
Requires: perl(Sys::Hostname)
|
2014-07-21 22:34:41 +00:00
|
|
|
Requires: perl(Test::More)
|
|
|
|
Requires: perl(Time::HiRes)
|
2024-01-30 09:12:28 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%virtual_conflicts_and_provides test
|
2024-01-31 18:48:36 +00:00
|
|
|
|
2024-01-30 09:12:28 +00:00
|
|
|
%{?with_conflicts_mysql:Conflicts: mysql-test}
|
|
|
|
%{?with_conflicts_community_mysql:Conflicts: community-mysql-test}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%description -n %{pkgname}-test
|
2017-11-13 08:18:22 +00:00
|
|
|
MariaDB is a multi-user, multi-threaded SQL database server.
|
2021-04-22 23:13:10 +00:00
|
|
|
MariaDB is a community developed fork from MySQL.
|
2017-11-13 08:18:22 +00:00
|
|
|
This package contains the regression test suite distributed with the MariaDB
|
|
|
|
sources.
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2017-02-15 16:04:36 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%prep
|
2024-02-05 14:17:32 +00:00
|
|
|
%setup -q -n %{majorname}-%{version}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-06-10 17:19:02 +00:00
|
|
|
# Remove bundled code that is unused (all cases in which we use the system version of the library instead)
|
|
|
|
# as required by https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
|
|
|
|
rm -r zlib
|
|
|
|
rm -r win libmariadb/win
|
|
|
|
rm -r extra/wolfssl
|
|
|
|
rm -r storage/columnstore
|
|
|
|
|
2024-06-06 21:00:57 +00:00
|
|
|
%if %{with bundled_fmt}
|
|
|
|
mkdir -p redhat-linux-build/extra/libfmt/
|
|
|
|
mv %{SOURCE1} redhat-linux-build/extra/libfmt/
|
|
|
|
%endif
|
|
|
|
|
2018-06-20 13:11:56 +00:00
|
|
|
# Remove JAR files that upstream puts into tarball
|
2017-11-23 21:15:32 +00:00
|
|
|
find . -name "*.jar" -type f -exec rm --verbose -f {} \;
|
2020-06-08 08:08:19 +00:00
|
|
|
# Remove testsuite for the mariadb-connector-c
|
2020-03-16 03:58:29 +00:00
|
|
|
rm -rf libmariadb/unittest
|
2020-06-08 08:08:19 +00:00
|
|
|
%if %{without rocksdb}
|
|
|
|
rm -r storage/rocksdb/
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2023-04-29 00:02:41 +00:00
|
|
|
%patch -P4 -p1
|
|
|
|
%patch -P7 -p1
|
|
|
|
%patch -P9 -p1
|
2023-01-24 19:15:29 +00:00
|
|
|
%if %{with rocksdb}
|
2023-04-29 00:02:41 +00:00
|
|
|
%patch -P12 -p1 -d storage/rocksdb/rocksdb/
|
2023-01-24 19:15:29 +00:00
|
|
|
%endif
|
2024-06-06 21:00:57 +00:00
|
|
|
%if %{with bundled_fmt}
|
|
|
|
%patch -P13 -p1
|
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
# generate a list of tests that fail, but are not disabled by upstream
|
2017-05-23 13:14:48 +00:00
|
|
|
cat %{SOURCE50} | tee -a mysql-test/unstable-tests
|
2014-06-23 17:03:30 +00:00
|
|
|
|
|
|
|
# disable some tests failing on different architectures
|
2014-01-10 08:40:00 +00:00
|
|
|
%ifarch %{arm} aarch64
|
2017-05-23 13:14:48 +00:00
|
|
|
cat %{SOURCE51} | tee -a mysql-test/unstable-tests
|
2013-01-10 17:35:12 +00:00
|
|
|
%endif
|
2014-06-02 16:25:47 +00:00
|
|
|
|
2017-08-07 16:03:29 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
cat %{SOURCE52} | tee -a mysql-test/unstable-tests
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ppc ppc64 ppc64p7 ppc64le
|
|
|
|
cat %{SOURCE53} | tee -a mysql-test/unstable-tests
|
2014-10-13 18:42:51 +00:00
|
|
|
%endif
|
|
|
|
|
2018-02-26 15:12:02 +00:00
|
|
|
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
2024-06-09 06:43:07 +00:00
|
|
|
%{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE18} %{SOURCE70} %{SOURCE73} scripts
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2016-05-12 15:02:51 +00:00
|
|
|
%if %{with galera}
|
|
|
|
# prepare selinux policy
|
|
|
|
mkdir selinux
|
2024-02-05 14:17:32 +00:00
|
|
|
sed 's/mariadb-server-galera/%{majorname}-server-galera/' %{SOURCE72} > selinux/%{majorname}-server-galera.te
|
2016-05-12 15:02:51 +00:00
|
|
|
%endif
|
|
|
|
|
2017-11-03 02:41:33 +00:00
|
|
|
|
|
|
|
# Get version of PCRE, that upstream use
|
2023-06-01 10:12:30 +00:00
|
|
|
pcre_version=`grep -e "https://github.com/PCRE2Project/pcre2/releases/download" cmake/pcre.cmake | sed -r "s;.*pcre2-([[:digit:]]+\.[[:digit:]]+).*;\1;" `
|
2016-11-24 09:08:22 +00:00
|
|
|
|
2017-11-03 02:41:33 +00:00
|
|
|
# Check if the PCRE version in macro 'pcre_bundled_version', used in Provides: bundled(...), is the same version as upstream actually bundles
|
2020-09-11 07:35:04 +00:00
|
|
|
%if %{without unbundled_pcre}
|
|
|
|
if [ %{pcre_bundled_version} != "$pcre_version" ] ; then
|
2022-01-13 11:47:27 +00:00
|
|
|
echo -e "\n Error: Bundled PCRE version is not correct. \n\tBundled version number: %{pcre_bundled_version} \n\tUpstream version number: $pcre_version\n"
|
2016-11-24 09:08:22 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
2017-11-03 02:41:33 +00:00
|
|
|
%else
|
|
|
|
# Check if the PCRE version that upstream use, is the same as the one present in system
|
2024-01-03 04:50:18 +00:00
|
|
|
pcre_system_version=`pkgconf /usr/%{_lib}/pkgconfig/libpcre2-*.pc --modversion 2>/dev/null | head -n 1`
|
2020-09-11 07:35:04 +00:00
|
|
|
|
|
|
|
if [ "$pcre_system_version" != "$pcre_version" ] ; then
|
2022-01-13 11:47:27 +00:00
|
|
|
echo -e "\n Warning: Error: Bundled PCRE version is not correct. \n\tSystem version number: $pcre_system_version \n\tUpstream version number: $pcre_version\n"
|
2017-11-03 02:41:33 +00:00
|
|
|
fi
|
2019-06-11 14:37:44 +00:00
|
|
|
%endif
|
2017-11-03 02:41:33 +00:00
|
|
|
|
2016-11-24 09:08:22 +00:00
|
|
|
|
2017-11-03 02:41:33 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%build
|
|
|
|
# fail quickly and obviously if user tries to build as root
|
|
|
|
%if %runselftest
|
2014-07-21 22:34:41 +00:00
|
|
|
if [ x"$(id -u)" = "x0" ]; then
|
|
|
|
echo "mysql's regression tests fail if run as root."
|
|
|
|
echo "If you really need to build the RPM as root, use"
|
|
|
|
echo "--nocheck to skip the regression tests."
|
|
|
|
exit 1
|
|
|
|
fi
|
2013-01-10 17:35:12 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
|
|
|
|
# so we can't use %%{_datadir} and so forth here.
|
2022-04-28 12:14:56 +00:00
|
|
|
%cmake \
|
2014-09-04 13:37:20 +00:00
|
|
|
-DBUILD_CONFIG=mysql_release \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DFEATURE_SET="community" \
|
|
|
|
-DINSTALL_LAYOUT=RPM \
|
2014-07-23 13:26:28 +00:00
|
|
|
-DDAEMON_NAME="%{daemon_name}" \
|
2015-03-03 20:28:20 +00:00
|
|
|
-DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
|
2014-07-25 07:00:44 +00:00
|
|
|
-DLOG_LOCATION="%{logfile}" \
|
2015-03-03 20:28:20 +00:00
|
|
|
-DPID_FILE_DIR="%{pidfiledir}" \
|
2014-07-24 08:00:33 +00:00
|
|
|
-DNICE_PROJECT_NAME="MariaDB" \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora%{fedora}}" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
2014-07-28 17:24:01 +00:00
|
|
|
-DINSTALL_SYSCONFDIR="%{_sysconfdir}" \
|
|
|
|
-DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
|
2024-02-05 14:17:32 +00:00
|
|
|
-DINSTALL_DOCDIR="share/doc/%{majorname}" \
|
|
|
|
-DINSTALL_DOCREADMEDIR="share/doc/%{majorname}" \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DINSTALL_INCLUDEDIR=include/mysql \
|
|
|
|
-DINSTALL_INFODIR=share/info \
|
2017-11-03 02:41:33 +00:00
|
|
|
-DINSTALL_LIBDIR="%{_lib}" \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DINSTALL_MANDIR=share/man \
|
2024-02-05 14:17:32 +00:00
|
|
|
-DINSTALL_MYSQLSHAREDIR=share/%{majorname} \
|
2018-02-18 19:12:10 +00:00
|
|
|
-DINSTALL_MYSQLTESTDIR=%{?with_test:share/mysql-test}%{!?with_test:} \
|
2024-02-05 14:17:32 +00:00
|
|
|
-DINSTALL_PLUGINDIR="%{_lib}/%{majorname}/plugin" \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DINSTALL_SBINDIR=libexec \
|
|
|
|
-DINSTALL_SCRIPTDIR=bin \
|
2024-02-05 14:17:32 +00:00
|
|
|
-DINSTALL_SUPPORTFILESDIR=share/%{majorname} \
|
2014-12-06 08:00:06 +00:00
|
|
|
-DMYSQL_DATADIR="%{dbdatadir}" \
|
|
|
|
-DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
|
2017-11-13 08:18:22 +00:00
|
|
|
-DTMPDIR=/var/tmp \
|
2024-02-05 14:17:32 +00:00
|
|
|
-DGRN_DATA_DIR=share/%{majorname}-server/groonga \
|
|
|
|
-DGROONGA_NORMALIZER_MYSQL_PROJECT_NAME=%{majorname}-server/groonga-normalizer-mysql \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DENABLED_LOCAL_INFILE=ON \
|
2017-11-13 08:18:22 +00:00
|
|
|
-DENABLE_DTRACE=ON \
|
2022-02-07 13:02:25 +00:00
|
|
|
-DSECURITY_HARDENED=OFF \
|
2018-10-08 11:08:59 +00:00
|
|
|
-DWITH_WSREP=%{?with_galera:ON}%{!?with_galera:OFF} \
|
|
|
|
-DWITH_INNODB_DISALLOW_WRITES=%{?with_galera:ON}%{!?with_galera:OFF} \
|
2017-11-13 08:18:22 +00:00
|
|
|
-DWITH_EMBEDDED_SERVER=%{?with_embedded:ON}%{!?with_embedded:OFF} \
|
|
|
|
-DWITH_MARIABACKUP=%{?with_backup:ON}%{!?with_backup:NO} \
|
|
|
|
-DWITH_UNIT_TESTS=%{?with_test:ON}%{!?with_test:NO} \
|
|
|
|
-DCONC_WITH_SSL=%{?with_clibrary:ON}%{!?with_clibrary:NO} \
|
2014-07-21 22:34:41 +00:00
|
|
|
-DWITH_SSL=system \
|
|
|
|
-DWITH_ZLIB=system \
|
2024-06-06 21:00:57 +00:00
|
|
|
-DWITH_LIBFMT=%{?with_bundled_fmt:bundled}%{!?with_bundled_fmt:system} \
|
2024-06-10 10:48:38 +00:00
|
|
|
-DPLUGIN_PROVIDER_LZ4=%{?with_lz4:DYNAMIC}%{!?with_lz4:NO} \
|
2019-05-10 02:51:02 +00:00
|
|
|
-DWITH_ROCKSDB_LZ4=%{?with_lz4:ON}%{!?with_lz4:OFF} \
|
2024-06-10 10:48:38 +00:00
|
|
|
-DPLUGIN_PROVIDER_BZIP2=%{?with_bzip2:DYNAMIC}%{!?with_bzip2:NO} \
|
|
|
|
-DWITH_ROCKSDB_BZip2=%{?with_bzip2:ON}%{!?with_bzip2:OFF} \
|
|
|
|
-DPLUGIN_PROVIDER_LZMA=%{?with_lzma:DYNAMIC}%{!?with_lzma:NO} \
|
|
|
|
\
|
2017-11-13 08:18:22 +00:00
|
|
|
-DPLUGIN_MROONGA=%{?with_mroonga:DYNAMIC}%{!?with_mroonga:NO} \
|
|
|
|
-DPLUGIN_OQGRAPH=%{?with_oqgraph:DYNAMIC}%{!?with_oqgraph:NO} \
|
|
|
|
-DPLUGIN_CRACKLIB_PASSWORD_CHECK=%{?with_cracklib:DYNAMIC}%{!?with_cracklib:NO} \
|
|
|
|
-DPLUGIN_ROCKSDB=%{?with_rocksdb:DYNAMIC}%{!?with_rocksdb:NO} \
|
|
|
|
-DPLUGIN_SPHINX=%{?with_sphinx:DYNAMIC}%{!?with_sphinx:NO} \
|
|
|
|
-DPLUGIN_CONNECT=%{?with_connect:DYNAMIC}%{!?with_connect:NO} \
|
2021-02-10 06:42:31 +00:00
|
|
|
-DPLUGIN_S3=%{?with_s3:DYNAMIC}%{!?with_s3:NO} \
|
2022-01-13 18:56:33 +00:00
|
|
|
-DPLUGIN_AUTH_PAM=%{?with_pam:YES}%{!?with_pam:NO} \
|
|
|
|
-DPLUGIN_AUTH_PAM_V1=%{?with_pam:DYNAMIC}%{!?with_pam:NO} \
|
2021-05-14 14:17:49 +00:00
|
|
|
-DPLUGIN_COLUMNSTORE=NO \
|
2019-09-11 11:00:52 +00:00
|
|
|
-DPLUGIN_CLIENT_ED25519=OFF \
|
2019-01-09 08:56:03 +00:00
|
|
|
-DPLUGIN_CACHING_SHA2_PASSWORD=%{?with_clibrary:DYNAMIC}%{!?with_clibrary:OFF} \
|
2024-06-10 18:45:54 +00:00
|
|
|
-DPLUGIN_AWS_KEY_MANAGEMENT=OFF \
|
2017-11-23 21:15:32 +00:00
|
|
|
-DCONNECT_WITH_MONGO=OFF \
|
|
|
|
-DCONNECT_WITH_JDBC=OFF \
|
2024-06-10 18:45:54 +00:00
|
|
|
-DPLUGIN_HASHICORP_KEY_MANAGEMENT=%{?with_hashicorp:DYNAMIC}%{!?with_hashicorp:NO} \
|
2018-02-25 01:39:07 +00:00
|
|
|
%{?with_debug: -DCMAKE_BUILD_TYPE=Debug -DWITH_ASAN=OFF -DWITH_INNODB_EXTRA_DEBUG=ON -DWITH_VALGRIND=ON}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2022-02-07 13:02:25 +00:00
|
|
|
# The -DSECURITY_HARDENED is used to force a set of compilation flags for hardening
|
|
|
|
# The issue is that the MariaDB upstream level of hardening is lower than expected by Red Hat
|
|
|
|
# We disable this option to the default compilation flags (which have higher level of hardening) will be used
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2020-08-18 12:59:54 +00:00
|
|
|
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
|
|
|
# force PIC mode so that we can build libmysqld.so
|
|
|
|
CFLAGS="$CFLAGS -fPIC"
|
2017-05-24 09:25:52 +00:00
|
|
|
|
2020-08-18 12:59:54 +00:00
|
|
|
%if %{with debug}
|
|
|
|
# Override all optimization flags when making a debug build
|
|
|
|
# -D_FORTIFY_SOURCE requires optimizations enabled. Disable the fortify.
|
2023-03-24 15:51:58 +00:00
|
|
|
%undefine _fortify_level
|
2020-08-18 12:59:54 +00:00
|
|
|
CFLAGS=`echo "$CFLAGS" | sed -r 's/-O[0123]//'`
|
|
|
|
|
2023-03-24 15:51:58 +00:00
|
|
|
CFLAGS="$CFLAGS -O0 -g"
|
2020-08-18 12:59:54 +00:00
|
|
|
|
|
|
|
# Fixes for Fedora 32 & Rawhide (GCC 10.0):
|
|
|
|
%if 0%{?fedora} >= 32
|
|
|
|
CFLAGS="$CFLAGS -Wno-error=class-memaccess"
|
|
|
|
CFLAGS="$CFLAGS -Wno-error=enum-conversion"
|
2024-01-26 21:40:02 +00:00
|
|
|
# endif f32
|
|
|
|
%endif
|
|
|
|
# endif debug
|
|
|
|
%endif
|
2020-08-18 12:59:54 +00:00
|
|
|
|
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
CPPFLAGS="$CFLAGS"
|
|
|
|
export CFLAGS CXXFLAGS CPPFLAGS
|
|
|
|
|
|
|
|
|
|
|
|
# Print all Cmake options values; "-LAH" means "List Advanced Help"
|
|
|
|
cmake -B %{_vpath_builddir} -LAH
|
|
|
|
|
|
|
|
%cmake_build
|
2017-05-24 09:25:52 +00:00
|
|
|
|
2016-05-12 15:02:51 +00:00
|
|
|
# build selinux policy
|
|
|
|
%if %{with galera}
|
|
|
|
pushd selinux
|
2024-02-05 14:17:32 +00:00
|
|
|
make -f /usr/share/selinux/devel/Makefile %{majorname}-server-galera.pp
|
2016-05-12 15:02:51 +00:00
|
|
|
%endif
|
|
|
|
|
2020-08-18 12:59:54 +00:00
|
|
|
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%install
|
2020-08-18 12:59:54 +00:00
|
|
|
%cmake_install
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2018-09-04 15:18:09 +00:00
|
|
|
# multilib header support #1625157
|
|
|
|
for header in mysql/server/my_config.h mysql/server/private/config.h; do
|
|
|
|
%multilib_fix_c_header --file %{_includedir}/$header
|
|
|
|
done
|
2016-06-22 12:03:19 +00:00
|
|
|
|
2017-07-11 20:20:21 +00:00
|
|
|
ln -s mysql_config.1.gz %{buildroot}%{_mandir}/man1/mariadb_config.1.gz
|
2016-06-22 12:03:19 +00:00
|
|
|
|
2017-07-13 12:12:13 +00:00
|
|
|
# multilib support for shell scripts
|
|
|
|
# we only apply this to known Red Hat multilib arches, per bug #181335
|
2018-05-27 23:52:06 +00:00
|
|
|
if [ %multilib_capable ]
|
|
|
|
then
|
2017-07-13 12:12:13 +00:00
|
|
|
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
|
2020-08-18 12:59:54 +00:00
|
|
|
install -p -m 0755 %{_vpath_builddir}/scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
|
2017-07-13 12:12:13 +00:00
|
|
|
# Copy manual page for multilib mysql_config; https://jira.mariadb.org/browse/MDEV-11961
|
|
|
|
ln -s mysql_config.1 %{buildroot}%{_mandir}/man1/mysql_config-%{__isa_bits}.1
|
|
|
|
fi
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
|
2024-02-05 14:17:32 +00:00
|
|
|
# but that's pretty wacko --- see also %%{majorname}-file-contents.patch)
|
|
|
|
install -p -m 644 %{_vpath_builddir}/Docs/INFO_SRC %{buildroot}%{_libdir}/%{majorname}/
|
|
|
|
install -p -m 644 %{_vpath_builddir}/Docs/INFO_BIN %{buildroot}%{_libdir}/%{majorname}/
|
|
|
|
rm -r %{buildroot}%{_datadir}/doc/%{majorname}/MariaDB-server-%{version}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
# Logfile creation
|
2014-07-23 13:26:28 +00:00
|
|
|
mkdir -p %{buildroot}%{logfiledir}
|
|
|
|
chmod 0750 %{buildroot}%{logfiledir}
|
|
|
|
touch %{buildroot}%{logfile}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2013-09-02 15:44:03 +00:00
|
|
|
# current setting in my.cnf is to use /var/run/mariadb for creating pid file,
|
|
|
|
# however since my.cnf is not updated by RPM if changed, we need to create mysqld
|
2014-08-05 12:20:26 +00:00
|
|
|
# as well because users can have odd settings in their /etc/my.cnf
|
2015-03-03 20:28:20 +00:00
|
|
|
mkdir -p %{buildroot}%{pidfiledir}
|
2014-12-06 08:00:06 +00:00
|
|
|
install -p -m 0755 -d %{buildroot}%{dbdatadir}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-08-13 14:07:48 +00:00
|
|
|
%if %{with config}
|
2020-08-18 12:59:54 +00:00
|
|
|
install -D -p -m 0644 %{_vpath_builddir}/scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
|
2014-07-23 13:26:28 +00:00
|
|
|
%else
|
2020-08-18 12:59:54 +00:00
|
|
|
rm %{_vpath_builddir}/scripts/my.cnf
|
2023-11-29 17:28:01 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/my.cnf
|
2014-07-17 13:11:00 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
# use different config file name for each variant of server (mariadb / mysql)
|
2024-02-05 14:17:32 +00:00
|
|
|
mv %{buildroot}%{_sysconfdir}/my.cnf.d/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{majorname}-server.cnf
|
2015-01-25 09:44:42 +00:00
|
|
|
|
2021-03-18 02:10:06 +00:00
|
|
|
# Remove upstream SysV init script and a symlink to that, we use systemd
|
2017-11-13 08:18:22 +00:00
|
|
|
rm %{buildroot}%{_libexecdir}/rcmysql
|
2021-03-18 02:10:06 +00:00
|
|
|
# Remove upstream Systemd service files
|
2024-02-05 14:17:32 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/%{majorname}/systemd
|
2021-03-18 02:18:43 +00:00
|
|
|
# Our downstream Systemd service file have set aliases to the "mysql" names in the [Install] section.
|
|
|
|
# They can be enabled / disabled by "systemctl enable / diable <service_name>"
|
|
|
|
rm %{buildroot}%{_unitdir}/{mysql,mysqld}.service
|
2021-03-18 02:10:06 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
# install systemd unit files and scripts for handling server startup
|
2020-08-18 12:59:54 +00:00
|
|
|
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
|
|
|
|
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}@.service
|
2020-09-11 07:35:04 +00:00
|
|
|
|
2014-07-23 13:26:28 +00:00
|
|
|
# helper scripts for service starting
|
2021-04-21 08:30:46 +00:00
|
|
|
install -p -m 755 %{_vpath_builddir}/scripts/mariadb-prepare-db-dir %{buildroot}%{_libexecdir}/mariadb-prepare-db-dir
|
|
|
|
install -p -m 755 %{_vpath_builddir}/scripts/mariadb-check-socket %{buildroot}%{_libexecdir}/mariadb-check-socket
|
|
|
|
install -p -m 755 %{_vpath_builddir}/scripts/mariadb-check-upgrade %{buildroot}%{_libexecdir}/mariadb-check-upgrade
|
|
|
|
install -p -m 644 %{_vpath_builddir}/scripts/mariadb-scripts-common %{buildroot}%{_libexecdir}/mariadb-scripts-common
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2021-03-18 02:10:06 +00:00
|
|
|
# Install downstream version of tmpfiles
|
2024-02-05 14:17:32 +00:00
|
|
|
install -D -p -m 0644 %{_vpath_builddir}/scripts/mariadb.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{majorname}.conf
|
|
|
|
echo "d %{pidfiledir} 0755 mysql mysql -" >>%{buildroot}%{_tmpfilesdir}/%{majorname}.conf
|
2021-03-18 02:10:06 +00:00
|
|
|
|
2023-09-05 12:23:07 +00:00
|
|
|
# Install additional cracklib selinux policy
|
|
|
|
%if %{with cracklib}
|
2023-11-29 21:39:18 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/selinux/packages/targeted/
|
2024-02-05 14:17:32 +00:00
|
|
|
mv %{buildroot}%{_datadir}/mariadb/policy/selinux/mariadb-plugin-cracklib-password-check.pp %{buildroot}%{_datadir}/selinux/packages/targeted/%{majorname}-plugin-cracklib-password-check.pp
|
2023-09-05 12:23:07 +00:00
|
|
|
rm %{buildroot}%{_datadir}/mariadb/policy/selinux/mariadb-plugin-cracklib-password-check.te
|
|
|
|
%endif
|
|
|
|
|
2018-02-18 19:12:10 +00:00
|
|
|
%if %{with test}
|
2017-11-13 08:18:22 +00:00
|
|
|
# mysql-test includes one executable that doesn't belong under /usr/share, so move it and provide a symlink
|
2014-07-17 14:33:17 +00:00
|
|
|
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
|
2017-11-13 08:18:22 +00:00
|
|
|
# Provide symlink expected by RH QA tests
|
|
|
|
ln -s unstable-tests %{buildroot}%{_datadir}/mysql-test/rh-skipped-tests.list
|
2018-02-18 19:12:10 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2017-12-09 17:57:49 +00:00
|
|
|
# Client that uses libmysqld embedded server.
|
|
|
|
# Pretty much like normal mysql command line client, but it doesn't require a running mariadb server.
|
2020-01-17 09:47:52 +00:00
|
|
|
%{?with_embedded:rm %{buildroot}%{_bindir}/{mariadb-,mysql_}embedded}
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}embedded.1*
|
2017-12-09 17:57:49 +00:00
|
|
|
# Static libraries
|
2017-11-03 02:41:33 +00:00
|
|
|
rm %{buildroot}%{_libdir}/*.a
|
2017-12-09 17:57:49 +00:00
|
|
|
# This script creates the MySQL system tables and starts the server.
|
|
|
|
# Upstream says:
|
|
|
|
# It looks like it's just "mysql_install_db && mysqld_safe"
|
|
|
|
# I've never heard of anyone using it, I'd say, no need to pack it.
|
2024-02-05 14:17:32 +00:00
|
|
|
rm %{buildroot}%{_datadir}/%{majorname}/binary-configure
|
2017-12-09 17:57:49 +00:00
|
|
|
# FS files first-bytes recoginiton
|
|
|
|
# Not updated by upstream since nobody realy use that
|
2024-02-05 14:17:32 +00:00
|
|
|
rm %{buildroot}%{_datadir}/%{majorname}/magic
|
2017-12-09 17:57:49 +00:00
|
|
|
|
|
|
|
# Upstream ships them because of, https://jira.mariadb.org/browse/MDEV-10797
|
|
|
|
# In Fedora we use our own systemd unit files and scripts
|
2024-02-05 14:17:32 +00:00
|
|
|
rm %{buildroot}%{_datadir}/%{majorname}/mysql.server
|
|
|
|
rm %{buildroot}%{_datadir}/%{majorname}/mysqld_multi.server
|
2017-12-09 17:57:49 +00:00
|
|
|
|
|
|
|
# Binary for monitoring MySQL performance
|
2019-06-11 14:37:44 +00:00
|
|
|
# Shipped as a standalone package in Fedora
|
2017-12-09 17:57:49 +00:00
|
|
|
rm %{buildroot}%{_bindir}/mytop
|
2020-04-09 01:42:54 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/mytop.1*
|
|
|
|
|
|
|
|
# Should be shipped with mariadb-connector-c
|
2020-09-14 07:55:21 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/mariadb_config.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
|
2018-08-06 16:08:19 +00:00
|
|
|
# for compatibility with upstream RPMs, create mysqld symlink in sbin
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
|
|
|
|
ln -s %{_libexecdir}/mariadbd %{buildroot}%{_sbindir}/mariadbd
|
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
# copy additional docs into build tree so %%doc will find them
|
2014-07-24 08:00:33 +00:00
|
|
|
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
|
|
|
|
install -p -m 0644 %{SOURCE16} %{basename:%{SOURCE16}}
|
2016-03-22 14:30:08 +00:00
|
|
|
|
2020-01-17 09:29:09 +00:00
|
|
|
%if %{with galera}
|
2024-06-09 06:43:07 +00:00
|
|
|
# Add wsrep_sst_rsync_tunnel script
|
|
|
|
install -p -m 0755 scripts/wsrep_sst_rsync_tunnel %{buildroot}%{_bindir}/wsrep_sst_rsync_tunnel
|
|
|
|
install -p -m 0644 %{SOURCE8} %{basename:%{SOURCE8}}
|
|
|
|
|
2024-06-10 07:00:25 +00:00
|
|
|
# install the clustercheck script
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
|
|
|
touch %{buildroot}%{_sysconfdir}/sysconfig/clustercheck
|
|
|
|
install -p -m 0755 %{_vpath_builddir}/scripts/clustercheck %{buildroot}%{_bindir}/clustercheck
|
|
|
|
# clustercheck license
|
|
|
|
install -p -m 0644 %{SOURCE71} %{basename:%{SOURCE71}}
|
|
|
|
|
2023-11-29 17:28:01 +00:00
|
|
|
# install galera config file
|
2020-08-18 12:59:54 +00:00
|
|
|
sed -i -r 's|^wsrep_provider=none|wsrep_provider=%{_libdir}/galera/libgalera_smm.so|' %{_vpath_builddir}/support-files/wsrep.cnf
|
|
|
|
install -p -m 0644 %{_vpath_builddir}/support-files/wsrep.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
|
2023-11-29 17:28:01 +00:00
|
|
|
|
|
|
|
# install additional galera selinux policy
|
2024-02-05 14:17:32 +00:00
|
|
|
install -p -m 644 -D selinux/%{majorname}-server-galera.pp %{buildroot}%{_datadir}/selinux/packages/targeted/%{majorname}-server-galera.pp
|
2023-11-29 17:28:01 +00:00
|
|
|
|
|
|
|
# Fix Galera Replication config file
|
|
|
|
# The replication requires cluster address upon startup (which is end-user specific).
|
|
|
|
# Disable it entirely, rather than have it failing out-of-the-box.
|
|
|
|
sed -i 's/^wsrep_on=1/wsrep_on=0/' %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
|
2020-01-17 09:29:09 +00:00
|
|
|
%endif
|
2023-11-29 17:28:01 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
# remove duplicate logrotate script
|
[2/2] Rebase to 10.11.6 - start using upstream logrotate file
Explanation for removed notes follow:
| * Enable creation of the log file by logrotate (needed since
| /var/log/ isn't writable by mysql user); and set the same 640
| permissions we normally use.
This is an ancient artefact.
It originates in this commit from 2012 in the 'mysql' package in Fedora:
https://src.fedoraproject.org/rpms/mysql/c/d3bdaa4a?branch=rawhide
That was at the time, when the DB log resided directly in '/var/log/', rather than '/var/log/some-dir-specific-for-the-DB/'.
Since that is no longer the case, the 'create 600 mysql mysql' directive is no longer necessary.
| * Comment out the actual rotation commands, so that user must edit
| the file to enable rotation. This is unfortunate, but the fact
| that the script will probably fail without manual configuration
| (to set a root password) means that we can't really have it turned
| on by default. Fortunately, in most configurations the log file
| is low-volume and so rotation is not critical functionality.
This is no longer true.
Since MariaDB 10.4, which introduced authentication via the UNIX socket,
the 'root' and 'mysql' users can authenticate without login and password.
So we can go back to using 'mysqladmin', or 'mariadb-admin' in this case, to flush logs
| See discussions at RH bugs 799735, 547007
| * Note they are from Fedora 15 / 16
I found no more useful information there. Only information already mentioned in other notes here.
| Update 3/2017
| * it would be big unexpected change for anyone upgrading, if we start shipping it now.
| Maybe it is good candidate for shipping with MariaDB 10.2 ?
Introduction of MariaDB 10.11 is the perfect time.
| * the 'mysqladmin flush logs' doesn´t guarantee, no entries are lost
| during flushing, the operation is not atomic.
| We should not ship it in that state
True, however, no one likely cares about that, in reality, since those logs don't hold any journal-like entries.
Explained here:
https://github.com/MariaDB/server/pull/1556#issuecomment-941886220
| Update 6/2018
| * the SIGHUP causes server to flush all logs. No password admin needed, the only constraint is
| beeing able to send the SIGHUP to the process and read the mysqld pid file, which root can.
| * Submited as PR: https://github.com/MariaDB/server/pull/807
It has been dicussed on the upstream thoroughly and was found far from ideal.
Now, that we can use 'mysqladmin', or 'mariadb-admin' in this case, safely again,
there's no argument to keep using the PID file for flushing logs.
| Update 02/2021
| * Enhance the script as proposed in:
| https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux/
Enhanced again now. Significantly this time, however with a vision that the values will become an OS-independent defaults.
| * Discussion continues in:
| https://jira.mariadb.org/browse/MDEV-16621
Discussion finished.
Better start a new one, if needed.
2023-12-18 05:44:39 +00:00
|
|
|
rm %{buildroot}%{_datadir}/mariadb/mariadb.logrotate
|
2017-11-13 08:18:22 +00:00
|
|
|
# Remove AppArmor files
|
2024-02-05 14:17:32 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/%{majorname}/policy/apparmor
|
2016-11-24 09:08:22 +00:00
|
|
|
|
2020-09-11 07:35:04 +00:00
|
|
|
# Buildroot does not have symlink /lib64 --> /usr/lib64
|
2022-01-13 18:56:33 +00:00
|
|
|
%if %{with pam}
|
2020-10-22 13:13:57 +00:00
|
|
|
mv %{buildroot}/%{_lib}/security %{buildroot}%{_libdir}
|
2022-01-13 18:56:33 +00:00
|
|
|
%endif
|
2020-02-07 13:34:26 +00:00
|
|
|
|
2017-07-11 12:11:08 +00:00
|
|
|
# Disable plugins
|
2019-01-17 16:48:21 +00:00
|
|
|
%if %{with gssapi}
|
2017-07-11 12:11:08 +00:00
|
|
|
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
|
|
|
%if %{with cracklib}
|
2017-07-11 12:11:08 +00:00
|
|
|
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{without embedded}
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
|
2020-01-17 09:47:52 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
2017-07-11 12:11:08 +00:00
|
|
|
|
2017-07-11 20:20:21 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{without clibrary}
|
2023-11-29 17:28:01 +00:00
|
|
|
# Client part should be included in package 'mariadb-connector-c'
|
|
|
|
rm %{buildroot}%{_libdir}/pkgconfig/libmariadb.pc
|
|
|
|
|
2017-05-23 13:14:48 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
|
2017-09-20 12:25:36 +00:00
|
|
|
# Client library and links
|
2018-03-11 01:44:01 +00:00
|
|
|
rm %{buildroot}%{_libdir}/libmariadb.so.*
|
2017-11-03 02:41:33 +00:00
|
|
|
unlink %{buildroot}%{_libdir}/libmysqlclient.so
|
|
|
|
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
|
|
|
|
unlink %{buildroot}%{_libdir}/libmariadb.so
|
2023-12-18 05:11:50 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man3/*
|
2017-09-20 12:25:36 +00:00
|
|
|
# Client plugins
|
2024-02-05 14:17:32 +00:00
|
|
|
rm %{buildroot}%{_libdir}/%{majorname}/plugin/{dialog.so,mysql_clear_password.so,sha256_password.so}
|
2020-01-10 00:53:54 +00:00
|
|
|
%if %{with gssapi}
|
2024-02-05 14:17:32 +00:00
|
|
|
rm %{buildroot}%{_libdir}/%{majorname}/plugin/auth_gssapi_client.so
|
2020-01-10 00:53:54 +00:00
|
|
|
%endif
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{without clibrary} || %{without devel}
|
2017-10-04 19:30:08 +00:00
|
|
|
rm %{buildroot}%{_bindir}/mysql_config*
|
2017-07-11 20:20:21 +00:00
|
|
|
rm %{buildroot}%{_bindir}/mariadb_config
|
2020-11-06 01:34:10 +00:00
|
|
|
rm %{buildroot}%{_bindir}/mariadb-config
|
2017-10-04 19:30:08 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/mysql_config*.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
2017-10-05 12:33:14 +00:00
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{without clibrary} && %{with devel}
|
|
|
|
# This files are already included in mariadb-connector-c
|
|
|
|
rm %{buildroot}%{_includedir}/mysql/mysql_version.h
|
2017-09-20 12:25:36 +00:00
|
|
|
rm %{buildroot}%{_includedir}/mysql/{errmsg.h,ma_list.h,ma_pvio.h,mariadb_com.h,\
|
2020-05-24 08:48:58 +00:00
|
|
|
mariadb_ctype.h,mariadb_dyncol.h,mariadb_stmt.h,mariadb_version.h,ma_tls.h,mysqld_error.h,mysql.h,mariadb_rpl.h}
|
2017-09-20 12:25:36 +00:00
|
|
|
rm -r %{buildroot}%{_includedir}/mysql/{mariadb,mysql}
|
2017-08-06 21:53:41 +00:00
|
|
|
%endif
|
2017-11-13 08:18:22 +00:00
|
|
|
|
|
|
|
%if %{without devel}
|
|
|
|
rm -r %{buildroot}%{_includedir}/mysql
|
|
|
|
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
|
|
|
|
rm %{buildroot}%{_libdir}/pkgconfig/mariadb.pc
|
|
|
|
%if %{with clibrary}
|
|
|
|
rm %{buildroot}%{_libdir}/libmariadb*.so
|
|
|
|
unlink %{buildroot}%{_libdir}/libmysqlclient.so
|
|
|
|
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
|
2019-06-11 14:37:44 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2014-07-23 14:37:14 +00:00
|
|
|
|
|
|
|
%if %{without client}
|
2020-01-17 09:47:52 +00:00
|
|
|
rm %{buildroot}%{_bindir}/msql2mysql
|
|
|
|
rm %{buildroot}%{_bindir}/{mysql,mariadb}
|
|
|
|
rm %{buildroot}%{_bindir}/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}
|
|
|
|
rm %{buildroot}%{_bindir}/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}
|
|
|
|
|
|
|
|
rm %{buildroot}%{_mandir}/man1/msql2mysql.1*
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql,mariadb}.1*
|
|
|
|
rm %{buildroot}%{_mandir}/man1/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}.1*
|
|
|
|
rm %{buildroot}%{_mandir}/man1/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}.1*
|
2022-01-14 11:06:04 +00:00
|
|
|
|
|
|
|
rm %{buildroot}%{_sysconfdir}/my.cnf.d/mysql-clients.cnf
|
2017-05-23 13:14:48 +00:00
|
|
|
%endif
|
|
|
|
|
2014-08-13 14:07:48 +00:00
|
|
|
%if %{without common}
|
2024-02-05 14:17:32 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/%{majorname}/charsets
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{without errmsg}
|
2024-02-05 14:17:32 +00:00
|
|
|
rm %{buildroot}%{_datadir}/%{majorname}/errmsg-utf8.txt
|
|
|
|
rm -r %{buildroot}%{_datadir}/%{majorname}/{english,czech,danish,dutch,estonian,\
|
2014-07-23 14:37:14 +00:00
|
|
|
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
|
2022-05-23 12:45:10 +00:00
|
|
|
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian,hindi,\
|
2023-12-18 05:43:17 +00:00
|
|
|
bulgarian,chinese,georgian}
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{without test}
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with embedded}
|
2022-01-14 08:39:30 +00:00
|
|
|
rm %{buildroot}%{_bindir}/test-connect-t
|
2020-01-17 09:47:52 +00:00
|
|
|
rm %{buildroot}%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
|
|
|
|
rm %{buildroot}%{_bindir}/{mariadb-client-test-embedded,mariadb-test-embedded}
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
|
2024-01-26 21:40:02 +00:00
|
|
|
# endif embedded
|
|
|
|
%endif
|
2022-01-14 09:46:53 +00:00
|
|
|
%if %{with pam}
|
|
|
|
rm %{buildroot}/suite/plugins/pam/mariadb_mtr
|
|
|
|
rm %{buildroot}/suite/plugins/pam/pam_mariadb_mtr.so
|
2024-01-26 21:40:02 +00:00
|
|
|
# endif pam
|
|
|
|
%endif
|
2018-02-18 19:12:10 +00:00
|
|
|
rm %{buildroot}%{_bindir}/{mysql_client_test,mysqltest}
|
2020-01-17 09:47:52 +00:00
|
|
|
rm %{buildroot}%{_bindir}/{mariadb-client-test,mariadb-test}
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql_client_test,mysqltest,my_safe_process}.1*
|
|
|
|
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test,mariadb-test}.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql-test-run,mysql-stress-test}.pl.1*
|
2019-06-11 14:37:44 +00:00
|
|
|
%endif
|
2014-07-23 14:37:14 +00:00
|
|
|
|
2018-10-05 17:44:01 +00:00
|
|
|
%if %{without rocksdb}
|
2020-01-17 09:47:52 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}ldb.1*
|
2020-04-09 01:42:54 +00:00
|
|
|
rm %{buildroot}%{_mandir}/man1/myrocks_hotbackup.1*
|
2018-10-05 17:44:01 +00:00
|
|
|
%endif
|
2017-10-04 19:30:08 +00:00
|
|
|
|
2020-11-12 02:40:55 +00:00
|
|
|
%if %{without backup}
|
|
|
|
rm %{buildroot}%{_mandir}/man1/maria{,db-}backup.1*
|
|
|
|
rm %{buildroot}%{_mandir}/man1/mbstream.1*
|
|
|
|
%endif
|
|
|
|
|
2021-02-10 06:42:31 +00:00
|
|
|
%if %{without s3}
|
|
|
|
rm %{buildroot}%{_mandir}/man1/aria_s3_copy.1*
|
|
|
|
%endif
|
|
|
|
|
2014-07-21 22:34:41 +00:00
|
|
|
%check
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with test}
|
2014-07-21 22:34:41 +00:00
|
|
|
%if %runselftest
|
|
|
|
# hack to let 32- and 64-bit tests run concurrently on same build machine
|
|
|
|
export MTR_PARALLEL=1
|
2021-01-31 20:14:54 +00:00
|
|
|
# Builds might happen at the same host, avoid collision
|
2021-02-02 14:34:16 +00:00
|
|
|
# The port used is calculated as 20 * MTR_BUILD_THREAD + 10000
|
2021-01-31 20:14:54 +00:00
|
|
|
# The resulting port must be between 5000 and 32767
|
2021-02-02 14:34:16 +00:00
|
|
|
# This is the same as using option "--build-thread" for the "mysql-test-run.pl"
|
|
|
|
export MTR_BUILD_THREAD=$(( $(date +%s) % 1100 ))
|
2014-07-21 22:34:41 +00:00
|
|
|
|
|
|
|
# The cmake build scripts don't provide any simple way to control the
|
|
|
|
# options for mysql-test-run, so ignore the make target and just call it
|
|
|
|
# manually. Nonstandard options chosen are:
|
|
|
|
# --force to continue tests after a failure
|
|
|
|
# no retries please
|
|
|
|
# test SSL with --ssl
|
|
|
|
# skip tests that are listed in rh-skipped-tests.list
|
|
|
|
# avoid redundant test runs with --binlog-format=mixed
|
|
|
|
# increase timeouts to prevent unwanted failures during mass rebuilds
|
2017-01-24 09:59:46 +00:00
|
|
|
|
2017-12-11 11:55:15 +00:00
|
|
|
# Usefull arguments:
|
2017-02-15 16:04:36 +00:00
|
|
|
# --do-test=mysql_client_test_nonblock \
|
2017-05-24 09:25:52 +00:00
|
|
|
# --skip-rpl
|
2017-12-11 11:55:15 +00:00
|
|
|
# --suite=roles
|
2018-06-27 22:52:27 +00:00
|
|
|
# --mem for running in the RAM; Not enough space in KOJI for this
|
2017-02-15 16:04:36 +00:00
|
|
|
|
2014-07-21 22:34:41 +00:00
|
|
|
(
|
2017-07-11 20:20:21 +00:00
|
|
|
set -ex
|
2020-08-18 12:59:54 +00:00
|
|
|
cd %{buildroot}%{_datadir}/mysql-test
|
2018-03-29 01:26:57 +00:00
|
|
|
|
2019-09-17 12:00:40 +00:00
|
|
|
export common_testsuite_arguments=" --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --force-restart --shutdown-timeout=60 --max-test-fail=5 "
|
2019-01-18 23:57:35 +00:00
|
|
|
|
|
|
|
# If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run
|
|
|
|
if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]]
|
|
|
|
then
|
|
|
|
# in further rebuilds only run the basic "main" suite (~800 tests)
|
2021-08-06 17:45:53 +00:00
|
|
|
echo -e "\n\nRunning just the base testsuite\n\n"
|
2019-01-18 23:57:35 +00:00
|
|
|
perl ./mysql-test-run.pl $common_testsuite_arguments --ssl --suite=main --mem --skip-test-list=unstable-tests
|
|
|
|
fi
|
|
|
|
|
|
|
|
# If either this version wasn't marked as tested yet or I explicitly want to run the testsuite, run everything we have (~4000 test)
|
|
|
|
if [[ "%{last_tested_version}" != "%{version}" ]] || [[ %{force_run_testsuite} -ne 0 ]]
|
|
|
|
then
|
2021-08-06 17:45:53 +00:00
|
|
|
echo -e "\n\nRunning the advanced testsuite\n\n"
|
2019-01-18 23:57:35 +00:00
|
|
|
perl ./mysql-test-run.pl $common_testsuite_arguments --ssl --big-test --skip-test=spider \
|
|
|
|
%if %{ignore_testsuite_result}
|
|
|
|
--max-test-fail=9999 || :
|
|
|
|
%else
|
|
|
|
--skip-test-list=unstable-tests
|
|
|
|
%endif
|
2024-06-10 21:04:03 +00:00
|
|
|
|
|
|
|
# Spider tests can't be run in the Fedora KOJI at this moment, see #2291227
|
|
|
|
%if 0
|
2019-01-18 23:57:35 +00:00
|
|
|
# Second run for the SPIDER suites that fail with SCA (ssl self signed certificate)
|
2024-01-10 16:43:16 +00:00
|
|
|
perl ./mysql-test-run.pl $common_testsuite_arguments --skip-ssl --big-test --suite=spider,spider/bg,spider/bugfix \
|
2019-01-18 23:57:35 +00:00
|
|
|
%if %{ignore_testsuite_result}
|
|
|
|
--max-test-fail=999 || :
|
2023-06-07 02:35:28 +00:00
|
|
|
%else
|
|
|
|
--skip-test-list=unstable-tests
|
2019-01-18 23:57:35 +00:00
|
|
|
%endif
|
2024-06-10 21:04:03 +00:00
|
|
|
%endif
|
2019-01-18 23:57:35 +00:00
|
|
|
# blank line
|
|
|
|
fi
|
2021-01-28 15:49:58 +00:00
|
|
|
|
|
|
|
# There might be a dangling symlink left from the testing, remove it to not be installed
|
|
|
|
rm -rf ./var
|
2024-01-19 20:59:21 +00:00
|
|
|
# Remove temporary files created by the testsuite execution
|
|
|
|
find ./ -type f -name '*~' -exec rm {} +
|
2014-07-21 22:34:41 +00:00
|
|
|
)
|
2017-07-11 12:11:08 +00:00
|
|
|
|
2019-09-17 12:00:40 +00:00
|
|
|
# NOTE: the Spider SE has 2 more hidden testsuites "oracle" and "oracle2".
|
|
|
|
# however, all of the tests fail with: "failed: 12521: Can't use wrapper 'oracle' for SQL connection"
|
|
|
|
|
2019-07-19 23:03:08 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2017-11-13 08:18:22 +00:00
|
|
|
|
|
|
|
|
2014-07-21 22:34:41 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%pre -n %{pkgname}-server
|
2013-06-19 09:40:23 +00:00
|
|
|
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
|
2023-11-29 13:44:57 +00:00
|
|
|
/usr/sbin/useradd -M -N -g mysql -o -r -d %{dbdatadir} -s /sbin/nologin \
|
2014-07-24 08:00:33 +00:00
|
|
|
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
|
2013-06-19 09:40:23 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%post -n %{pkgname}-server
|
2023-09-18 10:25:39 +00:00
|
|
|
%systemd_post %{daemon_name}.service
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%preun -n %{pkgname}-server
|
2023-09-18 10:25:39 +00:00
|
|
|
%systemd_preun %{daemon_name}.service
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%postun -n %{pkgname}-server
|
2023-09-18 10:25:39 +00:00
|
|
|
%systemd_postun_with_restart %{daemon_name}.service
|
|
|
|
|
2016-07-19 15:13:37 +00:00
|
|
|
%if %{with galera}
|
2024-01-31 18:48:36 +00:00
|
|
|
%post -n %{pkgname}-server-galera
|
2024-02-05 14:17:32 +00:00
|
|
|
%selinux_modules_install -s "targeted" %{_datadir}/selinux/packages/targeted/%{majorname}-server-galera.pp
|
2020-01-17 09:29:09 +00:00
|
|
|
|
2023-09-18 10:27:10 +00:00
|
|
|
# Allow ports needed for the replication:
|
|
|
|
# https://fedoraproject.org/wiki/SELinux/IndependentPolicy#Port_Labeling
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
# https://mariadb.com/kb/en/library/configuring-mariadb-galera-cluster/#network-ports
|
|
|
|
# Galera Replication Port
|
|
|
|
semanage port -a -t mysqld_port_t -p tcp 4567 >/dev/null 2>&1 || :
|
|
|
|
semanage port -a -t mysqld_port_t -p udp 4567 >/dev/null 2>&1 || :
|
|
|
|
# IST Port
|
|
|
|
semanage port -a -t mysqld_port_t -p tcp 4568 >/dev/null 2>&1 || :
|
|
|
|
# SST Port
|
|
|
|
semanage port -a -t mysqld_port_t -p tcp 4444 >/dev/null 2>&1 || :
|
|
|
|
fi
|
2023-09-18 10:25:39 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%postun -n %{pkgname}-server-galera
|
2023-09-18 10:25:39 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2024-02-05 14:17:32 +00:00
|
|
|
%selinux_modules_uninstall -s "targeted" %{majorname}-server-galera
|
2023-09-18 10:27:10 +00:00
|
|
|
|
|
|
|
# Delete port labeling when the package is removed
|
|
|
|
# https://fedoraproject.org/wiki/SELinux/IndependentPolicy#Port_Labeling
|
|
|
|
semanage port -d -t mysqld_port_t -p tcp 4567 >/dev/null 2>&1 || :
|
|
|
|
semanage port -d -t mysqld_port_t -p udp 4567 >/dev/null 2>&1 || :
|
|
|
|
semanage port -d -t mysqld_port_t -p tcp 4568 >/dev/null 2>&1 || :
|
|
|
|
semanage port -d -t mysqld_port_t -p tcp 4444 >/dev/null 2>&1 || :
|
2023-09-18 10:25:39 +00:00
|
|
|
fi
|
2016-07-19 15:13:37 +00:00
|
|
|
%endif
|
2016-05-12 15:02:51 +00:00
|
|
|
|
2023-09-05 12:23:07 +00:00
|
|
|
%if %{with cracklib}
|
2024-01-31 18:48:36 +00:00
|
|
|
%post -n %{pkgname}-cracklib-password-check
|
2024-02-05 14:17:32 +00:00
|
|
|
%selinux_modules_install -s "targeted" %{_datadir}/selinux/packages/targeted/%{majorname}-plugin-cracklib-password-check.pp
|
2023-09-05 12:23:07 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%postun -n %{pkgname}-cracklib-password-check
|
2023-09-05 12:23:07 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2024-02-05 14:17:32 +00:00
|
|
|
%selinux_modules_uninstall -s "targeted" %{majorname}-plugin-cracklib-password-check
|
2023-09-05 12:23:07 +00:00
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
|
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with client}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}
|
2017-02-15 16:04:36 +00:00
|
|
|
%{_bindir}/msql2mysql
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/{mysql,mariadb}
|
|
|
|
%{_bindir}/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}
|
|
|
|
%{_bindir}/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2017-02-15 16:04:36 +00:00
|
|
|
%{_mandir}/man1/msql2mysql.1*
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/{mysql,mariadb}.1*
|
|
|
|
%{_mandir}/man1/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}.1*
|
|
|
|
%{_mandir}/man1/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}.1*
|
|
|
|
|
2018-07-17 22:39:30 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with clibrary}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-libs
|
2020-01-17 09:47:52 +00:00
|
|
|
%exclude %{_libdir}/{libmysqlclient.so.18,libmariadb.so,libmysqlclient.so,libmysqlclient_r.so}
|
|
|
|
%{_libdir}/libmariadb.so*
|
2014-09-24 15:32:43 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2014-07-21 08:20:20 +00:00
|
|
|
|
2014-08-13 14:07:48 +00:00
|
|
|
%if %{with config}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-config
|
2013-01-10 17:35:12 +00:00
|
|
|
# although the default my.cnf contains only server settings, we put it in the
|
2014-07-21 08:20:20 +00:00
|
|
|
# common package because it can be used for client settings too.
|
2014-07-24 08:00:33 +00:00
|
|
|
%dir %{_sysconfdir}/my.cnf.d
|
2015-01-24 21:46:25 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf
|
2014-07-17 13:11:00 +00:00
|
|
|
%endif
|
2014-08-13 14:07:48 +00:00
|
|
|
|
|
|
|
%if %{with common}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-common
|
2024-02-05 14:17:32 +00:00
|
|
|
%doc %{_datadir}/doc/%{majorname}
|
|
|
|
%dir %{_datadir}/%{majorname}
|
|
|
|
%{_datadir}/%{majorname}/charsets
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with clibrary}
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/dialog.so
|
|
|
|
%{_libdir}/%{majorname}/plugin/mysql_clear_password.so
|
2019-06-11 14:37:44 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2014-07-21 08:20:20 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with errmsg}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-errmsg
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_datadir}/%{majorname}/errmsg-utf8.txt
|
|
|
|
%{_datadir}/%{majorname}/english
|
|
|
|
%lang(cs) %{_datadir}/%{majorname}/czech
|
|
|
|
%lang(da) %{_datadir}/%{majorname}/danish
|
|
|
|
%lang(nl) %{_datadir}/%{majorname}/dutch
|
|
|
|
%lang(et) %{_datadir}/%{majorname}/estonian
|
|
|
|
%lang(fr) %{_datadir}/%{majorname}/french
|
|
|
|
%lang(de) %{_datadir}/%{majorname}/german
|
|
|
|
%lang(el) %{_datadir}/%{majorname}/greek
|
|
|
|
%lang(hi) %{_datadir}/%{majorname}/hindi
|
|
|
|
%lang(hu) %{_datadir}/%{majorname}/hungarian
|
|
|
|
%lang(it) %{_datadir}/%{majorname}/italian
|
|
|
|
%lang(ja) %{_datadir}/%{majorname}/japanese
|
|
|
|
%lang(ko) %{_datadir}/%{majorname}/korean
|
|
|
|
%lang(no) %{_datadir}/%{majorname}/norwegian
|
|
|
|
%lang(no) %{_datadir}/%{majorname}/norwegian-ny
|
|
|
|
%lang(pl) %{_datadir}/%{majorname}/polish
|
|
|
|
%lang(pt) %{_datadir}/%{majorname}/portuguese
|
|
|
|
%lang(ro) %{_datadir}/%{majorname}/romanian
|
|
|
|
%lang(ru) %{_datadir}/%{majorname}/russian
|
|
|
|
%lang(sr) %{_datadir}/%{majorname}/serbian
|
|
|
|
%lang(sk) %{_datadir}/%{majorname}/slovak
|
|
|
|
%lang(es) %{_datadir}/%{majorname}/spanish
|
|
|
|
%lang(sv) %{_datadir}/%{majorname}/swedish
|
|
|
|
%lang(uk) %{_datadir}/%{majorname}/ukrainian
|
|
|
|
%lang(bg) %{_datadir}/%{majorname}/bulgarian
|
|
|
|
%lang(zh) %{_datadir}/%{majorname}/chinese
|
|
|
|
%lang(ka) %{_datadir}/%{majorname}/georgian
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2016-07-19 15:13:37 +00:00
|
|
|
%if %{with galera}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-server-galera
|
2017-11-13 08:18:22 +00:00
|
|
|
%doc Docs/README-wsrep
|
2016-03-22 14:30:08 +00:00
|
|
|
%license LICENSE.clustercheck
|
2016-07-14 19:15:23 +00:00
|
|
|
%{_bindir}/clustercheck
|
2016-07-15 08:51:10 +00:00
|
|
|
%{_bindir}/galera_new_cluster
|
2016-07-19 15:13:37 +00:00
|
|
|
%{_bindir}/galera_recovery
|
2024-06-10 07:00:25 +00:00
|
|
|
%{_mandir}/man1/galera_new_cluster.1*
|
|
|
|
%{_mandir}/man1/galera_recovery.1*
|
2016-03-22 14:30:08 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/galera.cnf
|
2016-04-05 15:09:01 +00:00
|
|
|
%attr(0640,root,root) %ghost %config(noreplace) %{_sysconfdir}/sysconfig/clustercheck
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_datadir}/selinux/packages/targeted/%{majorname}-server-galera.pp
|
2016-07-19 15:13:37 +00:00
|
|
|
%endif
|
2016-03-22 14:30:08 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-server
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/aria_{chk,dump_log,ftdump,pack,read_log}
|
2016-02-07 13:29:38 +00:00
|
|
|
%{_bindir}/mariadb-service-convert
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_bindir}/myisamchk
|
|
|
|
%{_bindir}/myisam_ftdump
|
|
|
|
%{_bindir}/myisamlog
|
|
|
|
%{_bindir}/myisampack
|
2017-11-13 08:18:22 +00:00
|
|
|
%{_bindir}/my_print_defaults
|
2020-01-17 09:47:52 +00:00
|
|
|
|
2020-09-11 07:35:04 +00:00
|
|
|
%{_bindir}/mariadb-conv
|
|
|
|
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/mysql_{install_db,secure_installation,tzinfo_to_sql}
|
|
|
|
%{_bindir}/mariadb-{install-db,secure-installation,tzinfo-to-sql}
|
|
|
|
%{_bindir}/{mysqld_,mariadbd-}safe
|
2020-08-03 03:42:45 +00:00
|
|
|
%{_bindir}/{mysqld_safe_helper,mariadbd-safe-helper}
|
2020-01-17 09:47:52 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_bindir}/innochecksum
|
|
|
|
%{_bindir}/replace
|
|
|
|
%{_bindir}/resolve_stack_dump
|
|
|
|
%{_bindir}/resolveip
|
2020-11-12 02:40:55 +00:00
|
|
|
%if %{with galera}
|
2017-11-06 15:06:33 +00:00
|
|
|
# wsrep_sst_common should be moved to /usr/share/mariadb: https://jira.mariadb.org/browse/MDEV-14296
|
2018-07-10 17:33:27 +00:00
|
|
|
%{_bindir}/wsrep_*
|
2024-06-10 07:00:25 +00:00
|
|
|
%{_mandir}/man1/wsrep_*.1*
|
2024-06-09 06:43:07 +00:00
|
|
|
%doc README.wsrep_sst_rsync_tunnel
|
2020-11-12 02:40:55 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{majorname}-server.cnf
|
2018-07-17 22:39:30 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
|
2020-09-18 11:34:42 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/spider.cnf
|
2017-01-24 09:59:46 +00:00
|
|
|
|
2024-06-10 10:48:38 +00:00
|
|
|
%{?with_lz4:%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_lz4.cnf}
|
|
|
|
%{?with_bzip2:%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_bzip2.cnf}
|
|
|
|
%{?with_lzma:%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_lzma.cnf}
|
|
|
|
%{?with_lzo:%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_lzo.cnf}
|
|
|
|
%{?with_snappy:%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_snappy.cnf}
|
2023-07-04 09:39:01 +00:00
|
|
|
|
2024-06-10 18:45:54 +00:00
|
|
|
%{?with_hashicorp:%config(noreplace) %{_sysconfdir}/my.cnf.d/hashicorp_key_management.cnf}
|
2023-12-18 05:26:39 +00:00
|
|
|
|
2018-08-06 16:08:19 +00:00
|
|
|
%{_sbindir}/mysqld
|
|
|
|
%{_sbindir}/mariadbd
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_libexecdir}/{mysqld,mariadbd}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/INFO_SRC
|
|
|
|
%{_libdir}/%{majorname}/INFO_BIN
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{without common}
|
2024-02-05 14:17:32 +00:00
|
|
|
%dir %{_datadir}/%{majorname}
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%dir %{_libdir}/%{majorname}
|
|
|
|
%dir %{_libdir}/%{majorname}/plugin
|
2021-03-17 03:50:22 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/*
|
|
|
|
%{?with_oqgraph:%exclude %{_libdir}/%{majorname}/plugin/ha_oqgraph.so}
|
|
|
|
%{?with_connect:%exclude %{_libdir}/%{majorname}/plugin/ha_connect.so}
|
|
|
|
%{?with_cracklib:%exclude %{_libdir}/%{majorname}/plugin/cracklib_password_check.so}
|
|
|
|
%{?with_rocksdb:%exclude %{_libdir}/%{majorname}/plugin/ha_rocksdb.so}
|
|
|
|
%{?with_gssapi:%exclude %{_libdir}/%{majorname}/plugin/auth_gssapi.so}
|
|
|
|
%{?with_sphinx:%exclude %{_libdir}/%{majorname}/plugin/ha_sphinx.so}
|
|
|
|
%{?with_s3:%exclude %{_libdir}/%{majorname}/plugin/ha_s3.so}
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with clibrary}
|
2024-02-05 14:17:32 +00:00
|
|
|
%exclude %{_libdir}/%{majorname}/plugin/dialog.so
|
|
|
|
%exclude %{_libdir}/%{majorname}/plugin/mysql_clear_password.so
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2021-03-17 04:16:47 +00:00
|
|
|
# PAM plugin; moved to a standalone sub-package
|
2024-02-05 14:17:32 +00:00
|
|
|
%exclude %{_libdir}/%{majorname}/plugin/{auth_pam_v1.so,auth_pam.so}
|
|
|
|
%exclude %dir %{_libdir}/%{majorname}/plugin/auth_pam_tool_dir
|
|
|
|
%exclude %{_libdir}/%{majorname}/plugin/auth_pam_tool_dir/auth_pam_tool
|
2021-03-17 03:50:22 +00:00
|
|
|
|
2021-02-10 06:42:31 +00:00
|
|
|
%{_mandir}/man1/aria_{chk,dump_log,ftdump,pack,read_log}.1*
|
2017-05-24 09:25:52 +00:00
|
|
|
%{_mandir}/man1/mariadb-service-convert.1*
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_mandir}/man1/myisamchk.1*
|
|
|
|
%{_mandir}/man1/myisamlog.1*
|
|
|
|
%{_mandir}/man1/myisampack.1*
|
|
|
|
%{_mandir}/man1/myisam_ftdump.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
%{_mandir}/man1/my_print_defaults.1*
|
2020-01-17 09:47:52 +00:00
|
|
|
|
2020-04-09 01:42:54 +00:00
|
|
|
%{_mandir}/man1/mariadb-conv.1*
|
|
|
|
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/mysql_{install_db,secure_installation,tzinfo_to_sql}.1*
|
|
|
|
%{_mandir}/man1/mariadb-{install-db,secure-installation,tzinfo-to-sql}.1*
|
|
|
|
%{_mandir}/man1/{mysqld_,mariadbd-}safe.1*
|
2020-08-03 03:42:45 +00:00
|
|
|
%{_mandir}/man1/{mysqld_safe_helper,mariadbd-safe-helper}.1*
|
2020-01-17 09:47:52 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_mandir}/man1/innochecksum.1*
|
|
|
|
%{_mandir}/man1/replace.1*
|
|
|
|
%{_mandir}/man1/resolveip.1*
|
2017-05-24 09:25:52 +00:00
|
|
|
%{_mandir}/man1/resolve_stack_dump.1*
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man8/{mysqld,mariadbd}.8*
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/mysql.server.1*
|
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_datadir}/%{majorname}/mini-benchmark
|
|
|
|
%{_datadir}/%{majorname}/fill_help_tables.sql
|
|
|
|
%{_datadir}/%{majorname}/maria_add_gis_sp.sql
|
|
|
|
%{_datadir}/%{majorname}/maria_add_gis_sp_bootstrap.sql
|
|
|
|
%{_datadir}/%{majorname}/mysql_system_tables.sql
|
|
|
|
%{_datadir}/%{majorname}/mysql_sys_schema.sql
|
|
|
|
%{_datadir}/%{majorname}/mysql_system_tables_data.sql
|
|
|
|
%{_datadir}/%{majorname}/mysql_test_data_timezone.sql
|
|
|
|
%{_datadir}/%{majorname}/mysql_performance_tables.sql
|
|
|
|
%{_datadir}/%{majorname}/mysql_test_db.sql
|
2017-12-09 01:34:41 +00:00
|
|
|
%if %{with mroonga}
|
2024-05-27 15:46:53 +00:00
|
|
|
%dir %{_datadir}/%{majorname}/mroonga
|
|
|
|
%dir %{_datadir}/%{majorname}-server
|
|
|
|
%dir %{_datadir}/%{majorname}-server/groonga
|
|
|
|
%dir %{_datadir}/%{majorname}-server/groonga-normalizer-mysql
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_datadir}/%{majorname}/mroonga/install.sql
|
|
|
|
%{_datadir}/%{majorname}/mroonga/uninstall.sql
|
|
|
|
%license %{_datadir}/%{majorname}/mroonga/COPYING
|
|
|
|
%license %{_datadir}/%{majorname}/mroonga/AUTHORS
|
|
|
|
%license %{_datadir}/%{majorname}-server/groonga-normalizer-mysql/lgpl-2.0.txt
|
|
|
|
%license %{_datadir}/%{majorname}-server/groonga/COPYING
|
|
|
|
%doc %{_datadir}/%{majorname}-server/groonga-normalizer-mysql/README.md
|
|
|
|
%doc %{_datadir}/%{majorname}-server/groonga/README.md
|
2017-12-09 01:34:41 +00:00
|
|
|
%endif
|
2020-01-17 09:29:09 +00:00
|
|
|
%if %{with galera}
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_datadir}/%{majorname}/wsrep.cnf
|
|
|
|
%{_datadir}/%{majorname}/wsrep_notify
|
2024-06-10 07:00:25 +00:00
|
|
|
%endif
|
2024-02-05 14:17:32 +00:00
|
|
|
%dir %{_datadir}/%{majorname}/policy
|
|
|
|
%dir %{_datadir}/%{majorname}/policy/selinux
|
|
|
|
%{_datadir}/%{majorname}/policy/selinux/README
|
|
|
|
%{_datadir}/%{majorname}/policy/selinux/mariadb-server.*
|
|
|
|
%{_datadir}/%{majorname}/policy/selinux/mariadb.*
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-29 20:53:14 +00:00
|
|
|
# More on socket activation or extra port service at
|
|
|
|
# https://mariadb.com/kb/en/systemd/
|
|
|
|
%{_unitdir}/%{daemon_name}.service
|
|
|
|
%{_unitdir}/%{daemon_name}@.service
|
|
|
|
%{_unitdir}/%{daemon_name}.socket
|
|
|
|
%{_unitdir}/%{daemon_name}@.socket
|
|
|
|
%{_unitdir}/%{daemon_name}-extra.socket
|
|
|
|
%{_unitdir}/%{daemon_name}-extra@.socket
|
|
|
|
%{_unitdir}/%{daemon_name}@bootstrap.service.d
|
2019-01-23 18:46:37 +00:00
|
|
|
|
2021-04-21 08:30:46 +00:00
|
|
|
%{_libexecdir}/mariadb-prepare-db-dir
|
|
|
|
%{_libexecdir}/mariadb-check-socket
|
|
|
|
%{_libexecdir}/mariadb-check-upgrade
|
|
|
|
%{_libexecdir}/mariadb-scripts-common
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2015-03-03 20:28:20 +00:00
|
|
|
%attr(0755,mysql,mysql) %dir %{pidfiledir}
|
2014-12-06 08:00:06 +00:00
|
|
|
%attr(0755,mysql,mysql) %dir %{dbdatadir}
|
2014-07-23 13:26:28 +00:00
|
|
|
%attr(0750,mysql,mysql) %dir %{logfiledir}
|
2018-03-06 15:11:37 +00:00
|
|
|
# This does what it should.
|
|
|
|
# RPMLint error "conffile-without-noreplace-flag /var/log/mariadb/mariadb.log" is false positive.
|
2020-11-12 02:40:55 +00:00
|
|
|
%attr(0660,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
|
2014-07-24 08:00:33 +00:00
|
|
|
%config(noreplace) %{logrotateddir}/%{daemon_name}
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_tmpfilesdir}/%{majorname}.conf
|
|
|
|
%{_sysusersdir}/%{majorname}.conf
|
2017-12-11 11:55:15 +00:00
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with cracklib}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-cracklib-password-check
|
2017-11-13 08:18:22 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/cracklib_password_check.so
|
|
|
|
%{_datadir}/selinux/packages/targeted/%{majorname}-plugin-cracklib-password-check.pp
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with backup}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-backup
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/maria{,db-}backup
|
2017-11-13 08:18:22 +00:00
|
|
|
%{_bindir}/mbstream
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/maria{,db-}backup.1*
|
2018-10-05 17:44:01 +00:00
|
|
|
%{_mandir}/man1/mbstream.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with rocksdb}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-rocksdb-engine
|
2017-11-13 08:18:22 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/rocksdb.cnf
|
2018-03-01 21:24:40 +00:00
|
|
|
%{_bindir}/myrocks_hotbackup
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/{mysql_,mariadb-}ldb
|
2017-11-13 08:18:22 +00:00
|
|
|
%{_bindir}/sst_dump
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/ha_rocksdb.so
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/{mysql_,mariadb-}ldb.1*
|
2020-04-09 01:42:54 +00:00
|
|
|
%{_mandir}/man1/myrocks_hotbackup.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with gssapi}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-gssapi-server
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/auth_gssapi.so
|
2017-11-13 08:18:22 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
|
|
|
|
%endif
|
|
|
|
|
2021-03-17 04:16:47 +00:00
|
|
|
%if %{with pam}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-pam
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/{auth_pam_v1.so,auth_pam.so}
|
|
|
|
%attr(0755,root,root) %dir %{_libdir}/%{majorname}/plugin/auth_pam_tool_dir
|
2021-03-17 04:16:47 +00:00
|
|
|
# SUID-to-root binary. Access MUST be restricted (https://jira.mariadb.org/browse/MDEV-25126)
|
2024-02-05 14:17:32 +00:00
|
|
|
%attr(4750,root,mysql) %{_libdir}/%{majorname}/plugin/auth_pam_tool_dir/auth_pam_tool
|
2021-03-17 04:16:47 +00:00
|
|
|
%{_libdir}/security/pam_user_map.so
|
2021-08-03 13:18:59 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/security/user_map.conf
|
2021-03-17 04:16:47 +00:00
|
|
|
%endif
|
|
|
|
|
2017-11-13 08:18:22 +00:00
|
|
|
%if %{with sphinx}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-sphinx-engine
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/ha_sphinx.so
|
2017-11-13 08:18:22 +00:00
|
|
|
%endif
|
|
|
|
|
2014-07-21 13:01:30 +00:00
|
|
|
%if %{with oqgraph}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-oqgraph-engine
|
2014-07-21 13:01:30 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/oqgraph.cnf
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/ha_oqgraph.so
|
2014-07-21 13:01:30 +00:00
|
|
|
%endif
|
|
|
|
|
2014-09-24 13:53:15 +00:00
|
|
|
%if %{with connect}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-connect-engine
|
2014-09-24 13:53:15 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/connect.cnf
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/ha_connect.so
|
2014-09-24 13:53:15 +00:00
|
|
|
%endif
|
|
|
|
|
2021-02-10 06:42:31 +00:00
|
|
|
%if %{with s3}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-s3-engine
|
2021-02-10 06:42:31 +00:00
|
|
|
%{_bindir}/aria_s3_copy
|
|
|
|
%{_mandir}/man1/aria_s3_copy.1*
|
|
|
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/s3.cnf
|
2024-02-05 14:17:32 +00:00
|
|
|
%{_libdir}/%{majorname}/plugin/ha_s3.so
|
2021-02-10 06:42:31 +00:00
|
|
|
%endif
|
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-server-utils
|
2017-05-24 09:25:52 +00:00
|
|
|
# Perl utilities
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/mysql{_convert_table_format,dumpslow,_fix_extensions,hotcopy,_setpermission}
|
|
|
|
%{_bindir}/mariadb-{convert-table-format,dumpslow,fix-extensions,hotcopy,setpermission}
|
|
|
|
%{_bindir}/{mysqld_,mariadbd-}multi
|
|
|
|
|
|
|
|
%{_mandir}/man1/mysql{_convert_table_format,dumpslow,_fix_extensions,hotcopy,_setpermission}.1*
|
|
|
|
%{_mandir}/man1/mariadb-{convert-table-format,dumpslow,fix-extensions,hotcopy,setpermission}.1*
|
|
|
|
%{_mandir}/man1/{mysqld_,mariadbd-}multi.1*
|
2017-05-24 09:25:52 +00:00
|
|
|
# Utilities that can be used remotely
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/{mysql_,mariadb-}upgrade
|
2017-01-24 09:59:46 +00:00
|
|
|
%{_bindir}/perror
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/{mysql_,mariadb-}upgrade.1*
|
2017-01-24 09:59:46 +00:00
|
|
|
%{_mandir}/man1/perror.1*
|
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with devel}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-devel
|
2017-09-20 12:25:36 +00:00
|
|
|
%{_includedir}/*
|
2013-07-19 12:37:02 +00:00
|
|
|
%{_datadir}/aclocal/mysql.m4
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_libdir}/pkgconfig/*mariadb.pc
|
2015-01-27 16:27:50 +00:00
|
|
|
%if %{with clibrary}
|
2023-12-18 05:11:50 +00:00
|
|
|
%{_mandir}/man3/*
|
2018-03-06 15:11:37 +00:00
|
|
|
%{_libdir}/{libmysqlclient.so.18,libmariadb.so,libmysqlclient.so,libmysqlclient_r.so}
|
2017-09-20 12:25:36 +00:00
|
|
|
%{_bindir}/mysql_config*
|
|
|
|
%{_bindir}/mariadb_config*
|
2020-11-06 01:34:10 +00:00
|
|
|
%{_bindir}/mariadb-config
|
2017-11-03 02:41:33 +00:00
|
|
|
%{_libdir}/libmariadb.so
|
|
|
|
%{_libdir}/libmysqlclient.so
|
|
|
|
%{_libdir}/libmysqlclient_r.so
|
2017-05-23 13:14:48 +00:00
|
|
|
%{_mandir}/man1/mysql_config*
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2017-09-20 12:25:36 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with embedded}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-embedded
|
2018-03-11 01:44:01 +00:00
|
|
|
%{_libdir}/libmariadbd.so.*
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-embedded-devel
|
2017-11-03 02:41:33 +00:00
|
|
|
%{_libdir}/libmysqld.so
|
2018-03-11 01:44:01 +00:00
|
|
|
%{_libdir}/libmariadbd.so
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
2014-07-23 14:37:14 +00:00
|
|
|
%if %{with test}
|
2024-01-31 18:48:36 +00:00
|
|
|
%files -n %{pkgname}-test
|
2018-06-27 14:01:22 +00:00
|
|
|
%if %{with embedded}
|
2018-07-10 17:33:27 +00:00
|
|
|
%{_bindir}/test-connect-t
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
|
|
|
|
%{_bindir}/{mariadb-client-test-embedded,mariadb-test-embedded}
|
|
|
|
%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
|
|
|
|
%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
|
2018-06-27 14:01:22 +00:00
|
|
|
%endif
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_bindir}/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}
|
2013-01-10 17:35:12 +00:00
|
|
|
%{_bindir}/my_safe_process
|
|
|
|
%attr(-,mysql,mysql) %{_datadir}/mysql-test
|
2020-01-17 09:47:52 +00:00
|
|
|
%{_mandir}/man1/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}.1*
|
2017-11-13 08:18:22 +00:00
|
|
|
%{_mandir}/man1/my_safe_process.1*
|
|
|
|
%{_mandir}/man1/mysql-stress-test.pl.1*
|
|
|
|
%{_mandir}/man1/mysql-test-run.pl.1*
|
2014-07-23 14:37:14 +00:00
|
|
|
%endif
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-06-10 21:07:24 +00:00
|
|
|
* Mon Jun 10 2024 Michal Schorm <mschorm@redhat.com> - 3:10.11.8-3
|
|
|
|
- Bump release for rebuild
|
|
|
|
|
2024-06-09 06:43:07 +00:00
|
|
|
* Sun Jun 09 2024 Michal Schorm <mschorm@redhat.com> - 3:10.11.8-2
|
|
|
|
- Add wsrep_sst_rsync_tunnel script
|
|
|
|
|
2024-06-07 09:21:55 +00:00
|
|
|
* Fri Jun 07 2024 Michal Schorm <mschorm@redhat.com> - 3:10.11.8-1
|
|
|
|
- Rebase to 10.11.8
|
|
|
|
|
2024-06-06 21:00:57 +00:00
|
|
|
* Thu Jun 06 2024 Michal Schorm <mschorm@redhat.com> - 3:10.11.7-1
|
|
|
|
- Rebase to 10.11.7
|
|
|
|
- Patch 10 removed, the main.ssl_cipher test has been fixed
|
|
|
|
and re-enabled by upstream and now passes on all architectures
|
|
|
|
|
2024-04-09 03:18:44 +00:00
|
|
|
* Tue Apr 09 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 3:10.11.6-4
|
|
|
|
- Fix my.cnf dependency
|
|
|
|
|
2024-02-07 11:54:21 +00:00
|
|
|
* Wed Feb 7 2024 Filip Janus <fjanus@redhat.com> - 3:10.11.6-3
|
|
|
|
- Rename macros related to demodularization
|
2024-06-06 21:00:57 +00:00
|
|
|
|
2024-01-31 18:48:36 +00:00
|
|
|
* Wed Jan 31 2024 Filip Janus <fjanus@redhat.com> - 3:10.11.6-2
|
|
|
|
- Apply demodularization
|
|
|
|
- the default stream builds mariadb.rpm
|
|
|
|
- the non-default stream builds mariadbXX.XX.rpm
|
|
|
|
|
2023-12-18 05:43:17 +00:00
|
|
|
* Thu Jan 25 2024 Michal Schorm <mschorm@redhat.com> - 3:10.11.6-1
|
|
|
|
- Rebase to 10.11.6
|
|
|
|
|
2023-12-18 05:37:40 +00:00
|
|
|
* Thu Jan 25 2024 Michal Schorm <mschorm@redhat.com> - 3:10.10.7-1
|
|
|
|
- Rebase to 10.10.7
|
|
|
|
|
2023-12-18 05:26:39 +00:00
|
|
|
* Thu Jan 25 2024 Michal Schorm <mschorm@redhat.com> - 3:10.9.8-1
|
|
|
|
- Rebase to 10.9.8
|
|
|
|
|
2023-07-04 12:20:39 +00:00
|
|
|
* Thu Jan 25 2024 Michal Schorm <mschorm@redhat.com> - 3:10.8.8-1
|
|
|
|
- Rebase to 10.8.8
|
|
|
|
|
2023-07-04 09:39:01 +00:00
|
|
|
* Thu Jan 25 2024 Michal Schorm <mschorm@redhat.com> - 3:10.7.8-1
|
|
|
|
- Rebase to 10.7.8
|
|
|
|
|
2023-12-18 05:11:50 +00:00
|
|
|
* Thu Jan 25 2024 Michal Schorm <mschorm@redhat.com> - 3:10.6.16-1
|
|
|
|
- Rebase to 10.6.16
|
|
|
|
|
2024-01-25 05:47:16 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.23-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 06:54:41 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.23-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-11-16 01:21:51 +00:00
|
|
|
* Thu Nov 16 2023 Michal Schorm <mschorm@redhat.com> - 3:10.5.23-1
|
|
|
|
- Rebase to 10.5.23
|
|
|
|
|
2023-09-04 10:19:22 +00:00
|
|
|
* Mon Sep 04 2023 Michal Schorm <mschorm@redhat.com> - 3:10.5.22-1
|
|
|
|
- Rebase to 10.5.22
|
|
|
|
|
2023-07-27 07:20:14 +00:00
|
|
|
* Wed Jul 26 2023 Michal Schorm <mschorm@redhat.com> - 3:10.5.21-1
|
|
|
|
- Rebase to version 10.5.21
|
|
|
|
|
2023-07-20 13:45:39 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.20-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-01 08:10:28 +00:00
|
|
|
* Tue May 30 2023 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.20-1
|
|
|
|
- Rebase to version 10.5.20
|
|
|
|
- Patches 11 and 13 were upstreamed
|
|
|
|
|
2023-03-24 15:51:58 +00:00
|
|
|
* Fri Apr 28 2023 Siddhesh Poyarekar <siddhesh@redhat.com> - 3:10.5.19-2
|
|
|
|
- Use _fortify_level to disable fortification in debug builds.
|
|
|
|
|
2023-04-28 15:48:52 +00:00
|
|
|
* Fri Apr 28 2023 Michal Schorm <mschorm@redhat.com> - 3:10.5.19-1
|
|
|
|
- Rebase to 10.5.19
|
|
|
|
|
2023-04-11 08:07:18 +00:00
|
|
|
* Tue Apr 11 2023 Florian Weimer <fweimer@redhat.com> - 3:10.5.18-3
|
|
|
|
- Port to C99
|
|
|
|
|
2023-01-19 18:56:49 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.18-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-16 11:50:28 +00:00
|
|
|
* Wed Nov 16 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.18-1
|
|
|
|
- Rebase to 10.5.18
|
|
|
|
- OpenSSL 3 patch upstreamed
|
|
|
|
|
2022-07-21 20:30:31 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 11:41:31 +00:00
|
|
|
* Mon Jun 13 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.16-2
|
|
|
|
- Release bump for rebuild
|
|
|
|
|
2022-05-23 08:29:11 +00:00
|
|
|
* Mon May 23 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.16-1
|
|
|
|
- Rebase to 10.5.16
|
|
|
|
|
2022-02-22 04:03:33 +00:00
|
|
|
* Sun Feb 20 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.15-1
|
|
|
|
- Rebase to 10.5.15
|
|
|
|
|
2022-02-07 21:41:02 +00:00
|
|
|
* Mon Feb 07 2022 Honza Horak <hhorak@redhat.com> - 3:10.5.13-3
|
|
|
|
- Fix md5 in FIPS mode with OpenSSL 3.0.0
|
|
|
|
Resolves: #2050541
|
|
|
|
|
2022-01-20 18:41:24 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-02 10:16:46 +00:00
|
|
|
* Thu Dec 02 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.13-1
|
|
|
|
- Rebase to 10.5.13
|
|
|
|
|
2021-09-14 17:07:41 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 3:10.5.12-3
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-08-26 10:57:36 +00:00
|
|
|
* Thu Aug 26 2021 Marek Kulik <mkulik@redhat.com> - 3:10.5.12-2
|
|
|
|
- Add patch for mysql_setpermissions: BZ#1976224
|
|
|
|
|
2021-08-06 17:26:52 +00:00
|
|
|
* Sat Aug 07 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.12-1
|
|
|
|
- Rebase to 10.5.12
|
|
|
|
|
2021-08-03 13:18:59 +00:00
|
|
|
* Tue Aug 03 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.11-4
|
|
|
|
- Set user_map.conf file to be noreplace config file
|
|
|
|
- Related: BZ#1989534
|
|
|
|
|
2021-07-22 13:45:05 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-14 09:10:13 +00:00
|
|
|
* Wed Jul 14 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.11-2
|
|
|
|
- Rebuild against pcre2-10.37 (bug #1965025)
|
|
|
|
|
2021-07-01 07:23:24 +00:00
|
|
|
* Thu Jul 01 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.11-1
|
|
|
|
- Rebase to 10.5.11
|
|
|
|
|
2021-05-12 02:36:25 +00:00
|
|
|
* Wed May 12 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.10-2
|
|
|
|
- Use modified sources instead of the upstream original ones
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue May 11 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.10-1
|
2021-05-11 03:09:46 +00:00
|
|
|
- Rebase to 10.5.10
|
|
|
|
|
2021-03-30 18:37:59 +00:00
|
|
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 3:10.5.9-5
|
|
|
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Mar 18 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-4
|
2021-03-18 04:51:13 +00:00
|
|
|
- Move PAM plugin to standalone subpackage
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Mar 18 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-3
|
2021-03-18 03:20:34 +00:00
|
|
|
- Fixed permissions on files from PAMv2 plugin
|
|
|
|
|
2021-03-02 15:13:31 +00:00
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3:10.5.9-2
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Wed Feb 24 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-1
|
2021-02-24 13:43:24 +00:00
|
|
|
- Rebase to 10.5.9
|
|
|
|
|
2021-02-16 15:56:17 +00:00
|
|
|
* Tue Feb 16 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.8-8
|
|
|
|
- Replace the tokudb Obsoletes to the right place
|
|
|
|
- Resolves: #1928757
|
|
|
|
|
2021-02-12 07:45:05 +00:00
|
|
|
* Fri Feb 12 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-7
|
|
|
|
- Enhance the logrotate script
|
|
|
|
- Resolves: #1683981
|
|
|
|
|
2021-02-12 05:47:53 +00:00
|
|
|
* Fri Feb 12 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-6
|
|
|
|
- Fix Perl database driver dependency
|
|
|
|
|
2021-02-10 06:42:31 +00:00
|
|
|
* Wed Feb 10 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-5
|
|
|
|
- Add support for S3 storage engine
|
|
|
|
|
2018-08-06 16:08:19 +00:00
|
|
|
* Thu Jan 28 2021 Honza Horak <hhorak@redhat.com> - 3:10.5.8-4
|
|
|
|
- For compatibility with upstream RPMs, create mysqld symlink in sbin
|
|
|
|
|
2021-01-26 19:15:47 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.5.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Dec 11 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.8-2
|
2021-01-12 12:32:18 +00:00
|
|
|
- Add tokudb-engine to obsoletes
|
|
|
|
- Resolves: #1906559
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Wed Nov 11 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-1
|
2020-11-12 00:51:15 +00:00
|
|
|
- Rebase to 10.5.8
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Nov 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.7-1
|
2020-11-06 01:34:10 +00:00
|
|
|
- Rebase to 10.5.7
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Mon Sep 21 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.5-1
|
2020-09-21 09:31:59 +00:00
|
|
|
- Rebase to 10.5.5
|
2020-09-03 11:39:29 +00:00
|
|
|
- Fix mariadb-ownsetup
|
|
|
|
- Add manual for aria_s3_copy
|
2020-09-21 09:31:59 +00:00
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Wed Sep 16 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.4-1
|
2020-09-18 11:34:42 +00:00
|
|
|
- Rebase to 10.5.4
|
|
|
|
- Add spider.cnf to the server config files
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Mon Sep 14 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.3-1
|
2020-09-14 07:55:21 +00:00
|
|
|
- Rebase to 10.5.3
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Sep 11 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.2-1
|
2020-04-09 01:42:54 +00:00
|
|
|
- Test rebase to 10.5.2 - Beta
|
|
|
|
- TokuDB SE has been deprecated
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Sep 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.1-1
|
2020-09-11 07:35:04 +00:00
|
|
|
- Test rebase to 10.5.1 - Beta
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Sep 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.0-1
|
2020-09-11 07:33:59 +00:00
|
|
|
- Test rebase to 10.5.0 - Alpha
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Sun Sep 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-3
|
2020-09-06 21:17:06 +00:00
|
|
|
- Resolves: #1851605
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Sep 03 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-2
|
2020-09-03 11:39:29 +00:00
|
|
|
- Resolves: #1873999, #1874446
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Aug 20 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-1
|
2020-08-20 12:12:14 +00:00
|
|
|
- Rebase to 10.4.14
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Aug 18 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-7
|
2020-08-18 12:59:54 +00:00
|
|
|
- Do CMake out-of-source builds
|
|
|
|
- Force the CMake change regarding the in-source builds also to F31 and F32
|
|
|
|
- Use CMake macros instead of cmake & make direct commands
|
|
|
|
- %%cmake macro covers the %%{set_build_flags}, so they are not needed
|
|
|
|
Other changes to compile flags must be specified *after* the %%cmake macro
|
|
|
|
|
2020-08-05 20:26:56 +00:00
|
|
|
* Wed Aug 05 2020 Jeff Law <law@redhat.com> - 3:10.4.13-6
|
|
|
|
- Disable LTO
|
|
|
|
|
2020-08-01 04:24:00 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.13-5
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 06:52:51 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.13-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Jul 14 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-3
|
2020-07-14 13:04:03 +00:00
|
|
|
- Make conflicts between corresponding mariadb and mysql packages explicit
|
|
|
|
- Get rid of the Conflicts macro, it was intended to mark conflicts with
|
|
|
|
*upstream* packages
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-2
|
2020-06-18 10:55:01 +00:00
|
|
|
- Extend Perl "Requires" filtering to wsrep
|
|
|
|
Resolves: #1845376
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-1
|
2020-06-08 07:06:06 +00:00
|
|
|
- Rebase to 10.4.13
|
|
|
|
|
2020-05-24 08:48:58 +00:00
|
|
|
* Sun May 24 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.4.12-6
|
|
|
|
- Remove mariadb_rpl.h from includedir to prevent conflict with connector-c's libraries
|
|
|
|
|
2020-04-02 11:32:14 +00:00
|
|
|
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 3:10.4.12-5
|
|
|
|
- Fix string quoting for rpm >= 4.16
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Mar 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3:10.4.12-4
|
2020-03-27 07:37:56 +00:00
|
|
|
- Add perl dependencies needed for tests
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Mon Mar 16 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-3
|
2020-03-16 03:58:29 +00:00
|
|
|
- Rebase mariadb-connector-c git submodule to commit fbf1db6
|
|
|
|
For fix: https://jira.mariadb.org/browse/CONC-441
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Mar 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-2
|
2020-03-10 08:29:49 +00:00
|
|
|
- Update the fix for building in the debug mode
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Feb 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-1
|
2020-02-07 13:34:26 +00:00
|
|
|
- Rebase to 10.4.12
|
|
|
|
|
2020-01-29 12:03:48 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Jan 17 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.11-1
|
2020-01-17 09:09:06 +00:00
|
|
|
- Rebase to 10.4.11
|
|
|
|
Related: #1756468
|
2020-01-17 09:11:46 +00:00
|
|
|
- Remove 'bench' subpackage. Upstream no longer maintains it.
|
2020-01-17 09:29:09 +00:00
|
|
|
- Use Valgrind for debug builds
|
|
|
|
- Remove ancient obsoletions
|
|
|
|
- Tweak build flags
|
|
|
|
- Add patch for auth_pam_tool directory
|
2020-01-17 09:09:06 +00:00
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Jan 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.3.21-1
|
2020-01-10 03:24:50 +00:00
|
|
|
- Rebase to 10.3.21
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Mon Nov 18 2019 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.3.20-3
|
2019-11-18 13:22:53 +00:00
|
|
|
- Change path of groonga's packaged files
|
|
|
|
- Fix bz#1763287
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Nov 12 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.20-2
|
2019-11-12 14:53:47 +00:00
|
|
|
- Rebuild on top fo new mariadb-connector-c
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Mon Nov 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.20-1
|
2019-11-11 10:52:05 +00:00
|
|
|
- Rebase to 10.3.20
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Wed Nov 06 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.19-1
|
2019-11-06 14:15:33 +00:00
|
|
|
- Rebase to 10.3.19
|
|
|
|
|
2019-10-31 20:47:00 +00:00
|
|
|
* Thu Oct 31 2019 Carl George <carl@george.computer> - 3:10.3.18-1
|
|
|
|
- Rebase to 10.3.18
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Wed Sep 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-3
|
2019-09-11 11:00:52 +00:00
|
|
|
- Disable building of the ed25519 client plugin.
|
|
|
|
From now on it will be shipped by 'mariadb-connector-c' package
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Fri Sep 06 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-2
|
2019-09-06 02:31:21 +00:00
|
|
|
- Fix the debug build
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Aug 01 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-1
|
2019-08-01 18:42:47 +00:00
|
|
|
- Rebase to 10.3.17
|
|
|
|
|
2019-07-25 15:53:07 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.16-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Jun 18 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.16-1
|
2019-06-18 20:32:37 +00:00
|
|
|
- Rebase to 10.3.16
|
|
|
|
- Added patch for armv7hl builds of spider SE
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Jun 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.15-1
|
2019-06-11 20:53:26 +00:00
|
|
|
- Rebase to 10.3.15
|
|
|
|
- CVEs fixed:
|
|
|
|
CVE-2019-2510 CVE-2019-2537
|
|
|
|
- CVEs fixed:
|
|
|
|
CVE-2019-2614 CVE-2019-2627 CVE-2019-2628
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Tue Jun 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-15
|
2019-06-11 14:37:44 +00:00
|
|
|
- Remove Cassandra subpackage; it is no longer developed
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Mar 21 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-14
|
2019-05-10 01:48:29 +00:00
|
|
|
- Fix building of TokuDB with Jemalloc 5
|
2019-05-10 02:51:02 +00:00
|
|
|
- Fix building with / without lz4
|
2019-05-10 01:48:29 +00:00
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Thu Mar 21 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-13
|
2019-03-21 10:38:58 +00:00
|
|
|
- Add patch for mysqld_safe --dry-run
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Wed Mar 20 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-12
|
2019-03-20 17:07:41 +00:00
|
|
|
- Add patch for server pkgconfig file location
|
|
|
|
|
2021-05-11 19:40:39 +00:00
|
|
|
* Sat Feb 23 2019 Pavel Raiskup <praiskup@redhat.com> - 3:10.3.12-11
|
2019-02-23 09:57:40 +00:00
|
|
|
- conditionally depend on selinux-policy-targeted again (rhbz#1665643)
|
|
|
|
|
2019-02-11 09:57:03 +00:00
|
|
|
* Mon Feb 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-10
|
|
|
|
- Disable the requirement of mysql-selinux, until its bug is solved for good; #1665643
|
|
|
|
|
2019-02-01 09:39:27 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.12-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-30 06:25:50 +00:00
|
|
|
* Wed Jan 30 2019 Honza Horak <hhorak@redhat.com> - 3:10.3.12-8
|
|
|
|
- Fix several SSL tests that failed because of different SSL cipher expectation
|
|
|
|
|
2019-01-23 18:46:37 +00:00
|
|
|
* Wed Jan 23 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-7
|
|
|
|
- Fix TokuDB Jemalloc ld_preload
|
|
|
|
Resolves: #1668375
|
|
|
|
- Tweak macros usage
|
|
|
|
|
2019-01-18 23:57:35 +00:00
|
|
|
* Sat Jan 19 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-6
|
|
|
|
- Enable mysql-selinux requirement
|
|
|
|
- Tweak the testsuite execution, speed up the testsuite on rebuilds
|
2019-01-21 12:56:44 +00:00
|
|
|
- Change weak dependency of RocksDB and TokuDB storage engines
|
|
|
|
from Recommends to Suggests
|
|
|
|
- Add "Suggests" weak dependencies to more storage engines
|
2019-01-18 23:57:35 +00:00
|
|
|
|
2019-01-16 11:48:02 +00:00
|
|
|
* Wed Jan 16 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-5
|
|
|
|
- Tweak handling of the mysql-selinux requirement, leave disabled due to #1665643
|
|
|
|
|
2019-01-14 18:08:29 +00:00
|
|
|
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 3:10.3.12-4
|
|
|
|
- Rebuilt for libcrypt.so.2 (#1666033)
|
|
|
|
|
2019-01-12 01:17:14 +00:00
|
|
|
* Fri Jan 11 2019 Kevin Fenzi <kevin@scrye.com> - 3:10.3.12-3
|
|
|
|
- Drop mysql-selinux recommends for now due to bug #1665643
|
|
|
|
|
2019-01-09 20:25:26 +00:00
|
|
|
* Wed Jan 09 2019 Honza Horak <hhorak@redhat.com> - 3:10.3.12-2
|
|
|
|
- Use specific python shebang
|
|
|
|
|
2019-01-09 08:56:03 +00:00
|
|
|
* Tue Jan 08 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-1
|
|
|
|
- Rebase to 10.3.12
|
|
|
|
- Disable building of the caching_sha2_password plugin, it is shipped
|
|
|
|
by 'mariadb-connector-c'
|
|
|
|
- Remove libmariadb.pc, is it shipped by 'mariadb-connector-c'
|
|
|
|
|
2018-12-10 12:21:07 +00:00
|
|
|
* Mon Dec 10 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.11-1
|
|
|
|
- Rebase to 10.3.11
|
|
|
|
- CVEs fixed:
|
|
|
|
CVE-2018-3282, CVE-2016-9843, CVE-2018-3174, CVE-2018-3143, CVE-2018-3156
|
|
|
|
CVE-2018-3251, CVE-2018-3185, CVE-2018-3277, CVE-2018-3162, CVE-2018-3173
|
|
|
|
CVE-2018-3200, CVE-2018-3284
|
|
|
|
|
2018-10-05 17:44:01 +00:00
|
|
|
* Fri Oct 05 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.10-1
|
|
|
|
- Rebase to 10.3.10
|
|
|
|
|
2018-09-04 15:18:09 +00:00
|
|
|
* Tue Sep 04 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.9-2
|
|
|
|
- Fix parallel installability of x86_64 and i686 devel packages
|
|
|
|
|
2018-08-22 08:35:55 +00:00
|
|
|
* Mon Aug 20 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.9-1
|
|
|
|
- Rebase to 10.3.9
|
|
|
|
|
2018-08-10 07:36:12 +00:00
|
|
|
* Fri Aug 10 2018 Petr Lautrbach <plautrba@redhat.com> - 3:10.3.8-5
|
|
|
|
- Update mariadb-server-galera sub-package to require the correct package with /usr/sbin/semanage
|
|
|
|
|
2018-07-25 06:53:34 +00:00
|
|
|
* Wed Jul 25 2018 Honza Horak <hhorak@redhat.com> - 3:10.3.8-4
|
|
|
|
- Do not build config on systems where mariadb-connector-c-config exists instead
|
|
|
|
|
2018-07-17 22:39:30 +00:00
|
|
|
* Tue Jul 17 2018 Honza Horak <hhorak@redhat.com> - 3:10.3.8-3
|
|
|
|
- Move config files mysql-clients.cnf and enable_encryption.preset to correct
|
|
|
|
sub-packages, similar to what upstream does
|
|
|
|
|
2018-07-13 09:47:31 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-10 17:33:27 +00:00
|
|
|
* Tue Jul 03 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.8-1
|
|
|
|
- Rebase to 10.3.8
|
|
|
|
- Build TokuDB with jemalloc
|
|
|
|
|
2018-06-27 14:01:22 +00:00
|
|
|
* Wed Jun 27 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.7-2
|
|
|
|
- Rebase to 10.3.7
|
|
|
|
- Remove the galera obsoletes
|
|
|
|
|
2018-06-05 08:54:13 +00:00
|
|
|
* Tue Jun 05 2018 Honza Horak <hhorak@redhat.com> - 3:10.2.15-2
|
|
|
|
- Use mysqladmin for checking the socket
|
2018-06-11 23:22:50 +00:00
|
|
|
- Jemalloc dependency moved to the TokuDB subpackage.
|
|
|
|
CMake jemalloc option removed, not used anymore.
|
|
|
|
The server doesn't need jemalloc since 10.2: https://jira.mariadb.org/browse/MDEV-11059
|
|
|
|
- Build MariaDB with TokuDB without Jemalloc.
|
2018-06-05 08:54:13 +00:00
|
|
|
|
2018-05-27 23:52:06 +00:00
|
|
|
* Wed May 23 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.15-1
|
|
|
|
- Rebase to 10.2.15
|
|
|
|
- CVEs fixed: #1568962
|
|
|
|
CVE-2018-2755 CVE-2018-2761 CVE-2018-2766 CVE-2018-2771 CVE-2018-2781
|
|
|
|
CVE-2018-2782 CVE-2018-2784 CVE-2018-2787 CVE-2018-2813 CVE-2018-2817
|
|
|
|
CVE-2018-2819 CVE-2018-2786 CVE-2018-2759 CVE-2018-2777 CVE-2018-2810
|
|
|
|
|
2018-03-29 01:26:57 +00:00
|
|
|
* Thu Mar 29 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.14-1
|
|
|
|
- Rebase to 10.2.14
|
|
|
|
- Update testsuite run for SSL self signed certificates
|
|
|
|
|
2018-03-06 15:11:37 +00:00
|
|
|
* Tue Mar 6 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.13-2
|
|
|
|
- Further fix of ldconfig scriptlets for F27
|
|
|
|
- Fix hardcoded paths, move unversioned libraries and symlinks to the devel subpackage
|
|
|
|
|
2018-03-01 21:24:40 +00:00
|
|
|
* Thu Mar 1 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.13-1
|
|
|
|
- Rebase to 10.2.13
|
|
|
|
|
2018-02-26 15:12:02 +00:00
|
|
|
* Mon Feb 26 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-8
|
|
|
|
- SPECfile refresh, RHEL6, SySV init and old fedora stuff removed
|
|
|
|
|
2018-02-25 10:47:21 +00:00
|
|
|
* Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-7
|
|
|
|
- Rebuilt for ldconfig_post and ldconfig_postun bug
|
|
|
|
Related: #1548331
|
|
|
|
|
2018-02-08 00:57:05 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.12-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-26 17:26:43 +00:00
|
|
|
* Fri Jan 26 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-5
|
|
|
|
- Use '-ldl' compiler flag when associated library used
|
|
|
|
Resolves: #1538990
|
|
|
|
|
2018-01-25 10:59:14 +00:00
|
|
|
* Thu Jan 25 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-4
|
|
|
|
- Fix the upgrade path. Build TokuDB subpackage again, but build a unsupported
|
|
|
|
configuration by upstream (without Jemalloc).
|
|
|
|
Jemmalloc has been updated to version 5, which isn't backwards compatible.
|
2018-01-25 11:09:50 +00:00
|
|
|
- Use downstream tmpfiles instead of the upstream one
|
|
|
|
Related: #1538066
|
2018-01-25 10:59:14 +00:00
|
|
|
|
2018-01-20 22:07:11 +00:00
|
|
|
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3:10.2.12-3
|
|
|
|
- Rebuilt for switch to libxcrypt
|
|
|
|
|
2017-11-23 21:15:32 +00:00
|
|
|
* Thu Jan 11 2018 Honza Horak <hhorak@redhat.com> - 3:10.2.12-1
|
|
|
|
- Do not build connect plugin with mongo and jdbc connectors
|
2017-09-24 10:55:50 +00:00
|
|
|
- Support MYSQLD_OPTS and _WSREP_NEW_CLUSTER env vars in init script,
|
|
|
|
same as it is done in case of systemd unit file
|
|
|
|
Related: #1455850
|
2017-11-07 11:24:46 +00:00
|
|
|
- Print the same messages as before when starting the service in SysV init,
|
|
|
|
to not scare users
|
|
|
|
Related: #1463411
|
2017-11-23 21:15:32 +00:00
|
|
|
|
2017-12-11 11:55:15 +00:00
|
|
|
* Wed Jan 10 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-1
|
|
|
|
- Rebase to 10.2.12
|
|
|
|
- Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 removed
|
|
|
|
- TokuDB disabled
|
|
|
|
|
2017-12-11 11:55:15 +00:00
|
|
|
* Mon Dec 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.11-2
|
|
|
|
- Temporary fix for #1523875 removed, bug in Annobin fixed
|
|
|
|
Resolves: #1523875
|
|
|
|
|
2017-12-09 01:34:41 +00:00
|
|
|
* Sat Dec 09 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.11-1
|
|
|
|
- Rebase to 10.2.11
|
|
|
|
- Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 introduced
|
|
|
|
- Temporary fix for #1523875 intoruced
|
2017-12-11 11:55:15 +00:00
|
|
|
Related: #1523875
|
2017-12-09 01:34:41 +00:00
|
|
|
|
2017-12-06 08:51:51 +00:00
|
|
|
* Wed Dec 06 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.10-2
|
2017-11-23 14:06:29 +00:00
|
|
|
- Fix PID file location
|
|
|
|
Related: #1483331, #1515779
|
2017-12-06 08:51:51 +00:00
|
|
|
- Remove 'Group' tags as they should not be used any more
|
|
|
|
Related: https://fedoraproject.org/wiki/RPMGroups
|
2017-11-23 14:06:29 +00:00
|
|
|
|
2017-11-20 13:38:51 +00:00
|
|
|
* Mon Nov 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.10-1
|
2017-11-03 02:41:33 +00:00
|
|
|
- Rebase to 10.2.10 version
|
|
|
|
- Patch 2: mariadb-install-test.patch has been incorporated by upstream
|
|
|
|
- Patch 8: mariadb-install-db-sharedir.patch; upstream started to use macros
|
|
|
|
- Update PCRE check
|
|
|
|
- Start using location libdir/mariadb for plugins
|
|
|
|
- Move libraries to libdir
|
2017-11-13 08:18:22 +00:00
|
|
|
- Divided to more sub-packages to match upstream's RPM list
|
|
|
|
Resolves: #1490401; #1400463
|
|
|
|
- Update of Cmake arguments to supported format
|
|
|
|
Related: https://lists.launchpad.net/maria-discuss/msg04852.html
|
2017-11-20 13:38:51 +00:00
|
|
|
- Remove false Provides
|
2017-11-03 02:41:33 +00:00
|
|
|
|
2017-10-05 17:05:24 +00:00
|
|
|
* Thu Oct 05 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-3
|
|
|
|
- Fix client library obsolete
|
|
|
|
Related: #1498956
|
|
|
|
- Enable testsuite again
|
2017-10-16 12:28:44 +00:00
|
|
|
- RPMLint error fix:
|
|
|
|
Remove unused python scripts which remained from TokuDB upstream
|
2017-10-07 22:35:13 +00:00
|
|
|
- RPMLint error fix: description line too long
|
2017-10-05 17:05:24 +00:00
|
|
|
|
2017-10-04 19:30:08 +00:00
|
|
|
* Wed Oct 04 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-2
|
|
|
|
- Fix of "with" and "without" macros, so they works
|
|
|
|
- Use 'iproute' dependency instead of 'net-tools'
|
|
|
|
Related: #1496131
|
|
|
|
- Set server package to own /usr/lib64/mysql directory
|
|
|
|
- Use correct obsolete, so upgrade from maridb 10.1 to 10.2 is possible
|
|
|
|
with dnf "--allowerasing" option
|
|
|
|
Related: #1497234
|
2017-10-05 12:33:14 +00:00
|
|
|
- Fix building with client library
|
2017-10-04 19:30:08 +00:00
|
|
|
|
2017-10-02 12:47:32 +00:00
|
|
|
* Thu Sep 28 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-1
|
|
|
|
- Rebase to 10.2.9
|
|
|
|
- Testsuite temorarly disabled in order to fast deploy critical fix
|
2017-10-04 19:30:08 +00:00
|
|
|
Related: #1497234
|
2017-10-02 12:47:32 +00:00
|
|
|
|
2017-09-26 11:21:24 +00:00
|
|
|
* Wed Sep 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.8-5
|
2017-09-20 12:25:36 +00:00
|
|
|
- Fix building without client library part
|
2017-09-20 12:47:03 +00:00
|
|
|
- Start building mariadb without client library part,
|
|
|
|
use mariadb-connector-c package >= 3.0 instead
|
2017-09-26 11:21:24 +00:00
|
|
|
- Use obosletes of "-libs" in "-common", if built without client library part
|
2017-09-20 12:25:36 +00:00
|
|
|
|
2017-07-18 16:53:41 +00:00
|
|
|
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-2
|
|
|
|
- Fix paths in galera_recovery and galera_new_cluster
|
|
|
|
Resolves: #1403416
|
2017-08-28 14:35:08 +00:00
|
|
|
- Support --defaults-group-suffix properly in systemd unit file
|
|
|
|
Resolves: #1485777
|
2017-08-09 11:41:46 +00:00
|
|
|
- Allow 4567 port for tcp as well
|
2017-08-09 06:18:28 +00:00
|
|
|
- Install mysql-wait-ready on RHEL-6 for the SysV init
|
2017-08-28 20:59:20 +00:00
|
|
|
- Run mysql-prepare-db-dir as non-root
|
2017-08-28 21:10:27 +00:00
|
|
|
- Sync mysql.init with community-mysql
|
2017-07-18 16:53:41 +00:00
|
|
|
|
2017-08-20 22:34:47 +00:00
|
|
|
* Sun Aug 20 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-1
|
2017-08-28 18:29:45 +00:00
|
|
|
- Rebase to 10.2.8
|
2017-08-20 22:34:47 +00:00
|
|
|
|
2017-08-03 03:04:46 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.7-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 20:52:11 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.7-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-25 16:10:46 +00:00
|
|
|
* Tue Jul 25 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.7-6
|
|
|
|
- Revert previous change, go back to libmariadb headers (RHBZ #1474764)
|
|
|
|
|
2017-07-21 21:56:38 +00:00
|
|
|
* Fri Jul 21 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.7-5
|
|
|
|
- Install correct headers (server, not client) - MDEV-13370
|
|
|
|
|
2017-07-19 15:50:44 +00:00
|
|
|
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 3:10.2.7-4
|
|
|
|
- Rebuilt for s390x binutils bug
|
|
|
|
|
2017-07-18 10:02:43 +00:00
|
|
|
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 3:10.2.7-3
|
|
|
|
- Rebuilt for Boost 1.64
|
|
|
|
|
2017-07-12 13:46:05 +00:00
|
|
|
* Thu Jul 13 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.7-2
|
|
|
|
- Remove mysql-wait-* scripts. They aren't needed when using systemd "Type=notify"
|
|
|
|
|
2017-07-13 12:12:13 +00:00
|
|
|
* Thu Jul 13 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.7-1
|
|
|
|
- Rebase to 10.2.7
|
|
|
|
- Get back mysql_config, its "--libmysqld-libs" is still needed
|
|
|
|
|
2017-07-12 22:40:34 +00:00
|
|
|
* Wed Jul 12 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.6-4
|
|
|
|
- Add manual Provides: for the libmysqlcient compat symlink
|
|
|
|
|
2017-07-12 19:10:28 +00:00
|
|
|
* Wed Jul 12 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.6-3
|
|
|
|
- Move libmysqlclient.so.18 compat link to -libs subpackage
|
|
|
|
|
2017-07-11 23:01:39 +00:00
|
|
|
* Tue Jul 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.6-2
|
|
|
|
- Disable Dtrace
|
2017-07-12 07:10:46 +00:00
|
|
|
- Disable Sphinx, circural dependency
|
2017-07-11 23:01:39 +00:00
|
|
|
|
2017-07-11 20:20:21 +00:00
|
|
|
* Tue Jul 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.6-1
|
|
|
|
- Rebase to 10.2.6
|
|
|
|
- SSL patch removed
|
|
|
|
- 'libmariadb.so.3' replaced 'limysqlclient.so.18.0.0', symlinks provided
|
|
|
|
- "make test" removed, it needs running server and same test are included in the testsuite
|
|
|
|
|
2017-07-11 12:11:08 +00:00
|
|
|
* Mon Jul 10 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.25-1
|
|
|
|
- Rebase to 10.1.25
|
|
|
|
- Disable plugins 'cracklib' and 'gssapi' by default
|
|
|
|
- Related: #1468028, #1464070
|
|
|
|
- Looks like the testsuite removes its 'var' content correctly,
|
|
|
|
no need to do that explicitly.
|
|
|
|
|
2017-07-07 10:22:23 +00:00
|
|
|
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 3:10.1.24-5
|
|
|
|
- Rebuild due to bug in RPM (RHBZ #1468476)
|
|
|
|
|
2017-06-19 08:31:54 +00:00
|
|
|
* Mon Jun 19 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-4
|
|
|
|
- Use "/run" location instead of "/var/run" symlink
|
|
|
|
- Related: #1455811
|
|
|
|
- Remove AppArmor files
|
|
|
|
|
2017-06-06 05:35:28 +00:00
|
|
|
* Fri Jun 09 2017 Honza Horak <hhorak@redhat.com> - 3:10.1.24-3
|
2017-06-07 14:01:09 +00:00
|
|
|
- Downstream script mariadb-prepare-db-dir fixed for CVE-2017-3265
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1458940
|
2017-06-07 14:01:09 +00:00
|
|
|
- Check properly that datadir includes only expected files
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1356897
|
2017-06-06 05:35:28 +00:00
|
|
|
|
2017-06-08 07:23:53 +00:00
|
|
|
* Wed Jun 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-2
|
|
|
|
- Fixed incorrect Jemalloc initialization; #1459671
|
|
|
|
|
2017-05-24 09:25:52 +00:00
|
|
|
* Fri Jun 02 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-1
|
|
|
|
- Rebase to 10.1.24
|
|
|
|
- Build dependecies Bison and Libarchive added, others corrected
|
|
|
|
- Disabling Mroonga engine for i686 architecture, as it is not supported by MariaDB
|
|
|
|
- Removed patches: (fixed by upstream)
|
|
|
|
Patch5: mariadb-file-contents.patch
|
|
|
|
Patch14: mariadb-example-config-files.patch
|
|
|
|
Patch31: mariadb-string-overflow.patch
|
|
|
|
Patch32: mariadb-basedir.patch
|
|
|
|
Patch41: mariadb-galera-new-cluster-help.patch
|
|
|
|
- Resolves: rhbz#1414387
|
|
|
|
CVE-2017-3313
|
|
|
|
- Resolves partly: rhbz#1443408
|
|
|
|
CVE-2017-3308 CVE-2017-3309 CVE-2017-3453 CVE-2017-3456 CVE-2017-3464
|
|
|
|
|
2017-05-23 13:14:48 +00:00
|
|
|
* Tue May 23 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-6
|
|
|
|
- Plugin oqgraph enabled
|
|
|
|
- Plugin jemalloc enabled
|
|
|
|
- 'force' option for 'rm' removed
|
|
|
|
- Enabled '--big-test' option for the testsuite
|
|
|
|
- Disabled '--skip-rpl' option for the testsuite = replication tests enabled
|
|
|
|
- Multilib manpage added
|
|
|
|
|
2017-05-15 21:27:43 +00:00
|
|
|
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:10.1.21-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
|
|
2017-03-07 09:31:35 +00:00
|
|
|
* Tue Mar 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-4
|
2017-03-07 09:28:51 +00:00
|
|
|
- Cracklib plugin enabled
|
2017-03-08 14:10:11 +00:00
|
|
|
- Removed strmov patch, it is no longer needed. The issue was fixed long ago in both MariaDB and MySQL
|
2017-03-07 09:28:51 +00:00
|
|
|
|
2017-02-15 16:04:36 +00:00
|
|
|
* Wed Feb 15 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-3
|
|
|
|
- Fix for some RPMLint issues
|
|
|
|
- Fix: Only server utilities can be move to server-utils subpackage. The rest (from client)
|
|
|
|
were moved back to where they came from (client - the main subpackage)
|
|
|
|
- Added correct "Obsoletes" for the server-utils subpackage
|
|
|
|
- Fixed FTBFS in F26 on x86_64, because of -Werror option
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1421092, #1395127
|
2017-02-15 16:04:36 +00:00
|
|
|
|
2017-02-10 20:28:30 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.1.21-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-24 09:59:46 +00:00
|
|
|
* Tue Jan 24 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-1
|
|
|
|
- Rebase to version 10.1.21
|
|
|
|
- Most of the non-essential utilites has been moved to the new sub-package mariadb-server-utils
|
|
|
|
- Patches "admincrash" and "errno" removed, they are no longer relevant
|
|
|
|
"mysql-embedded-check.c" removed, no longer relevant
|
|
|
|
- Buildrequires krb5-devel duplicity removed
|
|
|
|
- Manpage for mysql_secure_installation extended
|
|
|
|
- Preparation for the CrackLib plugin to be added (waiting for correct SELinux rules to be relased)
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1260821, #1205082, #1414387
|
2017-01-24 09:59:46 +00:00
|
|
|
|
2017-01-03 12:21:04 +00:00
|
|
|
* Tue Jan 03 2017 Honza Horak <hhorak@redhat.com> - 3:10.1.20-3
|
|
|
|
- Add explicit EVR requirement in main package for -libs
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1406320
|
2017-01-03 12:21:04 +00:00
|
|
|
|
2016-12-20 16:53:55 +00:00
|
|
|
* Tue Dec 20 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.20-2
|
|
|
|
- Use correct macro when removing doc files
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1400981
|
2016-12-20 16:53:55 +00:00
|
|
|
|
2016-12-16 23:05:18 +00:00
|
|
|
* Sat Dec 17 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.20-1
|
|
|
|
- Rebase to version 10.1.20
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1405258
|
2016-12-16 23:05:18 +00:00
|
|
|
|
2016-12-04 02:04:56 +00:00
|
|
|
* Fri Dec 02 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-6
|
|
|
|
- Move patch from specfile to standalone patch file
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1382988
|
2016-12-04 02:04:56 +00:00
|
|
|
|
2016-12-01 11:09:15 +00:00
|
|
|
* Thu Dec 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 3:10.1.19-6
|
|
|
|
- -devel: use pkgconfig(openssl) to allow any implementation (like compat-openssl10)
|
|
|
|
|
2016-11-29 22:16:04 +00:00
|
|
|
* Wed Nov 30 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-5
|
|
|
|
- Testsuite blacklists heavily updated. Current tracker: #1399847
|
2016-12-01 01:00:37 +00:00
|
|
|
- Log-error option added to all config files examples
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1382988
|
2016-11-29 22:16:04 +00:00
|
|
|
|
2016-11-24 09:08:22 +00:00
|
|
|
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-4
|
|
|
|
- JdbcMariaDB.jar test removed
|
|
|
|
- PCRE version check added
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1382988, #1396945, #1096787
|
2016-11-24 09:08:22 +00:00
|
|
|
|
|
|
|
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-4
|
2016-11-16 13:57:34 +00:00
|
|
|
- test suite ENABLED, consensus was made it still should be run every build
|
|
|
|
|
2016-11-16 13:35:20 +00:00
|
|
|
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-2
|
|
|
|
- fixed bug 1382988
|
|
|
|
- added comment to the test suite
|
|
|
|
- test suite DISABLED for most builds in Koji, see comments
|
|
|
|
|
2016-11-16 06:09:57 +00:00
|
|
|
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-1
|
2016-11-15 11:05:47 +00:00
|
|
|
- Update to 10.1.19
|
|
|
|
- added temporary support to build with OpenSSL 1.0 on Fedora >= 26
|
2016-11-15 20:33:18 +00:00
|
|
|
- added krb5-devel pkg as Buldrquires to prevent gssapi failure
|
2016-11-15 11:05:47 +00:00
|
|
|
|
2016-10-04 17:10:24 +00:00
|
|
|
* Tue Oct 4 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.18-1
|
|
|
|
- Update to 10.1.18
|
|
|
|
|
2016-09-07 12:39:45 +00:00
|
|
|
* Wed Aug 31 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.17-1
|
|
|
|
- Update to 10.1.17
|
|
|
|
|
2016-08-29 15:01:25 +00:00
|
|
|
* Mon Aug 29 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.16-2
|
|
|
|
- Fixed galera replication
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1352946
|
2016-08-29 15:01:25 +00:00
|
|
|
|
2016-07-19 15:13:37 +00:00
|
|
|
* Tue Jul 19 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.16-1
|
|
|
|
- Update to 10.1.16
|
|
|
|
|
2016-07-15 05:54:53 +00:00
|
|
|
* Fri Jul 15 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.14-5
|
|
|
|
- Fail build when test-suite fails
|
2016-07-15 06:00:18 +00:00
|
|
|
- Use license macro for inclusion of licenses
|
2016-07-15 05:54:53 +00:00
|
|
|
|
2016-07-14 19:15:23 +00:00
|
|
|
* Thu Jul 14 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.14-4
|
|
|
|
- Revert Update to 10.1.15, this release is broken
|
|
|
|
https://lists.launchpad.net/maria-discuss/msg03691.html
|
|
|
|
|
2016-07-14 17:38:46 +00:00
|
|
|
* Thu Jul 14 2016 Honza Horak <hhorak@redhat.com> - 2:10.1.15-3
|
|
|
|
- Check datadir more carefully to avoid unwanted data corruption
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1335849
|
2016-07-14 17:38:46 +00:00
|
|
|
|
2016-07-07 12:33:31 +00:00
|
|
|
* Thu Jul 7 2016 Jakub Dorňák <jdornak@redhat.com> - 2:10.1.15-2
|
2016-07-07 10:42:21 +00:00
|
|
|
- Bump epoch
|
|
|
|
(related to the downgrade from the pre-release version)
|
|
|
|
|
2016-07-02 06:52:36 +00:00
|
|
|
* Fri Jul 1 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.15-1
|
|
|
|
- Update to 10.1.15
|
|
|
|
|
2016-07-07 10:42:21 +00:00
|
|
|
* Fri Jul 1 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.14-3
|
2017-02-15 16:04:36 +00:00
|
|
|
- Revert "Update to 10.2.0"
|
2016-07-07 10:42:21 +00:00
|
|
|
It is possible that MariaDB 10.2.0 won't be stable till f25 GA.
|
|
|
|
|
2016-07-14 19:15:23 +00:00
|
|
|
* Tue Jun 21 2016 Pavel Raiskup <praiskup@redhat.com> - 1:10.1.14-3
|
2016-06-22 12:03:19 +00:00
|
|
|
- BR multilib-rpm-config and use it for multilib workarounds
|
|
|
|
- install architecture dependant pc file to arch-dependant location
|
|
|
|
|
2016-07-07 10:42:21 +00:00
|
|
|
* Thu May 26 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.2.0-2
|
2016-05-26 14:16:11 +00:00
|
|
|
- Fix mysql-prepare-db-dir
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1335849
|
2016-05-26 14:16:11 +00:00
|
|
|
|
2016-07-07 10:42:21 +00:00
|
|
|
* Thu May 12 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.2.0-1
|
|
|
|
- Update to 10.2.0
|
|
|
|
|
2016-05-12 15:02:51 +00:00
|
|
|
* Thu May 12 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.14-1
|
|
|
|
- Add selinux policy
|
|
|
|
- Update to 10.1.14 (includes various bug fixes)
|
|
|
|
- Add -h and --help options to galera_new_cluster
|
|
|
|
|
2016-04-07 09:07:01 +00:00
|
|
|
* Thu Apr 7 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-3
|
|
|
|
- wsrep_on in galera.cnf
|
|
|
|
|
2016-04-05 15:09:01 +00:00
|
|
|
* Tue Apr 5 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-2
|
|
|
|
- Moved /etc/sysconfig/clustercheck
|
2017-02-15 16:04:36 +00:00
|
|
|
and /usr/share/mariadb/systemd/use_galera_new_cluster.conf
|
|
|
|
to mariadb-server-galera
|
2016-04-05 15:09:01 +00:00
|
|
|
|
2016-03-29 08:29:29 +00:00
|
|
|
* Tue Mar 29 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-1
|
|
|
|
- Update to 10.1.13
|
|
|
|
|
2016-03-23 12:58:03 +00:00
|
|
|
* Wed Mar 23 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-4
|
|
|
|
- Fixed conflict with mariadb-galera-server
|
|
|
|
|
2016-03-22 14:30:08 +00:00
|
|
|
* Tue Mar 22 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-3
|
|
|
|
- Add subpackage mariadb-server-galera
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: 1310622
|
2016-03-22 14:30:08 +00:00
|
|
|
|
2016-03-01 14:26:02 +00:00
|
|
|
* Tue Mar 01 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.12-2
|
|
|
|
- Rebuild for BZ#1309199 (symbol versioning)
|
|
|
|
|
2016-02-29 17:32:00 +00:00
|
|
|
* Mon Feb 29 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-1
|
|
|
|
- Update to 10.1.12
|
|
|
|
|
2016-02-16 09:43:14 +00:00
|
|
|
* Tue Feb 16 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-9
|
|
|
|
- Remove dangling symlink to /etc/init.d/mysql
|
|
|
|
|
2016-02-13 16:24:01 +00:00
|
|
|
* Sat Feb 13 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-8
|
|
|
|
- Use epoch for obsoleting mariadb-galera-server
|
|
|
|
|
2016-02-12 11:22:22 +00:00
|
|
|
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-7
|
|
|
|
- Add Provides: bundled(pcre) in case we build with bundled pcre
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1302296
|
2016-02-12 11:45:58 +00:00
|
|
|
- embedded-devel should require libaio-devel
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1290517
|
2016-02-12 11:22:22 +00:00
|
|
|
|
2016-02-12 07:34:57 +00:00
|
|
|
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-6
|
|
|
|
- Fix typo s/obsolate/obsolete/
|
|
|
|
|
2016-02-11 09:24:38 +00:00
|
|
|
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-5
|
|
|
|
- Add missing requirements for proper wsrep functionality
|
2016-02-11 09:35:49 +00:00
|
|
|
- Obsolate mariadb-galera & mariadb-galera-server (thanks Tomas Repik)
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1279753
|
2016-02-11 10:40:18 +00:00
|
|
|
- Re-enable using libedit, which should be now fixed
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1201988
|
2016-02-11 10:58:28 +00:00
|
|
|
- Remove mariadb-wait-ready call from systemd unit, we have now systemd notify support
|
|
|
|
- Make mariadb@.service similar to mariadb.service
|
2016-02-11 09:24:38 +00:00
|
|
|
|
2016-02-08 05:56:32 +00:00
|
|
|
* Mon Feb 08 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-4
|
|
|
|
- Use systemd unit file more compatible with upstream
|
|
|
|
|
2016-02-07 18:40:35 +00:00
|
|
|
* Sun Feb 07 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-3
|
|
|
|
- Temporarily disabling oqgraph for
|
|
|
|
https://mariadb.atlassian.net/browse/MDEV-9479
|
|
|
|
|
2016-02-04 04:53:25 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:10.1.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-02-03 11:49:50 +00:00
|
|
|
* Wed Feb 3 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.11-1
|
|
|
|
- Update to 10.1.11
|
|
|
|
|
2016-01-19 15:50:50 +00:00
|
|
|
* Tue Jan 19 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.10-1
|
|
|
|
- Update to 10.1.10
|
|
|
|
|
2015-12-07 15:07:44 +00:00
|
|
|
* Mon Dec 07 2015 Dan Horák <dan[at]danny.cz> - 1:10.1.8-3
|
|
|
|
- rebuilt for s390(x)
|
|
|
|
|
2015-11-03 12:05:39 +00:00
|
|
|
* Tue Nov 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.1.8-2
|
|
|
|
- Expand variables in server.cnf
|
|
|
|
|
2015-10-22 19:51:01 +00:00
|
|
|
* Thu Oct 22 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.8-1
|
|
|
|
- Update to 10.1.8
|
|
|
|
|
2015-08-27 19:44:52 +00:00
|
|
|
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:10.0.21-2
|
|
|
|
- Rebuilt for Boost 1.59
|
|
|
|
|
2015-08-10 15:33:13 +00:00
|
|
|
* Mon Aug 10 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.21-1
|
|
|
|
- Update to 10.0.21
|
|
|
|
|
2015-07-29 17:50:05 +00:00
|
|
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.20-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
|
|
2015-07-22 17:05:55 +00:00
|
|
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:10.0.20-2
|
|
|
|
- rebuild for Boost 1.58
|
|
|
|
|
2015-06-24 02:42:54 +00:00
|
|
|
* Tue Jun 23 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.20-1
|
|
|
|
- Update to 10.0.20
|
|
|
|
|
2015-06-17 19:30:36 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.19-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-03 13:27:39 +00:00
|
|
|
* Wed Jun 03 2015 Dan Horák <dan[at]danny.cz> - 1:10.0.19-2
|
|
|
|
- Update lists of failing tests (jdornak)
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1149647
|
2015-06-03 13:27:39 +00:00
|
|
|
|
2015-05-11 06:25:55 +00:00
|
|
|
* Mon May 11 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.19-1
|
|
|
|
- Update to 10.0.19
|
|
|
|
|
2015-05-07 20:11:16 +00:00
|
|
|
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.18-1
|
|
|
|
- Update to 10.0.18
|
|
|
|
|
2015-05-08 05:51:29 +00:00
|
|
|
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-4
|
2015-03-13 15:03:16 +00:00
|
|
|
- Include client plugins into -common package since they are used by both -libs
|
|
|
|
and base packages.
|
2015-03-14 11:26:49 +00:00
|
|
|
- Do not use libedit
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1201988
|
2015-03-14 16:27:29 +00:00
|
|
|
- Let plugin dir to be owned by -common
|
2015-03-17 20:12:09 +00:00
|
|
|
- Use correct comment in the init script
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1184604
|
2015-03-20 08:31:29 +00:00
|
|
|
- Add openssl as BuildRequires to run some openssl tests during build
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1189180
|
2015-05-07 20:38:03 +00:00
|
|
|
- Fail in case any command in check fails
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1124791
|
2015-04-23 19:31:52 +00:00
|
|
|
- Fix mysqladmin crash if run with -u root -p
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1207170
|
2015-03-13 15:03:16 +00:00
|
|
|
|
2015-05-02 13:54:15 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:10.0.17-3
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-02-18 15:50:54 +00:00
|
|
|
* Fri Mar 06 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-2
|
|
|
|
- Wait for daemon ends
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1072958
|
2015-01-27 16:27:50 +00:00
|
|
|
- Do not include symlink to libmysqlclient if not shipping the library
|
2015-03-03 20:28:20 +00:00
|
|
|
- Do not use scl prefix more than once in paths
|
|
|
|
Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
|
2015-02-18 15:50:54 +00:00
|
|
|
|
2015-03-04 12:18:32 +00:00
|
|
|
* Wed Mar 04 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-1
|
|
|
|
- Rebase to version 10.0.17
|
2015-03-04 21:07:10 +00:00
|
|
|
- Added variable for turn off skipping some tests
|
2015-03-04 12:18:32 +00:00
|
|
|
|
2015-03-03 21:59:12 +00:00
|
|
|
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-6
|
|
|
|
- Check permissions when starting service on RHEL-6
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1194699
|
2015-03-03 22:05:35 +00:00
|
|
|
- Do not create test database by default
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1194611
|
2015-03-03 21:59:12 +00:00
|
|
|
|
2015-02-13 10:00:18 +00:00
|
|
|
* Fri Feb 13 2015 Matej Muzila <mmuzila@redhat.com> - 1:10.0.16-4
|
|
|
|
- Enable tokudb
|
|
|
|
|
2015-02-10 11:34:02 +00:00
|
|
|
* Tue Feb 10 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-3
|
|
|
|
- Fix openssl_1 test
|
|
|
|
|
2015-02-04 11:38:09 +00:00
|
|
|
* Wed Feb 4 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-2
|
|
|
|
- Include new certificate for tests
|
2015-02-06 12:18:31 +00:00
|
|
|
- Update lists of failing tests
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1186110
|
2015-02-04 11:38:09 +00:00
|
|
|
|
2015-02-03 10:00:02 +00:00
|
|
|
* Tue Feb 3 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-9
|
|
|
|
- Rebase to version 10.0.16
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1187895
|
2015-02-03 10:00:02 +00:00
|
|
|
|
2015-01-27 01:45:58 +00:00
|
|
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1:10.0.15-9
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2015-01-26 16:55:15 +00:00
|
|
|
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-8
|
|
|
|
- Fix typo in the config file
|
|
|
|
|
2015-01-25 18:54:12 +00:00
|
|
|
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-7
|
|
|
|
- Do not create log file in post script
|
|
|
|
|
2015-01-24 23:00:50 +00:00
|
|
|
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
|
|
|
|
- Move server settings to config file under my.cnf.d dir
|
|
|
|
|
2015-01-24 21:46:25 +00:00
|
|
|
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-5
|
|
|
|
- Fix path for sysconfig file
|
|
|
|
Filter provides in el6 properly
|
|
|
|
Fix initscript file location
|
|
|
|
|
2015-01-06 12:46:45 +00:00
|
|
|
* Tue Jan 06 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-4
|
|
|
|
- Disable failing tests connect.mrr, connect.updelx2 on ppc and s390
|
|
|
|
|
2014-12-22 13:28:01 +00:00
|
|
|
* Mon Dec 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-3
|
|
|
|
- Fix macros paths in my.cnf
|
|
|
|
- Create old location for pid file if it remained in my.cnf
|
|
|
|
|
2014-12-06 08:00:06 +00:00
|
|
|
* Fri Dec 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-2
|
|
|
|
- Rework usage of macros and remove some compatibility artefacts
|
|
|
|
|
2014-11-27 14:30:37 +00:00
|
|
|
* Thu Nov 27 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.15-1
|
|
|
|
- Update to 10.0.15
|
|
|
|
|
2014-11-20 13:09:59 +00:00
|
|
|
* Thu Nov 20 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-8
|
|
|
|
- Applied upstream fix for mysql_config --cflags output.
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1160845
|
2014-11-20 13:09:59 +00:00
|
|
|
|
2014-10-24 12:18:17 +00:00
|
|
|
* Fri Oct 24 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-7
|
|
|
|
- Fixed compat service file.
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1155700
|
2014-10-24 12:18:17 +00:00
|
|
|
|
2014-10-13 18:31:09 +00:00
|
|
|
* Mon Oct 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-6
|
|
|
|
- Remove bundled cmd-line-utils
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1079637
|
2014-10-13 18:35:25 +00:00
|
|
|
- Move mysqlimport man page to proper package
|
2014-10-13 18:42:51 +00:00
|
|
|
- Disable main.key_cache test on s390
|
|
|
|
Releated: #1149647
|
2014-10-13 18:31:09 +00:00
|
|
|
|
2014-10-08 12:10:46 +00:00
|
|
|
* Wed Oct 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-5
|
2014-11-27 14:30:37 +00:00
|
|
|
- Disable tests connect.part_file, connect.part_table
|
2014-10-08 12:10:46 +00:00
|
|
|
and connect.updelx
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1149647
|
2014-10-08 12:10:46 +00:00
|
|
|
|
2014-10-01 12:13:57 +00:00
|
|
|
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-4
|
|
|
|
- Add bcond_without mysql_names
|
|
|
|
Use more correct path when deleting mysql logrotate script
|
|
|
|
|
2014-10-01 06:46:39 +00:00
|
|
|
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-3
|
|
|
|
- Build with system libedit
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1079637
|
2014-10-01 06:46:39 +00:00
|
|
|
|
2014-09-29 16:41:50 +00:00
|
|
|
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-2
|
|
|
|
- Add with_debug option
|
|
|
|
|
2014-09-29 15:19:52 +00:00
|
|
|
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-1
|
|
|
|
- Update to 10.0.14
|
|
|
|
|
2014-09-24 13:53:15 +00:00
|
|
|
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-8
|
|
|
|
- Move connect engine to a separate package
|
|
|
|
Rename oqgraph engine to align with upstream packages
|
2014-09-24 15:32:43 +00:00
|
|
|
- Move some files to correspond with MariaDB upstream packages
|
|
|
|
client.cnf into -libs, mysql_plugin and msql2mysql into base,
|
|
|
|
tokuftdump and aria_* into -server, errmsg-utf8.txt into -errmsg
|
|
|
|
- Remove duplicate cnf files packaged using %%doc
|
2014-09-29 12:34:41 +00:00
|
|
|
- Check upgrade script added to warn about need for mysql_upgrade
|
2014-09-24 13:53:15 +00:00
|
|
|
|
2014-09-24 11:23:06 +00:00
|
|
|
* Wed Sep 24 2014 Matej Muzila <mmuzila@redhat.com> - 1:10.0.13-7
|
2014-09-24 07:42:14 +00:00
|
|
|
- Client related libraries moved from mariadb-server to mariadb-libs
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1138843
|
2014-09-24 07:42:14 +00:00
|
|
|
|
2014-09-08 10:32:47 +00:00
|
|
|
* Mon Sep 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-6
|
|
|
|
- Disable vcol_supported_sql_funcs_myisam test on all arches
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1096787
|
2014-09-05 11:21:47 +00:00
|
|
|
- Install systemd service file on RHEL-7+
|
|
|
|
Server requires any mysql package, so it should be fine with older client
|
2014-09-08 10:32:47 +00:00
|
|
|
|
2014-09-04 13:36:04 +00:00
|
|
|
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-5
|
|
|
|
- Fix paths in mysql_install_db script
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1134328
|
2014-09-04 13:37:20 +00:00
|
|
|
- Use %%cmake macro
|
2014-09-04 13:36:04 +00:00
|
|
|
|
2014-08-19 07:46:18 +00:00
|
|
|
* Tue Aug 19 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-4
|
|
|
|
- Build config subpackage everytime
|
2014-08-20 07:17:23 +00:00
|
|
|
- Disable failing tests: innodb_simulate_comp_failures_small, key_cache
|
|
|
|
rhbz#1096787
|
2014-08-19 07:46:18 +00:00
|
|
|
|
2014-08-17 08:42:41 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-14 13:14:58 +00:00
|
|
|
* Thu Aug 14 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-2
|
|
|
|
- Include mysqld_unit only if required; enable tokudb in f20-
|
|
|
|
|
2014-08-14 07:54:25 +00:00
|
|
|
* Wed Aug 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-1
|
|
|
|
- Rebase to version 10.0.13
|
|
|
|
|
2014-08-13 14:07:48 +00:00
|
|
|
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-8
|
|
|
|
- Introduce -config subpackage and ship base config files here
|
|
|
|
|
2014-08-05 12:20:26 +00:00
|
|
|
* Tue Aug 5 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-7
|
|
|
|
- Adopt changes from mysql, thanks Bjorn Munch <bjorn.munch@oracle.com>
|
|
|
|
|
2014-07-28 17:24:01 +00:00
|
|
|
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
|
|
|
|
- Use explicit sysconfdir
|
2014-07-28 17:26:09 +00:00
|
|
|
- Absolut path for default value for pid file and error log
|
2014-07-28 17:24:01 +00:00
|
|
|
|
2014-07-22 08:39:20 +00:00
|
|
|
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-5
|
2014-07-25 07:00:44 +00:00
|
|
|
- Hardcoded paths removed to work fine in chroot
|
2014-07-24 08:00:33 +00:00
|
|
|
- Spec rewrite to be more similar to oterh MySQL implementations
|
2014-07-22 08:39:20 +00:00
|
|
|
- Use variable for daemon unit name
|
2014-07-23 13:26:28 +00:00
|
|
|
- Include SysV init script if built on older system
|
2014-07-23 14:37:14 +00:00
|
|
|
- Add possibility to not ship some sub-packages
|
2014-07-22 08:39:20 +00:00
|
|
|
|
2014-07-21 22:34:41 +00:00
|
|
|
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-4
|
|
|
|
- Reformating spec and removing unnecessary snippets
|
|
|
|
|
2014-07-15 13:44:21 +00:00
|
|
|
* Tue Jul 15 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-3
|
2014-07-21 13:01:30 +00:00
|
|
|
- Enable OQGRAPH engine and package it as a sub-package
|
2014-07-18 09:57:24 +00:00
|
|
|
- Add support for TokuDB engine for x86_64 (currently still disabled)
|
2014-06-19 10:50:19 +00:00
|
|
|
- Re-enable tokudb_innodb_xa_crash again, seems to be fixed now
|
2014-07-17 11:46:57 +00:00
|
|
|
- Drop superfluous -libs and -embedded ldconfig deps (thanks Ville Skyttä)
|
2014-07-17 13:11:00 +00:00
|
|
|
- Separate -lib and -common sub-packages
|
|
|
|
- Require /etc/my.cnf instead of shipping it
|
2014-07-17 13:57:42 +00:00
|
|
|
- Include README.mysql-cnf
|
2014-07-17 14:29:43 +00:00
|
|
|
- Multilib support re-worked
|
2014-07-17 14:46:12 +00:00
|
|
|
- Introduce new option with_mysqld_unit
|
2014-07-17 15:33:31 +00:00
|
|
|
- Removed obsolete mysql-cluster, the package should already be removed
|
2014-07-18 07:52:36 +00:00
|
|
|
- Improve error message when log file is not writable
|
2014-07-18 07:55:25 +00:00
|
|
|
- Compile all binaries with full RELRO (RHBZ#1092548)
|
2014-07-18 12:28:47 +00:00
|
|
|
- Use modern symbol filtering with compatible backup
|
2014-07-21 07:53:36 +00:00
|
|
|
- Add more groupnames for server's my.cnf
|
2014-07-21 08:20:20 +00:00
|
|
|
- Error messages now provided by a separate package (thanks Alexander Barkov)
|
2014-07-21 12:41:04 +00:00
|
|
|
- Expand paths in helper scripts using cmake
|
2014-07-15 13:44:21 +00:00
|
|
|
|
2014-06-20 12:36:41 +00:00
|
|
|
* Wed Jun 18 2014 Mikko Tiihonen <mikko.tiihonen@iki.fi> - 1:10.0.12-2
|
|
|
|
- Use -fno-delete-null-pointer-checks to avoid segfaults with gcc 4.9
|
|
|
|
|
2014-06-19 14:08:41 +00:00
|
|
|
* Tue Jun 17 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.12-1
|
|
|
|
- Rebase to version 10.0.12
|
|
|
|
|
2014-06-07 08:00:32 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.11-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-06-03 07:15:56 +00:00
|
|
|
* Tue Jun 3 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-4
|
2014-06-02 16:25:47 +00:00
|
|
|
- rebuild with tests failing on different arches disabled (#1096787)
|
|
|
|
|
2014-05-29 11:33:24 +00:00
|
|
|
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 1:10.0.11-2
|
|
|
|
- rebuild with tests failing on big endian arches disabled (#1096787)
|
|
|
|
|
2014-05-14 12:05:26 +00:00
|
|
|
* Wed May 14 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-1
|
|
|
|
- Rebase to version 10.0.11
|
|
|
|
|
2014-05-05 10:36:12 +00:00
|
|
|
* Mon May 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.10-3
|
|
|
|
- Script for socket check enhanced
|
|
|
|
|
2014-04-10 12:55:31 +00:00
|
|
|
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-2
|
|
|
|
- use system pcre library
|
|
|
|
|
2014-04-10 08:26:59 +00:00
|
|
|
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-1
|
|
|
|
- Rebase to version 10.0.10
|
|
|
|
|
2014-03-12 10:38:27 +00:00
|
|
|
* Wed Mar 12 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-2
|
|
|
|
- Server crashes on SQL select containing more group by and left join statements using innodb tables
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1065676
|
2014-03-13 12:25:10 +00:00
|
|
|
- Fix paths in helper scripts
|
2014-03-25 18:34:29 +00:00
|
|
|
- Move language files into mariadb directory
|
2014-03-12 10:38:27 +00:00
|
|
|
|
2014-03-06 16:37:29 +00:00
|
|
|
* Thu Mar 06 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-1
|
|
|
|
- Rebase to 5.5.36
|
|
|
|
https://kb.askmonty.org/en/mariadb-5536-changelog/
|
|
|
|
|
2014-02-25 14:56:53 +00:00
|
|
|
* Tue Feb 25 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-5
|
|
|
|
- Daemon helper scripts sanity changes and spec files clean-up
|
|
|
|
|
2014-02-11 18:01:55 +00:00
|
|
|
* Tue Feb 11 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-4
|
|
|
|
- Fix typo in mysqld.service
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1063981
|
2014-02-11 18:01:55 +00:00
|
|
|
|
2014-02-05 11:03:57 +00:00
|
|
|
* Wed Feb 5 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-3
|
|
|
|
- Do not touch the log file in post script, so it does not get wrong owner
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1061045
|
2014-02-05 09:40:44 +00:00
|
|
|
|
2014-01-30 17:03:25 +00:00
|
|
|
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-1
|
2014-01-30 16:53:19 +00:00
|
|
|
- Rebase to 5.5.35
|
|
|
|
https://kb.askmonty.org/en/mariadb-5535-changelog/
|
|
|
|
Also fixes: CVE-2014-0001, CVE-2014-0412, CVE-2014-0437, CVE-2013-5908,
|
|
|
|
CVE-2014-0420, CVE-2014-0393, CVE-2013-5891, CVE-2014-0386, CVE-2014-0401,
|
|
|
|
CVE-2014-0402
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1054043
|
|
|
|
- Resolves: #1059546
|
2014-01-30 16:53:19 +00:00
|
|
|
|
2014-01-14 19:02:55 +00:00
|
|
|
* Tue Jan 14 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.34-9
|
|
|
|
- Adopt compatible system versioning
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1045013
|
2014-01-17 09:34:51 +00:00
|
|
|
- Use compatibility mysqld.service instead of link
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1014311
|
2014-01-14 19:02:55 +00:00
|
|
|
|
2014-01-13 20:36:16 +00:00
|
|
|
* Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.34-8
|
|
|
|
- move mysql_config alternatives scriptlets to -devel too
|
|
|
|
|
2014-01-10 08:51:00 +00:00
|
|
|
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7
|
|
|
|
- Build with -O3 on ppc64
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1051069
|
2014-01-10 08:57:54 +00:00
|
|
|
- Move mysql_config to -devel sub-package and remove Require: mariadb
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1050920
|
2014-01-10 08:51:00 +00:00
|
|
|
|
2014-01-10 08:40:00 +00:00
|
|
|
* Fri Jan 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 1:5.5.34-6
|
|
|
|
- Disable main.gis-precise test also for AArch64
|
|
|
|
- Disable perfschema.func_file_io and perfschema.func_mutex for AArch64
|
|
|
|
(like it is done for 32-bit ARM)
|
|
|
|
|
2014-01-10 08:17:12 +00:00
|
|
|
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-5
|
|
|
|
- Clean all non-needed doc files properly
|
|
|
|
|
2014-01-08 08:41:00 +00:00
|
|
|
* Wed Jan 8 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-4
|
|
|
|
- Read socketfile location in mariadb-prepare-db-dir script
|
|
|
|
|
2014-01-06 17:10:30 +00:00
|
|
|
* Mon Jan 6 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-3
|
2014-01-06 10:54:32 +00:00
|
|
|
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
|
|
|
|
which now makes mariadb/mysql FTBFS because openssl_1 test fails
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1044565
|
2014-01-06 11:00:39 +00:00
|
|
|
- Use upstream's layout for symbols version in client library
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1045013
|
2014-01-06 11:08:06 +00:00
|
|
|
- Check if socket file is not being used by another process at a time
|
|
|
|
of starting the service
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1045435
|
2014-01-06 17:09:21 +00:00
|
|
|
- Use %%ghost directive for the log file
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: 1043501
|
2014-01-06 10:54:32 +00:00
|
|
|
|
2013-11-27 14:22:54 +00:00
|
|
|
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-2
|
|
|
|
- Fix mariadb-wait-ready script
|
|
|
|
|
2013-11-22 07:55:22 +00:00
|
|
|
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-1
|
|
|
|
- Rebase to 5.5.34
|
|
|
|
|
2013-11-04 15:40:18 +00:00
|
|
|
* Mon Nov 4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-4
|
|
|
|
- Fix spec file to be ready for backport by Oden Eriksson
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1026404
|
2013-11-04 15:40:18 +00:00
|
|
|
|
2013-11-04 12:08:21 +00:00
|
|
|
* Mon Nov 4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-3
|
|
|
|
- Add pam-devel to build-requires in order to build
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1019945
|
2013-11-04 12:12:04 +00:00
|
|
|
- Check if correct process is running in mysql-wait-ready script
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #1026313
|
2013-11-04 12:08:21 +00:00
|
|
|
|
2013-10-14 11:32:21 +00:00
|
|
|
* Mon Oct 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-2
|
|
|
|
- Turn on test suite
|
|
|
|
|
2013-10-11 07:58:06 +00:00
|
|
|
* Thu Oct 10 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-1
|
|
|
|
- Rebase to 5.5.33a
|
|
|
|
https://kb.askmonty.org/en/mariadb-5533-changelog/
|
|
|
|
https://kb.askmonty.org/en/mariadb-5533a-changelog/
|
2013-10-11 08:57:14 +00:00
|
|
|
- Enable outfile_loaddata test
|
2013-10-11 12:08:35 +00:00
|
|
|
- Disable tokudb_innodb_xa_crash test
|
2013-10-11 07:58:06 +00:00
|
|
|
|
2013-09-02 15:44:03 +00:00
|
|
|
* Mon Sep 2 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-12
|
|
|
|
- Re-organize my.cnf to include only generic settings
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #1003115
|
2013-09-02 15:44:03 +00:00
|
|
|
- Move pid file location to /var/run/mariadb
|
|
|
|
- Make mysqld a symlink to mariadb unit file rather than the opposite way
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #999589
|
2013-09-02 15:44:03 +00:00
|
|
|
|
2013-08-29 14:02:55 +00:00
|
|
|
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-11
|
|
|
|
- Move log file into /var/log/mariadb/mariadb.log
|
|
|
|
- Rename logrotate script to mariadb
|
|
|
|
- Resolves: #999589
|
|
|
|
|
2013-08-14 15:02:37 +00:00
|
|
|
* Wed Aug 14 2013 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.32-10
|
|
|
|
- fix alternatives usage
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Tue Aug 13 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-9
|
|
|
|
- Multilib issues solved by alternatives
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #986959
|
2013-08-13 13:35:55 +00:00
|
|
|
|
2013-08-03 11:43:23 +00:00
|
|
|
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.32-8
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Wed Jul 31 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-7
|
2013-07-30 21:25:34 +00:00
|
|
|
- Do not use login shell for mysql user
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Tue Jul 30 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-6
|
2013-07-30 07:31:26 +00:00
|
|
|
- Remove unneeded systemd-sysv requires
|
2013-07-30 08:04:11 +00:00
|
|
|
- Provide mysql-compat-server symbol
|
2013-07-30 10:08:59 +00:00
|
|
|
- Create mariadb.service symlink
|
2013-07-30 10:14:56 +00:00
|
|
|
- Fix multilib header location for arm
|
2013-07-30 12:27:58 +00:00
|
|
|
- Enhance documentation in the unit file
|
2013-07-30 14:04:38 +00:00
|
|
|
- Use scriptstub instead of links to avoid multilib conflicts
|
2013-07-30 15:15:34 +00:00
|
|
|
- Add condition for doc placement in F20+
|
2013-07-30 07:31:26 +00:00
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 1:5.5.32-5
|
2013-07-29 00:40:34 +00:00
|
|
|
- remove "Requires(pretrans): systemd" since its not possible
|
|
|
|
- when installing mariadb and systemd at the same time. as in a new install
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Sat Jul 27 2013 Kevin Fenzi <kevin@scrye.com> 1:5.5.32-4
|
2013-07-27 19:29:34 +00:00
|
|
|
- Set rpm doc macro to install docs in unversioned dir
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-3
|
2013-07-27 01:02:27 +00:00
|
|
|
- add Requires(pre) on systemd for the server package
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Tue Jul 23 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-2
|
2013-07-24 02:09:39 +00:00
|
|
|
- replace systemd-units requires with systemd
|
2013-07-24 04:25:45 +00:00
|
|
|
- remove solaris files
|
2013-07-24 02:09:39 +00:00
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Fri Jul 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.32-1
|
2013-07-19 12:14:40 +00:00
|
|
|
- Rebase to 5.5.32
|
|
|
|
https://kb.askmonty.org/en/mariadb-5532-changelog/
|
2013-07-19 12:37:02 +00:00
|
|
|
- Clean-up un-necessary systemd snippets
|
2013-07-19 12:14:40 +00:00
|
|
|
|
2013-07-17 10:15:20 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.31-7
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Mon Jul 1 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-6
|
2013-07-01 13:14:37 +00:00
|
|
|
- Test suite params enhanced to decrease server condition influence
|
2013-07-01 13:24:02 +00:00
|
|
|
- Fix misleading error message when uninstalling built-in plugins
|
2017-06-19 08:31:54 +00:00
|
|
|
- Related: #966873
|
2013-07-01 13:14:37 +00:00
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-5
|
2013-06-27 14:40:14 +00:00
|
|
|
- Apply fixes found by Coverity static analysis tool
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Wed Jun 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-4
|
2013-06-19 09:40:23 +00:00
|
|
|
- Do not use pretrans scriptlet, which doesn't work in anaconda
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #975348
|
2013-06-19 09:40:23 +00:00
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-3
|
2014-07-17 11:46:57 +00:00
|
|
|
- Explicitly enable mysqld if it was enabled in the beginning
|
2013-06-14 08:47:43 +00:00
|
|
|
of the transaction.
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Thu Jun 13 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-2
|
2013-06-13 12:29:22 +00:00
|
|
|
- Apply man page fix from Jan Stanek
|
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Fri May 24 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-1
|
2013-05-24 11:21:42 +00:00
|
|
|
- Rebase to 5.5.31
|
|
|
|
https://kb.askmonty.org/en/mariadb-5531-changelog/
|
|
|
|
- Preserve time-stamps in case of installed files
|
2013-05-24 11:37:05 +00:00
|
|
|
- Use /var/tmp instead of /tmp, since the later is using tmpfs,
|
|
|
|
which can cause problems
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #962087
|
2013-05-24 14:23:46 +00:00
|
|
|
- Fix test suite requirements
|
2013-05-24 11:21:42 +00:00
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Sun May 5 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-2
|
2013-05-06 13:44:05 +00:00
|
|
|
- Remove mytop utility, which is packaged separately
|
2013-05-06 14:05:55 +00:00
|
|
|
- Resolve multilib conflicts in mysql/private/config.h
|
2013-05-06 13:44:05 +00:00
|
|
|
|
2013-08-13 13:35:55 +00:00
|
|
|
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-1
|
2013-03-22 15:14:07 +00:00
|
|
|
- Rebase to 5.5.30
|
|
|
|
https://kb.askmonty.org/en/mariadb-5530-changelog/
|
|
|
|
|
2013-03-22 13:57:53 +00:00
|
|
|
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-11
|
|
|
|
- Obsolete MySQL since it is now renamed to community-mysql
|
|
|
|
- Remove real- virtual names
|
|
|
|
|
2013-03-21 09:22:34 +00:00
|
|
|
* Thu Mar 21 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-10
|
|
|
|
- Adding epoch to have higher priority than other mysql implementations
|
|
|
|
when comes to provider comparison
|
|
|
|
|
2013-03-13 08:10:42 +00:00
|
|
|
* Wed Mar 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-9
|
|
|
|
- Let mariadb-embedded-devel conflict with MySQL-embedded-devel
|
2013-03-13 08:19:58 +00:00
|
|
|
- Adjust mariadb-sortbuffer.patch to correspond with upstream patch
|
2013-03-13 08:10:42 +00:00
|
|
|
|
2013-03-04 13:09:47 +00:00
|
|
|
* Mon Mar 4 2013 Honza Horak <hhorak@redhat.com> 5.5.29-8
|
|
|
|
- Mask expected warnings about setrlimit in test suite
|
|
|
|
|
2013-02-28 09:15:43 +00:00
|
|
|
* Thu Feb 28 2013 Honza Horak <hhorak@redhat.com> 5.5.29-7
|
|
|
|
- Use configured prefix value instead of guessing basedir
|
|
|
|
in mysql_config
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #916189
|
2013-02-28 17:16:16 +00:00
|
|
|
- Export dynamic columns and non-blocking API functions documented
|
|
|
|
by upstream
|
2013-02-28 09:15:43 +00:00
|
|
|
|
2013-02-27 16:05:40 +00:00
|
|
|
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
|
|
|
|
- Fix sort_buffer_length option type
|
|
|
|
|
2013-02-13 08:20:22 +00:00
|
|
|
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-5
|
2013-02-13 11:34:52 +00:00
|
|
|
- Suppress warnings in tests and skip tests also on ppc64p7
|
2013-02-13 08:20:22 +00:00
|
|
|
|
2013-02-12 17:55:48 +00:00
|
|
|
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-4
|
|
|
|
- Suppress warning in tests on ppc
|
|
|
|
- Enable fixed index_merge_myisam test case
|
|
|
|
|
2013-02-07 13:32:27 +00:00
|
|
|
* Thu Feb 07 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
|
|
|
|
- Packages need to provide also %%_isa version of mysql package
|
2013-02-11 08:50:14 +00:00
|
|
|
- Provide own symbols with real- prefix to distinguish from mysql
|
|
|
|
unambiguously
|
2013-02-11 09:08:58 +00:00
|
|
|
- Fix format for buffer size in error messages (MDEV-4156)
|
2013-02-11 09:34:56 +00:00
|
|
|
- Disable some tests that fail on ppc and s390
|
2013-02-11 09:38:18 +00:00
|
|
|
- Conflict only with real-mysql, otherwise mariadb conflicts with ourself
|
2013-02-07 13:32:27 +00:00
|
|
|
|
2013-02-05 12:33:52 +00:00
|
|
|
* Tue Feb 05 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
|
|
|
|
- Let mariadb-libs to own /etc/my.cnf.d
|
|
|
|
|
2013-02-01 10:35:51 +00:00
|
|
|
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.29-1
|
|
|
|
- Rebase to 5.5.29
|
|
|
|
https://kb.askmonty.org/en/mariadb-5529-changelog/
|
|
|
|
- Fix inaccurate default for socket location in mysqld-wait-ready
|
2017-06-19 08:31:54 +00:00
|
|
|
- Resolves: #890535
|
2013-02-01 10:35:51 +00:00
|
|
|
|
2013-01-31 10:18:29 +00:00
|
|
|
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-8
|
|
|
|
- Enable obsoleting mysql
|
|
|
|
|
2013-01-30 13:45:15 +00:00
|
|
|
* Wed Jan 30 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-7
|
|
|
|
- Adding necessary hacks for perl dependency checking, rpm is still
|
|
|
|
not wise enough
|
2013-01-30 16:04:04 +00:00
|
|
|
- Namespace sanity re-added for symbol default_charset_info
|
2013-01-30 13:45:15 +00:00
|
|
|
|
2013-01-28 08:10:15 +00:00
|
|
|
* Mon Jan 28 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-6
|
|
|
|
- Removed %%{_isa} from provides/obsoletes, which doesn't allow
|
|
|
|
proper obsoleting
|
2013-01-28 10:58:18 +00:00
|
|
|
- Do not obsolete mysql at the time of testing
|
2013-01-28 08:10:15 +00:00
|
|
|
|
2013-01-10 17:35:12 +00:00
|
|
|
* Thu Jan 10 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-5
|
|
|
|
- Added licenses LGPLv2 and BSD
|
|
|
|
- Removed wrong usage of %%{epoch}
|
|
|
|
- Test-suite is run in %%check
|
|
|
|
- Removed perl dependency checking adjustment, rpm seems to be smart enough
|
|
|
|
- Other minor spec file fixes
|
|
|
|
|
|
|
|
* Tue Dec 18 2012 Honza Horak <hhorak@redhat.com> 5.5.28a-4
|
|
|
|
- Packaging of MariaDB based on MySQL package
|
|
|
|
|