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