Blame SPECS/mariadb.spec

a41a5b
# SCL stuff
a41a5b
%{?scl:%scl_package mariadb}
a41a5b
%{!?scl:%global pkg_name %{name}}
a41a5b
a41a5b
#   This is a fix for the https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
a41a5b
#   So the beaviour will be the same also in F31 nad F32
a41a5b
%undefine __cmake_in_source_build
a41a5b
a41a5b
# Prefix that is used for patches
a41a5b
%global pkgnamepatch mariadb
a41a5b
a41a5b
# Regression tests may take a long time (many cores recommended), skip them by
a41a5b
%{!?runselftest:%global runselftest 1}
a41a5b
a41a5b
# Set this to 1 to see which tests fail, but 0 on production ready build
a41a5b
%global ignore_testsuite_result 0
a41a5b
a41a5b
# The last version on which the full testsuite has been run
a41a5b
# In case of further rebuilds of that version, don't require full testsuite to be run
a41a5b
# run only "main" suite
261253
%global last_tested_version 10.5.16
a41a5b
# Set to 1 to force run the testsuite even if it was already tested in current version
a41a5b
%global force_run_testsuite 0
a41a5b
a41a5b
# Aditional SELinux rules
a41a5b
%global require_mysql_selinux 1
a41a5b
a41a5b
# In f20+ use unversioned docdirs, otherwise the old versioned one
a41a5b
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
a41a5b
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
a41a5b
a41a5b
# By default, patch(1) creates backup files when chunks apply with offsets.
a41a5b
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
a41a5b
%global _default_patch_flags --no-backup-if-mismatch
a41a5b
a41a5b
a41a5b
a41a5b
# Mroonga engine
a41a5b
#   https://mariadb.com/kb/en/mariadb/about-mroonga/
a41a5b
#   Current version in MariaDB, 7.07, only supports the x86_64
a41a5b
#   Mroonga upstream warns about using 32-bit package: http://mroonga.org/docs/install.html
a41a5b
# RocksDB engine
a41a5b
#   https://mariadb.com/kb/en/library/about-myrocks-for-mariadb/
a41a5b
#   RocksDB engine is available only for x86_64
a41a5b
#   RocksDB may be built with jemalloc, if specified in CMake
a41a5b
%ifarch x86_64
a41a5b
%if 0%{?fedora}
a41a5b
%bcond_without mroonga
a41a5b
%bcond_without rocksdb
a41a5b
%else
a41a5b
%bcond_with mroonga
a41a5b
%bcond_with rocksdb
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
# The Open Query GRAPH engine (OQGRAPH) is a computation engine allowing
a41a5b
# hierarchies and more complex graph structures to be handled in a relational fashion
a41a5b
%bcond_without oqgraph
a41a5b
a41a5b
# PAM authentication plugin
a41a5b
%bcond_without pam
a41a5b
a41a5b
# Other plugins
a41a5b
%if 0%{?fedora}
a41a5b
%bcond_without cracklib
a41a5b
%bcond_without sphinx
a41a5b
%else
a41a5b
%bcond_with cracklib
a41a5b
%bcond_with sphinx
a41a5b
%endif
a41a5b
a41a5b
%bcond_without connect
a41a5b
%bcond_without gssapi
a41a5b
a41a5b
# For some use cases we do not need some parts of the package. Set to "...with" to exclude
a41a5b
%if 0%{?fedora} || 0%{?rhel} > 7
a41a5b
%bcond_with    clibrary
a41a5b
%else
a41a5b
%bcond_without clibrary
a41a5b
%endif
a41a5b
%if 0%{?scl:1}
a41a5b
%bcond_with embedded
a41a5b
%else
a41a5b
%bcond_without embedded
a41a5b
%endif
a41a5b
%bcond_without devel
a41a5b
%bcond_without client
a41a5b
%bcond_without common
a41a5b
%bcond_without errmsg
a41a5b
%bcond_without test
a41a5b
%bcond_without galera
a41a5b
%bcond_without backup
a41a5b
a41a5b
# When there is already another package that ships /etc/my.cnf,
a41a5b
# rather include it than ship the file again, since conflicts between
a41a5b
# those files may create issues
a41a5b
%if 0%{?fedora} || 0%{?rhel} > 7
a41a5b
%bcond_with config
a41a5b
%else
a41a5b
%bcond_without config
a41a5b
%endif
a41a5b
a41a5b
# For deep debugging we need to build binaries with extra debug info
a41a5b
%bcond_with    debug
a41a5b
a41a5b
# Page compression algorithms for InnoDB & XtraDB
a41a5b
# lz4 currently cannot be turned off by CMake, only by not having lz4-devel package in the buildroot
a41a5b
#   https://jira.mariadb.org/browse/MDEV-15932
a41a5b
%bcond_without lz4
a41a5b
a41a5b
# MariaDB 10.5 and later requires pcre >= 10.34, but deliberately not using the
a41a5b
# the bundled library, since the package builds fine with the older version
a41a5b
# and bundling pcre2 library looks like not necessary.
a41a5b
#   https://mariadb.com/kb/en/pcre/
a41a5b
%if 0%{?fedora} || 0%{?rhel} >= 7
a41a5b
%bcond_without unbundled_pcre
a41a5b
%else
a41a5b
%bcond_with unbundled_pcre
261253
%global pcre_bundled_version 10.40
a41a5b
%endif
a41a5b
a41a5b
# Use main python interpretter version
a41a5b
%if 0%{?fedora} || 0%{?rhel} > 7
e7095a
%global __python /usr/bin/python3
a41a5b
%else
e7095a
%global __python /usr/bin/python2
a41a5b
%endif
a41a5b
a41a5b
# Include systemd files
a41a5b
%global daemon_name %{name}
a41a5b
%global daemon_no_prefix %{pkg_name}
a41a5b
%global mysqld_pid_dir %{name}
a41a5b
a41a5b
# We define some system's well known locations here so we can use them easily
a41a5b
# later when building to another location (like SCL)
a41a5b
%if 0%{?scl:1}
a41a5b
%global logrotateddir %{_root_sysconfdir}/logrotate.d
a41a5b
%else
a41a5b
%global logrotateddir %{_sysconfdir}/logrotate.d
a41a5b
%endif
a41a5b
%global logfiledir %{_localstatedir}/log/%{daemon_no_prefix}
a41a5b
%global logfile %{logfiledir}/%{daemon_no_prefix}.log
a41a5b
# Directory for storing pid file
a41a5b
%global pidfiledir %{_rundir}/%{mysqld_pid_dir}
a41a5b
# Defining where database data live
a41a5b
%global dbdatadir %{_localstatedir}/lib/mysql
a41a5b
# Home directory of mysql user should be same for all packages that create it
a41a5b
%global mysqluserhome /var/lib/mysql
a41a5b
a41a5b
# Provide mysql names for compatibility
a41a5b
%if 0%{?fedora}
a41a5b
%bcond_without mysql_names
a41a5b
%else
a41a5b
%bcond_with    mysql_names
a41a5b
%endif
a41a5b
# Explicit conflicts with mysql
a41a5b
%if 0%{?scl:1}
a41a5b
%bcond_with    conflicts
a41a5b
%else
a41a5b
%bcond_without conflicts
a41a5b
%endif
a41a5b
a41a5b
# Make long macros shorter
a41a5b
%global sameevr   %{epoch}:%{version}-%{release}
a41a5b
a41a5b
%if 0%{?scl:1}
a41a5b
%global scl_upper %{lua:print(string.upper(string.gsub(rpm.expand("%{scl}"), "-", "_")))}
a41a5b
%endif
a41a5b
a41a5b
Name:             %{?scl_prefix}mariadb
261253
Version:          10.5.16
261253
Release:          2%{?with_debug:.debug}%{?dist}
a41a5b
Epoch:            3
a41a5b
a41a5b
Summary:          A very fast and robust SQL database server
a41a5b
URL:              http://mariadb.org
a41a5b
# Exceptions allow client libraries to be linked with most open source SW, not only GPL code.  See README.mysql-license
a41a5b
License:          GPLv2 with exceptions and LGPLv2 and BSD
a41a5b
a41a5b
# Original upstream sources archive URL
a41a5b
# Source0:          https://downloads.mariadb.org/interstitial/mariadb-%{version}/source/mariadb-%{version}.tar.gz
a41a5b
# Non-existent URL containing correct archive name
a41a5b
#   The archive was created by executing the "generate-modified-sources.sh" script
a41a5b
Source0:          https://fedoraproject.org/mariadb-%{version}-downstream_modified.tar.gz
a41a5b
a41a5b
Source2:          mysql_config_multilib.sh
a41a5b
Source3:          my.cnf.in
a41a5b
Source6:          README.mysql-docs
a41a5b
Source7:          README.mysql-license
a41a5b
Source8:          README.wsrep_sst_rsync_tunnel
a41a5b
Source10:         mysql.tmpfiles.d.in
a41a5b
Source11:         mysql.service.in
a41a5b
Source12:         mysql-prepare-db-dir.sh
a41a5b
Source14:         mysql-check-socket.sh
a41a5b
Source15:         mysql-scripts-common.sh
a41a5b
Source16:         mysql-check-upgrade.sh
a41a5b
Source18:         mysql@.service.in
a41a5b
Source40:         daemon-scl-helper.sh
a41a5b
Source50:         rh-skipped-tests-base.list
a41a5b
Source51:         rh-skipped-tests-arm.list
a41a5b
Source52:         rh-skipped-tests-s390.list
a41a5b
Source53:         rh-skipped-tests-ppc.list
a41a5b
# Proposed upstream: https://jira.mariadb.org/browse/MDEV-12442
a41a5b
# General upstream response was slightly positive
a41a5b
Source70:         clustercheck.sh
a41a5b
Source71:         LICENSE.clustercheck
a41a5b
# Upstream said: "Generally MariaDB has more allows to allow for xtradb sst mechanism".
a41a5b
# https://jira.mariadb.org/browse/MDEV-12646
a41a5b
Source72:         mariadb-server-galera.te
a41a5b
# Script to support encrypted rsync transfers when SST is required between nodes.
a41a5b
# https://github.com/dciabrin/wsrep_sst_rsync_tunnel/blob/master/wsrep_sst_rsync_tunnel
a41a5b
Source73:         wsrep_sst_rsync_tunnel
a41a5b
a41a5b
#   Patch4: Red Hat distributions specific logrotate fix
a41a5b
#   it would be big unexpected change, if we start shipping it now. Better wait for MariaDB 10.2
a41a5b
Patch4:           %{pkgnamepatch}-logrotate.patch
a41a5b
#   Patch7: add to the CMake file all files where we want macros to be expanded
a41a5b
Patch7:           %{pkgnamepatch}-scripts.patch
a41a5b
#   Patch9: pre-configure to comply with guidelines
a41a5b
Patch9:           %{pkgnamepatch}-ownsetup.patch
a41a5b
#   Patch10: Fix cipher name in the SSL Cipher name test
a41a5b
Patch10:          %{pkgnamepatch}-ssl-cipher-tests.patch
a41a5b
#   Patch17: Revert of an upstream commit
a41a5b
Patch17:          upstream_5cc2096f93b7f130b36f8bc0fc43440db9a848e4.patch
a41a5b
a41a5b
# Patches specific for scl
a41a5b
Patch90:          %{pkgnamepatch}-scl-env-check.patch
a41a5b
a41a5b
BuildRequires:    cmake gcc-c++
a41a5b
BuildRequires:    multilib-rpm-config
a41a5b
BuildRequires:    selinux-policy-devel
a41a5b
BuildRequires:    systemd systemd-devel
a41a5b
a41a5b
# Page compression algorithms for InnoDB & XtraDB
a41a5b
BuildRequires:    zlib-devel
a41a5b
%{?with_lz4:BuildRequires:    lz4-devel}
a41a5b
a41a5b
# asynchornous operations stuff; needed also for wsrep API
a41a5b
BuildRequires:    libaio-devel
a41a5b
# commands history features
a41a5b
BuildRequires:    libedit-devel
a41a5b
# CLI graphic; needed also for wsrep API
a41a5b
BuildRequires:    ncurses-devel
a41a5b
# debugging stuff
a41a5b
BuildRequires:    systemtap-sdt-devel
a41a5b
# Bison SQL parser; needed also for wsrep API
a41a5b
BuildRequires:    bison bison-devel
a41a5b
a41a5b
%{?with_debug:BuildRequires:    valgrind-devel}
a41a5b
a41a5b
# auth_pam.so plugin will be build if pam-devel is installed
a41a5b
BuildRequires:    pam-devel
a41a5b
# use either new enough version of pcre2 or provide bundles(pcre2)
a41a5b
%{?with_unbundled_pcre:BuildRequires: pcre2-devel}
a41a5b
%{!?with_unbundled_pcre:Provides: bundled(pcre2) = %{pcre_bundled_version}}
a41a5b
# Few utilities needs Perl
a41a5b
%if 0%{?fedora} || 0%{?rhel} > 7
a41a5b
BuildRequires:    perl-interpreter
a41a5b
BuildRequires:    perl-generators
a41a5b
%endif
a41a5b
# Some tests requires python
a41a5b
%if 0%{?scl:1}
a41a5b
BuildRequires:    python
a41a5b
%else
a41a5b
BuildRequires:    python3
a41a5b
%endif
a41a5b
# Tests requires time and ps and some perl modules
a41a5b
BuildRequires:    procps
a41a5b
BuildRequires:    time
a41a5b
BuildRequires:    perl(base)
a41a5b
BuildRequires:    perl(Cwd)
a41a5b
BuildRequires:    perl(Data::Dumper)
a41a5b
BuildRequires:    perl(English)
a41a5b
BuildRequires:    perl(Env)
a41a5b
BuildRequires:    perl(Errno)
a41a5b
BuildRequires:    perl(Exporter)
a41a5b
BuildRequires:    perl(Fcntl)
a41a5b
BuildRequires:    perl(File::Basename)
a41a5b
BuildRequires:    perl(File::Copy)
a41a5b
BuildRequires:    perl(File::Find)
a41a5b
BuildRequires:    perl(File::Spec)
a41a5b
BuildRequires:    perl(File::Spec::Functions)
a41a5b
BuildRequires:    perl(File::Temp)
a41a5b
BuildRequires:    perl(Getopt::Long)
a41a5b
BuildRequires:    perl(IO::File)
a41a5b
BuildRequires:    perl(IO::Handle)
a41a5b
BuildRequires:    perl(IO::Select)
a41a5b
BuildRequires:    perl(IO::Socket)
a41a5b
BuildRequires:    perl(IO::Socket::INET)
a41a5b
BuildRequires:    perl(IPC::Open3)
a41a5b
BuildRequires:    perl(lib)
a41a5b
BuildRequires:    perl(Memoize)
a41a5b
BuildRequires:    perl(POSIX)
a41a5b
BuildRequires:    perl(Socket)
a41a5b
BuildRequires:    perl(strict)
a41a5b
BuildRequires:    perl(Symbol)
a41a5b
BuildRequires:    perl(Sys::Hostname)
a41a5b
BuildRequires:    perl(Term::ANSIColor)
a41a5b
BuildRequires:    perl(Test::More)
a41a5b
BuildRequires:    perl(Time::HiRes)
a41a5b
BuildRequires:    perl(Time::localtime)
a41a5b
BuildRequires:    perl(warnings)
a41a5b
# for running some openssl tests rhbz#1189180
a41a5b
BuildRequires:    openssl openssl-devel
a41a5b
a41a5b
%if %{with debug}
a41a5b
BuildRequires:    valgrind-devel
a41a5b
%endif
a41a5b
a41a5b
Requires:         bash coreutils grep
a41a5b
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
a41a5b
%if %{with clibrary}
a41a5b
# Explicit EVR requirement for -libs is needed for RHBZ#1406320
a41a5b
Requires:         %{name}-libs%{?_isa} = %{sameevr}
a41a5b
%else
a41a5b
# If not built with client library in this package, use connector-c
a41a5b
%if ! 0%{?scl:1}
a41a5b
Requires:         mariadb-connector-c >= 3.0
a41a5b
%endif
a41a5b
%endif
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql = %{sameevr}
a41a5b
Provides:         mysql%{?_isa} = %{sameevr}
a41a5b
Provides:         mysql-compat-client = %{sameevr}
a41a5b
Provides:         mysql-compat-client%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%if ! 0%{?scl:1}
a41a5b
Suggests:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
# MySQL (with caps) is upstream's spelling of their own RPMs for mysql
a41a5b
%{?with_conflicts:Conflicts:        mysql}
a41a5b
a41a5b
# Filtering: https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/
a41a5b
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::|wsrep)
a41a5b
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/%{pkg_name}/plugin/.*\\.so)$
a41a5b
a41a5b
# Define license macro if not present
a41a5b
%{!?_licensedir:%global license %doc}
a41a5b
a41a5b
%description
a41a5b
MariaDB is a community developed branch of MySQL - a multi-user, multi-threaded
a41a5b
SQL database server. It is a client/server implementation consisting of
a41a5b
a server daemon (mysqld) and many different client programs and libraries.
a41a5b
The base package contains the standard MariaDB/MySQL client programs and
a41a5b
generic MySQL files.
a41a5b
a41a5b
a41a5b
%if %{with clibrary}
a41a5b
%package          libs
a41a5b
Summary:          The shared libraries required for MariaDB/MySQL clients
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-libs = %{sameevr}
a41a5b
Provides:         mysql-libs%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%description      libs
a41a5b
The mariadb-libs package provides the essential shared libraries for any
a41a5b
MariaDB/MySQL client program or interface. You will need to install this
a41a5b
package to use any other MariaDB package or any clients that need to connect
a41a5b
to a MariaDB/MySQL server.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
# At least main config file /etc/my.cnf is shared for client and server part
a41a5b
# Since we want to support combination of different client and server
a41a5b
# implementations (e.g. mariadb library and community-mysql server),
a41a5b
# we need the config file(s) to be in a separate package, so no extra packages
a41a5b
# are pulled, because these would likely conflict.
a41a5b
# More specifically, the dependency on the main configuration file (/etc/my.cnf)
a41a5b
# is supposed to be defined as Requires: /etc/my.cnf rather than requiring
a41a5b
# a specific package, so installer app can choose whatever package fits to
a41a5b
# the transaction.
a41a5b
%if %{with config}
a41a5b
%package          config
a41a5b
Summary:          The config files required by server and client
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      config
a41a5b
The package provides the config file my.cnf and my.cnf.d directory used by any
a41a5b
MariaDB or MySQL program. You will need to install this package to use any
a41a5b
other MariaDB or MySQL package if the config files are not provided in the
a41a5b
package itself.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with common}
a41a5b
%package          common
a41a5b
Summary:          The shared files required by server and client
a41a5b
Requires:         %{_sysconfdir}/my.cnf
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
a41a5b
%if %{without clibrary}
a41a5b
Obsoletes: %{name}-libs <= %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%description      common
a41a5b
The package provides the essential shared files for any MariaDB program.
a41a5b
You will need to install this package to use any other MariaDB package.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with errmsg}
a41a5b
%package          errmsg
a41a5b
Summary:          The error messages files required by server and embedded
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      errmsg
a41a5b
The package provides error messages files for the MariaDB daemon and the
a41a5b
embedded server. You will need to install this package to use any of those
a41a5b
MariaDB packages.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with galera}
a41a5b
%package          server-galera
a41a5b
Summary:          The configuration files and scripts for galera replication
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
Requires:         %{?scl_prefix}galera >= 26.4.3
a41a5b
Requires(post):   libselinux-utils
a41a5b
Requires(post):   policycoreutils-python
a41a5b
# wsrep requirements
a41a5b
Requires:         lsof
a41a5b
# Default wsrep_sst_method
a41a5b
Requires:         rsync
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      server-galera
a41a5b
MariaDB is a multi-user, multi-threaded SQL database server. It is a
a41a5b
client/server implementation consisting of a server daemon (mysqld)
a41a5b
and many different client programs and libraries. This package contains
a41a5b
the MariaDB server and some accompanying files and directories.
a41a5b
MariaDB is a community developed branch of MySQL.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%package          server
a41a5b
Summary:          The MariaDB server and related files
a41a5b
a41a5b
# note: no version here = %%{version}-%%{release}
a41a5b
%if %{with mysql_names}
a41a5b
Requires:         mysql-compat-client%{?_isa}
a41a5b
Requires:         mysql%{?_isa}
a41a5b
%if 0%{?scl:1}
a41a5b
Requires:         %{name}%{?_isa}
a41a5b
%else
a41a5b
Recommends:       %{name}%{?_isa}
a41a5b
%endif
a41a5b
%else
a41a5b
Requires:         %{name}%{?_isa}
a41a5b
%endif
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if ! 0%{?scl:1}
a41a5b
Recommends:       %{name}-server-utils%{?_isa} = %{sameevr}
a41a5b
Recommends:       %{name}-backup%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
%if ! 0%{?scl:1}
a41a5b
%{?with_cracklib:Recommends:   %{name}-cracklib-password-check%{?_isa} = %{sameevr}}
a41a5b
%{?with_gssapi:Recommends:     %{name}-gssapi-server%{?_isa} = %{sameevr}}
a41a5b
%{?with_rocksdb:Suggests:      %{name}-rocksdb-engine%{?_isa} = %{sameevr}}
a41a5b
%{?with_sphinx:Suggests:       %{name}-sphinx-engine%{?_isa} = %{sameevr}}
a41a5b
%{?with_oqgraph:Suggests:      %{name}-oqgraph-engine%{?_isa} = %{sameevr}}
a41a5b
%{?with_connect:Suggests:      %{name}-connect-engine%{?_isa} = %{sameevr}}
a41a5b
%endif
a41a5b
%if ! 0%{?scl:1}
a41a5b
%{?with_cracklib:Requires:       %{name}-cracklib-password-check%{?_isa} = %{sameevr}}
a41a5b
%endif
a41a5b
a41a5b
%if ! 0%{?scl:1}
a41a5b
Suggests:         mytop
a41a5b
Suggests:         logrotate
a41a5b
%endif
a41a5b
a41a5b
Requires:         %{_sysconfdir}/my.cnf
a41a5b
Requires:         %{_sysconfdir}/my.cnf.d
a41a5b
a41a5b
# Aditional SELinux rules (common for MariaDB & MySQL) shipped in a separate package
a41a5b
# For cases, where we want to fix a SELinux issues in MariaDB sooner than patched selinux-policy-targeted package is released
a41a5b
# TODO: handle the new mariadb binaries
a41a5b
#%if %%{?require_mysql_selinux}
a41a5b
#Requires:         (mysql-selinux if selinux-policy-targeted)
a41a5b
#%endif
a41a5b
a41a5b
# for fuser in mysql-check-socket
a41a5b
Requires:         psmisc
a41a5b
a41a5b
Requires:         coreutils
a41a5b
Requires(pre):    /usr/sbin/useradd
a41a5b
# We require this to be present for %%{_tmpfilesdir}
a41a5b
Requires:         systemd
a41a5b
# Make sure it's there when scriptlets run, too
a41a5b
%{?systemd_requires}
a41a5b
# RHBZ#1496131; use 'iproute' instead of 'net-tools'
a41a5b
Requires:         iproute
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-server = %{sameevr}
a41a5b
Provides:         mysql-server%{?_isa} = %{sameevr}
a41a5b
Provides:         mysql-compat-server = %{sameevr}
a41a5b
Provides:         mysql-compat-server%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
%{?with_conflicts:Conflicts:        mysql-server}
a41a5b
a41a5b
# Bench subpackage has been deprecated in F32
a41a5b
Obsoletes: %{name}-bench <= %{sameevr}
a41a5b
a41a5b
%description      server
a41a5b
MariaDB is a multi-user, multi-threaded SQL database server. It is a
a41a5b
client/server implementation consisting of a server daemon (mysqld)
a41a5b
and many different client programs and libraries. This package contains
a41a5b
the MariaDB server and some accompanying files and directories.
a41a5b
MariaDB is a community developed branch of MySQL.
a41a5b
a41a5b
a41a5b
%if %{with oqgraph}
a41a5b
%package          oqgraph-engine
a41a5b
Summary:          The Open Query GRAPH engine for MariaDB
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
# boost and Judy required for oograph
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
# boost and Judy required for oograph
a41a5b
BuildRequires:    boost-devel
a41a5b
BuildRequires:    %{?scl_prefix}Judy-devel
a41a5b
a41a5b
%description      oqgraph-engine
a41a5b
The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB
a41a5b
database server. OQGRAPH is a computation engine allowing hierarchies and more
a41a5b
complex graph structures to be handled in a relational fashion. In a nutshell,
a41a5b
tree structures and friend-of-a-friend style searches can now be done using
a41a5b
standard SQL syntax, and results joined onto other tables.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with connect}
a41a5b
%package          connect-engine
a41a5b
Summary:          The CONNECT storage engine for MariaDB
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
# As per https://jira.mariadb.org/browse/MDEV-21450
a41a5b
BuildRequires:    libxml2-devel
a41a5b
a41a5b
%description      connect-engine
a41a5b
The CONNECT storage engine enables MariaDB to access external local or
a41a5b
remote data (MED). This is done by defining tables based on different data
a41a5b
types, in particular files in various formats, data extracted from other DBMS
a41a5b
or products (such as Excel), or data retrieved from the environment
a41a5b
(for example DIR, WMI, and MAC tables).
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with backup}
a41a5b
%package          backup
a41a5b
Summary:          The mariabackup tool for physical online backups
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
BuildRequires:    libarchive-devel
a41a5b
a41a5b
%description      backup
a41a5b
MariaDB Backup is an open source tool provided by MariaDB for performing
a41a5b
physical online backups of InnoDB, Aria and MyISAM tables.
a41a5b
For InnoDB, "hot online" backups are possible.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with rocksdb}
a41a5b
%package          rocksdb-engine
a41a5b
Summary:          The RocksDB storage engine for MariaDB
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
Provides:         bundled(rocksdb)
a41a5b
a41a5b
%description      rocksdb-engine
a41a5b
The RocksDB storage engine is used for high performance servers on SSD drives.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with cracklib}
a41a5b
%package          cracklib-password-check
a41a5b
Summary:          The password strength checking plugin
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
BuildRequires:    cracklib-dicts cracklib-devel
a41a5b
Requires:         cracklib-dicts
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      cracklib-password-check
a41a5b
CrackLib is a password strength checking library. It is installed by default
a41a5b
in many Linux distributions and is invoked automatically (by pam_cracklib.so)
a41a5b
whenever the user login password is modified.
a41a5b
Now, with the cracklib_password_check password validation plugin, one can
a41a5b
also use it to check MariaDB account passwords.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with gssapi}
a41a5b
%package          gssapi-server
a41a5b
Summary:          GSSAPI authentication plugin for server
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
BuildRequires:    krb5-devel
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      gssapi-server
a41a5b
GSSAPI authentication server-side plugin for MariaDB for passwordless login.
a41a5b
This plugin includes support for Kerberos on Unix.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with pam}
a41a5b
%package          pam
a41a5b
Summary:          PAM authentication plugin for the MariaDB server
a41a5b
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
# This subpackage NEED the 'mysql' user/group (created during mariadb-server %pre) to be available prior installation
a41a5b
Requires(pre):    %{name}-server%{?_isa} = %{sameevr}
a41a5b
a41a5b
BuildRequires:    pam-devel
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      pam
a41a5b
PAM authentication server-side plugin for MariaDB.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with sphinx}
a41a5b
%package          sphinx-engine
a41a5b
Summary:          The Sphinx storage engine for MariaDB
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
BuildRequires:    sphinx libsphinxclient libsphinxclient-devel
a41a5b
Requires:         sphinx libsphinxclient
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      sphinx-engine
a41a5b
The Sphinx storage engine for MariaDB.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%package          server-utils
a41a5b
Summary:          Non-essential server utilities for MariaDB/MySQL applications
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-perl = %{sameevr}
a41a5b
%endif
a41a5b
# mysqlhotcopy needs DBI/DBD support
a41a5b
Requires:         perl(DBI) perl(DBD::mysql)
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
a41a5b
%description      server-utils
a41a5b
This package contains all non-essential server utilities and scripts for
a41a5b
managing databases. It also contains all utilities requiring Perl and it is
a41a5b
the only MariaDB sub-package, except test subpackage, that depends on Perl.
a41a5b
a41a5b
a41a5b
%if %{with devel}
a41a5b
%package          devel
a41a5b
Summary:          Files for development of MariaDB/MySQL applications
a41a5b
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
a41a5b
Requires:         openssl-devel
a41a5b
%if %{without clibrary} && ! 0%{?scl:1}
a41a5b
Requires:         mariadb-connector-c-devel >= 3.0
a41a5b
%endif
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-devel = %{sameevr}
a41a5b
Provides:         mysql-devel%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%description      devel
a41a5b
MariaDB is a multi-user, multi-threaded SQL database server.
a41a5b
MariaDB is a community developed branch of MySQL.
a41a5b
%if %{with clibrary}
a41a5b
This package contains everything needed for developing MariaDB/MySQL client
a41a5b
and server applications.
a41a5b
%else
a41a5b
This package contains everything needed for developing MariaDB/MySQL server
a41a5b
applications. For developing client applications, use mariadb-connector-c
a41a5b
package.
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with embedded}
a41a5b
%package          embedded
a41a5b
Summary:          MariaDB as an embeddable library
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-embedded = %{sameevr}
a41a5b
Provides:         mysql-embedded%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%description      embedded
a41a5b
MariaDB is a multi-user, multi-threaded SQL database server. This
a41a5b
package contains a version of the MariaDB server that can be embedded
a41a5b
into a client application instead of running as a separate process.
a41a5b
MariaDB is a community developed branch of MySQL.
a41a5b
a41a5b
a41a5b
%package          embedded-devel
a41a5b
Summary:          Development files for MariaDB as an embeddable library
a41a5b
Requires:         %{name}-embedded%{?_isa} = %{sameevr}
a41a5b
Requires:         %{name}-devel%{?_isa} = %{sameevr}
a41a5b
# embedded-devel should require libaio-devel (rhbz#1290517)
a41a5b
Requires:         libaio-devel
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-embedded-devel = %{sameevr}
a41a5b
Provides:         mysql-embedded-devel%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%description      embedded-devel
a41a5b
MariaDB is a multi-user, multi-threaded SQL database server.
a41a5b
MariaDB is a community developed branch of MySQL.
a41a5b
This package contains files needed for developing and testing with
a41a5b
the embedded version of the MariaDB server.
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{with test}
a41a5b
%package          test
a41a5b
Summary:          The test suite distributed with MariaDB
a41a5b
Requires:         %{name}%{?_isa} = %{sameevr}
a41a5b
Requires:         %{name}-common%{?_isa} = %{sameevr}
a41a5b
Requires:         %{name}-server%{?_isa} = %{sameevr}
a41a5b
Requires:         patch
a41a5b
Requires:         perl(Env)
a41a5b
Requires:         perl(Exporter)
a41a5b
Requires:         perl(Fcntl)
a41a5b
Requires:         perl(File::Temp)
a41a5b
Requires:         perl(Data::Dumper)
a41a5b
Requires:         perl(Getopt::Long)
a41a5b
Requires:         perl(IPC::Open3)
a41a5b
Requires:         perl(Socket)
a41a5b
Requires:         perl(Sys::Hostname)
a41a5b
Requires:         perl(Test::More)
a41a5b
Requires:         perl(Time::HiRes)
a41a5b
%{?scl:Requires:%scl_runtime}
a41a5b
%if %{with mysql_names}
a41a5b
Provides:         mysql-test = %{sameevr}
a41a5b
Provides:         mysql-test%{?_isa} = %{sameevr}
a41a5b
%endif
a41a5b
a41a5b
%description      test
a41a5b
MariaDB is a multi-user, multi-threaded SQL database server.
a41a5b
MariaDB is a community developed branch of MySQL.
a41a5b
This package contains the regression test suite distributed with the MariaDB
a41a5b
sources.
a41a5b
%endif
a41a5b
a41a5b
%if 0%{?scl:1}
a41a5b
%scl_syspaths_package -d
a41a5b
%scl_syspaths_package config -d
a41a5b
%scl_syspaths_package backup -d
a41a5b
%scl_syspaths_package server -d
a41a5b
%scl_syspaths_package server-utils -d
a41a5b
%scl_syspaths_package server-galera -d
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%prep
a41a5b
%setup -q -n mariadb-%{version}-downstream_modified
a41a5b
a41a5b
# Remove JAR files that upstream puts into tarball
a41a5b
find . -name "*.jar" -type f -exec rm --verbose -f {} \;
a41a5b
# Remove testsuite for the mariadb-connector-c
a41a5b
rm -rf libmariadb/unittest
a41a5b
%if %{without rocksdb}
a41a5b
rm -r storage/rocksdb/
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%patch4 -p1
a41a5b
%patch7 -p1
a41a5b
%patch9 -p1
a41a5b
%patch10 -p1
a41a5b
%patch17 -R -p1
a41a5b
a41a5b
# workaround for upstream bug #56342
a41a5b
#rm mysql-test/t/ssl_8k_key-master.opt
a41a5b
a41a5b
# generate a list of tests that fail, but are not disabled by upstream
a41a5b
cat %{SOURCE50} | tee -a mysql-test/unstable-tests
a41a5b
a41a5b
# disable some tests failing on different architectures
a41a5b
%ifarch %{arm} aarch64
a41a5b
cat %{SOURCE51} | tee -a mysql-test/unstable-tests
a41a5b
%endif
a41a5b
a41a5b
%ifarch s390 s390x
a41a5b
cat %{SOURCE52} | tee -a mysql-test/unstable-tests
a41a5b
%endif
a41a5b
a41a5b
%ifarch ppc ppc64 ppc64p7 ppc64le
a41a5b
cat %{SOURCE53} | tee -a mysql-test/unstable-tests
a41a5b
%endif
a41a5b
a41a5b
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
a41a5b
   %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE18} %{SOURCE70} %{SOURCE73} scripts
