Blame SPECS/mysql.spec

80384c
# SCL stuff
80384c
%{?scl:%scl_package mysql}
80384c
%{!?scl:%global pkg_name %{name}}
80384c
80384c
# Name of the package without any prefixes
80384c
%global pkgnamepatch mysql
80384c
80384c
# Regression tests may take a long time (many cores recommended), skip them by
80384c
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
80384c
# --nocheck is not possible (e.g. in koji build)
80384c
%{!?runselftest:%global runselftest 1}
80384c
743cec
# Set this to 1 to see which tests fail
743cec
%global check_testsuite 0
743cec
80384c
# set to 1 to enable
80384c
%global with_shared_lib_major_hack 0
80384c
80384c
# In f20+ use unversioned docdirs, otherwise the old versioned one
80384c
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
80384c
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
80384c
80384c
# Use Full RELRO for all binaries (RHBZ#1092548)
80384c
%global _hardened_build 1
80384c
80384c
# By default, patch(1) creates backup files when chunks apply with offsets.
80384c
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
80384c
%global _default_patch_flags --no-backup-if-mismatch
80384c
489963
%global skiplist platform-specific-tests.list
80384c
80384c
# For some use cases we do not need some parts of the package
80384c
%bcond_without devel
80384c
%bcond_without client
80384c
%bcond_without common
80384c
%bcond_without errmsg
80384c
%bcond_without bench
80384c
%bcond_without test
80384c
80384c
%if 0%{?scl:1}
80384c
%bcond_with embedded
80384c
%bcond_with clibrary
80384c
%else
80384c
%bcond_without embedded
80384c
%bcond_without clibrary
80384c
%endif
80384c
80384c
# When there is already another package that ships /etc/my.cnf,
80384c
# rather include it than ship the file again, since conflicts between
80384c
# those files may create issues
80384c
%bcond_without config
80384c
80384c
# For deep debugging we need to build binaries with extra debug info
80384c
%bcond_with debug
80384c
80384c
# Include files for SysV init or systemd
80384c
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
80384c
%bcond_without init_systemd
80384c
%bcond_with init_sysv
80384c
%else
80384c
%bcond_with init_systemd
80384c
%bcond_without init_sysv
80384c
%endif
80384c
%global daemon_name %{?scl_prefix}mysqld
80384c
%global daemon_no_prefix mysqld
80384c
80384c
# Define where to get propper SELinux context
80384c
# and define names and locations specific for the whole collection
80384c
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 15
80384c
%{?scl:%global se_daemon_source %{_unitdir}/mysqld}
80384c
%global daemondir %{_unitdir}
80384c
%else
80384c
%{?scl:%global se_daemon_source %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rc.d/init.d/mysqld}
80384c
%global daemondir %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rc.d/init.d
80384c
%endif
80384c
%{?scl:%global se_log_source %{?_root_localstatedir}/log/mysql}
80384c
%if ! 0%{?scl:1} || 0%{?nfsmountable:1}
80384c
%global logfiledir %{_localstatedir}/log/mysql
80384c
%global dbdatadir %{_localstatedir}/lib/mysql
80384c
%else
80384c
%global logfiledir %{?_root_localstatedir}/log/%{?scl_prefix}mysql
80384c
%global dbdatadir %{?_scl_root}/var/lib/mysql
80384c
%endif
80384c
80384c
# Directory for storing pid file
80384c
%global pidfiledir %{?scl:%{_root_localstatedir}}%{!?scl:%{_localstatedir}}/run/%{daemon_name}
80384c
80384c
# We define some system's well known locations here so we can use them easily
80384c
# later when building to another location (like SCL)
80384c
%global logrotateddir %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d
80384c
%global logfile %{logfiledir}/%{daemon_no_prefix}.log
80384c
80384c
# Home directory of mysql user should be same for all packages that create it
80384c
%global mysqluserhome /var/lib/mysql
80384c
80384c
# Provide mysql names for compatibility
80384c
%if 0%{?scl:1}
80384c
%bcond_with mysql_names
80384c
%bcond_with conflicts
80384c
%else
80384c
%bcond_without mysql_names
80384c
%bcond_without conflicts
80384c
%endif
80384c
80384c
# Make long macros shorter
80384c
%global sameevr   %{?epoch:%{epoch}:}%{version}-%{release}
80384c
80384c
%if 0%{?scl:1}
80384c
%global scl_upper %{lua:print(string.upper(string.gsub(rpm.expand("%{scl}"), "-", "_")))}
80384c
%endif
80384c
80384c
Name:             %{?scl_prefix}mysql
489963
Version:          5.6.37
489963
Release:          5%{?with_debug:.debug}%{?dist}
80384c
Summary:          MySQL client programs and shared libraries
80384c
Group:            Applications/Databases
80384c
URL:              http://www.mysql.com
80384c
80384c
# Exceptions allow client libraries to be linked with most open source SW,
80384c
# not only GPL code.  See README.mysql-license
80384c
License:          GPLv2 with exceptions and LGPLv2 and BSD
80384c
80384c
Source0:          https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-%{version}.tar.gz
80384c
Source2:          mysql_config_multilib.sh
80384c
Source3:          my.cnf.in
80384c
Source4:          my_config.h
80384c
Source6:          README.mysql-docs
80384c
Source7:          README.mysql-license
80384c
Source10:         mysql.tmpfiles.d.in
80384c
Source11:         mysql.service.in
80384c
Source12:         mysql-prepare-db-dir.sh
80384c
Source13:         mysql-wait-ready.sh
80384c
Source14:         mysql-check-socket.sh
80384c
Source15:         mysql-scripts-common.sh
80384c
Source16:         mysql-check-upgrade.sh
80384c
Source17:         mysql-wait-stop.sh
80384c
Source19:         mysql.init.in
80384c
# To track rpmlint warnings
80384c
Source30:         mysql-5.6.10-rpmlintrc
80384c
# Configuration for server
80384c
Source31:         server.cnf.in
80384c
Source40:         daemon-scl-helper.sh
80384c
80384c
# Comments for these patches are in the patch files
80384c
# Patches common for more mysql-like packages
80384c
Patch1:           %{pkgnamepatch}-strmov.patch
80384c
Patch2:           %{pkgnamepatch}-install-test.patch
80384c
Patch3:           %{pkgnamepatch}-s390-tsc.patch
80384c
Patch4:           %{pkgnamepatch}-logrotate.patch
80384c
Patch5:           %{pkgnamepatch}-cipherspec.patch
80384c
Patch6:           %{pkgnamepatch}-file-contents.patch
80384c
Patch8:           %{pkgnamepatch}-scripts.patch
80384c
Patch9:           %{pkgnamepatch}-install-db-sharedir.patch
80384c
Patch10:          %{pkgnamepatch}-paths.patch
80384c
Patch11:          %{pkgnamepatch}-noclientlib.patch
80384c
Patch12:          %{pkgnamepatch}-admincrash.patch
80384c
Patch13:          %{pkgnamepatch}-log-fifo.patch
489963
Patch14:          %{pkgnamepatch}-md5_fips.patch
489963
Patch15:          %{pkgnamepatch}-default-logdir.patch
80384c
80384c
# Patches specific for this mysql package
80384c
Patch51:          %{pkgnamepatch}-chain-certs.patch
80384c
Patch52:          %{pkgnamepatch}-sharedir.patch
80384c
Patch55:          %{pkgnamepatch}-5.6.16-mysql-install.patch
80384c
Patch56:          %{pkgnamepatch}-pluginerrmsg.patch
80384c
Patch57:          %{pkgnamepatch}-5.6.19-gcc49-aarch64-opt.patch
80384c
Patch70:          %{pkgnamepatch}-5.6.13-major.patch
80384c
80384c
# Patches specific for scl
80384c
Patch90:          %{pkgnamepatch}-scl-env-check.patch
80384c
80384c
BuildRequires:    cmake
80384c
BuildRequires:    libaio-devel
80384c
BuildRequires:    libevent-devel
80384c
BuildRequires:    openssl-devel
80384c
BuildRequires:    perl
80384c
BuildRequires:    ncurses-devel
80384c
BuildRequires:    systemtap-sdt-devel
80384c
BuildRequires:    zlib-devel
80384c
# Tests requires time and ps and some perl modules
80384c
BuildRequires:    procps
80384c
BuildRequires:    time
80384c
BuildRequires:    perl(Env)
80384c
BuildRequires:    perl(Exporter)
80384c
BuildRequires:    perl(Fcntl)
80384c
BuildRequires:    perl(File::Temp)
80384c
BuildRequires:    perl(Data::Dumper)
80384c
BuildRequires:    perl(Getopt::Long)
80384c
BuildRequires:    perl(IPC::Open3)
743cec
BuildRequires:    perl(JSON)
80384c
BuildRequires:    perl(Socket)
80384c
BuildRequires:    perl(Sys::Hostname)
80384c
BuildRequires:    perl(Test::More)
80384c
BuildRequires:    perl(Time::HiRes)
80384c
%{?with_init_systemd:BuildRequires: systemd}
80384c
80384c
Requires:         bash
80384c
Requires:         fileutils
80384c
Requires:         grep
80384c
Requires:         %{name}-common%{?_isa} = %{sameevr}
80384c
%{?scl:Requires:%scl_runtime}
80384c
489963
Provides:         bundled(boost) = 1.59
80384c
%if %{with mysql_names}
80384c
Provides:         mysql = %{sameevr}
80384c
Provides:         mysql%{?_isa} = %{sameevr}
80384c
Provides:         mysql-compat-client = %{sameevr}
80384c
Provides:         mysql-compat-client%{?_isa} = %{sameevr}
80384c
%endif
80384c
80384c
%{?with_conflicts:Conflicts:        mariadb}
80384c
# mysql-cluster used to be built from this SRPM, but no more
80384c
Obsoletes:        mysql-cluster < 5.1.44
80384c
80384c
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
80384c
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
80384c
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
80384c
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so)$
80384c
%else
80384c
%filter_from_requires /perl(\(hostnames\|lib::mtr\|lib::v1\|mtr_\|My::\)/d
80384c
%filter_provides_in -P (%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\.so)
80384c
%filter_provides_in -P %{_libexecdir}/mysqld
80384c
%filter_setup
80384c
%endif
80384c
80384c
%description
80384c
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
80384c
client/server implementation consisting of a server daemon (mysqld)
80384c
and many different client programs and libraries. The base package
80384c
contains the standard MySQL client programs and generic MySQL files.
80384c
80384c
80384c
%if %{with clibrary}
80384c
%package          libs
80384c
Summary:          The shared libraries required for MySQL clients
80384c
Group:            Applications/Databases
80384c
Requires:         %{name}-common%{?_isa} = %{sameevr}
80384c
%{?scl:Requires:%scl_runtime}
80384c
%if %{with mysql_names}
80384c
Provides:         mysql-libs = %{sameevr}
80384c
Provides:         mysql-libs%{?_isa} = %{sameevr}
80384c
%endif
80384c
80384c
%description      libs
489963
The mysql-libs package provides the essential shared libraries for any
80384c
MySQL client program or interface. You will need to install this package
80384c
to use any other MySQL package or any clients that need to connect to a
80384c
MySQL server.
80384c
%endif
80384c
80384c
80384c
%if %{with config}
80384c
%package          config
80384c
Summary:          The config files required by server and client
80384c
Group:            Applications/Databases
80384c
%{?scl:Requires:%scl_runtime}
80384c
80384c
%description      config
80384c
The package provides the config file my.cnf and my.cnf.d directory used by any
80384c
MariaDB or MySQL program. You will need to install this package to use any
80384c
other MariaDB or MySQL package if the config files are not provided in the
80384c
package itself.
80384c
%endif
80384c
80384c
80384c
%if %{with common}
80384c
%package          common
80384c
Summary:          The shared files required for MySQL server and client
80384c
Group:            Applications/Databases
80384c
Requires:         %{_sysconfdir}/my.cnf
80384c
%{?scl:Requires:%scl_runtime}
80384c
80384c
%description      common
80384c
The mysql-common package provides the essential shared files for any
80384c
MySQL program. You will need to install this package to use any other
80384c
MySQL package.
80384c
%endif
80384c
80384c
80384c
%if %{with errmsg}
80384c
%package          errmsg
80384c
Summary:          The error messages files required by server and embedded
80384c
Group:            Applications/Databases
80384c
Requires:         %{name}-common%{?_isa} = %{sameevr}
80384c
%{?scl:Requires:%scl_runtime}
80384c
80384c
%description      errmsg
80384c
The package provides error messages files for the MySQL daemon and the
80384c
embedded server. You will need to install this package to use any of those
80384c
MySQL packages.
80384c
%endif
80384c
80384c
80384c
%package          server
80384c
Summary:          The MySQL server and related files
80384c
Group:            Applications/Databases
80384c
80384c
# note: no version here = %%{sameevr}
80384c
%if %{with mysql_names}
80384c
Requires:         mysql-compat-client%{?_isa}
80384c
Requires:         mysql%{?_isa}
80384c
%else
80384c
Requires:         %{name}%{?_isa}
80384c
%endif
80384c
Requires:         %{name}-common%{?_isa} = %{sameevr}
80384c
Requires:         %{_sysconfdir}/my.cnf
80384c
Requires:         %{_sysconfdir}/my.cnf.d
80384c
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
80384c
Requires:         sh-utils
80384c
Requires(pre):    /usr/sbin/useradd
80384c
%if %{with init_systemd}
80384c
# We require this to be present for %%{_tmpfilesdir}
80384c
Requires:         systemd
80384c
# Make sure it's there when scriptlets run, too
80384c
Requires(pre):    systemd
80384c
Requires(posttrans): systemd
80384c
%{?systemd_requires: %systemd_requires}
80384c
%endif
80384c
# mysqlhotcopy needs DBI/DBD support
80384c
Requires:         perl(DBI)
80384c
Requires:         perl(DBD::mysql)
80384c
%{?scl:Requires:%scl_runtime}
80384c
%{?scl:Requires:%{_root_bindir}/scl_source}
80384c
%{?scl:Requires(post): policycoreutils-python libselinux-utils}
80384c
%if %{with mysql_names}
80384c
Provides:         mysql-server = %{sameevr}
80384c
Provides:         mysql-server%{?_isa} = %{sameevr}
80384c
Provides:         mysql-compat-server = %{sameevr}
80384c
Provides:         mysql-compat-server%{?_isa} = %{sameevr}
80384c
%endif
80384c
%{?with_conflicts:Conflicts:        mariadb-server}
80384c
%{?with_conflicts:Conflicts:        mariadb-galera-server}
80384c
80384c
%description      server
80384c
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
80384c
client/server implementation consisting of a server daemon (mysqld)
80384c
and many different client programs and libraries. This package contains
80384c
the MySQL server and some accompanying files and directories.
80384c
80384c
80384c
%if %{with devel}
80384c
%package          devel
80384c
Summary:          Files for development of MySQL applications
80384c
Group:            Applications/Databases
80384c
%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
80384c
Requires:         openssl-devel%{?_isa}
80384c
%{?scl:Requires:%scl_runtime}
80384c
%{?with_conflicts:Conflicts:        mariadb-devel}
80384c
80384c
%description      devel
80384c
MySQL is a multi-user, multi-threaded SQL database server. This
80384c
package contains the libraries and header files that are needed for
80384c
developing MySQL client applications.
80384c
%endif
80384c
80384c
80384c
%if %{with embedded}
80384c
%package          embedded
80384c
Summary:          MySQL as an embeddable library
80384c
Group:            Applications/Databases
80384c
Requires:         %{name}-common%{?_isa} = %{sameevr}
80384c
Requires:         %{name}-errmsg%{?_isa} = %{sameevr}
80384c
%{?scl:Requires:%scl_runtime}
80384c
%if %{with mysql_names}
80384c
Provides:         mysql-embedded = %{sameevr}
80384c
Provides:         mysql-embedded%{?_isa} = %{sameevr}
80384c
%endif
80384c
80384c
%description      embedded
80384c
MySQL is a multi-user, multi-threaded SQL database server. This
80384c
package contains a version of the MySQL server that can be embedded
80384c
into a client application instead of running as a separate process.
80384c
80384c
80384c
%package          embedded-devel
80384c
Summary:          Development files for MySQL as an embeddable library
80384c
Group:            Applications/Databases
80384c
Requires:         %{name}-embedded%{?_isa} = %{sameevr}
80384c
Requires:         %{name}-devel%{?_isa} = %{sameevr}
80384c
%{?scl:Requires:%scl_runtime}
80384c
%{?with_conflicts:Conflicts:        mariadb-embedded-devel}
80384c
80384c
%description      embedded-devel
80384c
MySQL is a multi-user, multi-threaded SQL database server. This
80384c
package contains files needed for developing and testing with
80384c
the embedded version of the MySQL server.
80384c
%endif
80384c
80384c
80384c
%if %{with bench}
80384c
%package          bench
80384c
Summary:          MySQL benchmark scripts and data
80384c
Group:            Applications/Databases
80384c
Requires:         %{name}%{?_isa} = %{sameevr}
80384c
%{?scl:Requires:%scl_runtime}
80384c
%{?with_conflicts:Conflicts:        mariadb-bench}
80384c
%if %{with mysql_names}
80384c
Provides:         mysql-bench = %{sameevr}
80384c
Provides:         mysql-bench%{?_isa} = %{sameevr}
80384c
%endif
80384c
80384c
%description      bench
80384c
MySQL is a multi-user, multi-threaded SQL database server. This
80384c
package contains benchmark scripts and data for use when benchmarking
80384c
MySQL.
80384c
%endif
80384c
80384c
80384c
%if %{with test}
80384c
%package          test
80384c
Summary:          The test suite distributed with MySQL
80384c
Group:            Applications/Databases
80384c
Requires:         %{name}%{?_isa} = %{sameevr}
80384c
Requires:         %{name}-common%{?_isa} = %{sameevr}
80384c
Requires:         %{name}-server%{?_isa} = %{sameevr}
80384c
Requires:         perl(Env)
80384c
Requires:         perl(Exporter)
80384c
Requires:         perl(Fcntl)
80384c
Requires:         perl(File::Temp)
80384c
Requires:         perl(Data::Dumper)
80384c
Requires:         perl(Getopt::Long)
80384c
Requires:         perl(IPC::Open3)
743cec
Requires:         perl(JSON)
80384c
Requires:         perl(Socket)
80384c
Requires:         perl(Sys::Hostname)
80384c
Requires:         perl(Test::More)
80384c
Requires:         perl(Time::HiRes)
80384c
%{?scl:Requires:%scl_runtime}
80384c
%{?with_conflicts:Conflicts:        mariadb-test}
80384c
%if %{with mysql_names}
80384c
Provides:         mysql-test = %{sameevr}
80384c
Provides:         mysql-test%{?_isa} = %{sameevr}
80384c
%endif
80384c
80384c
%description      test
80384c
MySQL is a multi-user, multi-threaded SQL database server. This
80384c
package contains the regression test suite distributed with
80384c
the MySQL sources.
80384c
%endif
80384c
80384c
80384c
%prep
80384c
%setup -q -n mysql-%{version}
80384c
%patch1 -p1
80384c
%patch2 -p1
80384c
%patch3 -p1
80384c
%patch4 -p1
80384c
%patch5 -p1
80384c
%patch6 -p1
80384c
%patch8 -p1
80384c
%patch9 -p1
80384c
%patch10 -p1
80384c
%patch11 -p1
80384c
%patch12 -p1
80384c
%patch13 -p1
489963
%patch14 -p1
489963
%patch15 -p1
80384c
%patch51 -p1
80384c
%patch52 -p1
80384c
%patch55 -p1
80384c
%patch56 -p1
80384c
%patch57 -p1
80384c
%if %{with_shared_lib_major_hack}
80384c
%patch70 -p1
80384c
%endif
80384c
80384c
# Modify tests to pass on all archs
80384c
pushd mysql-test
80384c
80384c
add_test () {
80384c
    echo $1 >> %{skiplist}
80384c
}
80384c
80384c
touch %{skiplist}
80384c
80384c
# Workaround for upstream bug #http://bugs.mysql.com/56342
489963
rm t/ssl_8k_key-master.opt
80384c
80384c
popd
80384c
80384c
cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} \
80384c
   %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE19} %{SOURCE31} scripts
