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