Blame SPECS/mysql.spec

6f9931
%{?scl:%scl_package mysql}
6f9931
6f9931
Name: %{?scl_prefix}mysql
25c1e7
Version: 5.5.40
25c1e7
Release: 1%{?dist}
6f9931
6f9931
Summary: MySQL client programs and shared libraries
6f9931
Group: Applications/Databases
6f9931
URL: http://www.mysql.com
6f9931
# exceptions allow client libraries to be linked with most open source SW,
6f9931
# not only GPL code.  See README.mysql-license
6f9931
# Some innobase code from Percona and Google is under BSD license
6f9931
# Some code related to test-suite is under LGPLv2
6f9931
License: GPLv2 with exceptions and LGPLv2 and BSD
6f9931
6f9931
# Regression tests take a long time, you can skip 'em with this
6f9931
%{!?runselftest:%global runselftest 1}
6f9931
6f9931
# Upstream has a mirror redirector for downloads, so the URL is hard to
6f9931
# represent statically.  You can get the tarball by following a link from
6f9931
# http://dev.mysql.com/downloads/mysql/
6f9931
Source0: mysql-%{version}.tar.gz
6f9931
Source3: my.cnf
6f9931
Source4: scriptstub.c
6f9931
Source5: my_config.h
6f9931
Source6: README.mysql-docs
6f9931
Source7: README.mysql-license
6f9931
Source8: libmysql.version
6f9931
Source10: mysql.tmpfiles.d
6f9931
Source11: mysqld.service
6f9931
Source12: mysqld-prepare-db-dir
6f9931
Source13: mysqld-wait-ready
6f9931
Source14: rh-skipped-tests-base.list
6f9931
Source15: rh-skipped-tests-arm.list
6f9931
Source16: mysqld-wait-stop
6f9931
# We need to document how depended packages should be biult
6f9931
Source17: mysql-readme-devel
6f9931
# Working around perl dependency checking bug in rpm FTTB. Remove later.
6f9931
Source998: filter-provides-mysql.sh
6f9931
Source999: filter-requires-mysql.sh
6f9931
6f9931
# Comments for these patches are in the patch files.
6f9931
Patch1: mysql-errno.patch
6f9931
Patch2: mysql-strmov.patch
6f9931
Patch3: mysql-install-test.patch
6f9931
Patch4: mysql-expired-certs.patch
6f9931
Patch5: mysql-stack-guard.patch
6f9931
Patch6: mysql-chain-certs.patch
6f9931
Patch7: mysql-versioning.patch
6f9931
Patch8: mysql-dubious-exports.patch
6f9931
Patch10: mysql-plugin-bool.patch
6f9931
Patch11: mysql-s390-tsc.patch
6f9931
Patch14: mysql-va-list.patch
6f9931
Patch15: mysql-netdevname.patch
6f9931
Patch16: mysql-logrotate.patch
6f9931
Patch17: mysql-plugin-test.patch
6f9931
Patch18: mysql-cipherspec.patch
6f9931
Patch19: mysql-file-contents.patch
6f9931
Patch20: mysql-string-overflow.patch
6f9931
Patch22: mysql-dh1024.patch
6f9931
Patch23: mysql-innodbwarn.patch
6f9931
Patch25: mysql-man-pages.patch
6f9931
Patch26: mysql-covscan-stroverflow.patch
6f9931
Patch27: mysql-covscan-signexpr.patch
6f9931
Patch28: mysql-pluginerrmsg.patch
6f9931
Patch29: mysql-ssltest.patch
6f9931
Patch31: mysql-socket-removal.patch
6f9931
Patch101: mysql-scl-env-check.patch
6f9931
6f9931
BuildRequires: perl, readline-devel, openssl-devel
6f9931
BuildRequires: cmake, ncurses-devel, zlib-devel, libaio-devel
6f9931
BuildRequires: systemd, systemtap-sdt-devel
6f9931
# make test requires time and ps
6f9931
BuildRequires: time procps
6f9931
# Socket and Time::HiRes are needed to run regression tests
6f9931
BuildRequires: perl(Socket), perl(Time::HiRes), perl(Env)
6f9931
6f9931
Requires: grep, fileutils
6f9931
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6f9931
Requires: bash
6f9931
%{?scl:Requires:%scl_runtime}
6f9931
6f9931
# When rpm 4.9 is universal, this could be cleaned up:
6f9931
%global __perl_provides %{SOURCE998}
6f9931
%global __perllib_provides %{SOURCE998}
6f9931
%global __perl_requires %{SOURCE999}
6f9931
%global __perllib_requires %{SOURCE999}
6f9931
6f9931
# By default, patch(1) creates backup files when chunks apply with offsets.
6f9931
# Turn that off to ensure such files don't get included in RPMs (cf bz#884755).
6f9931
%global _default_patch_flags --no-backup-if-mismatch
6f9931
6f9931
%description
6f9931
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
6f9931
client/server implementation consisting of a server daemon (mysqld)
6f9931
and many different client programs and libraries. The base package
6f9931
contains the standard MySQL client programs and generic MySQL files.
6f9931
6f9931
%package libs
6f9931
6f9931
Summary: The shared libraries required for MySQL clients
6f9931
Group: Applications/Databases
6f9931
%{?scl:Requires:%scl_runtime}
6f9931
6f9931
%description libs
6f9931
The mysql-libs package provides the essential shared libraries for any 
6f9931
MySQL client program or interface. You will need to install this package
6f9931
to use any other MySQL package or any clients that need to connect to a
6f9931
MySQL server.
6f9931
6f9931
%package server
6f9931
6f9931
Summary: The MySQL server and related files
6f9931
Group: Applications/Databases
6f9931
Requires: %{name}%{?_isa} = %{version}-%{release}
6f9931
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6f9931
Requires: sh-utils
6f9931
# we need fuser utility from psmisc to check unix socket
6f9931
Requires: psmisc
6f9931
Requires: /usr/bin/scl_source
6f9931
Requires(pre): /usr/sbin/useradd
6f9931
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
6f9931
Requires: systemd
6f9931
# Make sure it's there when scriptlets run, too
6f9931
Requires(post): systemd
6f9931
Requires(preun): systemd
6f9931
Requires(postun): systemd
6f9931
# mysqlhotcopy needs DBI/DBD support
6f9931
Requires: perl-DBI, perl-DBD-MySQL
6f9931
%{?scl:Requires:%scl_runtime}
6f9931
6f9931
%description server
6f9931
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
6f9931
client/server implementation consisting of a server daemon (mysqld)
6f9931
and many different client programs and libraries. This package contains
6f9931
the MySQL server and some accompanying files and directories.
6f9931
6f9931
%package devel
6f9931
6f9931
Summary: Files for development of MySQL plugins
6f9931
Group: Applications/Databases
6f9931
Requires: %{name}%{?_isa} = %{version}-%{release}
6f9931
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6f9931
Requires: openssl-devel%{?_isa}
6f9931
6f9931
%description devel
6f9931
MySQL is a multi-user, multi-threaded SQL database server. This
6f9931
package contains the libraries and header files that are needed for
6f9931
developing MySQL plugins.
6f9931
6f9931
%package bench
6f9931
6f9931
Summary: MySQL benchmark scripts and data
6f9931
Group: Applications/Databases
6f9931
Requires: %{name}%{?_isa} = %{version}-%{release}
6f9931
%{?scl:Requires:%scl_runtime}
6f9931
6f9931
%description bench
6f9931
MySQL is a multi-user, multi-threaded SQL database server. This
6f9931
package contains benchmark scripts and data for use when benchmarking
6f9931
MySQL.
6f9931
6f9931
%package test
6f9931
6f9931
Summary: The test suite distributed with MySQL
6f9931
Group: Applications/Databases
6f9931
Requires: %{name}%{?_isa} = %{version}-%{release}
6f9931
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6f9931
Requires: %{name}-server%{?_isa} = %{version}-%{release}
6f9931
Requires: perl(Socket), perl(Time::HiRes), perl(Env)
6f9931
%{?scl:Requires:%scl_runtime}
6f9931
6f9931
%description test
6f9931
MySQL is a multi-user, multi-threaded SQL database server. This
6f9931
package contains the regression test suite distributed with
6f9931
the MySQL sources.
6f9931
6f9931
%prep
6f9931
%setup -q -n mysql-%{version}
6f9931
6f9931
%patch1 -p1
6f9931
%patch2 -p1
6f9931
%patch3 -p1
6f9931
%patch4 -p1
6f9931
%patch5 -p1
6f9931
%patch6 -p1
6f9931
%patch7 -p1
6f9931
%patch8 -p1
6f9931
%patch10 -p1
6f9931
%patch11 -p1
6f9931
%patch14 -p1
6f9931
%patch15 -p1
6f9931
%patch16 -p1
6f9931
%patch17 -p1
6f9931
%patch18 -p1
6f9931
%patch19 -p1
6f9931
%patch20 -p1
6f9931
%patch22 -p1
6f9931
%patch23 -p1
6f9931
%patch25 -p1
6f9931
%patch26 -p1
6f9931
%patch27 -p1
6f9931
%patch28 -p1
6f9931
%patch29 -p1
6f9931
%patch31 -p1
6f9931
6f9931
# path fixes in source for dsc - using sed instead of patching, 
6f9931
# because we would need various patches for various collection names
6f9931
sed -i -e 's|/etc/|%{_sysconfdir}/|g' mysys/default.c
6f9931
sed -i -e 's|/etc/my|%{_sysconfdir}/my|g' scripts/mysqld_multi.sh
6f9931
sed -i -e 's|/etc/|%{_sysconfdir}/|g' scripts/mysqlaccess.sh
6f9931
sed -i -e 's|/usr/|%{_prefix}/|g' ./client/mysql_plugin.c
6f9931
sed -i -e 's|/usr|%{_prefix}|g' ./mysql-test/t/file_contents.test
6f9931
sed -i -e 's|/var/log/mysql|/var/log/%{?scl_prefix}mysql|g' support-files/mysql-log-rotate.sh
6f9931
6f9931
# path adding collection name into some scripts
6f9931
# patch is applied only if building into SCL
6f9931
# some values in patch are replaced by real value depending on collection name
6f9931
cp -p %{SOURCE11} mysqld.service
6f9931
%if 0%{?scl:1}
6f9931
%global scl_sed_patches 1
6f9931
%if %scl_sed_patches
6f9931
cat %{PATCH101} | sed -e "s/__SCL_NAME__/%{?scl}/g" \
6f9931
                      -e "s|__SCL_SCRIPTS__|%{?_scl_scripts}|g" \
6f9931
                | patch -p1 -b --suffix .scl-env-check
6f9931
%else
6f9931
patch -p1 -b --suffix .scl-env-check<%{PATCH101}
6f9931
%endif
6f9931
%endif
6f9931
6f9931
# workaround for upstream bug #56342
6f9931
rm -f mysql-test/t/ssl_8k_key-master.opt
6f9931
6f9931
# upstream has fallen down badly on symbol versioning, do it ourselves
6f9931
cp -p %{SOURCE8} libmysql/libmysql.version
6f9931
6f9931
# generate a list of tests that fail, but are not disabled by upstream
6f9931
cat %{SOURCE14} > mysql-test/rh-skipped-tests.list
6f9931
# disable some tests failing on ARM architectures
6f9931
%ifarch %{arm}
6f9931
cat %{SOURCE15} >> mysql-test/rh-skipped-tests.list
6f9931
%endif
6f9931
6f9931
%build
6f9931
6f9931
# fail quickly and obviously if user tries to build as root
6f9931
%if %runselftest
6f9931
	if [ x"`id -u`" = x0 ]; then
6f9931
		echo "mysql's regression tests fail if run as root."
6f9931
		echo "If you really need to build the RPM as root, use"
6f9931
		echo "--define='runselftest 0' to skip the regression tests."
6f9931
		exit 1
6f9931
	fi
6f9931
%endif
6f9931
6f9931
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
6f9931
# MySQL 4.1.10 definitely doesn't work under strict aliasing; also,
6f9931
# gcc 4.1 breaks MySQL 5.0.16 without -fwrapv
6f9931
CFLAGS="$CFLAGS -fno-strict-aliasing -fwrapv"
6f9931
# force PIC mode so that we can build libmysqld.so
6f9931
CFLAGS="$CFLAGS -fPIC"
6f9931
# gcc seems to have some bugs on sparc as of 4.4.1, back off optimization
6f9931
# submitted as bz #529298
6f9931
%ifarch sparc sparcv9 sparc64
6f9931
CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
6f9931
%endif
6f9931
CXXFLAGS="$CFLAGS"
6f9931
export CFLAGS CXXFLAGS
6f9931
# building with PIE
6f9931
LDFLAGS="$LDFLAGS -pie"
6f9931
export LDFLAGS
6f9931
6f9931
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
6f9931
# so we can't use %%{_datadir} and so forth here.
6f9931
6f9931
cmake . -DBUILD_CONFIG=mysql_release \
6f9931
	-DFEATURE_SET="community" \