80384c
80384c
%if 0%{?scl:1}
80384c
%patch90 -p1
80384c
%endif
80384c
80384c
%build
80384c
# fail quickly and obviously if user tries to build as root
80384c
%if %runselftest
80384c
    if [ x"$(id -u)" = "x0" ]; then
80384c
        echo "mysql's regression tests fail if run as root."
80384c
        echo "If you really need to build the RPM as root, use"
80384c
        echo "--nocheck to skip the regression tests."
80384c
        exit 1
80384c
    fi
80384c
%endif
80384c
80384c
# build out of source
80384c
mkdir build && pushd build
80384c
80384c
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
80384c
# so we can't use %%{_datadir} and so forth here.
80384c
cmake .. \
80384c
         -DBUILD_CONFIG=mysql_release \
80384c
         -DFEATURE_SET="community" \
80384c
         -DWITH_READLINE=ON \
80384c
         -DINSTALL_LAYOUT=RPM \
80384c
         -DDAEMON_NAME="%{daemon_name}" \
80384c
         -DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
80384c
%if 0%{?scl:1}
80384c
         -DSCL_NAME="%{?scl}" \
80384c
         -DSCL_NAME_UPPER="%{?scl_upper}" \
80384c
         -DSCL_SCRIPTS="%{?_scl_scripts}" \
80384c
%endif
80384c
         -DLOG_LOCATION="%{logfile}" \
80384c
         -DPID_FILE_DIR="%{pidfiledir}" \
80384c
         -DNICE_PROJECT_NAME="MySQL" \
80384c
         -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
80384c
         -DSYSCONFDIR="%{_sysconfdir}" \
80384c
         -DSYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
80384c
         -DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
80384c
         -DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
80384c
         -DINSTALL_INCLUDEDIR=include/mysql \
80384c
         -DINSTALL_INFODIR=share/info \
80384c
         -DINSTALL_LIBDIR="%{_lib}/mysql" \
80384c
         -DINSTALL_MANDIR=share/man \
80384c
         -DINSTALL_MYSQLSHAREDIR=share/%{pkg_name} \
80384c
         -DINSTALL_MYSQLTESTDIR=share/mysql-test \
743cec
         -DINSTALL_SECURE_FILE_PRIVDIR="%{_localstatedir}/lib/mysql-files" \
80384c
         -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
80384c
         -DINSTALL_SBINDIR=libexec \
80384c
         -DINSTALL_SCRIPTDIR=bin \
80384c
         -DINSTALL_SQLBENCHDIR=share \
80384c
         -DINSTALL_SUPPORTFILESDIR=share/%{pkg_name} \
80384c
         -DMYSQL_DATADIR="%{dbdatadir}" \
80384c
         -DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
80384c
         -DENABLED_LOCAL_INFILE=ON \
80384c
         -DENABLE_DTRACE=ON \
80384c
         -DWITH_INNODB_MEMCACHED=ON \
743cec
         -DWITH_SYMVER16=ON \
80384c
         -DWITH_EMBEDDED_SERVER=ON \
80384c
         -DWITH_EMBEDDED_SHARED_LIBRARY=ON \
80384c
         -DWITH_EDITLINE=bundled \
80384c
         -DWITH_LIBEVENT=system \
80384c
         -DWITH_SSL=system \
80384c
         -DWITH_ZLIB=system \
80384c
         -DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
80384c
         -DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
80384c
%{?with_debug: -DWITH_DEBUG=1}\
80384c
         -DTMPDIR=/var/tmp \
80384c
         %{?_hardened_build:-DWITH_MYSQLD_LDFLAGS="-pie -Wl,-z,relro,-z,now"}
