Blame SPECS/mysql.spec

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