2aefdf
# SCL stuff
2aefdf
%{?scl:%scl_package mysql}
2aefdf
%{!?scl:%global pkg_name %{name}}
2aefdf
2aefdf
# Name of the package without any prefixes
2aefdf
%global pkgnamepatch mysql
2aefdf
2aefdf
# Regression tests may take a long time (many cores recommended), skip them by
2aefdf
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
2aefdf
# --nocheck is not possible (e.g. in koji build)
2aefdf
%{!?runselftest:%global runselftest 1}
2aefdf
aa5ec1
# Set this to 1 to see which tests fail, but 0 on production ready build
aa5ec1
%{!?check_testsuite:%global ignore_testsuite_result 0}
aa5ec1
aa5ec1
# The last version on which the full testsuite has been run
aa5ec1
# In case of further rebuilds of that version, don't require full testsuite to be run
aa5ec1
# run only "main" suite
9d1266
%global last_tested_version 8.0.30
aa5ec1
# Set to 1 to force run the testsuite even if it was already tested in current version
aa5ec1
%global force_run_testsuite 0
2aefdf
2aefdf
# In f20+ use unversioned docdirs, otherwise the old versioned one
2aefdf
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
2aefdf
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
2aefdf
2aefdf
# Use Full RELRO for all binaries (RHBZ#1092548)
2aefdf
%global _hardened_build 1
2aefdf
2aefdf
# By default, patch(1) creates backup files when chunks apply with offsets.
2aefdf
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
2aefdf
%global _default_patch_flags --no-backup-if-mismatch
2aefdf
2aefdf
%global skiplist platform-specific-tests.list
2aefdf
2aefdf
# For some use cases we do not need some parts of the package
2aefdf
%if 0%{?scl:1}
2aefdf
%bcond_with clibrary
2aefdf
%else
2aefdf
%bcond_without clibrary
2aefdf
%endif
2aefdf
%bcond_without devel
2aefdf
%bcond_without client
2aefdf
%bcond_without common
2aefdf
%bcond_without errmsg
2aefdf
%bcond_without test
2aefdf
2aefdf
# When there is already another package that ships /etc/my.cnf,
2aefdf
# rather include it than ship the file again, since conflicts between
2aefdf
# those files may create issues
2aefdf
%if 0%{?scl:1}
2aefdf
%bcond_without config
2aefdf
%else
2aefdf
%bcond_with config
2aefdf
%endif
2aefdf
2aefdf
# For deep debugging we need to build binaries with extra debug info
2aefdf
%bcond_with debug
2aefdf
9d1266
%global boost_bundled_version 1.77.0
2aefdf
2aefdf
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
2aefdf
%bcond_with bundled_protobuf
2aefdf
%else
2aefdf
%bcond_without bundled_protobuf
2aefdf
%endif
9d1266
%global protobuf_bundled_version 3.19.4
2aefdf
2aefdf
# Mysql 8.0.21 needs libevent version >2.1 and rhel-7 provides 2.0
2aefdf
# Also since Mysql 8.0.18, libzstd is required, but it's not in rhel until version 8
2aefdf
# thus we need to use bundled libraries
2aefdf
%if 0%{?scl:1} || 0%{?rhel} <= 7
2aefdf
%bcond_without bundled_libevent
2aefdf
%else
2aefdf
%bcond_with bundled_libevent
2aefdf
%endif
2aefdf
# zstd is missing on rhel-8.0.0
9d1266
# libfido2 is missing on <= rhel-8 as well
2aefdf
%if 0%{?scl:1} || 0%{?rhel} <= 8
2aefdf
%bcond_without bundled_zstd
9d1266
%bcond_without bundled_fido2
2aefdf
%else
2aefdf
%bcond_with bundled_zstd
9d1266
%bcond_with bundled_fido2
2aefdf
%endif
9d1266
%global zstd_bundled_version 1.5.0
2aefdf
%global libevent_bundled_version 2.1.11
9d1266
%global fido2_bundled_version 1.8.0
2aefdf
2aefdf
# Include files for SysV init or systemd
2aefdf
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
2aefdf
%bcond_without init_systemd
2aefdf
%bcond_with init_sysv
2aefdf
%global daemondir %{_unitdir}
2aefdf
%else
2aefdf
%bcond_with init_systemd
2aefdf
%bcond_without init_sysv
2aefdf
%global daemondir %{_sysconfdir}/rc.d/init.d
2aefdf
%endif
2aefdf
%global daemon_name %{?scl_prefix}mysqld
2aefdf
%global daemon_no_prefix mysqld
2aefdf
2aefdf
%{?scl:%global se_daemon_source %{_unitdir}/mysqld}
2aefdf
2aefdf
# Directory for storing pid file
2aefdf
%if 0%{?rhel} == 6
2aefdf
%global pidfiledir %{_localstatedir}/run/%{daemon_name}
2aefdf
%else
2aefdf
%global pidfiledir %{_rundir}/%{daemon_name}
2aefdf
%endif
2aefdf
2aefdf
# We define some system's well known locations here so we can use them easily
2aefdf
# later when building to another location (like SCL)
2aefdf
%if 0%{?scl:1}
2aefdf
%global logrotateddir %{_root_sysconfdir}/logrotate.d
2aefdf
%global selinux_packages_dir %{_root_datadir}/selinux/packages
2aefdf
%else
2aefdf
%global logrotateddir %{_sysconfdir}/logrotate.d
2aefdf
%global selinux_packages_dir %{_datadir}/selinux/packages
2aefdf
%endif
2aefdf
%global logfiledir %{_localstatedir}/log/mysql
2aefdf
%global logfile %{logfiledir}/%{daemon_no_prefix}.log
2aefdf
2aefdf
# Defining where database data live
2aefdf
%global dbdatadir %{_localstatedir}/lib/mysql
2aefdf
2aefdf
# Home directory of mysql user should be same for all packages that create it
2aefdf
%global mysqluserhome /var/lib/mysql
2aefdf
2aefdf
# Provide mysql names for compatibility
2aefdf
%if 0%{?scl:1}
2aefdf
%bcond_with mysql_names
2aefdf
%bcond_with conflicts
2aefdf
%else
2aefdf
%bcond_without mysql_names
2aefdf
%bcond_without conflicts
2aefdf
%endif
2aefdf
2aefdf
# Make long macros shorter
2aefdf
%global sameevr   %{?epoch:%{epoch}:}%{version}-%{release}
2aefdf
2aefdf
%if 0%{?scl:1}
2aefdf
%global scl_upper %{lua:print(string.upper(string.gsub(rpm.expand("%{scl}"), "-", "_")))}
2aefdf
%endif
2aefdf
2aefdf
Name:             %{?scl_prefix}mysql
9d1266
Version:          8.0.30
2aefdf
Release:          1%{?with_debug:.debug}%{?dist}
2aefdf
Summary:          MySQL client programs and shared libraries
2aefdf
URL:              http://www.mysql.com
2aefdf
2aefdf
# Exceptions allow client libraries to be linked with most open source SW,
2aefdf
# not only GPL code.  See README.mysql-license
2aefdf
License:          GPLv2 with exceptions and LGPLv2 and BSD
2aefdf
2aefdf
Source0:          https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-%{version}.tar.gz
2aefdf
Source2:          mysql_config_multilib.sh
2aefdf
Source3:          my.cnf.in
2aefdf
Source6:          README.mysql-docs
2aefdf
Source7:          README.mysql-license
2aefdf
Source10:         mysql.tmpfiles.d.in
2aefdf
Source11:         mysql.service.in
2aefdf
Source12:         mysql-prepare-db-dir.sh
2aefdf
Source13:         mysql-wait-ready.sh
2aefdf
Source14:         mysql-check-socket.sh
2aefdf
Source15:         mysql-scripts-common.sh
2aefdf
Source16:         mysql-check-upgrade.sh
2aefdf
Source17:         mysql-wait-stop.sh
2aefdf
Source18:         mysql@.service.in
2aefdf
Source19:         mysql.init.in
2aefdf
# To track rpmlint warnings
2aefdf
Source30:         mysql-5.6.10-rpmlintrc
2aefdf
# Configuration for server
2aefdf
Source31:         server.cnf.in
2aefdf
Source32:         default-authentication-plugin.cnf
2aefdf
Source40:         daemon-scl-helper.sh
2aefdf
Source41:         mysql-sysnice.te
aa5ec1
# Skipped tests lists
aa5ec1
Source50:         rh-skipped-tests-list-base.list
aa5ec1
Source51:         rh-skipped-tests-list-arm.list
aa5ec1
Source52:         rh-skipped-tests-list-s390.list
aa5ec1
Source53:         rh-skipped-tests-list-ppc.list
aa5ec1
2aefdf
2aefdf
# Comments for these patches are in the patch files
2aefdf
# Patches common for more mysql-like packages
2aefdf
Patch1:           %{pkgnamepatch}-install-test.patch
2aefdf
Patch3:           %{pkgnamepatch}-file-contents.patch
2aefdf
Patch4:           %{pkgnamepatch}-scripts.patch
2aefdf
Patch5:           %{pkgnamepatch}-paths.patch
2aefdf
2aefdf
# Patches specific for this mysql package
9d1266
Patch51:          %{pkgnamepatch}-sharedir.patch
9d1266
Patch53:          %{pkgnamepatch}-mtr.patch
9d1266
Patch54:          %{pkgnamepatch}-arm32-timer.patch
2aefdf
2aefdf
# Patches specific for scl
2aefdf
Patch90:          %{pkgnamepatch}-scl-env-check.patch
2aefdf
Patch91:          %{pkgnamepatch}-rpath.patch
2aefdf
2aefdf
# Patches taken from boost 1.59
9d1266
Patch111:         boost-1.58.0-pool.patch
9d1266
Patch112:         boost-1.57.0-mpl-print.patch
9d1266
# Patches taken from boost 1.76
9d1266
Patch113:         boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch
9d1266
2aefdf
# Use same logfile path in logrotate and mysql configs
2aefdf
Patch126: mysql-logrotate-log-path.patch
2aefdf
2aefdf
BuildRequires:    cmake
2aefdf
BuildRequires:    gcc-c++
2aefdf
BuildRequires:    libaio-devel
2aefdf
BuildRequires:    libedit-devel
2aefdf
BuildRequires:    libevent-devel
2aefdf
BuildRequires:    libicu-devel
2aefdf
BuildRequires:    %{?scl_prefix}lz4
2aefdf
BuildRequires:    %{?scl_prefix}lz4-devel
2aefdf
BuildRequires:    %{?scl_prefix}mecab-devel
2aefdf
BuildRequires:    %{?scl_prefix}bison
aa5ec1
BuildRequires:    %{?scl_prefix}libcurl-devel
2aefdf
%ifnarch aarch64 %{arm} s390 s390x
2aefdf
BuildRequires:    numactl-devel
2aefdf
%endif
2aefdf
BuildRequires:    openssl-devel
2aefdf
%if 0%{?fedora} > 24 || 0%{?rhel} > 7
2aefdf
BuildRequires:    perl-interpreter
2aefdf
BuildRequires:    perl-generators
2aefdf
%endif
2aefdf
%if 0%{?fedora} > 27 || 0%{?rhel} > 7
2aefdf
BuildRequires:    rpcgen
2aefdf
BuildRequires:    libtirpc-devel
2aefdf
%endif
2aefdf
%if %{without bundled_protobuf}
2aefdf
BuildRequires:    protobuf-lite-devel
2aefdf
%endif
2aefdf
BuildRequires:    rapidjson-devel
2aefdf
BuildRequires:    zlib
2aefdf
BuildRequires:    zlib-devel
2aefdf
BuildRequires:    multilib-rpm-config
2aefdf
# Tests requires time and ps and some perl modules
2aefdf
BuildRequires:    procps
2aefdf
BuildRequires:    time
2aefdf
BuildRequires:    perl(base)
2aefdf
BuildRequires:    perl(Carp)
2aefdf
BuildRequires:    perl(Cwd)
2aefdf
BuildRequires:    perl(Digest::file)
2aefdf
BuildRequires:    perl(Digest::MD5)
2aefdf
BuildRequires:    perl(English)
2aefdf
BuildRequires:    perl(Env)
2aefdf
BuildRequires:    perl(Errno)
2aefdf
BuildRequires:    perl(Exporter)
2aefdf
BuildRequires:    perl(Fcntl)
2aefdf
BuildRequires:    perl(File::Basename)
2aefdf
BuildRequires:    perl(File::Copy)
2aefdf
BuildRequires:    perl(File::Find)
2aefdf
BuildRequires:    perl(File::Spec)
2aefdf
BuildRequires:    perl(File::Spec::Functions)
2aefdf
BuildRequires:    perl(File::Temp)
2aefdf
BuildRequires:    perl(FindBin)
2aefdf
BuildRequires:    perl(Data::Dumper)
2aefdf
BuildRequires:    perl(Getopt::Long)
2aefdf
BuildRequires:    perl(if)
2aefdf
BuildRequires:    perl(IO::File)
2aefdf
BuildRequires:    perl(IO::Handle)
2aefdf
BuildRequires:    perl(IO::Select)
2aefdf
BuildRequires:    perl(IO::Socket::INET)
2aefdf
BuildRequires:    perl(IPC::Open3)
2aefdf
BuildRequires:    perl(JSON)
2aefdf
BuildRequires:    perl(lib)
2aefdf
BuildRequires:    perl(LWP::Simple)
2aefdf
BuildRequires:    perl(Memoize)
2aefdf
BuildRequires:    perl(Net::Ping)
2aefdf
BuildRequires:    perl(POSIX)
2aefdf
BuildRequires:    perl(Socket)
2aefdf
BuildRequires:    perl(strict)
2aefdf
BuildRequires:    perl(Sys::Hostname)
2aefdf
BuildRequires:    perl(Test::More)
2aefdf
BuildRequires:    perl(Time::HiRes)
2aefdf
BuildRequires:    perl(Time::localtime)
2aefdf
BuildRequires:    perl(warnings)
aa5ec1
BuildRequires:    make
2aefdf
%{?with_init_systemd:BuildRequires: systemd}
2aefdf
# libzstd
2aefdf
%{!?with_bundled_zstd:BuildRequires: libzstd-devel}
9d1266
# libfido2
9d1266
%{!?with_bundled_fido2:BuildRequires: libfido2-devel}
2aefdf
# libevent
2aefdf
%{?with_bundled_libevent:Provides: bundled(libevent) = %{libevent_bundled_version}}
2aefdf
%{!?with_bundled_libevent:BuildRequires: libevent-devel}
2aefdf
2aefdf
# aarch64 requires newer gcc
2aefdf
%if 0%{?rhel} == 7 && 0%{?scl:1}
2aefdf
%global dts devtoolset-7
2aefdf
BuildRequires:    %{dts}-gcc-c++
2aefdf
%endif
2aefdf
BuildRequires:    selinux-policy-devel
2aefdf
2aefdf
Requires:         bash coreutils grep
2aefdf
Requires:         %{name}-common%{?_isa} = %{sameevr}
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
2aefdf
Provides:         bundled(boost) = %{boost_bundled_version}
2aefdf
%if %{with bundled_protobuf}
2aefdf
Provides:         bundled(protobuf) = %{protobuf_bundled_version}
2aefdf
%endif
2aefdf
%if %{with bundled_zstd}
2aefdf
Provides:         bundled(zstd) = %{zstd_bundled_version}
2aefdf
%endif
9d1266
%if %{with bundled_fido2}
9d1266
Provides:         bundled(fido2) = %{fido2_bundled_version}
9d1266
%endif
2aefdf
2aefdf
%if %{with mysql_names}
2aefdf
Provides:         mysql = %{sameevr}
2aefdf
Provides:         mysql%{?_isa} = %{sameevr}
2aefdf
Provides:         mysql-compat-client = %{sameevr}
2aefdf
Provides:         mysql-compat-client%{?_isa} = %{sameevr}
2aefdf
%endif
2aefdf
2aefdf
%{?with_conflicts:Conflicts:        mariadb}
2aefdf
# mysql-cluster used to be built from this SRPM, but no more
2aefdf
Obsoletes:        mysql-cluster < 5.1.44
2aefdf
2aefdf
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
2aefdf
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
2aefdf
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
2aefdf
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so)$
2aefdf
%else
2aefdf
%filter_from_requires /perl(\(hostnames\|lib::mtr\|lib::v1\|mtr_\|My::\)/d
2aefdf
%filter_provides_in -P (%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\.so)
2aefdf
%filter_setup
2aefdf
%endif
2aefdf
2aefdf
%description
2aefdf
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
2aefdf
client/server implementation consisting of a server daemon (mysqld)
2aefdf
and many different client programs and libraries. The base package
2aefdf
contains the standard MySQL client programs and generic MySQL files.
2aefdf
2aefdf
2aefdf
%if %{with clibrary}
2aefdf
%package          libs
2aefdf
Summary:          The shared libraries required for MySQL clients
2aefdf
Requires:         %{name}-common%{?_isa} = %{sameevr}
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
%if %{with mysql_names}
2aefdf
Provides:         mysql-libs = %{sameevr}
2aefdf
Provides:         mysql-libs%{?_isa} = %{sameevr}
2aefdf
%endif
2aefdf
2aefdf
%description      libs
2aefdf
The mysql-libs package provides the essential shared libraries for any
2aefdf
MySQL client program or interface. You will need to install this package
2aefdf
to use any other MySQL package or any clients that need to connect to a
2aefdf
MySQL server.
2aefdf
%endif
2aefdf
2aefdf
2aefdf
%if %{with config}
2aefdf
%package          config
2aefdf
Summary:          The config files required by server and client
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
2aefdf
%description      config
2aefdf
The package provides the config file my.cnf and my.cnf.d directory used by any
2aefdf
MariaDB or MySQL program. You will need to install this package to use any
2aefdf
other MariaDB or MySQL package if the config files are not provided in the
2aefdf
package itself.
2aefdf
%endif
2aefdf
2aefdf
2aefdf
%if %{with common}
2aefdf
%package          common
2aefdf
Summary:          The shared files required for MySQL server and client
2aefdf
Requires:         %{_sysconfdir}/my.cnf
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
2aefdf
%description      common
2aefdf
The mysql-common package provides the essential shared files for any
2aefdf
MySQL program. You will need to install this package to use any other
2aefdf
MySQL package.
2aefdf
%endif
2aefdf
2aefdf
2aefdf
%if %{with errmsg}
2aefdf
%package          errmsg
2aefdf
Summary:          The error messages files required by MySQL server
2aefdf
Group:            Applications/Databases
2aefdf
Requires:         %{name}-common%{?_isa} = %{sameevr}
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
2aefdf
%description      errmsg
2aefdf
The package provides error messages files for the MySQL daemon
2aefdf
%endif
2aefdf
2aefdf
2aefdf
%package          server
2aefdf
Summary:          The MySQL server and related files
2aefdf
2aefdf
# Require any mysql client, but prefer mysql client for mysql server
2aefdf
%if 0%{?fedora} || 0%{?rhel} > 7
2aefdf
Suggests:         %{name}%{?_isa} = %{sameevr}
2aefdf
%endif
2aefdf
Requires:         %{?scl_prefix}mysql%{?_isa}
2aefdf
2aefdf
Requires:         %{name}-common%{?_isa} = %{sameevr}
2aefdf
Requires:         %{_sysconfdir}/my.cnf
2aefdf
Requires:         %{_sysconfdir}/my.cnf.d
2aefdf
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
2aefdf
%{?mecab:Requires: %{?scl_prefix}mecab-ipadic}
2aefdf
Requires:         coreutils
2aefdf
Requires(pre):    /usr/sbin/useradd
2aefdf
%if %{with init_systemd}
2aefdf
# We require this to be present for %%{_tmpfilesdir}
2aefdf
Requires:         systemd
2aefdf
# Make sure it's there when scriptlets run, too
2aefdf
%{?systemd_requires: %systemd_requires}
2aefdf
# semanage
2aefdf
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
2aefdf
Requires(post):   policycoreutils-python-utils
2aefdf
%else
2aefdf
Requires(post):   policycoreutils-python
2aefdf
%endif
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
%{?scl:BuildRequires: scl-utils-build-helpers}
2aefdf
%endif
2aefdf
%if %{with mysql_names}
2aefdf
Provides:         mysql-server = %{sameevr}
2aefdf
Provides:         mysql-server%{?_isa} = %{sameevr}
2aefdf
Provides:         mysql-compat-server = %{sameevr}
2aefdf
Provides:         mysql-compat-server%{?_isa} = %{sameevr}
2aefdf
Obsoletes:        mysql-bench < 5.7.8
2aefdf
%endif
2aefdf
Obsoletes:        mysql-bench < 5.7.8
2aefdf
%{?with_conflicts:Conflicts:        mariadb-server}
2aefdf
%{?with_conflicts:Conflicts:        mariadb-galera-server}
2aefdf
# A dependency mistake was made, to fix it, old version of the utils must be Obsoleted. Affected versions: F24, F25, F26 until their EOL.
2aefdf
Obsoletes:        mariadb-server-utils < 3:10.1.21-3
2aefdf
2aefdf
%description      server
2aefdf
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
2aefdf
client/server implementation consisting of a server daemon (mysqld)
2aefdf
and many different client programs and libraries. This package contains
2aefdf
the MySQL server and some accompanying files and directories.
2aefdf
2aefdf
2aefdf
%if %{with devel}
2aefdf
%package          devel
2aefdf
Summary:          Files for development of MySQL applications
2aefdf
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
2aefdf
Requires:         openssl-devel
2aefdf
Requires:         zlib-devel
2aefdf
%{!?with_bundled_zstd:Requires:     libzstd}
2aefdf
2aefdf
%{?with_conflicts:Conflicts:        mariadb-devel}
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
2aefdf
%description      devel
2aefdf
MySQL is a multi-user, multi-threaded SQL database server. This
2aefdf
package contains the libraries and header files that are needed for
2aefdf
developing MySQL client applications.
2aefdf
%endif
2aefdf
2aefdf
%if %{with test}
2aefdf
%package          test
2aefdf
Summary:          The test suite distributed with MySQL
2aefdf
Requires:         %{name}%{?_isa} = %{sameevr}
2aefdf
Requires:         %{name}-common%{?_isa} = %{sameevr}
2aefdf
Requires:         %{name}-server%{?_isa} = %{sameevr}
2aefdf
Requires:         gzip
2aefdf
Requires:         %{?scl_prefix}lz4
2aefdf
Requires:         perl(Digest::file)
2aefdf
Requires:         perl(Digest::MD5)
2aefdf
Requires:         perl(Env)
2aefdf
Requires:         perl(Exporter)
2aefdf
Requires:         perl(Fcntl)
2aefdf
Requires:         perl(File::Temp)
2aefdf
Requires:         perl(FindBin)
2aefdf
Requires:         perl(Data::Dumper)
2aefdf
Requires:         perl(Getopt::Long)
2aefdf
Requires:         perl(IPC::Open3)
2aefdf
Requires:         perl(JSON)
2aefdf
Requires:         perl(LWP::Simple)
2aefdf
Requires:         perl(Memoize)
2aefdf
Requires:         perl(Socket)
2aefdf
Requires:         perl(Sys::Hostname)
2aefdf
Requires:         perl(Test::More)
2aefdf
Requires:         perl(Time::HiRes)
2aefdf
%{?with_conflicts:Conflicts:        mariadb-test}
2aefdf
%{?scl:Requires:%scl_runtime}
2aefdf
%if %{with mysql_names}
2aefdf
Provides:         mysql-test = %{sameevr}
2aefdf
Provides:         mysql-test%{?_isa} = %{sameevr}
2aefdf
%endif
2aefdf
2aefdf
%description      test
2aefdf
MySQL is a multi-user, multi-threaded SQL database server. This
2aefdf
package contains the regression test suite distributed with
2aefdf
the MySQL sources.
2aefdf
%endif
2aefdf
2aefdf
%if 0%{?scl:1}
2aefdf
%scl_syspaths_package -d
2aefdf
%scl_syspaths_package config -d
2aefdf
%scl_syspaths_package server -d
2aefdf
%endif
2aefdf
2aefdf
2aefdf
%prep
2aefdf
%setup -q -n mysql-%{version}
2aefdf
%patch1 -p1
2aefdf
%patch3 -p1
2aefdf
%patch4 -p1
2aefdf
%patch5 -p1
2aefdf
%patch51 -p1
9d1266
%patch53 -p1
9d1266
%patch54 -p1
2aefdf
%patch126 -p1
2aefdf
2aefdf
# Patch Boost
2aefdf
pushd boost/boost_$(echo %{boost_bundled_version}| tr . _)
9d1266
%patch111 -p0
9d1266
%patch112 -p1
9d1266
%patch113 -p2
2aefdf
popd
2aefdf
2aefdf
# check that we have correct versions in bundled(*) Provides above (boost checked with pushd above)
2aefdf
# Let's check the version in Provides even if we build without bundled, to keep SPEC valid generally
9d1266
test "$(grep -e '^#define ZSTD_VERSION_\(MAJOR\|MINOR\|RELEASE\)' extra/zstd/zstd-$(echo %{zstd_bundled_version})/lib/zstd.h | awk '{print $3}' | xargs | sed -e 's/ /./g')" == "%{zstd_bundled_version}"
9d1266
test "$(grep -e 'The current release of \*libfido2\* is' extra/libfido2/libfido2-*/README.adoc | awk '{print $7}' | sed 's/.$//')" == "%{fido2_bundled_version}"
2aefdf
test -f extra/protobuf/protobuf-%{protobuf_bundled_version}/src/google/protobuf/port_def.inc
2aefdf
test -f extra/libevent/libevent-%{libevent_bundled_version}-stable/CMakeLists.txt
2aefdf
aa5ec1
# generate a list of tests that fail, but are not disabled by upstream
aa5ec1
cat %{SOURCE50} | tee -a mysql-test/%{skiplist}
2aefdf
aa5ec1
# disable some tests failing on different architectures
aa5ec1
%ifarch %{arm} aarch64
aa5ec1
cat %{SOURCE51} | tee -a mysql-test/%{skiplist}
aa5ec1
%endif
2aefdf
aa5ec1
%ifarch s390 s390x
aa5ec1
cat %{SOURCE52} | tee -a mysql-test/%{skiplist}
2aefdf
%endif
2aefdf
aa5ec1
%ifarch ppc ppc64 ppc64p7 ppc64le
aa5ec1
cat %{SOURCE53} | tee -a mysql-test/%{skiplist}
aa5ec1
%endif
2aefdf
2aefdf
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} \
2aefdf
   %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE31} scripts
