ganapathi / rpms / mariadb

Forked from rpms/mariadb 4 years ago
Clone
031387
# TokuDB engine is now part of MariaDB, but it is available only for x86_64;
031387
# variable tokudb allows to build with TokuDB storage engine
031387
%bcond_with tokudb
031387
031387
Name: mariadb
92cf85
Version: 5.5.65
8e761f
Release: 1%{?dist}
031387
Epoch: 1
031387
031387
Summary: A community developed branch of MySQL
031387
Group: Applications/Databases
031387
URL: http://mariadb.org
031387
# Exceptions allow client libraries to be linked with most open source SW,
031387
# not only GPL code.  See README.mysql-license
031387
# Some innobase code from Percona and Google is under BSD license
031387
# Some code related to test-suite is under LGPLv2
031387
License: GPLv2 with exceptions and LGPLv2 and BSD
031387
0012fd
# The evr of mysql we want to obsolete
0012fd
%global obsoleted_mysql_evr 5.5-0
0012fd
031387
# Regression tests take a long time, you can skip 'em with this
031387
%{!?runselftest:%global runselftest 1}
031387
8e761f
Source0: http://mirror.hosting90.cz/%{name}/%{name}-%{version}/source/%{name}-%{version}.tar.gz
031387
Source3: my.cnf
031387
Source5: my_config.h
031387
Source6: README.mysql-docs
031387
Source7: README.mysql-license
031387
Source8: libmysql.version
031387
Source9: mysql-embedded-check.c
031387
Source10: mariadb.tmpfiles.d
031387
Source11: mariadb.service
031387
Source12: mariadb-prepare-db-dir
031387
Source13: mariadb-wait-ready
031387
Source14: rh-skipped-tests-base.list
0012fd
Source16: README.mysql-cnf
031387
# Working around perl dependency checking bug in rpm FTTB. Remove later.
031387
Source999: filter-requires-mysql.sh
031387
031387
# Comments for these patches are in the patch files.
031387
Patch1: mariadb-errno.patch
031387
Patch2: mariadb-strmov.patch
031387
Patch3: mariadb-install-test.patch
031387
Patch7: mariadb-s390-tsc.patch
031387
Patch8: mariadb-logrotate.patch
37edda
Patch9: mariadb-cipherreplace.patch
031387
Patch10: mariadb-file-contents.patch
031387
Patch11: mariadb-string-overflow.patch
031387
Patch14: mariadb-basedir.patch
031387
Patch17: mariadb-covscan-signexpr.patch
031387
Patch18: mariadb-covscan-stroverflow.patch
4bb35b
Patch20: mariadb-mysql_secure_installation.patch
92cf85
Patch21: mariadb-norelocatable.patch
031387
54b479
Patch999: main.events_bugs_01-01-2020-timebomb.patch
54b479
031387
BuildRequires: perl, readline-devel, openssl-devel
031387
BuildRequires: cmake, ncurses-devel, zlib-devel, libaio-devel
031387
BuildRequires: systemd, systemtap-sdt-devel
031387
BuildRequires: pam-devel
031387
# make test requires time and ps
031387
BuildRequires: time procps
031387
# perl modules needed to run regression tests
031387
BuildRequires: perl(Socket), perl(Time::HiRes)
031387
BuildRequires: perl(Data::Dumper), perl(Test::More), perl(Env)
d9c43b
# version 5.5.56+ requires checkpolicy and policycoreutils-python
d9c43b
BuildRequires: checkpolicy policycoreutils-python
031387
031387
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: grep, fileutils, bash
031387
Requires(post): %{_sbindir}/update-alternatives
031387
Requires(postun): %{_sbindir}/update-alternatives
031387
031387
%{?systemd_requires: %systemd_requires}
031387
031387
# MariaDB replaces mysql packages
031387
Provides: mysql = %{epoch}:%{version}-%{release}
031387
Provides: mysql%{?_isa} = %{epoch}:%{version}-%{release}
0012fd
Obsoletes: mysql < %{obsoleted_mysql_evr}
031387
031387
# When rpm 4.9 is universal, this could be cleaned up:
031387
%global __perl_requires %{SOURCE999}
031387
%global __perllib_requires %{SOURCE999}
031387
031387
# By default, patch(1) creates backup files when chunks apply with offsets.
031387
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
031387
%global _default_patch_flags --no-backup-if-mismatch
031387
031387
%description
031387
MariaDB is a community developed branch of MySQL.
031387
MariaDB is a multi-user, multi-threaded SQL database server.
031387
It is a client/server implementation consisting of a server daemon (mysqld)
031387
and many different client programs and libraries. The base package
031387
contains the standard MariaDB/MySQL client programs and generic MySQL files.
031387
031387
%package libs
031387
031387
Summary: The shared libraries required for MariaDB/MySQL clients
031387
Group: Applications/Databases
031387
Requires: /sbin/ldconfig
031387
Provides: mysql-libs = %{epoch}:%{version}-%{release}
031387
Provides: mysql-libs%{?_isa} = %{epoch}:%{version}-%{release}
0012fd
Obsoletes: mysql-libs < %{obsoleted_mysql_evr}
031387
031387
%description libs
031387
The mariadb-libs package provides the essential shared libraries for any
031387
MariaDB/MySQL client program or interface. You will need to install this
031387
package to use any other MariaDB package or any clients that need to connect
031387
to a MariaDB/MySQL server. MariaDB is a community developed branch of MySQL.
031387
031387
%package server
031387
031387
Summary: The MariaDB server and related files
031387
Group: Applications/Databases
031387
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: sh-utils
031387
Requires(pre): /usr/sbin/useradd
031387
# We require this to be present for %%{_tmpfilesdir}
031387
Requires: systemd
031387
# Make sure it's there when scriptlets run, too
031387
Requires(post): systemd %{_sbindir}/update-alternatives
031387
Requires(preun): systemd
031387
Requires(postun): systemd %{_sbindir}/update-alternatives
031387
# mysqlhotcopy needs DBI/DBD support
031387
Requires: perl-DBI, perl-DBD-MySQL
031387
Provides: mysql-compat-server = %{epoch}:%{version}-%{release}
031387
Provides: mysql-compat-server%{?_isa} = %{epoch}:%{version}-%{release}
0012fd
Obsoletes: mysql-server < %{obsoleted_mysql_evr}
031387
031387
%description server
031387
MariaDB is a multi-user, multi-threaded SQL database server. It is a
031387
client/server implementation consisting of a server daemon (mysqld)
031387
and many different client programs and libraries. This package contains
031387
the MariaDB server and some accompanying files and directories.
031387
MariaDB is a community developed branch of MySQL.
031387
031387
%package devel
031387
031387
Summary: Files for development of MariaDB/MySQL applications
031387
Group: Applications/Databases
031387
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: openssl-devel%{?_isa}
031387
Provides: mysql-devel = %{epoch}:%{version}-%{release}
031387
Provides: mysql-devel%{?_isa} = %{epoch}:%{version}-%{release}
0012fd
Obsoletes: mysql-devel < %{obsoleted_mysql_evr}
031387
031387
%description devel
031387
MariaDB is a multi-user, multi-threaded SQL database server. This
031387
package contains the libraries and header files that are needed for
031387
developing MariaDB/MySQL client applications.
031387
MariaDB is a community developed branch of MySQL.
031387
031387
%package embedded
031387
031387
Summary: MariaDB as an embeddable library
031387
Group: Applications/Databases
031387
Requires: /sbin/ldconfig
0012fd
Obsoletes: mysql-embedded < %{obsoleted_mysql_evr}
031387
031387
%description embedded
031387
MariaDB is a multi-user, multi-threaded SQL database server. This
031387
package contains a version of the MariaDB server that can be embedded
031387
into a client application instead of running as a separate process.
031387
MariaDB is a community developed branch of MySQL.
031387
031387
%package embedded-devel
031387
031387
Summary: Development files for MariaDB as an embeddable library
031387
Group: Applications/Databases
031387
Requires: %{name}-embedded%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
0012fd
Obsoletes: mysql-embedded-devel < %{obsoleted_mysql_evr}
031387
031387
%description embedded-devel
031387
MariaDB is a multi-user, multi-threaded SQL database server. This
031387
package contains files needed for developing and testing with
031387
the embedded version of the MariaDB server.
031387
MariaDB is a community developed branch of MySQL.
031387
031387
%package bench
031387
031387
Summary: MariaDB benchmark scripts and data
031387
Group: Applications/Databases
031387
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
0012fd
Obsoletes: mysql-bench < %{obsoleted_mysql_evr}
031387
031387
%description bench
031387
MariaDB is a multi-user, multi-threaded SQL database server. This
031387
package contains benchmark scripts and data for use when benchmarking
031387
MariaDB.
031387
MariaDB is a community developed branch of MySQL.
031387
031387
%package test
031387
031387
Summary: The test suite distributed with MariaD
031387
Group: Applications/Databases
92cf85
BuildRequires: openssl
031387
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: %{name}-server%{?_isa} = %{epoch}:%{version}-%{release}
031387
Requires: perl(Socket), perl(Time::HiRes)
031387
Requires: perl(Data::Dumper), perl(Test::More), perl(Env)
92cf85
Requires: openssl
0012fd
Obsoletes: mysql-test < %{obsoleted_mysql_evr}
031387
031387
%description test
031387
MariaDB is a multi-user, multi-threaded SQL database server. This
031387
package contains the regression test suite distributed with
031387
the MariaDB sources.
031387
MariaDB is a community developed branch of MySQL.
031387
8e761f
8e761f
031387
%prep
031387
%setup -q -n mariadb-%{version}
031387
031387
%patch1 -p1
031387
%patch2 -p1
031387
%patch3 -p1
031387
%patch7 -p1
031387
%patch8 -p1
031387
%patch9 -p1
031387
%patch10 -p1
031387
%patch11 -p1
031387
%patch14 -p1
031387
%patch17 -p1
031387
%patch18 -p1
4bb35b
%patch20 -p1
92cf85
%patch21 -p1
cee9fb
54b479
%patch999 -p1
54b479
031387
# workaround for upstream bug #56342
031387
rm -f mysql-test/t/ssl_8k_key-master.opt
031387
031387
# generate a list of tests that fail, but are not disabled by upstream
031387
cat %{SOURCE14} > mysql-test/rh-skipped-tests.list
8e761f
8e761f
031387
031387
%build
031387
031387
# fail quickly and obviously if user tries to build as root
031387
%if %runselftest
031387
	if [ x"`id -u`" = x0 ]; then