a41a5b
a41a5b
%if 0%{?scl:1}
a41a5b
%patch90 -p1 -b .p90
a41a5b
%endif
a41a5b
a41a5b
%if %{with galera}
a41a5b
# prepare selinux policy
a41a5b
mkdir selinux
a41a5b
sed 's/mariadb-server-galera/%{name}-server-galera/' %{SOURCE72} > selinux/%{name}-server-galera.te
a41a5b
%endif
a41a5b
a41a5b
a41a5b
# Get version of PCRE, that upstream use
a41a5b
pcre_version=`grep -e "URL\s" cmake/pcre.cmake | sed -r "s;[^0123456789]*2-([[:digit:]]+\.[[:digit:]]+)\.[^0123456789]*;\1;"`
a41a5b
a41a5b
# Check if the PCRE version in macro 'pcre_bundled_version', used in Provides: bundled(...), is the same version as upstream actually bundles
a41a5b
%if %{without unbundled_pcre}
a41a5b
if [ %{pcre_bundled_version} != "$pcre_version" ] ; then
e7095a
  echo -e "\n Error: Bundled PCRE version is not correct. \n\tBundled version number:%{pcre_bundled_version} \n\tUpstream version number: $pcre_version\n"
a41a5b
  exit 1
a41a5b
fi
a41a5b
%else
a41a5b
# Check if the PCRE version that upstream use, is the same as the one present in system
a41a5b
# This is explicitly ignored at this point as it looks like the system version
a41a5b
# looks good so far, despite upstram's recommendation
a41a5b
#pcre_system_version=`pkgconf %{?scl:%{_root_libdir}}%{!?scl:%{_libdir}}/pkgconfig/libpcre.pc --modversion 2>/dev/null `
a41a5b
a41a5b
#if [ "$pcre_system_version" != "$pcre_version" ] ; then
e7095a
#  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"
a41a5b
#fi
a41a5b
%endif
a41a5b
a41a5b
a41a5b
a41a5b
%build
a41a5b
a41a5b
# fail quickly and obviously if user tries to build as root
a41a5b
%if %runselftest
a41a5b
    if [ x"$(id -u)" = "x0" ]; then
a41a5b
        echo "mysql's regression tests fail if run as root."
a41a5b
        echo "If you really need to build the RPM as root, use"
a41a5b
        echo "--nocheck to skip the regression tests."
a41a5b
        exit 1
a41a5b
    fi
a41a5b
%endif
a41a5b
a41a5b
%{?scl:scl enable %{scl} %{?dts} - << "EOF"}
a41a5b
set -ex
a41a5b
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
a41a5b
# so we can't use %%{_datadir} and so forth here.
a41a5b
%cmake . \
a41a5b
         -DBUILD_CONFIG=mysql_release \
a41a5b
         -DFEATURE_SET="community" \
a41a5b
         -DINSTALL_LAYOUT=RPM \
a41a5b
         -DDAEMON_NAME="%{daemon_name}" \
a41a5b
         -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
a41a5b
%if 0%{?scl:1}
a41a5b
         -DSCL_NAME="%{?scl}" \
a41a5b
         -DSCL_NAME_UPPER="%{?scl_upper}" \
a41a5b
         -DSCL_SCRIPTS="%{?_scl_scripts}" \
a41a5b
%endif
a41a5b
         -DLOG_LOCATION="%{logfile}" \
a41a5b
         -DPID_FILE_DIR="%{pidfiledir}" \
a41a5b
         -DNICE_PROJECT_NAME="MariaDB" \
a41a5b
         -DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora%{fedora}}" \
a41a5b
         -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
a41a5b
         -DINSTALL_SYSCONFDIR="%{_sysconfdir}" \
a41a5b
         -DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
a41a5b
         -DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
a41a5b
         -DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
a41a5b
         -DINSTALL_INCLUDEDIR=include/mysql \
a41a5b
         -DINSTALL_INFODIR=share/info \
a41a5b
         -DINSTALL_LIBDIR="%{_lib}" \
a41a5b
         -DINSTALL_MANDIR=share/man \
a41a5b
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
a41a5b
         -DINSTALL_MYSQLTESTDIR=%{?with_test:share/mysql-test}%{!?with_test:} \
a41a5b
         -DINSTALL_PLUGINDIR="%{_lib}/%{pkg_name}/plugin" \
a41a5b
         -DINSTALL_SBINDIR=libexec \
a41a5b
         -DINSTALL_SCRIPTDIR=bin \
a41a5b
         -DINSTALL_SUPPORTFILESDIR=share/%{pkg_name} \
