2006-04-04 23:37:44 +02:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
%define mysql_version @VERSION@
|
2005-10-19 22:00:12 +02:00
|
|
|
|
2005-06-14 21:39:08 +02:00
|
|
|
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
|
|
|
|
# to enable static linking (off by default)
|
|
|
|
%{?_with_static:%define STATIC_BUILD 1}
|
|
|
|
%{!?_with_static:%define STATIC_BUILD 0}
|
2005-10-19 22:00:12 +02:00
|
|
|
|
|
|
|
# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
|
|
|
|
# to build with yaSSL support (off by default)
|
|
|
|
%{?_with_yassl:%define YASSL_BUILD 1}
|
|
|
|
%{!?_with_yassl:%define YASSL_BUILD 0}
|
|
|
|
|
2005-06-14 21:39:08 +02:00
|
|
|
%if %{STATIC_BUILD}
|
2004-08-20 15:52:16 +02:00
|
|
|
%define release 0
|
|
|
|
%else
|
|
|
|
%define release 0.glibc23
|
|
|
|
%endif
|
2005-06-07 10:25:51 +02:00
|
|
|
%define license GPL
|
2000-07-31 21:29:14 +02:00
|
|
|
%define mysqld_user mysql
|
2005-10-13 22:01:02 +02:00
|
|
|
%define mysqld_group mysql
|
2003-07-09 15:51:31 +02:00
|
|
|
%define server_suffix -standard
|
2005-06-07 10:25:51 +02:00
|
|
|
%define mysqldatadir /var/lib/mysql
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2003-08-29 19:14:42 +02:00
|
|
|
# We don't package all files installed into the build root by intention -
|
|
|
|
# See BUG#998 for details.
|
2003-09-01 12:25:39 +02:00
|
|
|
%define _unpackaged_files_terminate_build 0
|
2003-08-29 19:14:42 +02:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
|
|
|
|
|
|
|
|
Name: MySQL
|
2002-05-03 12:31:25 +02:00
|
|
|
Summary: MySQL: a very fast and reliable SQL database server
|
2000-07-31 21:29:14 +02:00
|
|
|
Group: Applications/Databases
|
|
|
|
Version: @MYSQL_NO_DASH_VERSION@
|
|
|
|
Release: %{release}
|
2005-06-07 10:25:51 +02:00
|
|
|
License: %{license}
|
2000-07-31 21:29:14 +02:00
|
|
|
Source: http://www.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/mysql-%{mysql_version}.tar.gz
|
|
|
|
URL: http://www.mysql.com/
|
2005-12-12 21:45:54 +01:00
|
|
|
Packager: MySQL Production Engineering Team <build@mysql.com>
|
2001-04-15 13:21:58 +02:00
|
|
|
Vendor: MySQL AB
|
2001-05-15 02:41:54 +02:00
|
|
|
Provides: msqlormysql MySQL-server mysql
|
2005-01-14 18:20:03 +01:00
|
|
|
BuildRequires: ncurses-devel
|
2000-07-31 21:29:14 +02:00
|
|
|
Obsoletes: mysql
|
|
|
|
|
|
|
|
# Think about what you use here since the first step is to
|
|
|
|
# run a rm -rf
|
2002-05-03 12:31:25 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# From the manual
|
|
|
|
%description
|
2002-05-03 12:31:25 +02:00
|
|
|
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
|
|
|
|
and robust SQL (Structured Query Language) database server. MySQL Server
|
|
|
|
is intended for mission-critical, heavy-load production systems as well
|
|
|
|
as for embedding into mass-deployed software. MySQL is a trademark of
|
|
|
|
MySQL AB.
|
|
|
|
|
|
|
|
The MySQL software has Dual Licensing, which means you can use the MySQL
|
|
|
|
software free of charge under the GNU General Public License
|
|
|
|
(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
|
|
|
|
licenses from MySQL AB if you do not wish to be bound by the terms of
|
|
|
|
the GPL. See the chapter "Licensing and Support" in the manual for
|
|
|
|
further info.
|
|
|
|
|
|
|
|
The MySQL web site (http://www.mysql.com/) provides the latest
|
|
|
|
news and information about the MySQL software. Also please see the
|
|
|
|
documentation and the manual for more information.
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2003-01-24 16:10:21 +01:00
|
|
|
%package server
|
|
|
|
Summary: MySQL: a very fast and reliable SQL database server
|
|
|
|
Group: Applications/Databases
|
2005-08-02 13:59:02 +02:00
|
|
|
Requires: coreutils grep procps /usr/sbin/useradd /usr/sbin/groupadd /sbin/chkconfig
|
2003-01-24 16:10:21 +01:00
|
|
|
Provides: msqlormysql mysql-server mysql MySQL
|
|
|
|
Obsoletes: MySQL mysql mysql-server
|
|
|
|
|
|
|
|
%description server
|
|
|
|
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
|
|
|
|
and robust SQL (Structured Query Language) database server. MySQL Server
|
|
|
|
is intended for mission-critical, heavy-load production systems as well
|
|
|
|
as for embedding into mass-deployed software. MySQL is a trademark of
|
|
|
|
MySQL AB.
|
|
|
|
|
|
|
|
The MySQL software has Dual Licensing, which means you can use the MySQL
|
|
|
|
software free of charge under the GNU General Public License
|
|
|
|
(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
|
|
|
|
licenses from MySQL AB if you do not wish to be bound by the terms of
|
|
|
|
the GPL. See the chapter "Licensing and Support" in the manual for
|
|
|
|
further info.
|
|
|
|
|
|
|
|
The MySQL web site (http://www.mysql.com/) provides the latest
|
|
|
|
news and information about the MySQL software. Also please see the
|
|
|
|
documentation and the manual for more information.
|
|
|
|
|
2004-08-20 15:52:16 +02:00
|
|
|
This package includes the MySQL server binary (incl. InnoDB) as well
|
|
|
|
as related utilities to run and administrate a MySQL server.
|
2002-07-23 17:04:20 +02:00
|
|
|
|
|
|
|
If you want to access and work with the database, you have to install
|
|
|
|
package "MySQL-client" as well!
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
%package client
|
|
|
|
Summary: MySQL - Client
|
|
|
|
Group: Applications/Databases
|
|
|
|
Obsoletes: mysql-client
|
2002-02-16 21:52:15 +01:00
|
|
|
Provides: mysql-client
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
%description client
|
2003-01-24 16:10:21 +01:00
|
|
|
This package contains the standard MySQL clients and administration tools.
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
2005-02-03 17:53:03 +01:00
|
|
|
%package ndb-storage
|
|
|
|
Summary: MySQL - ndbcluster storage engine
|
|
|
|
Group: Applications/Databases
|
|
|
|
|
|
|
|
%description ndb-storage
|
|
|
|
This package contains the ndbcluster storage engine.
|
|
|
|
It is necessary to have this package installed on all
|
|
|
|
computers that should store ndbcluster table data.
|
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
|
|
|
%package ndb-management
|
|
|
|
Summary: MySQL - ndbcluster storage engine management
|
|
|
|
Group: Applications/Databases
|
|
|
|
|
|
|
|
%description ndb-management
|
|
|
|
This package contains ndbcluster storage engine management.
|
|
|
|
It is necessary to have this package installed on at least
|
|
|
|
one computer in the cluster.
|
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
|
|
|
%package ndb-tools
|
|
|
|
Summary: MySQL - ndbcluster storage engine basic tools
|
|
|
|
Group: Applications/Databases
|
|
|
|
|
|
|
|
%description ndb-tools
|
|
|
|
This package contains ndbcluster storage engine basic tools.
|
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
|
|
|
%package ndb-extra
|
|
|
|
Summary: MySQL - ndbcluster storage engine extra tools
|
|
|
|
Group: Applications/Databases
|
|
|
|
|
|
|
|
%description ndb-extra
|
|
|
|
This package contains some extra ndbcluster storage engine tools for the advanced user.
|
|
|
|
They should be used with caution.
|
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
%package devel
|
|
|
|
Summary: MySQL - Development header files and libraries
|
|
|
|
Group: Applications/Databases
|
2002-02-16 21:52:15 +01:00
|
|
|
Provides: mysql-devel
|
2000-07-31 21:29:14 +02:00
|
|
|
Obsoletes: mysql-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development header files and libraries
|
|
|
|
necessary to develop MySQL client applications.
|
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
|
|
|
%package shared
|
|
|
|
Summary: MySQL - Shared libraries
|
|
|
|
Group: Applications/Databases
|
|
|
|
|
|
|
|
%description shared
|
|
|
|
This package contains the shared libraries (*.so*) which certain
|
|
|
|
languages and applications need to dynamically load and use MySQL.
|
|
|
|
|
2001-10-08 06:24:04 +02:00
|
|
|
%package embedded
|
2002-05-03 12:31:25 +02:00
|
|
|
Requires: %{name}-devel
|
2001-10-08 06:24:04 +02:00
|
|
|
Summary: MySQL - embedded library
|
|
|
|
Group: Applications/Databases
|
2002-05-03 12:31:25 +02:00
|
|
|
Obsoletes: mysql-embedded
|
2001-10-08 06:24:04 +02:00
|
|
|
|
2001-10-09 03:04:32 +02:00
|
|
|
%description embedded
|
2002-05-03 12:31:25 +02:00
|
|
|
This package contains the MySQL server as an embedded library.
|
|
|
|
|
|
|
|
The embedded MySQL server library makes it possible to run a
|
|
|
|
full-featured MySQL server inside the client application.
|
|
|
|
The main benefits are increased speed and more simple management
|
|
|
|
for embedded applications.
|
|
|
|
|
|
|
|
The API is identical for the embedded MySQL version and the
|
|
|
|
client/server version.
|
2001-10-08 06:24:04 +02:00
|
|
|
|
|
|
|
%{see_base}
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
%prep
|
2006-02-20 03:10:08 +01:00
|
|
|
# We unpack the source three times, for 'debug', 'max' and 'release' build.
|
2006-02-08 11:42:17 +01:00
|
|
|
%setup -T -a 0 -c -n mysql-%{mysql_version}
|
|
|
|
mv mysql-%{mysql_version} mysql-debug-%{mysql_version}
|
|
|
|
%setup -D -T -a 0 -n mysql-%{mysql_version}
|
2006-02-20 03:10:08 +01:00
|
|
|
mv mysql-%{mysql_version} mysql-max-%{mysql_version}
|
|
|
|
%setup -D -T -a 0 -n mysql-%{mysql_version}
|
2006-02-08 11:42:17 +01:00
|
|
|
mv mysql-%{mysql_version} mysql-release-%{mysql_version}
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
BuildMySQL() {
|
|
|
|
# The --enable-assembler simply does nothing on systems that does not
|
|
|
|
# support assembler speedups.
|
2003-01-27 20:55:03 +01:00
|
|
|
sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
|
2003-07-09 15:51:31 +02:00
|
|
|
CC=\"${CC:-$MYSQL_BUILD_CC}\" \
|
|
|
|
CXX=\"${CXX:-$MYSQL_BUILD_CXX}\" \
|
2006-02-08 11:42:17 +01:00
|
|
|
CFLAGS=\"$CFLAGS\" \
|
|
|
|
CXXFLAGS=\"$CXXFLAGS\" \
|
2006-04-01 05:44:10 +02:00
|
|
|
LDFLAGS=\"$MYSQL_BUILD_LDFLAGS\" \
|
2000-07-31 21:29:14 +02:00
|
|
|
./configure \
|
|
|
|
$* \
|
2006-02-09 03:11:45 +01:00
|
|
|
--with-mysqld-ldflags='-static' \
|
|
|
|
--with-client-ldflags='-static' \
|
|
|
|
--with-zlib-dir=bundled \
|
2000-07-31 21:29:14 +02:00
|
|
|
--enable-assembler \
|
2002-02-14 18:24:49 +01:00
|
|
|
--enable-local-infile \
|
2006-03-06 14:57:41 +01:00
|
|
|
--with-fast-mutexes \
|
2000-07-31 21:29:14 +02:00
|
|
|
--with-mysqld-user=%{mysqld_user} \
|
|
|
|
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
|
|
|
--prefix=/ \
|
2006-05-16 01:59:09 +02:00
|
|
|
--with-extra-charsets=all \
|
2005-10-19 22:00:12 +02:00
|
|
|
%if %{YASSL_BUILD}
|
2005-10-19 02:53:03 +02:00
|
|
|
--with-yassl \
|
2005-10-19 22:00:12 +02:00
|
|
|
%endif
|
2003-07-09 15:51:31 +02:00
|
|
|
--exec-prefix=%{_exec_prefix} \
|
|
|
|
--libexecdir=%{_sbindir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--datadir=%{_datadir} \
|
2005-06-07 10:25:51 +02:00
|
|
|
--localstatedir=%{mysqldatadir} \
|
2002-05-03 12:31:25 +02:00
|
|
|
--infodir=%{_infodir} \
|
2003-07-09 15:51:31 +02:00
|
|
|
--includedir=%{_includedir} \
|
2002-05-03 12:31:25 +02:00
|
|
|
--mandir=%{_mandir} \
|
2001-12-13 22:57:55 +01:00
|
|
|
--enable-thread-safe-client \
|
2006-02-20 03:10:08 +01:00
|
|
|
--with-readline \
|
2000-07-31 21:29:14 +02:00
|
|
|
"
|
|
|
|
}
|
|
|
|
|
2002-03-25 17:10:34 +01:00
|
|
|
# Use our own copy of glibc
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2002-02-16 19:32:06 +01:00
|
|
|
OTHER_LIBC_DIR=/usr/local/mysql-glibc
|
2002-03-25 17:10:34 +01:00
|
|
|
USE_OTHER_LIBC_DIR=""
|
2002-03-25 23:28:33 +01:00
|
|
|
if test -d "$OTHER_LIBC_DIR"
|
2002-03-25 17:10:34 +01:00
|
|
|
then
|
|
|
|
USE_OTHER_LIBC_DIR="--with-other-libc=$OTHER_LIBC_DIR"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Use the build root for temporary storage of the shared libraries.
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
RBR=$RPM_BUILD_ROOT
|
2002-05-03 12:31:25 +02:00
|
|
|
|
|
|
|
# Clean up the BuildRoot first
|
|
|
|
[ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR;
|
2003-08-06 11:42:48 +02:00
|
|
|
mkdir -p $RBR%{_libdir}/mysql
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2002-03-26 07:35:07 +01:00
|
|
|
#
|
|
|
|
# Use MYSQL_BUILD_PATH so that we can use a dedicated version of gcc
|
|
|
|
#
|
|
|
|
PATH=${MYSQL_BUILD_PATH:-/bin:/usr/bin}
|
|
|
|
export PATH
|
|
|
|
|
2006-02-08 11:42:17 +01:00
|
|
|
# Build the Debug binary.
|
2001-04-13 15:21:38 +02:00
|
|
|
|
2004-02-12 15:53:47 +01:00
|
|
|
# Use gcc for C and C++ code (to avoid a dependency on libstdc++ and
|
|
|
|
# including exceptions into the code
|
2004-02-12 16:51:52 +01:00
|
|
|
if [ -z "$CXX" -a -z "$CC" ]
|
2003-06-04 22:31:06 +02:00
|
|
|
then
|
2004-02-12 15:53:47 +01:00
|
|
|
export CC="gcc"
|
2003-06-04 22:31:06 +02:00
|
|
|
export CXX="gcc"
|
|
|
|
fi
|
|
|
|
|
2006-02-20 03:10:08 +01:00
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
# Build the debug version
|
|
|
|
#
|
|
|
|
##############################################################################
|
|
|
|
|
2006-02-08 11:42:17 +01:00
|
|
|
# Strip -Oxxx, add -g and --with-debug.
|
|
|
|
(cd mysql-debug-%{mysql_version} &&
|
|
|
|
CFLAGS=`echo "${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS} -g" | sed -e 's/-O[0-9]*//g'` \
|
|
|
|
CXXFLAGS=`echo "${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti} -g" | sed -e 's/-O[0-9]*//g'` \
|
2002-07-23 17:04:20 +02:00
|
|
|
BuildMySQL "--enable-shared \
|
2006-02-08 11:42:17 +01:00
|
|
|
--with-debug \
|
2002-07-23 17:04:20 +02:00
|
|
|
--with-innodb \
|
2005-02-03 17:53:03 +01:00
|
|
|
--with-ndbcluster \
|
2005-08-04 11:57:30 +02:00
|
|
|
--with-archive-storage-engine \
|
2004-12-31 10:38:51 +01:00
|
|
|
--with-csv-storage-engine \
|
|
|
|
--with-example-storage-engine \
|
2005-04-20 08:39:08 +02:00
|
|
|
--with-blackhole-storage-engine \
|
2005-01-13 12:03:12 +01:00
|
|
|
--with-federated-storage-engine \
|
2005-10-14 22:49:53 +02:00
|
|
|
--with-big-tables \
|
2006-03-07 18:53:26 +01:00
|
|
|
--with-comment=\"MySQL Community Server - Debug (GPL)\"")
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-10-14 22:49:53 +02:00
|
|
|
# We might want to save the config log file
|
2006-02-08 11:42:17 +01:00
|
|
|
if test -n "$MYSQL_DEBUGCONFLOG_DEST"
|
2004-08-10 16:50:29 +02:00
|
|
|
then
|
2006-02-08 11:42:17 +01:00
|
|
|
cp -fp mysql-debug-%{mysql_version}/config.log "$MYSQL_DEBUGCONFLOG_DEST"
|
2004-08-10 16:50:29 +02:00
|
|
|
fi
|
2003-08-06 11:42:48 +02:00
|
|
|
|
2006-02-20 03:10:08 +01:00
|
|
|
(cd mysql-debug-%{mysql_version} ; \
|
|
|
|
./mysql-test-run.pl --comment=debug --skip-rpl --skip-ndbcluster --force ; \
|
|
|
|
true)
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-02-20 03:10:08 +01:00
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
# Build the max binary
|
|
|
|
#
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
(cd mysql-max-%{mysql_version} &&
|
2006-02-08 11:42:17 +01:00
|
|
|
CFLAGS="${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS} -g" \
|
|
|
|
CXXFLAGS="${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti} -g" \
|
|
|
|
BuildMySQL "--enable-shared \
|
|
|
|
--with-berkeley-db \
|
2006-02-20 03:10:08 +01:00
|
|
|
--with-innodb \
|
|
|
|
--with-ndbcluster \
|
|
|
|
--with-archive-storage-engine \
|
|
|
|
--with-csv-storage-engine \
|
|
|
|
--with-example-storage-engine \
|
|
|
|
--with-blackhole-storage-engine \
|
|
|
|
--with-federated-storage-engine \
|
|
|
|
--with-big-tables \
|
2006-03-07 18:53:26 +01:00
|
|
|
--with-comment=\"MySQL Community Server - Max (GPL)\"")
|
2006-02-20 03:10:08 +01:00
|
|
|
|
|
|
|
# We might want to save the config log file
|
|
|
|
if test -n "$MYSQL_MAXCONFLOG_DEST"
|
|
|
|
then
|
|
|
|
cp -fp mysql-max-%{mysql_version}/config.log "$MYSQL_MAXCONFLOG_DEST"
|
|
|
|
fi
|
|
|
|
|
|
|
|
(cd mysql-max-%{mysql_version} ; \
|
|
|
|
./mysql-test-run.pl --comment=max --skip-ndbcluster --do-test=bdb --force ; \
|
|
|
|
true)
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
# Build the release binary
|
|
|
|
#
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
(cd mysql-release-%{mysql_version} &&
|
|
|
|
CFLAGS="${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS} -g" \
|
|
|
|
CXXFLAGS="${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti} -g" \
|
|
|
|
BuildMySQL "--enable-shared \
|
2002-07-23 17:04:20 +02:00
|
|
|
--with-innodb \
|
2006-02-08 11:42:17 +01:00
|
|
|
--with-ndbcluster \
|
|
|
|
--with-archive-storage-engine \
|
|
|
|
--with-csv-storage-engine \
|
|
|
|
--with-example-storage-engine \
|
|
|
|
--with-blackhole-storage-engine \
|
|
|
|
--with-federated-storage-engine \
|
|
|
|
--with-big-tables \
|
2006-03-07 18:53:26 +01:00
|
|
|
--with-comment=\"MySQL Community Server (GPL)\"")
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-10-14 22:49:53 +02:00
|
|
|
# We might want to save the config log file
|
|
|
|
if test -n "$MYSQL_CONFLOG_DEST"
|
|
|
|
then
|
2006-02-08 11:42:17 +01:00
|
|
|
cp -fp mysql-release-%{mysql_version}/config.log "$MYSQL_CONFLOG_DEST"
|
2005-10-14 22:49:53 +02:00
|
|
|
fi
|
|
|
|
|
2006-02-20 03:10:08 +01:00
|
|
|
(cd mysql-release-%{mysql_version} ; \
|
|
|
|
./mysql-test-run.pl --comment=normal --force ; \
|
|
|
|
./mysql-test-run.pl --comment=ps --ps-protocol --force ; \
|
|
|
|
./mysql-test-run.pl --comment=normal+rowrepl --mysqld=--binlog-format=row --force ; \
|
|
|
|
./mysql-test-run.pl --comment=ps+rowrepl --ps-protocol --mysqld=--binlog-format=row --force ; \
|
|
|
|
true)
|
|
|
|
|
|
|
|
##############################################################################
|
2005-06-07 10:25:51 +02:00
|
|
|
|
2003-08-06 11:42:48 +02:00
|
|
|
%install
|
2000-07-31 21:29:14 +02:00
|
|
|
RBR=$RPM_BUILD_ROOT
|
2006-02-08 11:42:17 +01:00
|
|
|
MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-release-%{mysql_version}
|
2002-05-03 12:31:25 +02:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# Ensure that needed directories exists
|
2003-07-09 15:51:31 +02:00
|
|
|
install -d $RBR%{_sysconfdir}/{logrotate.d,init.d}
|
2005-06-07 10:25:51 +02:00
|
|
|
install -d $RBR%{mysqldatadir}/mysql
|
2006-04-13 19:34:46 +02:00
|
|
|
install -d $RBR%{_datadir}/mysql-test
|
2003-07-09 15:51:31 +02:00
|
|
|
install -d $RBR%{_includedir}
|
|
|
|
install -d $RBR%{_libdir}
|
2002-05-03 12:31:25 +02:00
|
|
|
install -d $RBR%{_mandir}
|
2003-07-09 15:51:31 +02:00
|
|
|
install -d $RBR%{_sbindir}
|
|
|
|
|
2002-07-23 17:04:20 +02:00
|
|
|
|
2006-02-08 11:42:17 +01:00
|
|
|
# Install all binaries
|
2006-04-13 19:34:46 +02:00
|
|
|
(cd $MBD && make install DESTDIR=$RBR)
|
2006-02-08 11:42:17 +01:00
|
|
|
# Old packages put shared libs in %{_libdir}/ (not %{_libdir}/mysql), so do
|
|
|
|
# the same here.
|
|
|
|
mv $RBR/%{_libdir}/mysql/*.so* $RBR/%{_libdir}/
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-02-20 03:10:08 +01:00
|
|
|
# install "mysqld-debug" and "mysqld-max"
|
2006-05-02 02:45:04 +02:00
|
|
|
./libtool --mode=execute install -m 755 \
|
|
|
|
$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-debug-%{mysql_version}/sql/mysqld \
|
2006-02-20 03:10:08 +01:00
|
|
|
$RBR%{_sbindir}/mysqld-debug
|
2006-05-02 02:45:04 +02:00
|
|
|
./libtool --mode=execute install -m 755 \
|
|
|
|
$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-max-%{mysql_version}/sql/mysqld \
|
2006-02-20 03:10:08 +01:00
|
|
|
$RBR%{_sbindir}/mysqld-max
|
2001-04-13 15:21:38 +02:00
|
|
|
|
2005-10-13 22:01:02 +02:00
|
|
|
# install saved perror binary with NDB support (BUG#13740)
|
2006-02-08 11:42:17 +01:00
|
|
|
install -m 755 $MBD/extra/perror $RBR%{_bindir}/perror
|
2001-09-03 21:09:08 +02:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# Install logrotate and autostart
|
2005-10-15 01:40:28 +02:00
|
|
|
install -m 644 $MBD/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql
|
|
|
|
install -m 755 $MBD/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql
|
|
|
|
|
|
|
|
# Install embedded server library in the build root
|
2006-03-06 13:50:52 +01:00
|
|
|
install -m 644 libmysqld/libmysqld.a $RBR%{_libdir}/mysql/
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2003-06-04 22:31:06 +02:00
|
|
|
# Create a symlink "rcmysql", pointing to the init.script. SuSE users
|
|
|
|
# will appreciate that, as all services usually offer this.
|
2003-07-09 15:51:31 +02:00
|
|
|
ln -s %{_sysconfdir}/init.d/mysql $RPM_BUILD_ROOT%{_sbindir}/rcmysql
|
2003-06-04 22:31:06 +02:00
|
|
|
|
2002-08-09 11:39:34 +02:00
|
|
|
# Create symbolic compatibility link safe_mysqld -> mysqld_safe
|
|
|
|
# (safe_mysqld will be gone in MySQL 4.1)
|
2003-07-09 15:51:31 +02:00
|
|
|
ln -sf ./mysqld_safe $RBR%{_bindir}/safe_mysqld
|
2002-08-09 11:39:34 +02:00
|
|
|
|
2005-03-15 20:51:13 +01:00
|
|
|
# Touch the place where the my.cnf config file and mysqlmanager.passwd
|
|
|
|
# (MySQL Instance Manager password file) might be located
|
2003-02-11 12:27:53 +01:00
|
|
|
# Just to make sure it's in the file list and marked as a config file
|
2003-07-09 15:51:31 +02:00
|
|
|
touch $RBR%{_sysconfdir}/my.cnf
|
2005-03-15 20:51:13 +01:00
|
|
|
touch $RBR%{_sysconfdir}/mysqlmanager.passwd
|
2003-02-11 12:27:53 +01:00
|
|
|
|
|
|
|
%pre server
|
2002-11-27 22:57:17 +01:00
|
|
|
# Shut down a previously installed server first
|
2003-07-09 15:51:31 +02:00
|
|
|
if test -x %{_sysconfdir}/init.d/mysql
|
2002-11-27 22:57:17 +01:00
|
|
|
then
|
2003-07-09 15:51:31 +02:00
|
|
|
%{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1
|
2002-11-27 22:57:17 +01:00
|
|
|
echo "Giving mysqld a couple of seconds to exit nicely"
|
|
|
|
sleep 5
|
2003-07-09 15:51:31 +02:00
|
|
|
elif test -x %{_sysconfdir}/rc.d/init.d/mysql
|
2000-07-31 21:29:14 +02:00
|
|
|
then
|
2003-07-09 15:51:31 +02:00
|
|
|
%{_sysconfdir}/rc.d/init.d/mysql stop > /dev/null 2>&1
|
2000-07-31 21:29:14 +02:00
|
|
|
echo "Giving mysqld a couple of seconds to exit nicely"
|
|
|
|
sleep 5
|
|
|
|
fi
|
|
|
|
|
2003-02-11 12:27:53 +01:00
|
|
|
%post server
|
2005-06-07 10:25:51 +02:00
|
|
|
mysql_datadir=%{mysqldatadir}
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# Create data directory if needed
|
2005-10-15 01:40:28 +02:00
|
|
|
if test ! -d $mysql_datadir; then mkdir -m 755 $mysql_datadir; fi
|
2003-02-11 12:27:53 +01:00
|
|
|
if test ! -d $mysql_datadir/mysql; then mkdir $mysql_datadir/mysql; fi
|
|
|
|
if test ! -d $mysql_datadir/test; then mkdir $mysql_datadir/test; fi
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# Make MySQL start/shutdown automatically when the machine does it.
|
2002-11-27 22:57:17 +01:00
|
|
|
# use insserv for older SuSE Linux versions
|
|
|
|
if test -x /sbin/insserv
|
|
|
|
then
|
2003-07-09 15:51:31 +02:00
|
|
|
/sbin/insserv %{_sysconfdir}/init.d/mysql
|
2002-11-27 22:57:17 +01:00
|
|
|
# use chkconfig on Red Hat and newer SuSE releases
|
|
|
|
elif test -x /sbin/chkconfig
|
|
|
|
then
|
|
|
|
/sbin/chkconfig --add mysql
|
|
|
|
fi
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-07-15 08:54:11 +02:00
|
|
|
# Create a MySQL user and group. Do not report any problems if it already
|
|
|
|
# exists.
|
2005-10-13 22:01:02 +02:00
|
|
|
groupadd -r %{mysqld_group} 2> /dev/null || true
|
|
|
|
useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
|
|
|
|
# The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
|
|
|
|
usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# Change permissions so that the user that will run the MySQL daemon
|
|
|
|
# owns all database files.
|
2005-10-13 22:01:02 +02:00
|
|
|
chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-04-28 17:03:11 +02:00
|
|
|
# Initiate databases if needed
|
2005-06-07 10:25:51 +02:00
|
|
|
%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-04-28 17:03:11 +02:00
|
|
|
# Upgrade databases if needed
|
|
|
|
%{_bindir}/mysql_upgrade --user=%{mysqld_user}
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# Change permissions again to fix any new files.
|
2005-10-13 22:01:02 +02:00
|
|
|
chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# Fix permissions for the permission database so that only the user
|
|
|
|
# can read them.
|
|
|
|
chmod -R og-rw $mysql_datadir/mysql
|
|
|
|
|
|
|
|
# Restart in the same way that mysqld will be started normally.
|
2003-07-09 15:51:31 +02:00
|
|
|
%{_sysconfdir}/init.d/mysql start
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# Allow safe_mysqld to start mysqld and print a message before we exit
|
|
|
|
sleep 2
|
|
|
|
|
2005-02-03 17:53:03 +01:00
|
|
|
|
2005-02-07 16:25:07 +01:00
|
|
|
%post ndb-storage
|
2005-02-03 17:53:03 +01:00
|
|
|
mysql_clusterdir=/var/lib/mysql-cluster
|
|
|
|
|
|
|
|
# Create cluster directory if needed
|
2005-10-15 01:40:28 +02:00
|
|
|
if test ! -d $mysql_clusterdir; then mkdir -m 755 $mysql_clusterdir; fi
|
2005-02-03 17:53:03 +01:00
|
|
|
|
|
|
|
|
2003-02-11 12:27:53 +01:00
|
|
|
%preun server
|
2000-07-31 21:29:14 +02:00
|
|
|
if test $1 = 0
|
|
|
|
then
|
2005-11-22 19:58:58 +01:00
|
|
|
# Stop MySQL before uninstalling it
|
2003-07-09 15:51:31 +02:00
|
|
|
if test -x %{_sysconfdir}/init.d/mysql
|
2001-04-14 19:04:20 +02:00
|
|
|
then
|
2003-07-09 15:51:31 +02:00
|
|
|
%{_sysconfdir}/init.d/mysql stop > /dev/null
|
2001-04-14 19:04:20 +02:00
|
|
|
|
2005-11-22 19:58:58 +01:00
|
|
|
# Remove autostart of mysql
|
|
|
|
# for older SuSE Linux versions
|
|
|
|
if test -x /sbin/insserv
|
|
|
|
then
|
|
|
|
/sbin/insserv -r %{_sysconfdir}/init.d/mysql
|
|
|
|
# use chkconfig on Red Hat and newer SuSE releases
|
|
|
|
elif test -x /sbin/chkconfig
|
|
|
|
then
|
|
|
|
/sbin/chkconfig --del mysql
|
|
|
|
fi
|
|
|
|
fi
|
2000-07-31 21:29:14 +02:00
|
|
|
fi
|
2002-11-27 22:57:17 +01:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# We do not remove the mysql user since it may still own a lot of
|
|
|
|
# database files.
|
|
|
|
|
2002-07-23 17:04:20 +02:00
|
|
|
# Clean up the BuildRoot
|
|
|
|
%clean
|
2005-09-29 13:55:54 +02:00
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
2002-07-23 17:04:20 +02:00
|
|
|
|
2003-01-24 16:10:21 +01:00
|
|
|
%files server
|
2003-12-13 03:52:19 +01:00
|
|
|
%defattr(-,root,root,0755)
|
2002-07-23 17:04:20 +02:00
|
|
|
|
2006-02-08 11:42:17 +01:00
|
|
|
%doc mysql-release-%{mysql_version}/COPYING mysql-release-%{mysql_version}/README
|
|
|
|
%doc mysql-release-%{mysql_version}/support-files/my-*.cnf
|
|
|
|
%doc mysql-release-%{mysql_version}/support-files/ndb-*.ini
|
2002-05-03 12:31:25 +02:00
|
|
|
|
|
|
|
%doc %attr(644, root, root) %{_infodir}/mysql.info*
|
|
|
|
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/myisamchk.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/myisamlog.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/myisampack.1*
|
2002-05-03 12:31:25 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqld.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqld_multi.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqld_safe.1*
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_privilege_tables.1*
|
2006-04-28 17:03:11 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysql_upgrade.1*
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlhotcopy.1*
|
2005-10-28 13:31:19 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlmanager.1*
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysql.server.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysql_zap.1*
|
2002-05-03 12:31:25 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/perror.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/replace.1*
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/safe_mysqld.1*
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2003-07-09 15:51:31 +02:00
|
|
|
%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
|
2005-03-15 20:51:13 +01:00
|
|
|
%ghost %config(noreplace,missingok) %{_sysconfdir}/mysqlmanager.passwd
|
2003-07-09 15:51:31 +02:00
|
|
|
|
2006-04-29 01:28:04 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/my_print_defaults
|
2004-02-03 22:25:02 +01:00
|
|
|
%attr(755, root, root) %{_bindir}/myisam_ftdump
|
2006-04-29 01:28:04 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/myisamchk
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/myisamlog
|
|
|
|
%attr(755, root, root) %{_bindir}/myisampack
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_convert_table_format
|
2003-12-08 14:38:29 +01:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_create_system_tables
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_explain_log
|
2003-08-06 11:42:48 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_fix_extensions
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_install_db
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_secure_installation
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_setpermission
|
2004-06-24 09:22:45 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
|
2006-05-01 20:16:19 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_upgrade
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysql_zap
|
2006-04-29 01:28:04 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysqlbug
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqld_multi
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqld_safe
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqlhotcopy
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqltest
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/perror
|
|
|
|
%attr(755, root, root) %{_bindir}/replace
|
2005-10-27 14:51:58 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/resolve_stack_dump
|
2006-04-29 01:28:04 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/resolveip
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/safe_mysqld
|
|
|
|
|
|
|
|
%attr(755, root, root) %{_sbindir}/mysqld
|
2006-02-08 11:42:17 +01:00
|
|
|
%attr(755, root, root) %{_sbindir}/mysqld-debug
|
2006-02-20 03:10:08 +01:00
|
|
|
%attr(755, root, root) %{_sbindir}/mysqld-max
|
2005-03-15 20:51:13 +01:00
|
|
|
%attr(755, root, root) %{_sbindir}/mysqlmanager
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_sbindir}/rcmysql
|
|
|
|
|
2003-12-22 14:56:06 +01:00
|
|
|
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_sysconfdir}/init.d/mysql
|
|
|
|
|
|
|
|
%attr(755, root, root) %{_datadir}/mysql/
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
%files client
|
2003-12-13 03:52:19 +01:00
|
|
|
%defattr(-, root, root, 0755)
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/msql2mysql
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_find_rows
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_waitpid
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqlaccess
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqladmin
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqlbinlog
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqlcheck
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqldump
|
2003-08-06 11:42:48 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysqldumpslow
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/mysqlimport
|
|
|
|
%attr(755, root, root) %{_bindir}/mysqlshow
|
2005-12-19 01:12:11 +01:00
|
|
|
%attr(755, root, root) %{_bindir}/mysqlslap
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/msql2mysql.1*
|
2002-05-03 12:31:25 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysql.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlaccess.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqladmin.1*
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlbinlog.1*
|
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlcheck.1*
|
2002-05-03 12:31:25 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqldump.1*
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlimport.1*
|
2002-05-03 12:31:25 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1*
|
2006-02-08 11:42:17 +01:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1*
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
%post shared
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun shared
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2005-02-03 17:53:03 +01:00
|
|
|
%files ndb-storage
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%attr(755, root, root) %{_sbindir}/ndbd
|
|
|
|
|
|
|
|
%files ndb-management
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%attr(755, root, root) %{_sbindir}/ndb_mgmd
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_mgm
|
|
|
|
|
|
|
|
%files ndb-tools
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_mgm
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_restore
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_waiter
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_select_all
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_select_count
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_desc
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_show_tables
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_test_platform
|
2006-04-26 14:54:20 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/ndb_config
|
2005-02-03 17:53:03 +01:00
|
|
|
|
|
|
|
%files ndb-extra
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_drop_index
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_drop_table
|
|
|
|
%attr(755, root, root) %{_bindir}/ndb_delete_all
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
%files devel
|
2003-12-13 03:52:19 +01:00
|
|
|
%defattr(-, root, root, 0755)
|
2006-02-08 11:42:17 +01:00
|
|
|
%doc mysql-release-%{mysql_version}/EXCEPTIONS-CLIENT
|
2005-10-27 14:51:58 +02:00
|
|
|
%doc %attr(644, root, man) %{_mandir}/man1/mysql_config.1*
|
2003-07-09 15:51:31 +02:00
|
|
|
%attr(755, root, root) %{_bindir}/comp_err
|
|
|
|
%attr(755, root, root) %{_bindir}/mysql_config
|
|
|
|
%dir %attr(755, root, root) %{_includedir}/mysql
|
|
|
|
%dir %attr(755, root, root) %{_libdir}/mysql
|
|
|
|
%{_includedir}/mysql/*
|
|
|
|
%{_libdir}/mysql/libdbug.a
|
|
|
|
%{_libdir}/mysql/libheap.a
|
|
|
|
%{_libdir}/mysql/libmyisam.a
|
|
|
|
%{_libdir}/mysql/libmyisammrg.a
|
|
|
|
%{_libdir}/mysql/libmysqlclient.a
|
|
|
|
%{_libdir}/mysql/libmysqlclient.la
|
|
|
|
%{_libdir}/mysql/libmysqlclient_r.a
|
|
|
|
%{_libdir}/mysql/libmysqlclient_r.la
|
|
|
|
%{_libdir}/mysql/libmystrings.a
|
|
|
|
%{_libdir}/mysql/libmysys.a
|
2005-06-07 14:39:00 +02:00
|
|
|
%{_libdir}/mysql/libndbclient.a
|
|
|
|
%{_libdir}/mysql/libndbclient.la
|
2003-07-09 15:51:31 +02:00
|
|
|
%{_libdir}/mysql/libvio.a
|
2005-12-12 21:45:54 +01:00
|
|
|
%{_libdir}/mysql/libz.a
|
|
|
|
%{_libdir}/mysql/libz.la
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
%files shared
|
2003-12-13 03:52:19 +01:00
|
|
|
%defattr(-, root, root, 0755)
|
2000-07-31 21:29:14 +02:00
|
|
|
# Shared libraries (omit for architectures that don't support them)
|
2006-02-17 16:38:32 +01:00
|
|
|
%{_libdir}/libmysql*.so*
|
|
|
|
%{_libdir}/libndb*.so*
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-04-13 22:10:00 +02:00
|
|
|
%files embedded
|
|
|
|
%defattr(-, root, root, 0755)
|
|
|
|
%attr(644, root, root) %{_libdir}/mysql/libmysqld.a
|
2001-10-08 06:24:04 +02:00
|
|
|
|
2003-08-29 19:14:42 +02:00
|
|
|
# The spec file changelog only includes changes made to the spec file
|
2004-08-26 12:25:14 +02:00
|
|
|
# itself - note that they must be ordered by date (important when
|
|
|
|
# merging BK trees)
|
2000-08-30 21:44:57 +02:00
|
|
|
%changelog
|
2006-05-16 01:59:09 +02:00
|
|
|
%changelog
|
2006-05-10 21:53:01 +02:00
|
|
|
* Wed May 10 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Use character set "all" for the "max", to make Cluster nodes
|
|
|
|
independent on the character set directory, and the problem that
|
|
|
|
two RPM sub packages both wants to install this directory.
|
|
|
|
|
2006-05-01 19:48:31 +02:00
|
|
|
* Mon May 01 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Use "./libtool --mode=execute" instead of searching for the
|
|
|
|
executable in current directory and ".libs".
|
2006-04-12 03:54:24 +02:00
|
|
|
|
2006-04-28 17:03:11 +02:00
|
|
|
* Fri Apr 28 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Install and run "mysql_upgrade"
|
2006-04-12 03:54:24 +02:00
|
|
|
|
2006-04-13 19:34:46 +02:00
|
|
|
* Wed Apr 12 2006 Jim Winstead <jimw@mysql.com>
|
|
|
|
|
|
|
|
- Remove sql-bench, and MySQL-bench RPM (will be built as an independent
|
|
|
|
project from the mysql-bench repository)
|
|
|
|
|
|
|
|
* Tue Apr 11 2006 Jim Winstead <jimw@mysql.com>
|
2006-04-12 03:54:24 +02:00
|
|
|
|
|
|
|
- Remove old mysqltestmanager and related programs
|
2006-04-01 05:44:10 +02:00
|
|
|
* Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
|
|
|
|
|
2006-03-07 18:53:26 +01:00
|
|
|
* Wed Mar 07 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Changed product name from "Community Edition" to "Community Server"
|
|
|
|
|
2006-03-06 14:57:41 +01:00
|
|
|
* Mon Mar 06 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Fast mutexes is now disabled by default, but should be
|
|
|
|
used in Linux builds.
|
|
|
|
|
2006-02-21 21:39:43 +01:00
|
|
|
* Mon Feb 20 2006 Kent Boortz <kent@mysql.com>
|
2006-02-20 03:10:08 +01:00
|
|
|
|
|
|
|
- Reintroduced a max build
|
|
|
|
- Limited testing of 'debug' and 'max' servers
|
|
|
|
- Berkeley DB only in 'max'
|
|
|
|
|
2006-02-13 19:07:40 +01:00
|
|
|
* Mon Feb 13 2006 Joerg Bruehe <joerg@mysql.com>
|
|
|
|
|
|
|
|
- Use "-i" on "make test-force";
|
|
|
|
this is essential for later evaluation of this log file.
|
|
|
|
|
|
|
|
* Thu Feb 09 2006 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Pass '-static' to libtool, link static with our own libraries, dynamic
|
|
|
|
with system libraries. Link with the bundled zlib.
|
|
|
|
|
|
|
|
* Wed Feb 08 2006 Kristian Nielsen <knielsen@mysql.com>
|
|
|
|
|
|
|
|
- Modified RPM spec to match new 5.1 debug+max combined community packaging.
|
|
|
|
|
|
|
|
* Sun Dec 18 2005 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Added "client/mysqlslap"
|
|
|
|
|
|
|
|
* Mon Dec 12 2005 Rodrigo Novo <rodrigo@mysql.com>
|
2005-12-12 21:45:54 +01:00
|
|
|
|
|
|
|
- Added zlib to the list of (static) libraries installed
|
|
|
|
- Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
|
|
|
|
- Compile MySQL with bundled zlib
|
|
|
|
- Fixed %packager name to "MySQL Production Engineering Team"
|
|
|
|
|
2005-12-05 17:53:42 +01:00
|
|
|
* Mon Dec 05 2005 Joerg Bruehe <joerg@mysql.com>
|
|
|
|
|
|
|
|
- Avoid using the "bundled" zlib on "shared" builds:
|
|
|
|
As it is not installed (on the build system), this gives dependency
|
|
|
|
problems with "libtool" causing the build to fail.
|
2005-12-05 18:33:48 +01:00
|
|
|
(Change was done on Nov 11, but left uncommented.)
|
2005-12-05 17:53:42 +01:00
|
|
|
|
2005-11-22 19:58:58 +01:00
|
|
|
* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com>
|
|
|
|
|
|
|
|
- Extend the file existence check for "init.d/mysql" on un-install
|
|
|
|
to also guard the call to "insserv"/"chkconfig".
|
|
|
|
|
2005-10-27 14:51:58 +02:00
|
|
|
* Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
|
|
|
|
|
|
|
|
- added more man pages
|
|
|
|
|
2005-10-19 02:53:03 +02:00
|
|
|
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
|
|
|
|
|
2005-10-19 22:00:12 +02:00
|
|
|
- Made yaSSL support an option (off by default)
|
|
|
|
|
|
|
|
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
|
|
|
|
|
2005-10-19 02:53:03 +02:00
|
|
|
- Enabled yaSSL support
|
2005-10-15 01:40:28 +02:00
|
|
|
|
|
|
|
* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- Give mode arguments the same way in all places
|
|
|
|
- Moved copy of mysqld.a to "standard" build, but
|
|
|
|
disabled it as we don't do embedded yet in 5.0
|
|
|
|
|
|
|
|
* Fri Oct 14 2005 Kent Boortz <kent@mysql.com>
|
|
|
|
|
|
|
|
- For 5.x, always compile with --with-big-tables
|
|
|
|
- Copy the config.log file to location outside
|
|
|
|
the build tree
|
|
|
|
|
|
|
|
* Fri Oct 14 2005 Kent Boortz <kent@mysql.com>
|
|
|
|
|
2005-10-28 11:10:29 +02:00
|
|
|
- Removed unneeded/obsolete configure options
|
2005-10-15 01:40:28 +02:00
|
|
|
- Added archive engine to standard server
|
|
|
|
- Removed the embedded server from experimental server
|
|
|
|
- Changed suffix "-Max" => "-max"
|
|
|
|
- Changed comment string "Max" => "Experimental"
|
|
|
|
|
2005-10-13 22:01:02 +02:00
|
|
|
* Thu Oct 13 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added a usermod call to assign a potential existing mysql user to the
|
|
|
|
correct user group (BUG#12823)
|
|
|
|
- Save the perror binary built during Max build so it supports the NDB
|
|
|
|
error codes (BUG#13740)
|
|
|
|
- added a separate macro "mysqld_group" to be able to define the
|
|
|
|
user group of the mysql user seperately, if desired.
|
|
|
|
|
2005-09-29 13:55:54 +02:00
|
|
|
* Thu Sep 29 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
|
|
|
|
$RBR variable did not get expanded, thus leaving old build roots behind)
|
|
|
|
|
2005-08-04 11:57:30 +02:00
|
|
|
* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
2005-08-04 12:22:51 +02:00
|
|
|
- Fixed the creation of the mysql user group account in the postinstall
|
|
|
|
section (BUG 12348)
|
2005-08-04 11:57:30 +02:00
|
|
|
- Fixed enabling the Archive storage engine in the Max binary
|
|
|
|
|
2005-08-02 13:59:02 +02:00
|
|
|
* Tue Aug 02 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Fixed the Requires: tag for the server RPM (BUG 12233)
|
|
|
|
|
2005-07-15 08:54:11 +02:00
|
|
|
* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- create a "mysql" user group and assign the mysql user account to that group
|
|
|
|
in the server postinstall section. (BUG 10984)
|
|
|
|
|
2005-06-14 21:39:08 +02:00
|
|
|
* Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Do not build statically on i386 by default, only when adding either "--with
|
|
|
|
static" or "--define '_with_static 1'" to the RPM build options. Static
|
|
|
|
linking really only makes sense when linking against the specially patched
|
|
|
|
glibc 2.2.5.
|
|
|
|
|
2005-06-07 10:25:51 +02:00
|
|
|
* Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added mysql_client_test to the "bench" subpackage (BUG 10676)
|
2005-06-07 14:39:00 +02:00
|
|
|
- added the libndbclient static and shared libraries (BUG 10676)
|
2005-06-07 10:25:51 +02:00
|
|
|
|
|
|
|
* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- use "mysqldatadir" variable instead of hard-coding the path multiple times
|
|
|
|
- use the "mysqld_user" variable on all occasions a user name is referenced
|
|
|
|
- removed (incomplete) Brazilian translations
|
|
|
|
- removed redundant release tags from the subpackage descriptions
|
|
|
|
|
2005-05-25 16:24:07 +02:00
|
|
|
* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com>
|
|
|
|
|
|
|
|
- Added a "make clean" between separate calls to "BuildMySQL".
|
|
|
|
|
2005-05-12 22:28:26 +02:00
|
|
|
* Thu May 12 2005 Guilhem Bichot <guilhem@mysql.com>
|
|
|
|
|
|
|
|
- Removed the mysql_tableinfo script made obsolete by the information schema
|
|
|
|
|
2005-04-20 08:39:08 +02:00
|
|
|
* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Enabled the "blackhole" storage engine for the Max RPM
|
|
|
|
|
2005-04-13 19:46:26 +02:00
|
|
|
* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com>
|
2005-04-13 11:51:38 +02:00
|
|
|
|
|
|
|
- removed the MySQL manual files (html/ps/texi) - they have been removed
|
|
|
|
from the MySQL sources and are now available seperately.
|
|
|
|
|
2005-04-04 01:49:10 +02:00
|
|
|
* Mon Apr 4 2005 Petr Chardin <petr@mysql.com>
|
|
|
|
|
|
|
|
- old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into
|
|
|
|
mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively
|
|
|
|
|
2005-03-19 01:14:49 +01:00
|
|
|
* Fri Mar 18 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Disabled RAID in the Max binaries once and for all (it has finally been
|
|
|
|
removed from the source tree)
|
|
|
|
|
2005-03-15 20:51:13 +01:00
|
|
|
* Sun Feb 20 2005 Petr Chardin <petr@mysql.com>
|
|
|
|
|
2005-03-19 01:14:49 +01:00
|
|
|
- Install MySQL Instance Manager together with mysqld, touch mysqlmanager
|
2005-03-15 20:51:13 +01:00
|
|
|
password file
|
|
|
|
|
2005-02-17 11:07:33 +01:00
|
|
|
* Mon Feb 14 2005 Lenz Grimmer <lenz@mysql.com>
|
2005-02-14 11:12:39 +01:00
|
|
|
|
2005-03-15 20:51:13 +01:00
|
|
|
- Fixed the compilation comments and moved them into the separate build sections
|
2005-02-14 11:12:39 +01:00
|
|
|
for Max and Standard
|
|
|
|
|
|
|
|
* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>
|
2005-02-07 16:25:07 +01:00
|
|
|
|
|
|
|
- enabled the "Ndbcluster" storage engine for the max binary
|
|
|
|
- added extra make install in ndb subdir after Max build to get ndb binaries
|
|
|
|
- added packages for ndbcluster storage engine
|
|
|
|
|
2005-01-14 18:20:03 +01:00
|
|
|
* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- replaced obsoleted "BuildPrereq" with "BuildRequires" instead
|
|
|
|
|
2005-01-13 12:03:12 +01:00
|
|
|
* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- enabled the "Federated" storage engine for the max binary
|
|
|
|
|
2005-01-04 00:26:52 +01:00
|
|
|
* Tue Jan 04 2005 Petr Chardin <petr@mysql.com>
|
|
|
|
|
|
|
|
- ISAM and merge storage engines were purged. As well as appropriate
|
|
|
|
tools and manpages (isamchk and isamlog)
|
|
|
|
|
2004-12-31 10:38:51 +01:00
|
|
|
* Thu Dec 31 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- enabled the "Archive" storage engine for the max binary
|
|
|
|
- enabled the "CSV" storage engine for the max binary
|
|
|
|
- enabled the "Example" storage engine for the max binary
|
|
|
|
|
2004-08-26 12:25:14 +02:00
|
|
|
* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
|
|
|
|
|
2004-08-20 15:52:16 +02:00
|
|
|
* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- do not link statically on IA64/AMD64 as these systems do not have
|
|
|
|
a patched glibc installed
|
|
|
|
|
2004-08-10 16:50:29 +02:00
|
|
|
* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Added libmygcc.a to the devel subpackage (required to link applications
|
|
|
|
against the the embedded server libmysqld.a) (BUG 4921)
|
|
|
|
|
2004-08-09 14:36:59 +02:00
|
|
|
* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Added EXCEPTIONS-CLIENT to the "devel" package
|
|
|
|
|
2004-07-30 13:52:44 +02:00
|
|
|
* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- disabled OpenSSL in the Max binaries again (the RPM packages were the
|
|
|
|
only exception to this anyway) (BUG 1043)
|
|
|
|
|
2004-06-30 14:01:31 +02:00
|
|
|
* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- fixed server postinstall (mysql_install_db was called with the wrong
|
|
|
|
parameter)
|
|
|
|
|
2004-06-24 09:22:45 +02:00
|
|
|
* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added mysql_tzinfo_to_sql to the server subpackage
|
|
|
|
- run "make clean" instead of "make distclean"
|
|
|
|
|
2004-08-20 15:52:16 +02:00
|
|
|
* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added ncurses-devel to the build prerequisites (BUG 3377)
|
|
|
|
|
2004-02-12 15:53:47 +01:00
|
|
|
* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- when using gcc, _always_ use CXX=gcc
|
2004-02-12 17:12:08 +01:00
|
|
|
- replaced Copyright with License field (Copyright is obsolete)
|
2004-02-12 15:53:47 +01:00
|
|
|
|
2004-02-03 22:25:02 +01:00
|
|
|
* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added myisam_ftdump to the Server package
|
|
|
|
|
2004-01-13 19:55:37 +01:00
|
|
|
* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- link the mysql client against libreadline instead of libedit (BUG 2289)
|
|
|
|
|
2003-12-22 14:56:06 +01:00
|
|
|
* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
|
|
|
|
|
2003-12-13 03:52:19 +01:00
|
|
|
* Fri Dec 13 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- fixed file permissions (BUG 1672)
|
|
|
|
|
2003-12-12 23:06:26 +01:00
|
|
|
* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- made testing for gcc3 a bit more robust
|
|
|
|
|
2003-12-08 14:38:29 +01:00
|
|
|
* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added missing file mysql_create_system_tables to the server subpackage
|
|
|
|
|
2003-11-21 13:22:49 +01:00
|
|
|
* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- removed dependency on MySQL-client from the MySQL-devel subpackage
|
|
|
|
as it is not really required. (BUG 1610)
|
|
|
|
|
2003-08-29 19:14:42 +02:00
|
|
|
* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Fixed BUG 1162 (removed macro names from the changelog)
|
|
|
|
- Really fixed BUG 998 (disable the checking for installed but
|
|
|
|
unpackaged files)
|
|
|
|
|
2003-08-06 11:42:48 +02:00
|
|
|
* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
2003-08-29 19:14:42 +02:00
|
|
|
- Fixed BUG 959 (libmysqld not being compiled properly)
|
|
|
|
- Fixed BUG 998 (RPM build errors): added missing files to the
|
2003-08-06 11:42:48 +02:00
|
|
|
distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
|
2003-08-29 19:14:42 +02:00
|
|
|
mysql_fix_privilege_tables.1), removed "-n" from install section.
|
2003-08-06 11:42:48 +02:00
|
|
|
|
2003-07-09 15:51:31 +02:00
|
|
|
* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- removed the GIF Icon (file was not included in the sources anyway)
|
2003-08-29 19:14:42 +02:00
|
|
|
- removed unused variable shared_lib_version
|
2003-07-09 15:51:31 +02:00
|
|
|
- do not run automake before building the standard binary
|
|
|
|
(should not be necessary)
|
|
|
|
- add server suffix '-standard' to standard binary (to be in line
|
|
|
|
with the binary tarball distributions)
|
|
|
|
- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
|
|
|
|
_datadir, _includedir) throughout the spec file.
|
|
|
|
- allow overriding CC and CXX (required when building with other compilers)
|
|
|
|
|
2003-05-16 13:36:13 +02:00
|
|
|
* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- re-enabled RAID again
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2003-04-30 11:27:13 +02:00
|
|
|
* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- disabled MyISAM RAID (--with-raid) - it throws an assertion which
|
|
|
|
needs to be investigated first.
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2003-03-10 20:21:11 +01:00
|
|
|
* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- added missing file mysql_secure_installation to server subpackage
|
2003-08-29 19:14:42 +02:00
|
|
|
(BUG 141)
|
2003-03-10 20:21:11 +01:00
|
|
|
|
2003-02-11 12:27:53 +01:00
|
|
|
* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- re-added missing pre- and post(un)install scripts to server subpackage
|
|
|
|
- added config file /etc/my.cnf to the file list (just for completeness)
|
|
|
|
- make sure to create the datadir with 755 permissions
|
|
|
|
|
2003-01-27 20:55:03 +01:00
|
|
|
* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- removed unused CC and CXX variables
|
|
|
|
- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
|
|
|
|
|
2003-01-24 16:10:21 +01:00
|
|
|
* Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- renamed package "MySQL" to "MySQL-server"
|
|
|
|
- fixed Copyright tag
|
|
|
|
- added mysql_waitpid to client subpackage (required for mysql-test-run)
|
|
|
|
|
2002-11-27 22:57:17 +01:00
|
|
|
* Wed Nov 27 2002 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of
|
|
|
|
Linux distributions now support this scheme as proposed by the LSB either
|
|
|
|
directly or via a compatibility symlink)
|
|
|
|
- Use new "restart" init script action instead of starting and stopping
|
|
|
|
separately
|
|
|
|
- Be more flexible in activating the automatic bootup - use insserv (on
|
|
|
|
older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and
|
|
|
|
others) to create the respective symlinks
|
|
|
|
|
2002-09-25 17:36:21 +02:00
|
|
|
* Wed Sep 25 2002 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- MySQL-Max now requires MySQL >= 4.0 to avoid version mismatches
|
|
|
|
(mixing 3.23 and 4.0 packages)
|
|
|
|
|
2002-08-09 11:39:34 +02:00
|
|
|
* Fri Aug 09 2002 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Turn off OpenSSL in MySQL-Max for now until it works properly again
|
|
|
|
- enable RAID for the Max binary instead
|
|
|
|
- added compatibility link: safe_mysqld -> mysqld_safe to ease the
|
|
|
|
transition from 3.23
|
|
|
|
|
2002-07-23 17:04:20 +02:00
|
|
|
* Thu Jul 18 2002 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Reworked the build steps a little bit: the Max binary is supposed
|
|
|
|
to include OpenSSL, which cannot be linked statically, thus trying
|
|
|
|
to statically link against a special glibc is futile anyway
|
|
|
|
- because of this, it is not required to make yet another build run
|
|
|
|
just to compile the shared libs (saves a lot of time)
|
|
|
|
- updated package description of the Max subpackage
|
|
|
|
- clean up the BuildRoot directory afterwards
|
|
|
|
|
2002-07-15 11:53:05 +02:00
|
|
|
* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Updated Packager information
|
|
|
|
- Fixed the build options: the regular package is supposed to
|
|
|
|
include InnoDB and linked statically, while the Max package
|
|
|
|
should include BDB and SSL support
|
|
|
|
|
2002-05-03 12:31:25 +02:00
|
|
|
* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com>
|
|
|
|
|
|
|
|
- Use more RPM macros (e.g. infodir, mandir) to make the spec
|
|
|
|
file more portable
|
|
|
|
- reorganized the installation of documentation files: let RPM
|
|
|
|
take care of this
|
|
|
|
- reorganized the file list: actually install man pages along
|
|
|
|
with the binaries of the respective subpackage
|
2002-09-27 15:27:14 +02:00
|
|
|
- do not include libmysqld.a in the devel subpackage as well, if we
|
2002-05-03 12:31:25 +02:00
|
|
|
have a special "embedded" subpackage
|
|
|
|
- reworked the package descriptions
|
|
|
|
|
2001-10-08 06:24:04 +02:00
|
|
|
* Mon Oct 8 2001 Monty
|
|
|
|
|
|
|
|
- Added embedded server as a separate RPM
|
|
|
|
|
2001-04-13 15:21:38 +02:00
|
|
|
* Fri Apr 13 2001 Monty
|
|
|
|
|
|
|
|
- Added mysqld-max to the distribution
|
|
|
|
|
2001-01-02 13:29:47 +01:00
|
|
|
* Tue Jan 2 2001 Monty
|
|
|
|
|
|
|
|
- Added mysql-test to the bench package
|
|
|
|
|
2000-08-30 21:44:57 +02:00
|
|
|
* Fri Aug 18 2000 Tim Smith <tim@mysql.com>
|
2000-08-19 23:36:05 +02:00
|
|
|
|
|
|
|
- Added separate libmysql_r directory; now both a threaded
|
|
|
|
and non-threaded library is shipped.
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
* Wed Sep 28 1999 David Axmark <davida@mysql.com>
|
|
|
|
|
|
|
|
- Added the support-files/my-example.cnf to the docs directory.
|
|
|
|
|
|
|
|
- Removed devel dependency on base since it is about client
|
|
|
|
development.
|
|
|
|
|
|
|
|
* Wed Sep 8 1999 David Axmark <davida@mysql.com>
|
|
|
|
|
|
|
|
- Cleaned up some for 3.23.
|
|
|
|
|
|
|
|
* Thu Jul 1 1999 David Axmark <davida@mysql.com>
|
|
|
|
|
|
|
|
- Added support for shared libraries in a separate sub
|
|
|
|
package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
|
|
|
|
|
|
|
|
- The --enable-assembler switch is now automatically disables on
|
|
|
|
platforms there assembler code is unavailable. This should allow
|
|
|
|
building this RPM on non i386 systems.
|
|
|
|
|
|
|
|
* Mon Feb 22 1999 David Axmark <david@detron.se>
|
|
|
|
|
|
|
|
- Removed unportable cc switches from the spec file. The defaults can
|
|
|
|
now be overridden with environment variables. This feature is used
|
|
|
|
to compile the official RPM with optimal (but compiler version
|
|
|
|
specific) switches.
|
|
|
|
|
|
|
|
- Removed the repetitive description parts for the sub rpms. Maybe add
|
|
|
|
again if RPM gets a multiline macro capability.
|
|
|
|
|
|
|
|
- Added support for a pt_BR translation. Translation contributed by
|
|
|
|
Jorge Godoy <jorge@bestway.com.br>.
|
|
|
|
|
|
|
|
* Wed Nov 4 1998 David Axmark <david@detron.se>
|
|
|
|
|
|
|
|
- A lot of changes in all the rpm and install scripts. This may even
|
|
|
|
be a working RPM :-)
|
|
|
|
|
|
|
|
* Sun Aug 16 1998 David Axmark <david@detron.se>
|
|
|
|
|
|
|
|
- A developers changelog for MySQL is available in the source RPM. And
|
|
|
|
there is a history of major user visible changed in the Reference
|
|
|
|
Manual. Only RPM specific changes will be documented here.
|