031387
		echo "The mariadb's regression tests may fail if run as root."
031387
		echo "If you really need to build the RPM as root, use"
031387
		echo "--define='runselftest 0' to skip the regression tests."
031387
		exit 1
031387
	fi
031387
%endif
031387
031387
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
031387
# force PIC mode so that we can build libmysqld.so
031387
CFLAGS="$CFLAGS -fPIC"
031387
# gcc seems to have some bugs on sparc as of 4.4.1, back off optimization
031387
# submitted as bz #529298
031387
%ifarch sparc sparcv9 sparc64
031387
CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
031387
%endif
0012fd
# significant performance gains can be achieved by compiling with -O3 optimization
0012fd
# rhbz#1051069
dded13
%ifarch %{power64}
0012fd
CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O3|g" `
0012fd
%endif
031387
CXXFLAGS="$CFLAGS"
031387
export CFLAGS CXXFLAGS
031387
# building with PIE
4bb35b
LDFLAGS="$LDFLAGS -fPIE -pie -Wl,-z,relro,-z,now"
031387
export LDFLAGS
031387
031387
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
031387
# so we can't use %%{_datadir} and so forth here.
031387
031387
cmake . -DBUILD_CONFIG=mysql_release \
031387
	-DFEATURE_SET="community" \
031387
	-DINSTALL_LAYOUT=RPM \
0012fd
	-DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora}" \
031387
	-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
0012fd
	-DINSTALL_DOCDIR=share/doc/%{name}-%{version} \
0012fd
	-DINSTALL_DOCREADMEDIR=share/doc/%{name}-%{version} \
031387
	-DINSTALL_INCLUDEDIR=include/mysql \
031387
	-DINSTALL_INFODIR=share/info \
031387
	-DINSTALL_LIBDIR="%{_lib}/mysql" \
031387
	-DINSTALL_MANDIR=share/man \
031387
	-DINSTALL_MYSQLSHAREDIR=share/mysql \
031387
	-DINSTALL_MYSQLTESTDIR=share/mysql-test \
031387
	-DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
031387
	-DINSTALL_SBINDIR=libexec \
031387
	-DINSTALL_SCRIPTDIR=bin \
031387
	-DINSTALL_SQLBENCHDIR=share \
031387
	-DINSTALL_SUPPORTFILESDIR=share/mysql \
031387
	-DMYSQL_DATADIR="%{_localstatedir}/lib/mysql" \
031387
	-DMYSQL_UNIX_ADDR="%{_localstatedir}/lib/mysql/mysql.sock" \
031387
	-DENABLED_LOCAL_INFILE=ON \
031387
	-DENABLE_DTRACE=ON \
031387
	-DWITH_EMBEDDED_SERVER=ON \