a41a5b
         -DMYSQL_DATADIR="%{dbdatadir}" \
a41a5b
         -DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
a41a5b
         -DTMPDIR=/var/tmp \
a41a5b
         -DGRN_DATA_DIR=share/%{name}-server/groonga \
a41a5b
         -DGROONGA_NORMALIZER_MYSQL_PROJECT_NAME=%{name}-server/groonga-normalizer-mysql \
a41a5b
         -DENABLED_LOCAL_INFILE=ON \
a41a5b
         -DENABLE_DTRACE=ON \
a41a5b
         -DSECURITY_HARDENED=ON \
a41a5b
         -DWITH_WSREP=%{?with_galera:ON}%{!?with_galera:OFF} \
a41a5b
         -DWITH_INNODB_DISALLOW_WRITES=%{?with_galera:ON}%{!?with_galera:OFF} \
a41a5b
         -DWITH_EMBEDDED_SERVER=%{?with_embedded:ON}%{!?with_embedded:OFF} \
a41a5b
         -DWITH_MARIABACKUP=%{?with_backup:ON}%{!?with_backup:NO} \
a41a5b
         -DWITH_UNIT_TESTS=%{?with_test:ON}%{!?with_test:NO} \
a41a5b
         -DCONC_WITH_SSL=%{?with_clibrary:ON}%{!?with_clibrary:NO} \
a41a5b
         -DWITH_SSL=system \
a41a5b
         -DWITH_ZLIB=system \
a41a5b
         -DWITH_PCRE=system \
a41a5b
         -DLZ4_LIBS=%{_libdir}/liblz4.so \
a41a5b
         -DLZ4_LIBS=%{?with_lz4:%{_libdir}/liblz4.so}%{!?with_lz4:} \
a41a5b
         -DWITH_INNODB_LZ4=%{?with_lz4:ON}%{!?with_lz4:OFF} \
a41a5b
         -DWITH_ROCKSDB_LZ4=%{?with_lz4:ON}%{!?with_lz4:OFF} \
a41a5b
         -DPLUGIN_MROONGA=%{?with_mroonga:DYNAMIC}%{!?with_mroonga:NO} \
a41a5b
         -DPLUGIN_OQGRAPH=%{?with_oqgraph:DYNAMIC}%{!?with_oqgraph:NO} \
a41a5b
         -DPLUGIN_CRACKLIB_PASSWORD_CHECK=%{?with_cracklib:DYNAMIC}%{!?with_cracklib:NO} \
a41a5b
         -DPLUGIN_ROCKSDB=%{?with_rocksdb:DYNAMIC}%{!?with_rocksdb:NO} \
a41a5b
         -DPLUGIN_SPHINX=%{?with_sphinx:DYNAMIC}%{!?with_sphinx:NO} \
a41a5b
         -DPLUGIN_CONNECT=%{?with_connect:DYNAMIC}%{!?with_connect:NO} \
e7095a
         -DPLUGIN_COLUMNSTORE=NO \
a41a5b
         -DPLUGIN_CLIENT_ED25519=OFF \
a41a5b
         -DPLUGIN_CACHING_SHA2_PASSWORD=OFF \
a41a5b
         -DPYTHON_SHEBANG=%{python_path} \
a41a5b
         -DPYTHON_SHEBANG=%{__python} \
a41a5b
         -DPLUGIN_AWS_KEY_MANAGEMENT=NO \
a41a5b
         -DCONNECT_WITH_MONGO=OFF \
a41a5b
         -DCONNECT_WITH_JDBC=OFF \
