Blame SPECS/mysql.spec

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