031387
	-DWITH_READLINE=ON \
031387
	-DWITH_SSL=system \
031387
	-DWITH_ZLIB=system \
031387
	-DWITH_JEMALLOC=no \
031387
%{!?with_tokudb:	-DWITHOUT_TOKUDB=ON}\
031387
	-DTMPDIR=%{_localstatedir}/tmp \
031387
	-DWITH_MYSQLD_LDFLAGS="-Wl,-z,relro,-z,now"
031387
8e761f
#For CMake "List Advanced Help" about possible arguments and their values
8e761f
#cmake -LAH
8e761f
031387
make %{?_smp_mflags} VERBOSE=1
031387
031387
# debuginfo extraction scripts fail to find source files in their real
031387
# location -- satisfy them by copying these files into location, which
031387
# is expected by scripts
031387
for e in innobase xtradb ; do
031387
  for f in pars0grm.c pars0grm.y pars0lex.l lexyy.c ; do
031387
    cp -p "storage/$e/pars/$f" "storage/$e/$f"
031387
  done
031387
done
031387
8e761f
8e761f
031387
%check
031387
%if %runselftest
031387
  # hack to let 32- and 64-bit tests run concurrently on same build machine
031387
  case `uname -m` in
dded13
    ppc64 | ppc64p7 | ppc64le | s390x | x86_64 | sparc64 )
031387
      MTR_BUILD_THREAD=7
031387
      ;;
031387
    *)
031387
      MTR_BUILD_THREAD=11
031387
      ;;
031387
  esac
031387
  export MTR_BUILD_THREAD
031387
  export MTR_PARALLEL=1
031387
031387
  make test VERBOSE=1
031387
031387
  # The cmake build scripts don't provide any simple way to control the
031387
  # options for mysql-test-run, so ignore the make target and just call it
031387
  # manually.  Nonstandard options chosen are:
031387
  # --force to continue tests after a failure
031387
  # no retries please
031387
  # skip tests that are listed in rh-skipped-tests.list
031387
  # avoid redundant test runs with --binlog-format=mixed
031387
  # increase timeouts to prevent unwanted failures during mass rebuilds
031387
  (
031387
    cd mysql-test
8e761f
    perl ./mysql-test-run.pl --force --retry=2 \
d9c43b
	--skip-test-list=rh-skipped-tests.list \
031387
	--suite-timeout=720 --testcase-timeout=30 \
031387
	--mysqld=--binlog-format=mixed --force-restart \
8e761f
	--shutdown-timeout=60 --big-test --max-test-fail=100
031387
    # cmake build scripts will install the var cruft if left alone :-(
031387
    rm -rf var
031387
  )
031387
%endif
031387
8e761f
8e761f
031387
%install
031387
make DESTDIR=$RPM_BUILD_ROOT install
031387
031387
# List the installed tree for RPM package maintenance purposes.
031387
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
031387
031387
# multilib header hacks
031387
# we only apply this to known Red Hat multilib arches, per bug #181335
dded13
unamei=$(uname -i)
dded13
%ifarch %{arm}
dded13
unamei=arm
dded13
%endif
dded13
%ifarch %{power64}
dded13
unamei=ppc64
dded13
%endif
dded13
%ifarch %{arm} aarch64 %{ix86} x86_64 ppc %{power64} %{sparc} s390 s390x
dded13
mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_${unamei}.h
dded13
mv $RPM_BUILD_ROOT%{_includedir}/mysql/private/config.h $RPM_BUILD_ROOT%{_includedir}/mysql/private/my_config_${unamei}.h
dded13
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/
dded13
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/private/config.h
dded13
%endif
031387
031387
# cmake generates some completely wacko references to -lprobes_mysql when
031387
# building with dtrace support.  Haven't found where to shut that off,
031387
# so resort to this blunt instrument.  While at it, let's not reference
031387
# libmysqlclient_r anymore either.
031387
sed -e 's/-lprobes_mysql//' -e 's/-lmysqlclient_r/-lmysqlclient/' \
031387
	${RPM_BUILD_ROOT}%{_bindir}/mysql_config >mysql_config.tmp