2aefdf
2aefdf
%if 0%{?scl:1}
2aefdf
%patch90 -p1
2aefdf
%patch91 -p1
2aefdf
%endif
2aefdf
2aefdf
cp %{SOURCE41} mysql-sysnice.te
2aefdf
2aefdf
2aefdf
%build
2aefdf
%{set_build_flags}
2aefdf
2aefdf
make -f /usr/share/selinux/devel/Makefile mysql-sysnice.te mysql-sysnice.pp
2aefdf
# fail quickly and obviously if user tries to build as root
2aefdf
%if %runselftest
2aefdf
    if [ x"$(id -u)" = "x0" ]; then
2aefdf
        echo "mysql's regression tests fail if run as root."
2aefdf
        echo "If you really need to build the RPM as root, use"
2aefdf
        echo "--nocheck to skip the regression tests."
2aefdf
        exit 1
2aefdf
    fi
2aefdf
%endif
2aefdf
2aefdf
%{?scl:scl enable %{scl} %{?dts} - << \EOF}
2aefdf
set -ex
2aefdf
2aefdf
# build out of source
2aefdf
mkdir -p build && pushd build
2aefdf
2aefdf
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
2aefdf
# so we can't use %%{_datadir} and so forth here.
2aefdf
cmake .. \
2aefdf
         -DBUILD_CONFIG=mysql_release \
2aefdf
         -DFEATURE_SET="community" \
2aefdf
         -DINSTALL_LAYOUT=RPM \
2aefdf
         -DDAEMON_NAME="%{daemon_name}" \
2aefdf
         -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
2aefdf
%if 0%{?scl:1}
2aefdf
         -DSCL_NAME="%{?scl}" \
2aefdf
         -DSCL_NAME_UPPER="%{?scl_upper}" \
2aefdf
         -DSCL_SCRIPTS="%{?_scl_scripts}" \
2aefdf
%endif
2aefdf
         -DLOG_LOCATION="%{logfile}" \
2aefdf
         -DPID_FILE_DIR="%{pidfiledir}" \
2aefdf
         -DNICE_PROJECT_NAME="MySQL" \
2aefdf
         -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
2aefdf
         -DSYSCONFDIR="%{_sysconfdir}" \
2aefdf
         -DSYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
2aefdf
         -DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
2aefdf
         -DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
2aefdf
         -DINSTALL_INCLUDEDIR=include/mysql \
2aefdf
         -DINSTALL_INFODIR=share/info \
2aefdf
         -DINSTALL_LIBEXECDIR=libexec \
2aefdf
         -DINSTALL_LIBDIR="%{_lib}/mysql" \
2aefdf
         -DRPATH_LIBDIR="%{_libdir}" \
2aefdf
         -DINSTALL_MANDIR=share/man \
2aefdf
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
2aefdf
         -DINSTALL_MYSQLTESTDIR=share/mysql-test \
2aefdf
         -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
2aefdf
         -DINSTALL_SBINDIR=bin \
2aefdf
         -DINSTALL_SECURE_FILE_PRIVDIR="%{_localstatedir}/lib/mysql-files" \
2aefdf
         -DINSTALL_SUPPORTFILESDIR=share/%{pkg_name} \
2aefdf
         -DMYSQL_DATADIR="%{dbdatadir}" \
2aefdf
         -DMYSQL_KEYRINGDIR="%{_localstatedir}/lib/mysql-keyring" \
2aefdf
         -DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
2aefdf
         -DENABLED_LOCAL_INFILE=ON \
2aefdf
%if %{with init_systemd}
2aefdf
         -DWITH_SYSTEMD=1 \
2aefdf
         -DSYSTEMD_SERVICE_NAME="%{daemon_name}" \
2aefdf
         -DSYSTEMD_PID_DIR="%{pidfiledir}" \
2aefdf
%endif
2aefdf
         -DWITH_INNODB_MEMCACHED=ON \
2aefdf
%ifnarch aarch64 %{arm} s390 s390x
2aefdf
         -DWITH_NUMA=ON \
2aefdf
%endif
2aefdf
%ifarch s390 s390x armv7hl
2aefdf
         -DUSE_LD_GOLD=OFF \
2aefdf
%endif
2aefdf
         -DWITH_ROUTER=OFF \
2aefdf
         -DWITH_SYSTEM_LIBS=ON \
9d1266
         -DWITH_ICU=system \
2aefdf
%if %{with bundled_protobuf}
2aefdf
         -DWITH_PROTOBUF=bundled \
2aefdf
%endif
2aefdf
         -DWITH_MECAB=system \
2aefdf
         -DWITH_BOOST=../boost \
9d1266
%if %{with bundled_fido2}
9d1266
         -DWITH_FIDO="bundled" \
9d1266
%endif
2aefdf
%if %{with bundled_zstd}
2aefdf
         -DWITH_ZSTD="bundled" \
2aefdf
%endif
2aefdf
%if %{with bundled_libevent}
2aefdf
         -DWITH_LIBEVENT="bundled" \
2aefdf
%endif
2aefdf
         -DREPRODUCIBLE_BUILD=OFF \
2aefdf
         -DCMAKE_C_FLAGS="%{optflags} -pie %{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
2aefdf
         -DCMAKE_CXX_FLAGS="%{optflags} -pie %{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
2aefdf
         -DCMAKE_EXE_LINKER_FLAGS="-pie %{build_ldflags}" \
2aefdf
%{?with_debug: -DWITH_DEBUG=1}\
2aefdf
%{?with_debug: -DMYSQL_MAINTAINER_MODE=0}\
2aefdf
         -DTMPDIR=/var/tmp \
2aefdf
         -DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \
2aefdf
         -DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \
aa5ec1
         -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" \
9d1266
	 -DCMAKE_C_COMPILER="%{_bindir}/gcc" \
9d1266
	 -DCMAKE_CXX_COMPILER="%{_bindir}/g++" \
aa5ec1
         -DWITH_UNIT_TESTS=0