6f9931
	-DINSTALL_LAYOUT=RPM \
6f9931
	-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
6f9931
	-DINSTALL_INCLUDEDIR=include/mysql \
6f9931
	-DINSTALL_INFODIR=share/info \
6f9931
	-DINSTALL_LIBDIR="%{_lib}/mysql" \
6f9931
	-DINSTALL_MANDIR=share/man \
6f9931
	-DINSTALL_MYSQLSHAREDIR=share/mysql \
6f9931
	-DINSTALL_MYSQLTESTDIR=share/mysql-test \
6f9931
	-DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
6f9931
	-DINSTALL_SBINDIR=libexec \
6f9931
	-DINSTALL_SCRIPTDIR=bin \
6f9931
	-DINSTALL_SQLBENCHDIR=share \
6f9931
	-DINSTALL_SUPPORTFILESDIR=share/mysql \
6f9931
	-DMYSQL_DATADIR="%{?_scl_root}/var/lib/mysql" \
6f9931
	-DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
6f9931
	-DENABLED_LOCAL_INFILE=ON \
6f9931
	-DENABLE_DTRACE=ON \
6f9931
	-DWITH_EMBEDDED_SERVER=ON \
6f9931
	-DWITH_READLINE=ON \
6f9931
	-DWITH_SSL=system \
6f9931
	-DWITH_ZLIB=system \
6f9931
	-DTMPDIR=/var/tmp \
6f9931
	-DWITH_MYSQLD_LDFLAGS="-Wl,-z,relro,-z,now"
6f9931
6f9931
gcc $CFLAGS $LDFLAGS -o scriptstub "-DLIBDIR=\"%{_libdir}/mysql\"" %{SOURCE4}
6f9931
6f9931
make %{?_smp_mflags} VERBOSE=1
6f9931
6f9931
%check
6f9931
6f9931
%if %runselftest
6f9931
  # hack to let 32- and 64-bit tests run concurrently on same build machine
6f9931
  case `uname -m` in
6f9931
    ppc64 | ppc64p7 | s390x | x86_64 | sparc64 )
6f9931
      MTR_BUILD_THREAD=7
6f9931
      ;;
6f9931
    *)
6f9931
      MTR_BUILD_THREAD=11
6f9931
      ;;
6f9931
  esac
6f9931
  export MTR_BUILD_THREAD
6f9931
6f9931
  make test VERBOSE=1
6f9931
6f9931
  # The cmake build scripts don't provide any simple way to control the
6f9931
  # options for mysql-test-run, so ignore the make target and just call it
6f9931
  # manually.  Nonstandard options chosen are:
6f9931
  # --force to continue tests after a failure
6f9931
  # no retries please
6f9931
  # test SSL with --ssl
6f9931
  # skip tests that are listed in rh-skipped-tests.list
6f9931
  # avoid redundant test runs with --binlog-format=mixed
6f9931
  # increase timeouts to prevent unwanted failures during mass rebuilds
6f9931
  (
6f9931
    cd mysql-test
6f9931
    perl ./mysql-test-run.pl --force --retry=0 --ssl \
6f9931
	--skip-test-list=rh-skipped-tests.list \
6f9931
	--mysqld=--binlog-format=mixed \
6f9931
	--suite-timeout=720 --testcase-timeout=30
6f9931
    # cmake build scripts will install the var cruft if left alone :-(
6f9931
    rm -rf var
6f9931
  ) 
6f9931
%endif
6f9931
6f9931
%install
6f9931
make DESTDIR=$RPM_BUILD_ROOT install
6f9931
6f9931
# List the installed tree for RPM package maintenance purposes.
6f9931
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
6f9931
6f9931
# multilib header hacks
6f9931
# we only apply this to known Red Hat multilib arches, per bug #181335
6f9931
case `uname -i` in
6f9931
  i386 | x86_64 | ppc | ppc64 | ppc64p7 | s390 | s390x | sparc | sparc64 )
6f9931
    mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_`uname -i`.h
6f9931
    install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/
6f9931
    ;;
6f9931
  *)
6f9931
    ;;
6f9931
esac
6f9931
6f9931
# cmake generates some completely wacko references to -lprobes_mysql when
6f9931
# building with dtrace support.  Haven't found where to shut that off,
6f9931
# so resort to this blunt instrument.  While at it, let's not reference
6f9931
# libmysqlclient_r anymore either.
6f9931
sed -e 's/-lprobes_mysql//' -e 's/-lmysqlclient_r/-lmysqlclient/' \
6f9931
	${RPM_BUILD_ROOT}%{_bindir}/mysql_config >mysql_config.tmp
6f9931
cp -pf mysql_config.tmp ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
6f9931
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
6f9931
6f9931
# install INFO_SRC, INFO_BIN into libdir (upstream thinks these are doc files,
6f9931
# but that's pretty wacko --- see also mysql-file-contents.patch)
6f9931
install -p -m 644 Docs/INFO_SRC ${RPM_BUILD_ROOT}%{_libdir}/mysql/
6f9931
install -p -m 644 Docs/INFO_BIN ${RPM_BUILD_ROOT}%{_libdir}/mysql/
6f9931
6f9931
mkdir -p $RPM_BUILD_ROOT/var/log
6f9931
touch $RPM_BUILD_ROOT/var/log/%{?scl_prefix}mysqld.log
6f9931
6f9931
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
6f9931
# fix path definitions in my.cnf file
6f9931
sed	-e 's|datadir=/var/|datadir=%{?_scl_root}/var/|g' \
6f9931
	-e 's|log-error=/var/log/mysql|log-error=/var/log/%{?scl_prefix}mysql|g' \
6f9931
	-e 's|pid-file=/var/|pid-file=%{?_scl_root}/var/|g' >my.cnf <%{SOURCE3}
6f9931
install -p -m 0644 my.cnf $RPM_BUILD_ROOT%{_sysconfdir}/my.cnf
6f9931
6f9931
# install systemd unit files and scripts for handling server startup
6f9931
# and fix path definitions in the scripts
6f9931
mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
6f9931
sed -i -e 's|/usr/libexec|%{_libexecdir}|' \
6f9931
       -e 's|/usr/bin/mysqld_safe --basedir=/usr|%{_bindir}/mysqld_safe --basedir=%{_prefix}|' mysqld.service
6f9931
install -m 644 mysqld.service ${RPM_BUILD_ROOT}%{_unitdir}/%{?scl_prefix}mysqld.service
6f9931
6f9931
sed    -e 's|/usr|%{_prefix}|' \
6f9931
       -e 's|/var|%{?_scl_root}/var|' \
6f9931
        -e 's|/etc|%{_sysconfdir}|' <%{SOURCE12} >mysqld-prepare-db-dir
6f9931
install -m 755 mysqld-prepare-db-dir ${RPM_BUILD_ROOT}%{_libexecdir}/
6f9931
6f9931
sed -e 's|/etc/my.cnf|%{_sysconfdir}/my.cnf|' \
6f9931
       -e 's|/usr|%{_prefix}|' \
6f9931
       -e 's|/var/lib/|%{?_scl_root}/var/lib/|' \
6f9931
       -e 's|get_mysql_option mysqld socket "$datadir/mysql.sock"|get_mysql_option mysqld socket "/var/lib/mysql/mysql.sock"|' \
6f9931
       <%{SOURCE13} >mysqld-wait-ready
6f9931
install -m 755 mysqld-wait-ready ${RPM_BUILD_ROOT}%{_libexecdir}/
6f9931
6f9931
sed -e 's|/etc/my.cnf|%{_sysconfdir}/my.cnf|' \
6f9931
       -e 's|/usr|%{_prefix}|' \
6f9931
       <%{SOURCE16} >mysqld-wait-stop
6f9931
install -m 755 mysqld-wait-stop ${RPM_BUILD_ROOT}%{_libexecdir}/
6f9931
6f9931
mkdir -p $RPM_BUILD_ROOT%{?scl:%_root_prefix}%{!?scl:%_prefix}/lib/tmpfiles.d
6f9931
sed -e 's|/var/run/mysqld|%{?_scl_root}/var/run/mysqld|' <%{SOURCE10} >%{?scl_prefix}mysql.conf
6f9931
install -m 0644 %{?scl_prefix}mysql.conf $RPM_BUILD_ROOT%{?scl:%_root_prefix}%{!?scl:%_prefix}/lib/tmpfiles.d/%{?scl_prefix}mysql.conf
6f9931
6f9931
mkdir -p $RPM_BUILD_ROOT%{?_scl_root}/var/lock/subsys/
6f9931
mkdir -p $RPM_BUILD_ROOT%{?_scl_root}/var/run/mysqld
6f9931
install -m 0755 -d $RPM_BUILD_ROOT%{?_scl_root}/var/lib/mysql
6f9931
6f9931
# Even if we build for scl, we still create a socket in /var/lib/mysql
6f9931
%if 0%{?scl:1}
6f9931
install -m 0755 -d $RPM_BUILD_ROOT/var/lib/mysql
6f9931
%endif
6f9931
6f9931
# Fix funny permissions that cmake build scripts apply to config files
6f9931
chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/mysql/config.*.ini
6f9931
6f9931
# Fix scripts for multilib safety
6f9931
mv ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysqlbug
6f9931
install -p -m 0755 scriptstub ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug
6f9931
mv ${RPM_BUILD_ROOT}%{_bindir}/mysql_config ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysql_config
6f9931
install -p -m 0755 scriptstub ${RPM_BUILD_ROOT}%{_bindir}/mysql_config
6f9931
6f9931
# Remove libmysqld.a
6f9931
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.a
6f9931
6f9931
# libmysqlclient_r is no more.  Upstream tries to replace it with symlinks
6f9931
# but that really doesn't work (wrong soname in particular).  We'll keep
6f9931
# just the devel libmysqlclient_r.so link, so that rebuilding without any
6f9931
# source change is enough to get rid of dependency on libmysqlclient_r.
6f9931
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient_r.so*
6f9931
ln -s libmysqlclient.so ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient_r.so
6f9931
6f9931
# mysql-test includes one executable that doesn't belong under /usr/share,
6f9931
# so move it and provide a symlink
6f9931
mv ${RPM_BUILD_ROOT}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process ${RPM_BUILD_ROOT}%{_bindir}
6f9931
ln -s ../../../../../bin/my_safe_process ${RPM_BUILD_ROOT}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
6f9931
6f9931
# Remove files that %%doc will install in preferred location
6f9931
rm -f ${RPM_BUILD_ROOT}%{_prefix}/COPYING
6f9931
rm -f ${RPM_BUILD_ROOT}%{_prefix}/README
6f9931
6f9931
# Remove files we don't want installed at all
6f9931
rm -f ${RPM_BUILD_ROOT}%{_prefix}/INSTALL-BINARY
6f9931
rm -f ${RPM_BUILD_ROOT}%{_prefix}/docs/ChangeLog
6f9931
rm -f ${RPM_BUILD_ROOT}%{_prefix}/data/mysql/.empty
6f9931
rm -f ${RPM_BUILD_ROOT}%{_prefix}/data/test/.empty
6f9931
# should move this to /etc/ ?
6f9931
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mysqlaccess.conf
6f9931
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mysql_embedded
6f9931
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a
6f9931
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure
6f9931
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/magic
6f9931
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/ndb-config-2-node.ini
6f9931
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql.server
6f9931
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysqld_multi.server
6f9931
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/comp_err.1*
6f9931
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-stress-test.pl.1*
6f9931
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-test-run.pl.1*
6f9931
6f9931
# put logrotate script where it needs to be
6f9931
mkdir -p $RPM_BUILD_ROOT%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d
6f9931
mv ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-log-rotate $RPM_BUILD_ROOT%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d/%{?scl_prefix}mysqld
6f9931
chmod 644 $RPM_BUILD_ROOT%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d/%{?scl_prefix}mysqld
6f9931
6f9931
# copy additional docs into build tree so %%doc will find them
6f9931
cp -p %{SOURCE6} README.mysql-docs
6f9931
cp -p %{SOURCE7} README.mysql-license
6f9931
cp -p %{SOURCE17} README.mysql-devel
6f9931
6f9931
# install the list of skipped tests to be available for user runs
6f9931
install -p -m 0644 mysql-test/rh-skipped-tests.list ${RPM_BUILD_ROOT}%{_datadir}/mysql-test
6f9931
6f9931
# we do not provide devel and embeded sub-packages,
6f9931
# so remove files from that sub-packages
6f9931
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mysql_client_test_embedded
6f9931
rm -f ${RPM_BUILD_ROOT}%{_bindir}/mysqltest_embedded
6f9931
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql_client_test_embedded.1*
6f9931
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysqltest_embedded.1*
6f9931
6f9931
unlink ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient.so
6f9931
unlink ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient_r.so
6f9931
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient.so.*
6f9931
6f9931
# we don't care about scripts for solaris
6f9931
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/postinstall-solaris
6f9931
6f9931
%pre server
6f9931
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
6f9931
/usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/bash \
6f9931
	-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