031387
cp -p -f mysql_config.tmp ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
031387
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
031387
031387
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
031387
# but that's pretty wacko --- see also mariadb-file-contents.patch)
031387
install -p -m 644 Docs/INFO_SRC ${RPM_BUILD_ROOT}%{_libdir}/mysql/
031387
install -p -m 644 Docs/INFO_BIN ${RPM_BUILD_ROOT}%{_libdir}/mysql/
0012fd
rm -rf ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/MariaDB-server-%{version}/
031387
031387
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/mariadb
031387
chmod 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/mariadb
031387
touch $RPM_BUILD_ROOT%{_localstatedir}/log/mariadb/mariadb.log
031387
031387
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/mariadb
031387
install -m 0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/mysql
031387
031387
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
031387
install -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/my.cnf
031387
031387
# install systemd unit files and scripts for handling server startup
031387
mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
031387
install -p -m 644 %{SOURCE11} ${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service
031387
install -p -m 755 %{SOURCE12} ${RPM_BUILD_ROOT}%{_libexecdir}/
031387
install -p -m 755 %{SOURCE13} ${RPM_BUILD_ROOT}%{_libexecdir}/
031387
031387
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
031387
install -p -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
031387
031387
# Fix funny permissions that cmake build scripts apply to config files
46da7a
#chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/mysql/config.*.ini
031387
031387
# Fix scripts for multilib safety
031387
mv ${RPM_BUILD_ROOT}%{_bindir}/mysql_config ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysql_config
031387
touch ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
031387
031387
mv ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysqlbug
031387
touch ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug
031387
031387
# Remove libmysqld.a
031387
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.a
031387
031387
# libmysqlclient_r is no more.  Upstream tries to replace it with symlinks
031387
# but that really doesn't work (wrong soname in particular).  We'll keep
031387
# just the devel libmysqlclient_r.so link, so that rebuilding without any
031387
# source change is enough to get rid of dependency on libmysqlclient_r.
031387
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient_r.so*
031387
ln -s libmysqlclient.so ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient_r.so
031387
031387
# mysql-test includes one executable that doesn't belong under /usr/share,
031387
# so move it and provide a symlink
031387
mv ${RPM_BUILD_ROOT}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process ${RPM_BUILD_ROOT}%{_bindir}
031387
ln -s ../../../../../bin/my_safe_process ${RPM_BUILD_ROOT}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
031387
031387
# should move this to /etc/ ?
031387
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mysql_embedded
031387
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/magic
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/ndb-config-2-node.ini
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql.server
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysqld_multi.server
031387
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-stress-test.pl.1*
031387
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-test-run.pl.1*
031387
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mytop
031387
031387
# put logrotate script where it needs to be
031387
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
031387
mv ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-log-rotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/mariadb
031387
chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/mariadb
031387
031387
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
031387
echo "%{_libdir}/mysql" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
031387
031387
# copy additional docs into build tree so %%doc will find them
031387
cp -p %{SOURCE6} README.mysql-docs
031387
cp -p %{SOURCE7} README.mysql-license
0012fd
cp -p %{SOURCE16} README.mysql-cnf
0012fd
install -p -m 0644 README.mysql-cnf ${RPM_BUILD_ROOT}%{_datadir}/mysql/README.mysql-cnf
031387
031387
# install the list of skipped tests to be available for user runs
031387
install -p -m 0644 mysql-test/rh-skipped-tests.list ${RPM_BUILD_ROOT}%{_datadir}/mysql-test
031387
031387
# remove unneeded RHEL-4 SELinux stuff
031387
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mysql/SELinux/
031387
031387
# remove SysV init script
031387
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/mysql
031387
031387
# remove duplicate logrotate script
031387
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/mysql
031387
031387
# remove doc files that we rather pack using %%doc
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/COPYING
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/INFO_BIN
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/INFO_SRC
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/INSTALL-BINARY
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/README
031387
031387
# we don't care about scripts for solaris
031387
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/postinstall-solaris
031387
031387
%pre server
031387
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
031387
/usr/sbin/useradd -M -N -g mysql -o -r -d %{_localstatedir}/lib/mysql -s /sbin/nologin \
031387
	-c "MariaDB Server" -u 27 mysql >/dev/null 2>&1 || :
031387
0012fd
%post devel
031387
%{_sbindir}/update-alternatives --install %{_bindir}/mysql_config \
031387
	mysql_config %{_libdir}/mysql/mysql_config %{__isa_bits}
031387
031387
%post libs -p /sbin/ldconfig
031387
031387
%post server
031387
%systemd_post mariadb.service
031387
/bin/chmod 0755 %{_localstatedir}/lib/mysql
031387
/bin/touch %{_localstatedir}/log/mariadb/mariadb.log
031387
031387
%{_sbindir}/update-alternatives --install %{_bindir}/mysqlbug \
031387
	mysqlbug %{_libdir}/mysql/mysqlbug %{__isa_bits}
031387
031387
%post embedded -p /sbin/ldconfig
031387
031387
%preun server
031387
%systemd_preun mariadb.service
031387
0012fd
%postun devel
031387
if [ $1 -eq 0 ] ; then
031387
	%{_sbindir}/update-alternatives --remove mysql_config %{_libdir}/mysql/mysql_config
031387
fi
031387
031387
%postun libs -p /sbin/ldconfig
031387
031387
%postun server
031387
%systemd_postun_with_restart mariadb.service
031387
if [ $1 -eq 0 ] ; then
031387
	%{_sbindir}/update-alternatives --remove mysqlbug %{_libdir}/mysql/mysqlbug
031387
fi
031387
031387
%postun embedded -p /sbin/ldconfig
031387
8e761f
8e761f
031387
%files
d9c43b
%doc README COPYING README.mysql-license
031387
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
031387
%doc README.mysql-docs
031387
031387
%{_bindir}/msql2mysql
031387
%{_bindir}/mysql
031387
%{_bindir}/mysql_find_rows
031387
%{_bindir}/mysql_waitpid
031387
%{_bindir}/mysqlaccess
031387
%{_bindir}/mysqladmin
031387
%{_bindir}/mysqlbinlog
031387
%{_bindir}/mysqlcheck
031387
%{_bindir}/mysqldump
031387
%{?with_tokudb:%{_bindir}/tokuftdump}
031387
%{_bindir}/mysqlimport
031387
%{_bindir}/mysqlshow
031387
%{_bindir}/mysqlslap
031387
%{_bindir}/my_print_defaults
031387
%{_bindir}/aria_chk
031387
%{_bindir}/aria_dump_log
031387
%{_bindir}/aria_ftdump
031387
%{_bindir}/aria_pack
031387
%{_bindir}/aria_read_log
031387
031387
%{_mandir}/man1/mysql.1*
031387
%{_mandir}/man1/mysql_find_rows.1*
031387
%{_mandir}/man1/mysql_waitpid.1*
031387
%{_mandir}/man1/mysqlaccess.1*
031387
%{_mandir}/man1/mysqladmin.1*
031387
%{_mandir}/man1/mysqldump.1*
031387
%{_mandir}/man1/mysqlshow.1*
031387
%{_mandir}/man1/mysqlslap.1*
031387
%{_mandir}/man1/my_print_defaults.1*
46da7a
%{_mandir}/man1/aria_chk.1.gz
46da7a
%{_mandir}/man1/aria_dump_log.1.gz
46da7a
%{_mandir}/man1/aria_ftdump.1.gz
46da7a
%{_mandir}/man1/aria_pack.1.gz
46da7a
%{_mandir}/man1/aria_read_log.1.gz
031387
031387
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
031387
031387
%files libs
d9c43b
%doc README COPYING README.mysql-license
031387
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
031387
# although the default my.cnf contains only server settings, we put it in the
031387
# libs package because it can be used for client settings too.
031387
%config(noreplace) %{_sysconfdir}/my.cnf
031387
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
031387
%dir %{_sysconfdir}/my.cnf.d
031387
%dir %{_libdir}/mysql
031387
%{_libdir}/mysql/libmysqlclient.so.*
4bb35b
%{_libdir}/mysql/plugin/dialog.so
4bb35b
%{_libdir}/mysql/plugin/mysql_clear_password.so
031387
%{_sysconfdir}/ld.so.conf.d/*
031387
031387
%dir %{_datadir}/mysql
031387
%{_datadir}/mysql/english
031387
%lang(cs) %{_datadir}/mysql/czech
031387
%lang(da) %{_datadir}/mysql/danish
031387
%lang(nl) %{_datadir}/mysql/dutch
031387
%lang(et) %{_datadir}/mysql/estonian
031387
%lang(fr) %{_datadir}/mysql/french
031387
%lang(de) %{_datadir}/mysql/german
031387
%lang(el) %{_datadir}/mysql/greek
031387
%lang(hu) %{_datadir}/mysql/hungarian
031387
%lang(it) %{_datadir}/mysql/italian
031387
%lang(ja) %{_datadir}/mysql/japanese
031387
%lang(ko) %{_datadir}/mysql/korean
031387
%lang(no) %{_datadir}/mysql/norwegian
031387
%lang(no) %{_datadir}/mysql/norwegian-ny
031387
%lang(pl) %{_datadir}/mysql/polish
031387
%lang(pt) %{_datadir}/mysql/portuguese
031387
%lang(ro) %{_datadir}/mysql/romanian
031387
%lang(ru) %{_datadir}/mysql/russian
031387
%lang(sr) %{_datadir}/mysql/serbian
031387
%lang(sk) %{_datadir}/mysql/slovak
031387
%lang(es) %{_datadir}/mysql/spanish
031387
%lang(sv) %{_datadir}/mysql/swedish
031387
%lang(uk) %{_datadir}/mysql/ukrainian
031387
%{_datadir}/mysql/charsets
031387
031387
%files server
031387
%{_bindir}/myisamchk
031387
%{_bindir}/myisam_ftdump
031387
%{_bindir}/myisamlog
031387
%{_bindir}/myisampack
031387
%{_bindir}/mysql_convert_table_format
031387
%{_bindir}/mysql_fix_extensions
031387
%{_bindir}/mysql_install_db
031387
%{_bindir}/mysql_plugin
031387
%{_bindir}/mysql_secure_installation
031387
%{_bindir}/mysql_setpermission
031387
%{_bindir}/mysql_tzinfo_to_sql
031387
%{_bindir}/mysql_upgrade
031387
%{_bindir}/mysql_zap
031387
%ghost %{_bindir}/mysqlbug
031387
%{_bindir}/mysqldumpslow
031387
%{_bindir}/mysqld_multi
031387
%{_bindir}/mysqld_safe
d9c43b
%{_bindir}/mysqld_safe_helper
031387
%{_bindir}/mysqlhotcopy
031387
%{_bindir}/mysqltest
031387
%{_bindir}/innochecksum
031387
%{_bindir}/perror
031387
%{_bindir}/replace
031387
%{_bindir}/resolve_stack_dump
031387
%{_bindir}/resolveip
031387
031387
%config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
031387
%{?with_tokudb:%config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf}
031387
031387
%{_libexecdir}/mysqld
031387
031387
%{_libdir}/mysql/INFO_SRC
031387
%{_libdir}/mysql/INFO_BIN
031387
031387
%{_libdir}/mysql/mysqlbug
031387
4bb35b
%exclude %{_libdir}/mysql/plugin/dialog.so
4bb35b
%exclude %{_libdir}/mysql/plugin/mysql_clear_password.so
031387
%{_libdir}/mysql/plugin
031387
031387
%{_mandir}/man1/msql2mysql.1*
031387
%{_mandir}/man1/myisamchk.1*
031387
%{_mandir}/man1/myisamlog.1*
031387
%{_mandir}/man1/myisampack.1*
031387
%{_mandir}/man1/mysql_convert_table_format.1*
031387
%{_mandir}/man1/myisam_ftdump.1*
031387
%{_mandir}/man1/mysql.server.1*
031387
%{_mandir}/man1/mysql_fix_extensions.1*
031387
%{_mandir}/man1/mysql_install_db.1*
031387
%{_mandir}/man1/mysql_plugin.1*
031387
%{_mandir}/man1/mysql_secure_installation.1*
031387
%{_mandir}/man1/mysql_upgrade.1*
031387
%{_mandir}/man1/mysql_zap.1*
031387
%{_mandir}/man1/mysqlbug.1*
031387
%{_mandir}/man1/mysqldumpslow.1*
031387
%{_mandir}/man1/mysqlbinlog.1*
031387
%{_mandir}/man1/mysqlcheck.1*
031387
%{_mandir}/man1/mysqld_multi.1*
031387
%{_mandir}/man1/mysqld_safe.1*
031387
%{_mandir}/man1/mysqlhotcopy.1*
031387
%{_mandir}/man1/mysqlimport.1*
031387
%{_mandir}/man1/mysql_setpermission.1*
031387
%{_mandir}/man1/mysqltest.1*
031387
%{_mandir}/man1/innochecksum.1*
031387
%{_mandir}/man1/perror.1*
031387
%{_mandir}/man1/replace.1*
031387
%{_mandir}/man1/resolve_stack_dump.1*
031387
%{_mandir}/man1/resolveip.1*
031387
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
031387
%{_mandir}/man8/mysqld.8*
031387
031387
%{_datadir}/mysql/errmsg-utf8.txt
031387
%{_datadir}/mysql/fill_help_tables.sql
031387
%{_datadir}/mysql/mysql_system_tables.sql
031387
%{_datadir}/mysql/mysql_system_tables_data.sql
031387
%{_datadir}/mysql/mysql_test_data_timezone.sql
031387
%{_datadir}/mysql/mysql_performance_tables.sql
0012fd
%doc %{_datadir}/mysql/my-*.cnf
0012fd
%doc %{_datadir}/mysql/README.mysql-cnf
031387
031387
%{_unitdir}/mariadb.service
031387
%{_libexecdir}/mariadb-prepare-db-dir
031387
%{_libexecdir}/mariadb-wait-ready
031387
031387
%{_tmpfilesdir}/%{name}.conf
031387
%attr(0755,mysql,mysql) %dir %{_localstatedir}/run/mariadb
031387
%attr(0755,mysql,mysql) %dir %{_localstatedir}/lib/mysql
031387
%attr(0750,mysql,mysql) %dir %{_localstatedir}/log/mariadb
031387
%attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) %{_localstatedir}/log/mariadb/mariadb.log
031387
%config(noreplace) %{_sysconfdir}/logrotate.d/mariadb
031387
031387
%files devel
0012fd
%ghost %{_bindir}/mysql_config
031387
%{_includedir}/mysql
031387
%{_datadir}/aclocal/mysql.m4
031387
%{_libdir}/mysql/libmysqlclient.so
031387
%{_libdir}/mysql/libmysqlclient_r.so
0012fd
%{_libdir}/mysql/mysql_config
0012fd
%{_mandir}/man1/mysql_config.1*
031387
031387
%files embedded
d9c43b
%doc README COPYING README.mysql-license
031387
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
031387
%{_libdir}/mysql/libmysqld.so.*
031387
031387
%files embedded-devel
031387
%{_libdir}/mysql/libmysqld.so
031387
%{_bindir}/mysql_client_test_embedded
031387
%{_bindir}/mysqltest_embedded
031387
%{_mandir}/man1/mysql_client_test_embedded.1*
031387
%{_mandir}/man1/mysqltest_embedded.1*
031387
031387
%files bench
031387
%{_datadir}/sql-bench
031387
031387
%files test
031387
%{_bindir}/mysql_client_test
031387
%{_bindir}/my_safe_process
031387
%attr(-,mysql,mysql) %{_datadir}/mysql-test
031387
031387
%{_mandir}/man1/mysql_client_test.1*
031387
031387
%changelog
92cf85
* Sat Aug 17 2019 Honza Horak <hhorak@redhat.com> - 1:5.5.65-1
92cf85
- Rebase to 5.5.65
92cf85
  Also fixes:
92cf85
  CVE-2019-2737 CVE-2019-2739 CVE-2019-2740 CVE-2019-2805
92cf85
  Resolves: #1741357
92cf85
- Revert upstream changes that make the mysql_install_db relocatable
92cf85
  because it broke mysql_install_db when run without --rpm arg
92cf85
  Resolves: #1731062
92cf85
- Add openssl BR that was missing for the tests
92cf85
ae4d78
* Thu May 02 2019 Michal Schorm <mschorm@redhat.com> - 1:5.5.64-1
ae4d78
- Rebase to 5.5.64
ae4d78
- Resolves: #1490398
ae4d78
- CVE's fixed: #1610986
ae4d78
  CVE-2018-3058 CVE-2018-3063 CVE-2018-3066 CVE-2018-3081
ae4d78
- CVE's fixed: #1664043
ae4d78
  CVE-2018-3282 CVE-2019-2503
ae4d78
- CVE's fixed: #1701686
ae4d78
  CVE-2019-2529
ae4d78
8e761f
* Thu May 10 2018 Michal Schorm <mschorm@redhat.com> - 1:5.5.60-1
8e761f
- Rebase to 5.5.60
8e761f
- CVE's fixed: #1558256, #1558260, #1559060
8e761f
  CVE-2017-3636 CVE-2017-3641 CVE-2017-3653 CVE-2017-10379
8e761f
  CVE-2017-10384 CVE-2017-10378 CVE-2017-10268 CVE-2018-2562
8e761f
  CVE-2018-2622 CVE-2018-2640 CVE-2018-2665 CVE-2018-2668
8e761f
  CVE-2018-2755 CVE-2018-2819 CVE-2018-2817 CVE-2018-2761
8e761f
  CVE-2018-2781 CVE-2018-2771 CVE-2018-2813
8e761f
- Resolves: #1535217, #1491833, #1511982, #1145455, #1461692
8e761f
d9c43b
* Thu Jun 08 2017 Honza Horak <hhorak@redhat.com> - 1:5.5.56-2
d9c43b
- Do not fix context and change owner if run by root in mariadb-prepare-db-dir
d9c43b
  Related: #1458940
d9c43b
- Check properly that datadir includes only expected files
d9c43b
  Related: #1356897
d9c43b
d9c43b
* Mon Jun 05 2017 Honza Horak <hhorak@redhat.com> - 1:5.5.56-1
d9c43b
- Rebase to 5.5.56
d9c43b
  That release also fixes the following security issues:
d9c43b
  CVE-2016-5617/CVE-2016-6664 CVE-2017-3312 CVE-2017-3238 CVE-2017-3243
d9c43b
  CVE-2017-3244 CVE-2017-3258 CVE-2017-3313 CVE-2017-3317 CVE-2017-3318
d9c43b
  CVE-2017-3291 CVE-2017-3302 CVE-2016-5483/CVE-2017-3600 CVE-2017-3308
d9c43b
  CVE-2017-3309 CVE-2017-3453 CVE-2017-3456 CVE-2017-3464
d9c43b
  Resolves: #1458933
d9c43b
  New deps required by upstream: checkpolicy and policycoreutils-python
d9c43b
  License text removed by upstream: COPYING.LESSER
d9c43b
  Do not ignore test-suite failure
d9c43b
  Downstream script mariadb-prepare-db-dir fixed for CVE-2017-3265
d9c43b
  Resolves: #1458940
d9c43b
d9c43b
* Tue Mar 21 2017 Michal Schorm <mschorm@redhat.com> - 5.5.52-2
d9c43b
- Extension of mariadb-prepare-db-dir script
d9c43b
- Resolves: #1356897
d9c43b
d9c43b
- Rebase to 5.5.52, that also include fix for CVE-2016-6662
d9c43b
  Resolves: #1377974
d9c43b
4bb35b
* Wed Sep 21 2016 Honza Horak <hhorak@redhat.com> - 5.5.52-1
4bb35b
- Rebase to 5.5.52, that also include fix for CVE-2016-6662
4bb35b
  Resolves: #1377974
4bb35b
4bb35b
* Wed Aug 24 2016 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.50-2
4bb35b
- Rebuild
4bb35b
  Related: #1359629
4bb35b
63de2f
* Mon Jul 25 2016 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.50-1
63de2f
- Rebase to 5.5.50
4bb35b
  Resolves: #1359629
4bb35b
4bb35b
* Thu Jul 07 2016 Honza Horak <hhorak@redhat.com> - 1:5.5.47-5
4bb35b
- Use full relro instead of just pie
4bb35b
  Resolves: #1335863
4bb35b
4bb35b
* Mon May 09 2016 Honza Horak <hhorak@redhat.com> - 1:5.5.47-4
4bb35b
- dialog.so and mysql_clear_password.so should be in mariadb-libs package
4bb35b
  Resolves: #1138843
4bb35b
4bb35b
* Tue Apr 26 2016 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.47-3
4bb35b
- Fixed mysql_secure_installation
4bb35b
  Resolves: #1186040
4bb35b
4bb35b
* Thu Feb 18 2016 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.47-2
4bb35b
- Add warning to /usr/lib/tmpfiles.d/mariadb.conf
4bb35b
  Resolves: #1241623
63de2f
ca2eb8
* Wed Feb  3 2016 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.47-1
ca2eb8
- Rebase to 5.5.47
ca2eb8
  Also fixes: CVE-2015-4792 CVE-2015-4802 CVE-2015-4815 CVE-2015-4816
ca2eb8
  CVE-2015-4819 CVE-2015-4826 CVE-2015-4830 CVE-2015-4836 CVE-2015-4858
ca2eb8
  CVE-2015-4861 CVE-2015-4870 CVE-2015-4879 CVE-2015-4913 CVE-2015-7744
ca2eb8
  CVE-2016-0505 CVE-2016-0546 CVE-2016-0596 CVE-2016-0597 CVE-2016-0598
ca2eb8
  CVE-2016-0600 CVE-2016-0606 CVE-2016-0608 CVE-2016-0609 CVE-2016-0616
ca2eb8
  CVE-2016-2047
4bb35b
  Resolves: #1300621
ca2eb8
ca2eb8
* Thu Jan 21 2016 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.44-3
ca2eb8
- MDEV-8827 Duplicate key with auto increment
ca2eb8
  fix innodb auto-increment handling three bugs:
ca2eb8
    1. innobase_next_autoinc treated the case of current
ca2eb8
    2. ha_innobase::get_auto_increment didn't recalculate current when increment changed
ca2eb8
    3. ha_innobase::get_auto_increment didn't pass offset down to innobase_next_autoinc
ca2eb8
  Resolves: #1300621
cee9fb
bf6be7
* Mon Sep 21 2015 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.44-2
bf6be7
- Rebuild
bf6be7
  Related: #1247022
bf6be7
dded13
* Tue Jul 28 2015 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.44-1
dded13
- Rebase to 5.5.44
bf6be7
  Resolves: #1247022
bf6be7
bf6be7
* Wed Jul  8 2015 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.41-3
bf6be7
- rebuild for correct systemtap markers on aarch64
bf6be7
  Resolves: #1238468
dded13
37edda
* Thu Jan 29 2015 Honza Horak <hhorak@redhat.com> - 1:5.5.41-2
37edda
- Include new certificate for tests
dded13
  Resolves: #1186110
37edda
37edda
* Tue Jan 27 2015 Matej Muzila <mmuzila@redhat.com> - 1:5.5.41-1
37edda
- Rebase to 5.5.41
dded13
  Also fixes: CVE-2014-6568 CVE-2015-0374 CVE-2015-0381 CVE-2015-0382
37edda
  CVE-2015-0391 CVE-2015-0411 CVE-2015-0432
dded13
  Resolves: #1186110
37edda
64180b
* Tue Dec 30 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.40-2
64180b
- Fix header to let dependencies to build fine
dded13
  Resolves: #1166603
64180b
46da7a
* Thu Nov 06 2014 Matej Muzila <mmuzila@redhat.com> - 1:5.5.40-1
46da7a
- Rebase to 5.5.40
46da7a
  Also fixes: CVE-2014-4274 CVE-2014-4287 CVE-2014-6463 CVE-2014-6464
46da7a
  CVE-2014-6469 CVE-2014-6484 CVE-2014-6505 CVE-2014-6507 CVE-2014-6520
46da7a
  CVE-2014-6530 CVE-2014-6551 CVE-2014-6555 CVE-2014-6559 CVE-2014-6564
dded13
  Resolves: #1160549
dded13
dded13
* Thu Aug 21 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.37-3
dded13
- Fix my_config.h to include correct header
dded13
  Related: #1123497
dded13
dded13
* Tue Aug 19 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.37-2
dded13
- Build with -O3 on all power64 arches
dded13
  Disable some failing tests temporarily on ppc64le
dded13
  Resolves: #1123497
46da7a
f3d64c
* Mon May 26 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.37-1
f3d64c
- Rebase to 5.5.37
f3d64c
  https://kb.askmonty.org/en/mariadb-5537-changelog/
f3d64c
  Also fixes: CVE-2014-2440 CVE-2014-0384 CVE-2014-2432 CVE-2014-2431
f3d64c
  CVE-2014-2430 CVE-2014-2436 CVE-2014-2438 CVE-2014-2419
f3d64c
  Resolves: #1101062
f3d64c
0012fd
* Thu Mar 06 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.35-3
0012fd
- Fix a typo in last commit
0012fd
  Related: #1069586
0012fd
0012fd
* Wed Feb 26 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.35-2
0012fd
- Remove unnecessary pid guessing and include README for included cnf files
0012fd
  Resolves: #1069586
0012fd
0012fd
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 5.5.35-1
0012fd
- Rebase to 5.5.35
0012fd
  https://kb.askmonty.org/en/mariadb-5535-changelog/
0012fd
  Also fixes: CVE-2014-0001, CVE-2014-0412, CVE-2014-0437, CVE-2013-5908,
0012fd
  CVE-2014-0420, CVE-2014-0393, CVE-2013-5891, CVE-2014-0386, CVE-2014-0401,
0012fd
  CVE-2014-0402
0012fd
  Resolves: #1054041
0012fd
0012fd
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:5.5.34-6
0012fd
- Mass rebuild 2014-01-24
0012fd
0012fd
* Tue Jan 14 2014 Honza Horak <hhorak@redhat.com> - 1:5.5.34-5
0012fd
- Adopt compatible system versioning
0012fd
  Resolves: #1045013
0012fd
0012fd
* Mon Jan 13 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-4
0012fd
- Fix alternatives calls for mysql_config
0012fd
  Related: #1050920
0012fd
0012fd
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-3
0012fd
- Clean all non-needed doc files properly
0012fd
  Related: #1044532
0012fd
- Disable main.gis-precise test also for AArch64
0012fd
  Disable perfschema.func_file_io and perfschema.func_mutex for AArch64
0012fd
  (like it is done for 32-bit ARM)
0012fd
  Resolves: #1050988
0012fd
- Build with -O3 on ppc64 (disabling innodb_prefix_index_restart_server)
0012fd
  Related: #1051069
0012fd
- Move mysql_config to -devel sub-package and remove Require: mariadb
0012fd
  Resolves: #1050920
0012fd
0012fd
* Tue Jan  7 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-1
0012fd
- Rebase to 5.5.34
0012fd
- Obsolete mysql packages
0012fd
  Resolves: #1043971
0012fd
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
0012fd
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
0012fd
  Resolves: #1048881
0012fd
- Check if socket file is not being used by another process at a time
0012fd
  of starting the service
0012fd
  Resolves: #1045435
0012fd
0012fd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:5.5.33a-4
0012fd
- Mass rebuild 2013-12-27
0012fd
031387
* Mon Nov  4 2013 Honza Horak <hhorak@redhat.com> 1:5.5.33a-3
031387
- Check if correct process is running in mysql-wait-ready script
031387
  Resolves: #1026313
031387
031387
* Mon Nov  4 2013 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.33a-2
031387
- Add pam-devel to BuildRequires for auth_pam.so to be built
031387
  Resolves: #1019945
031387
031387
* Wed Oct 23 2013 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.33a-1
031387
- Rebase to 5.5.33a
031387
- Disable main.mysql_client_test_nonblock on i686
031387
  Resolves: #1020032
031387
031387
* Wed Oct  9 2013 Jakub Dorňák <jdornak@redhat.com> - 1:5.5.32-11
031387
- Remove outfile_loaddata from rh-skipped-tests-base.list
031387
  Resolves: #950489
031387
031387
* Wed Sep  4 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-10
031387
- Multilib issues solved by alternatives
031387
  Resolves: #986959
031387
031387
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 1:5.5.32-9
031387
- Move log file into /var/log/mariadb/mariadb.log
031387
- Rename logrotate script to mariadb
031387
- Resolves: #999589
031387
031387
* Mon Aug 19 2013 Honza Horak <hhorak@redhat.com> 5.5.32-8
031387
- Fix comments in mariadb.service file
031387
031387
* Wed Jul 31 2013 Honza Horak <hhorak@redhat.com> 5.5.32-7
031387
- Do not use login shell for mysql user
031387
031387
* Tue Jul 30 2013 Honza Horak <hhorak@redhat.com> 5.5.32-6
031387
- Remove unneeded systemd-sysv requires
031387
- Provide mysql-compat-server symbol
031387
- Create mariadb.service symlink
031387
- Fix multilib header location for arm
031387
- Enhance documentation in the unit file
031387
- Use scriptstub instead of links to avoid multilib conflicts
031387
- Revert docs in unversioned dir
031387
- Remove mysql provides from server-side and obsoleting mysql
031387
- Revert explicit enabling mysqld in the beggining of the transaction
031387
031387
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 5.5.32-5
031387
- remove "Requires(pretrans): systemd" since its not possible
031387
- when installing mariadb and systemd at the same time. as in a new install
031387
031387
* Sat Jul 27 2013 Kevin Fenzi <kevin@scrye.com> 5.5.32-4
031387
- Set rpm doc macro to install docs in unversioned dir
031387
031387
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> 5.5.32-3
031387
- add Requires(pre) on systemd for the server package
031387
031387
* Tue Jul 23 2013 Dennis Gilmore <dennis@ausil.us> 5.5.32-2
031387
- replace systemd-units requires with systemd
031387
- remove solaris files
031387
031387
* Fri Jul 19 2013 Honza Horak <hhorak@redhat.com> 5.5.32-1
031387
- Rebase to 5.5.32
031387
  https://kb.askmonty.org/en/mariadb-5532-changelog/
031387
- Clean-up un-necessary systemd snippets
031387
031387
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:5.5.31-7
031387
- Perl 5.18 rebuild
031387
031387
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 5.5.31-6
031387
- Test suite params enhanced to decrease server condition influence
031387
- Fix misleading error message when uninstalling built-in plugins
031387
  Related: #966873
031387
031387
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 5.5.31-5
031387
- Apply fixes found by Coverity static analysis tool
031387
031387
* Wed Jun 19 2013 Honza Horak <hhorak@redhat.com> 5.5.31-4
031387
- Do not use pretrans scriptlet, which doesn't work in anaconda
031387
  Resolves: #975348
031387
031387
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 5.5.31-3
031387
- Explicitly enable mysqld if it was enabled in the beggining
031387
  of the transaction.
031387
031387
* Thu Jun 13 2013 Honza Horak <hhorak@redhat.com> 5.5.31-2
031387
- Apply man page fix from Jan Stanek
031387
031387
* Fri May 24 2013 Honza Horak <hhorak@redhat.com> 5.5.31-1
031387
- Rebase to 5.5.31
031387
  https://kb.askmonty.org/en/mariadb-5531-changelog/
031387
- Preserve time-stamps in case of installed files
031387
- Use /var/tmp instead of /tmp, since the later is using tmpfs,
031387
  which can cause problems
031387
  Resolves: #962087
031387
- Fix test suite requirements
031387
031387
* Sun May  5 2013 Honza Horak <hhorak@redhat.com> 5.5.30-2
031387
- Remove mytop utility, which is packaged separately
031387
- Resolve multilib conflicts in mysql/private/config.h
031387
031387
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 5.5.30-1
031387
- Rebase to 5.5.30
031387
  https://kb.askmonty.org/en/mariadb-5530-changelog/
031387
031387
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-11
031387
- Obsolete MySQL since it is now renamed to community-mysql
031387
- Remove real- virtual names
031387
031387
* Thu Mar 21 2013 Honza Horak <hhorak@redhat.com> 1:5.5.29-10
031387
- Adding epoch to have higher priority than other mysql implementations
031387
  when comes to provider comparison
031387
031387
* Wed Mar 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-9
031387
- Let mariadb-embedded-devel conflict with MySQL-embedded-devel
031387
- Adjust mariadb-sortbuffer.patch to correspond with upstream patch
031387
031387
* Mon Mar  4 2013 Honza Horak <hhorak@redhat.com> 5.5.29-8
031387
- Mask expected warnings about setrlimit in test suite
031387
031387
* Thu Feb 28 2013 Honza Horak <hhorak@redhat.com> 5.5.29-7
031387
- Use configured prefix value instead of guessing basedir
031387
  in mysql_config
031387
Resolves: #916189
031387
- Export dynamic columns and non-blocking API functions documented
031387
  by upstream
031387
031387
* Wed Feb 27 2013 Honza Horak <hhorak@redhat.com> 5.5.29-6
031387
- Fix sort_buffer_length option type
031387
031387
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 5.5.29-5
031387
- Suppress warnings in tests and skip tests also on ppc64p7
031387
031387
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-4
031387
- Suppress warning in tests on ppc
031387
- Enable fixed index_merge_myisam test case
031387
031387
* Thu Feb 07 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
031387
- Packages need to provide also %%_isa version of mysql package
031387
- Provide own symbols with real- prefix to distinguish from mysql
031387
  unambiguously
031387
- Fix format for buffer size in error messages (MDEV-4156)
031387
- Disable some tests that fail on ppc and s390
031387
- Conflict only with real-mysql, otherwise mariadb conflicts with ourself
031387
031387
* Tue Feb 05 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
031387
- Let mariadb-libs to own /etc/my.cnf.d
031387
031387
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.29-1
031387
- Rebase to 5.5.29
031387
  https://kb.askmonty.org/en/mariadb-5529-changelog/
031387
- Fix inaccurate default for socket location in mysqld-wait-ready
031387
  Resolves: #890535
031387
031387
* Thu Jan 31 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-8
031387
- Enable obsoleting mysql
031387
031387
* Wed Jan 30 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-7
031387
- Adding necessary hacks for perl dependency checking, rpm is still
031387
  not wise enough
031387
- Namespace sanity re-added for symbol default_charset_info
031387
031387
* Mon Jan 28 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-6
031387
- Removed %%{_isa} from provides/obsoletes, which doesn't allow
031387
  proper obsoleting
031387
- Do not obsolete mysql at the time of testing
031387
031387
* Thu Jan 10 2013 Honza Horak <hhorak@redhat.com> 5.5.28a-5
031387
- Added licenses LGPLv2 and BSD
031387
- Removed wrong usage of %%{epoch}
031387
- Test-suite is run in %%check
031387
- Removed perl dependency checking adjustment, rpm seems to be smart enough
031387
- Other minor spec file fixes
031387
031387
* Tue Dec 18 2012 Honza Horak <hhorak@redhat.com> 5.5.28a-4
031387
- Packaging of MariaDB based on MySQL package
031387