2aefdf
2aefdf
# Note: linking with GOLD disabled on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698
2aefdf
aa5ec1
# Note: disabling building of unittests to workaround #1989847
aa5ec1
2aefdf
cmake .. -LAH
2aefdf
2aefdf
# to safe disk space, do not use ccache
2aefdf
export CCACHE_DISABLE=1
2aefdf
# do not use %%{?_smp_mflags} to safe memory and avoid build failure due to not enough resources
2aefdf
make -j2 VERBOSE=1
2aefdf
2aefdf
popd
2aefdf
2aefdf
%{?scl:EOF}
2aefdf
2aefdf
%install
2aefdf
install -p -m 644 -D mysql-sysnice.pp %{buildroot}%{selinux_packages_dir}/%{name}/%{pkg_name}-sysnice.pp
2aefdf
%{?scl:scl enable %{scl} %{?dts} - << \EOF}
2aefdf
set -ex
2aefdf
2aefdf
pushd build
2aefdf
make DESTDIR=%{buildroot} install
2aefdf
2aefdf
# multilib support for shell scripts
2aefdf
# we only apply this to known Red Hat multilib arches, per bug #181335
2aefdf
if %multilib_capable; then
2aefdf
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
2aefdf
install -p -m 0755 scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
2aefdf
fi
2aefdf
2aefdf
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
2aefdf
# but that's pretty wacko --- see also %%{name}-file-contents.patch)
2aefdf
install -p -m 0644 Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
2aefdf
install -p -m 0644 Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
2aefdf
2aefdf
mkdir -p %{buildroot}%{logfiledir}
2aefdf
mkdir -p %{buildroot}%{_libexecdir}
2aefdf
2aefdf
mkdir -p %{buildroot}%{pidfiledir}
2aefdf
install -p -m 0755 -d %{buildroot}%{dbdatadir}
2aefdf
install -p -m 0750 -d %{buildroot}%{_localstatedir}/lib/mysql-files
2aefdf
install -p -m 0700 -d %{buildroot}%{_localstatedir}/lib/mysql-keyring
2aefdf
2aefdf
# create directory for socket
2aefdf
%{?scl:install -p -m 0755 -d %{buildroot}/var/lib/mysql}
2aefdf
2aefdf
%if %{with config}
2aefdf
install -D -p -m 0644 scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
2aefdf
%endif
2aefdf
2aefdf
# daemon helper for fixing SELinux in systemd
2aefdf
%if %{with init_systemd} && 0%{?scl:1}
2aefdf
install -p -m 755 %{SOURCE40} %{buildroot}%{_libexecdir}/mysqld-scl-helper
2aefdf
%endif
2aefdf
2aefdf
# install systemd unit files and scripts for handling server startup
2aefdf
%if %{with init_systemd}
2aefdf
install -D -p -m 644 scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
2aefdf
install -D -p -m 644 scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}@.service
2aefdf
install -D -p -m 0644 scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{daemon_name}.conf
2aefdf
rm -r %{buildroot}%{_tmpfilesdir}/mysql.conf
2aefdf
%endif
2aefdf
2aefdf
# install SysV init script
2aefdf
%if %{with init_sysv}
2aefdf
install -D -p -m 755 scripts/mysql.init %{buildroot}%{daemondir}/%{daemon_name}
2aefdf
install -p -m 755 scripts/mysql-wait-ready %{buildroot}%{_libexecdir}/mysql-wait-ready
2aefdf
%endif
2aefdf
2aefdf
# helper scripts for service starting
2aefdf
install -D -p -m 755  scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
2aefdf
install -p -m 755 scripts/mysql-wait-stop %{buildroot}%{_libexecdir}/mysql-wait-stop
2aefdf
install -p -m 755 scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
2aefdf
install -p -m 755 scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade
2aefdf
install -p -m 644 scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
2aefdf
install -D -p -m 0644 scripts/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
2aefdf
install -D -p -m 0644 %{SOURCE32} %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-default-authentication-plugin.cnf
2aefdf
2aefdf
rm %{buildroot}%{_libdir}/mysql/*.a
2aefdf
rm %{buildroot}%{_mandir}/man1/comp_err.1*
2aefdf
2aefdf
# put logrotate script where it needs to be
2aefdf
mkdir -p %{buildroot}%{logrotateddir}
2aefdf
mv %{buildroot}%{_datadir}/%{pkg_name}/mysql-log-rotate %{buildroot}%{logrotateddir}/%{daemon_name}
2aefdf
chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
2aefdf
2aefdf
# Add collection prefix to the packageconfig provides
2aefdf
%if 0%{?scl:1}
2aefdf
mv %{buildroot}%{_libdir}/pkgconfig/mysqlclient.pc %{buildroot}%{_libdir}/pkgconfig/%{?scl_prefix}mysqlclient.pc
2aefdf
%endif
2aefdf
2aefdf
%if %{with clibrary} && 0%{!?scl:1}
2aefdf
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
2aefdf
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
2aefdf
%endif
2aefdf
2aefdf
# for back-ward compatibility and SELinux, let's keep the mysqld in libexec
2aefdf
# and just create a symlink in /usr/sbin
2aefdf
mv %{buildroot}%{_bindir}/mysqld %{buildroot}%{_libexecdir}/mysqld
2aefdf
mkdir -p %{buildroot}%{_sbindir}
aa5ec1
ln -s ../libexec/mysqld %{buildroot}%{_sbindir}/mysqld
2aefdf
2aefdf
%if %{with debug}
2aefdf
mv %{buildroot}%{_bindir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
2aefdf
%endif
2aefdf
2aefdf
# Back to src dir
2aefdf
popd
2aefdf
2aefdf
# copy additional docs into build tree so %%doc will find them
2aefdf
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
2aefdf
install -p -m 0644 %{SOURCE7} %{basename:%{SOURCE7}}
2aefdf
2aefdf
# Install the list of skipped tests to be available for user runs
2aefdf
install -p -m 0644 mysql-test/%{skiplist} %{buildroot}%{_datadir}/mysql-test
2aefdf
2aefdf
%if %{without clibrary}
2aefdf
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
2aefdf
rm -r %{buildroot}%{_libdir}/mysql/libmysqlclient*.so.*
2aefdf
%if 0%{!?scl:1}
2aefdf
rm -r %{buildroot}%{_sysconfdir}/ld.so.conf.d
2aefdf
%endif
2aefdf
%endif
2aefdf
2aefdf
%if %{without devel}
2aefdf
rm %{buildroot}%{_bindir}/mysql_config*
2aefdf
rm -r %{buildroot}%{_includedir}/mysql
2aefdf
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
2aefdf
rm %{buildroot}%{_libdir}/pkgconfig/%{?scl_prefix}mysqlclient.pc
2aefdf
rm %{buildroot}%{_libdir}/mysql/libmysqlclient*.so
2aefdf
rm %{buildroot}%{_mandir}/man1/mysql_config.1*
2aefdf
%endif
2aefdf
2aefdf
%if %{without client}
2aefdf
rm %{buildroot}%{_bindir}/{mysql,mysql_config_editor,\
2aefdf
mysql_plugin,mysqladmin,mysqlbinlog,\
2aefdf
mysqlcheck,mysqldump,mysqlpump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}
2aefdf
rm %{buildroot}%{_mandir}/man1/{mysql,mysql_config_editor,\
2aefdf
mysql_plugin,mysqladmin,mysqlbinlog,\
2aefdf
mysqlcheck,mysqldump,mysqlpump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}.1*
2aefdf
%endif
2aefdf
2aefdf
%if %{with config}
2aefdf
mkdir -p %{buildroot}%{_sysconfdir}/my.cnf.d
2aefdf
%else
2aefdf
#rm %{buildroot}%{_sysconfdir}/my.cnf
2aefdf
%endif
2aefdf
2aefdf
%if %{without common}
2aefdf
rm -r %{buildroot}%{_datadir}/%{pkg_name}/charsets
2aefdf
%endif
2aefdf
2aefdf
%if %{without errmsg}
2aefdf
rm %{buildroot}%{_datadir}/%{pkg_name}/{messages_to_error_log.txt,messages_to_clients.txt}
2aefdf
rm -r %{buildroot}%{_datadir}/%{pkg_name}/{english,bulgarian,czech,danish,dutch,estonian,\
2aefdf
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
2aefdf
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian}
2aefdf
%endif
2aefdf
2aefdf
%if %{without test}
aa5ec1
rm %{buildroot}%{_bindir}/{mysql_client_test,mysqlxtest,mysqltest_safe_process,zlib_decompress,mysql_keyring_encryption_test}
2aefdf
rm -r %{buildroot}%{_datadir}/mysql-test
2aefdf
%endif
2aefdf
2aefdf
%{?scl:EOF}
2aefdf
2aefdf
%if 0%{?scl:1}
2aefdf
# generate a configuration file for daemon
2aefdf
cat << EOF | tee -a %{buildroot}%{?_scl_scripts}/service-environment
2aefdf
# Services are started in a fresh environment without any influence of user's
2aefdf
# environment (like environment variable values). As a consequence,
2aefdf
# information of all enabled collections will be lost during service start up.
2aefdf
# If user needs to run a service under any software collection enabled, this
2aefdf
# collection has to be written into %{scl_upper}_SCLS_ENABLED variable
2aefdf
# in %{?_scl_scripts}/service-environment.
2aefdf
%{scl_upper}_SCLS_ENABLED="%{scl}"
2aefdf
EOF
2aefdf
2aefdf
# Creating syspath without prefix for mysql-config package
2aefdf
%scl_syspaths_install_wrapper -n mysql-config -m link %{_sysconfdir}/my.cnf %{_root_sysconfdir}/%{scl_prefix}my.cnf
2aefdf
%scl_syspaths_install_wrapper -n mysql-config -m link %{_sysconfdir}/my.cnf.d %{_root_sysconfdir}/%{scl_prefix}my.cnf.d
2aefdf
2aefdf
# Creating syspath without prefix for mysql package
2aefdf
mysql_binaries='mysql mysql_config_editor mysqladmin mysqlbinlog mysqlcheck mysqldump
2aefdf
mysqlimport mysqlpump mysqlshow mysqlslap'
2aefdf
2aefdf
%scl_syspaths_install_wrappers -n mysql -m script -p bin $mysql_binaries
2aefdf
2aefdf
mans= ; for bin in $mysql_binaries; do mans+=" man1/$bin.1.gz" ; done
2aefdf
%scl_syspaths_install_wrappers -n mysql -m link -p man $mans
2aefdf
2aefdf
# Creating syspath without prefix for mysql-server package
2aefdf
mysql_server_binaries='ibd2sdi innochecksum my_print_defaults myisam_ftdump
2aefdf
myisamchk myisamlog myisampack mysql_secure_installation mysql_ssl_rsa_setup
2aefdf
mysql_tzinfo_to_sql mysql_upgrade mysqldumpslow perror'
2aefdf
2aefdf
%scl_syspaths_install_wrappers -n mysql-server -m script -p bin $mysql_server_binaries
2aefdf
2aefdf
mans= ; for bin in $mysql_server_binaries; do mans+=" man1/$bin.1.gz" ; done
2aefdf
%scl_syspaths_install_wrappers -n mysql-server -m link -p man $mans
2aefdf
2aefdf
%scl_syspaths_install_wrapper -n mysql-server -m link %{logfiledir} %{_root_localstatedir}/log/%{scl_prefix}mysql
2aefdf
%scl_syspaths_install_wrapper -n mysql-server -m link %{dbdatadir} %{_root_localstatedir}/lib/%{scl_prefix}mysql
2aefdf
2aefdf
%if %{with init_systemd}
2aefdf
%scl_syspaths_install_wrapper -n mysql-server -m link %{_unitdir}/%{daemon_name}.service %{_unitdir}/%{daemon_no_prefix}.service
2aefdf
%scl_syspaths_install_wrapper -n mysql-server -m link %{_unitdir}/%{daemon_name}@.service %{_unitdir}/%{daemon_no_prefix}@.service
2aefdf
%endif
2aefdf
2aefdf
%if %{with init_sysv}
2aefdf
%scl_syspaths_install_wrapper -n mysql-server -m link %{daemondir}/%{daemon_name} %{daemondir}/%{daemon_no_prefix}
2aefdf
%endif
2aefdf
%endif #scl
2aefdf
2aefdf
%check
2aefdf
%{?scl:scl enable %{scl} %{?dts} - << \EOF}
2aefdf
set -ex
2aefdf
2aefdf
%if %{with test}
2aefdf
%if %runselftest
2aefdf
pushd build
aa5ec1
# Note: disabling building of unittests to workaround #1989847
aa5ec1
#make test VERBOSE=1
2aefdf
pushd mysql-test
2aefdf
cp ../../mysql-test/%{skiplist} .
aa5ec1
# Builds might happen at the same host, avoid collision
aa5ec1
#   The port used is calculated as 10 * MTR_BUILD_THREAD + 10000
aa5ec1
#   The resulting port must be between 5000 and 32767
aa5ec1
export MTR_BUILD_THREAD=$(( $(date +%s) % 2200 ))
aa5ec1
aa5ec1
(
aa5ec1
  set -ex
aa5ec1
  cd %{buildroot}%{_datadir}/mysql-test
aa5ec1
9d1266
  export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --max-test-fail=5 --report-unstable-tests --clean-vardir --mysqld=--skip-innodb-use-native-aio "
aa5ec1
aa5ec1
  # If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run
aa5ec1
  if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]]
aa5ec1
  then
aa5ec1
    # in further rebuilds only run the basic "main" suite (~800 tests)
aa5ec1
    echo "running only base testsuite"
aa5ec1
    perl ./mysql-test-run.pl $common_testsuite_arguments --suite=main --mem --skip-test-list=%{skiplist}
aa5ec1
  fi
aa5ec1
aa5ec1
 # If either this version wasn't marked as tested yet or I explicitly want to run the testsuite, run everything we have (~4000 test)
aa5ec1
  if [[ "%{last_tested_version}" != "%{version}" ]] || [[ %{force_run_testsuite} -ne 0 ]]
aa5ec1
  then
aa5ec1
    echo "running advanced testsuite"
aa5ec1
    perl ./mysql-test-run.pl $common_testsuite_arguments \
aa5ec1
    %if %{ignore_testsuite_result}
aa5ec1
      --max-test-fail=9999 || :
aa5ec1
    %else
aa5ec1
      --skip-test-list=%{skiplist}
aa5ec1
    %endif
aa5ec1
  fi
aa5ec1
aa5ec1
  # There might be a dangling symlink left from the testing, remove it to not be installed
2aefdf
  rm -r var $(readlink var)
aa5ec1
)
aa5ec1
2aefdf
popd
2aefdf
popd
aa5ec1
2aefdf
%endif
2aefdf
%endif
2aefdf
2aefdf
%{?scl:EOF}
2aefdf
2aefdf
%pre server
2aefdf
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
2aefdf
/usr/sbin/useradd -M -N -g mysql -o -r -d %{mysqluserhome} -s /sbin/nologin \
2aefdf
  -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
2aefdf
2aefdf
%if %{with clibrary}
2aefdf
# Can be dropped on F27 EOL
2aefdf
%ldconfig_post libs
2aefdf
%endif
2aefdf
2aefdf
%post server
2aefdf
semodule -i %{selinux_packages_dir}/%{name}/%{pkg_name}-sysnice.pp >/dev/null 2>&1 || :
2aefdf
%if 0%{?scl:1}
2aefdf
# since there was a typo before (bz#1452707), we need to clean previously
2aefdf
# set rule, otherwise semange will not work
2aefdf
semanage fcontext -d "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
2aefdf
semanage fcontext -a -e "%{se_daemon_source}" "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
2aefdf
semanage fcontext -a -t mysqld_var_run_t "%{pidfiledir}" >/dev/null 2>&1 || :
2aefdf
# work-around for rhbz#1203991
2aefdf
semanage fcontext -a -t mysqld_etc_t '/etc/my\.cnf\.d/.*' >/dev/null 2>&1 || :
2aefdf
%if %{with init_systemd}
2aefdf
# work-around for rhbz#1172683, but intentionally using mysqld_exec_t context
2aefdf
# and mysqld-scl-helper file, otherwise we hit bz#1464145 on RHEL-7
2aefdf
semanage fcontext -a -t mysqld_exec_t %{_root_libexecdir}/mysqld-scl-helper >/dev/null 2>&1 || :
2aefdf
%endif
2aefdf
selinuxenabled && load_policy || :
2aefdf
restorecon -R "%{?_scl_root}/" >/dev/null 2>&1 || :
2aefdf
restorecon -R "%{_sysconfdir}" >/dev/null 2>&1 || :
2aefdf
restorecon -R "%{_localstatedir}" >/dev/null 2>&1 || :
2aefdf
restorecon -R "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
2aefdf
restorecon -R "%{pidfiledir}" >/dev/null 2>&1 || :
2aefdf
%endif
2aefdf
%if %{with init_systemd}
2aefdf
%systemd_post %{daemon_name}.service
2aefdf
%endif
2aefdf
%if %{with init_sysv}
2aefdf
if [ $1 = 1 ]; then
2aefdf
    /sbin/chkconfig --add %{daemon_name}
2aefdf
fi
2aefdf
%endif
2aefdf
if [ ! -e "%{logfile}" -a ! -h "%{logfile}" ] ; then
2aefdf
    install /dev/null -m0640 -omysql -gmysql "%{logfile}"
2aefdf
fi
2aefdf
# TODO: remove after selinux-policy is fixed (BZ#1602153)
2aefdf
semanage fcontext -a -t mysqld_log_t '/var/log/mysql(/.*)?'
2aefdf
restorecon -r %{logfiledir}
2aefdf
2aefdf
2aefdf
%preun server
2aefdf
%if %{with init_systemd}
2aefdf
%systemd_preun %{daemon_name}.service
2aefdf
%endif
2aefdf
%if %{with init_sysv}
2aefdf
if [ $1 = 0 ]; then
2aefdf
    /sbin/service %{daemon_name} stop >/dev/null 2>&1
2aefdf
    /sbin/chkconfig --del %{daemon_name}
2aefdf
fi
2aefdf
%endif
2aefdf
2aefdf
%if %{with clibrary}
2aefdf
# Can be dropped on F27 EOL
2aefdf
%ldconfig_postun libs
2aefdf
%endif
2aefdf
2aefdf
%postun server
2aefdf
%if %{with init_systemd}
2aefdf
%systemd_postun_with_restart %{daemon_name}.service
2aefdf
%endif
2aefdf
%if %{with init_sysv}
2aefdf
if [ $1 -ge 1 ]; then
2aefdf
    /sbin/service %{daemon_name} condrestart >/dev/null 2>&1 || :
2aefdf
fi
2aefdf
%endif
2aefdf
if [ $1 -eq 0 ]; then
2aefdf
    semodule -r %{pkg_name}-sysnice.pp >/dev/null 2>&1 || :
2aefdf
fi
2aefdf
2aefdf
%if %{with client}
2aefdf
%files
2aefdf
%{_bindir}/mysql
2aefdf
%{_bindir}/mysql_config_editor
2aefdf
%{_bindir}/mysqladmin
2aefdf
%{_bindir}/mysqlbinlog
2aefdf
%{_bindir}/mysqlcheck
2aefdf
%{_bindir}/mysqldump
2aefdf
%{_bindir}/mysqlimport
2aefdf
%{_bindir}/mysqlpump
2aefdf
%{_bindir}/mysqlshow
2aefdf
%{_bindir}/mysqlslap
2aefdf
2aefdf
%{_mandir}/man1/mysql.1*
2aefdf
%{_mandir}/man1/mysql_config_editor.1*
2aefdf
%{_mandir}/man1/mysqladmin.1*
2aefdf
%{_mandir}/man1/mysqlbinlog.1*
2aefdf
%{_mandir}/man1/mysqlcheck.1*
2aefdf
%{_mandir}/man1/mysqldump.1*
2aefdf
%{_mandir}/man1/mysqlimport.1*
2aefdf
%{_mandir}/man1/mysqlpump.1*
2aefdf
%{_mandir}/man1/mysqlshow.1*
2aefdf
%{_mandir}/man1/mysqlslap.1*
2aefdf
%endif
2aefdf
2aefdf
%if %{with clibrary}
2aefdf
%files libs
2aefdf
%{_libdir}/mysql/libmysqlclient*.so.*
2aefdf
%{!?scl:%config(noreplace) %{_sysconfdir}/ld.so.conf.d/*}
2aefdf
%endif
2aefdf
2aefdf
%if %{with config}
2aefdf
%files config
2aefdf
# although the default my.cnf contains only server settings, we put it in the
2aefdf
# common package because it can be used for client settings too.
2aefdf
%dir %{_sysconfdir}/my.cnf.d
2aefdf
%config(noreplace) %{_sysconfdir}/my.cnf
2aefdf
%endif
2aefdf
2aefdf
%if %{with common}
2aefdf
%files common
2aefdf
%license LICENSE
2aefdf
%doc README README.mysql-license README.mysql-docs
2aefdf
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
2aefdf
%dir %{_libdir}/mysql
2aefdf
%dir %{_datadir}/%{pkg_name}
2aefdf
%{_datadir}/%{pkg_name}/charsets
2aefdf
%endif
2aefdf
2aefdf
%if %{with errmsg}
2aefdf
%files errmsg
2aefdf
%{_datadir}/%{pkg_name}/messages_to_error_log.txt
2aefdf
%{_datadir}/%{pkg_name}/messages_to_clients.txt
2aefdf
%{_datadir}/%{pkg_name}/english
2aefdf
%lang(bg) %{_datadir}/%{pkg_name}/bulgarian
2aefdf
%lang(cs) %{_datadir}/%{pkg_name}/czech
2aefdf
%lang(da) %{_datadir}/%{pkg_name}/danish
2aefdf
%lang(nl) %{_datadir}/%{pkg_name}/dutch
2aefdf
%lang(et) %{_datadir}/%{pkg_name}/estonian
2aefdf
%lang(fr) %{_datadir}/%{pkg_name}/french
2aefdf
%lang(de) %{_datadir}/%{pkg_name}/german
2aefdf
%lang(el) %{_datadir}/%{pkg_name}/greek
2aefdf
%lang(hu) %{_datadir}/%{pkg_name}/hungarian
2aefdf
%lang(it) %{_datadir}/%{pkg_name}/italian
2aefdf
%lang(ja) %{_datadir}/%{pkg_name}/japanese
2aefdf
%lang(ko) %{_datadir}/%{pkg_name}/korean
2aefdf
%lang(no) %{_datadir}/%{pkg_name}/norwegian
2aefdf
%lang(no) %{_datadir}/%{pkg_name}/norwegian-ny
2aefdf
%lang(pl) %{_datadir}/%{pkg_name}/polish
2aefdf
%lang(pt) %{_datadir}/%{pkg_name}/portuguese
2aefdf
%lang(ro) %{_datadir}/%{pkg_name}/romanian
2aefdf
%lang(ru) %{_datadir}/%{pkg_name}/russian
2aefdf
%lang(sr) %{_datadir}/%{pkg_name}/serbian
2aefdf
%lang(sk) %{_datadir}/%{pkg_name}/slovak
2aefdf
%lang(es) %{_datadir}/%{pkg_name}/spanish
2aefdf
%lang(sv) %{_datadir}/%{pkg_name}/swedish
2aefdf
%lang(uk) %{_datadir}/%{pkg_name}/ukrainian
2aefdf
%endif
2aefdf
2aefdf
%files server
2aefdf
%{_bindir}/ibd2sdi
2aefdf
%{_bindir}/myisamchk
2aefdf
%{_bindir}/myisam_ftdump
2aefdf
%{_bindir}/myisamlog
2aefdf
%{_bindir}/myisampack
2aefdf
%{_bindir}/my_print_defaults
aa5ec1
%{_bindir}/mysql_migrate_keyring
2aefdf
%{_bindir}/mysql_secure_installation
2aefdf
%{_bindir}/mysql_ssl_rsa_setup
2aefdf
%{_bindir}/mysql_tzinfo_to_sql
2aefdf
%{_bindir}/mysql_upgrade
2aefdf
%{_sbindir}/mysqld
2aefdf
# sys_nice capability required for rhbz#1628814
2aefdf
%caps(cap_sys_nice=ep) %{_libexecdir}/mysqld
2aefdf
%if %{with init_systemd}
2aefdf
%{_bindir}/mysqld_pre_systemd
2aefdf
%else
2aefdf
%{_bindir}/mysqld_multi
2aefdf
%{_bindir}/mysqld_safe
2aefdf
%endif
2aefdf
%{_bindir}/mysqldumpslow
2aefdf
%{_bindir}/innochecksum
2aefdf
%{_bindir}/perror
2aefdf
2aefdf
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
2aefdf
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-default-authentication-plugin.cnf
2aefdf
2aefdf
%if %{with init_systemd} && 0%{?scl:1}
2aefdf
%{_libexecdir}/mysqld-scl-helper
2aefdf
%endif
2aefdf
2aefdf
%{_libdir}/mysql/INFO_SRC
2aefdf
%{_libdir}/mysql/INFO_BIN
2aefdf
%if %{without common}
2aefdf
%dir %{_datadir}/%{pkg_name}
2aefdf
%endif
2aefdf
2aefdf
%{_libdir}/mysql/plugin
2aefdf
2aefdf
%{_mandir}/man1/ibd2sdi.1*
2aefdf
%{_mandir}/man1/myisamchk.1*
2aefdf
%{_mandir}/man1/myisamlog.1*
2aefdf
%{_mandir}/man1/myisampack.1*
2aefdf
%{_mandir}/man1/myisam_ftdump.1*
2aefdf
%{_mandir}/man1/my_print_defaults.1*
2aefdf
%{_mandir}/man1/mysql_secure_installation.1*
2aefdf
%{_mandir}/man1/mysql_ssl_rsa_setup.1*
2aefdf
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
2aefdf
%{_mandir}/man1/mysql_upgrade.1*
2aefdf
%{_mandir}/man1/mysqldumpslow.1*
2aefdf
%if %{with init_systemd}
2aefdf
%else
2aefdf
%{_mandir}/man1/mysqld_multi.1*
2aefdf
%{_mandir}/man1/mysqld_safe.1*
2aefdf
%endif
2aefdf
%{_mandir}/man1/mysqlman.1*
2aefdf
%{_mandir}/man1/innochecksum.1*
2aefdf
%{_mandir}/man1/perror.1*
2aefdf
%{_mandir}/man1/lz4_decompress.1*
2aefdf
%{_mandir}/man8/mysqld.8*
2aefdf
2aefdf
%{_datadir}/%{pkg_name}/dictionary.txt
2aefdf
%{_datadir}/%{pkg_name}/*.sql
2aefdf
2aefdf
%{daemondir}/%{daemon_name}*
2aefdf
%{_libexecdir}/mysql-prepare-db-dir
2aefdf
%if %{with init_sysv}
2aefdf
%{_libexecdir}/mysql-wait-ready
2aefdf
%endif
2aefdf
%{_libexecdir}/mysql-wait-stop
2aefdf
%{_libexecdir}/mysql-check-socket
2aefdf
%{_libexecdir}/mysql-check-upgrade
2aefdf
%{_libexecdir}/mysql-scripts-common
2aefdf
2aefdf
%{?with_init_systemd:%{_tmpfilesdir}/%{daemon_name}.conf}
2aefdf
%attr(0755,mysql,mysql) %dir %{dbdatadir}
2aefdf
%{?scl:%attr(0755,mysql,mysql) %dir /var/lib/mysql}
2aefdf
%attr(0750,mysql,mysql) %dir %{_localstatedir}/lib/mysql-files
2aefdf
%attr(0700,mysql,mysql) %dir %{_localstatedir}/lib/mysql-keyring
2aefdf
%attr(0755,mysql,mysql) %dir %{pidfiledir}
2aefdf
%attr(0750,mysql,mysql) %dir %{logfiledir}
2aefdf
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
2aefdf
%config(noreplace) %{logrotateddir}/%{daemon_name}
2aefdf
2aefdf
%{?scl:%config(noreplace) %{?_scl_scripts}/service-environment}
2aefdf
2aefdf
%{selinux_packages_dir}/%{name}/%{pkg_name}-sysnice.pp
2aefdf
2aefdf
%if %{with devel}
2aefdf
%files devel
2aefdf
%{_bindir}/mysql_config*
2aefdf
%exclude %{_bindir}/mysql_config_editor
2aefdf
%{_includedir}/mysql
2aefdf
%{_datadir}/aclocal/mysql.m4
2aefdf
%if %{with clibrary}
2aefdf
%{_libdir}/mysql/libmysqlclient.so
2aefdf
%endif
2aefdf
%{_libdir}/pkgconfig/%{?scl_prefix}mysqlclient.pc
2aefdf
%{_mandir}/man1/mysql_config.1*
2aefdf
%endif
2aefdf
2aefdf
%if %{with test}
2aefdf
%files test
2aefdf
%{_bindir}/mysql_client_test
aa5ec1
%{_bindir}/mysql_keyring_encryption_test
2aefdf
%{_bindir}/mysqltest
2aefdf
%{_bindir}/mysqlxtest
2aefdf
%{_bindir}/mysqltest_safe_process
2aefdf
%{_bindir}/mysqld_safe
2aefdf
%{_bindir}/comp_err
aa5ec1
%{_bindir}/zlib_decompress
2aefdf
%attr(-,mysql,mysql) %{_datadir}/mysql-test
aa5ec1
%{_mandir}/man1/zlib_decompress.1*
2aefdf
%endif
2aefdf
2aefdf
%if 0%{?scl:1}
2aefdf
%scl_syspaths_files -n mysql
2aefdf
%scl_syspaths_files -n mysql-config
2aefdf
%scl_syspaths_files -n mysql-server
2aefdf
%endif
2aefdf
2aefdf
%changelog
9d1266
* Wed Jul 06 2022 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.30-1
9d1266
- Update to MySQL 8.0.30
9d1266
- Remove patches now upstream:
9d1266
  chain certs, s390 and robin hood
9d1266
- Add a new plugin 'conflicting_variables.so'
9d1266
9d1266
* Wed Apr 20 2022 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.29-1
9d1266
- Update to MySQL 8.0.29
9d1266
9d1266
* Wed Jan 19 2022 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.28-1
9d1266
- Update to MySQL 8.0.28
9d1266
9d1266
* Sun Oct 31 2021 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.27-1
9d1266
- Update to MySQL 8.0.27
9d1266
aa5ec1
* Wed Jul 21 2021 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.26-1
aa5ec1
- Update to MySQL 8.0.26
aa5ec1
aa5ec1
* Tue Jun 01 2021 Michal Schorm <mschorm@redhat.com> - 8.0.25-1
aa5ec1
- Update to MySQL 8.0.25
aa5ec1
aa5ec1
* Sun Apr 18 2021 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.24-1
aa5ec1
- Update to MySQL 8.0.24
aa5ec1
- Upstreamed patch: mysql-main-cast.patch
aa5ec1
aa5ec1
* Thu Feb 04 2021 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.23-1
aa5ec1
- Update to MySQL 8.0.23
aa5ec1
- Created mysql-fix-includes-robin-hood.patch
aa5ec1
- Created mysql-main-cast.patch
aa5ec1
aa5ec1
* Mon Oct 26 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.22-1
aa5ec1
- Update to MySQL 8.0.22
aa5ec1
- mysql-certs-expired.patch patched by upstream
aa5ec1
- New zlib_decompress binary file in test package
aa5ec1
2aefdf
* Wed Jul 22 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.21-1
2aefdf
- Rebase to 8.0.21
2aefdf
- Use bundled libzstd and libevent for RHSCL and RHEL-8.0.0
2aefdf
- Check that we have correct versions in bundled(*) Provides
2aefdf
- Remove re2 bundled dependency
2aefdf
2aefdf
* Wed Jul 22 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.20-1
2aefdf
- Rebase to 8.0.20
2aefdf
2aefdf
* Wed Jul 22 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.19-2
2aefdf
- Specify all perl dependencies
2aefdf
2aefdf
* Tue Jul 21 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.19-1
2aefdf
- Rebase to 8.0.19
2aefdf
2aefdf
* Tue Jul 21 2020 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.18-1
2aefdf
- Rebase to 8.0.18
2aefdf
- Add libzstd-devel dependencies
2aefdf
- Include patch to build against protobuf 3.11
2aefdf
2aefdf
* Fri Aug 02 2019 Matej Mužila <mmuzila@redhat.com> - 8.0.17-3
2aefdf
- Use RELRO hardening on all binaries
2aefdf
- Resolves: #1734420
2aefdf
2aefdf
* Tue Jul 30 2019 Matej Mužila <mmuzila@redhat.com> - 8.0.17-2
2aefdf
- Use RELRO hardening on all binaries
2aefdf
- Resolves: #1734420
2aefdf
2aefdf
* Thu Jul 25 2019 Matej Mužila <mmuzila@redhat.com> - 8.0.17-1
2aefdf
- Rebase to 8.0.17
2aefdf
- Resolves: #1732043
2aefdf
- CVEs fixed:
2aefdf
  CVE-2019-2737 CVE-2019-2738 CVE-2019-2739 CVE-2019-2740 CVE-2019-2741
2aefdf
  CVE-2019-2743 CVE-2019-2746 CVE-2019-2747 CVE-2019-2752 CVE-2019-2755
2aefdf
  CVE-2019-2757 CVE-2019-2758 CVE-2019-2774 CVE-2019-2778 CVE-2019-2780
2aefdf
  CVE-2019-2784 CVE-2019-2785 CVE-2019-2789 CVE-2019-2791 CVE-2019-2795
2aefdf
  CVE-2019-2796 CVE-2019-2797 CVE-2019-2798 CVE-2019-2800 CVE-2019-2801
2aefdf
  CVE-2019-2802 CVE-2019-2803 CVE-2019-2805 CVE-2019-2808 CVE-2019-2810
2aefdf
  CVE-2019-2811 CVE-2019-2812 CVE-2019-2814 CVE-2019-2815 CVE-2019-2819
2aefdf
  CVE-2019-2822 CVE-2019-2826 CVE-2019-2830 CVE-2019-2834 CVE-2019-2879
2aefdf
2aefdf
* Wed Dec 12 2018 Michal Schorm <mschorm@redhat.com> - 8.0.13-1
2aefdf
- Rebase to 8.0.13
2aefdf
- ICU patch removed; upstreamed
2aefdf
- Patch for MySQL Router introduced. Do not build it.
2aefdf
- Fixes for annocheck hardening
2aefdf
  Resolves: #1624148
2aefdf
- CVEs fixed:
2aefdf
  CVE-2018-3276 CVE-2018-3200 CVE-2018-3137 CVE-2018-3284 CVE-2018-3195
2aefdf
  CVE-2018-3173 CVE-2018-3212 CVE-2018-3279 CVE-2018-3162 CVE-2018-3247
2aefdf
  CVE-2018-3156 CVE-2018-3161 CVE-2018-3278 CVE-2018-3174 CVE-2018-3282
2aefdf
  CVE-2018-3285 CVE-2018-3187 CVE-2018-3277 CVE-2018-3144 CVE-2018-3145
2aefdf
  CVE-2018-3170 CVE-2018-3186 CVE-2018-3182 CVE-2018-3133 CVE-2018-3143
2aefdf
  CVE-2018-3283 CVE-2018-3171 CVE-2018-3251 CVE-2018-3286 CVE-2018-3185
2aefdf
  CVE-2018-3280 CVE-2018-3203 CVE-2018-3155
2aefdf
2aefdf
2aefdf
* Wed Sep 26 2018 Michal Schorm <mschorm@redhat.com> - 8.0.12-6
2aefdf
- Fix the default configuration of the server, so it uses same authentication
2aefdf
  method as MySQL 5.7
2aefdf
  Resolves: #1631400
2aefdf
2aefdf
* Fri Sep 14 2018 Honza Horak <hhorak@redhat.com> - 8.0.12-5
2aefdf
- Remove module on uninstall of the server and enable capability setting
2aefdf
2aefdf
* Fri Sep 14 2018 Jakub Janco <jjanco@redhat.com> - 8.0.12-4
2aefdf
- Allow sys_nice in selinux
2aefdf
2aefdf
* Fri Sep 14 2018 Michal Schorm <mschorm@redhat.com> - 8.0.12-3
2aefdf
- Add bundled ICU version
2aefdf
- Add a patch for the 'mysql_com.h' header file
2aefdf
- Use system mecab tool
2aefdf
- Use RPATH for mysqld, so we can later set capabilities
2aefdf
2aefdf
* Thu Sep 13 2018 Honza Horak <hhorak@redhat.com> - 8.0.12-2
2aefdf
- Disable capabilities for mysqld because of SELinux issues
2aefdf
2aefdf
* Thu Sep 13 2018 Michal Schorm <mschorm@redhat.com> - 8.0.12-1
2aefdf
- Rebase to MySQL 8.0.12
2aefdf
- Fix the SYS_NICE capabilities
2aefdf
- Add requires for the semanage binary
2aefdf
- CVEs fixed: CVE-2018-3054 CVE-2018-3056 CVE-2018-3060 CVE-2018-3062
2aefdf
  CVE-2018-3064 CVE-2018-3065 CVE-2018-3077 CVE-2018-3081 CVE-2018-3067
2aefdf
  CVE-2018-3073 CVE-2018-3074 CVE-2018-3075 CVE-2018-3078 CVE-2018-3079
2aefdf
  CVE-2018-3080 CVE-2018-3082 CVE-2018-3084
2aefdf
2aefdf
* Thu Sep 13 2018 Jakub Janco <jjanco@redhat.com> - 8.0.11-9
2aefdf
- Use same logfile path in logrotate and mysql configs
2aefdf
2aefdf
* Thu Sep 13 2018 Jakub Janco <jjanco@redhat.com> - 8.0.11-8
2aefdf
- Prefix logrotate configuration in SCL
2aefdf
2aefdf
* Wed Sep 12 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-7
2aefdf
- Add syspath subpackages
2aefdf
2aefdf
* Wed Jul 18 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-6
2aefdf
- Use prefixes for dependencies
2aefdf
2aefdf
* Tue Jul 17 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-5
2aefdf
- Move log file to a directory owned by mysql user
2aefdf
  Resolves: #1590369
2aefdf
- Use explicitly openssl-devel as dependency for -devel sub-package
2aefdf
2aefdf
* Thu Jul 12 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-4
2aefdf
- Move mysqld back to /usr/libexec, and create a symlink in /usr/sbin
2aefdf
2aefdf
* Fri Jun 22 2018 Honza Horak <hhorak@redhat.com> - 8.0.11-3
2aefdf
- SCLizing the spec file
2aefdf
2aefdf
* Mon May 14 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 8.0.11-2
2aefdf
- MySQL 8.0 has notify support
2aefdf
- SQL restart command needs MYSQLD_PARENT_PID=1
2aefdf
- Increase LimitNOFILE
2aefdf
- Disable symbolic links is default (and option deprecated)
2aefdf
- Move mysqld to /usr/bin, with mysqld_safe gone there no reason
2aefdf
  to have mysqld in libexec
2aefdf
- FIPS mode is now supported:
2aefdf
   https://dev.mysql.com/doc/refman/8.0/en/fips-mode.html
2aefdf
- Remove legacy embedded refs from cnf files
2aefdf
- Clean up patches: re-numbering and removing
2aefdf
- Recommend to use systemctl edit to modify service files
2aefdf
2aefdf
* Fri Apr 20 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 8.0.11-1
2aefdf
- Update to MySQL 8.0.11 (GA).
2aefdf
2aefdf
* Thu Apr 19 2018 Michal Schorm <mschorm@redhat.com> - 5.7.22-1
2aefdf
- Rebase to 5.7.22 version
2aefdf
- CVE fixes: #1568963
2aefdf
            CVE-2018-2755 CVE-2018-2758 CVE-2018-2759 CVE-2018-2761 CVE-2018-2762
2aefdf
            CVE-2018-2766 CVE-2018-2769 CVE-2018-2771 CVE-2018-2773 CVE-2018-2775
2aefdf
            CVE-2018-2776 CVE-2018-2777 CVE-2018-2778 CVE-2018-2779 CVE-2018-2780
2aefdf
            CVE-2018-2781 CVE-2018-2782 CVE-2018-2784 CVE-2018-2786 CVE-2018-2787
2aefdf
            CVE-2018-2810 CVE-2018-2812 CVE-2018-2813 CVE-2018-2816 CVE-2018-2817
2aefdf
            CVE-2018-2818 CVE-2018-2819 CVE-2018-2839 CVE-2018-2846
2aefdf
2aefdf
* Tue Feb 27 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-6
2aefdf
- Rebuilt after Rawhide & f28 & f27 & f26 merge
2aefdf
2aefdf
* Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-5
2aefdf
- Rebuilt for ldconfig_post and ldconfig_postun bug
2aefdf
  Related: #1548331
2aefdf
2aefdf
* Mon Feb 19 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-3
2aefdf
- Move my_print_defaults binary to the server package to resolve conflict with mariadb
2aefdf
2aefdf
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.21-2
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2aefdf
- Removed 'static' library subpackage
2aefdf
2aefdf
* Sun Jan 21 2018 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.21-1
2aefdf
- Update to MySQL 5.7.21, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-21.html
2aefdf
- Add rpcgen to buildrep
2aefdf
- Add support for libtirpc
2aefdf
- Fix for various CVEs listed on
2aefdf
  http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
2aefdf
- Add fix for libxcrypt - do not assume "crypt()" function is provided by glibc
2aefdf
  Resolves: #1536881
2aefdf
- Fix obsoletes using isa macro, remove the line entirely
2aefdf
  Resolves: #1537210
2aefdf
2aefdf
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 5.7.20-5
2aefdf
- Rebuilt for switch to libxcrypt
2aefdf
2aefdf
* Tue Jan 02 2018 Michal Schorm <mschorm@redhat.com> - 5.7.20-4
2aefdf
- Provide subackage with a client static library
2aefdf
  Needed by mysql-connector-odbc package
2aefdf
- Remove Group tag as it shouldn't be used anymore
2aefdf
2aefdf
* Sat Dec 09 2017 Honza Horak <hhorak@redhat.com> - 5.7.20-3
2aefdf
- Port for OpenSSL 1.1
2aefdf
  Fix tests that expect some particular ciphers
2aefdf
2aefdf
* Tue Nov 28 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-2
2aefdf
- In F>27 stick to upstream library version naming
2aefdf
2aefdf
* Wed Oct 25 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-1
2aefdf
- Fix owner and perms on log file in post script
2aefdf
  Related: #1497694
2aefdf
2aefdf
* Mon Oct 16 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.20-1
2aefdf
- Update to MySQL 5.7.20, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-20.html
2aefdf
- Move all test binaries to -test package
2aefdf
- Dont ship unneeded man pages on systemd platforms
2aefdf
- Remove mysql_config_editor from -devel package, shipped in client
2aefdf
- CVE fixes: #1503701
2aefdf
            CVE-2017-10155 CVE-2017-10227 CVE-2017-10268 CVE-2017-10276 CVE-2017-10279
2aefdf
            CVE-2017-10283 CVE-2017-10286 CVE-2017-10294 CVE-2017-10314 CVE-2017-10378
2aefdf
            CVE-2017-10379 CVE-2017-10384
2aefdf
2aefdf
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 5.7.19-6
2aefdf
- Add bundled(boost) virtual provide
2aefdf
- Support --defaults-group-suffix option in systemd unit file
2aefdf
  Related: #1400702
2aefdf
2aefdf
* Fri Aug 04 2017 Honza Horak <hhorak@redhat.com> - 5.7.19-5
2aefdf
- Allow to use MD5 in FIPS mode
2aefdf
  Related: #1449689
2aefdf
- Remove snippets from mysql-preparep-db-dir.sh that could have security impact
2aefdf
  Do not run parts of SysV init script as root if possible
2aefdf
  Related: CVE-2017-3312
2aefdf
- Include mysqld@.service file and do not run start scripts in the unit file as root
2aefdf
2aefdf
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.19-4
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2aefdf
2aefdf
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.19-3
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2aefdf
2aefdf
* Tue Jul 25 2017 Michal Schorm <mschorm@redhat.com> - 5.7.19-2
2aefdf
- Replication tests in the testsuite enabled, they don't fail anymore
2aefdf
- Retry count in the testsuite dropped to 0
2aefdf
2aefdf
* Wed Jul 12 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.19-1
2aefdf
- Update to MySQL 5.7.19, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html
2aefdf
- Use new --report-unstable-tests to handle unstable tests
2aefdf
- Prefer /run over /var/run (#1462688)
2aefdf
- Resolves: #1462688; /run
2aefdf
            #1406172; random failures of the testsuite
2aefdf
            #1417880, #1417883, #1417885, #1417887,  #1417890, #1417891, #1417893,
2aefdf
            #1417894, #1417896; replication tests
2aefdf
- CVE fixes: #1472716
2aefdf
            CVE-2017-3633, CVE-2017-3634, CVE-2017-3635, CVE-2017-3641, CVE-2017-3647
2aefdf
            CVE-2017-3648, CVE-2017-3649, CVE-2017-3651, CVE-2017-3652, CVE-2017-3653
2aefdf
2aefdf
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 5.7.18-4
2aefdf
- Rebuild due to bug in RPM (RHBZ #1468476)
2aefdf
2aefdf
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7.18-3
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
2aefdf
2aefdf
* Wed Apr 19 2017 Michal Schorm <mschorm@redhat.com> - 5.7.18-2
2aefdf
- 'force' option for 'rm' removed in specfile
2aefdf
- CVEs fixed by previous commit, #1443407:
2aefdf
  CVE-2017-3308 CVE-2017-3309 CVE-2017-3329 CVE-2017-3450
2aefdf
  CVE-2017-3453 CVE-2017-3456 CVE-2017-3461 CVE-2017-3462
2aefdf
  CVE-2017-3463 CVE-2017-3464 CVE-2017-3599 CVE-2017-3600
2aefdf
2aefdf
* Mon Apr 03 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.18-1
2aefdf
- Update to MySQL 5.7.18, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html
2aefdf
- Remove patch for test fix now upstream
2aefdf
- Sample my-*.cnf is gone
2aefdf
2aefdf
* Wed Feb 15 2017 Michal Schorm <mschorm@redhat.com> - 5.7.17-4
2aefdf
- Fix of broken cross mysql-mariadb dependecies
2aefdf
- Fix of community-mysql server-client dependecy
2aefdf
- Testsuite retry count lifted to 3 tries
2aefdf
2aefdf
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.17-3
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2aefdf
2aefdf
* Wed Jan 04 2017 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.17-2
2aefdf
- Fix test that used a hardcoded date (2017-01-01)
2aefdf
2aefdf
* Mon Dec 12 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.17-1
2aefdf
- Update to MySQL 5.7.17, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html
2aefdf
- Add new plugin: connnection_control.so
2aefdf
- Add MySQL Group Replication: group_replication.so
2aefdf
- Add numactl-devel to buildreq and enable NUMA support (if available)
2aefdf
- Simplify boost path
2aefdf
- Build compat-openssl10 in rawhide for now
2aefdf
- Reqs. in -devel packages was incomplete
2aefdf
2aefdf
* Tue Oct 18 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.16-1
2aefdf
- Update to MySQL 5.7.16, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-16.html
2aefdf
2aefdf
* Tue Sep 06 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.15-1
2aefdf
- Update to MySQL 5.7.15, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
2aefdf
- Remove patches now upstream (buf_block_align,  lz4)
2aefdf
- perl(JSON) needed for tests
2aefdf
- Adjust list of problematic tests
2aefdf
2aefdf
* Wed Aug 10 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.14-2
2aefdf
- Skip rpl tests, unstable in Fedora build environment
2aefdf
2aefdf
* Tue Aug 09 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.14-1
2aefdf
- Update to MySQL 5.7.14, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-14.html
2aefdf
- Remove patches for bugs fixed upstream
2aefdf
- Fix for bug #79378 (buf_block_align)
2aefdf
- Fix for bug #82426 (build failure with system liblz4)
2aefdf
- Further reduce list of tests known to fail on certain platforms
2aefdf
- Set check_testsuite to 0 to make sure the build fails if any tests fail
2aefdf
2aefdf
* Wed Jul 13 2016 Norvald H. Ryeng <norvald.ryeng@oracle.com> - 5.7.13-1
2aefdf
- Update to MySQL 5.7.13, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-13.html
2aefdf
2aefdf
* Mon Jun 27 2016 Pavel Raiskup <praiskup@redhat.com> - 5.7.12-2
2aefdf
- BR multilib-rpm-config and use it for multilib workarounds
2aefdf
2aefdf
* Tue May 24 2016 Jakub Dorňák <jdornak@redhat.com> - 5.7.12-1
2aefdf
- Update to 5.7.12
2aefdf
  Thanks to Norvald H. Ryeng
2aefdf
2aefdf
* Sun Feb 14 2016 Honza Horak <hhorak@redhat.com> - 5.7.11-2
2aefdf
- Remove duplicate tmpfiles.d file
2aefdf
  Resolves: #1288216
2aefdf
2aefdf
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 5.7.11-1
2aefdf
- Update to 5.7.11
2aefdf
  Thanks to Norvald H. Ryeng
2aefdf
  Removing tar ball with boost and using mysql tar ball with boost bundled
2aefdf
2aefdf
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.10-3
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2aefdf
2aefdf
* Wed Jan 27 2016 Honza Horak <hhorak@redhat.com> - 5.7.10-2
2aefdf
- Use mysqld instead of mysqld_safe (mysqld_safe not necessary for 5.7)
2aefdf
  Use mysqld --initialize-insecure instead of mysql_install_db
2aefdf
  Create /var/lib/mysql-files (used by secure-file-priv)
2aefdf
    http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv
2aefdf
  Remove unnecessary Perl dependencies (mysqlhotcopy was removed in 5.7)
2aefdf
  Thanks Norvald H. Ryeng
2aefdf
2aefdf
* Wed Dec 16 2015 Jakub Dorňák <jdornak@redhat.com> - 5.7.10-1
2aefdf
- Update to 5.7.10
2aefdf
2aefdf
* Fri Oct  2 2015 Jakub Dorňák <jdornak@redhat.com> - 5.7.9-1
2aefdf
- Update to 5.7.9
2aefdf
2aefdf
* Thu Oct  1 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.27-1
2aefdf
- Update to 5.6.27
2aefdf
2aefdf
* Thu Jul 30 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.26-1
2aefdf
- Update to 5.6.26
2aefdf
2aefdf
* Tue Jul 21 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.25-1
2aefdf
- Update to 5.6.25
2aefdf
2aefdf
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.24-4
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2aefdf
2aefdf
* Thu Apr 23 2015 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.24-3
2aefdf
- gcc5 makes gcc49-aarch64 patch obsolete (and wrong)
2aefdf
2aefdf
* Fri Apr 10 2015 Honza Horak <hhorak@redhat.com> - 5.6.24-2
2aefdf
- Fix for big integers on gcc5
2aefdf
2aefdf
* Thu Apr 09 2015 Honza Horak <hhorak@redhat.com> - 5.6.24-1
2aefdf
- Update to 5.6.24
2aefdf
2aefdf
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-4
2aefdf
- Do not use scl prefix more than once in paths
2aefdf
  Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
2aefdf
- Check permissions when starting service on RHEL-6
2aefdf
  Resolves: #1194699
2aefdf
- Wait for daemon ends
2aefdf
  Related: #1072958
2aefdf
2aefdf
* Mon Feb 23 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-3
2aefdf
- Expand paths in perl scripts in mysql-test
2aefdf
- Use correct path in install_db script warning
2aefdf
- Use --no-defaults when checking server status before starting
2aefdf
2aefdf
* Thu Jan 29 2015 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.23-1
2aefdf
- Update to MySQL 5.6.23, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-23.html
2aefdf
- Expired certs patch now obsolete
2aefdf
- Fixed changelog
2aefdf
- Refreshed file contents patch
2aefdf
- Man pages fixed upstream
2aefdf
- Fix typo in server.cnf.in
2aefdf
2aefdf
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-6
2aefdf
- Do not own /var/log
2aefdf
2aefdf
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-5
2aefdf
- Use correct dir for config files
2aefdf
2aefdf
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-4
2aefdf
- Move server settings to renamed config file under my.cnf.d dir
2aefdf
2aefdf
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-3
2aefdf
- Fix path for sysconfig file
2aefdf
  Filter provides in el6 properly
2aefdf
  Fix initscript file location
2aefdf
2aefdf
* Mon Jan 12 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-2
2aefdf
- Add configuration file for server
2aefdf
2aefdf
* Wed Dec  3 2014 Jakub Dorňák <jdornak@redhat.com> - 5.6.22-1
2aefdf
- Update to MySQL 5.6.22
2aefdf
2aefdf
* Wed Oct 08 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.21-5
2aefdf
- Fix rhbz #1149986
2aefdf
2aefdf
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 5.6.21-4
2aefdf
- Add bcond_without mysql_names
2aefdf
2aefdf
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 5.6.21-3
2aefdf
- Check upgrade script added to warn about need for mysql_upgrade
2aefdf
- Move mysql_plugin into base and errmsg-utf8.txt into -errmsg to correspond
2aefdf
  with MariaDB upstream packages
2aefdf
- Add with_debug option
2aefdf
2aefdf
* Thu Sep 25 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.21-2
2aefdf
- Using %%cmake macro break some tests, reverted
2aefdf
- Unwanted dtrace dep fixed upstream
2aefdf
2aefdf
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-1
2aefdf
- Update to MySQL 5.6.21, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-21.html
2aefdf
2aefdf
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-5
2aefdf
- Fix paths in mysql_install_db script
2aefdf
  Related: #1134328
2aefdf
- Use %%cmake macro
2aefdf
- Install systemd service file on RHEL-7+
2aefdf
  Server requires any mysql package, so it should be fine with older client
2aefdf
2aefdf
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.20-4
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2aefdf
2aefdf
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-3
2aefdf
- Introduce -config subpackage and ship base config files here
2aefdf
2aefdf
* Tue Aug 05 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-2
2aefdf
- Adopt changes from mariadb to sync spec files
2aefdf
2aefdf
* Thu Jul 31 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.20-1
2aefdf
- Update to MySQL 5.6.20, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html
2aefdf
- Rebase install and pluginerrmsg patch
2aefdf
- Drop dos2unix from buildreq, files fixed upstream
2aefdf
- No need to add -O3, it's default
2aefdf
- LDFLAGS is passed by cmake option, not from environment
2aefdf
- Using __requires_exclude in conditional don't seems to work, swap
2aefdf
  to dist macros
2aefdf
- Avoid unwanted dtrace dep
2aefdf
- Fix mysql.init and mysql-prepare-db-dir
2aefdf
- Logfile name must match value from /etc/my.cnf (and be known
2aefdf
  by SELinux policy)
2aefdf
2aefdf
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-5
2aefdf
- Hardcoded paths removed to work fine in chroot
2aefdf
- Spec rewrite to be more similar to oterh MySQL implementations
2aefdf
- Include SysV init script if built on older system
2aefdf
- Add possibility to not ship some sub-packages
2aefdf
- Port scripts for systemd unit from MariaDB
2aefdf
2aefdf
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-4
2aefdf
- Port some latest changes from MariaDB package to sync those packages
2aefdf
- Error messages now provided by a separate package (thanks Alexander Barkov)
2aefdf
2aefdf
* Fri Jun 27 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-3
2aefdf
- Add mysql-compat-server symbol, common symbol for arbitrary MySQL
2aefdf
  implementation
2aefdf
- Require /etc/my.cnf instead of shipping it
2aefdf
- Server requires any compatible mysql-compat-client package
2aefdf
2aefdf
* Thu Jun 12 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.19-2
2aefdf
- Fix build on aarch64
2aefdf
- Rebase cipherspec patch
2aefdf
2aefdf
* Wed Jun 11 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.19-1
2aefdf
- Update to MySQL 5.6.19, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-19.html
2aefdf
- outfile_loaddata resolved on all archs
2aefdf
- Solaris files not installed, no need to remove
2aefdf
- Simplify multilib install
2aefdf
- Use install's -D option some places
2aefdf
- Add explicit conflict with mariadb-galera-server
2aefdf
2aefdf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.17-3
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2aefdf
2aefdf
* Fri Apr 18 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.17-2
2aefdf
- Fix multiple mtr sessions
2aefdf
2aefdf
* Fri Apr 04 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.17-1
2aefdf
- Update to MySQL 5.6.17, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-17.html
2aefdf
- libmysqld built as shared lib now supported upstream
2aefdf
- Remove patches now upstream: truncate-file, rhbz1059545, ssltest
2aefdf
  and regex-werror
2aefdf
- Use more standard (and tested) build flags, while still respect
2aefdf
  optflags and hardened_build
2aefdf
- libmysqlclient_r* symlinks are fixed upstream
2aefdf
- Remove sysv to systemd logic
2aefdf
- Rework skipping of arch specific tests
2aefdf
- Multiple mtr sessions are supported by default
2aefdf
2aefdf
* Mon Feb  3 2014 Honza Horak <hhorak@redhat.com> 5.6.16-2
2aefdf
- Rebuild -man-pages.patch to apply smoothly
2aefdf
2aefdf
* Fri Jan 31 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.16-1
2aefdf
- Update to MySQL 5.6.16, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-16.html
2aefdf
- Patches now upstream: tmpdir, cve-2013-1861, covscan-signexpr,
2aefdf
  covscan-stroverflow
2aefdf
- Fixed upstream: innodbwarn
2aefdf
- ldconfig needed in embedded subpackage
2aefdf
- Remove unused generate-tarball.sh from tree
2aefdf
- Rediff mysql-install patch
2aefdf
- Make symvers 18 default, provide symvers 16 for backward compat
2aefdf
  (bz #1045013)
2aefdf
- Man page patch disabled due too many conflicts
2aefdf
- Memcached build patched to not remove -Werror=<something> in CFLAGS
2aefdf
2aefdf
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 5.6.15-4
2aefdf
  Fix for CVE-2014-0001
2aefdf
  Resolves: #1059545
2aefdf
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
2aefdf
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
2aefdf
  Related: #1044565
2aefdf
2aefdf
* Fri Jan 24 2014 Honza Horak <hhorak@redhat.com> 5.6.15-3
2aefdf
- Disable tests for ppc(64) and s390(x):
2aefdf
  innodb.innodb_ctype_ldml main.ctype_ldml main.ps_ddl main.ps_ddl1
2aefdf
  Related: #1056972
2aefdf
2aefdf
* Mon Dec 16 2013 Honza Horak <hhorak@redhat.com> 5.6.15-2
2aefdf
- Some spec file clean-up based on Bjorn Munch's suggestions
2aefdf
- Enable InnoDB Memcached plugin
2aefdf
2aefdf
* Mon Dec  9 2013 Honza Horak <hhorak@redhat.com> 5.6.15-1
2aefdf
- Update to MySQL 5.6.15, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-15.html
2aefdf
2aefdf
* Fri Oct 11 2013 Honza Horak <hhorak@redhat.com> 5.6.14-2
2aefdf
- Fix my.cnf to not conflict with mariadb
2aefdf
  Resolves: #1003115
2aefdf
2aefdf
* Wed Oct  9 2013 Honza Horak <hhorak@redhat.com> 5.6.14-1
2aefdf
- Update to MySQL 5.6.14, for various fixes described at
2aefdf
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-14.html
2aefdf
- Incorporate changes done by Bjorn Munch <bjorn.munch@oracle.com>
2aefdf
2aefdf
* Mon Sep  2 2013 Honza Horak <hhorak@redhat.com> 5.5.33-2
2aefdf
- Enhanced my.cnf to be the same as in mariadb
2aefdf
  Resolves: #1003115
2aefdf
2aefdf
* Tue Aug 20 2013 Honza Horak <hhorak@redhat.com> 5.5.33-1
2aefdf
- Update to MySQL 5.5.33, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-33.html
2aefdf
2aefdf
* Tue Aug 20 2013 Honza Horak <hhorak@redhat.com> 5.5.32-12
2aefdf
- Fix multilib header location for arm
2aefdf
2aefdf
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 5.5.32-11
2aefdf
- Perl 5.18 rebuild
2aefdf
2aefdf
* Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> 5.5.32-10
2aefdf
- Copy some generated files in order find-debuginfo.sh finds them
2aefdf
  Related: #729040
2aefdf
- Fix systemd and perl requirements
2aefdf
2aefdf
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.5.32-9
2aefdf
- Perl 5.18 rebuild
2aefdf
2aefdf
* Mon Jul 15 2013 Honza Horak <hhorak@redhat.com> 5.5.32-8
2aefdf
- Revert path change to ldconfig, UsrMove is not complete yet
2aefdf
2aefdf
* Wed Jul 10 2013 Honza Horak <hhorak@redhat.com> 5.5.32-7
2aefdf
- Arm support for multilib hacks
2aefdf
2aefdf
* Tue Jul  9 2013 Honza Horak <hhorak@redhat.com> 5.5.32-6
2aefdf
- Use proper path to ldconfig
2aefdf
- Use xz instead of gzip
2aefdf
  Resolves: #982387
2aefdf
2aefdf
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 5.5.32-5
2aefdf
- Fix misleading error message when uninstalling built-in plugins
2aefdf
  Related: #966645
2aefdf
2aefdf
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 5.5.32-4
2aefdf
- Remove external man pages, upstream fixed man pages license
2aefdf
- Apply fixes found by Coverity static analysis tool
2aefdf
2aefdf
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 5.5.32-3
2aefdf
- Use man pages from 5.5.30, because their license do not
2aefdf
  allow us to ship them since 5.5.31
2aefdf
2aefdf
* Fri Jun  7 2013 Honza Horak <hhorak@redhat.com> 5.5.32-1
2aefdf
- Update to MySQL 5.5.32, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-32.html
2aefdf
2aefdf
* Mon Jun  3 2013 Honza Horak <hhorak@redhat.com> 5.5.31-7
2aefdf
- Use /var/tmp as default tmpdir to prevent potential issues
2aefdf
  Resolves: #905635
2aefdf
- Fix test suite requirements
2aefdf
- Fix for CVE-2013-1861 backported from MariaDB
2aefdf
  Resolves: #921836
2aefdf
2aefdf
* Wed May 29 2013 Jan Stanek <jstanek@redhat.com> 5.5.31-6
2aefdf
- Added missing command-line options to man-pages (#948930)
2aefdf
2aefdf
* Tue Apr 30 2013 Honza Horak <hhorak@redhat.com> 5.5.31-5
2aefdf
- Remove mysql provides from devel sub-packages to not build against
2aefdf
  community-mysql if mysql-devel is specified
2aefdf
2aefdf
* Fri Apr 26 2013 Honza Horak <hhorak@redhat.com> 5.5.31-4
2aefdf
- Fix building with relro and PIE
2aefdf
2aefdf
* Thu Apr 25 2013 Honza Horak <hhorak@redhat.com> 5.5.31-3
2aefdf
- Fix paths in -plugin-test patch
2aefdf
2aefdf
* Mon Apr 22 2013 Honza Horak <hhorak@redhat.com> 5.5.31-2
2aefdf
- Build with _hardened_build
2aefdf
- Fix some paths and require perl(Env), which is needed by tests
2aefdf
2aefdf
* Fri Apr 19 2013 Honza Horak <hhorak@redhat.com> 5.5.31-1
2aefdf
- Update to MySQL 5.5.31, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-31.html
2aefdf
2aefdf
* Wed Mar 20 2013 Honza Horak <hhorak@redhat.com> 5.5.30-5
2aefdf
- Renaming package MySQL to community-mysql to handle issues
2aefdf
  introduced by case-insensitive operations of yum and for proper
2aefdf
  prioritizing mariadb over community-mysql
2aefdf
2aefdf
* Tue Mar 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-4
2aefdf
- Allow server to be installed without client side
2aefdf
- Separate -lib and -common sub-packages
2aefdf
- Fix some path issues in tests
2aefdf
2aefdf
* Mon Mar 11 2013 Honza Horak <hhorak@redhat.com> 5.5.30-3
2aefdf
- Adjusting major soname number of libmysqlclient to avoid
2aefdf
  library name conflicts with mariadb
2aefdf
2aefdf
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-1
2aefdf
- Update to MySQL 5.5.30, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-30.html
2aefdf
2aefdf
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
2aefdf
- Use real- prefix for cross-package requirements
2aefdf
2aefdf
* Mon Feb 11 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
2aefdf
- Provide own symbols with real- prefix to distinguish packages from other
2aefdf
  MySQL implementations unambiguously
2aefdf
2aefdf
* Wed Jan  2 2013 Tom Lane <tgl@redhat.com> 5.5.29-1
2aefdf
- Update to MySQL 5.5.29, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-29.html
2aefdf
- Fix inaccurate default for socket location in mysqld-wait-ready
2aefdf
Resolves: #890535
2aefdf
2aefdf
* Thu Dec  6 2012 Honza Horak <hhorak@redhat.com> 5.5.28-3
2aefdf
- Rebase patches to not leave backup files when not applied smoothly
2aefdf
- Use --no-backup-if-mismatch to prevent including backup files
2aefdf
2aefdf
* Wed Dec  5 2012 Tom Lane <tgl@redhat.com> 5.5.28-2
2aefdf
- Add patch for CVE-2012-5611
2aefdf
Resolves: #883642
2aefdf
- Widen DH key length from 512 to 1024 bits to meet minimum requirements
2aefdf
  of FIPS 140-2
2aefdf
Related: #877124
2aefdf
2aefdf
* Sat Sep 29 2012 Tom Lane <tgl@redhat.com> 5.5.28-1
2aefdf
- Update to MySQL 5.5.28, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html
2aefdf
- Clean up partially-created database files when mysql_install_db fails
2aefdf
Related: #835131
2aefdf
- Honor user and group settings from service file in mysqld-prepare-db-dir
2aefdf
Resolves: #840431
2aefdf
- Export THR_KEY_mysys as a workaround for inadequate threading support
2aefdf
Resolves: #846602
2aefdf
- Adopt new systemd macros for server package install/uninstall triggers
2aefdf
Resolves: #850222
2aefdf
- Use --no-defaults when invoking mysqladmin to wait for the server to start
2aefdf
Related: #855704
2aefdf
2aefdf
* Sun Aug  5 2012 Tom Lane <tgl@redhat.com> 5.5.27-1
2aefdf
- Update to MySQL 5.5.27, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-27.html
2aefdf
2aefdf
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.25a-2
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2aefdf
2aefdf
* Fri Jul  6 2012 Tom Lane <tgl@redhat.com> 5.5.25a-1
2aefdf
- Update to MySQL 5.5.25a, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25a.html
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25.html
2aefdf
- Don't use systemd's Restart feature; rely on mysqld_safe instead
2aefdf
Resolves: #832029
2aefdf
2aefdf
* Mon Jun 11 2012 Tom Lane <tgl@redhat.com> 5.5.24-1
2aefdf
- Update to MySQL 5.5.24, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html
2aefdf
  including the fix for CVE-2012-2122
2aefdf
Resolves: #830680
2aefdf
- Tweak logrotate script to put the right permissions on mysqld.log
2aefdf
- Minor specfile fixes for recent packaging guidelines changes
2aefdf
2aefdf
* Sat Apr 28 2012 Tom Lane <tgl@redhat.com> 5.5.23-1
2aefdf
- Update to MySQL 5.5.23, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-23.html
2aefdf
2aefdf
* Sat Mar 24 2012 Tom Lane <tgl@redhat.com> 5.5.22-1
2aefdf
- Update to MySQL 5.5.22, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-22.html
2aefdf
- Turn on PrivateTmp in service file
2aefdf
Resolves: #782513
2aefdf
- Comment out the contents of /etc/logrotate.d/mysqld, so that manual
2aefdf
  action is needed to enable log rotation.  Given the multiple ways in
2aefdf
  which the rotation script can fail, it seems imprudent to try to make
2aefdf
  it run by default.
2aefdf
Resolves: #799735
2aefdf
2aefdf
* Tue Mar 20 2012 Honza Horak <hhorak@redhat.com> 5.5.21-3
2aefdf
- Revise mysql_plugin test patch so it moves plugin files to
2aefdf
  a temporary directory (better solution to #789530)
2aefdf
2aefdf
* Tue Mar 13 2012 Honza Horak <hhorak@redhat.com> 5.5.21-2
2aefdf
- Fix ssl-related tests to specify expected cipher explicitly
2aefdf
Related: #789600
2aefdf
- Fix several strcpy calls to check destination size
2aefdf
2aefdf
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 5.5.21-1
2aefdf
- Update to MySQL 5.5.21, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-21.html
2aefdf
- Hack openssl regression test to still work with rawhide's openssl
2aefdf
- Fix assorted failures in post-install regression tests (mysql-test RPM)
2aefdf
Resolves: #789530
2aefdf
2aefdf
* Fri Feb 10 2012 Tom Lane <tgl@redhat.com> 5.5.20-2
2aefdf
- Revise our test-disabling method to make it possible to disable tests on a
2aefdf
  platform-specific basis, and also to get rid of mysql-disable-test.patch,
2aefdf
  which broke in just about every upstream update (Honza Horak)
2aefdf
- Disable cycle-counter-dependent regression tests on ARM, since there is
2aefdf
  not currently any support for that in Fedora ARM kernels
2aefdf
Resolves: #773116
2aefdf
- Add some comments to mysqld.service documenting how to customize it
2aefdf
Resolves: #785243
2aefdf
2aefdf
* Fri Jan 27 2012 Tom Lane <tgl@redhat.com> 5.5.20-1
2aefdf
- Update to MySQL 5.5.20, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html
2aefdf
  as well as security fixes described at
2aefdf
  http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
2aefdf
Resolves: #783828
2aefdf
- Re-include the mysqld logrotate script, now that it's not so bogus
2aefdf
Resolves: #547007
2aefdf
2aefdf
* Wed Jan  4 2012 Tom Lane <tgl@redhat.com> 5.5.19-1
2aefdf
- Update to MySQL 5.5.19, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html
2aefdf
2aefdf
* Sun Nov 20 2011 Tom Lane <tgl@redhat.com> 5.5.18-1
2aefdf
- Update to MySQL 5.5.18, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-18.html
2aefdf
2aefdf
* Sat Nov 12 2011 Tom Lane <tgl@redhat.com> 5.5.17-1
2aefdf
- Update to MySQL 5.5.17, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-17.html
2aefdf
- Get rid of version-number assumption in sysv-to-systemd conversion trigger
2aefdf
2aefdf
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 5.5.16-4
2aefdf
- Don't assume all ethernet devices are named ethX
2aefdf
Resolves: #682365
2aefdf
- Exclude user definition from my.cnf, user is defined in mysqld.service now
2aefdf
Resolves: #661265
2aefdf
2aefdf
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-3
2aefdf
- Fix unportable usage associated with va_list arguments
2aefdf
Resolves: #744707
2aefdf
2aefdf
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-2
2aefdf
- Update to MySQL 5.5.16, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-16.html
2aefdf
2aefdf
* Fri Jul 29 2011 Tom Lane <tgl@redhat.com> 5.5.15-2
2aefdf
- Update to MySQL 5.5.15, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-15.html
2aefdf
2aefdf
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 5.5.14-3
2aefdf
- Convert to systemd startup support (no socket activation, for now anyway)
2aefdf
Related: #714426
2aefdf
2aefdf
* Tue Jul 12 2011 Tom Lane <tgl@redhat.com> 5.5.14-2
2aefdf
- Remove make_scrambled_password and make_scrambled_password_323 from mysql.h,
2aefdf
  since we're not allowing clients to call those functions anyway
2aefdf
Related: #690346
2aefdf
2aefdf
* Mon Jul 11 2011 Tom Lane <tgl@redhat.com> 5.5.14-1
2aefdf
- Update to MySQL 5.5.14, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-14.html
2aefdf
2aefdf
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 5.5.13-2
2aefdf
- Remove erroneously-included Default-Start line from LSB init block
2aefdf
Resolves: #717024
2aefdf
2aefdf
* Thu Jun  2 2011 Tom Lane <tgl@redhat.com> 5.5.13-1
2aefdf
- Update to MySQL 5.5.13, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-13.html
2aefdf
2aefdf
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.12-1
2aefdf
- Update to MySQL 5.5.12, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-12.html
2aefdf
2aefdf
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.10-3
2aefdf
- Add LSB init block to initscript, to ensure sane ordering at system boot
2aefdf
Resolves: #703214
2aefdf
- Improve initscript start action to notice when mysqladmin is failing
2aefdf
  because of configuration problems
2aefdf
Related: #703476
2aefdf
- Remove exclusion of "gis" regression test, since upstream bug 59908
2aefdf
  is fixed (for some value of "fixed") as of 5.5.10.
2aefdf
2aefdf
* Wed Mar 23 2011 Tom Lane <tgl@redhat.com> 5.5.10-2
2aefdf
- Add my_make_scrambled_password to the list of symbols exported by
2aefdf
  libmysqlclient.so.  Needed at least by pure-ftpd.
2aefdf
2aefdf
* Mon Mar 21 2011 Tom Lane <tgl@redhat.com> 5.5.10-1
2aefdf
- Update to MySQL 5.5.10, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-10.html
2aefdf
  Note that this includes a rather belated soname version bump for
2aefdf
  libmysqlclient.so, from .16 to .18
2aefdf
- Add tmpfiles.d config file so that /var/run/mysqld is recreated at boot
2aefdf
  (only needed in Fedora 15 and later)
2aefdf
Resolves: #658938
2aefdf
2aefdf
* Wed Feb 16 2011 Tom Lane <tgl@redhat.com> 5.5.9-2
2aefdf
- Disable a regression test that is now showing platform-dependent results
2aefdf
Resolves: #674253
2aefdf
2aefdf
* Sat Feb 12 2011 Tom Lane <tgl@redhat.com> 5.5.9-1
2aefdf
- Update to MySQL 5.5.9, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-9.html
2aefdf
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
2aefdf
2aefdf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.8-10
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2aefdf
2aefdf
* Fri Feb  4 2011 Tom Lane <tgl@redhat.com> 5.5.8-9
2aefdf
- Support s390/s390x in performance schema's cycle-counting functions
2aefdf
  (needed to make regression tests pass on these platforms)
2aefdf
2aefdf
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-8
2aefdf
- PPC64 floating-point differences are not masked by -ffloat-store after all,
2aefdf
  so let's just disable gis regression test till upstream makes it less picky
2aefdf
Resolves: #674253
2aefdf
- Add __perllib_requires setting to make rpm 4.9 do what we need
2aefdf
2aefdf
* Wed Feb  2 2011 Tom Lane <tgl@redhat.com> 5.5.8-7
2aefdf
- Work around some portability issues on PPC64
2aefdf
Resolves: #674253
2aefdf
2aefdf
* Thu Jan 20 2011 Tom Lane <tgl@redhat.com> 5.5.8-6
2aefdf
- Remove no-longer-needed special switches in CXXFLAGS, per yesterday's
2aefdf
  discussion in fedora-devel about -fexceptions.
2aefdf
- Rebuild needed anyway to check compatibility with latest systemtap.
2aefdf
2aefdf
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-5
2aefdf
- Fix failure to honor MYSQL_HOME environment variable
2aefdf
Resolves: #669364
2aefdf
2aefdf
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-4
2aefdf
- Fix crash during startup of embedded mysqld library
2aefdf
Resolves: #667365
2aefdf
2aefdf
* Mon Jan  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-3
2aefdf
- my_print_help, load_defaults, free_defaults, and handle_options all turn
2aefdf
  out to be documented/recommended in Paul DuBois' MySQL book, so we'd better
2aefdf
  consider them part of the de-facto API.
2aefdf
Resolves: #666728
2aefdf
2aefdf
* Mon Dec 27 2010 Tom Lane <tgl@redhat.com> 5.5.8-2
2aefdf
- Add mysql_client_errors[] to the set of exported libmysqlclient symbols;
2aefdf
  needed by PHP.
2aefdf
2aefdf
* Thu Dec 23 2010 Tom Lane <tgl@redhat.com> 5.5.8-1
2aefdf
- Update to MySQL 5.5.8 (major version bump).  Note this includes removal
2aefdf
  of libmysqlclient_r.so.
2aefdf
- Add a linker version script to hide libmysqlclient functions that aren't
2aefdf
  part of the documented API.
2aefdf
2aefdf
* Mon Nov  1 2010 Tom Lane <tgl@redhat.com> 5.1.52-1
2aefdf
- Update to MySQL 5.1.52, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-52.html
2aefdf
Resolves: #646569
2aefdf
2aefdf
* Thu Oct  7 2010 Tom Lane <tgl@redhat.com> 5.1.51-2
2aefdf
- Re-disable the outfile_loaddata test, per report from Dan Horak.
2aefdf
2aefdf
* Wed Oct  6 2010 Tom Lane <tgl@redhat.com> 5.1.51-1
2aefdf
- Update to MySQL 5.1.51, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
2aefdf
2aefdf
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-2
2aefdf
- Include my_compiler.h in distribution, per upstream bug #55846.
2aefdf
  Otherwise PHP, for example, won't build.
2aefdf
2aefdf
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-1
2aefdf
- Update to MySQL 5.1.50, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-50.html
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-49.html
2aefdf
2aefdf
* Wed Jul 14 2010 Tom Lane <tgl@redhat.com> 5.1.48-3
2aefdf
- Fix FTBFS with gcc 4.5.
2aefdf
Related: #614293
2aefdf
2aefdf
* Tue Jul 13 2010 Tom Lane <tgl@redhat.com> 5.1.48-2
2aefdf
- Duplicate COPYING and EXCEPTIONS-CLIENT in -libs and -embedded subpackages,
2aefdf
  to ensure they are available when any subset of mysql RPMs are installed,
2aefdf
  per revised packaging guidelines
2aefdf
- Allow init script's STARTTIMEOUT/STOPTIMEOUT to be overridden from sysconfig
2aefdf
Related: #609734
2aefdf
2aefdf
* Mon Jun 21 2010 Tom Lane <tgl@redhat.com> 5.1.48-1
2aefdf
- Update to MySQL 5.1.48, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
2aefdf
  including a fix for CVE-2010-2008
2aefdf
Related: #614214
2aefdf
2aefdf
* Fri Jun  4 2010 Tom Lane <tgl@redhat.com> 5.1.47-2
2aefdf
- Add back "partition" storage engine
2aefdf
Resolves: #597390
2aefdf
- Fix broken "federated" storage engine plugin
2aefdf
Related: #587170
2aefdf
- Read all certificates in SSL certificate files, to support chained certs
2aefdf
Related: #598656
2aefdf
2aefdf
* Mon May 24 2010 Tom Lane <tgl@redhat.com> 5.1.47-1
2aefdf
- Update to MySQL 5.1.47, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-47.html
2aefdf
  including fixes for CVE-2010-1848, CVE-2010-1849, CVE-2010-1850
2aefdf
Resolves: #592862
2aefdf
Resolves: #583717
2aefdf
- Create mysql group explicitly in pre-server script, to ensure correct GID
2aefdf
Related: #594155
2aefdf
2aefdf
* Sat Apr 24 2010 Tom Lane <tgl@redhat.com> 5.1.46-1
2aefdf
- Update to MySQL 5.1.46, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-46.html
2aefdf
2aefdf
* Thu Mar 25 2010 Tom Lane <tgl@redhat.com> 5.1.45-2
2aefdf
- Fix multiple problems described in upstream bug 52019, because regression
2aefdf
  tests fail on PPC if we don't.
2aefdf
2aefdf
* Wed Mar 24 2010 Tom Lane <tgl@redhat.com> 5.1.45-1
2aefdf
- Update to MySQL 5.1.45, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-45.html
2aefdf
2aefdf
* Sun Feb 21 2010 Tom Lane <tgl@redhat.com> 5.1.44-2
2aefdf
- Add "Obsoletes: mysql-cluster" to fix upgrade-in-place from F-12
2aefdf
- Bring init script into some modicum of compliance with Fedora/LSB standards
2aefdf
Related: #557711
2aefdf
Related: #562749
2aefdf
2aefdf
* Sat Feb 20 2010 Tom Lane <tgl@redhat.com> 5.1.44-1
2aefdf
- Update to MySQL 5.1.44, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html
2aefdf
- Remove mysql.info, which is not freely redistributable
2aefdf
Resolves: #560181
2aefdf
- Revert broken upstream fix for their bug 45058
2aefdf
Resolves: #566547
2aefdf
2aefdf
* Sat Feb 13 2010 Tom Lane <tgl@redhat.com> 5.1.43-2
2aefdf
- Remove mysql-cluster, which is no longer supported by upstream in this
2aefdf
  source distribution.  If we want it we'll need a separate SRPM for it.
2aefdf
2aefdf
* Fri Feb 12 2010 Tom Lane <tgl@redhat.com> 5.1.43-1
2aefdf
- Update to MySQL 5.1.43, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
2aefdf
2aefdf
* Fri Jan 29 2010 Tom Lane <tgl@redhat.com> 5.1.42-7
2aefdf
- Add backported patch for CVE-2008-7247 (upstream bug 39277)
2aefdf
Related: #543619
2aefdf
- Use non-expired certificates for SSL testing (upstream bug 50702)
2aefdf
2aefdf
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 5.1.42-6
2aefdf
- Emit explicit error message if user tries to build RPM as root
2aefdf
Related: #558915
2aefdf
2aefdf
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.42-5
2aefdf
- Correct Source0: tag and comment to reflect how to get the tarball
2aefdf
2aefdf
* Fri Jan  8 2010 Tom Lane <tgl@redhat.com> 5.1.42-4
2aefdf
- Disable symbolic links by default in /etc/my.cnf
2aefdf
Resolves: #553652
2aefdf
2aefdf
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 5.1.42-3
2aefdf
- Remove static libraries (.a files) from package, per packaging guidelines
2aefdf
- Change %%define to %%global, per packaging guidelines
2aefdf
2aefdf
* Sat Jan  2 2010 Tom Lane <tgl@redhat.com> 5.1.42-2
2aefdf
- Disable building the innodb plugin; it tickles assorted gcc bugs and
2aefdf
  doesn't seem entirely ready for prime time anyway.
2aefdf
2aefdf
* Fri Jan  1 2010 Tom Lane <tgl@redhat.com> 5.1.42-1
2aefdf
- Update to MySQL 5.1.42, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
2aefdf
- Start mysqld_safe with --basedir=/usr, to avoid unwanted SELinux messages
2aefdf
Resolves: #547485
2aefdf
2aefdf
* Thu Dec 17 2009 Tom Lane <tgl@redhat.com> 5.1.41-2
2aefdf
- Stop waiting during "service mysqld start" if mysqld_safe exits
2aefdf
Resolves: #544095
2aefdf
2aefdf
* Mon Nov 23 2009 Tom Lane <tgl@redhat.com> 5.1.41-1
2aefdf
- Update to MySQL 5.1.41, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
2aefdf
  including fixes for CVE-2009-4019
2aefdf
Related: #540906
2aefdf
- Don't set old_passwords=1; we aren't being bug-compatible with 3.23 anymore
2aefdf
Resolves: #540735
2aefdf
2aefdf
* Tue Nov 10 2009 Tom Lane <tgl@redhat.com> 5.1.40-1
2aefdf
- Update to MySQL 5.1.40, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html
2aefdf
- Do not force the --log-error setting in mysqld init script
2aefdf
Resolves: #533736
2aefdf
2aefdf
* Sat Oct 17 2009 Tom Lane <tgl@redhat.com> 5.1.39-4
2aefdf
- Replace kluge fix for ndbd sparc crash with a real fix (mysql bug 48132)
2aefdf
2aefdf
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 5.1.39-3
2aefdf
- Work around two different compiler bugs on sparc, one by backing off
2aefdf
  optimization from -O2 to -O1, and the other with a klugy patch
2aefdf
Related: #529298, #529299
2aefdf
- Clean up bogosity in multilib stub header support: ia64 should not be
2aefdf
  listed (it's not multilib), sparc and sparc64 should be
2aefdf
2aefdf
* Wed Sep 23 2009 Tom Lane <tgl@redhat.com> 5.1.39-2
2aefdf
- Work around upstream bug 46895 by disabling outfile_loaddata test
2aefdf
2aefdf
* Tue Sep 22 2009 Tom Lane <tgl@redhat.com> 5.1.39-1
2aefdf
- Update to MySQL 5.1.39, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html
2aefdf
2aefdf
* Mon Aug 31 2009 Tom Lane <tgl@redhat.com> 5.1.37-5
2aefdf
- Work around unportable assumptions about stpcpy(); re-enable main.mysql test
2aefdf
- Clean up some obsolete parameters to the configure script
2aefdf
2aefdf
* Sat Aug 29 2009 Tom Lane <tgl@redhat.com> 5.1.37-4
2aefdf
- Remove one misguided patch; turns out I was chasing a glibc bug
2aefdf
- Temporarily disable "main.mysql" test; there's something broken there too,
2aefdf
  but we need to get mysql built in rawhide for dependency reasons
2aefdf
2aefdf
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.1.37-3
2aefdf
- rebuilt with new openssl
2aefdf
2aefdf
* Fri Aug 14 2009 Tom Lane <tgl@redhat.com> 5.1.37-2
2aefdf
- Add a couple of patches to improve the probability of the regression tests
2aefdf
  completing in koji builds
2aefdf
2aefdf
* Sun Aug  2 2009 Tom Lane <tgl@redhat.com> 5.1.37-1
2aefdf
- Update to MySQL 5.1.37, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html
2aefdf
2aefdf
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.36-2
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2aefdf
2aefdf
* Fri Jul 10 2009 Tom Lane <tgl@redhat.com> 5.1.36-1
2aefdf
- Update to MySQL 5.1.36, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html
2aefdf
2aefdf
* Sat Jun  6 2009 Tom Lane <tgl@redhat.com> 5.1.35-1
2aefdf
- Update to MySQL 5.1.35, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
2aefdf
- Ensure that /var/lib/mysql is created with the right SELinux context
2aefdf
Resolves: #502966
2aefdf
2aefdf
* Fri May 15 2009 Tom Lane <tgl@redhat.com> 5.1.34-1
2aefdf
- Update to MySQL 5.1.34, for various fixes described at
2aefdf
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-34.html
2aefdf
- Increase startup timeout per bug #472222
2aefdf
2aefdf
* Wed Apr 15 2009 Tom Lane <tgl@redhat.com> 5.1.33-2
2aefdf
- Increase stack size of ndbd threads for safety's sake.
2aefdf
Related: #494631
2aefdf
2aefdf
* Tue Apr  7 2009 Tom Lane <tgl@redhat.com> 5.1.33-1
2aefdf
- Update to MySQL 5.1.33.
2aefdf
- Disable use of pthread_setschedparam; doesn't work the way code expects.
2aefdf
Related: #477624
2aefdf
2aefdf
* Wed Mar  4 2009 Tom Lane <tgl@redhat.com> 5.1.32-1
2aefdf
- Update to MySQL 5.1.32.
2aefdf
2aefdf
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.31-2
2aefdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2aefdf
2aefdf
* Fri Feb 13 2009 Tom Lane <tgl@redhat.com> 5.1.31-1
2aefdf
- Update to MySQL 5.1.31.
2aefdf
2aefdf
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-2
2aefdf
- hm, apparently --with-innodb and --with-ndbcluster are still needed
2aefdf
  even though no longer documented ...
2aefdf
2aefdf
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-1
2aefdf
- Update to MySQL 5.1.30.  Note that this includes an ABI break for
2aefdf
  libmysqlclient (it's now got .so major version 16).
2aefdf
- This also updates mysql for new openssl build
2aefdf
2aefdf
* Wed Oct  1 2008 Tom Lane <tgl@redhat.com> 5.0.67-2
2aefdf
- Build the "embedded server" library, and package it in a new sub-RPM
2aefdf
  mysql-embedded, along with mysql-embedded-devel for devel support files.
2aefdf
Resolves: #149829
2aefdf
2aefdf
* Sat Aug 23 2008 Tom Lane <tgl@redhat.com> 5.0.67-1
2aefdf
- Update to mysql version 5.0.67
2aefdf
- Move mysql_config's man page to base package, again (apparently I synced
2aefdf
  that change the wrong way while importing specfile changes for ndbcluster)
2aefdf
2aefdf
* Sun Jul 27 2008 Tom Lane <tgl@redhat.com> 5.0.51a-2
2aefdf
- Enable ndbcluster support
2aefdf
Resolves: #163758
2aefdf
- Suppress odd crash messages during package build, caused by trying to
2aefdf
  build dbug manual (which we don't install anyway) with dbug disabled
2aefdf
Resolves: #437053
2aefdf
- Improve mysql.init to pass configured datadir to mysql_install_db,
2aefdf
  and to force user=mysql for both mysql_install_db and mysqld_safe.
2aefdf
Related: #450178
2aefdf
2aefdf
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.51a-1
2aefdf
- Update to mysql version 5.0.51a
2aefdf
2aefdf
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.45-11
2aefdf
- Fix mysql-stack-guard patch to work correctly on IA64
2aefdf
- Fix mysql.init to wait correctly when socket is not in default place
2aefdf
Related: #435494
2aefdf
2aefdf
* Mon Mar 03 2008 Dennis Gilmore <dennis@ausil.us> 5.0.45-10
2aefdf
- add sparc64 to 64 bit arches for test suite checking
2aefdf
- add sparc, sparcv9 and sparc64 to multilib handling
2aefdf
2aefdf
* Thu Feb 28 2008 Tom Lane <tgl@redhat.com> 5.0.45-9
2aefdf
- Fix the stack overflow problem encountered in January.  It seems the real
2aefdf
issue is that the buildfarm machines were moved to RHEL5, which uses 64K not
2aefdf
4K pages on PPC, and because RHEL5 takes the guard area out of the requested
2aefdf
thread stack size we no longer had enough headroom.
2aefdf
Related: #435337
2aefdf
2aefdf
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.45-8
2aefdf
- Autorebuild for GCC 4.3
2aefdf
2aefdf
* Tue Jan  8 2008 Tom Lane <tgl@redhat.com> 5.0.45-7
2aefdf
- Unbelievable ... upstream still thinks that it's a good idea to have a
2aefdf
  regression test that is guaranteed to begin failing come January 1.
2aefdf
- ... and it seems we need to raise STACK_MIN_SIZE again too.
2aefdf
2aefdf
* Thu Dec 13 2007 Tom Lane <tgl@redhat.com> 5.0.45-6
2aefdf
- Back-port upstream fixes for CVE-2007-5925, CVE-2007-5969, CVE-2007-6303.
2aefdf
Related: #422211
2aefdf
2aefdf
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 5.0.45-5
2aefdf
- Rebuild for new openssl
2aefdf
2aefdf
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 5.0.45-4
2aefdf
- Seems we need explicit BuildRequires on gawk and procps now
2aefdf
- Rebuild to fix Fedora toolchain issues
2aefdf
2aefdf
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 5.0.45-3
2aefdf
- Recent perl changes in rawhide mean we need a more specific BuildRequires
2aefdf
2aefdf
* Thu Aug  2 2007 Tom Lane <tgl@redhat.com> 5.0.45-2
2aefdf
- Update License tag to match code.
2aefdf
- Work around recent Fedora change that makes "open" a macro name.
2aefdf
2aefdf
* Sun Jul 22 2007 Tom Lane <tgl@redhat.com> 5.0.45-1
2aefdf
- Update to MySQL 5.0.45
2aefdf
Resolves: #246535
2aefdf
- Move mysql_config's man page to base package
2aefdf
Resolves: #245770
2aefdf
- move my_print_defaults to base RPM, for consistency with Stacks packaging
2aefdf
- mysql user is no longer deleted at RPM uninstall
2aefdf
Resolves: #241912
2aefdf
2aefdf
* Thu Mar 29 2007 Tom Lane <tgl@redhat.com> 5.0.37-2
2aefdf
- Use a less hacky method of getting default values in initscript
2aefdf
Related: #233771, #194596
2aefdf
- Improve packaging of mysql-libs per suggestions from Remi Collet
2aefdf
Resolves: #233731
2aefdf
- Update default /etc/my.cnf ([mysql.server] has been bogus for a long time)
2aefdf
2aefdf
* Mon Mar 12 2007 Tom Lane <tgl@redhat.com> 5.0.37-1
2aefdf
- Update to MySQL 5.0.37
2aefdf
Resolves: #231838
2aefdf
- Put client library into a separate mysql-libs RPM to reduce dependencies
2aefdf
Resolves: #205630
2aefdf
2aefdf
* Fri Feb  9 2007 Tom Lane <tgl@redhat.com> 5.0.33-1
2aefdf
- Update to MySQL 5.0.33
2aefdf
- Install band-aid fix for "view" regression test designed to fail after 2006
2aefdf
- Don't chmod -R the entire database directory tree on every startup
2aefdf
Related: #221085
2aefdf
- Fix unsafe use of install-info
2aefdf
Resolves: #223713
2aefdf
- Cope with new automake in F7
2aefdf
Resolves: #224171
2aefdf
2aefdf
* Thu Nov  9 2006 Tom Lane <tgl@redhat.com> 5.0.27-1
2aefdf
- Update to MySQL 5.0.27 (see CVE-2006-4031, CVE-2006-4226, CVE-2006-4227)
2aefdf
Resolves: #202247, #202675, #203427, #203428, #203432, #203434, #208641
2aefdf
- Fix init script to return status 1 on server start timeout
2aefdf
Resolves: #203910
2aefdf
- Move mysqldumpslow from base package to mysql-server
2aefdf
Resolves: #193559
2aefdf
- Adjust link options for BDB module
2aefdf
Resolves: #199368
2aefdf
2aefdf
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.0.22-2.1
2aefdf
- rebuild
2aefdf
2aefdf
* Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 5.0.22-2
2aefdf
- Work around brew's tendency not to clean up failed builds completely,
2aefdf
  by adding code in mysql-testing.patch to kill leftover mysql daemons.
2aefdf
2aefdf
* Thu Jun  8 2006 Tom Lane <tgl@redhat.com> 5.0.22-1
2aefdf
- Update to MySQL 5.0.22 (fixes CVE-2006-2753)
2aefdf
- Install temporary workaround for gcc bug on s390x (bz #193912)
2aefdf
2aefdf
* Tue May  2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2
2aefdf
- Fix bogus perl Requires for mysql-test
2aefdf
2aefdf
* Mon May  1 2006 Tom Lane <tgl@redhat.com> 5.0.21-1
2aefdf
- Update to MySQL 5.0.21
2aefdf
2aefdf
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 5.0.18-4
2aefdf
- Modify multilib header hack to not break non-RH arches, per bug #181335
2aefdf
- Remove logrotate script, per bug #180639.
2aefdf
- Add a new mysql-test RPM to carry the regression test files;
2aefdf
  hack up test scripts as needed to make them run in /usr/share/mysql-test.
2aefdf
2aefdf
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-2.1
2aefdf
- bump again for double-long bug on ppc(64)
2aefdf
2aefdf
* Thu Feb  9 2006 Tom Lane <tgl@redhat.com> 5.0.18-2
2aefdf
- err-log option has been renamed to log-error, fix my.cnf and initscript
2aefdf
2aefdf
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-1.1
2aefdf
- rebuilt for new gcc4.1 snapshot and glibc changes
2aefdf
2aefdf
* Thu Jan  5 2006 Tom Lane <tgl@redhat.com> 5.0.18-1
2aefdf
- Update to MySQL 5.0.18
2aefdf
2aefdf
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-4
2aefdf
- fix my_config.h for ppc platforms
2aefdf
2aefdf
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3
2aefdf
- my_config.h needs to guard against 64-bit platforms that also define the
2aefdf
  32-bit symbol
2aefdf
2aefdf
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 5.0.16-2
2aefdf
- oops, looks like we want uname -i not uname -m
2aefdf
2aefdf
* Mon Dec 12 2005 Tom Lane <tgl@redhat.com> 5.0.16-1
2aefdf
- Update to MySQL 5.0.16
2aefdf
- Add EXCEPTIONS-CLIENT license info to the shipped documentation
2aefdf
- Make my_config.h architecture-independent for multilib installs;
2aefdf
  put the original my_config.h into my_config_$ARCH.h
2aefdf
- Add -fwrapv to CFLAGS so that gcc 4.1 doesn't break it
2aefdf
2aefdf
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2aefdf
- rebuilt
2aefdf
2aefdf
* Mon Nov 14 2005 Tom Lane <tgl@redhat.com> 5.0.15-3
2aefdf
- Make stop script wait for daemon process to disappear (bz#172426)
2aefdf
2aefdf
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 5.0.15-2
2aefdf
- Rebuild due to openssl library update.
2aefdf
2aefdf
* Thu Nov  3 2005 Tom Lane <tgl@redhat.com> 5.0.15-1
2aefdf
- Update to MySQL 5.0.15 (scratch build for now)
2aefdf
2aefdf
* Wed Oct  5 2005 Tom Lane <tgl@redhat.com> 4.1.14-1
2aefdf
- Update to MySQL 4.1.14
2aefdf
2aefdf
* Tue Aug 23 2005 Tom Lane <tgl@redhat.com> 4.1.12-3
2aefdf
- Use politically correct patch name.
2aefdf
2aefdf
* Tue Jul 12 2005 Tom Lane <tgl@redhat.com> 4.1.12-2
2aefdf
- Fix buffer overflow newly exposed in isam code; it's the same issue
2aefdf
  previously found in myisam, and not very exciting, but I'm tired of
2aefdf
  seeing build warnings.
2aefdf
2aefdf
* Mon Jul 11 2005 Tom Lane <tgl@redhat.com> 4.1.12-1
2aefdf
- Update to MySQL 4.1.12 (includes a fix for bz#158688, bz#158689)
2aefdf
- Extend mysql-test-ssl.patch to solve rpl_openssl test failure (bz#155850)
2aefdf
- Update mysql-lock-ssl.patch to match the upstream committed version
2aefdf
- Add --with-isam to re-enable the old ISAM table type, per bz#159262
2aefdf
- Add dependency on openssl-devel per bz#159569
2aefdf
- Remove manual.txt, as upstream decided not to ship it anymore;
2aefdf
  it was redundant with the mysql.info file anyway.
2aefdf
2aefdf
* Mon May  9 2005 Tom Lane <tgl@redhat.com> 4.1.11-4
2aefdf
- Include proper locking for OpenSSL in the server, per bz#155850
2aefdf
2aefdf
* Mon Apr 25 2005 Tom Lane <tgl@redhat.com> 4.1.11-3
2aefdf
- Enable openssl tests during build, per bz#155850
2aefdf
- Might as well turn on --disable-dependency-tracking
2aefdf
2aefdf
* Fri Apr  8 2005 Tom Lane <tgl@redhat.com> 4.1.11-2
2aefdf
- Avoid dependency on <asm/atomic.h>, cause it won't build anymore on ia64.
2aefdf
  This is probably a cleaner solution for bz#143537, too.
2aefdf
2aefdf
* Thu Apr  7 2005 Tom Lane <tgl@redhat.com> 4.1.11-1
2aefdf
- Update to MySQL 4.1.11 to fix bz#152911 as well as other issues
2aefdf
- Move perl-DBI, perl-DBD-MySQL dependencies to server package (bz#154123)
2aefdf
- Override configure thread library test to suppress HAVE_LINUXTHREADS check
2aefdf
- Fix BDB failure on s390x (bz#143537)
2aefdf
- At last we can enable "make test" on all arches
2aefdf
2aefdf
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 4.1.10a-1
2aefdf
- Update to MySQL 4.1.10a to fix security vulnerabilities (bz#150868,
2aefdf
  for CAN-2005-0711, and bz#150871 for CAN-2005-0709, CAN-2005-0710).
2aefdf
2aefdf
* Sun Mar  6 2005 Tom Lane <tgl@redhat.com> 4.1.10-3
2aefdf
- Fix package Requires: interdependencies.
2aefdf
2aefdf
* Sat Mar  5 2005 Tom Lane <tgl@redhat.com> 4.1.10-2
2aefdf
- Need -fno-strict-aliasing in at least one place, probably more.
2aefdf
- Work around some C spec violations in mysql.
2aefdf
2aefdf
* Fri Feb 18 2005 Tom Lane <tgl@redhat.com> 4.1.10-1
2aefdf
- Update to MySQL 4.1.10.
2aefdf
2aefdf
* Sat Jan 15 2005 Tom Lane <tgl@redhat.com> 4.1.9-1
2aefdf
- Update to MySQL 4.1.9.
2aefdf
2aefdf
* Wed Jan 12 2005 Tom Lane <tgl@redhat.com> 4.1.7-10
2aefdf
- Don't assume /etc/my.cnf will specify pid-file (bz#143724)
2aefdf
2aefdf
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 4.1.7-9
2aefdf
- Rebuilt for new readline.
2aefdf
2aefdf
* Tue Dec 21 2004 Tom Lane <tgl@redhat.com> 4.1.7-8
2aefdf
- Run make test on all archs except s390x (which seems to have a bdb issue)
2aefdf
2aefdf
* Mon Dec 13 2004 Tom Lane <tgl@redhat.com> 4.1.7-7
2aefdf
- Suppress someone's silly idea that libtool overhead can be skipped
2aefdf
2aefdf
* Sun Dec 12 2004 Tom Lane <tgl@redhat.com> 4.1.7-6
2aefdf
- Fix init script to not need a valid username for startup check (bz#142328)
2aefdf
- Fix init script to honor settings appearing in /etc/my.cnf (bz#76051)
2aefdf
- Enable SSL (bz#142032)
2aefdf
2aefdf
* Thu Dec  2 2004 Tom Lane <tgl@redhat.com> 4.1.7-5
2aefdf
- Add a restorecon to keep the mysql.log file in the right context (bz#143887)
2aefdf
2aefdf
* Tue Nov 23 2004 Tom Lane <tgl@redhat.com> 4.1.7-4
2aefdf
- Turn off old_passwords in default /etc/my.cnf file, for better compatibility
2aefdf
  with mysql 3.x clients (per suggestion from Joe Orton).
2aefdf
2aefdf
* Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3
2aefdf
- Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/).
2aefdf
2aefdf
* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 4.1.7-2
2aefdf
- rebuild in devel branch
2aefdf
2aefdf
* Wed Oct 27 2004 Tom Lane <tgl@redhat.com> 4.1.7-1
2aefdf
- Update to MySQL 4.1.x.
2aefdf
2aefdf
* Tue Oct 12 2004 Tom Lane <tgl@redhat.com> 3.23.58-13
2aefdf
- fix security issues CAN-2004-0835, CAN-2004-0836, CAN-2004-0837
2aefdf
  (bugs #135372, 135375, 135387)
2aefdf
- fix privilege escalation on GRANT ALL ON `Foo\_Bar` (CAN-2004-0957)
2aefdf
2aefdf
* Wed Oct 06 2004 Tom Lane <tgl@redhat.com> 3.23.58-12
2aefdf
- fix multilib problem with mysqlbug and mysql_config
2aefdf
- adjust chkconfig priority per bug #128852
2aefdf
- remove bogus quoting per bug #129409 (MySQL 4.0 has done likewise)
2aefdf
- add sleep to mysql.init restart(); may or may not fix bug #133993
2aefdf
2aefdf
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 3.23.58-11
2aefdf
- fix low-priority security issues CAN-2004-0388, CAN-2004-0381, CAN-2004-0457
2aefdf
  (bugs #119442, 125991, 130347, 130348)
2aefdf
- fix bug with dropping databases under recent kernels (bug #124352)
2aefdf
2aefdf
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 3.23.58-10
2aefdf
- rebuilt
2aefdf
2aefdf
* Sat Apr 17 2004 Warren Togami <wtogami@redhat.com> 3.23.58-9
2aefdf
- remove redundant INSTALL-SOURCE, manual.*
2aefdf
- compress manual.txt.bz2
2aefdf
- BR time
2aefdf
2aefdf
* Tue Mar 16 2004 Tom Lane <tgl@redhat.com> 3.23.58-8
2aefdf
- repair logfile attributes in %%files, per bug #102190
2aefdf
- repair quoting problem in mysqlhotcopy, per bug #112693
2aefdf
- repair missing flush in mysql_setpermission, per bug #113960
2aefdf
- repair broken error message printf, per bug #115165
2aefdf
- delete mysql user during uninstall, per bug #117017
2aefdf
- rebuilt
2aefdf
2aefdf
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
2aefdf
- rebuilt
2aefdf
2aefdf
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
2aefdf
- fix chown syntax in mysql.init
2aefdf
- rebuild
2aefdf
2aefdf
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
2aefdf
- rebuilt
2aefdf
2aefdf
* Tue Nov 18 2003 Kim Ho <kho@redhat.com> 3.23.58-5
2aefdf
- update mysql.init to use anonymous user (UNKNOWN_MYSQL_USER) for
2aefdf
  pinging mysql server (#108779)
2aefdf
2aefdf
* Mon Oct 27 2003 Kim Ho <kho@redhat.com> 3.23.58-4
2aefdf
- update mysql.init to wait (max 10 seconds) for mysql server to
2aefdf
  start (#58732)
2aefdf
2aefdf
* Mon Oct 27 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-3
2aefdf
- re-enable Berkeley DB support (#106832)
2aefdf
- re-enable ia64 testing
2aefdf
2aefdf
* Fri Sep 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-2
2aefdf
- rebuilt
2aefdf
2aefdf
* Mon Sep 15 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-1
2aefdf
- upgrade to 3.23.58 for security fix
2aefdf
2aefdf
* Tue Aug 26 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-2
2aefdf
- rebuilt
2aefdf
2aefdf
* Wed Jul 02 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-1
2aefdf
- revert to prior version of MySQL due to license incompatibilities
2aefdf
  with packages that link against the client.  The MySQL folks are
2aefdf
  looking into the issue.
2aefdf
2aefdf
* Wed Jun 18 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-4
2aefdf
- restrict test on ia64 (temporary)
2aefdf
2aefdf
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 4.0.13-3
2aefdf
- rebuilt
2aefdf
2aefdf
* Thu May 29 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-2
2aefdf
- fix filter-requires-mysql.sh with less restrictive for mysql-bench
2aefdf
2aefdf
* Wed May 28 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-1
2aefdf
- update for MySQL 4.0
2aefdf
- back-level shared libraries available in mysqlclient10 package
2aefdf
2aefdf
* Fri May 09 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-2
2aefdf
- add sql-bench package (#90110)
2aefdf
2aefdf
* Wed Mar 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-1
2aefdf
- upgrade to 3.23.56 for security fixes
2aefdf
- remove patch for double-free (included in 3.23.56)
2aefdf
2aefdf
* Tue Feb 18 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.54a-11
2aefdf
- enable thread safe client
2aefdf
- add patch for double free fix
2aefdf
2aefdf
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
2aefdf
- rebuilt
2aefdf
2aefdf
* Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 3.23.54a-9
2aefdf
- disable checks on s390x
2aefdf
2aefdf
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 3.23.54a-8
2aefdf
- use internal dep generator.
2aefdf
2aefdf
* Wed Jan  1 2003 Bill Nottingham <notting@redhat.com> 3.23.54a-7
2aefdf
- fix mysql_config on hammer
2aefdf
2aefdf
* Sun Dec 22 2002 Tim Powers <timp@redhat.com> 3.23.54a-6
2aefdf
- don't use rpms internal dep generator
2aefdf
2aefdf
* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 3.23.54a-5
2aefdf
- Push it into the build system
2aefdf
2aefdf
* Mon Dec 16 2002 Joe Orton <jorton@redhat.com> 3.23.54a-4
2aefdf
- upgrade to 3.23.54a for safe_mysqld fix
2aefdf
2aefdf
* Thu Dec 12 2002 Joe Orton <jorton@redhat.com> 3.23.54-3
2aefdf
- upgrade to 3.23.54 for latest security fixes
2aefdf
2aefdf
* Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-5
2aefdf
- Always include <errno.h> for errno
2aefdf
- Remove unpackaged files
2aefdf
2aefdf
* Tue Nov 12 2002 Florian La Roche <Florian.LaRoche@redhat.de>
2aefdf
- do not prereq userdel, not used at all
2aefdf
2aefdf
* Mon Sep  9 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-4
2aefdf
- Use %%{_libdir}
2aefdf
- Add patch for x86-64
2aefdf
2aefdf
* Wed Sep  4 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-3
2aefdf
- rebuilt with gcc-3.2-7
2aefdf
2aefdf
* Thu Aug 29 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-2
2aefdf
- Add --enable-local-infile to configure - a new option
2aefdf
  which doesn't default to the old behaviour (#72885)
2aefdf
2aefdf
* Fri Aug 23 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-1
2aefdf
- 3.23.52. Fixes a minor security problem, various bugfixes.
2aefdf
2aefdf
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 3.23.51-5
2aefdf
- rebuilt with gcc-3.2 (we hope)
2aefdf
2aefdf
* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-4
2aefdf
- rebuild
2aefdf
2aefdf
* Thu Jul 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-3
2aefdf
- Fix #63543 and #63542
2aefdf
2aefdf
* Thu Jul 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-2
2aefdf
- Turn off bdb on PPC(#68591)
2aefdf
- Turn off the assembly optimizations, for safety.
2aefdf
2aefdf
* Wed Jun 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-1
2aefdf
- Work around annoying auto* thinking this is a crosscompile
2aefdf
- 3.23.51
2aefdf
2aefdf
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
2aefdf
- automated rebuild
2aefdf
2aefdf
* Mon Jun 10 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-2
2aefdf
- Add dependency on perl-DBI and perl-DBD-MySQL (#66349)
2aefdf
2aefdf
* Thu May 30 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-1
2aefdf
- 3.23.50
2aefdf
2aefdf
* Thu May 23 2002 Tim Powers <timp@redhat.com>
2aefdf
- automated rebuild
2aefdf
2aefdf
* Mon May 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-4
2aefdf
- Rebuild
2aefdf
- Don't set CXX to gcc, it doesn't work anymore
2aefdf
- Exclude Alpha
2aefdf
2aefdf
* Mon Apr  8 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-3
2aefdf
- Add the various .cnf examples as doc files to mysql-server (#60349)
2aefdf
- Don't include manual.ps, it's just 200 bytes with a URL inside (#60349)
2aefdf
- Don't include random files in /usr/share/mysql (#60349)
2aefdf
- langify (#60349)
2aefdf
2aefdf
* Thu Feb 21 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-2
2aefdf
- Rebuild
2aefdf
2aefdf
* Sun Feb 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-1
2aefdf
- 3.23.49
2aefdf
2aefdf
* Thu Feb 14 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-2
2aefdf
- work around perl dependency bug.
2aefdf
2aefdf
* Mon Feb 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-1
2aefdf
- 3.23.48
2aefdf
2aefdf
* Thu Jan 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-4
2aefdf
- Use kill, not mysqladmin, to flush logs and shut down. Thus,
2aefdf
  an admin password can be set with no problems.
2aefdf
- Remove reload from init script
2aefdf
2aefdf
* Wed Jan 16 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-3
2aefdf
- remove db3-devel from buildrequires,
2aefdf
  MySQL has had its own bundled copy since the mid thirties
2aefdf
2aefdf
* Sun Jan  6 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-1
2aefdf
- 3.23.47
2aefdf
- Don't build for alpha, toolchain immature.
2aefdf
2aefdf
* Mon Dec  3 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.46-1
2aefdf
- 3.23.46
2aefdf
- use -fno-rtti and -fno-exceptions, and set CXX to increase stability.
2aefdf
  Recommended by mysql developers.
2aefdf
2aefdf
* Sun Nov 25 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.45-1
2aefdf
- 3.23.45
2aefdf
2aefdf
* Wed Nov 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-2
2aefdf
- centralize definition of datadir in the initscript (#55873)
2aefdf
2aefdf
* Fri Nov  2 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-1
2aefdf
- 3.23.44
2aefdf
2aefdf
* Thu Oct  4 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.43-1
2aefdf
- 3.23.43
2aefdf
2aefdf
* Mon Sep 10 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.42-1
2aefdf
- 3.23.42
2aefdf
- reenable innodb
2aefdf
2aefdf
* Tue Aug 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.41-1
2aefdf
- 3.23.41 bugfix release
2aefdf
- disable innodb, to avoid the broken updates
2aefdf
- Use "mysqladmin flush_logs" instead of kill -HUP in logrotate
2aefdf
  script (#51711)
2aefdf
2aefdf
* Sat Jul 21 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.40, bugfix release
2aefdf
- Add zlib-devel to buildrequires:
2aefdf
2aefdf
* Fri Jul 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- BuildRequires-tweaking
2aefdf
2aefdf
* Thu Jun 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- Reenable test, but don't run them for s390, s390x or ia64
2aefdf
- Make /etc/my.cnf config(noplace). Same for /etc/logrotate.d/mysqld
2aefdf
2aefdf
* Thu Jun 14 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.29
2aefdf
- enable innodb
2aefdf
- enable assembly again
2aefdf
- disable tests for now...
2aefdf
2aefdf
* Tue May 15 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.38
2aefdf
- Don't use BDB on Alpha - no fast mutexes
2aefdf
2aefdf
* Tue Apr 24 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.37
2aefdf
- Add _GNU_SOURCE to the compile flags
2aefdf
2aefdf
* Wed Mar 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- Make it obsolete our 6.2 PowerTools packages
2aefdf
- 3.23.36 bugfix release - fixes some security issues
2aefdf
  which didn't apply to our standard configuration
2aefdf
- Make "make test" part of the build process, except on IA64
2aefdf
  (it fails there)
2aefdf
2aefdf
* Tue Mar 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.35 bugfix release
2aefdf
- Don't delete the mysql user on uninstall
2aefdf
2aefdf
* Tue Mar 13 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.34a bugfix release
2aefdf
2aefdf
* Wed Feb  7 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- added readline-devel to BuildRequires:
2aefdf
2aefdf
* Tue Feb  6 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- small i18n-fixes to initscript (action needs $)
2aefdf
2aefdf
* Tue Jan 30 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- make it shut down and rotate logs without using mysqladmin
2aefdf
  (from #24909)
2aefdf
2aefdf
* Mon Jan 29 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- conflict with "MySQL"
2aefdf
2aefdf
* Tue Jan 23 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- improve gettextizing
2aefdf
2aefdf
* Mon Jan 22 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.32
2aefdf
- fix logrotate script (#24589)
2aefdf
2aefdf
* Wed Jan 17 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- gettextize
2aefdf
- move the items in Requires(post): to Requires: in preparation
2aefdf
  for an errata for 7.0 when 3.23.31 is released
2aefdf
- 3.23.31
2aefdf
2aefdf
* Tue Jan 16 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- add the log file to the rpm database, and make it 0640
2aefdf
  (#24116)
2aefdf
- as above in logrotate script
2aefdf
- changes to the init sequence - put most of the data
2aefdf
  in /etc/my.cnf instead of hardcoding in the init script
2aefdf
- use /var/run/mysqld/mysqld.pid instead of
2aefdf
  /var/run/mysqld/pid
2aefdf
- use standard safe_mysqld
2aefdf
- shut down cleaner
2aefdf
2aefdf
* Mon Jan 08 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.30
2aefdf
- do an explicit chmod on /var/lib/mysql in post, to avoid
2aefdf
  any problems with broken permissons. There is a report
2aefdf
  of rm not changing this on its own (#22989)
2aefdf
2aefdf
* Mon Jan 01 2001 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- bzipped source
2aefdf
- changed from 85 to 78 in startup, so it starts before
2aefdf
  apache (which can use modules requiring mysql)
2aefdf
2aefdf
* Wed Dec 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.29a
2aefdf
2aefdf
* Tue Dec 19 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- add requirement for new libstdc++, build for errata
2aefdf
2aefdf
* Mon Dec 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.29
2aefdf
2aefdf
* Mon Nov 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.28 (gamma)
2aefdf
- remove old patches, as they are now upstreamed
2aefdf
2aefdf
* Tue Nov 14 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- Add a requirement for a new glibc (#20735)
2aefdf
- build on IA64
2aefdf
2aefdf
* Wed Nov  1 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- disable more assembly
2aefdf
2aefdf
* Wed Nov  1 2000 Jakub Jelinek <jakub@redhat.com>
2aefdf
- fix mysql on SPARC (#20124)
2aefdf
2aefdf
* Tue Oct 31 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.27
2aefdf
2aefdf
* Wed Oct 25 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- add patch for fixing bogus aliasing in mysql from Jakub,
2aefdf
  which should fix #18905 and #18620
2aefdf
2aefdf
* Mon Oct 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- check for negative niceness values, and negate it
2aefdf
  if present (#17899)
2aefdf
- redefine optflags on IA32 FTTB
2aefdf
2aefdf
* Wed Oct 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.26, which among other fixes now uses mkstemp()
2aefdf
  instead of tempnam().
2aefdf
- revert changes made yesterday, the problem is now
2aefdf
  isolated
2aefdf
2aefdf
* Tue Oct 17 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- use the compat C++ compiler FTTB. Argh.
2aefdf
- add requirement of ncurses4 (see above)
2aefdf
2aefdf
* Sun Oct 01 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.25
2aefdf
- fix shutdown problem (#17956)
2aefdf
2aefdf
* Tue Sep 26 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- Don't try to include no-longer-existing PUBLIC file
2aefdf
  as doc (#17532)
2aefdf
2aefdf
* Tue Sep 12 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- rename config file to /etc/my.cnf, which is what
2aefdf
  mysqld wants... doh. (#17432)
2aefdf
- include a changed safe_mysqld, so the pid file option
2aefdf
  works.
2aefdf
- make mysql dir world readable to they can access the
2aefdf
  mysql socket. (#17432)
2aefdf
- 3.23.24
2aefdf
2aefdf
* Wed Sep 06 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.23
2aefdf
2aefdf
* Sun Aug 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- Add "|| :" to condrestart to avoid non-zero exit code
2aefdf
2aefdf
* Thu Aug 24 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- it's mysql.com, not mysql.org and use correct path to
2aefdf
  source (#16830)
2aefdf
2aefdf
* Wed Aug 16 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- source file from /etc/rc.d, not /etc/rd.d. Doh.
2aefdf
2aefdf
* Sun Aug 13 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- don't run ldconfig -n, it doesn't update ld.so.cache
2aefdf
  (#16034)
2aefdf
- include some missing binaries
2aefdf
- use safe_mysqld to start the server (request from
2aefdf
  mysql developers)
2aefdf
2aefdf
* Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
2aefdf
- condrestart fixes
2aefdf
2aefdf
* Tue Aug 01 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.22. Disable the old patches, they're now in.
2aefdf
2aefdf
* Thu Jul 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- bugfixes in the initscript
2aefdf
- move the .so link to the devel package
2aefdf
2aefdf
* Wed Jul 19 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- rebuild due to glibc changes
2aefdf
2aefdf
* Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- disable compiler patch
2aefdf
- don't include info directory file
2aefdf
2aefdf
* Mon Jul 17 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- move back to /etc/rc.d/init.d
2aefdf
2aefdf
* Fri Jul 14 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- more cleanups in initscript
2aefdf
2aefdf
* Thu Jul 13 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- add a patch to work around compiler bug
2aefdf
  (from monty@mysql.com)
2aefdf
2aefdf
* Wed Jul 12 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- don't build the SQL daemon statically (glibc problems)
2aefdf
- fix the logrotate script - only flush log if mysql
2aefdf
  is running
2aefdf
- change the reloading procedure 
2aefdf
- remove icon - glint is obsolete a long time ago
2aefdf
2aefdf
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
2aefdf
- automatic rebuild
2aefdf
2aefdf
* Mon Jul 10 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- try the new compiler again
2aefdf
- build the SQL daemon statically
2aefdf
- add compile time support for complex charsets
2aefdf
- enable assembler
2aefdf
- more cleanups in initscript
2aefdf
2aefdf
* Sun Jul 09 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- use old C++ compiler
2aefdf
- Exclusivearch x86
2aefdf
2aefdf
* Sat Jul 08 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- move .so files to devel package
2aefdf
- more cleanups
2aefdf
- exclude sparc for now
2aefdf
2aefdf
* Wed Jul 05 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- 3.23.21
2aefdf
- remove file from /etc/sysconfig
2aefdf
- Fix initscript a bit - initialization of databases doesn't
2aefdf
  work yet
2aefdf
- specify the correct licenses
2aefdf
- include a /etc/my.conf (empty, FTTB)
2aefdf
- add conditional restart to spec file
2aefdf
2aefdf
* Sun Jul  2 2000 Jakub Jelinek <jakub@redhat.com>
2aefdf
- Rebuild with new C++
2aefdf
2aefdf
* Fri Jun 30 2000 Trond Eivind Glomsrd <teg@redhat.com>
2aefdf
- update to 3.23.20
2aefdf
- use %%configure, %%makeinstall, %%{_tmppath}, %%{_mandir},
2aefdf
  %%{_infodir}, /etc/init.d
2aefdf
- remove the bench package
2aefdf
- change some of the descriptions a little bit
2aefdf
- fix the init script
2aefdf
- some compile fixes
2aefdf
- specify mysql user
2aefdf
- use mysql uid 27 (postgresql is 26)
2aefdf
- don't build on ia64
2aefdf
2aefdf
* Sat Feb 26 2000 Jos Vos <jos@xos.nl>
2aefdf
- Version 3.22.32 release XOS.1 for LinuX/OS 1.8.0
2aefdf
- Upgrade from version 3.22.27 to 3.22.32.
2aefdf
- Do "make install" instead of "make install-strip", because "install -s"
2aefdf
  now appears to fail on various scripts.  Afterwards, strip manually.
2aefdf
- Reorganize subpackages, according to common Red Hat packages: the client
2aefdf
  program and shared library become the base package and the server and
2aefdf
  some accompanying files are now in a separate server package.  The
2aefdf
  server package implicitly requires the base package (shared library),
2aefdf
  but we have added a manual require tag anyway (because of the shared
2aefdf
  config file, and more).
2aefdf
- Rename the mysql-benchmark subpackage to mysql-bench.
2aefdf
2aefdf
* Mon Jan 31 2000 Jos Vos <jos@xos.nl>
2aefdf
- Version 3.22.27 release XOS.2 for LinuX/OS 1.7.1
2aefdf
- Add post(un)install scripts for updating ld.so.conf (client subpackage).
2aefdf
2aefdf
* Sun Nov 21 1999 Jos Vos <jos@xos.nl>
2aefdf
- Version 3.22.27 release XOS.1 for LinuX/OS 1.7.0
2aefdf
- Initial version.
2aefdf
- Some ideas borrowed from Red Hat Powertools 6.1, although this spec
2aefdf
  file is a full rewrite from scratch.