6f9931
6f9931
%post server
6f9931
%systemd_post %{?scl_prefix}mysqld.service
6f9931
/bin/chmod 0755 %{?_scl_root}/var/lib/mysql
6f9931
/bin/touch /var/log/%{?scl_prefix}mysqld.log
6f9931
6f9931
%preun server
6f9931
%systemd_preun %{?scl_prefix}mysqld.service
6f9931
6f9931
%postun server
6f9931
%systemd_postun_with_restart %{?scl_prefix}mysqld.service
6f9931
6f9931
6f9931
%files
6f9931
%doc README COPYING README.mysql-license
6f9931
%doc README.mysql-docs
6f9931
6f9931
%{_bindir}/msql2mysql
6f9931
%{_bindir}/mysql
6f9931
%{_bindir}/mysql_config
6f9931
%{_bindir}/mysql_find_rows
6f9931
%{_bindir}/mysql_waitpid
6f9931
%{_bindir}/mysqlaccess
6f9931
%{_bindir}/mysqladmin
6f9931
%{_bindir}/mysqlbinlog
6f9931
%{_bindir}/mysqlcheck
6f9931
%{_bindir}/mysqldump
6f9931
%{_bindir}/mysqlimport
6f9931
%{_bindir}/mysqlshow
6f9931
%{_bindir}/mysqlslap
6f9931
%{_bindir}/my_print_defaults
6f9931
6f9931
%{_mandir}/man1/mysql.1*
6f9931
%{_mandir}/man1/mysql_config.1*
6f9931
%{_mandir}/man1/mysql_find_rows.1*
6f9931
%{_mandir}/man1/mysql_waitpid.1*
6f9931
%{_mandir}/man1/mysqlaccess.1*
6f9931
%{_mandir}/man1/mysqladmin.1*
6f9931
%{_mandir}/man1/mysqldump.1*
6f9931
%{_mandir}/man1/mysqlshow.1*
6f9931
%{_mandir}/man1/mysqlslap.1*
6f9931
%{_mandir}/man1/my_print_defaults.1*
6f9931
6f9931
%{_libdir}/mysql/mysql_config
6f9931
6f9931
%files libs
6f9931
%doc README COPYING README.mysql-license
6f9931
# although the default my.cnf contains only server settings, we put it in the
6f9931
# libs package because it can be used for client settings too.
6f9931
%config(noreplace) %{_sysconfdir}/my.cnf
6f9931
%dir %{_libdir}/mysql
6f9931
6f9931
%dir %{_datadir}/mysql
6f9931
%{_datadir}/mysql/english
6f9931
%lang(cs) %{_datadir}/mysql/czech
6f9931
%lang(da) %{_datadir}/mysql/danish
6f9931
%lang(nl) %{_datadir}/mysql/dutch
6f9931
%lang(et) %{_datadir}/mysql/estonian
6f9931
%lang(fr) %{_datadir}/mysql/french
6f9931
%lang(de) %{_datadir}/mysql/german
6f9931
%lang(el) %{_datadir}/mysql/greek
6f9931
%lang(hu) %{_datadir}/mysql/hungarian
6f9931
%lang(it) %{_datadir}/mysql/italian
6f9931
%lang(ja) %{_datadir}/mysql/japanese
6f9931
%lang(ko) %{_datadir}/mysql/korean
6f9931
%lang(no) %{_datadir}/mysql/norwegian
6f9931
%lang(no) %{_datadir}/mysql/norwegian-ny
6f9931
%lang(pl) %{_datadir}/mysql/polish
6f9931
%lang(pt) %{_datadir}/mysql/portuguese
6f9931
%lang(ro) %{_datadir}/mysql/romanian
6f9931
%lang(ru) %{_datadir}/mysql/russian
6f9931
%lang(sr) %{_datadir}/mysql/serbian
6f9931
%lang(sk) %{_datadir}/mysql/slovak
6f9931
%lang(es) %{_datadir}/mysql/spanish
6f9931
%lang(sv) %{_datadir}/mysql/swedish
6f9931
%lang(uk) %{_datadir}/mysql/ukrainian
6f9931
%{_datadir}/mysql/charsets
6f9931
6f9931
%files server
6f9931
%doc support-files/*.cnf
6f9931
6f9931
%{_bindir}/myisamchk
6f9931
%{_bindir}/myisam_ftdump
6f9931
%{_bindir}/myisamlog
6f9931
%{_bindir}/myisampack
6f9931
%{_bindir}/mysql_convert_table_format
6f9931
%{_bindir}/mysql_fix_extensions
6f9931
%{_bindir}/mysql_install_db
6f9931
%{_bindir}/mysql_plugin
6f9931
%{_bindir}/mysql_secure_installation
6f9931
%{_bindir}/mysql_setpermission
6f9931
%{_bindir}/mysql_tzinfo_to_sql
6f9931
%{_bindir}/mysql_upgrade
6f9931
%{_bindir}/mysql_zap
6f9931
%{_bindir}/mysqlbug
6f9931
%{_bindir}/mysqldumpslow
6f9931
%{_bindir}/mysqld_multi
6f9931
%{_bindir}/mysqld_safe
6f9931
%{_bindir}/mysqlhotcopy
6f9931
%{_bindir}/mysqltest
6f9931
%{_bindir}/innochecksum
6f9931
%{_bindir}/perror
6f9931
%{_bindir}/replace
6f9931
%{_bindir}/resolve_stack_dump
6f9931
%{_bindir}/resolveip
6f9931
6f9931
%{_libexecdir}/mysqld
6f9931
6f9931
%{_libdir}/mysql/INFO_SRC
6f9931
%{_libdir}/mysql/INFO_BIN
6f9931
6f9931
%{_libdir}/mysql/mysqlbug
6f9931
6f9931
%{_libdir}/mysql/plugin
6f9931
6f9931
%{_mandir}/man1/msql2mysql.1*
6f9931
%{_mandir}/man1/myisamchk.1*
6f9931
%{_mandir}/man1/myisamlog.1*
6f9931
%{_mandir}/man1/myisampack.1*
6f9931
%{_mandir}/man1/mysql_convert_table_format.1*
6f9931
%{_mandir}/man1/myisam_ftdump.1*
6f9931
%{_mandir}/man1/mysql.server.1*
6f9931
%{_mandir}/man1/mysql_fix_extensions.1*
6f9931
%{_mandir}/man1/mysql_install_db.1*
6f9931
%{_mandir}/man1/mysql_plugin.1*
6f9931
%{_mandir}/man1/mysql_secure_installation.1*
6f9931
%{_mandir}/man1/mysql_upgrade.1*
6f9931
%{_mandir}/man1/mysql_zap.1*
6f9931
%{_mandir}/man1/mysqlbug.1*
6f9931
%{_mandir}/man1/mysqldumpslow.1*
6f9931
%{_mandir}/man1/mysqlbinlog.1*
6f9931
%{_mandir}/man1/mysqlcheck.1*
6f9931
%{_mandir}/man1/mysqld_multi.1*
6f9931
%{_mandir}/man1/mysqld_safe.1*
6f9931
%{_mandir}/man1/mysqlhotcopy.1*
6f9931
%{_mandir}/man1/mysqlimport.1*
6f9931
%{_mandir}/man1/mysqlman.1*
6f9931
%{_mandir}/man1/mysql_setpermission.1*
6f9931
%{_mandir}/man1/mysqltest.1*
6f9931
%{_mandir}/man1/innochecksum.1*
6f9931
%{_mandir}/man1/perror.1*
6f9931
%{_mandir}/man1/replace.1*
6f9931
%{_mandir}/man1/resolve_stack_dump.1*
6f9931
%{_mandir}/man1/resolveip.1*
6f9931
%{_mandir}/man1/mysql_tzinfo_to_sql.1*
6f9931
%{_mandir}/man8/mysqld.8*
6f9931
6f9931
%{_datadir}/mysql/errmsg-utf8.txt
6f9931
%{_datadir}/mysql/fill_help_tables.sql
6f9931
%{_datadir}/mysql/mysql_system_tables.sql
6f9931
%{_datadir}/mysql/mysql_system_tables_data.sql
6f9931
%{_datadir}/mysql/mysql_test_data_timezone.sql
6f9931
%{_datadir}/mysql/my-*.cnf
6f9931
%{_datadir}/mysql/config.*.ini
6f9931
6f9931
%{_unitdir}/%{?scl_prefix}mysqld.service
6f9931
%{_libexecdir}/mysqld-prepare-db-dir
6f9931
%{_libexecdir}/mysqld-wait-ready
6f9931
%{_libexecdir}/mysqld-wait-stop
6f9931
%{?scl:%_root_prefix}%{!?scl:%_prefix}/lib/tmpfiles.d/%{?scl_prefix}mysql.conf
6f9931
6f9931
%attr(0755,mysql,mysql) %dir %{?_scl_root}/var/run/mysqld
6f9931
%attr(0755,mysql,mysql) %dir %{?_scl_root}/var/lib/mysql
6f9931
%if 0%{?scl:1}
6f9931
%attr(0755,mysql,mysql) %dir /var/lib/mysql
6f9931
%endif
6f9931
%attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) /var/log/%{?scl_prefix}mysqld.log
6f9931
%config(noreplace) %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d/%{?scl_prefix}mysqld
6f9931
6f9931
%files devel
6f9931
%doc README.mysql-devel
6f9931
%{_includedir}/mysql
6f9931
%{_datadir}/aclocal/mysql.m4
6f9931
6f9931
%files bench
6f9931
%{_datadir}/sql-bench
6f9931
6f9931
%files test
6f9931
%{_bindir}/mysql_client_test
6f9931
%{_bindir}/my_safe_process
6f9931
%attr(-,mysql,mysql) %{_datadir}/mysql-test
6f9931
6f9931
%{_mandir}/man1/mysql_client_test.1*
6f9931
6f9931
%changelog
25c1e7
* Thu Nov 06 2014 Matej Muzila <mmuzila@redhat.com> - 5.5.40-1
25c1e7
- Rebase to MySQL 5.5.40
25c1e7
  Also fixes: CVE-2014-4274 CVE-2014-4287 CVE-2014-6463 CVE-2014-6464
25c1e7
  CVE-2014-6469 CVE-2014-6484 CVE-2014-6505 CVE-2014-6507 CVE-2014-6520
25c1e7
  CVE-2014-6530 CVE-2014-6551 CVE-2014-6555
25c1e7
  Resolves: #1160515
25c1e7
6f9931
* Thu Apr 17 2014 Honza Horak <hhorak@redhat.com> - 5.5.37-5
6f9931
- Update to MySQL 5.5.37, for various fixes described at
6f9931
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-37.html
6f9931
  Includes fixes for: CVE-2014-2440 CVE-2014-0384 CVE-2014-2432
6f9931
  CVE-2014-2431 CVE-2014-2430 CVE-2014-2436 CVE-2014-2438 CVE-2014-2419
6f9931
  Resolves: #1089209
6f9931
6f9931
* Fri Mar 28 2014 Honza Horak <hhorak@redhat.com> - 5.5.36-6
6f9931
- Use correct tmp dir
6f9931
  Related: #1056440
6f9931
6f9931
* Thu Mar 27 2014 Honza Horak <hhorak@redhat.com> - 5.5.36-5
6f9931
- Remove unnecessary perl provides
6f9931
  Related: #1042875
6f9931
- Wait for daemon ends
6f9931
  Resolves: #1072958
6f9931
6f9931
* Wed Feb 12 2014 Honza Horak <hhorak@redhat.com> 5.5.36-4
6f9931
- Update to MySQL 5.5.36, for various fixes described at
6f9931
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-36.html
6f9931
  Including fixes for CVE-2014-0412, CVE-2014-0437, CVE-2013-5908,
6f9931
  CVE-2013-5807, CVE-2014-0420, CVE-2014-0393, CVE-2013-5891,
6f9931
  CVE-2014-0386, CVE-2013-3839, CVE-2014-0401, CVE-2014-0402,
6f9931
  CVE-2014-0001
6f9931
  Resolves: #1056440
6f9931
- Do not blindly remove socket during start
6f9931
  Resolves: #1045401
6f9931
- Require /usr/bin/scl_source that is not in every scl-utils
6f9931
  Resolves: #1054261
6f9931
- Fix advice after initialization of data stack
6f9931
  Resolves: #1054458
6f9931
- Remove perl provides so no dependency can be made on them
6f9931
  Resolves: #1042875
6f9931
6f9931
* Sun Dec 22 2013 Honza Horak <hhorak@redhat.com> 5.5.35-4
6f9931
- Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl
6f9931
  which now makes mariadb/mysql FTBFS because openssl_1 test fails
6f9931
  Related: #1045401
6f9931
6f9931
* Sat Dec 21 2013 Honza Horak <hhorak@redhat.com> 5.5.35-3
6f9931
- Require psmisc so we have fuser utility
6f9931
  Related: #1045401
6f9931
6f9931
* Fri Dec 20 2013 Honza Horak <hhorak@redhat.com> 5.5.35-2
6f9931
- Check if socket is being used before starting
6f9931
  Resolves: #1045401
6f9931
6f9931
* Thu Dec 19 2013 Honza Horak <hhorak@redhat.com> 5.5.35-1
6f9931
- Update to MySQL 5.5.35, for various fixes described at
6f9931
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-35.html
6f9931
  Resolves: #1045081
6f9931
6f9931
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 5.5.34-4
6f9931
- Rebuild for openssl dependency issues
6f9931
6f9931
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 5.5.34-3
6f9931
- Check if correct process is running in mysql-wait-ready script
6f9931
  Related: #1026313
6f9931
- Use scl enable -- feature
6f9931
6f9931
* Thu Oct 10 2013 Honza Horak <hhorak@redhat.com> 5.5.34-1
6f9931
- Update to MySQL 5.5.34, for various fixes described at
6f9931
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-34.html
6f9931
- Add stuff needed for RHEL-7
6f9931
6f9931
* Thu Jun 27 2013 Honza Horak <hhorak@redhat.com> 5.5.32-2
6f9931
- Fix issues found by Coverity
6f9931
  Resolves: #976751
6f9931
- Fix misleading error message when uninstalling built-in plugins
6f9931
  Resolves: #966645
6f9931
- Remove external man pages, upstream fixed man pages license
6f9931
6f9931
* Fri Jun 14 2013 Honza Horak <hhorak@redhat.com> 5.5.32-1
6f9931
- Update to MySQL 5.5.32, for various fixes described at
6f9931
  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-32.html
6f9931
- Fix service status for unprivileged user
6f9931
  Resolves: #967925
6f9931
- Add README.mariadb-devel to document how -devel package should be used
6f9931
  Resolves: #967951
6f9931
6f9931
* Mon May 13 2013 Honza Horak <hhorak@redhat.com> 5.5.31-8
6f9931
- Run restorecon in %%post section of -server
6f9931
  Resolves: #962390
6f9931
6f9931
* Sun May  5 2013 Honza Horak <hhorak@redhat.com> 5.5.31-6
6f9931
- Don't try to start daemon if socket file is used already
6f9931
6f9931
* Thu May  2 2013 Honza Horak <hhorak@redhat.com> 5.5.31-5
6f9931
- Test suite sanity fixes
6f9931
6f9931
* Tue Apr 30 2013 Honza Horak <hhorak@redhat.com> 5.5.31-4
6f9931
- Fix reporting of service starting
6f9931
  Resolves: #958098
6f9931
- Include mysqlhotcopy utility and -devel sub-package for building
6f9931
  daemon plugins
6f9931
6f9931
* Sat Apr 27 2013 Honza Horak <hhorak@redhat.com> 5.5.31-3
6f9931
- Remove duplicite directory creation
6f9931
6f9931
* Fri Apr 26 2013 Honza Horak <hhorak@redhat.com> 5.5.31-2
6f9931
- Fix building with relro and PIE
6f9931
6f9931
* Thu Apr 25 2013 Honza Horak <hhorak@redhat.com> 5.5.31-1
6f9931
- Update to MySQL 5.5.31, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-31.html
6f9931
- Turn on hardened build
6f9931
6f9931
* Wed Apr 24 2013 Honza Horak <hhorak@redhat.com> 5.5.30-6
6f9931
- Spec file fixes found in Package Review #950053
6f9931
- Use log file prefixed by scl name and located in /var/log
6f9931
6f9931
* Tue Apr  9 2013 Honza Horak <hhorak@redhat.com> 5.5.30-4
6f9931
- Fix checking daemon process status
6f9931
- Fix log file path in logrotate script
6f9931
6f9931
* Thu Apr  4 2013 Honza Horak <hhorak@redhat.com> 5.5.30-3
6f9931
- Removing stuff needed for RHEL-7
6f9931
6f9931
* Thu Mar 21 2013 Honza Horak <hhorak@redhat.com> 5.5.30-2
6f9931
- Cleaning Obsoletes that are wrong for SCL
6f9931
- Remove ldconfig call since we don't ship libraries
6f9931
6f9931
* Tue Feb 12 2013 Honza Horak <hhorak@redhat.com> 5.5.30-1
6f9931
- Update to MySQL 5.5.30, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-30.html
6f9931
6f9931
* Fri Jan  4 2013 Honza Horak <hhorak@redhat.com> 5.5.29-1
6f9931
- Update to MySQL 5.5.29, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-29.html
6f9931
- Fix inaccurate default for socket location in mysqld-wait-ready
6f9931
Resolves: #890535
6f9931
6f9931
* Fri Jan  4 2013 Honza Horak <hhorak@redhat.com> 5.5.28-5
6f9931
- Add patch for CVE-2012-5611
6f9931
Resolves: #883642
6f9931
- Widen DH key length from 512 to 1024 bits to meet minimum requirements
6f9931
  of FIPS 140-2
6f9931
Related: #877124
6f9931
- Use --no-backup-if-mismatch to prevent including backup files
6f9931
6f9931
* Mon Nov 12 2012 Honza Horak <hhorak@redhat.com> 5.5.28-4
6f9931
- Fix non-deterministic --verbose behavior in main.mysqldump test
6f9931
6f9931
* Thu Oct 25 2012 Honza Horak <hhorak@redhat.com> 5.5.28-3
6f9931
- Use a config file for specifying SCLS enabled when starting service
6f9931
- Changed way how patches are enhanced with SCL values
6f9931
- Fixed scl scripts path replacement
6f9931
- Create /var/lib/mysql for socket file
6f9931
- Use scl-service wrapper to fix systemd start issues
6f9931
6f9931
* Thu Oct 18 2012 Honza Horak <hhorak@redhat.com> 5.5.28-2
6f9931
- Re-enable SCLs after /sbin/service clears environment variables
6f9931
- Have socket file the same path as core mysql
6f9931
- Do not use systemd macros
6f9931
6f9931
* Sat Sep 29 2012 Tom Lane <tgl@redhat.com> 5.5.28-1
6f9931
- Update to MySQL 5.5.28, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html
6f9931
- Clean up partially-created database files when mysql_install_db fails
6f9931
Related: #835131
6f9931
- Honor user and group settings from service file in mysqld-prepare-db-dir
6f9931
Resolves: #840431
6f9931
- Export THR_KEY_mysys as a workaround for inadequate threading support
6f9931
Resolves: #846602
6f9931
- Adopt new systemd macros for server package install/uninstall triggers
6f9931
Resolves: #850222
6f9931
- Use --no-defaults when invoking mysqladmin to wait for the server to start
6f9931
Related: #855704
6f9931
6f9931
* Sun Aug  5 2012 Tom Lane <tgl@redhat.com> 5.5.27-1
6f9931
- Update to MySQL 5.5.27, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-27.html
6f9931
6f9931
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.25a-2
6f9931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6f9931
6f9931
* Fri Jul  6 2012 Tom Lane <tgl@redhat.com> 5.5.25a-1
6f9931
- Update to MySQL 5.5.25a, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25a.html
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25.html
6f9931
- Don't use systemd's Restart feature; rely on mysqld_safe instead
6f9931
Resolves: #832029
6f9931
6f9931
* Mon Jun 11 2012 Tom Lane <tgl@redhat.com> 5.5.24-1
6f9931
- Update to MySQL 5.5.24, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html
6f9931
  including the fix for CVE-2012-2122
6f9931
Resolves: #830680
6f9931
- Tweak logrotate script to put the right permissions on mysqld.log
6f9931
- Minor specfile fixes for recent packaging guidelines changes
6f9931
6f9931
* Sat Apr 28 2012 Tom Lane <tgl@redhat.com> 5.5.23-1
6f9931
- Update to MySQL 5.5.23, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-23.html
6f9931
6f9931
* Sat Mar 24 2012 Tom Lane <tgl@redhat.com> 5.5.22-1
6f9931
- Update to MySQL 5.5.22, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-22.html
6f9931
- Turn on PrivateTmp in service file
6f9931
Resolves: #782513
6f9931
- Comment out the contents of /etc/logrotate.d/mysqld, so that manual
6f9931
  action is needed to enable log rotation.  Given the multiple ways in
6f9931
  which the rotation script can fail, it seems imprudent to try to make
6f9931
  it run by default.
6f9931
Resolves: #799735
6f9931
6f9931
* Tue Mar 20 2012 Honza Horak <hhorak@redhat.com> 5.5.21-3
6f9931
- Revise mysql_plugin test patch so it moves plugin files to
6f9931
  a temporary directory (better solution to #789530)
6f9931
6f9931
* Tue Mar 13 2012 Honza Horak <hhorak@redhat.com> 5.5.21-2
6f9931
- Fix ssl-related tests to specify expected cipher explicitly
6f9931
Related: #789600
6f9931
- Fix several strcpy calls to check destination size
6f9931
6f9931
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 5.5.21-1
6f9931
- Update to MySQL 5.5.21, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-21.html
6f9931
- Hack openssl regression test to still work with rawhide's openssl
6f9931
- Fix assorted failures in post-install regression tests (mysql-test RPM)
6f9931
Resolves: #789530
6f9931
6f9931
* Fri Feb 10 2012 Tom Lane <tgl@redhat.com> 5.5.20-2
6f9931
- Revise our test-disabling method to make it possible to disable tests on a
6f9931
  platform-specific basis, and also to get rid of mysql-disable-test.patch,
6f9931
  which broke in just about every upstream update (Honza Horak)
6f9931
- Disable cycle-counter-dependent regression tests on ARM, since there is
6f9931
  not currently any support for that in Fedora ARM kernels
6f9931
Resolves: #773116
6f9931
- Add some comments to mysqld.service documenting how to customize it
6f9931
Resolves: #785243
6f9931
6f9931
* Fri Jan 27 2012 Tom Lane <tgl@redhat.com> 5.5.20-1
6f9931
- Update to MySQL 5.5.20, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html
6f9931
  as well as security fixes described at
6f9931
  http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
6f9931
Resolves: #783828
6f9931
- Re-include the mysqld logrotate script, now that it's not so bogus
6f9931
Resolves: #547007
6f9931
6f9931
* Wed Jan  4 2012 Tom Lane <tgl@redhat.com> 5.5.19-1
6f9931
- Update to MySQL 5.5.19, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html
6f9931
6f9931
* Sun Nov 20 2011 Tom Lane <tgl@redhat.com> 5.5.18-1
6f9931
- Update to MySQL 5.5.18, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-18.html
6f9931
6f9931
* Sat Nov 12 2011 Tom Lane <tgl@redhat.com> 5.5.17-1
6f9931
- Update to MySQL 5.5.17, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-17.html
6f9931
- Get rid of version-number assumption in sysv-to-systemd conversion trigger
6f9931
6f9931
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 5.5.16-4
6f9931
- Don't assume all ethernet devices are named ethX
6f9931
Resolves: #682365
6f9931
- Exclude user definition from my.cnf, user is defined in mysqld.service now
6f9931
Resolves: #661265
6f9931
6f9931
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-3
6f9931
- Fix unportable usage associated with va_list arguments
6f9931
Resolves: #744707
6f9931
6f9931
* Sun Oct 16 2011 Tom Lane <tgl@redhat.com> 5.5.16-2
6f9931
- Update to MySQL 5.5.16, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-16.html
6f9931
6f9931
* Fri Jul 29 2011 Tom Lane <tgl@redhat.com> 5.5.15-2
6f9931
- Update to MySQL 5.5.15, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-15.html
6f9931
6f9931
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 5.5.14-3
6f9931
- Convert to systemd startup support (no socket activation, for now anyway)
6f9931
Related: #714426
6f9931
6f9931
* Tue Jul 12 2011 Tom Lane <tgl@redhat.com> 5.5.14-2
6f9931
- Remove make_scrambled_password and make_scrambled_password_323 from mysql.h,
6f9931
  since we're not allowing clients to call those functions anyway
6f9931
Related: #690346
6f9931
6f9931
* Mon Jul 11 2011 Tom Lane <tgl@redhat.com> 5.5.14-1
6f9931
- Update to MySQL 5.5.14, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-14.html
6f9931
6f9931
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 5.5.13-2
6f9931
- Remove erroneously-included Default-Start line from LSB init block
6f9931
Resolves: #717024
6f9931
6f9931
* Thu Jun  2 2011 Tom Lane <tgl@redhat.com> 5.5.13-1
6f9931
- Update to MySQL 5.5.13, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-13.html
6f9931
6f9931
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.12-1
6f9931
- Update to MySQL 5.5.12, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-12.html
6f9931
6f9931
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 5.5.10-3
6f9931
- Add LSB init block to initscript, to ensure sane ordering at system boot
6f9931
Resolves: #703214
6f9931
- Improve initscript start action to notice when mysqladmin is failing
6f9931
  because of configuration problems
6f9931
Related: #703476
6f9931
- Remove exclusion of "gis" regression test, since upstream bug 59908
6f9931
  is fixed (for some value of "fixed") as of 5.5.10.
6f9931
6f9931
* Wed Mar 23 2011 Tom Lane <tgl@redhat.com> 5.5.10-2
6f9931
- Add my_make_scrambled_password to the list of symbols exported by
6f9931
  libmysqlclient.so.  Needed at least by pure-ftpd.
6f9931
6f9931
* Mon Mar 21 2011 Tom Lane <tgl@redhat.com> 5.5.10-1
6f9931
- Update to MySQL 5.5.10, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-10.html
6f9931
  Note that this includes a rather belated soname version bump for
6f9931
  libmysqlclient.so, from .16 to .18
6f9931
- Add tmpfiles.d config file so that /var/run/mysqld is recreated at boot
6f9931
  (only needed in Fedora 15 and later)
6f9931
Resolves: #658938
6f9931
6f9931
* Wed Feb 16 2011 Tom Lane <tgl@redhat.com> 5.5.9-2
6f9931
- Disable a regression test that is now showing platform-dependent results
6f9931
Resolves: #674253
6f9931
6f9931
* Sat Feb 12 2011 Tom Lane <tgl@redhat.com> 5.5.9-1
6f9931
- Update to MySQL 5.5.9, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-9.html
6f9931
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
6f9931
6f9931
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.8-10
6f9931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6f9931
6f9931
* Fri Feb  4 2011 Tom Lane <tgl@redhat.com> 5.5.8-9
6f9931
- Support s390/s390x in performance schema's cycle-counting functions
6f9931
  (needed to make regression tests pass on these platforms)
6f9931
6f9931
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-8
6f9931
- PPC64 floating-point differences are not masked by -ffloat-store after all,
6f9931
  so let's just disable gis regression test till upstream makes it less picky
6f9931
Resolves: #674253
6f9931
- Add __perllib_requires setting to make rpm 4.9 do what we need
6f9931
6f9931
* Wed Feb  2 2011 Tom Lane <tgl@redhat.com> 5.5.8-7
6f9931
- Work around some portability issues on PPC64
6f9931
Resolves: #674253
6f9931
6f9931
* Thu Jan 20 2011 Tom Lane <tgl@redhat.com> 5.5.8-6
6f9931
- Remove no-longer-needed special switches in CXXFLAGS, per yesterday's
6f9931
  discussion in fedora-devel about -fexceptions.
6f9931
- Rebuild needed anyway to check compatibility with latest systemtap.
6f9931
6f9931
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-5
6f9931
- Fix failure to honor MYSQL_HOME environment variable
6f9931
Resolves: #669364
6f9931
6f9931
* Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-4
6f9931
- Fix crash during startup of embedded mysqld library
6f9931
Resolves: #667365
6f9931
6f9931
* Mon Jan  3 2011 Tom Lane <tgl@redhat.com> 5.5.8-3
6f9931
- my_print_help, load_defaults, free_defaults, and handle_options all turn
6f9931
  out to be documented/recommended in Paul DuBois' MySQL book, so we'd better
6f9931
  consider them part of the de-facto API.
6f9931
Resolves: #666728
6f9931
6f9931
* Mon Dec 27 2010 Tom Lane <tgl@redhat.com> 5.5.8-2
6f9931
- Add mysql_client_errors[] to the set of exported libmysqlclient symbols;
6f9931
  needed by PHP.
6f9931
6f9931
* Thu Dec 23 2010 Tom Lane <tgl@redhat.com> 5.5.8-1
6f9931
- Update to MySQL 5.5.8 (major version bump).  Note this includes removal
6f9931
  of libmysqlclient_r.so.
6f9931
- Add a linker version script to hide libmysqlclient functions that aren't
6f9931
  part of the documented API.
6f9931
6f9931
* Mon Nov  1 2010 Tom Lane <tgl@redhat.com> 5.1.52-1
6f9931
- Update to MySQL 5.1.52, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-52.html
6f9931
Resolves: #646569
6f9931
6f9931
* Thu Oct  7 2010 Tom Lane <tgl@redhat.com> 5.1.51-2
6f9931
- Re-disable the outfile_loaddata test, per report from Dan Horak.
6f9931
6f9931
* Wed Oct  6 2010 Tom Lane <tgl@redhat.com> 5.1.51-1
6f9931
- Update to MySQL 5.1.51, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
6f9931
6f9931
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-2
6f9931
- Include my_compiler.h in distribution, per upstream bug #55846.
6f9931
  Otherwise PHP, for example, won't build.
6f9931
6f9931
* Sat Aug 28 2010 Tom Lane <tgl@redhat.com> 5.1.50-1
6f9931
- Update to MySQL 5.1.50, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-50.html
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-49.html
6f9931
6f9931
* Wed Jul 14 2010 Tom Lane <tgl@redhat.com> 5.1.48-3
6f9931
- Fix FTBFS with gcc 4.5.
6f9931
Related: #614293
6f9931
6f9931
* Tue Jul 13 2010 Tom Lane <tgl@redhat.com> 5.1.48-2
6f9931
- Duplicate COPYING and EXCEPTIONS-CLIENT in -libs and -embedded subpackages,
6f9931
  to ensure they are available when any subset of mysql RPMs are installed,
6f9931
  per revised packaging guidelines
6f9931
- Allow init script's STARTTIMEOUT/STOPTIMEOUT to be overridden from sysconfig
6f9931
Related: #609734
6f9931
6f9931
* Mon Jun 21 2010 Tom Lane <tgl@redhat.com> 5.1.48-1
6f9931
- Update to MySQL 5.1.48, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
6f9931
  including a fix for CVE-2010-2008
6f9931
Related: #614214
6f9931
6f9931
* Fri Jun  4 2010 Tom Lane <tgl@redhat.com> 5.1.47-2
6f9931
- Add back "partition" storage engine
6f9931
Resolves: #597390
6f9931
- Fix broken "federated" storage engine plugin
6f9931
Related: #587170
6f9931
- Read all certificates in SSL certificate files, to support chained certs
6f9931
Related: #598656
6f9931
6f9931
* Mon May 24 2010 Tom Lane <tgl@redhat.com> 5.1.47-1
6f9931
- Update to MySQL 5.1.47, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-47.html
6f9931
  including fixes for CVE-2010-1848, CVE-2010-1849, CVE-2010-1850
6f9931
Resolves: #592862
6f9931
Resolves: #583717
6f9931
- Create mysql group explicitly in pre-server script, to ensure correct GID
6f9931
Related: #594155
6f9931
6f9931
* Sat Apr 24 2010 Tom Lane <tgl@redhat.com> 5.1.46-1
6f9931
- Update to MySQL 5.1.46, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-46.html
6f9931
6f9931
* Thu Mar 25 2010 Tom Lane <tgl@redhat.com> 5.1.45-2
6f9931
- Fix multiple problems described in upstream bug 52019, because regression
6f9931
  tests fail on PPC if we don't.
6f9931
6f9931
* Wed Mar 24 2010 Tom Lane <tgl@redhat.com> 5.1.45-1
6f9931
- Update to MySQL 5.1.45, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-45.html
6f9931
6f9931
* Sun Feb 21 2010 Tom Lane <tgl@redhat.com> 5.1.44-2
6f9931
- Add "Obsoletes: mysql-cluster" to fix upgrade-in-place from F-12
6f9931
- Bring init script into some modicum of compliance with Fedora/LSB standards
6f9931
Related: #557711
6f9931
Related: #562749
6f9931
6f9931
* Sat Feb 20 2010 Tom Lane <tgl@redhat.com> 5.1.44-1
6f9931
- Update to MySQL 5.1.44, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html
6f9931
- Remove mysql.info, which is not freely redistributable
6f9931
Resolves: #560181
6f9931
- Revert broken upstream fix for their bug 45058
6f9931
Resolves: #566547
6f9931
6f9931
* Sat Feb 13 2010 Tom Lane <tgl@redhat.com> 5.1.43-2
6f9931
- Remove mysql-cluster, which is no longer supported by upstream in this
6f9931
  source distribution.  If we want it we'll need a separate SRPM for it.
6f9931
6f9931
* Fri Feb 12 2010 Tom Lane <tgl@redhat.com> 5.1.43-1
6f9931
- Update to MySQL 5.1.43, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
6f9931
6f9931
* Fri Jan 29 2010 Tom Lane <tgl@redhat.com> 5.1.42-7
6f9931
- Add backported patch for CVE-2008-7247 (upstream bug 39277)
6f9931
Related: #543619
6f9931
- Use non-expired certificates for SSL testing (upstream bug 50702)
6f9931
6f9931
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 5.1.42-6
6f9931
- Emit explicit error message if user tries to build RPM as root
6f9931
Related: #558915
6f9931
6f9931
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.42-5
6f9931
- Correct Source0: tag and comment to reflect how to get the tarball
6f9931
6f9931
* Fri Jan  8 2010 Tom Lane <tgl@redhat.com> 5.1.42-4
6f9931
- Disable symbolic links by default in /etc/my.cnf
6f9931
Resolves: #553652
6f9931
6f9931
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 5.1.42-3
6f9931
- Remove static libraries (.a files) from package, per packaging guidelines
6f9931
- Change %%define to %%global, per packaging guidelines
6f9931
6f9931
* Sat Jan  2 2010 Tom Lane <tgl@redhat.com> 5.1.42-2
6f9931
- Disable building the innodb plugin; it tickles assorted gcc bugs and
6f9931
  doesn't seem entirely ready for prime time anyway.
6f9931
6f9931
* Fri Jan  1 2010 Tom Lane <tgl@redhat.com> 5.1.42-1
6f9931
- Update to MySQL 5.1.42, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
6f9931
- Start mysqld_safe with --basedir=/usr, to avoid unwanted SELinux messages
6f9931
Resolves: #547485
6f9931
6f9931
* Thu Dec 17 2009 Tom Lane <tgl@redhat.com> 5.1.41-2
6f9931
- Stop waiting during "service mysqld start" if mysqld_safe exits
6f9931
Resolves: #544095
6f9931
6f9931
* Mon Nov 23 2009 Tom Lane <tgl@redhat.com> 5.1.41-1
6f9931
- Update to MySQL 5.1.41, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
6f9931
  including fixes for CVE-2009-4019
6f9931
Related: #540906
6f9931
- Don't set old_passwords=1; we aren't being bug-compatible with 3.23 anymore
6f9931
Resolves: #540735
6f9931
6f9931
* Tue Nov 10 2009 Tom Lane <tgl@redhat.com> 5.1.40-1
6f9931
- Update to MySQL 5.1.40, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html
6f9931
- Do not force the --log-error setting in mysqld init script
6f9931
Resolves: #533736
6f9931
6f9931
* Sat Oct 17 2009 Tom Lane <tgl@redhat.com> 5.1.39-4
6f9931
- Replace kluge fix for ndbd sparc crash with a real fix (mysql bug 48132)
6f9931
6f9931
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 5.1.39-3
6f9931
- Work around two different compiler bugs on sparc, one by backing off
6f9931
  optimization from -O2 to -O1, and the other with a klugy patch
6f9931
Related: #529298, #529299
6f9931
- Clean up bogosity in multilib stub header support: ia64 should not be
6f9931
  listed (it's not multilib), sparc and sparc64 should be
6f9931
6f9931
* Wed Sep 23 2009 Tom Lane <tgl@redhat.com> 5.1.39-2
6f9931
- Work around upstream bug 46895 by disabling outfile_loaddata test
6f9931
6f9931
* Tue Sep 22 2009 Tom Lane <tgl@redhat.com> 5.1.39-1
6f9931
- Update to MySQL 5.1.39, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html
6f9931
6f9931
* Mon Aug 31 2009 Tom Lane <tgl@redhat.com> 5.1.37-5
6f9931
- Work around unportable assumptions about stpcpy(); re-enable main.mysql test
6f9931
- Clean up some obsolete parameters to the configure script
6f9931
6f9931
* Sat Aug 29 2009 Tom Lane <tgl@redhat.com> 5.1.37-4
6f9931
- Remove one misguided patch; turns out I was chasing a glibc bug
6f9931
- Temporarily disable "main.mysql" test; there's something broken there too,
6f9931
  but we need to get mysql built in rawhide for dependency reasons
6f9931
6f9931
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.1.37-3
6f9931
- rebuilt with new openssl
6f9931
6f9931
* Fri Aug 14 2009 Tom Lane <tgl@redhat.com> 5.1.37-2
6f9931
- Add a couple of patches to improve the probability of the regression tests
6f9931
  completing in koji builds
6f9931
6f9931
* Sun Aug  2 2009 Tom Lane <tgl@redhat.com> 5.1.37-1
6f9931
- Update to MySQL 5.1.37, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html
6f9931
6f9931
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.36-2
6f9931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6f9931
6f9931
* Fri Jul 10 2009 Tom Lane <tgl@redhat.com> 5.1.36-1
6f9931
- Update to MySQL 5.1.36, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html
6f9931
6f9931
* Sat Jun  6 2009 Tom Lane <tgl@redhat.com> 5.1.35-1
6f9931
- Update to MySQL 5.1.35, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
6f9931
- Ensure that /var/lib/mysql is created with the right SELinux context
6f9931
Resolves: #502966
6f9931
6f9931
* Fri May 15 2009 Tom Lane <tgl@redhat.com> 5.1.34-1
6f9931
- Update to MySQL 5.1.34, for various fixes described at
6f9931
  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-34.html
6f9931
- Increase startup timeout per bug #472222
6f9931
6f9931
* Wed Apr 15 2009 Tom Lane <tgl@redhat.com> 5.1.33-2
6f9931
- Increase stack size of ndbd threads for safety's sake.
6f9931
Related: #494631
6f9931
6f9931
* Tue Apr  7 2009 Tom Lane <tgl@redhat.com> 5.1.33-1
6f9931
- Update to MySQL 5.1.33.
6f9931
- Disable use of pthread_setschedparam; doesn't work the way code expects.
6f9931
Related: #477624
6f9931
6f9931
* Wed Mar  4 2009 Tom Lane <tgl@redhat.com> 5.1.32-1
6f9931
- Update to MySQL 5.1.32.
6f9931
6f9931
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.31-2
6f9931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6f9931
6f9931
* Fri Feb 13 2009 Tom Lane <tgl@redhat.com> 5.1.31-1
6f9931
- Update to MySQL 5.1.31.
6f9931
6f9931
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-2
6f9931
- hm, apparently --with-innodb and --with-ndbcluster are still needed
6f9931
  even though no longer documented ...
6f9931
6f9931
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-1
6f9931
- Update to MySQL 5.1.30.  Note that this includes an ABI break for
6f9931
  libmysqlclient (it's now got .so major version 16).
6f9931
- This also updates mysql for new openssl build
6f9931
6f9931
* Wed Oct  1 2008 Tom Lane <tgl@redhat.com> 5.0.67-2
6f9931
- Build the "embedded server" library, and package it in a new sub-RPM
6f9931
  mysql-embedded, along with mysql-embedded-devel for devel support files.
6f9931
Resolves: #149829
6f9931
6f9931
* Sat Aug 23 2008 Tom Lane <tgl@redhat.com> 5.0.67-1
6f9931
- Update to mysql version 5.0.67
6f9931
- Move mysql_config's man page to base package, again (apparently I synced
6f9931
  that change the wrong way while importing specfile changes for ndbcluster)
6f9931
6f9931
* Sun Jul 27 2008 Tom Lane <tgl@redhat.com> 5.0.51a-2
6f9931
- Enable ndbcluster support
6f9931
Resolves: #163758
6f9931
- Suppress odd crash messages during package build, caused by trying to
6f9931
  build dbug manual (which we don't install anyway) with dbug disabled
6f9931
Resolves: #437053
6f9931
- Improve mysql.init to pass configured datadir to mysql_install_db,
6f9931
  and to force user=mysql for both mysql_install_db and mysqld_safe.
6f9931
Related: #450178
6f9931
6f9931
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.51a-1
6f9931
- Update to mysql version 5.0.51a
6f9931
6f9931
* Mon Mar  3 2008 Tom Lane <tgl@redhat.com> 5.0.45-11
6f9931
- Fix mysql-stack-guard patch to work correctly on IA64
6f9931
- Fix mysql.init to wait correctly when socket is not in default place
6f9931
Related: #435494
6f9931
6f9931
* Mon Mar 03 2008 Dennis Gilmore <dennis@ausil.us> 5.0.45-10
6f9931
- add sparc64 to 64 bit arches for test suite checking
6f9931
- add sparc, sparcv9 and sparc64 to multilib handling
6f9931
6f9931
* Thu Feb 28 2008 Tom Lane <tgl@redhat.com> 5.0.45-9
6f9931
- Fix the stack overflow problem encountered in January.  It seems the real
6f9931
issue is that the buildfarm machines were moved to RHEL5, which uses 64K not
6f9931
4K pages on PPC, and because RHEL5 takes the guard area out of the requested
6f9931
thread stack size we no longer had enough headroom.
6f9931
Related: #435337
6f9931
6f9931
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.45-8
6f9931
- Autorebuild for GCC 4.3
6f9931
6f9931
* Tue Jan  8 2008 Tom Lane <tgl@redhat.com> 5.0.45-7
6f9931
- Unbelievable ... upstream still thinks that it's a good idea to have a
6f9931
  regression test that is guaranteed to begin failing come January 1.
6f9931
- ... and it seems we need to raise STACK_MIN_SIZE again too.
6f9931
6f9931
* Thu Dec 13 2007 Tom Lane <tgl@redhat.com> 5.0.45-6
6f9931
- Back-port upstream fixes for CVE-2007-5925, CVE-2007-5969, CVE-2007-6303.
6f9931
Related: #422211
6f9931
6f9931
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 5.0.45-5
6f9931
- Rebuild for new openssl
6f9931
6f9931
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 5.0.45-4
6f9931
- Seems we need explicit BuildRequires on gawk and procps now
6f9931
- Rebuild to fix Fedora toolchain issues
6f9931
6f9931
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 5.0.45-3
6f9931
- Recent perl changes in rawhide mean we need a more specific BuildRequires
6f9931
6f9931
* Thu Aug  2 2007 Tom Lane <tgl@redhat.com> 5.0.45-2
6f9931
- Update License tag to match code.
6f9931
- Work around recent Fedora change that makes "open" a macro name.
6f9931
6f9931
* Sun Jul 22 2007 Tom Lane <tgl@redhat.com> 5.0.45-1
6f9931
- Update to MySQL 5.0.45
6f9931
Resolves: #246535
6f9931
- Move mysql_config's man page to base package
6f9931
Resolves: #245770
6f9931
- move my_print_defaults to base RPM, for consistency with Stacks packaging
6f9931
- mysql user is no longer deleted at RPM uninstall
6f9931
Resolves: #241912
6f9931
6f9931
* Thu Mar 29 2007 Tom Lane <tgl@redhat.com> 5.0.37-2
6f9931
- Use a less hacky method of getting default values in initscript
6f9931
Related: #233771, #194596
6f9931
- Improve packaging of mysql-libs per suggestions from Remi Collet
6f9931
Resolves: #233731
6f9931
- Update default /etc/my.cnf ([mysql.server] has been bogus for a long time)
6f9931
6f9931
* Mon Mar 12 2007 Tom Lane <tgl@redhat.com> 5.0.37-1
6f9931
- Update to MySQL 5.0.37
6f9931
Resolves: #231838
6f9931
- Put client library into a separate mysql-libs RPM to reduce dependencies
6f9931
Resolves: #205630
6f9931
6f9931
* Fri Feb  9 2007 Tom Lane <tgl@redhat.com> 5.0.33-1
6f9931
- Update to MySQL 5.0.33
6f9931
- Install band-aid fix for "view" regression test designed to fail after 2006
6f9931
- Don't chmod -R the entire database directory tree on every startup
6f9931
Related: #221085
6f9931
- Fix unsafe use of install-info
6f9931
Resolves: #223713
6f9931
- Cope with new automake in F7
6f9931
Resolves: #224171
6f9931
6f9931
* Thu Nov  9 2006 Tom Lane <tgl@redhat.com> 5.0.27-1
6f9931
- Update to MySQL 5.0.27 (see CVE-2006-4031, CVE-2006-4226, CVE-2006-4227)
6f9931
Resolves: #202247, #202675, #203427, #203428, #203432, #203434, #208641
6f9931
- Fix init script to return status 1 on server start timeout
6f9931
Resolves: #203910
6f9931
- Move mysqldumpslow from base package to mysql-server
6f9931
Resolves: #193559
6f9931
- Adjust link options for BDB module
6f9931
Resolves: #199368
6f9931
6f9931
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.0.22-2.1
6f9931
- rebuild
6f9931
6f9931
* Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 5.0.22-2
6f9931
- Work around brew's tendency not to clean up failed builds completely,
6f9931
  by adding code in mysql-testing.patch to kill leftover mysql daemons.
6f9931
6f9931
* Thu Jun  8 2006 Tom Lane <tgl@redhat.com> 5.0.22-1
6f9931
- Update to MySQL 5.0.22 (fixes CVE-2006-2753)
6f9931
- Install temporary workaround for gcc bug on s390x (bz #193912)
6f9931
6f9931
* Tue May  2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2
6f9931
- Fix bogus perl Requires for mysql-test
6f9931
6f9931
* Mon May  1 2006 Tom Lane <tgl@redhat.com> 5.0.21-1
6f9931
- Update to MySQL 5.0.21
6f9931
6f9931
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 5.0.18-4
6f9931
- Modify multilib header hack to not break non-RH arches, per bug #181335
6f9931
- Remove logrotate script, per bug #180639.
6f9931
- Add a new mysql-test RPM to carry the regression test files;
6f9931
  hack up test scripts as needed to make them run in /usr/share/mysql-test.
6f9931
6f9931
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-2.1
6f9931
- bump again for double-long bug on ppc(64)
6f9931
6f9931
* Thu Feb  9 2006 Tom Lane <tgl@redhat.com> 5.0.18-2
6f9931
- err-log option has been renamed to log-error, fix my.cnf and initscript
6f9931
6f9931
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-1.1
6f9931
- rebuilt for new gcc4.1 snapshot and glibc changes
6f9931
6f9931
* Thu Jan  5 2006 Tom Lane <tgl@redhat.com> 5.0.18-1
6f9931
- Update to MySQL 5.0.18
6f9931
6f9931
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-4
6f9931
- fix my_config.h for ppc platforms
6f9931
6f9931
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3
6f9931
- my_config.h needs to guard against 64-bit platforms that also define the
6f9931
  32-bit symbol
6f9931
6f9931
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 5.0.16-2
6f9931
- oops, looks like we want uname -i not uname -m
6f9931
6f9931
* Mon Dec 12 2005 Tom Lane <tgl@redhat.com> 5.0.16-1
6f9931
- Update to MySQL 5.0.16
6f9931
- Add EXCEPTIONS-CLIENT license info to the shipped documentation
6f9931
- Make my_config.h architecture-independent for multilib installs;
6f9931
  put the original my_config.h into my_config_$ARCH.h
6f9931
- Add -fwrapv to CFLAGS so that gcc 4.1 doesn't break it
6f9931
6f9931
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
6f9931
- rebuilt
6f9931
6f9931
* Mon Nov 14 2005 Tom Lane <tgl@redhat.com> 5.0.15-3
6f9931
- Make stop script wait for daemon process to disappear (bz#172426)
6f9931
6f9931
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 5.0.15-2
6f9931
- Rebuild due to openssl library update.
6f9931
6f9931
* Thu Nov  3 2005 Tom Lane <tgl@redhat.com> 5.0.15-1
6f9931
- Update to MySQL 5.0.15 (scratch build for now)
6f9931
6f9931
* Wed Oct  5 2005 Tom Lane <tgl@redhat.com> 4.1.14-1
6f9931
- Update to MySQL 4.1.14
6f9931
6f9931
* Tue Aug 23 2005 Tom Lane <tgl@redhat.com> 4.1.12-3
6f9931
- Use politically correct patch name.
6f9931
6f9931
* Tue Jul 12 2005 Tom Lane <tgl@redhat.com> 4.1.12-2
6f9931
- Fix buffer overflow newly exposed in isam code; it's the same issue
6f9931
  previously found in myisam, and not very exciting, but I'm tired of
6f9931
  seeing build warnings.
6f9931
6f9931
* Mon Jul 11 2005 Tom Lane <tgl@redhat.com> 4.1.12-1
6f9931
- Update to MySQL 4.1.12 (includes a fix for bz#158688, bz#158689)
6f9931
- Extend mysql-test-ssl.patch to solve rpl_openssl test failure (bz#155850)
6f9931
- Update mysql-lock-ssl.patch to match the upstream committed version
6f9931
- Add --with-isam to re-enable the old ISAM table type, per bz#159262
6f9931
- Add dependency on openssl-devel per bz#159569
6f9931
- Remove manual.txt, as upstream decided not to ship it anymore;
6f9931
  it was redundant with the mysql.info file anyway.
6f9931
6f9931
* Mon May  9 2005 Tom Lane <tgl@redhat.com> 4.1.11-4
6f9931
- Include proper locking for OpenSSL in the server, per bz#155850
6f9931
6f9931
* Mon Apr 25 2005 Tom Lane <tgl@redhat.com> 4.1.11-3
6f9931
- Enable openssl tests during build, per bz#155850
6f9931
- Might as well turn on --disable-dependency-tracking
6f9931
6f9931
* Fri Apr  8 2005 Tom Lane <tgl@redhat.com> 4.1.11-2
6f9931
- Avoid dependency on <asm/atomic.h>, cause it won't build anymore on ia64.
6f9931
  This is probably a cleaner solution for bz#143537, too.
6f9931
6f9931
* Thu Apr  7 2005 Tom Lane <tgl@redhat.com> 4.1.11-1
6f9931
- Update to MySQL 4.1.11 to fix bz#152911 as well as other issues
6f9931
- Move perl-DBI, perl-DBD-MySQL dependencies to server package (bz#154123)
6f9931
- Override configure thread library test to suppress HAVE_LINUXTHREADS check
6f9931
- Fix BDB failure on s390x (bz#143537)
6f9931
- At last we can enable "make test" on all arches
6f9931
6f9931
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 4.1.10a-1
6f9931
- Update to MySQL 4.1.10a to fix security vulnerabilities (bz#150868,
6f9931
  for CAN-2005-0711, and bz#150871 for CAN-2005-0709, CAN-2005-0710).
6f9931
6f9931
* Sun Mar  6 2005 Tom Lane <tgl@redhat.com> 4.1.10-3
6f9931
- Fix package Requires: interdependencies.
6f9931
6f9931
* Sat Mar  5 2005 Tom Lane <tgl@redhat.com> 4.1.10-2
6f9931
- Need -fno-strict-aliasing in at least one place, probably more.
6f9931
- Work around some C spec violations in mysql.
6f9931
6f9931
* Fri Feb 18 2005 Tom Lane <tgl@redhat.com> 4.1.10-1
6f9931
- Update to MySQL 4.1.10.
6f9931
6f9931
* Sat Jan 15 2005 Tom Lane <tgl@redhat.com> 4.1.9-1
6f9931
- Update to MySQL 4.1.9.
6f9931
6f9931
* Wed Jan 12 2005 Tom Lane <tgl@redhat.com> 4.1.7-10
6f9931
- Don't assume /etc/my.cnf will specify pid-file (bz#143724)
6f9931
6f9931
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 4.1.7-9
6f9931
- Rebuilt for new readline.
6f9931
6f9931
* Tue Dec 21 2004 Tom Lane <tgl@redhat.com> 4.1.7-8
6f9931
- Run make test on all archs except s390x (which seems to have a bdb issue)
6f9931
6f9931
* Mon Dec 13 2004 Tom Lane <tgl@redhat.com> 4.1.7-7
6f9931
- Suppress someone's silly idea that libtool overhead can be skipped
6f9931
6f9931
* Sun Dec 12 2004 Tom Lane <tgl@redhat.com> 4.1.7-6
6f9931
- Fix init script to not need a valid username for startup check (bz#142328)
6f9931
- Fix init script to honor settings appearing in /etc/my.cnf (bz#76051)
6f9931
- Enable SSL (bz#142032)
6f9931
6f9931
* Thu Dec  2 2004 Tom Lane <tgl@redhat.com> 4.1.7-5
6f9931
- Add a restorecon to keep the mysql.log file in the right context (bz#143887)
6f9931
6f9931
* Tue Nov 23 2004 Tom Lane <tgl@redhat.com> 4.1.7-4
6f9931
- Turn off old_passwords in default /etc/my.cnf file, for better compatibility
6f9931
  with mysql 3.x clients (per suggestion from Joe Orton).
6f9931
6f9931
* Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3
6f9931
- Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/).
6f9931
6f9931
* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 4.1.7-2
6f9931
- rebuild in devel branch
6f9931
6f9931
* Wed Oct 27 2004 Tom Lane <tgl@redhat.com> 4.1.7-1
6f9931
- Update to MySQL 4.1.x.
6f9931
6f9931
* Tue Oct 12 2004 Tom Lane <tgl@redhat.com> 3.23.58-13
6f9931
- fix security issues CAN-2004-0835, CAN-2004-0836, CAN-2004-0837
6f9931
  (bugs #135372, 135375, 135387)
6f9931
- fix privilege escalation on GRANT ALL ON `Foo\_Bar` (CAN-2004-0957)
6f9931
6f9931
* Wed Oct 06 2004 Tom Lane <tgl@redhat.com> 3.23.58-12
6f9931
- fix multilib problem with mysqlbug and mysql_config
6f9931
- adjust chkconfig priority per bug #128852
6f9931
- remove bogus quoting per bug #129409 (MySQL 4.0 has done likewise)
6f9931
- add sleep to mysql.init restart(); may or may not fix bug #133993
6f9931
6f9931
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 3.23.58-11
6f9931
- fix low-priority security issues CAN-2004-0388, CAN-2004-0381, CAN-2004-0457
6f9931
  (bugs #119442, 125991, 130347, 130348)
6f9931
- fix bug with dropping databases under recent kernels (bug #124352)
6f9931
6f9931
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 3.23.58-10
6f9931
- rebuilt
6f9931
6f9931
* Sat Apr 17 2004 Warren Togami <wtogami@redhat.com> 3.23.58-9
6f9931
- remove redundant INSTALL-SOURCE, manual.*
6f9931
- compress manual.txt.bz2
6f9931
- BR time
6f9931
6f9931
* Tue Mar 16 2004 Tom Lane <tgl@redhat.com> 3.23.58-8
6f9931
- repair logfile attributes in %%files, per bug #102190
6f9931
- repair quoting problem in mysqlhotcopy, per bug #112693
6f9931
- repair missing flush in mysql_setpermission, per bug #113960
6f9931
- repair broken error message printf, per bug #115165
6f9931
- delete mysql user during uninstall, per bug #117017
6f9931
- rebuilt
6f9931
6f9931
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
6f9931
- rebuilt
6f9931
6f9931
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
6f9931
- fix chown syntax in mysql.init
6f9931
- rebuild
6f9931
6f9931
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
6f9931
- rebuilt
6f9931
6f9931
* Tue Nov 18 2003 Kim Ho <kho@redhat.com> 3.23.58-5
6f9931
- update mysql.init to use anonymous user (UNKNOWN_MYSQL_USER) for
6f9931
  pinging mysql server (#108779)
6f9931
6f9931
* Mon Oct 27 2003 Kim Ho <kho@redhat.com> 3.23.58-4
6f9931
- update mysql.init to wait (max 10 seconds) for mysql server to 
6f9931
  start (#58732)
6f9931
6f9931
* Mon Oct 27 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-3
6f9931
- re-enable Berkeley DB support (#106832)
6f9931
- re-enable ia64 testing
6f9931
6f9931
* Fri Sep 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-2
6f9931
- rebuilt
6f9931
6f9931
* Mon Sep 15 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-1
6f9931
- upgrade to 3.23.58 for security fix
6f9931
6f9931
* Tue Aug 26 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-2
6f9931
- rebuilt
6f9931
6f9931
* Wed Jul 02 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-1
6f9931
- revert to prior version of MySQL due to license incompatibilities 
6f9931
  with packages that link against the client.  The MySQL folks are
6f9931
  looking into the issue.
6f9931
6f9931
* Wed Jun 18 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-4
6f9931
- restrict test on ia64 (temporary)
6f9931
6f9931
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 4.0.13-3
6f9931
- rebuilt
6f9931
6f9931
* Thu May 29 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-2
6f9931
- fix filter-requires-mysql.sh with less restrictive for mysql-bench 
6f9931
6f9931
* Wed May 28 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-1
6f9931
- update for MySQL 4.0
6f9931
- back-level shared libraries available in mysqlclient10 package
6f9931
6f9931
* Fri May 09 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-2
6f9931
- add sql-bench package (#90110) 
6f9931
6f9931
* Wed Mar 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-1
6f9931
- upgrade to 3.23.56 for security fixes
6f9931
- remove patch for double-free (included in 3.23.56) 
6f9931
6f9931
* Tue Feb 18 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.54a-11
6f9931
- enable thread safe client
6f9931
- add patch for double free fix
6f9931
6f9931
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
6f9931
- rebuilt
6f9931
6f9931
* Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 3.23.54a-9
6f9931
- disable checks on s390x
6f9931
6f9931
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 3.23.54a-8
6f9931
- use internal dep generator.
6f9931
6f9931
* Wed Jan  1 2003 Bill Nottingham <notting@redhat.com> 3.23.54a-7
6f9931
- fix mysql_config on hammer
6f9931
6f9931
* Sun Dec 22 2002 Tim Powers <timp@redhat.com> 3.23.54a-6
6f9931
- don't use rpms internal dep generator
6f9931
6f9931
* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 3.23.54a-5
6f9931
- Push it into the build system
6f9931
6f9931
* Mon Dec 16 2002 Joe Orton <jorton@redhat.com> 3.23.54a-4
6f9931
- upgrade to 3.23.54a for safe_mysqld fix
6f9931
6f9931
* Thu Dec 12 2002 Joe Orton <jorton@redhat.com> 3.23.54-3
6f9931
- upgrade to 3.23.54 for latest security fixes
6f9931
6f9931
* Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-5
6f9931
- Always include <errno.h> for errno
6f9931
- Remove unpackaged files
6f9931
6f9931
* Tue Nov 12 2002 Florian La Roche <Florian.LaRoche@redhat.de>
6f9931
- do not prereq userdel, not used at all
6f9931
6f9931
* Mon Sep  9 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-4
6f9931
- Use %%{_libdir}
6f9931
- Add patch for x86-64
6f9931
6f9931
* Wed Sep  4 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-3
6f9931
- rebuilt with gcc-3.2-7
6f9931
6f9931
* Thu Aug 29 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-2
6f9931
- Add --enable-local-infile to configure - a new option
6f9931
  which doesn't default to the old behaviour (#72885)
6f9931
6f9931
* Fri Aug 23 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-1
6f9931
- 3.23.52. Fixes a minor security problem, various bugfixes.
6f9931
6f9931
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 3.23.51-5
6f9931
- rebuilt with gcc-3.2 (we hope)
6f9931
6f9931
* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-4
6f9931
- rebuild
6f9931
6f9931
* Thu Jul 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-3
6f9931
- Fix #63543 and #63542 
6f9931
6f9931
* Thu Jul 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-2
6f9931
- Turn off bdb on PPC(#68591)
6f9931
- Turn off the assembly optimizations, for safety. 
6f9931
6f9931
* Wed Jun 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-1
6f9931
- Work around annoying auto* thinking this is a crosscompile
6f9931
- 3.23.51
6f9931
6f9931
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
6f9931
- automated rebuild
6f9931
6f9931
* Mon Jun 10 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-2
6f9931
- Add dependency on perl-DBI and perl-DBD-MySQL (#66349)
6f9931
6f9931
* Thu May 30 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-1
6f9931
- 3.23.50
6f9931
6f9931
* Thu May 23 2002 Tim Powers <timp@redhat.com>
6f9931
- automated rebuild
6f9931
6f9931
* Mon May 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-4
6f9931
- Rebuild
6f9931
- Don't set CXX to gcc, it doesn't work anymore
6f9931
- Exclude Alpha
6f9931
6f9931
* Mon Apr  8 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-3
6f9931
- Add the various .cnf examples as doc files to mysql-server (#60349)
6f9931
- Don't include manual.ps, it's just 200 bytes with a URL inside (#60349)
6f9931
- Don't include random files in /usr/share/mysql (#60349)
6f9931
- langify (#60349)
6f9931
6f9931
* Thu Feb 21 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-2
6f9931
- Rebuild
6f9931
6f9931
* Sun Feb 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-1
6f9931
- 3.23.49
6f9931
6f9931
* Thu Feb 14 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-2
6f9931
- work around perl dependency bug.
6f9931
6f9931
* Mon Feb 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-1
6f9931
- 3.23.48
6f9931
6f9931
* Thu Jan 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-4
6f9931
- Use kill, not mysqladmin, to flush logs and shut down. Thus, 
6f9931
  an admin password can be set with no problems.
6f9931
- Remove reload from init script
6f9931
6f9931
* Wed Jan 16 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-3
6f9931
- remove db3-devel from buildrequires, 
6f9931
  MySQL has had its own bundled copy since the mid thirties
6f9931
6f9931
* Sun Jan  6 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-1
6f9931
- 3.23.47
6f9931
- Don't build for alpha, toolchain immature.
6f9931
6f9931
* Mon Dec  3 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.46-1
6f9931
- 3.23.46
6f9931
- use -fno-rtti and -fno-exceptions, and set CXX to increase stability. 
6f9931
  Recommended by mysql developers.
6f9931
6f9931
* Sun Nov 25 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.45-1
6f9931
- 3.23.45
6f9931
6f9931
* Wed Nov 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-2
6f9931
- centralize definition of datadir in the initscript (#55873)
6f9931
6f9931
* Fri Nov  2 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-1
6f9931
- 3.23.44
6f9931
6f9931
* Thu Oct  4 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.43-1
6f9931
- 3.23.43
6f9931
6f9931
* Mon Sep 10 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.42-1
6f9931
- 3.23.42
6f9931
- reenable innodb
6f9931
6f9931
* Tue Aug 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.41-1
6f9931
- 3.23.41 bugfix release
6f9931
- disable innodb, to avoid the broken updates
6f9931
- Use "mysqladmin flush_logs" instead of kill -HUP in logrotate 
6f9931
  script (#51711)
6f9931
6f9931
* Sat Jul 21 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.40, bugfix release
6f9931
- Add zlib-devel to buildrequires:
6f9931
6f9931
* Fri Jul 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- BuildRequires-tweaking
6f9931
6f9931
* Thu Jun 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- Reenable test, but don't run them for s390, s390x or ia64
6f9931
- Make /etc/my.cnf config(noplace). Same for /etc/logrotate.d/mysqld
6f9931
6f9931
* Thu Jun 14 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.29
6f9931
- enable innodb
6f9931
- enable assembly again
6f9931
- disable tests for now...
6f9931
6f9931
* Tue May 15 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.38
6f9931
- Don't use BDB on Alpha - no fast mutexes
6f9931
6f9931
* Tue Apr 24 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.37
6f9931
- Add _GNU_SOURCE to the compile flags
6f9931
6f9931
* Wed Mar 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- Make it obsolete our 6.2 PowerTools packages
6f9931
- 3.23.36 bugfix release - fixes some security issues
6f9931
  which didn't apply to our standard configuration
6f9931
- Make "make test" part of the build process, except on IA64
6f9931
  (it fails there)
6f9931
6f9931
* Tue Mar 20 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.35 bugfix release
6f9931
- Don't delete the mysql user on uninstall
6f9931
6f9931
* Tue Mar 13 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.34a bugfix release
6f9931
6f9931
* Wed Feb  7 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- added readline-devel to BuildRequires:
6f9931
6f9931
* Tue Feb  6 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- small i18n-fixes to initscript (action needs $)
6f9931
6f9931
* Tue Jan 30 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- make it shut down and rotate logs without using mysqladmin 
6f9931
  (from #24909)
6f9931
6f9931
* Mon Jan 29 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- conflict with "MySQL"
6f9931
6f9931
* Tue Jan 23 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- improve gettextizing
6f9931
6f9931
* Mon Jan 22 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.32
6f9931
- fix logrotate script (#24589)
6f9931
6f9931
* Wed Jan 17 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- gettextize
6f9931
- move the items in Requires(post): to Requires: in preparation
6f9931
  for an errata for 7.0 when 3.23.31 is released
6f9931
- 3.23.31
6f9931
6f9931
* Tue Jan 16 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- add the log file to the rpm database, and make it 0640
6f9931
  (#24116)
6f9931
- as above in logrotate script
6f9931
- changes to the init sequence - put most of the data
6f9931
  in /etc/my.cnf instead of hardcoding in the init script
6f9931
- use /var/run/mysqld/mysqld.pid instead of 
6f9931
  /var/run/mysqld/pid
6f9931
- use standard safe_mysqld
6f9931
- shut down cleaner
6f9931
6f9931
* Mon Jan 08 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.30
6f9931
- do an explicit chmod on /var/lib/mysql in post, to avoid 
6f9931
  any problems with broken permissons. There is a report
6f9931
  of rm not changing this on its own (#22989)
6f9931
6f9931
* Mon Jan 01 2001 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- bzipped source
6f9931
- changed from 85 to 78 in startup, so it starts before
6f9931
  apache (which can use modules requiring mysql)
6f9931
6f9931
* Wed Dec 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.29a
6f9931
6f9931
* Tue Dec 19 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- add requirement for new libstdc++, build for errata
6f9931
6f9931
* Mon Dec 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.29
6f9931
6f9931
* Mon Nov 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.28 (gamma)
6f9931
- remove old patches, as they are now upstreamed
6f9931
6f9931
* Tue Nov 14 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- Add a requirement for a new glibc (#20735)
6f9931
- build on IA64
6f9931
6f9931
* Wed Nov  1 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- disable more assembly
6f9931
6f9931
* Wed Nov  1 2000 Jakub Jelinek <jakub@redhat.com>
6f9931
- fix mysql on SPARC (#20124)
6f9931
6f9931
* Tue Oct 31 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.27
6f9931
6f9931
* Wed Oct 25 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- add patch for fixing bogus aliasing in mysql from Jakub,
6f9931
  which should fix #18905 and #18620
6f9931
6f9931
* Mon Oct 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- check for negative niceness values, and negate it
6f9931
  if present (#17899)
6f9931
- redefine optflags on IA32 FTTB
6f9931
6f9931
* Wed Oct 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.26, which among other fixes now uses mkstemp()
6f9931
  instead of tempnam().
6f9931
- revert changes made yesterday, the problem is now
6f9931
  isolated
6f9931
 
6f9931
* Tue Oct 17 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- use the compat C++ compiler FTTB. Argh.
6f9931
- add requirement of ncurses4 (see above)
6f9931
6f9931
* Sun Oct 01 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.25
6f9931
- fix shutdown problem (#17956)
6f9931
6f9931
* Tue Sep 26 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- Don't try to include no-longer-existing PUBLIC file
6f9931
  as doc (#17532)
6f9931
6f9931
* Tue Sep 12 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- rename config file to /etc/my.cnf, which is what
6f9931
  mysqld wants... doh. (#17432)
6f9931
- include a changed safe_mysqld, so the pid file option
6f9931
  works. 
6f9931
- make mysql dir world readable to they can access the 
6f9931
  mysql socket. (#17432)
6f9931
- 3.23.24
6f9931
6f9931
* Wed Sep 06 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.23
6f9931
6f9931
* Sun Aug 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- Add "|| :" to condrestart to avoid non-zero exit code
6f9931
6f9931
* Thu Aug 24 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- it's mysql.com, not mysql.org and use correct path to 
6f9931
  source (#16830)
6f9931
6f9931
* Wed Aug 16 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- source file from /etc/rc.d, not /etc/rd.d. Doh.
6f9931
6f9931
* Sun Aug 13 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- don't run ldconfig -n, it doesn't update ld.so.cache
6f9931
  (#16034)
6f9931
- include some missing binaries
6f9931
- use safe_mysqld to start the server (request from
6f9931
  mysql developers)
6f9931
6f9931
* Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
6f9931
- condrestart fixes
6f9931
6f9931
* Tue Aug 01 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.22. Disable the old patches, they're now in.
6f9931
6f9931
* Thu Jul 27 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- bugfixes in the initscript
6f9931
- move the .so link to the devel package
6f9931
6f9931
* Wed Jul 19 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- rebuild due to glibc changes
6f9931
6f9931
* Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- disable compiler patch
6f9931
- don't include info directory file
6f9931
6f9931
* Mon Jul 17 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- move back to /etc/rc.d/init.d
6f9931
6f9931
* Fri Jul 14 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- more cleanups in initscript
6f9931
6f9931
* Thu Jul 13 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- add a patch to work around compiler bug 
6f9931
  (from monty@mysql.com) 
6f9931
6f9931
* Wed Jul 12 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- don't build the SQL daemon statically (glibc problems)
6f9931
- fix the logrotate script - only flush log if mysql
6f9931
  is running
6f9931
- change the reloading procedure 
6f9931
- remove icon - glint is obsolete a long time ago
6f9931
6f9931
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
6f9931
- automatic rebuild
6f9931
6f9931
* Mon Jul 10 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- try the new compiler again
6f9931
- build the SQL daemon statically
6f9931
- add compile time support for complex charsets
6f9931
- enable assembler
6f9931
- more cleanups in initscript
6f9931
6f9931
* Sun Jul 09 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- use old C++ compiler
6f9931
- Exclusivearch x86
6f9931
6f9931
* Sat Jul 08 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- move .so files to devel package
6f9931
- more cleanups
6f9931
- exclude sparc for now
6f9931
6f9931
* Wed Jul 05 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- 3.23.21
6f9931
- remove file from /etc/sysconfig
6f9931
- Fix initscript a bit - initialization of databases doesn't
6f9931
  work yet
6f9931
- specify the correct licenses
6f9931
- include a /etc/my.conf (empty, FTTB)
6f9931
- add conditional restart to spec file
6f9931
6f9931
* Sun Jul  2 2000 Jakub Jelinek <jakub@redhat.com>
6f9931
- Rebuild with new C++
6f9931
6f9931
* Fri Jun 30 2000 Trond Eivind Glomsrd <teg@redhat.com>
6f9931
- update to 3.23.20
6f9931
- use %%configure, %%makeinstall, %%{_tmppath}, %%{_mandir},
6f9931
  %%{_infodir}, /etc/init.d
6f9931
- remove the bench package
6f9931
- change some of the descriptions a little bit
6f9931
- fix the init script
6f9931
- some compile fixes
6f9931
- specify mysql user
6f9931
- use mysql uid 27 (postgresql is 26)
6f9931
- don't build on ia64
6f9931
6f9931
* Sat Feb 26 2000 Jos Vos <jos@xos.nl>
6f9931
- Version 3.22.32 release XOS.1 for LinuX/OS 1.8.0
6f9931
- Upgrade from version 3.22.27 to 3.22.32.
6f9931
- Do "make install" instead of "make install-strip", because "install -s"
6f9931
  now appears to fail on various scripts.  Afterwards, strip manually.
6f9931
- Reorganize subpackages, according to common Red Hat packages: the client
6f9931
  program and shared library become the base package and the server and
6f9931
  some accompanying files are now in a separate server package.  The
6f9931
  server package implicitly requires the base package (shared library),
6f9931
  but we have added a manual require tag anyway (because of the shared
6f9931
  config file, and more).
6f9931
- Rename the mysql-benchmark subpackage to mysql-bench.
6f9931
6f9931
* Mon Jan 31 2000 Jos Vos <jos@xos.nl>
6f9931
- Version 3.22.27 release XOS.2 for LinuX/OS 1.7.1
6f9931
- Add post(un)install scripts for updating ld.so.conf (client subpackage).
6f9931
6f9931
* Sun Nov 21 1999 Jos Vos <jos@xos.nl>
6f9931
- Version 3.22.27 release XOS.1 for LinuX/OS 1.7.0
6f9931
- Initial version.
6f9931
- Some ideas borrowed from Red Hat Powertools 6.1, although this spec
6f9931
  file is a full rewrite from scratch.