a41a5b
%{?with_debug: -DCMAKE_BUILD_TYPE=Debug -DWITH_ASAN=OFF -DWITH_INNODB_EXTRA_DEBUG=ON -DWITH_VALGRIND=ON}
a41a5b
a41a5b
a41a5b
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
a41a5b
# force PIC mode so that we can build libmysqld.so
a41a5b
CFLAGS="$CFLAGS -fPIC"
a41a5b
a41a5b
%if %{with debug}
a41a5b
# Override all optimization flags when making a debug build
a41a5b
# -D_FORTIFY_SOURCE requires optimizations enabled. Disable the fortify.
a41a5b
CFLAGS=`echo "$CFLAGS" | sed -r 's/-D_FORTIFY_SOURCE=[012]/-D_FORTIFY_SOURCE=0/'`
a41a5b
CFLAGS=`echo "$CFLAGS" | sed -r 's/-O[0123]//'`
a41a5b
a41a5b
CFLAGS="$CFLAGS -O0 -g -D_FORTIFY_SOURCE=0"
a41a5b
a41a5b
# Fixes for Fedora 32 & Rawhide (GCC 10.0):
a41a5b
%if 0%{?fedora} >= 32
a41a5b
CFLAGS="$CFLAGS -Wno-error=class-memaccess"
a41a5b
CFLAGS="$CFLAGS -Wno-error=enum-conversion"
a41a5b
%endif # f32
a41a5b
%endif # debug
a41a5b
a41a5b
CXXFLAGS="$CFLAGS"
a41a5b
CPPFLAGS="$CFLAGS"
a41a5b
export CFLAGS CXXFLAGS CPPFLAGS
a41a5b
a41a5b
a41a5b
# Print all Cmake options values; "-LAH" means "List Advanced Help"
a41a5b
cmake -LAH
a41a5b
a41a5b
#%cmake_build
a41a5b
a41a5b
# to safe disk space, do not use ccache
a41a5b
export CCACHE_DISABLE=1
a41a5b
# do not use %%{?_smp_mflags} to safe memory and avoid build failure due to not enough resources
261253
make VERBOSE=1
a41a5b
a41a5b
%{?scl:EOF}
a41a5b
a41a5b
a41a5b
# build selinux policy
a41a5b
%if %{with galera}
a41a5b
pushd selinux
a41a5b
make -f /usr/share/selinux/devel/Makefile %{name}-server-galera.pp
a41a5b
%endif
a41a5b
a41a5b
a41a5b
a41a5b
%install
a41a5b
#%cmake_install
a41a5b
%{?scl:scl enable %{scl} %{?dts} - << "EOF"}
a41a5b
set -ex
a41a5b
make DESTDIR=%{buildroot} install
a41a5b
%{?scl:EOF}
a41a5b
a41a5b
# multilib header support #1625157
a41a5b
for header in mysql/server/my_config.h mysql/server/private/config.h; do
a41a5b
%multilib_fix_c_header --file %{_includedir}/$header
a41a5b
done
a41a5b
a41a5b
ln -s mysql_config.1.gz %{buildroot}%{_mandir}/man1/mariadb_config.1.gz
a41a5b
a41a5b
# multilib support for shell scripts
a41a5b
# we only apply this to known Red Hat multilib arches, per bug #181335
a41a5b
if [ %multilib_capable ]
a41a5b
then
a41a5b
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
a41a5b
install -p -m 0755 scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
a41a5b
# Copy manual page for multilib mysql_config; https://jira.mariadb.org/browse/MDEV-11961
a41a5b
ln -s mysql_config.1 %{buildroot}%{_mandir}/man1/mysql_config-%{__isa_bits}.1
a41a5b
fi
a41a5b
261253
261253
mv %{buildroot}%{_libdir}/../lib/pkgconfig/libmariadb.pc %{buildroot}%{_libdir}/pkgconfig/
261253
a41a5b
a41a5b
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
a41a5b
# but that's pretty wacko --- see also %%{name}-file-contents.patch)
a41a5b
install -p -m 644 Docs/INFO_SRC %{buildroot}%{_libdir}/%{pkg_name}/
a41a5b
install -p -m 644 Docs/INFO_BIN %{buildroot}%{_libdir}/%{pkg_name}/
a41a5b
rm -r %{buildroot}%{_datadir}/doc/%{_pkgdocdirname}/MariaDB-server-%{version}/
a41a5b
a41a5b
# Logfile creation
a41a5b
mkdir -p %{buildroot}%{logfiledir}
a41a5b
chmod 0750 %{buildroot}%{logfiledir}
a41a5b
touch %{buildroot}%{logfile}
a41a5b
a41a5b
# current setting in my.cnf is to use /var/run/mariadb for creating pid file,
a41a5b
# however since my.cnf is not updated by RPM if changed, we need to create mysqld
a41a5b
# as well because users can have odd settings in their /etc/my.cnf
a41a5b
mkdir -p %{buildroot}%{pidfiledir}
a41a5b
install -p -m 0755 -d %{buildroot}%{dbdatadir}
a41a5b
a41a5b
# create directory for socket
a41a5b
%{?scl:install -p -m 0755 -d %{buildroot}/var/lib/mysql}
a41a5b
a41a5b
%if %{with config}
a41a5b
install -D -p -m 0644 scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
a41a5b
%else
a41a5b
rm scripts/my.cnf
a41a5b
%endif
a41a5b
a41a5b
# use different config file name for each variant of server (mariadb / mysql)
a41a5b
mv %{buildroot}%{_sysconfdir}/my.cnf.d/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
a41a5b
a41a5b
# Rename sysusers and tmpfiles config files, they should be named after the software they belong to
a41a5b
mv %{buildroot}%{_sysusersdir}/mariadb.conf %{buildroot}%{_sysusersdir}/%{name}.conf
a41a5b
rm %{buildroot}%{_tmpfilesdir}/mariadb.conf
a41a5b
a41a5b
# remove SysV init script and a symlink to that, we use systemd
a41a5b
rm %{buildroot}%{_libexecdir}/rcmysql
a41a5b
# install systemd unit files and scripts for handling server startup
a41a5b
rm -f %{buildroot}%{_unitdir}/%{pkg_name}.service
a41a5b
install -D -p -m 644 scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
a41a5b
install -D -p -m 644 scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}@.service
a41a5b
a41a5b
# Install downstream version of tmpfiles
a41a5b
install -D -p -m 0644 scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{name}.conf
a41a5b
%if 0%{?mysqld_pid_dir:1}
a41a5b
echo "d %{pidfiledir} 0755 mysql mysql -" >>%{buildroot}%{_tmpfilesdir}/%{name}.conf
a41a5b
%endif
a41a5b
a41a5b
# helper scripts for service starting
a41a5b
install -p -m 755 scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
a41a5b
install -p -m 755 scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
a41a5b
install -p -m 755 scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade
a41a5b
install -p -m 644 scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
a41a5b
a41a5b
# daemon helper for fixing SELinux in systemd
a41a5b
%if 0%{?scl:1}
a41a5b
install -p -m 755 %{SOURCE40} %{buildroot}%{_libexecdir}/mysqld-scl-helper
a41a5b
%endif
a41a5b
a41a5b
# install aditional galera selinux policy
a41a5b
%if %{with galera}
a41a5b
install -p -m 644 -D selinux/%{name}-server-galera.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp
a41a5b
%endif
a41a5b
a41a5b
%if %{with test}
a41a5b
# mysql-test includes one executable that doesn't belong under /usr/share, so move it and provide a symlink
a41a5b
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
a41a5b
ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
a41a5b
# Provide symlink expected by RH QA tests
a41a5b
ln -s unstable-tests %{buildroot}%{_datadir}/mysql-test/rh-skipped-tests.list
a41a5b
%endif
a41a5b
a41a5b
a41a5b
# Client that uses libmysqld embedded server.
a41a5b
# Pretty much like normal mysql command line client, but it doesn't require a running mariadb server.
a41a5b
%{?with_embedded:rm %{buildroot}%{_bindir}/{mariadb-,mysql_}embedded}
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}embedded.1*
a41a5b
# Static libraries
a41a5b
rm %{buildroot}%{_libdir}/*.a
a41a5b
# This script creates the MySQL system tables and starts the server.
a41a5b
# Upstream says:
a41a5b
#   It looks like it's just "mysql_install_db && mysqld_safe"
a41a5b
#   I've never heard of anyone using it, I'd say, no need to pack it.
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/binary-configure
a41a5b
# FS files first-bytes recoginiton
a41a5b
# Not updated by upstream since nobody realy use that
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/magic
a41a5b
a41a5b
# Upstream ships them because of, https://jira.mariadb.org/browse/MDEV-10797
a41a5b
# In Fedora we use our own systemd unit files and scripts
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/mysql.server
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server
a41a5b
a41a5b
# Binary for monitoring MySQL performance
a41a5b
# Shipped as a standalone package in Fedora
a41a5b
rm %{buildroot}%{_bindir}/mytop
a41a5b
rm %{buildroot}%{_mandir}/man1/mytop.1*
a41a5b
a41a5b
# Should be shipped with mariadb-connector-c
a41a5b
rm %{buildroot}%{_mandir}/man1/mariadb_config.1*
a41a5b
a41a5b
# put logrotate script where it needs to be
a41a5b
mkdir -p %{buildroot}%{logrotateddir}
a41a5b
mv %{buildroot}%{_datadir}/%{pkg_name}/mysql-log-rotate %{buildroot}%{logrotateddir}/%{daemon_name}
a41a5b
chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
a41a5b
a41a5b
# for compatibility with upstream RPMs, create mysqld symlink in sbin
a41a5b
mkdir -p %{buildroot}%{_sbindir}
a41a5b
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
a41a5b
ln -s %{_libexecdir}/mariadbd %{buildroot}%{_sbindir}/mariadbd
a41a5b
a41a5b
# copy additional docs into build tree so %%doc will find them
a41a5b
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
a41a5b
install -p -m 0644 %{SOURCE7} %{basename:%{SOURCE7}}
a41a5b
install -p -m 0644 %{SOURCE8} %{basename:%{SOURCE8}}
a41a5b
install -p -m 0644 %{SOURCE16} %{basename:%{SOURCE16}}
a41a5b
install -p -m 0644 %{SOURCE71} %{basename:%{SOURCE71}}
a41a5b
a41a5b
# Delete upstreams service files
a41a5b
# We don't use this location of service files
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/systemd/{mysql,mysqld}.service
a41a5b
# These may come handy in a future, but right now we use our own services
a41a5b
rm %{buildroot}/usr/lib/systemd/system/{mysql,mysqld}.service
a41a5b
a41a5b
# install galera config file
a41a5b
%if %{with galera}
a41a5b
sed -i -r 's|^wsrep_provider=none|wsrep_provider=%{_libdir}/galera/libgalera_smm.so|' support-files/wsrep.cnf
a41a5b
install -p -m 0644 support-files/wsrep.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
a41a5b
%endif
a41a5b
# install the clustercheck script
a41a5b
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
a41a5b
touch %{buildroot}%{_sysconfdir}/sysconfig/clustercheck
a41a5b
install -p -m 0755 scripts/clustercheck %{buildroot}%{_bindir}/clustercheck
a41a5b
a41a5b
# for SCL we do not want unprefixed service file
a41a5b
%if 0%{?scl:1} && %{with init_systemd}
a41a5b
rm %{buildroot}%{_unitdir}/mariadb.service
a41a5b
%endif
a41a5b
a41a5b
# remove duplicate logrotate script
a41a5b
rm %{buildroot}%{_sysconfdir}/logrotate.d/mysql
a41a5b
# Remove AppArmor files
a41a5b
rm -r %{buildroot}%{_datadir}/%{pkg_name}/policy/apparmor
a41a5b
a41a5b
# Buildroot does not have symlink /lib64 --> /usr/lib64
a41a5b
mv %{buildroot}/%{_lib}/security %{buildroot}%{_libdir}
a41a5b
a41a5b
# Move new PAM auth plugin files to the correct SCL locations
a41a5b
mv %{buildroot}/etc/security %{buildroot}%{_sysconfdir}
a41a5b
a41a5b
# Add wsrep_sst_rsync_tunnel script
a41a5b
install -p -m 0755 scripts/wsrep_sst_rsync_tunnel %{buildroot}%{_bindir}/wsrep_sst_rsync_tunnel
a41a5b
a41a5b
# Disable plugins
a41a5b
%if %{with gssapi}
a41a5b
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
a41a5b
%endif
a41a5b
%if %{with cracklib}
a41a5b
sed -i 's/^plugin-load-add/#plugin-load-add/' %{buildroot}%{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
a41a5b
%endif
a41a5b
a41a5b
# Fix Galera Replication config file
a41a5b
#   The replication requires cluster address upon startup (which is end-user specific).
a41a5b
#   Disable it entirely, rather than have it failing out-of-the-box.
a41a5b
%if %{with galera}
a41a5b
sed -i 's/^wsrep_on=1/wsrep_on=0/' %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
a41a5b
%endif
a41a5b
a41a5b
%if %{without embedded}
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
a41a5b
%endif
a41a5b
a41a5b
a41a5b
%if %{without clibrary}
a41a5b
rm %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
a41a5b
# Client library and links
a41a5b
rm %{buildroot}%{_libdir}/libmariadb.so.*
a41a5b
unlink %{buildroot}%{_libdir}/libmysqlclient.so
a41a5b
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
a41a5b
unlink %{buildroot}%{_libdir}/libmariadb.so
a41a5b
%if ! 0%{?scl:1}
a41a5b
# Client plugins
a41a5b
rm %{buildroot}%{_libdir}/%{pkg_name}/plugin/{dialog.so,mysql_clear_password.so,sha256_password.so,auth_gssapi_client.so}
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
%if %{without clibrary} || %{without devel}
a41a5b
rm %{buildroot}%{_bindir}/mysql_config*
a41a5b
rm %{buildroot}%{_bindir}/mariadb_config
a41a5b
rm %{buildroot}%{_bindir}/mariadb-config
a41a5b
rm %{buildroot}%{_mandir}/man1/mysql_config*.1*
a41a5b
%endif
a41a5b
a41a5b
%if %{without clibrary} && %{with devel}
a41a5b
# This files are already included in mariadb-connector-c
a41a5b
rm %{buildroot}%{_includedir}/mysql/mysql_version.h
a41a5b
rm %{buildroot}%{_includedir}/mysql/{errmsg.h,ma_list.h,ma_pvio.h,mariadb_com.h,\
a41a5b
mariadb_ctype.h,mariadb_dyncol.h,mariadb_stmt.h,mariadb_version.h,ma_tls.h,mysqld_error.h,mysql.h}
a41a5b
rm -r %{buildroot}%{_includedir}/mysql/{mariadb,mysql}
a41a5b
%endif
a41a5b
a41a5b
%if %{without devel}
a41a5b
rm -r %{buildroot}%{_includedir}/mysql
a41a5b
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
261253
rm %{buildroot}%{_libdir}/pkgconfig/*mariadb.pc
a41a5b
%if %{with clibrary}
a41a5b
rm %{buildroot}%{_libdir}/libmariadb*.so
a41a5b
unlink %{buildroot}%{_libdir}/libmysqlclient.so
a41a5b
unlink %{buildroot}%{_libdir}/libmysqlclient_r.so
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
%if %{without client}
a41a5b
rm %{buildroot}%{_bindir}/msql2mysql
a41a5b
rm %{buildroot}%{_bindir}/{mysql,mariadb}
a41a5b
rm %{buildroot}%{_bindir}/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}
a41a5b
rm %{buildroot}%{_bindir}/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}
a41a5b
a41a5b
rm %{buildroot}%{_mandir}/man1/msql2mysql.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql,mariadb}.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/mysql{access,admin,binlog,check,dump,_find_rows,import,_plugin,show,slap,_waitpid}.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/mariadb-{access,admin,binlog,check,dump,find-rows,import,plugin,show,slap,waitpid}.1*
a41a5b
%endif
a41a5b
a41a5b
%if 0%{?fedora} || 0%{?rhel} > 7
a41a5b
# Move to better location, systemd config files has to be in /lib/
a41a5b
mv %{buildroot}%{_sysconfdir}/systemd/system/mariadb.service.d %{buildroot}%{_unitdir}
a41a5b
%endif
a41a5b
a41a5b
%if %{without config}
a41a5b
rm %{buildroot}%{_sysconfdir}/my.cnf
a41a5b
%endif
a41a5b
a41a5b
%if %{without common}
a41a5b
rm -r %{buildroot}%{_datadir}/%{pkg_name}/charsets
a41a5b
%endif
a41a5b
a41a5b
%if %{without gssapi}
a41a5b
rm -r %{buildroot}/etc/my.cnf.d/auth_gssapi.cnf
a41a5b
%endif
a41a5b
a41a5b
%if %{without errmsg}
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/errmsg-utf8.txt
a41a5b
rm -r %{buildroot}%{_datadir}/%{pkg_name}/{english,czech,danish,dutch,estonian,\
a41a5b
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
261253
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian,hindi,\
261253
bulgarian,chinese}
a41a5b
%endif
a41a5b
a41a5b
%if %{without test}
a41a5b
%if %{with embedded}
a41a5b
rm %{buildroot}%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
a41a5b
rm %{buildroot}%{_bindir}/{mariadb-client-test-embedded,mariadb-test-embedded}
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test-embedded,mariadb-test-embedded}.1*
a41a5b
%endif # embedded
a41a5b
rm %{buildroot}%{_bindir}/test-connect-t
a41a5b
rm %{buildroot}%{_bindir}/{mysql_client_test,mysqltest}
a41a5b
rm %{buildroot}%{_bindir}/{mariadb-client-test,mariadb-test}
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql_client_test,mysqltest,my_safe_process}.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/{mariadb-client-test,mariadb-test}.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql-test-run,mysql-stress-test}.pl.1*
a41a5b
rm %{buildroot}/suite/plugins/pam/mariadb_mtr
a41a5b
rm %{buildroot}/suite/plugins/pam/pam_mariadb_mtr.so
a41a5b
%endif
a41a5b
a41a5b
%if %{without galera}
a41a5b
rm %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf
a41a5b
rm %{buildroot}%{_sysconfdir}/sysconfig/clustercheck
a41a5b
rm %{buildroot}%{_bindir}/{clustercheck,galera_new_cluster}
a41a5b
rm %{buildroot}%{_bindir}/galera_recovery
a41a5b
rm %{buildroot}%{_datadir}/%{pkg_name}/systemd/use_galera_new_cluster.conf
a41a5b
%endif
a41a5b
a41a5b
%if %{without rocksdb}
a41a5b
rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}ldb.1*
a41a5b
rm %{buildroot}%{_mandir}/man1/myrocks_hotbackup.1*
a41a5b
%endif
a41a5b
a41a5b
%if 0%{?scl:1}
a41a5b
# generate a configuration file for daemon
a41a5b
cat << EOF | tee -a %{buildroot}%{?_scl_scripts}/service-environment
a41a5b
# Services are started in a fresh environment without any influence of user's
a41a5b
# environment (like environment variable values). As a consequence,
a41a5b
# information of all enabled collections will be lost during service start up.
a41a5b
# If user needs to run a service under any software collection enabled, this
a41a5b
# collection has to be written into %{scl_upper}_SCLS_ENABLED variable
a41a5b
# in %{?_scl_scripts}/service-environment.
a41a5b
%{scl_upper}_SCLS_ENABLED="%{scl}"
a41a5b
EOF
a41a5b
a41a5b
# clear *.lst files, so it the spec works with --short-circuit RPM option
a41a5b
# otherwise we'd have the content repeated
a41a5b
rm -f *.lst
a41a5b
a41a5b
# Creating syspath without prefix for mariadb-config package
a41a5b
%scl_syspaths_install_wrapper -n mariadb-config -m link %{_sysconfdir}/my.cnf %{_root_sysconfdir}/%{scl_prefix}my.cnf
a41a5b
%scl_syspaths_install_wrapper -n mariadb-config -m link %{_sysconfdir}/my.cnf.d %{_root_sysconfdir}/%{scl_prefix}my.cnf.d
a41a5b
a41a5b
# Creating syspath without prefix for mariadb package
a41a5b
mariadb_binaries='msql2mysql my_print_defaults mysql mysql_find_rows mysql_plugin
a41a5b
mysql_waitpid mysqlaccess mysqladmin mysqlbinlog mysqlcheck mysqldump
a41a5b
mysqlimport mysqlshow mysqlslap'
a41a5b
a41a5b
%scl_syspaths_install_wrappers -n mariadb -m script -p bin $mariadb_binaries
a41a5b
a41a5b
mans= ; for bin in $mariadb_binaries; do mans+=" man1/$bin.1.gz" ; done
a41a5b
%scl_syspaths_install_wrappers -n mariadb -m link -p man $mans
a41a5b
a41a5b
a41a5b
# Creating syspath without prefix for mariadb-server package
a41a5b
mariadb_server_binaries='aria_chk aria_dump_log aria_ftdump aria_pack
a41a5b
aria_read_log innochecksum myisam_ftdump myisamchk myisamlog
a41a5b
myisampack mysql_install_db mysql_secure_installation mysql_tzinfo_to_sql mysql_upgrade
a41a5b
mysqld_safe mysqld_safe_helper replace resolve_stack_dump resolveip
a41a5b
wsrep_sst_common wsrep_sst_mysqldump wsrep_sst_rsync'
a41a5b
a41a5b
mariadb_backup_binaries_no_man='wsrep_sst_mariabackup mariabackup mbstream'
a41a5b
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server -m script -p bin $mariadb_server_binaries
a41a5b
%scl_syspaths_install_wrappers -n mariadb-backup -m script -p bin $mariadb_backup_binaries_no_man
a41a5b
a41a5b
mans= ; for bin in $mariadb_server_binaries; do mans+=" man1/$bin.1.gz" ; done
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server -m link -p man $mans
a41a5b
a41a5b
%scl_syspaths_install_wrapper -n mariadb-server -m link %{logfiledir} %{_root_localstatedir}/log/%{scl_prefix}mariadb
a41a5b
%scl_syspaths_install_wrapper -n mariadb-server -m link %{dbdatadir} %{_root_localstatedir}/lib/%{scl_prefix}mysql
a41a5b
a41a5b
%scl_syspaths_install_wrapper -n mariadb-server -m link %{_unitdir}/%{daemon_name}.service %{_unitdir}/%{daemon_no_prefix}.service
a41a5b
%scl_syspaths_install_wrapper -n mariadb-server -m link %{_unitdir}/%{daemon_name}@.service %{_unitdir}/%{daemon_no_prefix}@.service
a41a5b
a41a5b
# Creating syspath without prefix for mariadb-server-utils package
a41a5b
mariadb_server_utils_binaries='
a41a5b
mysql_convert_table_format mysql_fix_extensions mysql_setpermission
a41a5b
mysqldumpslow mysqld_multi mysqlhotcopy mysqltest perror'
a41a5b
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server-utils -m script -p bin $mariadb_server_utils_binaries
a41a5b
a41a5b
mans= ; for bin in $mariadb_server_utils_binaries; do mans+=" man1/$bin.1.gz" ; done
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server-utils -m link -p man $mans
a41a5b
a41a5b
# Creating syspath without prefix for mariadb-server-galera package
a41a5b
mariadb_server_galera_binaries='galera_new_cluster'
a41a5b
mariadb_server_galera_binaries+=' galera_recovery'
a41a5b
mariadb_server_galera_binaries_no_man='clustercheck'
a41a5b
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server-galera -m script -p bin $mariadb_server_galera_binaries
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server-galera -m script -p bin $mariadb_server_galera_binaries_no_man
a41a5b
a41a5b
mans= ; for bin in $mariadb_server_galera_binaries; do mans+=" man1/$bin.1.gz" ; done
a41a5b
%scl_syspaths_install_wrappers -n mariadb-server-galera -m link -p man $mans
a41a5b
a41a5b
%endif #scl
a41a5b
a41a5b
%check
a41a5b
%if %{with test}
a41a5b
%if %runselftest
a41a5b
%{?scl:scl enable %{scl} %{?dts} - << "EOF"}
a41a5b
set -ex
a41a5b
# hack to let 32- and 64-bit tests run concurrently on same build machine
a41a5b
export MTR_PARALLEL=1
a41a5b
# Builds might happen at the same host, avoid collision
a41a5b
#   The port used is calculated as 20 * MTR_BUILD_THREAD + 10000
a41a5b
#   The resulting port must be between 5000 and 32767
a41a5b
#   This is the same as using option "--build-thread" for the "mysql-test-run.pl"
a41a5b
export MTR_BUILD_THREAD=$(( $(date +%s) % 1100 ))
a41a5b
a41a5b
# The cmake build scripts don't provide any simple way to control the
a41a5b
# options for mysql-test-run, so ignore the make target and just call it
a41a5b
# manually.  Nonstandard options chosen are:
a41a5b
# --force to continue tests after a failure
a41a5b
# no retries please
a41a5b
# test SSL with --ssl
a41a5b
# skip tests that are listed in rh-skipped-tests.list
a41a5b
# avoid redundant test runs with --binlog-format=mixed
a41a5b
# increase timeouts to prevent unwanted failures during mass rebuilds
a41a5b
a41a5b
# Usefull arguments:
a41a5b
#    --do-test=mysql_client_test_nonblock \
a41a5b
#    --skip-rpl
a41a5b
#    --suite=roles
a41a5b
#    --mem for running in the RAM; Not enough space in KOJI for this
a41a5b
a41a5b
(
a41a5b
  set -ex
a41a5b
  cd %{buildroot}%{_datadir}/mysql-test
a41a5b
a41a5b
  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 --mem"
a41a5b
a41a5b
  # If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run
a41a5b
  if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]]
a41a5b
  then
a41a5b
    # in further rebuilds only run the basic "main" suite (~800 tests)
e7095a
    echo -e "\n\nRunning just the base testsuite\n\n"
a41a5b
    perl ./mysql-test-run.pl $common_testsuite_arguments --ssl --suite=main --mem --skip-test-list=unstable-tests
a41a5b
  fi
a41a5b
a41a5b
  # If either this version wasn't marked as tested yet or I explicitly want to run the testsuite, run everything we have (~4000 test)
a41a5b
  if [[ "%{last_tested_version}" != "%{version}" ]] || [[ %{force_run_testsuite} -ne 0 ]]
a41a5b
  then
e7095a
    echo -e "\n\nRunning the advanced testsuite\n\n"
a41a5b
    perl ./mysql-test-run.pl $common_testsuite_arguments --ssl --skip-test=spider \
a41a5b
    %if %{ignore_testsuite_result}
a41a5b
      --max-test-fail=9999 || :
a41a5b
    %else
a41a5b
      --skip-test-list=unstable-tests
a41a5b
    %endif
a41a5b
    # Second run for the SPIDER suites that fail with SCA (ssl self signed certificate)
a41a5b
    perl ./mysql-test-run.pl $common_testsuite_arguments --skip-ssl --big-test --mem --suite=spider,spider/bg,spider/bugfix,spider/handler \
a41a5b
    %if %{ignore_testsuite_result}
a41a5b
      --max-test-fail=999 || :
a41a5b
    %endif
a41a5b
  # blank line
a41a5b
  fi
a41a5b
a41a5b
  # There might be a dangling symlink left from the testing, remove it to not be installed
a41a5b
  rm -rf ./var
a41a5b
)
a41a5b
a41a5b
# NOTE: the Spider SE has 2 more hidden testsuites "oracle" and "oracle2".
a41a5b
#       however, all of the tests fail with: "failed: 12521: Can't use wrapper 'oracle' for SQL connection"
a41a5b
a41a5b
%{?scl:EOF}
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
a41a5b
a41a5b
%pre server
a41a5b
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
a41a5b
/usr/sbin/useradd -M -N -g mysql -o -r -d %{mysqluserhome} -s /sbin/nologin \
a41a5b
  -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
a41a5b
a41a5b
%if %{with galera}
a41a5b
%post server-galera
a41a5b
# Allow ports needed for the replication:
a41a5b
# https://mariadb.com/kb/en/library/configuring-mariadb-galera-cluster/#network-ports
a41a5b
#   Galera Replication Port
a41a5b
semanage port -a -t mysqld_port_t -p tcp 4567 >/dev/null 2>&1 || :
a41a5b
semanage port -a -t mysqld_port_t -p udp 4567 >/dev/null 2>&1 || :
a41a5b
#   IST Port
a41a5b
semanage port -a -t mysqld_port_t -p tcp 4568 >/dev/null 2>&1 || :
a41a5b
#   SST Port
a41a5b
semanage port -a -t mysqld_port_t -p tcp 4444 >/dev/null 2>&1 || :
a41a5b
a41a5b
semodule -i %{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp >/dev/null 2>&1 || :
a41a5b
%endif
a41a5b
a41a5b
%post server
a41a5b
%if 0%{?scl:1}
a41a5b
semanage fcontext -a -e "%{se_daemon_source}" "%{_unitdir}/%{daemon_name}.service" >/dev/null 2>&1 || :
a41a5b
semanage fcontext -a -t mysqld_var_run_t "%{pidfiledir}" >/dev/null 2>&1 || :
a41a5b
# work-around for rhbz#1172683
a41a5b
semanage fcontext -a -t mysqld_exec_t %{_root_libexecdir}/mysqld-scl-helper >/dev/null 2>&1 || :
a41a5b
# work-around for rhbz#1464803
a41a5b
semanage fcontext -a -t mysqld_exec_t %{_root_bindir}/mysqld_safe_helper >/dev/null 2>&1 || :
a41a5b
# mysqld is now a symlink to mariadbd, mysql_upgrade a symlink to mariadb-upgrade
a41a5b
semanage fcontext -a -t mysqld_exec_t %{_root_libexecdir}/mariadbd
a41a5b
semanage fcontext -a -t mysqld_exec_t %{_root_bindir}/mariadb-upgrade
a41a5b
selinuxenabled && load_policy || :
a41a5b
restorecon -R "%{?_scl_root}/" >/dev/null 2>&1 || :
a41a5b
restorecon -R "%{_sysconfdir}" >/dev/null 2>&1 || :
a41a5b
restorecon -R "%{_localstatedir}" >/dev/null 2>&1 || :
a41a5b
restorecon -R "%{_unitdir}/%{daemon_name}.service" >/dev/null 2>&1 || :
a41a5b
restorecon -R "%{pidfiledir}" >/dev/null 2>&1 || :
a41a5b
%endif
a41a5b
%systemd_post %{daemon_name}.service
a41a5b
a41a5b
%preun server
a41a5b
%systemd_preun %{daemon_name}.service
a41a5b
a41a5b
%if %{with galera}
a41a5b
%postun server-galera
a41a5b
if [ $1 -eq 0 ]; then
a41a5b
    semodule -r %{name}-server-galera 2>/dev/null || :
a41a5b
fi
a41a5b
%endif
a41a5b
a41a5b
%postun server
a41a5b
%systemd_postun_with_restart %{daemon_name}.service
a41a5b
a41a5b
a41a5b
a41a5b
%if %{with client}
a41a5b
%files
a41a5b
%{_bindir}/msql2mysql
a41a5b
%{_bindir}/mysql
a41a5b
%{_bindir}/mariadb
a41a5b
%{_bindir}/mysqlaccess
a41a5b
%{_bindir}/mysqladmin
a41a5b
%{_bindir}/mysqlbinlog
a41a5b
%{_bindir}/mysqlcheck
a41a5b
%{_bindir}/mysqldump
a41a5b
%{_bindir}/mysql_find_rows
a41a5b
%{_bindir}/mysqlimport
a41a5b
%{_bindir}/mysql_plugin
a41a5b
%{_bindir}/mysqlshow
a41a5b
%{_bindir}/mysqlslap
a41a5b
%{_bindir}/mysql_waitpid
a41a5b
%{_bindir}/mariadb-access
a41a5b
%{_bindir}/mariadb-admin
a41a5b
%{_bindir}/mariadb-binlog
a41a5b
%{_bindir}/mariadb-check
a41a5b
%{_bindir}/mariadb-dump
a41a5b
%{_bindir}/mariadb-find-rows
a41a5b
%{_bindir}/mariadb-import
a41a5b
%{_bindir}/mariadb-plugin
a41a5b
%{_bindir}/mariadb-show
a41a5b
%{_bindir}/mariadb-slap
a41a5b
%{_bindir}/mariadb-waitpid
a41a5b
a41a5b
%{_mandir}/man1/msql2mysql.1*
a41a5b
%{_mandir}/man1/mysql.1*
a41a5b
%{_mandir}/man1/mariadb.1*
a41a5b
%{_mandir}/man1/mysqlaccess.1*
a41a5b
%{_mandir}/man1/mysqladmin.1*
a41a5b
%{_mandir}/man1/mysqlbinlog.1*
a41a5b
%{_mandir}/man1/mysqlcheck.1*
a41a5b
%{_mandir}/man1/mysqldump.1*
a41a5b
%{_mandir}/man1/mysql_find_rows.1*
a41a5b
%{_mandir}/man1/mysqlimport.1*
a41a5b
%{_mandir}/man1/mysql_plugin.1*
a41a5b
%{_mandir}/man1/mysqlshow.1*
a41a5b
%{_mandir}/man1/mysqlslap.1*
a41a5b
%{_mandir}/man1/mysql_waitpid.1*
a41a5b
%{_mandir}/man1/mariadb-access.1*
a41a5b
%{_mandir}/man1/mariadb-admin.1*
a41a5b
%{_mandir}/man1/mariadb-binlog.1*
a41a5b
%{_mandir}/man1/mariadb-check.1*
a41a5b
%{_mandir}/man1/mariadb-dump.1*
a41a5b
%{_mandir}/man1/mariadb-find-rows.1*
a41a5b
%{_mandir}/man1/mariadb-import.1*
a41a5b
%{_mandir}/man1/mariadb-plugin.1*
a41a5b
%{_mandir}/man1/mariadb-show.1*
a41a5b
%{_mandir}/man1/mariadb-slap.1*
a41a5b
%{_mandir}/man1/mariadb-waitpid.1*
a41a5b
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
a41a5b
a41a5b
# Client plugins
a41a5b
%if 0%{?scl:1}
a41a5b
%{_libdir}/%{pkg_name}/plugin/dialog.so
a41a5b
%{_libdir}/%{pkg_name}/plugin/mysql_clear_password.so
a41a5b
%{_libdir}/%{pkg_name}/plugin/sha256_password.so
a41a5b
%{_libdir}/%{pkg_name}/plugin/auth_gssapi_client.so
a41a5b
%endif
a41a5b
a41a5b
%endif
a41a5b
a41a5b
%if %{with clibrary}
a41a5b
%files libs
a41a5b
#%exclude %{_libdir}/libmysqlclient.so.18
a41a5b
%exclude %{_libdir}/libmariadb.so
a41a5b
%exclude %{_libdir}/libmysqlclient.so
a41a5b
%exclude %{_libdir}/libmysqlclient_r.so
a41a5b
%{_libdir}/libmariadb.so*
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
a41a5b
%endif
a41a5b
a41a5b
%if %{with config}
a41a5b
%files config
a41a5b
# although the default my.cnf contains only server settings, we put it in the
a41a5b
# common package because it can be used for client settings too.
a41a5b
%dir %{_sysconfdir}/my.cnf.d
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf
a41a5b
%endif
a41a5b
a41a5b
%if %{with common}
a41a5b
%files common
a41a5b
%doc %{_datadir}/doc/%{_pkgdocdirname}
a41a5b
%dir %{_datadir}/%{pkg_name}
a41a5b
%{_datadir}/%{pkg_name}/charsets
a41a5b
%if %{with clibrary}
a41a5b
%{_libdir}/%{pkg_name}/plugin/dialog.so
a41a5b
%{_libdir}/%{pkg_name}/plugin/mysql_clear_password.so
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
%if %{with errmsg}
a41a5b
%files errmsg
a41a5b
%{_datadir}/%{pkg_name}/errmsg-utf8.txt
a41a5b
%{_datadir}/%{pkg_name}/english
a41a5b
%lang(cs) %{_datadir}/%{pkg_name}/czech
a41a5b
%lang(da) %{_datadir}/%{pkg_name}/danish
a41a5b
%lang(nl) %{_datadir}/%{pkg_name}/dutch
a41a5b
%lang(et) %{_datadir}/%{pkg_name}/estonian
a41a5b
%lang(fr) %{_datadir}/%{pkg_name}/french
a41a5b
%lang(de) %{_datadir}/%{pkg_name}/german
a41a5b
%lang(el) %{_datadir}/%{pkg_name}/greek
a41a5b
%lang(hi) %{_datadir}/%{pkg_name}/hindi
a41a5b
%lang(hu) %{_datadir}/%{pkg_name}/hungarian
a41a5b
%lang(it) %{_datadir}/%{pkg_name}/italian
a41a5b
%lang(ja) %{_datadir}/%{pkg_name}/japanese
a41a5b
%lang(ko) %{_datadir}/%{pkg_name}/korean
a41a5b
%lang(no) %{_datadir}/%{pkg_name}/norwegian
a41a5b
%lang(no) %{_datadir}/%{pkg_name}/norwegian-ny
a41a5b
%lang(pl) %{_datadir}/%{pkg_name}/polish
a41a5b
%lang(pt) %{_datadir}/%{pkg_name}/portuguese
a41a5b
%lang(ro) %{_datadir}/%{pkg_name}/romanian
a41a5b
%lang(ru) %{_datadir}/%{pkg_name}/russian
a41a5b
%lang(sr) %{_datadir}/%{pkg_name}/serbian
a41a5b
%lang(sk) %{_datadir}/%{pkg_name}/slovak
a41a5b
%lang(es) %{_datadir}/%{pkg_name}/spanish
a41a5b
%lang(sv) %{_datadir}/%{pkg_name}/swedish
a41a5b
%lang(uk) %{_datadir}/%{pkg_name}/ukrainian
261253
%lang(bg) %{_datadir}/%{pkg_name}/bulgarian
261253
%lang(zh) %{_datadir}/%{pkg_name}/chinese
a41a5b
%endif
a41a5b
a41a5b
%if %{with galera}
a41a5b
%files server-galera
a41a5b
#%doc Docs/README-wsrep
a41a5b
#%license LICENSE.clustercheck
a41a5b
%{_bindir}/clustercheck
a41a5b
%{_bindir}/galera_new_cluster
a41a5b
%{_bindir}/galera_recovery
a41a5b
%{_datadir}/%{pkg_name}/systemd/use_galera_new_cluster.conf
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/galera.cnf
a41a5b
%attr(0640,root,root) %ghost %config(noreplace) %{_sysconfdir}/sysconfig/clustercheck
a41a5b
%{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp
a41a5b
%endif
a41a5b
a41a5b
%files server
a41a5b
%doc README.wsrep_sst_rsync_tunnel
a41a5b
a41a5b
%{_bindir}/aria_chk
a41a5b
%{_bindir}/aria_dump_log
a41a5b
%{_bindir}/aria_ftdump
a41a5b
%{_bindir}/aria_pack
a41a5b
%{_bindir}/aria_read_log
a41a5b
%{_bindir}/mariadb-service-convert
a41a5b
%{_bindir}/myisamchk
a41a5b
%{_bindir}/myisam_ftdump
a41a5b
%{_bindir}/myisamlog
a41a5b
%{_bindir}/myisampack
a41a5b
%{_bindir}/my_print_defaults
a41a5b
a41a5b
%{_bindir}/mariadb-conv
a41a5b
a41a5b
%{_bindir}/mysql_install_db
a41a5b
%{_bindir}/mysql_secure_installation
a41a5b
%{_bindir}/mysql_tzinfo_to_sql
a41a5b
%{_bindir}/mariadb-install-db
a41a5b
%{_bindir}/mariadb-secure-installation
a41a5b
%{_bindir}/mariadb-tzinfo-to-sql
a41a5b
%{_bindir}/mysqld_safe
a41a5b
%{_bindir}/mariadbd-safe
a41a5b
%{_bindir}/mysqld_safe_helper
a41a5b
%{_bindir}/mariadbd-safe-helper
a41a5b
a41a5b
%{_bindir}/innochecksum
a41a5b
%{_bindir}/replace
a41a5b
%{_bindir}/resolve_stack_dump
a41a5b
%{_bindir}/resolveip
a41a5b
# wsrep_sst_common should be moved to /usr/share/mariadb: https://jira.mariadb.org/browse/MDEV-14296
a41a5b
%{_bindir}/wsrep_*
a41a5b
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/spider.cnf
a41a5b
a41a5b
%{_libexecdir}/mysqld
a41a5b
%{_libexecdir}/mariadbd
a41a5b
%{_sbindir}/mysqld
a41a5b
%{_sbindir}/mariadbd
a41a5b
a41a5b
%if 0%{?scl:1}
a41a5b
%{_libexecdir}/mysqld-scl-helper
a41a5b
%endif
a41a5b
a41a5b
%{_libdir}/%{pkg_name}/INFO_SRC
a41a5b
%{_libdir}/%{pkg_name}/INFO_BIN
a41a5b
%if %{without common}
a41a5b
%dir %{_datadir}/%{pkg_name}
a41a5b
%endif
a41a5b
a41a5b
%dir %{_libdir}/%{pkg_name}
a41a5b
%dir %{_libdir}/%{pkg_name}/plugin
a41a5b
%{_libdir}/%{pkg_name}/plugin/*
a41a5b
%{?with_oqgraph:%exclude %{_libdir}/%{pkg_name}/plugin/ha_oqgraph.so}
a41a5b
%{?with_connect:%exclude %{_libdir}/%{pkg_name}/plugin/ha_connect.so}
a41a5b
%{?with_cracklib:%exclude %{_libdir}/%{pkg_name}/plugin/cracklib_password_check.so}
a41a5b
%{?with_rocksdb:%exclude %{_libdir}/%{pkg_name}/plugin/ha_rocksdb.so}
a41a5b
%{?with_gssapi:%exclude %{_libdir}/%{pkg_name}/plugin/auth_gssapi.so}
a41a5b
%{?with_sphinx:%exclude %{_libdir}/%{pkg_name}/plugin/ha_sphinx.so}
a41a5b
# Client plugins
a41a5b
%if 0%{?scl:1}
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/dialog.so
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/mysql_clear_password.so
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/sha256_password.so
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/auth_gssapi_client.so
a41a5b
%else
a41a5b
%if %{with clibrary}
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/dialog.so
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/mysql_clear_password.so
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
# PAM plugin; moved to a standalone sub-package
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/auth_pam.so
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/auth_pam_v1.so
a41a5b
%exclude %dir %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir
a41a5b
%exclude %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir/auth_pam_tool
a41a5b
a41a5b
%{_mandir}/man1/aria_chk.1*
a41a5b
%{_mandir}/man1/aria_dump_log.1*
a41a5b
%{_mandir}/man1/aria_ftdump.1*
a41a5b
%{_mandir}/man1/aria_pack.1*
a41a5b
%{_mandir}/man1/aria_read_log.1*
a41a5b
%{_mandir}/man1/aria_s3_copy.1*
a41a5b
%{_mandir}/man1/galera_new_cluster.1*
a41a5b
%{_mandir}/man1/galera_recovery.1*
a41a5b
%{_mandir}/man1/mariadb-service-convert.1*
a41a5b
%{_mandir}/man1/myisamchk.1*
a41a5b
%{_mandir}/man1/myisamlog.1*
a41a5b
%{_mandir}/man1/myisampack.1*
a41a5b
%{_mandir}/man1/myisam_ftdump.1*
a41a5b
%{_mandir}/man1/my_print_defaults.1*
a41a5b
a41a5b
%{_mandir}/man1/mariadb-conv.1*
a41a5b
a41a5b
%{_mandir}/man1/mysql_install_db.1*
a41a5b
%{_mandir}/man1/mysql_secure_installation.1*
a41a5b
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
a41a5b
%{_mandir}/man1/mariadb-install-db.1*
a41a5b
%{_mandir}/man1/mariadb-secure-installation.1*
a41a5b
%{_mandir}/man1/mariadb-tzinfo-to-sql.1*
a41a5b
%{_mandir}/man1/mysqld_safe.1*
a41a5b
%{_mandir}/man1/mariadbd-safe.1*
a41a5b
%{_mandir}/man1/mysqld_safe_helper.1*
a41a5b
%{_mandir}/man1/mariadbd-safe-helper.1*
a41a5b
a41a5b
%{_mandir}/man1/innochecksum.1*
a41a5b
%{_mandir}/man1/replace.1*
a41a5b
%{_mandir}/man1/resolveip.1*
a41a5b
%{_mandir}/man1/resolve_stack_dump.1*
a41a5b
%{_mandir}/man8/mysqld.8*
a41a5b
%{_mandir}/man8/mariadbd.8*
a41a5b
%{_mandir}/man1/wsrep_*.1*
a41a5b
a41a5b
%{_mandir}/man1/mysql.server.1*
a41a5b
a41a5b
%{_datadir}/%{pkg_name}/fill_help_tables.sql
a41a5b
%{_datadir}/%{pkg_name}/maria_add_gis_sp.sql
a41a5b
%{_datadir}/%{pkg_name}/maria_add_gis_sp_bootstrap.sql
a41a5b
%{_datadir}/%{pkg_name}/mysql_system_tables.sql
a41a5b
%{_datadir}/%{pkg_name}/mysql_system_tables_data.sql
a41a5b
%{_datadir}/%{pkg_name}/mysql_test_data_timezone.sql
a41a5b
%{_datadir}/%{pkg_name}/mysql_performance_tables.sql
a41a5b
%{_datadir}/%{pkg_name}/mysql_test_db.sql
a41a5b
%if %{with mroonga}
a41a5b
%{_datadir}/%{pkg_name}/mroonga/install.sql
a41a5b
%{_datadir}/%{pkg_name}/mroonga/uninstall.sql
a41a5b
%license %{_datadir}/%{pkg_name}/mroonga/COPYING
a41a5b
%license %{_datadir}/%{pkg_name}/mroonga/AUTHORS
a41a5b
%license %{_datadir}/%{name}-server/groonga-normalizer-mysql/lgpl-2.0.txt
a41a5b
%license %{_datadir}/%{name}-server/groonga/COPYING
a41a5b
%doc %{_datadir}/%{name}-server/groonga-normalizer-mysql/README.md
a41a5b
%doc %{_datadir}/%{name}-server/groonga/README.md
a41a5b
%endif
a41a5b
%if %{with galera}
a41a5b
%{_datadir}/%{pkg_name}/wsrep.cnf
a41a5b
%endif
a41a5b
%{_datadir}/%{pkg_name}/wsrep_notify
a41a5b
%dir %{_datadir}/%{pkg_name}/policy
a41a5b
%dir %{_datadir}/%{pkg_name}/policy/selinux
a41a5b
%{_datadir}/%{pkg_name}/policy/selinux/README
a41a5b
%{_datadir}/%{pkg_name}/policy/selinux/mariadb-server.*
a41a5b
%{_datadir}/%{pkg_name}/policy/selinux/mariadb.*
a41a5b
%{_datadir}/%{pkg_name}/systemd/mariadb.service
a41a5b
# mariadb@ is installed only when we have cmake newer than 3.3
a41a5b
%if 0%{?fedora} || 0%{?rhel} > 7
a41a5b
%{_datadir}/%{pkg_name}/systemd/mariadb@.service
a41a5b
%endif
a41a5b
a41a5b
%{_unitdir}/%{daemon_name}*
a41a5b
%{_libexecdir}/mysql-prepare-db-dir
a41a5b
%{_libexecdir}/mysql-check-socket
a41a5b
%{_libexecdir}/mysql-check-upgrade
a41a5b
%{_libexecdir}/mysql-scripts-common
a41a5b
a41a5b
%attr(0755,mysql,mysql) %dir %{pidfiledir}
a41a5b
%attr(0755,mysql,mysql) %dir %{dbdatadir}
a41a5b
%attr(0750,mysql,mysql) %dir %{logfiledir}
a41a5b
%{?scl:%attr(0755,mysql,mysql) %dir /var/lib/mysql}
a41a5b
# This does what it should.
a41a5b
# RPMLint error "conffile-without-noreplace-flag /var/log/mariadb/mariadb.log" is false positive.
a41a5b
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
a41a5b
%config(noreplace) %{logrotateddir}/%{daemon_name}
a41a5b
a41a5b
%{?scl:%config(noreplace) %{?_scl_scripts}/service-environment}
a41a5b
a41a5b
%{_tmpfilesdir}/%{name}.conf
a41a5b
%{_sysusersdir}/%{name}.conf
a41a5b
a41a5b
%if %{with cracklib}
a41a5b
%files cracklib-password-check
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf
a41a5b
%{_libdir}/%{pkg_name}/plugin/cracklib_password_check.so
a41a5b
%endif
a41a5b
a41a5b
%if %{with backup}
a41a5b
%files backup
a41a5b
%{_bindir}/mariabackup
a41a5b
%{_bindir}/mariadb-backup
a41a5b
%{_bindir}/mbstream
a41a5b
%{_mandir}/man1/mariabackup.1*
a41a5b
%{_mandir}/man1/mariadb-backup.1*
a41a5b
%{_mandir}/man1/mbstream.1*
a41a5b
%endif
a41a5b
a41a5b
%if %{with rocksdb}
a41a5b
%files rocksdb-engine
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/rocksdb.cnf
a41a5b
%{_bindir}/myrocks_hotbackup
a41a5b
%{_bindir}/mysql_ldb
a41a5b
%{_bindir}/mariadb-ldb
a41a5b
%{_bindir}/sst_dump
a41a5b
%{_libdir}/%{pkg_name}/plugin/ha_rocksdb.so
a41a5b
%{_mandir}/man1/mysql_ldb.1*
a41a5b
%{_mandir}/man1/mariadb-ldb.1*
a41a5b
%{_mandir}/man1/myrocks_hotbackup.1*
a41a5b
%endif
a41a5b
a41a5b
%if %{with gssapi}
a41a5b
%files gssapi-server
a41a5b
%{_libdir}/%{pkg_name}/plugin/auth_gssapi.so
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/auth_gssapi.cnf
a41a5b
%endif
a41a5b
a41a5b
%if %{with pam}
a41a5b
%files pam
a41a5b
%{_libdir}/%{pkg_name}/plugin/auth_pam.so
a41a5b
%{_libdir}/%{pkg_name}/plugin/auth_pam_v1.so
a41a5b
%attr(0755,root,root) %dir %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir
a41a5b
# SUID-to-root binary. Access MUST be restricted (https://jira.mariadb.org/browse/MDEV-25126)
a41a5b
%attr(4750,root,mysql) %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir/auth_pam_tool
a41a5b
%{_libdir}/security/pam_user_map.so
e7095a
%config(noreplace) %{_sysconfdir}/security/user_map.conf
a41a5b
%endif
a41a5b
a41a5b
%if %{with sphinx}
a41a5b
%files sphinx-engine
a41a5b
%{_libdir}/%{pkg_name}/plugin/ha_sphinx.so
a41a5b
%endif
a41a5b
a41a5b
%if %{with oqgraph}
a41a5b
%files oqgraph-engine
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/oqgraph.cnf
a41a5b
%{_libdir}/%{pkg_name}/plugin/ha_oqgraph.so
a41a5b
%endif
a41a5b
a41a5b
%if %{with connect}
a41a5b
%files connect-engine
a41a5b
%config(noreplace) %{_sysconfdir}/my.cnf.d/connect.cnf
a41a5b
%{_libdir}/%{pkg_name}/plugin/ha_connect.so
a41a5b
%endif
a41a5b
a41a5b
%files server-utils
a41a5b
# Perl utilities
a41a5b
%{_bindir}/mysql_convert_table_format
a41a5b
%{_bindir}/mysqldumpslow
a41a5b
%{_bindir}/mysql_fix_extensions
a41a5b
%{_bindir}/mysqlhotcopy
a41a5b
%{_bindir}/mysql_setpermission
a41a5b
%{_bindir}/mariadb-convert-table-format
a41a5b
%{_bindir}/mariadb-dumpslow
a41a5b
%{_bindir}/mariadb-fix-extensions
a41a5b
%{_bindir}/mariadb-hotcopy
a41a5b
%{_bindir}/mariadb-setpermission
a41a5b
%{_bindir}/mysqld_multi
a41a5b
%{_bindir}/mariadbd-multi
a41a5b
a41a5b
%{_mandir}/man1/mysql_convert_table_format.1*
a41a5b
%{_mandir}/man1/mysqldumpslow.1*
a41a5b
%{_mandir}/man1/mysql_fix_extensions.1*
a41a5b
%{_mandir}/man1/mysqlhotcopy.1*
a41a5b
%{_mandir}/man1/mysql_setpermission.1*
a41a5b
%{_mandir}/man1/mariadb-convert-table-format.1*
a41a5b
%{_mandir}/man1/mariadb-dumpslow.1*
a41a5b
%{_mandir}/man1/mariadb-fix-extensions.1*
a41a5b
%{_mandir}/man1/mariadb-hotcopy.1*
a41a5b
%{_mandir}/man1/mariadb-setpermission.1*
a41a5b
%{_mandir}/man1/mysqld_multi.1*
a41a5b
%{_mandir}/man1/mariadbd-multi.1*
a41a5b
a41a5b
# Utilities that can be used remotely
a41a5b
%{_bindir}/mysql_upgrade
a41a5b
%{_bindir}/mariadb-upgrade
a41a5b
%{_bindir}/perror
a41a5b
%{_mandir}/man1/mysql_upgrade.1*
a41a5b
%{_mandir}/man1/mariadb-upgrade.1*
a41a5b
%{_mandir}/man1/perror.1*
a41a5b
a41a5b
%if %{with devel}
a41a5b
%files devel
a41a5b
%{_includedir}/*
a41a5b
%{_datadir}/aclocal/mysql.m4
a41a5b
%{_libdir}/pkgconfig/*mariadb.pc
a41a5b
%if %{with clibrary}
a41a5b
#%{_libdir}/libmysqlclient.so.18
a41a5b
%{_bindir}/mysql_config*
a41a5b
%{_bindir}/mariadb_config*
a41a5b
%{_bindir}/mariadb-config
a41a5b
%{_libdir}/libmariadb.so
a41a5b
%{_libdir}/libmysqlclient.so
a41a5b
%{_libdir}/libmysqlclient_r.so
a41a5b
%{_mandir}/man1/mysql_config*
a41a5b
%endif
a41a5b
%endif
a41a5b
a41a5b
%if %{with embedded}
a41a5b
%files embedded
a41a5b
%{_libdir}/libmariadbd.so.*
a41a5b
a41a5b
%files embedded-devel
a41a5b
%{_libdir}/libmysqld.so
a41a5b
%{_libdir}/libmariadbd.so
a41a5b
%endif
a41a5b
a41a5b
%if %{with test}
a41a5b
%files test
a41a5b
%if %{with embedded}
a41a5b
%{_bindir}/test-connect-t
a41a5b
%{_bindir}/mysql_client_test_embedded
a41a5b
%{_bindir}/mysqltest_embedded
a41a5b
%{_bindir}/mariadb-client-test-embedded
a41a5b
%{_bindir}/mariadb-test-embedded
a41a5b
%{_mandir}/man1/mysql_client_test_embedded.1*
a41a5b
%{_mandir}/man1/mysqltest_embedded.1*
a41a5b
%{_mandir}/man1/mariadb-client-test-embedded.1*
a41a5b
%{_mandir}/man1/mariadb-test-embedded.1*
a41a5b
%endif
a41a5b
%{_bindir}/mysql_client_test
a41a5b
%{_bindir}/mysqltest
a41a5b
%{_bindir}/mariadb-client-test
a41a5b
%{_bindir}/mariadb-test
a41a5b
%{_bindir}/my_safe_process
a41a5b
%attr(-,mysql,mysql) %{_datadir}/mysql-test
a41a5b
%{_mandir}/man1/mysql_client_test.1*
a41a5b
%{_mandir}/man1/mysqltest.1*
a41a5b
%{_mandir}/man1/mariadb-client-test.1*
a41a5b
%{_mandir}/man1/mariadb-test.1*
a41a5b
%{_mandir}/man1/my_safe_process.1*
a41a5b
%{_mandir}/man1/mysql-stress-test.pl.1*
a41a5b
%{_mandir}/man1/mysql-test-run.pl.1*
a41a5b
%endif
a41a5b
a41a5b
%if 0%{?scl:1}
a41a5b
%scl_syspaths_files -n mariadb
a41a5b
%scl_syspaths_files -n mariadb-config
a41a5b
%scl_syspaths_files -n mariadb-backup
a41a5b
%scl_syspaths_files -n mariadb-server
a41a5b
%scl_syspaths_files -n mariadb-server-utils
a41a5b
%scl_syspaths_files -n mariadb-server-galera
a41a5b
%endif
a41a5b
a41a5b
%changelog
261253
* Thu Jun 30 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.16-2
261253
- Release bump
261253
261253
* Mon May 23 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.16-1
261253
- Rebase to 10.5.16
261253
261253
* Sun Feb 20 2022 Michal Schorm <mschorm@redhat.com> - 3:10.5.15-1
261253
- Rebase to 10.5.15
261253
e7095a
* Tue Jan 11 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.13-1
e7095a
- Rebase to 10.5.13
e7095a
e7095a
* Tue Aug 24 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.12-1
e7095a
- Rebase to 10.5.12
e7095a
e7095a
* Thu Aug 19 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.11-1
e7095a
- Rebase to 10.5.11
e7095a
e7095a
* Mon Aug 16 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.10-2
e7095a
- Set user_map.conf file to be noreplace config file
e7095a
e7095a
* Wed Aug 11 2021 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.10-1
e7095a
- Rebase to 10.5.10
e7095a
e7095a
* Mon May 10 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-2
a41a5b
- Modify the upstream sources
a41a5b
e7095a
* Fri Mar 26 2021 Michal Schorm <mschorm@redhat.com> - 3:10.5.9-1
a41a5b
- Rebase to 10.5.9
a41a5b
e7095a
* Wed Dec 09 2020 Honza Horak <hhorak@redhat.com> - 3:10.5.8-2
a41a5b
- SCLize the package
a41a5b
e7095a
* Wed Nov 11 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.8-1
a41a5b
- Rebase to 10.5.8
a41a5b
e7095a
* Fri Nov 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.7-1
a41a5b
- Rebase to 10.5.7
a41a5b
e7095a
* Mon Sep 21 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.5-1
a41a5b
- Rebase to 10.5.5
a41a5b
- Fix mariadb-ownsetup
a41a5b
- Add manual for aria_s3_copy
a41a5b
e7095a
* Wed Sep 16 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.4-1
a41a5b
- Rebase to 10.5.4
a41a5b
- Add spider.cnf to the server config files
a41a5b
e7095a
* Mon Sep 14 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.5.3-1
a41a5b
- Rebase to 10.5.3
a41a5b
e7095a
* Fri Sep 11 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.2-1
a41a5b
- Test rebase to 10.5.2 - Beta
a41a5b
- TokuDB SE has been deprecated
a41a5b
e7095a
* Thu Sep 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.1-1
a41a5b
- Test rebase to 10.5.1 - Beta
a41a5b
e7095a
* Thu Sep 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.5.0-1
a41a5b
- Test rebase to 10.5.0 - Alpha
a41a5b
e7095a
* Sun Sep 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-3
a41a5b
- Resolves: #1851605
a41a5b
e7095a
* Thu Sep 03 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-2
a41a5b
- Resolves: #1873999, #1874446
a41a5b
e7095a
* Thu Aug 20 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.14-1
a41a5b
- Rebase to 10.4.14
a41a5b
e7095a
* Tue Aug 18 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-7
a41a5b
- Do CMake out-of-source builds
a41a5b
- Force the CMake change regarding the in-source builds also to F31 and F32
a41a5b
- Use CMake macros instead of cmake & make direct commands
a41a5b
- %%cmake macro covers the %%{set_build_flags}, so they are not needed
a41a5b
  Other changes to compile flags must be specified *after* the %%cmake macro
a41a5b
a41a5b
* Wed Aug 05 2020 Jeff Law <law@redhat.com> - 3:10.4.13-6
a41a5b
- Disable LTO
a41a5b
a41a5b
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.13-5
a41a5b
- Second attempt - Rebuilt for
a41a5b
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a41a5b
a41a5b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.13-4
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a41a5b
e7095a
* Tue Jul 14 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-3
a41a5b
- Make conflicts between corresponding mariadb and mysql packages explicit
a41a5b
- Get rid of the Conflicts macro, it was intended to mark conflicts with
a41a5b
  *upstream* packages
a41a5b
e7095a
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-2
a41a5b
- Extend Perl "Requires" filtering to wsrep
a41a5b
  Resolves: #1845376
a41a5b
e7095a
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.13-1
a41a5b
- Rebase to 10.4.13
a41a5b
a41a5b
* Sun May 24 2020 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.4.12-6
a41a5b
- Remove mariadb_rpl.h from includedir to prevent conflict with connector-c's libraries
a41a5b
a41a5b
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 3:10.4.12-5
a41a5b
- Fix string quoting for rpm >= 4.16
a41a5b
e7095a
* Thu Mar 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3:10.4.12-4
a41a5b
- Add perl dependencies needed for tests
a41a5b
e7095a
* Mon Mar 16 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-3
a41a5b
- Rebase mariadb-connector-c git submodule to commit fbf1db6
a41a5b
  For fix: https://jira.mariadb.org/browse/CONC-441
a41a5b
e7095a
* Tue Mar 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-2
a41a5b
- Update the fix for building in the debug mode
a41a5b
e7095a
* Thu Feb 06 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.12-1
a41a5b
- Rebase to 10.4.12
a41a5b
a41a5b
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.4.11-2
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a41a5b
e7095a
* Fri Jan 17 2020 Michal Schorm <mschorm@redhat.com> - 3:10.4.11-1
a41a5b
- Rebase to 10.4.11
a41a5b
  Related: #1756468
a41a5b
- Remove 'bench' subpackage. Upstream no longer maintains it.
a41a5b
- Use Valgrind for debug builds
a41a5b
- Remove ancient obsoletions
a41a5b
- Tweak build flags
a41a5b
- Add patch for auth_pam_tool directory
a41a5b
e7095a
* Fri Jan 10 2020 Michal Schorm <mschorm@redhat.com> - 3:10.3.21-1
a41a5b
- Rebase to 10.3.21
a41a5b
e7095a
* Mon Nov 18 2019 Lukas Javorsky <ljavorsk@redhat.com> - 3:10.3.20-3
a41a5b
- Change path of groonga's packaged files
a41a5b
- Fix bz#1763287
a41a5b
e7095a
* Tue Nov 12 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.20-2
a41a5b
- Rebuild on top fo new mariadb-connector-c
a41a5b
e7095a
* Mon Nov 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.20-1
a41a5b
- Rebase to 10.3.20
a41a5b
e7095a
* Wed Nov 06 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.19-1
a41a5b
- Rebase to 10.3.19
a41a5b
a41a5b
* Thu Oct 31 2019 Carl George <carl@george.computer> - 3:10.3.18-1
a41a5b
- Rebase to 10.3.18
a41a5b
e7095a
* Wed Sep 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-3
a41a5b
- Disable building of the ed25519 client plugin.
a41a5b
  From now on it will be shipped by 'mariadb-connector-c' package
a41a5b
e7095a
* Fri Sep 06 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-2
a41a5b
- Fix the debug build
a41a5b
e7095a
* Thu Aug 01 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.17-1
a41a5b
- Rebase to 10.3.17
a41a5b
a41a5b
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.16-2
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a41a5b
e7095a
* Tue Jun 18 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.16-1
a41a5b
- Rebase to 10.3.16
a41a5b
- Added patch for armv7hl builds of spider SE
a41a5b
e7095a
* Tue Jun 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.15-1
a41a5b
- Rebase to 10.3.15
a41a5b
- CVEs fixed:
a41a5b
  CVE-2019-2510 CVE-2019-2537
a41a5b
- CVEs fixed:
a41a5b
  CVE-2019-2614 CVE-2019-2627 CVE-2019-2628
a41a5b
e7095a
* Tue Jun 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-15
a41a5b
- Remove Cassandra subpackage; it is no longer developed
a41a5b
e7095a
* Thu Mar 21 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-14
a41a5b
- Fix building of TokuDB with Jemalloc 5
a41a5b
- Fix building with / without lz4
a41a5b
e7095a
* Thu Mar 21 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-13
a41a5b
- Add patch for mysqld_safe --dry-run
a41a5b
e7095a
* Wed Mar 20 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-12
a41a5b
- Add patch for server pkgconfig file location
a41a5b
e7095a
* Sat Feb 23 2019 Pavel Raiskup <praiskup@redhat.com> - 3:10.3.12-11
a41a5b
- conditionally depend on selinux-policy-targeted again (rhbz#1665643)
a41a5b
a41a5b
* Mon Feb 11 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-10
a41a5b
- Disable the requirement of mysql-selinux, until its bug is solved for good; #1665643
a41a5b
a41a5b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.12-9
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a41a5b
a41a5b
* Wed Jan 30 2019 Honza Horak <hhorak@redhat.com> - 3:10.3.12-8
a41a5b
- Fix several SSL tests that failed because of different SSL cipher expectation
a41a5b
a41a5b
* Wed Jan 23 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-7
a41a5b
- Fix TokuDB Jemalloc ld_preload
a41a5b
  Resolves: #1668375
a41a5b
- Tweak macros usage
a41a5b
a41a5b
* Sat Jan 19 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-6
a41a5b
- Enable mysql-selinux requirement
a41a5b
- Tweak the testsuite execution, speed up the testsuite on rebuilds
a41a5b
- Change weak dependency of RocksDB and TokuDB storage engines
a41a5b
  from Recommends to Suggests
a41a5b
- Add "Suggests" weak dependencies to more storage engines
a41a5b
a41a5b
* Wed Jan 16 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-5
a41a5b
- Tweak handling of the mysql-selinux requirement, leave disabled due to #1665643
a41a5b
a41a5b
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 3:10.3.12-4
a41a5b
- Rebuilt for libcrypt.so.2 (#1666033)
a41a5b
a41a5b
* Fri Jan 11 2019 Kevin Fenzi <kevin@scrye.com> - 3:10.3.12-3
a41a5b
- Drop mysql-selinux recommends for now due to bug #1665643
a41a5b
a41a5b
* Wed Jan 09 2019 Honza Horak <hhorak@redhat.com> - 3:10.3.12-2
a41a5b
- Use specific python shebang
a41a5b
a41a5b
* Tue Jan 08 2019 Michal Schorm <mschorm@redhat.com> - 3:10.3.12-1
a41a5b
- Rebase to 10.3.12
a41a5b
- Disable building of the caching_sha2_password plugin, it is shipped
a41a5b
  by 'mariadb-connector-c'
a41a5b
- Remove libmariadb.pc, is it shipped by 'mariadb-connector-c'
a41a5b
a41a5b
* Mon Dec 10 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.11-1
a41a5b
- Rebase to 10.3.11
a41a5b
- CVEs fixed:
a41a5b
  CVE-2018-3282, CVE-2016-9843, CVE-2018-3174, CVE-2018-3143, CVE-2018-3156
a41a5b
  CVE-2018-3251, CVE-2018-3185, CVE-2018-3277, CVE-2018-3162, CVE-2018-3173
a41a5b
  CVE-2018-3200, CVE-2018-3284
a41a5b
a41a5b
* Fri Oct 05 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.10-1
a41a5b
- Rebase to 10.3.10
a41a5b
a41a5b
* Tue Sep 04 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.9-2
a41a5b
- Fix parallel installability of x86_64 and i686 devel packages
a41a5b
a41a5b
* Mon Aug 20 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.9-1
a41a5b
- Rebase to 10.3.9
a41a5b
a41a5b
* Fri Aug 10 2018 Petr Lautrbach <plautrba@redhat.com> - 3:10.3.8-5
a41a5b
- Update mariadb-server-galera sub-package to require the correct package with /usr/sbin/semanage
a41a5b
a41a5b
* Wed Jul 25 2018 Honza Horak <hhorak@redhat.com> - 3:10.3.8-4
a41a5b
- Do not build config on systems where mariadb-connector-c-config exists instead
a41a5b
a41a5b
* Tue Jul 17 2018 Honza Horak <hhorak@redhat.com> - 3:10.3.8-3
a41a5b
- Move config files mysql-clients.cnf and enable_encryption.preset to correct
a41a5b
  sub-packages, similar to what upstream does
a41a5b
a41a5b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.3.8-2
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a41a5b
a41a5b
* Tue Jul 03 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.8-1
a41a5b
- Rebase to 10.3.8
a41a5b
- Build TokuDB with jemalloc
a41a5b
a41a5b
* Wed Jun 27 2018 Michal Schorm <mschorm@redhat.com> - 3:10.3.7-2
a41a5b
- Rebase to 10.3.7
a41a5b
- Remove the galera obsoletes
a41a5b
a41a5b
* Tue Jun 05 2018 Honza Horak <hhorak@redhat.com> - 3:10.2.15-2
a41a5b
- Use mysqladmin for checking the socket
a41a5b
- Jemalloc dependency moved to the TokuDB subpackage.
a41a5b
  CMake jemalloc option removed, not used anymore.
a41a5b
  The server doesn't need jemalloc since 10.2: https://jira.mariadb.org/browse/MDEV-11059
a41a5b
- Build MariaDB with TokuDB without Jemalloc.
a41a5b
a41a5b
* Wed May 23 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.15-1
a41a5b
- Rebase to 10.2.15
a41a5b
- CVEs fixed: #1568962
a41a5b
  CVE-2018-2755 CVE-2018-2761 CVE-2018-2766 CVE-2018-2771 CVE-2018-2781
a41a5b
  CVE-2018-2782 CVE-2018-2784 CVE-2018-2787 CVE-2018-2813 CVE-2018-2817
a41a5b
  CVE-2018-2819 CVE-2018-2786 CVE-2018-2759 CVE-2018-2777 CVE-2018-2810
a41a5b
a41a5b
* Thu Mar 29 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.14-1
a41a5b
- Rebase to 10.2.14
a41a5b
- Update testsuite run for SSL self signed certificates
a41a5b
a41a5b
* Tue Mar 6 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.13-2
a41a5b
- Further fix of ldconfig scriptlets for F27
a41a5b
- Fix hardcoded paths, move unversioned libraries and symlinks to the devel subpackage
a41a5b
a41a5b
* Thu Mar 1 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.13-1
a41a5b
- Rebase to 10.2.13
a41a5b
a41a5b
* Mon Feb 26 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-8
a41a5b
- SPECfile refresh, RHEL6, SySV init and old fedora stuff removed
a41a5b
a41a5b
* Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-7
a41a5b
- Rebuilt for ldconfig_post and ldconfig_postun bug
a41a5b
  Related: #1548331
a41a5b
a41a5b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.12-6
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a41a5b
a41a5b
* Fri Jan 26 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-5
a41a5b
- Use '-ldl' compiler flag when associated library used
a41a5b
  Resolves: #1538990
a41a5b
a41a5b
* Thu Jan 25 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-4
a41a5b
- Fix the upgrade path. Build TokuDB subpackage again, but build a unsupported
a41a5b
  configuration by upstream (without Jemalloc).
a41a5b
  Jemmalloc has been updated to version 5, which isn't backwards compatible.
a41a5b
- Use downstream tmpfiles instead of the upstream one
a41a5b
  Related: #1538066
a41a5b
a41a5b
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3:10.2.12-3
a41a5b
- Rebuilt for switch to libxcrypt
a41a5b
a41a5b
* Thu Jan 11 2018 Honza Horak <hhorak@redhat.com> - 3:10.2.12-1
a41a5b
- Do not build connect plugin with mongo and jdbc connectors
a41a5b
- Support MYSQLD_OPTS and _WSREP_NEW_CLUSTER env vars in init script,
a41a5b
  same as it is done in case of systemd unit file
a41a5b
  Related: #1455850
a41a5b
- Print the same messages as before when starting the service in SysV init,
a41a5b
  to not scare users
a41a5b
  Related: #1463411
a41a5b
a41a5b
* Wed Jan 10 2018 Michal Schorm <mschorm@redhat.com> - 3:10.2.12-1
a41a5b
- Rebase to 10.2.12
a41a5b
- Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 removed
a41a5b
- TokuDB disabled
a41a5b
a41a5b
* Mon Dec 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.11-2
a41a5b
- Temporary fix for #1523875 removed, bug in Annobin fixed
a41a5b
  Resolves: #1523875
a41a5b
a41a5b
* Sat Dec 09 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.11-1
a41a5b
- Rebase to 10.2.11
a41a5b
- Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 introduced
a41a5b
- Temporary fix for #1523875 intoruced
a41a5b
  Related: #1523875
a41a5b
a41a5b
* Wed Dec 06 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.10-2
a41a5b
- Fix PID file location
a41a5b
  Related: #1483331, #1515779
a41a5b
- Remove 'Group' tags as they should not be used any more
a41a5b
  Related: https://fedoraproject.org/wiki/RPMGroups
a41a5b
a41a5b
* Mon Nov 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.10-1
a41a5b
- Rebase to 10.2.10 version
a41a5b
- Patch 2: mariadb-install-test.patch has been incorporated by upstream
a41a5b
- Patch 8: mariadb-install-db-sharedir.patch; upstream started to use macros
a41a5b
- Update PCRE check
a41a5b
- Start using location libdir/mariadb for plugins
a41a5b
- Move libraries to libdir
a41a5b
- Divided to more sub-packages to match upstream's RPM list
a41a5b
  Resolves: #1490401; #1400463
a41a5b
- Update of Cmake arguments to supported format
a41a5b
  Related: https://lists.launchpad.net/maria-discuss/msg04852.html
a41a5b
- Remove false Provides
a41a5b
a41a5b
* Thu Oct 05 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-3
a41a5b
- Fix client library obsolete
a41a5b
  Related: #1498956
a41a5b
- Enable testsuite again
a41a5b
- RPMLint error fix:
a41a5b
  Remove unused python scripts which remained from TokuDB upstream
a41a5b
- RPMLint error fix: description line too long
a41a5b
a41a5b
* Wed Oct 04 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-2
a41a5b
- Fix of "with" and "without" macros, so they works
a41a5b
- Use 'iproute' dependency instead of 'net-tools'
a41a5b
  Related: #1496131
a41a5b
- Set server package to own /usr/lib64/mysql directory
a41a5b
- Use correct obsolete, so upgrade from maridb 10.1 to 10.2 is possible
a41a5b
  with dnf "--allowerasing" option
a41a5b
  Related: #1497234
a41a5b
- Fix building with client library
a41a5b
a41a5b
* Thu Sep 28 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.9-1
a41a5b
- Rebase to 10.2.9
a41a5b
- Testsuite temorarly disabled in order to fast deploy critical fix
a41a5b
  Related: #1497234
a41a5b
a41a5b
* Wed Sep 20 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.8-5
a41a5b
- Fix building without client library part
a41a5b
- Start building mariadb without client library part,
a41a5b
  use mariadb-connector-c package >= 3.0 instead
a41a5b
- Use obosletes of "-libs" in "-common", if built without client library part
a41a5b
a41a5b
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-2
a41a5b
- Fix paths in galera_recovery and galera_new_cluster
a41a5b
  Resolves: #1403416
a41a5b
- Support --defaults-group-suffix properly in systemd unit file
a41a5b
  Resolves: #1485777
a41a5b
- Allow 4567 port for tcp as well
a41a5b
- Install mysql-wait-ready on RHEL-6 for the SysV init
a41a5b
- Run mysql-prepare-db-dir as non-root
a41a5b
- Sync mysql.init with community-mysql
a41a5b
a41a5b
* Sun Aug 20 2017 Honza Horak <hhorak@redhat.com> - 3:10.2.8-1
a41a5b
- Rebase to 10.2.8
a41a5b
a41a5b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.7-8
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a41a5b
a41a5b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.2.7-7
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a41a5b
a41a5b
* Tue Jul 25 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.7-6
a41a5b
- Revert previous change, go back to libmariadb headers (RHBZ #1474764)
a41a5b
a41a5b
* Fri Jul 21 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.7-5
a41a5b
- Install correct headers (server, not client) - MDEV-13370
a41a5b
a41a5b
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 3:10.2.7-4
a41a5b
- Rebuilt for s390x binutils bug
a41a5b
a41a5b
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 3:10.2.7-3
a41a5b
- Rebuilt for Boost 1.64
a41a5b
a41a5b
* Thu Jul 13 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.7-2
a41a5b
- Remove mysql-wait-* scripts. They aren't needed when using systemd "Type=notify"
a41a5b
a41a5b
* Thu Jul 13 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.7-1
a41a5b
- Rebase to 10.2.7
a41a5b
- Get back mysql_config, its "--libmysqld-libs" is still needed
a41a5b
a41a5b
* Wed Jul 12 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.6-4
a41a5b
- Add manual Provides: for the libmysqlcient compat symlink
a41a5b
a41a5b
* Wed Jul 12 2017 Adam Williamson <awilliam@redhat.com> - 3:10.2.6-3
a41a5b
- Move libmysqlclient.so.18 compat link to -libs subpackage
a41a5b
a41a5b
* Tue Jul 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.6-2
a41a5b
- Disable Dtrace
a41a5b
- Disable Sphinx, circural dependency
a41a5b
a41a5b
* Tue Jul 11 2017 Michal Schorm <mschorm@redhat.com> - 3:10.2.6-1
a41a5b
- Rebase to 10.2.6
a41a5b
- SSL patch removed
a41a5b
- 'libmariadb.so.3' replaced 'limysqlclient.so.18.0.0', symlinks provided
a41a5b
- "make test" removed, it needs running server and same test are included in the testsuite
a41a5b
a41a5b
* Mon Jul 10 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.25-1
a41a5b
- Rebase to 10.1.25
a41a5b
- Disable plugins 'cracklib' and 'gssapi' by default
a41a5b
- Related: #1468028, #1464070
a41a5b
- Looks like the testsuite removes its 'var' content correctly,
a41a5b
  no need to do that explicitly.
a41a5b
a41a5b
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 3:10.1.24-5
a41a5b
- Rebuild due to bug in RPM (RHBZ #1468476)
a41a5b
a41a5b
* Mon Jun 19 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-4
a41a5b
- Use "/run" location instead of "/var/run" symlink
a41a5b
- Related: #1455811
a41a5b
- Remove AppArmor files
a41a5b
a41a5b
* Fri Jun 09 2017 Honza Horak <hhorak@redhat.com> - 3:10.1.24-3
a41a5b
- Downstream script mariadb-prepare-db-dir fixed for CVE-2017-3265
a41a5b
- Resolves: #1458940
a41a5b
- Check properly that datadir includes only expected files
a41a5b
- Related: #1356897
a41a5b
a41a5b
* Wed Jun 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-2
a41a5b
- Fixed incorrect Jemalloc initialization; #1459671
a41a5b
a41a5b
* Fri Jun 02 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.24-1
a41a5b
- Rebase to 10.1.24
a41a5b
- Build dependecies Bison and Libarchive added, others corrected
a41a5b
- Disabling Mroonga engine for i686 architecture, as it is not supported by MariaDB
a41a5b
- Removed patches: (fixed by upstream)
a41a5b
    Patch5:  mariadb-file-contents.patch
a41a5b
    Patch14: mariadb-example-config-files.patch
a41a5b
    Patch31: mariadb-string-overflow.patch
a41a5b
    Patch32: mariadb-basedir.patch
a41a5b
    Patch41: mariadb-galera-new-cluster-help.patch
a41a5b
- Resolves: rhbz#1414387
a41a5b
    CVE-2017-3313
a41a5b
- Resolves partly: rhbz#1443408
a41a5b
    CVE-2017-3308 CVE-2017-3309 CVE-2017-3453 CVE-2017-3456 CVE-2017-3464
a41a5b
a41a5b
* Tue May 23 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-6
a41a5b
- Plugin oqgraph enabled
a41a5b
- Plugin jemalloc enabled
a41a5b
- 'force' option for 'rm' removed
a41a5b
- Enabled '--big-test' option for the testsuite
a41a5b
- Disabled '--skip-rpl' option for the testsuite = replication tests enabled
a41a5b
- Multilib manpage added
a41a5b
a41a5b
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:10.1.21-5
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
a41a5b
a41a5b
* Tue Mar 07 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-4
a41a5b
- Cracklib plugin enabled
a41a5b
- Removed strmov patch, it is no longer needed. The issue was fixed long ago in both MariaDB and MySQL
a41a5b
a41a5b
* Wed Feb 15 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-3
a41a5b
- Fix for some RPMLint issues
a41a5b
- Fix: Only server utilities can be move to server-utils subpackage. The rest (from client)
a41a5b
  were moved back to where they came from (client - the main subpackage)
a41a5b
- Added correct "Obsoletes" for the server-utils subpackage
a41a5b
- Fixed FTBFS in F26 on x86_64, because of -Werror option
a41a5b
- Related: #1421092, #1395127
a41a5b
a41a5b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:10.1.21-2
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a41a5b
a41a5b
* Tue Jan 24 2017 Michal Schorm <mschorm@redhat.com> - 3:10.1.21-1
a41a5b
- Rebase to version 10.1.21
a41a5b
- Most of the non-essential utilites has been moved to the new sub-package mariadb-server-utils
a41a5b
- Patches "admincrash" and "errno" removed, they are no longer relevant
a41a5b
  "mysql-embedded-check.c" removed, no longer relevant
a41a5b
- Buildrequires krb5-devel duplicity removed
a41a5b
- Manpage for mysql_secure_installation extended
a41a5b
- Preparation for the CrackLib plugin to be added (waiting for correct SELinux rules to be relased)
a41a5b
- Related: #1260821, #1205082, #1414387
a41a5b
a41a5b
* Tue Jan 03 2017 Honza Horak <hhorak@redhat.com> - 3:10.1.20-3
a41a5b
- Add explicit EVR requirement in main package for -libs
a41a5b
- Related: #1406320
a41a5b
a41a5b
* Tue Dec 20 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.20-2
a41a5b
- Use correct macro when removing doc files
a41a5b
- Resolves: #1400981
a41a5b
a41a5b
* Sat Dec 17 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.20-1
a41a5b
- Rebase to version 10.1.20
a41a5b
- Related: #1405258
a41a5b
a41a5b
* Fri Dec 02 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-6
a41a5b
- Move patch from specfile to standalone patch file
a41a5b
- Related: #1382988
a41a5b
a41a5b
* Thu Dec 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 3:10.1.19-6
a41a5b
- -devel: use pkgconfig(openssl) to allow any implementation (like compat-openssl10)
a41a5b
a41a5b
* Wed Nov 30 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-5
a41a5b
- Testsuite blacklists heavily updated. Current tracker: #1399847
a41a5b
- Log-error option added to all config files examples
a41a5b
- Resolves: #1382988
a41a5b
a41a5b
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-4
a41a5b
- JdbcMariaDB.jar test removed
a41a5b
- PCRE version check added
a41a5b
- Related: #1382988, #1396945, #1096787
a41a5b
a41a5b
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-4
a41a5b
- test suite ENABLED, consensus was made it still should be run every build
a41a5b
a41a5b
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-2
a41a5b
- fixed bug 1382988
a41a5b
- added comment to the test suite
a41a5b
- test suite DISABLED for most builds in Koji, see comments
a41a5b
a41a5b
* Wed Nov 16 2016 Michal Schorm <mschorm@redhat.com> - 3:10.1.19-1
a41a5b
- Update to 10.1.19
a41a5b
- added temporary support to build with OpenSSL 1.0 on Fedora >= 26
a41a5b
- added krb5-devel pkg as Buldrquires to prevent gssapi failure
a41a5b
a41a5b
* Tue Oct  4 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.18-1
a41a5b
- Update to 10.1.18
a41a5b
a41a5b
* Wed Aug 31 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.17-1
a41a5b
- Update to 10.1.17
a41a5b
a41a5b
* Mon Aug 29 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.16-2
a41a5b
- Fixed galera replication
a41a5b
- Resolves: #1352946
a41a5b
a41a5b
* Tue Jul 19 2016 Jakub Dorňák <jdornak@redhat.com> - 3:10.1.16-1
a41a5b
- Update to 10.1.16
a41a5b
a41a5b
* Fri Jul 15 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.14-5
a41a5b
- Fail build when test-suite fails
a41a5b
- Use license macro for inclusion of licenses
a41a5b
a41a5b
* Thu Jul 14 2016 Honza Horak <hhorak@redhat.com> - 3:10.1.14-4
a41a5b
- Revert Update to 10.1.15, this release is broken
a41a5b
  https://lists.launchpad.net/maria-discuss/msg03691.html
a41a5b
a41a5b
* Thu Jul 14 2016 Honza Horak <hhorak@redhat.com> - 2:10.1.15-3
a41a5b
- Check datadir more carefully to avoid unwanted data corruption
a41a5b
- Related: #1335849
a41a5b
a41a5b
* Thu Jul  7 2016 Jakub Dorňák <jdornak@redhat.com> - 2:10.1.15-2
a41a5b
- Bump epoch
a41a5b
  (related to the downgrade from the pre-release version)
a41a5b
a41a5b
* Fri Jul  1 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.15-1
a41a5b
- Update to 10.1.15
a41a5b
a41a5b
* Fri Jul  1 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.14-3
a41a5b
- Revert "Update to 10.2.0"
a41a5b
  It is possible that MariaDB 10.2.0 won't be stable till f25 GA.
a41a5b
a41a5b
* Tue Jun 21 2016 Pavel Raiskup <praiskup@redhat.com> - 1:10.1.14-3
a41a5b
- BR multilib-rpm-config and use it for multilib workarounds
a41a5b
- install architecture dependant pc file to arch-dependant location
a41a5b
a41a5b
* Thu May 26 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.2.0-2
a41a5b
- Fix mysql-prepare-db-dir
a41a5b
- Resolves: #1335849
a41a5b
a41a5b
* Thu May 12 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.2.0-1
a41a5b
- Update to 10.2.0
a41a5b
a41a5b
* Thu May 12 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.14-1
a41a5b
- Add selinux policy
a41a5b
- Update to 10.1.14 (includes various bug fixes)
a41a5b
- Add -h and --help options to galera_new_cluster
a41a5b
a41a5b
* Thu Apr  7 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-3
a41a5b
- wsrep_on in galera.cnf
a41a5b
a41a5b
* Tue Apr  5 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-2
a41a5b
- Moved /etc/sysconfig/clustercheck
a41a5b
  and /usr/share/mariadb/systemd/use_galera_new_cluster.conf
a41a5b
  to mariadb-server-galera
a41a5b
a41a5b
* Tue Mar 29 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.13-1
a41a5b
- Update to 10.1.13
a41a5b
a41a5b
* Wed Mar 23 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-4
a41a5b
- Fixed conflict with mariadb-galera-server
a41a5b
a41a5b
* Tue Mar 22 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-3
a41a5b
- Add subpackage mariadb-server-galera
a41a5b
- Resolves: 1310622
a41a5b
a41a5b
* Tue Mar 01 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.12-2
a41a5b
- Rebuild for BZ#1309199 (symbol versioning)
a41a5b
a41a5b
* Mon Feb 29 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.12-1
a41a5b
- Update to 10.1.12
a41a5b
a41a5b
* Tue Feb 16 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-9
a41a5b
- Remove dangling symlink to /etc/init.d/mysql
a41a5b
a41a5b
* Sat Feb 13 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-8
a41a5b
- Use epoch for obsoleting mariadb-galera-server
a41a5b
a41a5b
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-7
a41a5b
- Add Provides: bundled(pcre) in case we build with bundled pcre
a41a5b
- Related: #1302296
a41a5b
- embedded-devel should require libaio-devel
a41a5b
- Resolves: #1290517
a41a5b
a41a5b
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-6
a41a5b
- Fix typo s/obsolate/obsolete/
a41a5b
a41a5b
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-5
a41a5b
- Add missing requirements for proper wsrep functionality
a41a5b
- Obsolate mariadb-galera & mariadb-galera-server (thanks Tomas Repik)
a41a5b
- Resolves: #1279753
a41a5b
- Re-enable using libedit, which should be now fixed
a41a5b
- Related: #1201988
a41a5b
- Remove mariadb-wait-ready call from systemd unit, we have now systemd notify support
a41a5b
- Make mariadb@.service similar to mariadb.service
a41a5b
a41a5b
* Mon Feb 08 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-4
a41a5b
- Use systemd unit file more compatible with upstream
a41a5b
a41a5b
* Sun Feb 07 2016 Honza Horak <hhorak@redhat.com> - 1:10.1.11-3
a41a5b
- Temporarily disabling oqgraph for
a41a5b
  https://mariadb.atlassian.net/browse/MDEV-9479
a41a5b
a41a5b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:10.1.11-2
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a41a5b
a41a5b
* Wed Feb  3 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.11-1
a41a5b
- Update to 10.1.11
a41a5b
a41a5b
* Tue Jan 19 2016 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.10-1
a41a5b
- Update to 10.1.10
a41a5b
a41a5b
* Mon Dec 07 2015 Dan Horák <dan[at]danny.cz> - 1:10.1.8-3
a41a5b
- rebuilt for s390(x)
a41a5b
a41a5b
* Tue Nov 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.1.8-2
a41a5b
- Expand variables in server.cnf
a41a5b
a41a5b
* Thu Oct 22 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.1.8-1
a41a5b
- Update to 10.1.8
a41a5b
a41a5b
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:10.0.21-2
a41a5b
- Rebuilt for Boost 1.59
a41a5b
a41a5b
* Mon Aug 10 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.21-1
a41a5b
- Update to 10.0.21
a41a5b
a41a5b
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.20-3
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
a41a5b
a41a5b
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:10.0.20-2
a41a5b
- rebuild for Boost 1.58
a41a5b
a41a5b
* Tue Jun 23 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.20-1
a41a5b
- Update to 10.0.20
a41a5b
a41a5b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.19-3
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a41a5b
a41a5b
* Wed Jun 03 2015 Dan Horák <dan[at]danny.cz> - 1:10.0.19-2
a41a5b
- Update lists of failing tests (jdornak)
a41a5b
- Related: #1149647
a41a5b
a41a5b
* Mon May 11 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.19-1
a41a5b
- Update to 10.0.19
a41a5b
a41a5b
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.18-1
a41a5b
- Update to 10.0.18
a41a5b
a41a5b
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-4
a41a5b
- Include client plugins into -common package since they are used by both -libs
a41a5b
  and base packages.
a41a5b
- Do not use libedit
a41a5b
- Related: #1201988
a41a5b
- Let plugin dir to be owned by -common
a41a5b
- Use correct comment in the init script
a41a5b
- Related: #1184604
a41a5b
- Add openssl as BuildRequires to run some openssl tests during build
a41a5b
- Related: #1189180
a41a5b
- Fail in case any command in check fails
a41a5b
- Related: #1124791
a41a5b
- Fix mysqladmin crash if run with -u root -p
a41a5b
- Resolves: #1207170
a41a5b
a41a5b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:10.0.17-3
a41a5b
- Rebuilt for GCC 5 C++11 ABI change
a41a5b
a41a5b
* Fri Mar 06 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-2
a41a5b
- Wait for daemon ends
a41a5b
- Resolves: #1072958
a41a5b
- Do not include symlink to libmysqlclient if not shipping the library
a41a5b
- Do not use scl prefix more than once in paths
a41a5b
  Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
a41a5b
a41a5b
* Wed Mar 04 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.17-1
a41a5b
- Rebase to version 10.0.17
a41a5b
- Added variable for turn off skipping some tests
a41a5b
a41a5b
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-6
a41a5b
- Check permissions when starting service on RHEL-6
a41a5b
- Resolves: #1194699
a41a5b
- Do not create test database by default
a41a5b
- Related: #1194611
a41a5b
a41a5b
* Fri Feb 13 2015 Matej Muzila <mmuzila@redhat.com> - 1:10.0.16-4
a41a5b
- Enable tokudb
a41a5b
a41a5b
* Tue Feb 10 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.16-3
a41a5b
- Fix openssl_1 test
a41a5b
a41a5b
* Wed Feb  4 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-2
a41a5b
- Include new certificate for tests
a41a5b
- Update lists of failing tests
a41a5b
- Related: #1186110
a41a5b
a41a5b
* Tue Feb  3 2015 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.16-9
a41a5b
- Rebase to version 10.0.16
a41a5b
- Resolves: #1187895
a41a5b
a41a5b
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1:10.0.15-9
a41a5b
- Rebuild for boost 1.57.0
a41a5b
a41a5b
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-8
a41a5b
- Fix typo in the config file
a41a5b
a41a5b
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-7
a41a5b
- Do not create log file in post script
a41a5b
a41a5b
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
a41a5b
- Move server settings to config file under my.cnf.d dir
a41a5b
a41a5b
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-5
a41a5b
- Fix path for sysconfig file
a41a5b
  Filter provides in el6 properly
a41a5b
  Fix initscript file location
a41a5b
a41a5b
* Tue Jan 06 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-4
a41a5b
- Disable failing tests connect.mrr, connect.updelx2 on ppc and s390
a41a5b
a41a5b
* Mon Dec 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-3
a41a5b
- Fix macros paths in my.cnf
a41a5b
- Create old location for pid file if it remained in my.cnf
a41a5b
a41a5b
* Fri Dec 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.15-2
a41a5b
- Rework usage of macros and remove some compatibility artefacts
a41a5b
a41a5b
* Thu Nov 27 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.15-1
a41a5b
- Update to 10.0.15
a41a5b
a41a5b
* Thu Nov 20 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-8
a41a5b
- Applied upstream fix for mysql_config --cflags output.
a41a5b
- Resolves: #1160845
a41a5b
a41a5b
* Fri Oct 24 2014 Jan Stanek <jstanek@redhat.com> - 1:10.0.14-7
a41a5b
- Fixed compat service file.
a41a5b
- Resolves: #1155700
a41a5b
a41a5b
* Mon Oct 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-6
a41a5b
- Remove bundled cmd-line-utils
a41a5b
- Related: #1079637
a41a5b
- Move mysqlimport man page to proper package
a41a5b
- Disable main.key_cache test on s390
a41a5b
  Releated: #1149647
a41a5b
a41a5b
* Wed Oct 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-5
a41a5b
- Disable tests connect.part_file, connect.part_table
a41a5b
  and connect.updelx
a41a5b
- Related: #1149647
a41a5b
a41a5b
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-4
a41a5b
- Add bcond_without mysql_names
a41a5b
  Use more correct path when deleting mysql logrotate script
a41a5b
a41a5b
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-3
a41a5b
- Build with system libedit
a41a5b
- Resolves: #1079637
a41a5b
a41a5b
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-2
a41a5b
- Add with_debug option
a41a5b
a41a5b
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.14-1
a41a5b
- Update to 10.0.14
a41a5b
a41a5b
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-8
a41a5b
- Move connect engine to a separate package
a41a5b
  Rename oqgraph engine to align with upstream packages
a41a5b
- Move some files to correspond with MariaDB upstream packages
a41a5b
  client.cnf into -libs, mysql_plugin and msql2mysql into base,
a41a5b
  tokuftdump and aria_* into -server, errmsg-utf8.txt into -errmsg
a41a5b
- Remove duplicate cnf files packaged using %%doc
a41a5b
- Check upgrade script added to warn about need for mysql_upgrade
a41a5b
a41a5b
* Wed Sep 24 2014 Matej Muzila <mmuzila@redhat.com> - 1:10.0.13-7
a41a5b
- Client related libraries moved from mariadb-server to mariadb-libs
a41a5b
- Related: #1138843
a41a5b
a41a5b
* Mon Sep 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-6
a41a5b
- Disable vcol_supported_sql_funcs_myisam test on all arches
a41a5b
- Related: #1096787
a41a5b
- Install systemd service file on RHEL-7+
a41a5b
  Server requires any mysql package, so it should be fine with older client
a41a5b
a41a5b
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-5
a41a5b
- Fix paths in mysql_install_db script
a41a5b
- Resolves: #1134328
a41a5b
- Use %%cmake macro
a41a5b
a41a5b
* Tue Aug 19 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-4
a41a5b
- Build config subpackage everytime
a41a5b
- Disable failing tests: innodb_simulate_comp_failures_small, key_cache
a41a5b
  rhbz#1096787
a41a5b
a41a5b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.13-3
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a41a5b
a41a5b
* Thu Aug 14 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-2
a41a5b
- Include mysqld_unit only if required; enable tokudb in f20-
a41a5b
a41a5b
* Wed Aug 13 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-1
a41a5b
- Rebase to version 10.0.13
a41a5b
a41a5b
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-8
a41a5b
- Introduce -config subpackage and ship base config files here
a41a5b
a41a5b
* Tue Aug  5 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-7
a41a5b
- Adopt changes from mysql, thanks Bjorn Munch <bjorn.munch@oracle.com>
a41a5b
a41a5b
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
a41a5b
- Use explicit sysconfdir
a41a5b
- Absolut path for default value for pid file and error log
a41a5b
a41a5b
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-5
a41a5b
- Hardcoded paths removed to work fine in chroot
a41a5b
- Spec rewrite to be more similar to oterh MySQL implementations
a41a5b
- Use variable for daemon unit name
a41a5b
- Include SysV init script if built on older system
a41a5b
- Add possibility to not ship some sub-packages
a41a5b
a41a5b
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-4
a41a5b
- Reformating spec and removing unnecessary snippets
a41a5b
a41a5b
* Tue Jul 15 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-3
a41a5b
- Enable OQGRAPH engine and package it as a sub-package
a41a5b
- Add support for TokuDB engine for x86_64 (currently still disabled)
a41a5b
- Re-enable tokudb_innodb_xa_crash again, seems to be fixed now
a41a5b
- Drop superfluous -libs and -embedded ldconfig deps (thanks Ville Skyttä)
a41a5b
- Separate -lib and -common sub-packages
a41a5b
- Require /etc/my.cnf instead of shipping it
a41a5b
- Include README.mysql-cnf
a41a5b
- Multilib support re-worked
a41a5b
- Introduce new option with_mysqld_unit
a41a5b
- Removed obsolete mysql-cluster, the package should already be removed
a41a5b
- Improve error message when log file is not writable
a41a5b
- Compile all binaries with full RELRO (RHBZ#1092548)
a41a5b
- Use modern symbol filtering with compatible backup
a41a5b
- Add more groupnames for server's my.cnf
a41a5b
- Error messages now provided by a separate package (thanks Alexander Barkov)
a41a5b
- Expand paths in helper scripts using cmake
a41a5b
a41a5b
* Wed Jun 18 2014 Mikko Tiihonen <mikko.tiihonen@iki.fi> - 1:10.0.12-2
a41a5b
- Use -fno-delete-null-pointer-checks to avoid segfaults with gcc 4.9
a41a5b
a41a5b
* Tue Jun 17 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.12-1
a41a5b
- Rebase to version 10.0.12
a41a5b
a41a5b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.0.11-5
a41a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a41a5b
a41a5b
* Tue Jun  3 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-4
a41a5b
- rebuild with tests failing on different arches disabled (#1096787)
a41a5b
a41a5b
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 1:10.0.11-2
a41a5b
- rebuild with tests failing on big endian arches disabled (#1096787)
a41a5b
a41a5b
* Wed May 14 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.11-1
a41a5b
- Rebase to version 10.0.11
a41a5b
a41a5b
* Mon May 05 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.10-3
a41a5b
- Script for socket check enhanced
a41a5b
a41a5b
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-2
a41a5b
- use system pcre library
a41a5b
a41a5b
* Thu Apr 10 2014 Jakub Dorňák <jdornak@redhat.com> - 1:10.0.10-1
a41a5b
- Rebase to version 10.0.10
a41a5b
a41a5b
* Wed Mar 12 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-2
a41a5b
- Server crashes on SQL select containing more group by and left join statements using innodb tables
a41a5b
- Resolves: #1065676
a41a5b
- Fix paths in helper scripts
a41a5b
- Move language files into mariadb directory
a41a5b
a41a5b
* Thu Mar 06 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.36-1
a41a5b
- Rebase to 5.5.36
a41a5b
  https://kb.askmonty.org/en/mariadb-5536-changelog/
a41a5b
a41a5b
* Tue Feb 25 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-5
a41a5b
- Daemon helper scripts sanity changes and spec files clean-up
a41a5b
a41a5b
* Tue Feb 11 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-4
a41a5b
- Fix typo in mysqld.service
a41a5b
- Resolves: #1063981
a41a5b
a41a5b
* Wed Feb  5 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-3
a41a5b
- Do not touch the log file in post script, so it does not get wrong owner
a41a5b
- Resolves: #1061045
a41a5b
a41a5b
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 1:5.5.35-1
a41a5b
- Rebase to 5.5.35
a41a5b
  https://kb.askmonty.org/en/mariadb-5535-changelog/
a41a5b
  Also fixes: CVE-2014-0001, CVE-2014-0412, CVE-2014-0437, CVE-2013-5908,
a41a5b
  CVE-2014-0420, CVE-2014-0393, CVE-2013-5891, CVE-2014-0386, CVE-2014-0401,
a41a5b
  CVE-2014-0402
a41a5b
- Resolves: #1054043
a41a5b
- Resolves: #1059546
a41a5b
a41a5b
* Tue Jan 14 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.34-9
a41a5b
- Adopt compatible system versioning
a41a5b
- Related: #1045013
a41a5b
- Use compatibility mysqld.service instead of link
a41a5b
- Related: #1014311
a41a5b
a41a5b
* Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.34-8
a41a5b
- move mysql_config alternatives scriptlets to -devel too
a41a5b
a41a5b
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7
a41a5b
- Build with -O3 on ppc64
a41a5b
- Related: #1051069
a41a5b
- Move mysql_config to -devel sub-package and remove Require: mariadb
a41a5b
- Related: #1050920
a41a5b
a41a5b
* Fri Jan 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 1:5.5.34-6
a41a5b
- Disable main.gis-precise test also for AArch64
a41a5b
- Disable perfschema.func_file_io and perfschema.func_mutex for AArch64
a41a5b
  (like it is done for 32-bit ARM)
a41a5b
a41a5b
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-5
a41a5b
- Clean all non-needed doc files properly
a41a5b
a41a5b
* Wed Jan  8 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-4
a41a5b
- Read socketfile location in mariadb-prepare-db-dir script
a41a5b
a41a5b
* Mon Jan  6 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-3
a41a5b
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
a41a5b
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
a41a5b
- Related: #1044565
a41a5b
- Use upstream's layout for symbols version in client library
a41a5b
- Related: #1045013
a41a5b
- Check if socket file is not being used by another process at a time
a41a5b
  of starting the service
a41a5b
- Related: #1045435
a41a5b
- Use %%ghost directive for the log file
a41a5b
- Related: 1043501
a41a5b
a41a5b
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-2
a41a5b
- Fix mariadb-wait-ready script
a41a5b
a41a5b
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.34-1
a41a5b
- Rebase to 5.5.34
a41a5b
a41a5b
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-4
a41a5b
- Fix spec file to be ready for backport by Oden Eriksson
a41a5b
- Resolves: #1026404
a41a5b
a41a5b
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-3
a41a5b
- Add pam-devel to build-requires in order to build
a41a5b
- Related: #1019945
a41a5b
- Check if correct process is running in mysql-wait-ready script
a41a5b
- Related: #1026313
a41a5b
a41a5b
* Mon Oct 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-2
a41a5b
- Turn on test suite
a41a5b
a41a5b
* Thu Oct 10 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-1
a41a5b
- Rebase to 5.5.33a
a41a5b
  https://kb.askmonty.org/en/mariadb-5533-changelog/
a41a5b
  https://kb.askmonty.org/en/mariadb-5533a-changelog/
a41a5b
- Enable outfile_loaddata test
a41a5b
- Disable tokudb_innodb_xa_crash test
a41a5b
a41a5b
* Mon Sep  2 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-12
a41a5b
- Re-organize my.cnf to include only generic settings
a41a5b
- Resolves: #1003115
a41a5b
- Move pid file location to /var/run/mariadb
a41a5b
- Make mysqld a symlink to mariadb unit file rather than the opposite way
a41a5b
- Related: #999589
a41a5b
a41a5b
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-11
a41a5b
- Move log file into /var/log/mariadb/mariadb.log
a41a5b
- Rename logrotate script to mariadb
a41a5b
- Resolves: #999589
a41a5b
a41a5b
* Wed Aug 14 2013 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.32-10
a41a5b
- fix alternatives usage
a41a5b
a41a5b
* Tue Aug 13 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-9
a41a5b
- Multilib issues solved by alternatives
a41a5b
- Resolves: #986959
a41a5b
a41a5b
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.32-8
a41a5b
- Perl 5.18 rebuild
a41a5b
a41a5b
* Wed Jul 31 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-7
a41a5b
- Do not use login shell for mysql user
a41a5b
a41a5b
* Tue Jul 30 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-6
a41a5b
- Remove unneeded systemd-sysv requires
a41a5b
- Provide mysql-compat-server symbol
a41a5b
- Create mariadb.service symlink
a41a5b
- Fix multilib header location for arm
a41a5b
- Enhance documentation in the unit file
a41a5b
- Use scriptstub instead of links to avoid multilib conflicts
a41a5b
- Add condition for doc placement in F20+
a41a5b
a41a5b
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 1:5.5.32-5
a41a5b
- remove "Requires(pretrans): systemd" since its not possible
a41a5b
- when installing mariadb and systemd at the same time. as in a new install
a41a5b
a41a5b
* Sat Jul 27 2013 Kevin Fenzi <kevin@scrye.com> 1:5.5.32-4
a41a5b
- Set rpm doc macro to install docs in unversioned dir
a41a5b
a41a5b
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-3
a41a5b
- add Requires(pre) on systemd for the server package
a41a5b
a41a5b
* Tue Jul 23 2013 Dennis Gilmore <dennis@ausil.us> 1:5.5.32-2
a41a5b
- replace systemd-units requires with systemd
a41a5b
- remove solaris files
a41a5b
a41a5b
* Fri Jul 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.32-1
a41a5b
- Rebase to 5.5.32
a41a5b
  https://kb.askmonty.org/en/mariadb-5532-changelog/
a41a5b
- Clean-up un-necessary systemd snippets
a41a5b
a41a5b
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.31-7
a41a5b
- Perl 5.18 rebuild
a41a5b
a41a5b
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-6
a41a5b
- Test suite params enhanced to decrease server condition influence
a41a5b
- Fix misleading error message when uninstalling built-in plugins
a41a5b
- Related: #966873
a41a5b
a41a5b
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-5
a41a5b
- Apply fixes found by Coverity static analysis tool
a41a5b
a41a5b
* Wed Jun 19 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-4
a41a5b
- Do not use pretrans scriptlet, which doesn't work in anaconda
a41a5b
- Resolves: #975348
a41a5b
a41a5b
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-3
a41a5b
- Explicitly enable mysqld if it was enabled in the beginning
a41a5b
  of the transaction.
a41a5b
a41a5b
* Thu Jun 13 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-2
a41a5b
- Apply man page fix from Jan Stanek
a41a5b
a41a5b
* Fri May 24 2013 Honza Horak <hhorak@redhat.com> 1:5.5.31-1
a41a5b
- Rebase to 5.5.31
a41a5b
  https://kb.askmonty.org/en/mariadb-5531-changelog/
a41a5b
- Preserve time-stamps in case of installed files
a41a5b
- Use /var/tmp instead of /tmp, since the later is using tmpfs,
a41a5b
  which can cause problems
a41a5b
- Resolves: #962087
a41a5b
- Fix test suite requirements
a41a5b
a41a5b
* Sun May  5 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-2
a41a5b
- Remove mytop utility, which is packaged separately
a41a5b
- Resolve multilib conflicts in mysql/private/config.h
a41a5b
a41a5b
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.30-1
a41a5b
- Rebase to 5.5.30
a41a5b
  https://kb.askmonty.org/en/mariadb-5530-changelog/
a41a5b
a41a5b
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-11
a41a5b
- Obsolete MySQL since it is now renamed to community-mysql
a41a5b
- Remove real- virtual names
a41a5b
a41a5b
* Thu Mar 21 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-10
a41a5b
- Adding epoch to have higher priority than other mysql implementations
a41a5b
  when comes to provider comparison
a41a5b
a41a5b
* Wed Mar 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-9
a41a5b
- Let mariadb-embedded-devel conflict with MySQL-embedded-devel
a41a5b
- Adjust mariadb-sortbuffer.patch to correspond with upstream patch
a41a5b
a41a5b
* Mon Mar  4 2013 Honza Horak <hhorak@redhat.com> 5.5.29-8
a41a5b
- Mask expected warnings about setrlimit in test suite
a41a5b
a41a5b
* Thu Feb 28 2013 Honza Horak <hhorak@redhat.com> 5.5.29-7
a41a5b
- Use configured prefix value instead of guessing basedir
a41a5b
  in mysql_config
a41a5b
- Resolves: #916189
a41a5b
- Export dynamic columns and non-blocking API functions documented
a41a5b
  by upstream
a41a5b
a41a5b
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
a41a5b
- Fix sort_buffer_length option type
a41a5b
a41a5b
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-5
a41a5b
- Suppress warnings in tests and skip tests also on ppc64p7
a41a5b
a41a5b
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-4
a41a5b
- Suppress warning in tests on ppc
a41a5b
- Enable fixed index_merge_myisam test case
a41a5b
a41a5b
* Thu Feb 07 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
a41a5b
- Packages need to provide also %%_isa version of mysql package
a41a5b
- Provide own symbols with real- prefix to distinguish from mysql
a41a5b
  unambiguously
a41a5b
- Fix format for buffer size in error messages (MDEV-4156)
a41a5b
- Disable some tests that fail on ppc and s390
a41a5b
- Conflict only with real-mysql, otherwise mariadb conflicts with ourself
a41a5b
a41a5b
* Tue Feb 05 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
a41a5b
- Let mariadb-libs to own /etc/my.cnf.d
a41a5b
a41a5b
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.29-1
a41a5b
- Rebase to 5.5.29
a41a5b
  https://kb.askmonty.org/en/mariadb-5529-changelog/
a41a5b
- Fix inaccurate default for socket location in mysqld-wait-ready
a41a5b
- Resolves: #890535
a41a5b
a41a5b
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-8
a41a5b
- Enable obsoleting mysql
a41a5b
a41a5b
* Wed Jan 30 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-7
a41a5b
- Adding necessary hacks for perl dependency checking, rpm is still
a41a5b
  not wise enough
a41a5b
- Namespace sanity re-added for symbol default_charset_info
a41a5b
a41a5b
* Mon Jan 28 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-6
a41a5b
- Removed %%{_isa} from provides/obsoletes, which doesn't allow
a41a5b
  proper obsoleting
a41a5b
- Do not obsolete mysql at the time of testing
a41a5b
a41a5b
* Thu Jan 10 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-5
a41a5b
- Added licenses LGPLv2 and BSD
a41a5b
- Removed wrong usage of %%{epoch}
a41a5b
- Test-suite is run in %%check
a41a5b
- Removed perl dependency checking adjustment, rpm seems to be smart enough
a41a5b
- Other minor spec file fixes
a41a5b
a41a5b
* Tue Dec 18 2012 Honza Horak <hhorak@redhat.com> 5.5.28a-4
a41a5b
- Packaging of MariaDB based on MySQL package
a41a5b