80384c
80384c
make %{?_smp_mflags} VERBOSE=1
80384c
80384c
popd
80384c
80384c
%install
80384c
pushd build
80384c
make DESTDIR=%{buildroot} install
80384c
80384c
# multilib header support
80384c
# we only apply this to known Red Hat multilib arches, per bug #181335
80384c
unamei=$(uname -i)
80384c
%ifarch %{arm}
80384c
unamei=arm
80384c
%endif
80384c
%ifarch %{power64}
80384c
unamei=ppc64
80384c
%endif
80384c
%ifarch %{arm} aarch64 %{ix86} x86_64 ppc %{power64} %{sparc} s390 s390x
80384c
mv %{buildroot}%{_includedir}/mysql/my_config.h %{buildroot}%{_includedir}/mysql/my_config_${unamei}.h
80384c
install -p -m 644 %{SOURCE4} %{buildroot}%{_includedir}/mysql/
80384c
mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
80384c
install -p -m 0755 scripts/mysql_config_multilib %{buildroot}%{_bindir}/mysql_config
80384c
%endif
80384c
80384c
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
80384c
# but that's pretty wacko --- see also %%{name}-file-contents.patch)
80384c
install -p -m 0644 Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
80384c
install -p -m 0644 Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
80384c
80384c
mkdir -p %{buildroot}%{logfiledir}
80384c
touch %{buildroot}%{logfile}
80384c
80384c
mkdir -p %{buildroot}%{pidfiledir}
80384c
install -p -m 0755 -d %{buildroot}%{dbdatadir}
743cec
install -p -m 0750 -d %{buildroot}%{_localstatedir}/lib/mysql-files
80384c
80384c
# create directory for socket
80384c
%{?scl:install -p -m 0755 -d %{buildroot}/var/lib/mysql}
80384c
80384c
%if %{with config}
80384c
install -D -p -m 0644 scripts/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
80384c
%endif
80384c
80384c
# install systemd unit files and scripts for handling server startup
80384c
%if %{with init_systemd}
80384c
install -D -p -m 644 scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
80384c
install -D -p -m 0644 scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{name}.conf
80384c
%endif
80384c
80384c
# install SysV init script
80384c
%if %{with init_sysv}
80384c
install -D -p -m 755 scripts/mysql.init %{buildroot}%{daemondir}/%{daemon_name}
80384c
%endif
80384c
80384c
# helper scripts for service starting
80384c
install -p -m 755 scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
80384c
install -p -m 755 scripts/mysql-wait-ready %{buildroot}%{_libexecdir}/mysql-wait-ready
80384c
install -p -m 755 scripts/mysql-wait-stop %{buildroot}%{_libexecdir}/mysql-wait-stop
80384c
install -p -m 755 scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
80384c
install -p -m 755 scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade
80384c
install -p -m 644 scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common
80384c
install -D -p -m 0644 scripts/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
80384c
80384c
# daemon helper for fixing SELinux in systemd
80384c
%if %{with init_systemd} && 0%{?scl:1}
80384c
install -p -m 755 %{SOURCE40} %{buildroot}%{_libexecdir}/mysqld_safe-scl-helper
80384c
%endif
80384c
80384c
# mysql-test includes one executable that doesn't belong under /usr/share,
80384c
# so move it and provide a symlink
80384c
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
80384c
ln -s ../../../../../bin/my_safe_process %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
80384c
80384c
# not needed in rpm package
489963
rm %{buildroot}%{_bindir}/mysqlaccess.conf
489963
rm %{buildroot}%{_bindir}/mysql_embedded
489963
rm %{buildroot}%{_libdir}/mysql/*.a
489963
rm %{buildroot}%{_datadir}/%{pkg_name}/binary-configure
489963
rm %{buildroot}%{_datadir}/%{pkg_name}/magic
489963
rm %{buildroot}%{_datadir}/%{pkg_name}/mysql.server
489963
rm %{buildroot}%{_datadir}/%{pkg_name}/mysqld_multi.server
489963
rm %{buildroot}%{_mandir}/man1/comp_err.1*
489963
rm %{buildroot}%{_mandir}/man1/mysql-stress-test.pl.1*
489963
rm %{buildroot}%{_mandir}/man1/mysql-test-run.pl.1*
80384c
80384c
# put logrotate script where it needs to be
80384c
mkdir -p %{buildroot}%{logrotateddir}
80384c
mv %{buildroot}%{_datadir}/%{pkg_name}/mysql-log-rotate %{buildroot}%{logrotateddir}/%{daemon_name}
80384c
chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
80384c
80384c
%if %{with clibrary} && 0%{!?scl:1}
80384c
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
80384c
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
80384c
%endif
80384c
80384c
%if %{with debug}
80384c
mv %{buildroot}%{_libexecdir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
80384c
%endif
80384c
80384c
# Back to src dir
80384c
popd
80384c
80384c
# copy additional docs into build tree so %%doc will find them
80384c
install -p -m 0644 %{SOURCE6} %{basename:%{SOURCE6}}
80384c
install -p -m 0644 %{SOURCE7} %{basename:%{SOURCE7}}
80384c
80384c
# Install the list of skipped tests to be available for user runs
80384c
install -p -m 0644 mysql-test/%{skiplist} %{buildroot}%{_datadir}/mysql-test
80384c
80384c
# These are in fact identical
80384c
rm %{buildroot}%{_mandir}/man1/{mysqltest,mysql_client_test}_embedded.1
80384c
cp -p %{buildroot}%{_mandir}/man1/mysqltest.1 %{buildroot}%{_mandir}/man1/mysqltest_embedded.1
80384c
cp -p %{buildroot}%{_mandir}/man1/mysql_client_test.1 %{buildroot}%{_mandir}/man1/mysql_client_test_embedded.1
80384c
80384c
%if %{without clibrary}
80384c
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so
80384c
unlink %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so
489963
rm -r %{buildroot}%{_libdir}/mysql/libmysqlclient*.so.*
80384c
%endif
80384c
80384c
%if %{without embedded}
489963
rm %{buildroot}%{_libdir}/mysql/libmysqld.so*
489963
rm %{buildroot}%{_bindir}/{mysql_client_test_embedded,mysqltest_embedded}
489963
rm %{buildroot}%{_mandir}/man1/{mysql_client_test_embedded,mysqltest_embedded}.1*
80384c
%endif
80384c
80384c
%if %{without devel}
489963
rm %{buildroot}%{_bindir}/mysql_config*
489963
rm -r %{buildroot}%{_includedir}/mysql
489963
rm %{buildroot}%{_datadir}/aclocal/mysql.m4
489963
rm %{buildroot}%{_libdir}/mysql/libmysqlclient*.so
489963
rm %{buildroot}%{_mandir}/man1/mysql_config.1*
80384c
%endif
80384c
80384c
%if %{without client}
489963
rm %{buildroot}%{_bindir}/{msql2mysql,mysql,mysql_config_editor,\
80384c
mysql_find_rows,mysql_plugin,mysql_waitpid,mysqlaccess,mysqladmin,mysqlbinlog,\
80384c
mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}
489963
rm %{buildroot}%{_mandir}/man1/{msql2mysql,mysql,mysql_config_editor,\
80384c
mysql_find_rows,mysql_plugin,mysql_waitpid,mysqlaccess,mysqladmin,mysqlbinlog,\
80384c
mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}.1*
80384c
%endif
80384c
80384c
%if %{with config}
80384c
mkdir -p %{buildroot}%{_sysconfdir}/my.cnf.d
80384c
%else
489963
rm %{buildroot}%{_sysconfdir}/my.cnf
80384c
%endif
80384c
80384c
%if %{without common}
489963
rm -r %{buildroot}%{_datadir}/%{pkg_name}/charsets
80384c
%endif
80384c
80384c
%if %{without errmsg}
489963
rm %{buildroot}%{_datadir}/%{pkg_name}/errmsg-utf8.txt
489963
rm -r %{buildroot}%{_datadir}/%{pkg_name}/{english,bulgarian,czech,danish,dutch,estonian,\
80384c
french,german,greek,hungarian,italian,japanese,korean,norwegian,norwegian-ny,\
80384c
polish,portuguese,romanian,russian,serbian,slovak,spanish,swedish,ukrainian}
80384c
%endif
80384c
80384c
%if %{without bench}
489963
rm -r %{buildroot}%{_datadir}/sql-bench
80384c
%endif
80384c
80384c
%if %{without test}
489963
rm %{buildroot}%{_bindir}/{mysql_client_test,my_safe_process}
489963
rm -r %{buildroot}%{_datadir}/mysql-test
489963
rm %{buildroot}%{_mandir}/man1/mysql_client_test.1*
80384c
%endif
80384c
80384c
%if 0%{?scl:1}
80384c
# generate a configuration file for daemon
80384c
cat << EOF | tee -a %{buildroot}%{?_scl_scripts}/service-environment
80384c
# Services are started in a fresh environment without any influence of user's
80384c
# environment (like environment variable values). As a consequence,
80384c
# information of all enabled collections will be lost during service start up.
80384c
# If user needs to run a service under any software collection enabled, this
489963
# collection has to be written into %{scl_upper}_SCLS_ENABLED variable
80384c
# in %{?_scl_scripts}/service-environment.
80384c
%{scl_upper}_SCLS_ENABLED="%{scl}"
80384c
EOF
80384c
%endif #scl
80384c
80384c
%check
80384c
%if %{with test}
80384c
%if %runselftest
80384c
pushd build
80384c
make test VERBOSE=1
80384c
pushd mysql-test
80384c
cp ../../mysql-test/%{skiplist} .
80384c
# builds might happen at the same host, avoid collision
80384c
export MTR_BUILD_THREAD=%{__isa_bits}
80384c
./mtr \
80384c
  --mem --parallel=auto --force --retry=0 \
743cec
  --mysqld=--binlog-format=mixed --skip-rpl \
80384c
  --suite-timeout=720 --testcase-timeout=30 \
489963
  --clean-vardir --big-test \
743cec
%if %{check_testsuite}
743cec
  --max-test-fail=0 || :
743cec
%else
743cec
  --skip-test-list=%{skiplist}
743cec
%endif
489963
  rm -r var $(readlink var)
80384c
popd
80384c
popd
80384c
%endif
80384c
%endif
80384c
80384c
%pre server
80384c
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
80384c
/usr/sbin/useradd -M -N -g mysql -o -r -d %{mysqluserhome} -s /sbin/nologin \
80384c
  -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
80384c
80384c
%if %{with clibrary}
80384c
%post libs -p /sbin/ldconfig
80384c
%endif
80384c
80384c
%if %{with embedded}
80384c
%post embedded -p /sbin/ldconfig
80384c
%endif
80384c
80384c
%post server
80384c
%if 0%{?scl:1}
80384c
semanage fcontext -a -e "%{se_daemon_source}" "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
80384c
semanage fcontext -a -t mysqld_var_run_t "%{pidfiledir}" >/dev/null 2>&1 || :
80384c
# work-around for rhbz#1203991
80384c
semanage fcontext -a -t mysqld_etc_t '/etc/my\.cnf\.d/.*' >/dev/null 2>&1 || :
80384c
%if %{with init_systemd}
80384c
# work-around for rhbz#1172683
80384c
semanage fcontext -a -t mysqld_safe_exec_t %{_root_libexecdir}/mysqld_safe-scl-helper >/dev/null 2>&1 || :
80384c
%endif
80384c
selinuxenabled && load_policy || :
80384c
restorecon -R "%{?_scl_root}/" >/dev/null 2>&1 || :
80384c
restorecon -R "%{_sysconfdir}" >/dev/null 2>&1 || :
80384c
restorecon -R "%{_localstatedir}" >/dev/null 2>&1 || :
80384c
restorecon -R "%{daemondir}/%{daemon_name}%{?with_init_systemd:.service}" >/dev/null 2>&1 || :
80384c
restorecon -R "%{pidfiledir}" >/dev/null 2>&1 || :
80384c
%endif
80384c
%if %{with init_systemd}
80384c
%systemd_post %{daemon_name}.service
80384c
%endif
80384c
%if %{with init_sysv}
80384c
if [ $1 = 1 ]; then
80384c
    /sbin/chkconfig --add %{daemon_name}
80384c
fi
80384c
%endif
80384c
80384c
%preun server
80384c
%if %{with init_systemd}
80384c
%systemd_preun %{daemon_name}.service
80384c
%endif
80384c
%if %{with init_sysv}
80384c
if [ $1 = 0 ]; then
80384c
    /sbin/service %{daemon_name} stop >/dev/null 2>&1
80384c
    /sbin/chkconfig --del %{daemon_name}
80384c
fi
80384c
%endif
80384c
80384c
%if %{with clibrary}
80384c
%postun libs -p /sbin/ldconfig
80384c
%endif
80384c
80384c
%if %{with embedded}
80384c
%postun embedded -p /sbin/ldconfig
80384c
%endif
80384c
80384c
%postun server
80384c
%if %{with init_systemd}
80384c
%systemd_postun_with_restart %{daemon_name}.service
80384c
%endif
80384c
%if %{with init_sysv}
80384c
if [ $1 -ge 1 ]; then
80384c
    /sbin/service %{daemon_name} condrestart >/dev/null 2>&1 || :
80384c
fi
80384c
%endif
80384c
80384c
%if %{with client}
80384c
%files
80384c
%{_bindir}/msql2mysql
80384c
%{_bindir}/mysql
80384c
%{_bindir}/mysql_config_editor
80384c
%{_bindir}/mysql_find_rows
80384c
%{_bindir}/mysql_plugin
80384c
%{_bindir}/mysql_waitpid
80384c
%{_bindir}/mysqlaccess
80384c
%{_bindir}/mysqladmin
80384c
%{_bindir}/mysqlbinlog
80384c
%{_bindir}/mysqlcheck
80384c
%{_bindir}/mysqldump
80384c
%{_bindir}/mysqlimport
80384c
%{_bindir}/mysqlshow
80384c
%{_bindir}/mysqlslap
80384c
%{_bindir}/my_print_defaults
80384c
80384c
%{_mandir}/man1/msql2mysql.1*
80384c
%{_mandir}/man1/mysql.1*
80384c
%{_mandir}/man1/mysql_config_editor.1*
80384c
%{_mandir}/man1/mysql_find_rows.1*
80384c
%{_mandir}/man1/mysql_plugin.1*
80384c
%{_mandir}/man1/mysql_waitpid.1*
80384c
%{_mandir}/man1/mysqlaccess.1*
80384c
%{_mandir}/man1/mysqladmin.1*
80384c
%{_mandir}/man1/mysqlbinlog.1*
80384c
%{_mandir}/man1/mysqlcheck.1*
80384c
%{_mandir}/man1/mysqldump.1*
80384c
%{_mandir}/man1/mysqlimport.1*
80384c
%{_mandir}/man1/mysqlshow.1*
80384c
%{_mandir}/man1/mysqlslap.1*
80384c
%{_mandir}/man1/my_print_defaults.1*
80384c
%endif
80384c
80384c
%if %{with clibrary}
80384c
%files libs
80384c
%{_libdir}/mysql/libmysqlclient*.so.*
80384c
%{!?scl:%config(noreplace) %{_sysconfdir}/ld.so.conf.d/*}
80384c
%endif
80384c
80384c
%if %{with config}
80384c
%files config
80384c
# although the default my.cnf contains only server settings, we put it in the
80384c
# common package because it can be used for client settings too.
80384c
%dir %{_sysconfdir}/my.cnf.d
80384c
%config(noreplace) %{_sysconfdir}/my.cnf
80384c
%endif
80384c
80384c
%if %{with common}
80384c
%files common
80384c
%doc README COPYING README.mysql-license README.mysql-docs
80384c
%doc storage/innobase/COPYING.Percona storage/innobase/COPYING.Google
80384c
%dir %{_libdir}/mysql
80384c
%dir %{_datadir}/%{pkg_name}
80384c
%{_datadir}/%{pkg_name}/charsets
80384c
%endif
80384c
80384c
%if %{with errmsg}
80384c
%files errmsg
80384c
%{_datadir}/%{pkg_name}/errmsg-utf8.txt
80384c
%{_datadir}/%{pkg_name}/english
80384c
%lang(bg) %{_datadir}/%{pkg_name}/bulgarian
80384c
%lang(cs) %{_datadir}/%{pkg_name}/czech
80384c
%lang(da) %{_datadir}/%{pkg_name}/danish
80384c
%lang(nl) %{_datadir}/%{pkg_name}/dutch
80384c
%lang(et) %{_datadir}/%{pkg_name}/estonian
80384c
%lang(fr) %{_datadir}/%{pkg_name}/french
80384c
%lang(de) %{_datadir}/%{pkg_name}/german
80384c
%lang(el) %{_datadir}/%{pkg_name}/greek
80384c
%lang(hu) %{_datadir}/%{pkg_name}/hungarian
80384c
%lang(it) %{_datadir}/%{pkg_name}/italian
80384c
%lang(ja) %{_datadir}/%{pkg_name}/japanese
80384c
%lang(ko) %{_datadir}/%{pkg_name}/korean
80384c
%lang(no) %{_datadir}/%{pkg_name}/norwegian
80384c
%lang(no) %{_datadir}/%{pkg_name}/norwegian-ny
80384c
%lang(pl) %{_datadir}/%{pkg_name}/polish
80384c
%lang(pt) %{_datadir}/%{pkg_name}/portuguese
80384c
%lang(ro) %{_datadir}/%{pkg_name}/romanian
80384c
%lang(ru) %{_datadir}/%{pkg_name}/russian
80384c
%lang(sr) %{_datadir}/%{pkg_name}/serbian
80384c
%lang(sk) %{_datadir}/%{pkg_name}/slovak
80384c
%lang(es) %{_datadir}/%{pkg_name}/spanish
80384c
%lang(sv) %{_datadir}/%{pkg_name}/swedish
80384c
%lang(uk) %{_datadir}/%{pkg_name}/ukrainian
80384c
%endif
80384c
80384c
%files server
80384c
%{_bindir}/myisamchk
80384c
%{_bindir}/myisam_ftdump
80384c
%{_bindir}/myisamlog
80384c
%{_bindir}/myisampack
80384c
%{_bindir}/mysql_convert_table_format
80384c
%{_bindir}/mysql_fix_extensions
80384c
%{_bindir}/mysql_install_db
80384c
%{_bindir}/mysql_secure_installation
80384c
%{_bindir}/mysql_setpermission
80384c
%{_bindir}/mysql_tzinfo_to_sql
80384c
%{_bindir}/mysql_upgrade
80384c
%{_bindir}/mysql_zap
80384c
%{_bindir}/mysqlbug
80384c
%{_bindir}/mysqldumpslow
80384c
%{_bindir}/mysqld_multi
80384c
%{_bindir}/mysqld_safe
80384c
%{_bindir}/mysqlhotcopy
80384c
%{_bindir}/mysqltest
80384c
%{_bindir}/innochecksum
80384c
%{_bindir}/perror
80384c
%{_bindir}/replace
80384c
%{_bindir}/resolve_stack_dump
80384c
%{_bindir}/resolveip
80384c
80384c
%config(noreplace) %{_sysconfdir}/my.cnf.d/%{pkg_name}-server.cnf
743cec
80384c
%{_libexecdir}/mysqld
80384c
%if %{with init_systemd} && 0%{?scl:1}
80384c
%{_libexecdir}/mysqld_safe-scl-helper
80384c
%endif
80384c
80384c
%{_libdir}/mysql/INFO_SRC
80384c
%{_libdir}/mysql/INFO_BIN
80384c
%if %{without common}
80384c
%dir %{_datadir}/%{pkg_name}
80384c
%endif
80384c
80384c
%{_libdir}/mysql/plugin
80384c
80384c
%{_mandir}/man1/myisamchk.1*
80384c
%{_mandir}/man1/myisamlog.1*
80384c
%{_mandir}/man1/myisampack.1*
80384c
%{_mandir}/man1/mysql_convert_table_format.1*
80384c
%{_mandir}/man1/myisam_ftdump.1*
80384c
%{_mandir}/man1/mysql.server.1*
80384c
%{_mandir}/man1/mysql_fix_extensions.1*
80384c
%{_mandir}/man1/mysql_install_db.1*
80384c
%{_mandir}/man1/mysql_secure_installation.1*
80384c
%{_mandir}/man1/mysql_upgrade.1*
80384c
%{_mandir}/man1/mysql_zap.1*
80384c
%{_mandir}/man1/mysqlbug.1*
80384c
%{_mandir}/man1/mysqldumpslow.1*
80384c
%{_mandir}/man1/mysqld_multi.1*
80384c
%{_mandir}/man1/mysqld_safe.1*
80384c
%{_mandir}/man1/mysqlhotcopy.1*
80384c
%{_mandir}/man1/mysqlman.1*
80384c
%{_mandir}/man1/mysql_setpermission.1*
80384c
%{_mandir}/man1/mysqltest.1*
80384c
%{_mandir}/man1/innochecksum.1*
80384c
%{_mandir}/man1/perror.1*
80384c
%{_mandir}/man1/replace.1*
80384c
%{_mandir}/man1/resolve_stack_dump.1*
80384c
%{_mandir}/man1/resolveip.1*
80384c
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
80384c
%{_mandir}/man8/mysqld.8*
80384c
80384c
%{_datadir}/%{pkg_name}/dictionary.txt
80384c
%{_datadir}/%{pkg_name}/fill_help_tables.sql
80384c
%{_datadir}/%{pkg_name}/innodb_memcached_config.sql
80384c
%{_datadir}/%{pkg_name}/mysql_security_commands.sql
80384c
%{_datadir}/%{pkg_name}/mysql_system_tables.sql
80384c
%{_datadir}/%{pkg_name}/mysql_system_tables_data.sql
80384c
%{_datadir}/%{pkg_name}/mysql_test_data_timezone.sql
80384c
%{_datadir}/%{pkg_name}/my-*.cnf
80384c
80384c
%{daemondir}/%{daemon_name}*
80384c
%{_libexecdir}/mysql-prepare-db-dir
80384c
%{_libexecdir}/mysql-wait-ready
80384c
%{_libexecdir}/mysql-wait-stop
80384c
%{_libexecdir}/mysql-check-socket
80384c
%{_libexecdir}/mysql-check-upgrade
80384c
%{_libexecdir}/mysql-scripts-common
80384c
80384c
%{?with_init_systemd:%{_tmpfilesdir}/%{name}.conf}
80384c
%attr(0755,mysql,mysql) %dir %{dbdatadir}
80384c
%{?scl:%attr(0755,mysql,mysql) %dir /var/lib/mysql}
80384c
%attr(0755,mysql,mysql) %dir %{pidfiledir}
80384c
%attr(0755,mysql,mysql) %dir %{_localstatedir}/lib/mysql
743cec
%attr(0750,mysql,mysql) %dir %{_localstatedir}/lib/mysql-files
80384c
%attr(0750,mysql,mysql) %dir %{logfiledir}
80384c
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
80384c
%config(noreplace) %{logrotateddir}/%{daemon_name}
80384c
80384c
%{?scl:%config(noreplace) %{?_scl_scripts}/service-environment}
80384c
80384c
%if %{with devel}
80384c
%files devel
80384c
%{_bindir}/mysql_config
80384c
%{_bindir}/mysql_config-%{__isa_bits}
80384c
%{_includedir}/mysql
80384c
%{_datadir}/aclocal/mysql.m4
80384c
%if %{with clibrary}
80384c
%{_libdir}/mysql/libmysqlclient.so
80384c
%{_libdir}/mysql/libmysqlclient_r.so
80384c
%endif
80384c
%{_mandir}/man1/mysql_config.1*
80384c
%endif
80384c
80384c
%if %{with embedded}
80384c
%files embedded
80384c
%{_libdir}/mysql/libmysqld.so.*
80384c
80384c
%files embedded-devel
80384c
%{_libdir}/mysql/libmysqld.so
80384c
%{_bindir}/mysql_client_test_embedded
80384c
%{_bindir}/mysqltest_embedded
80384c
%{_mandir}/man1/mysql_client_test_embedded.1*
80384c
%{_mandir}/man1/mysqltest_embedded.1*
80384c
%endif
80384c
80384c
%if %{with bench}
80384c
%files bench
80384c
%{_datadir}/sql-bench
80384c
%endif
80384c
80384c
%if %{with test}
80384c
%files test
80384c
%{_bindir}/mysql_client_test
80384c
%{_bindir}/my_safe_process
80384c
%attr(-,mysql,mysql) %{_datadir}/mysql-test
80384c
%{_mandir}/man1/mysql_client_test.1*
80384c
%endif
80384c
80384c
%changelog
489963
* Mon Aug 28 2017 Honza Horak <hhorak@redhat.com> - 5.6.37-5
489963
- Remove the attempt to implement mysqld@.service, because mysqld_safe
489963
  is not capable of keeping arguments order as mysqld expects
489963
  Reverts: #1452518
489963
489963
* Wed Aug 16 2017 Honza Horak <hhorak@redhat.com> - 5.6.37-4
489963
- Fix mysql-default-logdir.patch, default_log_dir must be set outside of case
489963
  Related: #1482122
489963
489963
* Wed Aug 16 2017 Honza Horak <hhorak@redhat.com> - 5.6.37-3
489963
- Fix default log dir path
489963
  Resolves: #1482122
489963
489963
* Thu Aug 03 2017 Honza Horak <hhorak@redhat.com> - 5.6.37-2
489963
- fix log file context after mysql_install_db creates log file
489963
  Resolves: #1477575
489963
489963
* Thu Jul 20 2017 Honza Horak <hhorak@redhat.com> - 5.6.37-1
489963
- Rebase to latest upstream 5.6.37
489963
  Also fixes many tests failures
489963
  Related: #1445525
489963
489963
* Fri Jun 23 2017 Michal Schorm <mschorm@redhat.com> - 5.6.36-2
489963
- Previous CVE fix was incomplete, fixed now
489963
- CVEs fixed by this commit, #1445537:
489963
  CVE-2017-3265
489963
- Resolves: #1445537
489963
489963
* Mon May 15 2017 Michal Schorm <mschorm@redhat.com> - 5.6.36-1
489963
- Udate to MySQL 5.6.36, for various fixes described at
489963
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-36.html
489963
- CVEs fixed by this commit, #1445525:
489963
  CVE-2017-3302 CVE-2017-3305/Riddle CVE-2016-5483/CVE-2017-3600
489963
  CVE-2017-3308 CVE-2017-3309 CVE-2017-3450 CVE-2017-3452
489963
  CVE-2017-3453 CVE-2017-3456 CVE-2017-3461 CVE-2017-3462
489963
  CVE-2017-3463 CVE-2017-3464 CVE-2017-3599
489963
- CVEs fixed by this commit, #1445533:
489963
  CVE-2016-8327 CVE-2017-3238 CVE-2017-3244 CVE-2017-3257
489963
  CVE-2017-3258 CVE-2017-3273 CVE-2017-3313 CVE-2017-3317
489963
  CVE-2017-3318 CVE-2017-3291
489963
- CVEs fixed by this commit, #1445537:
489963
  CVE-2017-3312 CVE-2017-3265
489963
- 'force' option for 'rm' removed in specfile
489963
- Testsuite extended by '--big-test' option
489963
- Following tests were disabled, for they started to fail or are unstable:
489963
  main.events_2
489963
- Resolves: #1452469; MD5 in FIPS mode
489963
            #1452515; bundled() provides
489963
            #1452518; rh-mysql56-mysqld@ wasn't made for scl
489963
743cec
* Thu Nov 03 2016 Honza Horak <hhorak@redhat.com> - 5.6.34-2
743cec
- Use correct dir for mysql-files
489963
  Related: #1384963
743cec
743cec
* Tue Oct 25 2016 Honza Horak <hhorak@redhat.com> - 5.6.34-1
743cec
- Update to MySQL 5.6.34, which contains various security fixes
743cec
  (https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-34.html)
489963
  Related: #1384963
743cec
743cec
* Thu Oct  6 2016 Jakub Dorňák <jdornak@redhat.com> - 5.6.33-1
743cec
- Update to MySQL 5.6.33, which contains various security fixes
743cec
  (https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html)
489963
  Resolves: #1384963
743cec
4210b0
* Wed Jul 20 2016 Jakub Dorňák <jdornak@redhat.com> - 5.6.32-1
4210b0
- Update to MySQL 5.6.32, which contains various security fixes
4210b0
  (http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-32.html)
4210b0
- Resolves: #1359623
4210b0
510bd7
* Tue Apr 26 2016 Jakub Dorňák <jdornak@redhat.com> - 5.6.30-1
510bd7
- Update to MySQL 5.6.30
4210b0
  Resolves: #1329672
510bd7
2c64ee
* Wed Jul 29 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.26-1
2c64ee
- Update to MySQL 5.6.26
2c64ee
  Related: #1247025
2c64ee
2c64ee
* Mon Jul 27 2015 Jakub Dorňák <jdornak@redhat.com> - 5.6.25-1
2c64ee
- Update to MySQL 5.6.25 containing various fixes described at:
2c64ee
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-25.html
2c64ee
- Resolves: #1247025
2c64ee
80384c
* Thu May 07 2015 Honza Horak <hhorak@redhat.com> - 5.6.24-3
80384c
- Fix using FIFO file as a general_log file
80384c
  Resolves: #1219496
80384c
80384c
* Thu Apr 23 2015 Honza Horak <hhorak@redhat.com> - 5.6.24-2
80384c
- Define context for pid file dir explicitely
80384c
  Resolves: #1207113
80384c
- Fix mysqladmin crash if run with -u root -p
80384c
  Resolves: #1207514
80384c
80384c
* Thu Apr 23 2015 Matej Muzila <mmuzila@redhat.com> - 5.6.24-1
80384c
- Update to MySQL 5.6.24 containing various fixes described at:
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-24.html
80384c
- Resolves: #1214590
80384c
- Also fixes: CVE-2015-0501 CVE-2015-2568 CVE-2015-0499 CVE-2015-2571
80384c
    CVE-2015-0433 CVE-2015-0441 CVE-2015-0505 CVE-2015-2573
80384c
80384c
* Fri Mar 20 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-9
80384c
- Add dependency for semanage
80384c
- Define SELinux context for files under /etc/my.cnf.d
80384c
  Related: #1203991
80384c
80384c
* Tue Mar 17 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-8
80384c
- Use correct comment in the init script
80384c
  Related: #1184604
80384c
80384c
* Sat Mar 14 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-7
80384c
- Do not use system libedit
80384c
  Related: #1202016
80384c
- Daemon wrapper to run process with proper SELinux context
80384c
  Resolves: #1202016
80384c
80384c
* Mon Mar 09 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-6
80384c
- Rebuild due to 'scls' removal
80384c
  Resolves: #1200052
80384c
80384c
* Mon Mar 09 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-5
80384c
- Release bump
80384c
80384c
* Tue Mar 03 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-4
80384c
- Do not use scl prefix more than once in paths
80384c
  Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html
80384c
- Check permissions when starting service on RHEL-6
80384c
  Resolves: #1194699
80384c
- Add SELinux rules for pid file
80384c
80384c
* Mon Feb 23 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-3
80384c
- Expand paths in perl scripts in mysql-test
80384c
- Use correct path in install_db script warning
80384c
- Use --no-defaults when checking server status before starting
80384c
80384c
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 5.6.23-2
80384c
- Wait for daemon ends
80384c
  Related: #1072958
80384c
80384c
* Wed Feb 18 2015 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.23-1
80384c
- Update to MySQL 5.6.23, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-23.html
80384c
- Expired certs patch now obsolete
80384c
- Fixed changelog
80384c
- Refreshed file contents patch
80384c
- Fix typo in server.cnf.in
80384c
80384c
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-16
80384c
- Remove NFS register feature for questionable usage for DBs
80384c
80384c
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-15
80384c
- Create directory for socket in build for SCL
80384c
80384c
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-14
80384c
- Require scl_source if building for scl
80384c
80384c
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-13
80384c
- Do not require -libs in -devel if -libs not built
80384c
80384c
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-12
80384c
- Do not define selinux specifically for /var/run and config, it is done
80384c
  generally for all /etc and /var
80384c
80384c
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-11
80384c
- Do not set selinux context  scl root during scl register
80384c
80384c
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-10
80384c
- Restorecon on sclroot in post script and move selinux actions before working
80384c
  with the service
80384c
80384c
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-9
80384c
- Filter provides from daemon binary
80384c
80384c
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-8
80384c
- Use scl call in the logrotate script
80384c
80384c
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-7
80384c
- Do not create log file in post script
80384c
80384c
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-6
80384c
- Use pkg_name for files in share
80384c
80384c
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-5
80384c
- Fix path for sysconfig file
80384c
  Filter provides in el6 properly
80384c
  Fix initscript file location
80384c
80384c
* Sat Jan 17 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-3
80384c
- Move service-environment into mariadb package
80384c
- Implement scl register functionality
80384c
80384c
* Mon Jan 12 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-2
80384c
- Add configuration file for server
80384c
80384c
* Wed Dec  3 2014 Jakub Dorňák <jdornak@redhat.com> - 5.6.22-1
80384c
- Update to MySQL 5.6.22
80384c
80384c
* Wed Oct 08 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.21-5
80384c
- Fix rhbz #1149986
80384c
80384c
* Wed Oct 01 2014 Honza Horak <hhorak@redhat.com> - 5.6.21-4
80384c
- Add bcond_without mysql_names
80384c
80384c
* Mon Sep 29 2014 Honza Horak <hhorak@redhat.com> - 5.6.21-3
80384c
- Check upgrade script added to warn about need for mysql_upgrade
80384c
- Move mysql_plugin into base and errmsg-utf8.txt into -errmsg to correspond
80384c
  with MariaDB upstream packages
80384c
- Add with_debug option
80384c
80384c
* Thu Sep 25 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.21-2
80384c
- Using %%cmake macro break some tests, reverted
80384c
- Unwanted dtrace dep fixed upstream
80384c
80384c
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-1
80384c
- Update to MySQL 5.6.21, for various fixes described at
80384c
  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-21.html
80384c
80384c
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-5
80384c
- Fix paths in mysql_install_db script
80384c
  Related: #1134328
80384c
- Use %%cmake macro
80384c
- Install systemd service file on RHEL-7+
80384c
  Server requires any mysql package, so it should be fine with older client
80384c
80384c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.20-4
80384c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
80384c
80384c
* Tue Aug 12 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-3
80384c
- Introduce -config subpackage and ship base config files here
80384c
80384c
* Tue Aug 05 2014 Honza Horak <hhorak@redhat.com> - 5.6.20-2
80384c
- Adopt changes from mariadb to sync spec files
80384c
80384c
* Thu Jul 31 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.20-1
80384c
- Update to MySQL 5.6.20, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html
80384c
- Rebase install and pluginerrmsg patch
80384c
- Drop dos2unix from buildreq, files fixed upstream
80384c
- No need to add -O3, it's default
80384c
- LDFLAGS is passed by cmake option, not from environment
80384c
- Using __requires_exclude in conditional don't seems to work, swap
80384c
  to dist macros
80384c
- Avoid unwanted dtrace dep
80384c
- Fix mysql.init and mysql-prepare-db-dir
80384c
- Logfile name must match value from /etc/my.cnf (and be known
80384c
  by SELinux policy)
80384c
80384c
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-5
80384c
- Hardcoded paths removed to work fine in chroot
80384c
- Spec rewrite to be more similar to oterh MySQL implementations
80384c
- Include SysV init script if built on older system
80384c
- Add possibility to not ship some sub-packages
80384c
- Port scripts for systemd unit from MariaDB
80384c
80384c
* Mon Jul 21 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-4
80384c
- Port some latest changes from MariaDB package to sync those packages
80384c
- Error messages now provided by a separate package (thanks Alexander Barkov)
80384c
80384c
* Fri Jun 27 2014 Honza Horak <hhorak@redhat.com> - 5.6.19-3
80384c
- Add mysql-compat-server symbol, common symbol for arbitrary MySQL
80384c
  implementation
80384c
- Require /etc/my.cnf instead of shipping it
80384c
- Server requires any compatible mysql-compat-client package
80384c
80384c
* Thu Jun 12 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.19-2
80384c
- Fix build on aarch64
80384c
- Rebase cipherspec patch
80384c
80384c
* Wed Jun 11 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.6.19-1
80384c
- Update to MySQL 5.6.19, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-19.html
80384c
- outfile_loaddata resolved on all archs
80384c
- Solaris files not installed, no need to remove
80384c
- Simplify multilib install
80384c
- Use install's -D option some places 
80384c
- Add explicit conflict with mariadb-galera-server
80384c
80384c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.17-3
80384c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
80384c
80384c
* Fri Apr 18 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.17-2
80384c
- Fix multiple mtr sessions
80384c
80384c
* Fri Apr 04 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.17-1
80384c
- Update to MySQL 5.6.17, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-17.html
80384c
- libmysqld built as shared lib now supported upstream
80384c
- Remove patches now upstream: truncate-file, rhbz1059545, ssltest
80384c
  and regex-werror
80384c
- Use more standard (and tested) build flags, while still respect
80384c
  optflags and hardened_build
80384c
- libmysqlclient_r* symlinks are fixed upstream
80384c
- Remove sysv to systemd logic
80384c
- Rework skipping of arch specific tests
80384c
- Multiple mtr sessions are supported by default
80384c
80384c
* Mon Feb  3 2014 Honza Horak <hhorak@redhat.com> 5.6.16-2
80384c
- Rebuild -man-pages.patch to apply smoothly
80384c
80384c
* Fri Jan 31 2014 Bjorn Munch <bjorn.munch@oracle.com> 5.6.16-1
80384c
- Update to MySQL 5.6.16, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-16.html
80384c
- Patches now upstream: tmpdir, cve-2013-1861, covscan-signexpr,
80384c
  covscan-stroverflow
80384c
- Fixed upstream: innodbwarn
80384c
- ldconfig needed in embedded subpackage
80384c
- Remove unused generate-tarball.sh from tree
80384c
- Rediff mysql-install patch
80384c
- Make symvers 18 default, provide symvers 16 for backward compat
80384c
  (bz #1045013)
80384c
- Man page patch disabled due too many conflicts
80384c
- Memcached build patched to not remove -Werror=<something> in CFLAGS
80384c
80384c
* Thu Jan 30 2014 Honza Horak <hhorak@redhat.com> 5.6.15-4
80384c
  Fix for CVE-2014-0001
80384c
  Resolves: #1059545
80384c
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
80384c
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
80384c
  Related: #1044565
80384c
80384c
* Fri Jan 24 2014 Honza Horak <hhorak@redhat.com> 5.6.15-3
80384c
- Disable tests for ppc(64) and s390(x):
80384c
  innodb.innodb_ctype_ldml main.ctype_ldml main.ps_ddl main.ps_ddl1
80384c
  Related: #1056972
80384c
80384c
* Mon Dec 16 2013 Honza Horak <hhorak@redhat.com> 5.6.15-2
80384c
- Some spec file clean-up based on Bjorn Munch's suggestions
80384c
- Enable InnoDB Memcached plugin
80384c
80384c
* Mon Dec  9 2013 Honza Horak <hhorak@redhat.com> 5.6.15-1
80384c
- Update to MySQL 5.6.15, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-15.html
80384c
80384c
* Fri Oct 11 2013 Honza Horak <hhorak@redhat.com> 5.6.14-2
80384c
- Fix my.cnf to not conflict with mariadb
80384c
  Resolves: #1003115
80384c
80384c
* Wed Oct  9 2013 Honza Horak <hhorak@redhat.com> 5.6.14-1
80384c
- Update to MySQL 5.6.14, for various fixes described at
80384c
  https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-14.html
80384c
- Incorporate changes done by Bjorn Munch <bjorn.munch@oracle.com>
80384c
80384c
* Mon Sep  2 2013 Honza Horak <hhorak@redhat.com> 5.5.33-2
80384c
- Enhanced my.cnf to be the same as in mariadb
80384c
  Resolves: #1003115
80384c
80384c
* Tue Aug 20 2013 Honza Horak <hhorak@redhat.com> 5.5.33-1
80384c
- Update to MySQL 5.5.33, for various fixes described at
80384c
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-33.html
80384c
80384c
* Tue Aug 20 2013 Honza Horak <hhorak@redhat.com> 5.5.32-12
80384c
- Fix multilib header location for arm
80384c
80384c
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 5.5.32-11
80384c
- Perl 5.18 rebuild
80384c
80384c
* Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> 5.5.32-10
80384c
- Copy some generated files in order find-debuginfo.sh finds them
80384c
  Related: #729040
80384c
- Fix systemd and perl requirements
80384c
80384c
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.5.32-9
80384c
- Perl 5.18 rebuild
80384c
80384c
* Mon Jul 15 2013 Honza Horak <hhorak@redhat.com> 5.5.32-8
80384c
- Revert path change to ldconfig, UsrMove is not complete yet
80384c
80384c
* Wed Jul 10 2013 Honza Horak <hhorak@redhat.com> 5.5.32-7
80384c
- Arm support for multilib hacks
80384c
80384c
* Tue Jul  9 2013 Honza Horak <hhorak@redhat.com> 5.5.32-6
80384c
- Use proper path to ldconfig
80384c
- Use xz instead of gzip
80384c
  Resolves: #982387
80384c
80384c
* Mon Jul  1 2013 Honza Horak <hhorak@redhat.com> 5.5.32-5
80384c
- Fix misleading error message when uninstalling built-in plugins
80384c
  Related: #966645
80384c
80384c
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 5.5.32-4
80384c
- Remove external man pages, upstream fixed man pages license
80384c
- Apply fixes found by Coverity static analysis tool
80384c
80384c
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 5.5.32-3
80384c
- Use man pages from 5.5.30, because their license do not
80384c
  allow us to ship them since 5.5.31
80384c
80384c
* Fri Jun  7 2013 Honza Horak <hhorak@redhat.com> 5.5.32-1
80384c
- Update to MySQL 5.5.32, for various fixes described at
80384c
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-32.html
80384c
80384c
* Mon Jun  3 2013 Honza Horak <hhorak@redhat.com> 5.5.31-7
80384c
- Use /var/tmp as default tmpdir to prevent potential issues
80384c
  Resolves: #905635
80384c
- Fix test suite requirements
80384c
- Fix for CVE-2013-1861 backported from MariaDB
80384c
  Resolves: #921836
80384c
80384c
* Wed May 29 2013 Jan Stanek <jstanek@redhat.com> 5.5.31-6
80384c
- Added missing command-line options to man-pages (#948930)
80384c
80384c
* Tue Apr 30 2013 Honza Horak <hhorak@redhat.com> 5.5.31-5
80384c
- Remove mysql provides from devel sub-packages to not build against
80384c
  community-mysql if mysql-devel is specified
80384c
80384c
* Fri Apr 26 2013 Honza Horak <hhorak@redhat.com> 5.5.31-4
80384c
- Fix building with relro and PIE
80384c
80384c
* Thu Apr 25 2013 Honza Horak <hhorak@redhat.com> 5.5.31-3
80384c
- Fix paths in -plugin-test patch
80384c
80384c
* Mon Apr 22 2013 Honza Horak <hhorak@redhat.com> 5.5.31-2
80384c
- Build with _hardened_build
80384c
- Fix some paths and require perl(Env), which is needed by tests
80384c
80384c
* Fri Apr 19 2013 Honza Horak <hhorak@redhat.com> 5.5.31-1
80384c
- Update to MySQL 5.5.31, for various fixes described at
80384c
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-31.html
80384c
80384c
* Wed Mar 20 2013 Honza Horak <hhorak@redhat.com> 5.5.30-5
80384c
- Renaming package MySQL to community-mysql to handle issues
80384c
  introduced by case-insensitive operations of yum and for proper
80384c
  prioritizing mariadb over community-mysql
80384c
80384c
* Tue Mar 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-4
80384c
- Allow server to be installed without client side
80384c
- Separate -lib and -common sub-packages
80384c
- Fix some path issues in tests
80384c
80384c
* Mon Mar 11 2013 Honza Horak <hhorak@redhat.com> 5.5.30-3
80384c
- Adjusting major soname number of libmysqlclient to avoid
80384c
  library name conflicts with mariadb
80384c
80384c
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-1
80384c
- Update to MySQL 5.5.30, for various fixes described at
80384c
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-30.html
80384c
80384c
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.29-3
80384c
- Use real- prefix for cross-package requirements
80384c
80384c
* Mon Feb 11 2013 Honza Horak <hhorak@redhat.com> 5.5.29-2
80384c
- Provide own symbols with real- prefix to distinguish packages from other
80384c
  MySQL implementations unambiguously
80384c
80384c
* Wed Jan  2 2013 Tom Lane <tgl@redhat.com> 5.5.29-1
80384c
- Update to MySQL 5.5.29, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-29.html
80384c
- Fix inaccurate default for socket location in mysqld-wait-ready
80384c
Resolves: #890535
80384c
80384c
* Thu Dec  6 2012 Honza Horak <hhorak@redhat.com> 5.5.28-3
80384c
- Rebase patches to not leave backup files when not applied smoothly
80384c
- Use --no-backup-if-mismatch to prevent including backup files
80384c
80384c
* Wed Dec  5 2012 Tom Lane <tgl@redhat.com> 5.5.28-2
80384c
- Add patch for CVE-2012-5611
80384c
Resolves: #883642
80384c
- Widen DH key length from 512 to 1024 bits to meet minimum requirements
80384c
  of FIPS 140-2
80384c
Related: #877124
80384c
80384c
* Sat Sep 29 2012 Tom Lane <tgl@redhat.com> 5.5.28-1
80384c
- Update to MySQL 5.5.28, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html
80384c
- Clean up partially-created database files when mysql_install_db fails
80384c
Related: #835131
80384c
- Honor user and group settings from service file in mysqld-prepare-db-dir
80384c
Resolves: #840431
80384c
- Export THR_KEY_mysys as a workaround for inadequate threading support
80384c
Resolves: #846602
80384c
- Adopt new systemd macros for server package install/uninstall triggers
80384c
Resolves: #850222
80384c
- Use --no-defaults when invoking mysqladmin to wait for the server to start
80384c
Related: #855704
80384c
80384c
* Sun Aug  5 2012 Tom Lane <tgl@redhat.com> 5.5.27-1
80384c
- Update to MySQL 5.5.27, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-27.html
80384c
80384c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.25a-2
80384c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
80384c
80384c
* Fri Jul  6 2012 Tom Lane <tgl@redhat.com> 5.5.25a-1
80384c
- Update to MySQL 5.5.25a, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25a.html
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25.html
80384c
- Don't use systemd's Restart feature; rely on mysqld_safe instead
80384c
Resolves: #832029
80384c
80384c
* Mon Jun 11 2012 Tom Lane <tgl@redhat.com> 5.5.24-1
80384c
- Update to MySQL 5.5.24, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html
80384c
  including the fix for CVE-2012-2122
80384c
Resolves: #830680
80384c
- Tweak logrotate script to put the right permissions on mysqld.log
80384c
- Minor specfile fixes for recent packaging guidelines changes
80384c
80384c
* Sat Apr 28 2012 Tom Lane <tgl@redhat.com> 5.5.23-1
80384c
- Update to MySQL 5.5.23, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-23.html
80384c
80384c
* Sat Mar 24 2012 Tom Lane <tgl@redhat.com> 5.5.22-1
80384c
- Update to MySQL 5.5.22, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-22.html
80384c
- Turn on PrivateTmp in service file
80384c
Resolves: #782513
80384c
- Comment out the contents of /etc/logrotate.d/mysqld, so that manual
80384c
  action is needed to enable log rotation.  Given the multiple ways in
80384c
  which the rotation script can fail, it seems imprudent to try to make
80384c
  it run by default.
80384c
Resolves: #799735
80384c
80384c
* Tue Mar 20 2012 Honza Horak <hhorak@redhat.com> 5.5.21-3
80384c
- Revise mysql_plugin test patch so it moves plugin files to
80384c
  a temporary directory (better solution to #789530)
80384c
80384c
* Tue Mar 13 2012 Honza Horak <hhorak@redhat.com> 5.5.21-2
80384c
- Fix ssl-related tests to specify expected cipher explicitly
80384c
Related: #789600
80384c
- Fix several strcpy calls to check destination size
80384c
80384c
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 5.5.21-1
80384c
- Update to MySQL 5.5.21, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-21.html
80384c
- Hack openssl regression test to still work with rawhide's openssl
80384c
- Fix assorted failures in post-install regression tests (mysql-test RPM)
80384c
Resolves: #789530
80384c
80384c
* Fri Feb 10 2012 Tom Lane <tgl@redhat.com> 5.5.20-2
80384c
- Revise our test-disabling method to make it possible to disable tests on a
80384c
  platform-specific basis, and also to get rid of mysql-disable-test.patch,
80384c
  which broke in just about every upstream update (Honza Horak)
80384c
- Disable cycle-counter-dependent regression tests on ARM, since there is
80384c
  not currently any support for that in Fedora ARM kernels
80384c
Resolves: #773116
80384c
- Add some comments to mysqld.service documenting how to customize it
80384c
Resolves: #785243
80384c
80384c
* Fri Jan 27 2012 Tom Lane <tgl@redhat.com> 5.5.20-1
80384c
- Update to MySQL 5.5.20, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html
80384c
  as well as security fixes described at
80384c
  http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
80384c
Resolves: #783828
80384c
- Re-include the mysqld logrotate script, now that it's not so bogus
80384c
Resolves: #547007
80384c
80384c
* Wed Jan  4 2012 Tom Lane <tgl@redhat.com> 5.5.19-1
80384c
- Update to MySQL 5.5.19, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html
80384c
80384c
* Sun Nov 20 2011 Tom Lane <tgl@redhat.com> 5.5.18-1
80384c
- Update to MySQL 5.5.18, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-18.html
80384c
80384c
* Sat Nov 12 2011 Tom Lane <tgl@redhat.com> 5.5.17-1
80384c
- Update to MySQL 5.5.17, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-17.html
80384c
- Get rid of version-number assumption in sysv-to-systemd conversion trigger
80384c
80384c
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 5.5.16-4
80384c
- Don't assume all ethernet devices are named ethX
80384c
Resolves: #682365
80384c
- Exclude user definition from my.cnf, user is defined in mysqld.service now
80384c
Resolves: #661265
80384c
80384c
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-3
80384c
- Fix unportable usage associated with va_list arguments
80384c
Resolves: #744707
80384c
80384c
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-2
80384c
- Update to MySQL 5.5.16, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-16.html
80384c
80384c
* Fri Jul 29 2011 Tom Lane <tgl@redhat.com> 5.5.15-2
80384c
- Update to MySQL 5.5.15, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-15.html
80384c
80384c
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 5.5.14-3
80384c
- Convert to systemd startup support (no socket activation, for now anyway)
80384c
Related: #714426
80384c
80384c
* Tue Jul 12 2011 Tom Lane <tgl@redhat.com> 5.5.14-2
80384c
- Remove make_scrambled_password and make_scrambled_password_323 from mysql.h,
80384c
  since we're not allowing clients to call those functions anyway
80384c
Related: #690346
80384c
80384c
* Mon Jul 11 2011 Tom Lane <tgl@redhat.com> 5.5.14-1
80384c
- Update to MySQL 5.5.14, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-14.html
80384c
80384c
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 5.5.13-2
80384c
- Remove erroneously-included Default-Start line from LSB init block
80384c
Resolves: #717024
80384c
80384c
* Thu Jun  2 2011 Tom Lane <tgl@redhat.com> 5.5.13-1
80384c
- Update to MySQL 5.5.13, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-13.html
80384c
80384c
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.12-1
80384c
- Update to MySQL 5.5.12, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-12.html
80384c
80384c
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.10-3
80384c
- Add LSB init block to initscript, to ensure sane ordering at system boot
80384c
Resolves: #703214
80384c
- Improve initscript start action to notice when mysqladmin is failing
80384c
  because of configuration problems
80384c
Related: #703476
80384c
- Remove exclusion of "gis" regression test, since upstream bug 59908
80384c
  is fixed (for some value of "fixed") as of 5.5.10.
80384c
80384c
* Wed Mar 23 2011 Tom Lane <tgl@redhat.com> 5.5.10-2
80384c
- Add my_make_scrambled_password to the list of symbols exported by
80384c
  libmysqlclient.so.  Needed at least by pure-ftpd.
80384c
80384c
* Mon Mar 21 2011 Tom Lane <tgl@redhat.com> 5.5.10-1
80384c
- Update to MySQL 5.5.10, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-10.html
80384c
  Note that this includes a rather belated soname version bump for
80384c
  libmysqlclient.so, from .16 to .18
80384c
- Add tmpfiles.d config file so that /var/run/mysqld is recreated at boot
80384c
  (only needed in Fedora 15 and later)
80384c
Resolves: #658938
80384c
80384c
* Wed Feb 16 2011 Tom Lane <tgl@redhat.com> 5.5.9-2
80384c
- Disable a regression test that is now showing platform-dependent results
80384c
Resolves: #674253
80384c
80384c
* Sat Feb 12 2011 Tom Lane <tgl@redhat.com> 5.5.9-1
80384c
- Update to MySQL 5.5.9, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-9.html
80384c
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
80384c
80384c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.8-10
80384c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80384c
80384c
* Fri Feb  4 2011 Tom Lane <tgl@redhat.com> 5.5.8-9
80384c
- Support s390/s390x in performance schema's cycle-counting functions
80384c
  (needed to make regression tests pass on these platforms)
80384c
80384c
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-8
80384c
- PPC64 floating-point differences are not masked by -ffloat-store after all,
80384c
  so let's just disable gis regression test till upstream makes it less picky
80384c
Resolves: #674253
80384c
- Add __perllib_requires setting to make rpm 4.9 do what we need
80384c
80384c
* Wed Feb  2 2011 Tom Lane <tgl@redhat.com> 5.5.8-7
80384c
- Work around some portability issues on PPC64
80384c
Resolves: #674253
80384c
80384c
* Thu Jan 20 2011 Tom Lane <tgl@redhat.com> 5.5.8-6
80384c
- Remove no-longer-needed special switches in CXXFLAGS, per yesterday's
80384c
  discussion in fedora-devel about -fexceptions.
80384c
- Rebuild needed anyway to check compatibility with latest systemtap.
80384c
80384c
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-5
80384c
- Fix failure to honor MYSQL_HOME environment variable
80384c
Resolves: #669364
80384c
80384c
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-4
80384c
- Fix crash during startup of embedded mysqld library
80384c
Resolves: #667365
80384c
80384c
* Mon Jan  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-3
80384c
- my_print_help, load_defaults, free_defaults, and handle_options all turn
80384c
  out to be documented/recommended in Paul DuBois' MySQL book, so we'd better
80384c
  consider them part of the de-facto API.
80384c
Resolves: #666728
80384c
80384c
* Mon Dec 27 2010 Tom Lane <tgl@redhat.com> 5.5.8-2
80384c
- Add mysql_client_errors[] to the set of exported libmysqlclient symbols;
80384c
  needed by PHP.
80384c
80384c
* Thu Dec 23 2010 Tom Lane <tgl@redhat.com> 5.5.8-1
80384c
- Update to MySQL 5.5.8 (major version bump).  Note this includes removal
80384c
  of libmysqlclient_r.so.
80384c
- Add a linker version script to hide libmysqlclient functions that aren't
80384c
  part of the documented API.
80384c
80384c
* Mon Nov  1 2010 Tom Lane <tgl@redhat.com> 5.1.52-1
80384c
- Update to MySQL 5.1.52, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-52.html
80384c
Resolves: #646569
80384c
80384c
* Thu Oct  7 2010 Tom Lane <tgl@redhat.com> 5.1.51-2
80384c
- Re-disable the outfile_loaddata test, per report from Dan Horak.
80384c
80384c
* Wed Oct  6 2010 Tom Lane <tgl@redhat.com> 5.1.51-1
80384c
- Update to MySQL 5.1.51, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
80384c
80384c
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-2
80384c
- Include my_compiler.h in distribution, per upstream bug #55846.
80384c
  Otherwise PHP, for example, won't build.
80384c
80384c
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-1
80384c
- Update to MySQL 5.1.50, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-50.html
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-49.html
80384c
80384c
* Wed Jul 14 2010 Tom Lane <tgl@redhat.com> 5.1.48-3
80384c
- Fix FTBFS with gcc 4.5.
80384c
Related: #614293
80384c
80384c
* Tue Jul 13 2010 Tom Lane <tgl@redhat.com> 5.1.48-2
80384c
- Duplicate COPYING and EXCEPTIONS-CLIENT in -libs and -embedded subpackages,
80384c
  to ensure they are available when any subset of mysql RPMs are installed,
80384c
  per revised packaging guidelines
80384c
- Allow init script's STARTTIMEOUT/STOPTIMEOUT to be overridden from sysconfig
80384c
Related: #609734
80384c
80384c
* Mon Jun 21 2010 Tom Lane <tgl@redhat.com> 5.1.48-1
80384c
- Update to MySQL 5.1.48, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
80384c
  including a fix for CVE-2010-2008
80384c
Related: #614214
80384c
80384c
* Fri Jun  4 2010 Tom Lane <tgl@redhat.com> 5.1.47-2
80384c
- Add back "partition" storage engine
80384c
Resolves: #597390
80384c
- Fix broken "federated" storage engine plugin
80384c
Related: #587170
80384c
- Read all certificates in SSL certificate files, to support chained certs
80384c
Related: #598656
80384c
80384c
* Mon May 24 2010 Tom Lane <tgl@redhat.com> 5.1.47-1
80384c
- Update to MySQL 5.1.47, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-47.html
80384c
  including fixes for CVE-2010-1848, CVE-2010-1849, CVE-2010-1850
80384c
Resolves: #592862
80384c
Resolves: #583717
80384c
- Create mysql group explicitly in pre-server script, to ensure correct GID
80384c
Related: #594155
80384c
80384c
* Sat Apr 24 2010 Tom Lane <tgl@redhat.com> 5.1.46-1
80384c
- Update to MySQL 5.1.46, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-46.html
80384c
80384c
* Thu Mar 25 2010 Tom Lane <tgl@redhat.com> 5.1.45-2
80384c
- Fix multiple problems described in upstream bug 52019, because regression
80384c
  tests fail on PPC if we don't.
80384c
80384c
* Wed Mar 24 2010 Tom Lane <tgl@redhat.com> 5.1.45-1
80384c
- Update to MySQL 5.1.45, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-45.html
80384c
80384c
* Sun Feb 21 2010 Tom Lane <tgl@redhat.com> 5.1.44-2
80384c
- Add "Obsoletes: mysql-cluster" to fix upgrade-in-place from F-12
80384c
- Bring init script into some modicum of compliance with Fedora/LSB standards
80384c
Related: #557711
80384c
Related: #562749
80384c
80384c
* Sat Feb 20 2010 Tom Lane <tgl@redhat.com> 5.1.44-1
80384c
- Update to MySQL 5.1.44, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html
80384c
- Remove mysql.info, which is not freely redistributable
80384c
Resolves: #560181
80384c
- Revert broken upstream fix for their bug 45058
80384c
Resolves: #566547
80384c
80384c
* Sat Feb 13 2010 Tom Lane <tgl@redhat.com> 5.1.43-2
80384c
- Remove mysql-cluster, which is no longer supported by upstream in this
80384c
  source distribution.  If we want it we'll need a separate SRPM for it.
80384c
80384c
* Fri Feb 12 2010 Tom Lane <tgl@redhat.com> 5.1.43-1
80384c
- Update to MySQL 5.1.43, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
80384c
80384c
* Fri Jan 29 2010 Tom Lane <tgl@redhat.com> 5.1.42-7
80384c
- Add backported patch for CVE-2008-7247 (upstream bug 39277)
80384c
Related: #543619
80384c
- Use non-expired certificates for SSL testing (upstream bug 50702)
80384c
80384c
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 5.1.42-6
80384c
- Emit explicit error message if user tries to build RPM as root
80384c
Related: #558915
80384c
80384c
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.42-5
80384c
- Correct Source0: tag and comment to reflect how to get the tarball
80384c
80384c
* Fri Jan  8 2010 Tom Lane <tgl@redhat.com> 5.1.42-4
80384c
- Disable symbolic links by default in /etc/my.cnf
80384c
Resolves: #553652
80384c
80384c
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 5.1.42-3
80384c
- Remove static libraries (.a files) from package, per packaging guidelines
80384c
- Change %%define to %%global, per packaging guidelines
80384c
80384c
* Sat Jan  2 2010 Tom Lane <tgl@redhat.com> 5.1.42-2
80384c
- Disable building the innodb plugin; it tickles assorted gcc bugs and
80384c
  doesn't seem entirely ready for prime time anyway.
80384c
80384c
* Fri Jan  1 2010 Tom Lane <tgl@redhat.com> 5.1.42-1
80384c
- Update to MySQL 5.1.42, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
80384c
- Start mysqld_safe with --basedir=/usr, to avoid unwanted SELinux messages
80384c
Resolves: #547485
80384c
80384c
* Thu Dec 17 2009 Tom Lane <tgl@redhat.com> 5.1.41-2
80384c
- Stop waiting during "service mysqld start" if mysqld_safe exits
80384c
Resolves: #544095
80384c
80384c
* Mon Nov 23 2009 Tom Lane <tgl@redhat.com> 5.1.41-1
80384c
- Update to MySQL 5.1.41, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
80384c
  including fixes for CVE-2009-4019
80384c
Related: #540906
80384c
- Don't set old_passwords=1; we aren't being bug-compatible with 3.23 anymore
80384c
Resolves: #540735
80384c
80384c
* Tue Nov 10 2009 Tom Lane <tgl@redhat.com> 5.1.40-1
80384c
- Update to MySQL 5.1.40, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html
80384c
- Do not force the --log-error setting in mysqld init script
80384c
Resolves: #533736
80384c
80384c
* Sat Oct 17 2009 Tom Lane <tgl@redhat.com> 5.1.39-4
80384c
- Replace kluge fix for ndbd sparc crash with a real fix (mysql bug 48132)
80384c
80384c
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 5.1.39-3
80384c
- Work around two different compiler bugs on sparc, one by backing off
80384c
  optimization from -O2 to -O1, and the other with a klugy patch
80384c
Related: #529298, #529299
80384c
- Clean up bogosity in multilib stub header support: ia64 should not be
80384c
  listed (it's not multilib), sparc and sparc64 should be
80384c
80384c
* Wed Sep 23 2009 Tom Lane <tgl@redhat.com> 5.1.39-2
80384c
- Work around upstream bug 46895 by disabling outfile_loaddata test
80384c
80384c
* Tue Sep 22 2009 Tom Lane <tgl@redhat.com> 5.1.39-1
80384c
- Update to MySQL 5.1.39, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html
80384c
80384c
* Mon Aug 31 2009 Tom Lane <tgl@redhat.com> 5.1.37-5
80384c
- Work around unportable assumptions about stpcpy(); re-enable main.mysql test
80384c
- Clean up some obsolete parameters to the configure script
80384c
80384c
* Sat Aug 29 2009 Tom Lane <tgl@redhat.com> 5.1.37-4
80384c
- Remove one misguided patch; turns out I was chasing a glibc bug
80384c
- Temporarily disable "main.mysql" test; there's something broken there too,
80384c
  but we need to get mysql built in rawhide for dependency reasons
80384c
80384c
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.1.37-3
80384c
- rebuilt with new openssl
80384c
80384c
* Fri Aug 14 2009 Tom Lane <tgl@redhat.com> 5.1.37-2
80384c
- Add a couple of patches to improve the probability of the regression tests
80384c
  completing in koji builds
80384c
80384c
* Sun Aug  2 2009 Tom Lane <tgl@redhat.com> 5.1.37-1
80384c
- Update to MySQL 5.1.37, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html
80384c
80384c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.36-2
80384c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
80384c
80384c
* Fri Jul 10 2009 Tom Lane <tgl@redhat.com> 5.1.36-1
80384c
- Update to MySQL 5.1.36, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html
80384c
80384c
* Sat Jun  6 2009 Tom Lane <tgl@redhat.com> 5.1.35-1
80384c
- Update to MySQL 5.1.35, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
80384c
- Ensure that /var/lib/mysql is created with the right SELinux context
80384c
Resolves: #502966
80384c
80384c
* Fri May 15 2009 Tom Lane <tgl@redhat.com> 5.1.34-1
80384c
- Update to MySQL 5.1.34, for various fixes described at
80384c
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-34.html
80384c
- Increase startup timeout per bug #472222
80384c
80384c
* Wed Apr 15 2009 Tom Lane <tgl@redhat.com> 5.1.33-2
80384c
- Increase stack size of ndbd threads for safety's sake.
80384c
Related: #494631
80384c
80384c
* Tue Apr  7 2009 Tom Lane <tgl@redhat.com> 5.1.33-1
80384c
- Update to MySQL 5.1.33.
80384c
- Disable use of pthread_setschedparam; doesn't work the way code expects.
80384c
Related: #477624
80384c
80384c
* Wed Mar  4 2009 Tom Lane <tgl@redhat.com> 5.1.32-1
80384c
- Update to MySQL 5.1.32.
80384c
80384c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.31-2
80384c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
80384c
80384c
* Fri Feb 13 2009 Tom Lane <tgl@redhat.com> 5.1.31-1
80384c
- Update to MySQL 5.1.31.
80384c
80384c
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-2
80384c
- hm, apparently --with-innodb and --with-ndbcluster are still needed
80384c
  even though no longer documented ...
80384c
80384c
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-1
80384c
- Update to MySQL 5.1.30.  Note that this includes an ABI break for
80384c
  libmysqlclient (it's now got .so major version 16).
80384c
- This also updates mysql for new openssl build
80384c
80384c
* Wed Oct  1 2008 Tom Lane <tgl@redhat.com> 5.0.67-2
80384c
- Build the "embedded server" library, and package it in a new sub-RPM
80384c
  mysql-embedded, along with mysql-embedded-devel for devel support files.
80384c
Resolves: #149829
80384c
80384c
* Sat Aug 23 2008 Tom Lane <tgl@redhat.com> 5.0.67-1
80384c
- Update to mysql version 5.0.67
80384c
- Move mysql_config's man page to base package, again (apparently I synced
80384c
  that change the wrong way while importing specfile changes for ndbcluster)
80384c
80384c
* Sun Jul 27 2008 Tom Lane <tgl@redhat.com> 5.0.51a-2
80384c
- Enable ndbcluster support
80384c
Resolves: #163758
80384c
- Suppress odd crash messages during package build, caused by trying to
80384c
  build dbug manual (which we don't install anyway) with dbug disabled
80384c
Resolves: #437053
80384c
- Improve mysql.init to pass configured datadir to mysql_install_db,
80384c
  and to force user=mysql for both mysql_install_db and mysqld_safe.
80384c
Related: #450178
80384c
80384c
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.51a-1
80384c
- Update to mysql version 5.0.51a
80384c
80384c
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.45-11
80384c
- Fix mysql-stack-guard patch to work correctly on IA64
80384c
- Fix mysql.init to wait correctly when socket is not in default place
80384c
Related: #435494
80384c
80384c
* Mon Mar 03 2008 Dennis Gilmore <dennis@ausil.us> 5.0.45-10
80384c
- add sparc64 to 64 bit arches for test suite checking
80384c
- add sparc, sparcv9 and sparc64 to multilib handling
80384c
80384c
* Thu Feb 28 2008 Tom Lane <tgl@redhat.com> 5.0.45-9
80384c
- Fix the stack overflow problem encountered in January.  It seems the real
80384c
issue is that the buildfarm machines were moved to RHEL5, which uses 64K not
80384c
4K pages on PPC, and because RHEL5 takes the guard area out of the requested
80384c
thread stack size we no longer had enough headroom.
80384c
Related: #435337
80384c
80384c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.45-8
80384c
- Autorebuild for GCC 4.3
80384c
80384c
* Tue Jan  8 2008 Tom Lane <tgl@redhat.com> 5.0.45-7
80384c
- Unbelievable ... upstream still thinks that it's a good idea to have a
80384c
  regression test that is guaranteed to begin failing come January 1.
80384c
- ... and it seems we need to raise STACK_MIN_SIZE again too.
80384c
80384c
* Thu Dec 13 2007 Tom Lane <tgl@redhat.com> 5.0.45-6
80384c
- Back-port upstream fixes for CVE-2007-5925, CVE-2007-5969, CVE-2007-6303.
80384c
Related: #422211
80384c
80384c
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 5.0.45-5
80384c
- Rebuild for new openssl
80384c
80384c
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 5.0.45-4
80384c
- Seems we need explicit BuildRequires on gawk and procps now
80384c
- Rebuild to fix Fedora toolchain issues
80384c
80384c
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 5.0.45-3
80384c
- Recent perl changes in rawhide mean we need a more specific BuildRequires
80384c
80384c
* Thu Aug  2 2007 Tom Lane <tgl@redhat.com> 5.0.45-2
80384c
- Update License tag to match code.
80384c
- Work around recent Fedora change that makes "open" a macro name.
80384c
80384c
* Sun Jul 22 2007 Tom Lane <tgl@redhat.com> 5.0.45-1
80384c
- Update to MySQL 5.0.45
80384c
Resolves: #246535
80384c
- Move mysql_config's man page to base package
80384c
Resolves: #245770
80384c
- move my_print_defaults to base RPM, for consistency with Stacks packaging
80384c
- mysql user is no longer deleted at RPM uninstall
80384c
Resolves: #241912
80384c
80384c
* Thu Mar 29 2007 Tom Lane <tgl@redhat.com> 5.0.37-2
80384c
- Use a less hacky method of getting default values in initscript
80384c
Related: #233771, #194596
80384c
- Improve packaging of mysql-libs per suggestions from Remi Collet
80384c
Resolves: #233731
80384c
- Update default /etc/my.cnf ([mysql.server] has been bogus for a long time)
80384c
80384c
* Mon Mar 12 2007 Tom Lane <tgl@redhat.com> 5.0.37-1
80384c
- Update to MySQL 5.0.37
80384c
Resolves: #231838
80384c
- Put client library into a separate mysql-libs RPM to reduce dependencies
80384c
Resolves: #205630
80384c
80384c
* Fri Feb  9 2007 Tom Lane <tgl@redhat.com> 5.0.33-1
80384c
- Update to MySQL 5.0.33
80384c
- Install band-aid fix for "view" regression test designed to fail after 2006
80384c
- Don't chmod -R the entire database directory tree on every startup
80384c
Related: #221085
80384c
- Fix unsafe use of install-info
80384c
Resolves: #223713
80384c
- Cope with new automake in F7
80384c
Resolves: #224171
80384c
80384c
* Thu Nov  9 2006 Tom Lane <tgl@redhat.com> 5.0.27-1
80384c
- Update to MySQL 5.0.27 (see CVE-2006-4031, CVE-2006-4226, CVE-2006-4227)
80384c
Resolves: #202247, #202675, #203427, #203428, #203432, #203434, #208641
80384c
- Fix init script to return status 1 on server start timeout
80384c
Resolves: #203910
80384c
- Move mysqldumpslow from base package to mysql-server
80384c
Resolves: #193559
80384c
- Adjust link options for BDB module
80384c
Resolves: #199368
80384c
80384c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.0.22-2.1
80384c
- rebuild
80384c
80384c
* Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 5.0.22-2
80384c
- Work around brew's tendency not to clean up failed builds completely,
80384c
  by adding code in mysql-testing.patch to kill leftover mysql daemons.
80384c
80384c
* Thu Jun  8 2006 Tom Lane <tgl@redhat.com> 5.0.22-1
80384c
- Update to MySQL 5.0.22 (fixes CVE-2006-2753)
80384c
- Install temporary workaround for gcc bug on s390x (bz #193912)
80384c
80384c
* Tue May  2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2
80384c
- Fix bogus perl Requires for mysql-test
80384c
80384c
* Mon May  1 2006 Tom Lane <tgl@redhat.com> 5.0.21-1
80384c
- Update to MySQL 5.0.21
80384c
80384c
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 5.0.18-4
80384c
- Modify multilib header hack to not break non-RH arches, per bug #181335
80384c
- Remove logrotate script, per bug #180639.
80384c
- Add a new mysql-test RPM to carry the regression test files;
80384c
  hack up test scripts as needed to make them run in /usr/share/mysql-test.
80384c
80384c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-2.1
80384c
- bump again for double-long bug on ppc(64)
80384c
80384c
* Thu Feb  9 2006 Tom Lane <tgl@redhat.com> 5.0.18-2
80384c
- err-log option has been renamed to log-error, fix my.cnf and initscript
80384c
80384c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-1.1
80384c
- rebuilt for new gcc4.1 snapshot and glibc changes
80384c
80384c
* Thu Jan  5 2006 Tom Lane <tgl@redhat.com> 5.0.18-1
80384c
- Update to MySQL 5.0.18
80384c
80384c
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-4
80384c
- fix my_config.h for ppc platforms
80384c
80384c
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3
80384c
- my_config.h needs to guard against 64-bit platforms that also define the
80384c
  32-bit symbol
80384c
80384c
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 5.0.16-2
80384c
- oops, looks like we want uname -i not uname -m
80384c
80384c
* Mon Dec 12 2005 Tom Lane <tgl@redhat.com> 5.0.16-1
80384c
- Update to MySQL 5.0.16
80384c
- Add EXCEPTIONS-CLIENT license info to the shipped documentation
80384c
- Make my_config.h architecture-independent for multilib installs;
80384c
  put the original my_config.h into my_config_$ARCH.h
80384c
- Add -fwrapv to CFLAGS so that gcc 4.1 doesn't break it
80384c
80384c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
80384c
- rebuilt
80384c
80384c
* Mon Nov 14 2005 Tom Lane <tgl@redhat.com> 5.0.15-3
80384c
- Make stop script wait for daemon process to disappear (bz#172426)
80384c
80384c
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 5.0.15-2
80384c
- Rebuild due to openssl library update.
80384c
80384c
* Thu Nov  3 2005 Tom Lane <tgl@redhat.com> 5.0.15-1
80384c
- Update to MySQL 5.0.15 (scratch build for now)
80384c
80384c
* Wed Oct  5 2005 Tom Lane <tgl@redhat.com> 4.1.14-1
80384c
- Update to MySQL 4.1.14
80384c
80384c
* Tue Aug 23 2005 Tom Lane <tgl@redhat.com> 4.1.12-3
80384c
- Use politically correct patch name.
80384c
80384c
* Tue Jul 12 2005 Tom Lane <tgl@redhat.com> 4.1.12-2
80384c
- Fix buffer overflow newly exposed in isam code; it's the same issue
80384c
  previously found in myisam, and not very exciting, but I'm tired of
80384c
  seeing build warnings.
80384c
80384c
* Mon Jul 11 2005 Tom Lane <tgl@redhat.com> 4.1.12-1
80384c
- Update to MySQL 4.1.12 (includes a fix for bz#158688, bz#158689)
80384c
- Extend mysql-test-ssl.patch to solve rpl_openssl test failure (bz#155850)
80384c
- Update mysql-lock-ssl.patch to match the upstream committed version
80384c
- Add --with-isam to re-enable the old ISAM table type, per bz#159262
80384c
- Add dependency on openssl-devel per bz#159569
80384c
- Remove manual.txt, as upstream decided not to ship it anymore;
80384c
  it was redundant with the mysql.info file anyway.
80384c
80384c
* Mon May  9 2005 Tom Lane <tgl@redhat.com> 4.1.11-4
80384c
- Include proper locking for OpenSSL in the server, per bz#155850
80384c
80384c
* Mon Apr 25 2005 Tom Lane <tgl@redhat.com> 4.1.11-3
80384c
- Enable openssl tests during build, per bz#155850
80384c
- Might as well turn on --disable-dependency-tracking
80384c
80384c
* Fri Apr  8 2005 Tom Lane <tgl@redhat.com> 4.1.11-2
80384c
- Avoid dependency on <asm/atomic.h>, cause it won't build anymore on ia64.
80384c
  This is probably a cleaner solution for bz#143537, too.
80384c
80384c
* Thu Apr  7 2005 Tom Lane <tgl@redhat.com> 4.1.11-1
80384c
- Update to MySQL 4.1.11 to fix bz#152911 as well as other issues
80384c
- Move perl-DBI, perl-DBD-MySQL dependencies to server package (bz#154123)
80384c
- Override configure thread library test to suppress HAVE_LINUXTHREADS check
80384c
- Fix BDB failure on s390x (bz#143537)
80384c
- At last we can enable "make test" on all arches
80384c
80384c
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 4.1.10a-1
80384c
- Update to MySQL 4.1.10a to fix security vulnerabilities (bz#150868,
80384c
  for CAN-2005-0711, and bz#150871 for CAN-2005-0709, CAN-2005-0710).
80384c
80384c
* Sun Mar  6 2005 Tom Lane <tgl@redhat.com> 4.1.10-3
80384c
- Fix package Requires: interdependencies.
80384c
80384c
* Sat Mar  5 2005 Tom Lane <tgl@redhat.com> 4.1.10-2
80384c
- Need -fno-strict-aliasing in at least one place, probably more.
80384c
- Work around some C spec violations in mysql.
80384c
80384c
* Fri Feb 18 2005 Tom Lane <tgl@redhat.com> 4.1.10-1
80384c
- Update to MySQL 4.1.10.
80384c
80384c
* Sat Jan 15 2005 Tom Lane <tgl@redhat.com> 4.1.9-1
80384c
- Update to MySQL 4.1.9.
80384c
80384c
* Wed Jan 12 2005 Tom Lane <tgl@redhat.com> 4.1.7-10
80384c
- Don't assume /etc/my.cnf will specify pid-file (bz#143724)
80384c
80384c
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 4.1.7-9
80384c
- Rebuilt for new readline.
80384c
80384c
* Tue Dec 21 2004 Tom Lane <tgl@redhat.com> 4.1.7-8
80384c
- Run make test on all archs except s390x (which seems to have a bdb issue)
80384c
80384c
* Mon Dec 13 2004 Tom Lane <tgl@redhat.com> 4.1.7-7
80384c
- Suppress someone's silly idea that libtool overhead can be skipped
80384c
80384c
* Sun Dec 12 2004 Tom Lane <tgl@redhat.com> 4.1.7-6
80384c
- Fix init script to not need a valid username for startup check (bz#142328)
80384c
- Fix init script to honor settings appearing in /etc/my.cnf (bz#76051)
80384c
- Enable SSL (bz#142032)
80384c
80384c
* Thu Dec  2 2004 Tom Lane <tgl@redhat.com> 4.1.7-5
80384c
- Add a restorecon to keep the mysql.log file in the right context (bz#143887)
80384c
80384c
* Tue Nov 23 2004 Tom Lane <tgl@redhat.com> 4.1.7-4
80384c
- Turn off old_passwords in default /etc/my.cnf file, for better compatibility
80384c
  with mysql 3.x clients (per suggestion from Joe Orton).
80384c
80384c
* Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3
80384c
- Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/).
80384c
80384c
* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 4.1.7-2
80384c
- rebuild in devel branch
80384c
80384c
* Wed Oct 27 2004 Tom Lane <tgl@redhat.com> 4.1.7-1
80384c
- Update to MySQL 4.1.x.
80384c
80384c
* Tue Oct 12 2004 Tom Lane <tgl@redhat.com> 3.23.58-13
80384c
- fix security issues CAN-2004-0835, CAN-2004-0836, CAN-2004-0837
80384c
  (bugs #135372, 135375, 135387)
80384c
- fix privilege escalation on GRANT ALL ON `Foo\_Bar` (CAN-2004-0957)
80384c
80384c
* Wed Oct 06 2004 Tom Lane <tgl@redhat.com> 3.23.58-12
80384c
- fix multilib problem with mysqlbug and mysql_config
80384c
- adjust chkconfig priority per bug #128852
80384c
- remove bogus quoting per bug #129409 (MySQL 4.0 has done likewise)
80384c
- add sleep to mysql.init restart(); may or may not fix bug #133993
80384c
80384c
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 3.23.58-11
80384c
- fix low-priority security issues CAN-2004-0388, CAN-2004-0381, CAN-2004-0457
80384c
  (bugs #119442, 125991, 130347, 130348)
80384c
- fix bug with dropping databases under recent kernels (bug #124352)
80384c
80384c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 3.23.58-10
80384c
- rebuilt
80384c
80384c
* Sat Apr 17 2004 Warren Togami <wtogami@redhat.com> 3.23.58-9
80384c
- remove redundant INSTALL-SOURCE, manual.*
80384c
- compress manual.txt.bz2
80384c
- BR time
80384c
80384c
* Tue Mar 16 2004 Tom Lane <tgl@redhat.com> 3.23.58-8
80384c
- repair logfile attributes in %%files, per bug #102190
80384c
- repair quoting problem in mysqlhotcopy, per bug #112693
80384c
- repair missing flush in mysql_setpermission, per bug #113960
80384c
- repair broken error message printf, per bug #115165
80384c
- delete mysql user during uninstall, per bug #117017
80384c
- rebuilt
80384c
80384c
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
80384c
- rebuilt
80384c
80384c
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
80384c
- fix chown syntax in mysql.init
80384c
- rebuild
80384c
80384c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
80384c
- rebuilt
80384c
80384c
* Tue Nov 18 2003 Kim Ho <kho@redhat.com> 3.23.58-5
80384c
- update mysql.init to use anonymous user (UNKNOWN_MYSQL_USER) for
80384c
  pinging mysql server (#108779)
80384c
80384c
* Mon Oct 27 2003 Kim Ho <kho@redhat.com> 3.23.58-4
80384c
- update mysql.init to wait (max 10 seconds) for mysql server to 
80384c
  start (#58732)
80384c
80384c
* Mon Oct 27 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-3
80384c
- re-enable Berkeley DB support (#106832)
80384c
- re-enable ia64 testing
80384c
80384c
* Fri Sep 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-2
80384c
- rebuilt
80384c
80384c
* Mon Sep 15 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-1
80384c
- upgrade to 3.23.58 for security fix
80384c
80384c
* Tue Aug 26 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-2
80384c
- rebuilt
80384c
80384c
* Wed Jul 02 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-1
80384c
- revert to prior version of MySQL due to license incompatibilities 
80384c
  with packages that link against the client.  The MySQL folks are
80384c
  looking into the issue.
80384c
80384c
* Wed Jun 18 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-4
80384c
- restrict test on ia64 (temporary)
80384c
80384c
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 4.0.13-3
80384c
- rebuilt
80384c
80384c
* Thu May 29 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-2
80384c
- fix filter-requires-mysql.sh with less restrictive for mysql-bench 
80384c
80384c
* Wed May 28 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-1
80384c
- update for MySQL 4.0
80384c
- back-level shared libraries available in mysqlclient10 package
80384c
80384c
* Fri May 09 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-2
80384c
- add sql-bench package (#90110) 
80384c
80384c
* Wed Mar 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-1
80384c
- upgrade to 3.23.56 for security fixes
80384c
- remove patch for double-free (included in 3.23.56) 
80384c
80384c
* Tue Feb 18 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.54a-11
80384c
- enable thread safe client
80384c
- add patch for double free fix
80384c
80384c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
80384c
- rebuilt
80384c
80384c
* Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 3.23.54a-9
80384c
- disable checks on s390x
80384c
80384c
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 3.23.54a-8
80384c
- use internal dep generator.
80384c
80384c
* Wed Jan  1 2003 Bill Nottingham <notting@redhat.com> 3.23.54a-7
80384c
- fix mysql_config on hammer
80384c
80384c
* Sun Dec 22 2002 Tim Powers <timp@redhat.com> 3.23.54a-6
80384c
- don't use rpms internal dep generator
80384c
80384c
* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 3.23.54a-5
80384c
- Push it into the build system
80384c
80384c
* Mon Dec 16 2002 Joe Orton <jorton@redhat.com> 3.23.54a-4
80384c
- upgrade to 3.23.54a for safe_mysqld fix
80384c
80384c
* Thu Dec 12 2002 Joe Orton <jorton@redhat.com> 3.23.54-3
80384c
- upgrade to 3.23.54 for latest security fixes
80384c
80384c
* Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-5
80384c
- Always include <errno.h> for errno
80384c
- Remove unpackaged files
80384c
80384c
* Tue Nov 12 2002 Florian La Roche <Florian.LaRoche@redhat.de>
80384c
- do not prereq userdel, not used at all
80384c
80384c
* Mon Sep  9 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-4
80384c
- Use %%{_libdir}
80384c
- Add patch for x86-64
80384c
80384c
* Wed Sep  4 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-3
80384c
- rebuilt with gcc-3.2-7
80384c
80384c
* Thu Aug 29 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-2
80384c
- Add --enable-local-infile to configure - a new option
80384c
  which doesn't default to the old behaviour (#72885)
80384c
80384c
* Fri Aug 23 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-1
80384c
- 3.23.52. Fixes a minor security problem, various bugfixes.
80384c
80384c
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 3.23.51-5
80384c
- rebuilt with gcc-3.2 (we hope)
80384c
80384c
* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-4
80384c
- rebuild
80384c
80384c
* Thu Jul 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-3
80384c
- Fix #63543 and #63542 
80384c
80384c
* Thu Jul 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-2
80384c
- Turn off bdb on PPC(#68591)
80384c
- Turn off the assembly optimizations, for safety. 
80384c
80384c
* Wed Jun 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-1
80384c
- Work around annoying auto* thinking this is a crosscompile
80384c
- 3.23.51
80384c
80384c
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
80384c
- automated rebuild
80384c
80384c
* Mon Jun 10 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-2
80384c
- Add dependency on perl-DBI and perl-DBD-MySQL (#66349)
80384c
80384c
* Thu May 30 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-1
80384c
- 3.23.50
80384c
80384c
* Thu May 23 2002 Tim Powers <timp@redhat.com>
80384c
- automated rebuild
80384c
80384c
* Mon May 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-4
80384c
- Rebuild
80384c
- Don't set CXX to gcc, it doesn't work anymore
80384c
- Exclude Alpha
80384c
80384c
* Mon Apr  8 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-3
80384c
- Add the various .cnf examples as doc files to mysql-server (#60349)
80384c
- Don't include manual.ps, it's just 200 bytes with a URL inside (#60349)
80384c
- Don't include random files in /usr/share/mysql (#60349)
80384c
- langify (#60349)
80384c
80384c
* Thu Feb 21 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-2
80384c
- Rebuild
80384c
80384c
* Sun Feb 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-1
80384c
- 3.23.49
80384c
80384c
* Thu Feb 14 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-2
80384c
- work around perl dependency bug.
80384c
80384c
* Mon Feb 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-1
80384c
- 3.23.48
80384c
80384c
* Thu Jan 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-4
80384c
- Use kill, not mysqladmin, to flush logs and shut down. Thus, 
80384c
  an admin password can be set with no problems.
80384c
- Remove reload from init script
80384c
80384c
* Wed Jan 16 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-3
80384c
- remove db3-devel from buildrequires, 
80384c
  MySQL has had its own bundled copy since the mid thirties
80384c
80384c
* Sun Jan  6 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-1
80384c
- 3.23.47
80384c
- Don't build for alpha, toolchain immature.
80384c
80384c
* Mon Dec  3 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.46-1
80384c
- 3.23.46
80384c
- use -fno-rtti and -fno-exceptions, and set CXX to increase stability. 
80384c
  Recommended by mysql developers.
80384c
80384c
* Sun Nov 25 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.45-1
80384c
- 3.23.45
80384c
80384c
* Wed Nov 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-2
80384c
- centralize definition of datadir in the initscript (#55873)
80384c
80384c
* Fri Nov  2 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-1
80384c
- 3.23.44
80384c
80384c
* Thu Oct  4 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.43-1
80384c
- 3.23.43
80384c
80384c
* Mon Sep 10 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.42-1
80384c
- 3.23.42
80384c
- reenable innodb
80384c
80384c
* Tue Aug 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.41-1
80384c
- 3.23.41 bugfix release
80384c
- disable innodb, to avoid the broken updates
80384c
- Use "mysqladmin flush_logs" instead of kill -HUP in logrotate 
80384c
  script (#51711)
80384c
80384c
* Sat Jul 21 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.40, bugfix release
80384c
- Add zlib-devel to buildrequires:
80384c
80384c
* Fri Jul 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- BuildRequires-tweaking
80384c
80384c
* Thu Jun 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- Reenable test, but don't run them for s390, s390x or ia64
80384c
- Make /etc/my.cnf config(noplace). Same for /etc/logrotate.d/mysqld
80384c
80384c
* Thu Jun 14 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.29
80384c
- enable innodb
80384c
- enable assembly again
80384c
- disable tests for now...
80384c
80384c
* Tue May 15 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.38
80384c
- Don't use BDB on Alpha - no fast mutexes
80384c
80384c
* Tue Apr 24 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.37
80384c
- Add _GNU_SOURCE to the compile flags
80384c
80384c
* Wed Mar 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- Make it obsolete our 6.2 PowerTools packages
80384c
- 3.23.36 bugfix release - fixes some security issues
80384c
  which didn't apply to our standard configuration
80384c
- Make "make test" part of the build process, except on IA64
80384c
  (it fails there)
80384c
80384c
* Tue Mar 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.35 bugfix release
80384c
- Don't delete the mysql user on uninstall
80384c
80384c
* Tue Mar 13 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.34a bugfix release
80384c
80384c
* Wed Feb  7 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- added readline-devel to BuildRequires:
80384c
80384c
* Tue Feb  6 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- small i18n-fixes to initscript (action needs $)
80384c
80384c
* Tue Jan 30 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- make it shut down and rotate logs without using mysqladmin 
80384c
  (from #24909)
80384c
80384c
* Mon Jan 29 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- conflict with "MySQL"
80384c
80384c
* Tue Jan 23 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- improve gettextizing
80384c
80384c
* Mon Jan 22 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.32
80384c
- fix logrotate script (#24589)
80384c
80384c
* Wed Jan 17 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- gettextize
80384c
- move the items in Requires(post): to Requires: in preparation
80384c
  for an errata for 7.0 when 3.23.31 is released
80384c
- 3.23.31
80384c
80384c
* Tue Jan 16 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- add the log file to the rpm database, and make it 0640
80384c
  (#24116)
80384c
- as above in logrotate script
80384c
- changes to the init sequence - put most of the data
80384c
  in /etc/my.cnf instead of hardcoding in the init script
80384c
- use /var/run/mysqld/mysqld.pid instead of 
80384c
  /var/run/mysqld/pid
80384c
- use standard safe_mysqld
80384c
- shut down cleaner
80384c
80384c
* Mon Jan 08 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.30
80384c
- do an explicit chmod on /var/lib/mysql in post, to avoid 
80384c
  any problems with broken permissons. There is a report
80384c
  of rm not changing this on its own (#22989)
80384c
80384c
* Mon Jan 01 2001 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- bzipped source
80384c
- changed from 85 to 78 in startup, so it starts before
80384c
  apache (which can use modules requiring mysql)
80384c
80384c
* Wed Dec 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.29a
80384c
80384c
* Tue Dec 19 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- add requirement for new libstdc++, build for errata
80384c
80384c
* Mon Dec 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.29
80384c
80384c
* Mon Nov 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.28 (gamma)
80384c
- remove old patches, as they are now upstreamed
80384c
80384c
* Tue Nov 14 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- Add a requirement for a new glibc (#20735)
80384c
- build on IA64
80384c
80384c
* Wed Nov  1 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- disable more assembly
80384c
80384c
* Wed Nov  1 2000 Jakub Jelinek <jakub@redhat.com>
80384c
- fix mysql on SPARC (#20124)
80384c
80384c
* Tue Oct 31 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.27
80384c
80384c
* Wed Oct 25 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- add patch for fixing bogus aliasing in mysql from Jakub,
80384c
  which should fix #18905 and #18620
80384c
80384c
* Mon Oct 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- check for negative niceness values, and negate it
80384c
  if present (#17899)
80384c
- redefine optflags on IA32 FTTB
80384c
80384c
* Wed Oct 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.26, which among other fixes now uses mkstemp()
80384c
  instead of tempnam().
80384c
- revert changes made yesterday, the problem is now
80384c
  isolated
80384c
 
80384c
* Tue Oct 17 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- use the compat C++ compiler FTTB. Argh.
80384c
- add requirement of ncurses4 (see above)
80384c
80384c
* Sun Oct 01 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.25
80384c
- fix shutdown problem (#17956)
80384c
80384c
* Tue Sep 26 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- Don't try to include no-longer-existing PUBLIC file
80384c
  as doc (#17532)
80384c
80384c
* Tue Sep 12 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- rename config file to /etc/my.cnf, which is what
80384c
  mysqld wants... doh. (#17432)
80384c
- include a changed safe_mysqld, so the pid file option
80384c
  works. 
80384c
- make mysql dir world readable to they can access the 
80384c
  mysql socket. (#17432)
80384c
- 3.23.24
80384c
80384c
* Wed Sep 06 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.23
80384c
80384c
* Sun Aug 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- Add "|| :" to condrestart to avoid non-zero exit code
80384c
80384c
* Thu Aug 24 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- it's mysql.com, not mysql.org and use correct path to 
80384c
  source (#16830)
80384c
80384c
* Wed Aug 16 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- source file from /etc/rc.d, not /etc/rd.d. Doh.
80384c
80384c
* Sun Aug 13 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- don't run ldconfig -n, it doesn't update ld.so.cache
80384c
  (#16034)
80384c
- include some missing binaries
80384c
- use safe_mysqld to start the server (request from
80384c
  mysql developers)
80384c
80384c
* Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
80384c
- condrestart fixes
80384c
80384c
* Tue Aug 01 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.22. Disable the old patches, they're now in.
80384c
80384c
* Thu Jul 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- bugfixes in the initscript
80384c
- move the .so link to the devel package
80384c
80384c
* Wed Jul 19 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- rebuild due to glibc changes
80384c
80384c
* Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- disable compiler patch
80384c
- don't include info directory file
80384c
80384c
* Mon Jul 17 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- move back to /etc/rc.d/init.d
80384c
80384c
* Fri Jul 14 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- more cleanups in initscript
80384c
80384c
* Thu Jul 13 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- add a patch to work around compiler bug 
80384c
  (from monty@mysql.com) 
80384c
80384c
* Wed Jul 12 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- don't build the SQL daemon statically (glibc problems)
80384c
- fix the logrotate script - only flush log if mysql
80384c
  is running
80384c
- change the reloading procedure 
80384c
- remove icon - glint is obsolete a long time ago
80384c
80384c
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
80384c
- automatic rebuild
80384c
80384c
* Mon Jul 10 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- try the new compiler again
80384c
- build the SQL daemon statically
80384c
- add compile time support for complex charsets
80384c
- enable assembler
80384c
- more cleanups in initscript
80384c
80384c
* Sun Jul 09 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- use old C++ compiler
80384c
- Exclusivearch x86
80384c
80384c
* Sat Jul 08 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- move .so files to devel package
80384c
- more cleanups
80384c
- exclude sparc for now
80384c
80384c
* Wed Jul 05 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- 3.23.21
80384c
- remove file from /etc/sysconfig
80384c
- Fix initscript a bit - initialization of databases doesn't
80384c
  work yet
80384c
- specify the correct licenses
80384c
- include a /etc/my.conf (empty, FTTB)
80384c
- add conditional restart to spec file
80384c
80384c
* Sun Jul  2 2000 Jakub Jelinek <jakub@redhat.com>
80384c
- Rebuild with new C++
80384c
80384c
* Fri Jun 30 2000 Trond Eivind Glomsrd <teg@redhat.com>
80384c
- update to 3.23.20
80384c
- use %%configure, %%makeinstall, %%{_tmppath}, %%{_mandir},
80384c
  %%{_infodir}, /etc/init.d
80384c
- remove the bench package
80384c
- change some of the descriptions a little bit
80384c
- fix the init script
80384c
- some compile fixes
80384c
- specify mysql user
80384c
- use mysql uid 27 (postgresql is 26)
80384c
- don't build on ia64
80384c
80384c
* Sat Feb 26 2000 Jos Vos <jos@xos.nl>
80384c
- Version 3.22.32 release XOS.1 for LinuX/OS 1.8.0
80384c
- Upgrade from version 3.22.27 to 3.22.32.
80384c
- Do "make install" instead of "make install-strip", because "install -s"
80384c
  now appears to fail on various scripts.  Afterwards, strip manually.
80384c
- Reorganize subpackages, according to common Red Hat packages: the client
80384c
  program and shared library become the base package and the server and
80384c
  some accompanying files are now in a separate server package.  The
80384c
  server package implicitly requires the base package (shared library),
80384c
  but we have added a manual require tag anyway (because of the shared
80384c
  config file, and more).
80384c
- Rename the mysql-benchmark subpackage to mysql-bench.
80384c
80384c
* Mon Jan 31 2000 Jos Vos <jos@xos.nl>
80384c
- Version 3.22.27 release XOS.2 for LinuX/OS 1.7.1
80384c
- Add post(un)install scripts for updating ld.so.conf (client subpackage).
80384c
80384c
* Sun Nov 21 1999 Jos Vos <jos@xos.nl>
80384c
- Version 3.22.27 release XOS.1 for LinuX/OS 1.7.0
80384c
- Initial version.
80384c
- Some ideas borrowed from Red Hat Powertools 6.1, although this spec
80384c
  file is a full rewrite from scratch.