auto-import changelog data from mysql-3.23.58-4.src.rpm
Mon Oct 27 2003 Kim Ho <kho@redhat.com> 3.23.58-4 - update mysql.init to wait (max 10 seconds) for mysql server to start (#58372) Mon Oct 27 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-3 - re-enable Berkeley DB support (#106832) - re-enable ia64 testing Fri Sep 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-2 - rebuilt
This commit is contained in:
parent
1ce219d353
commit
729c1d4ac1
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
/usr/lib/rpm/perl.req $* | grep -v "perl(the"
|
/usr/lib/rpm/perl.req $* | grep -v "perl(th"
|
||||||
|
15
mysql.init
15
mysql.init
@ -36,8 +36,21 @@ start(){
|
|||||||
chmod 0755 $datadir
|
chmod 0755 $datadir
|
||||||
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf >/dev/null 2>&1 &
|
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf >/dev/null 2>&1 &
|
||||||
ret=$?
|
ret=$?
|
||||||
|
# Spin for a maximum of ten seconds waiting for the server to come up
|
||||||
if [ $ret -eq 0 ]; then
|
if [ $ret -eq 0 ]; then
|
||||||
action $"Starting $prog: " /bin/true
|
for x in 1 2 3 4 5 6 7 8 9 10; do
|
||||||
|
if [ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]; then
|
||||||
|
break;
|
||||||
|
else
|
||||||
|
sleep 1;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if !([ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]); then
|
||||||
|
echo "Timeout error occurred trying to start MySQL Daemon."
|
||||||
|
action $"Starting $prog: " /bin/false
|
||||||
|
else
|
||||||
|
action $"Starting $prog: " /bin/true
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
action $"Starting $prog: " /bin/false
|
action $"Starting $prog: " /bin/false
|
||||||
fi
|
fi
|
||||||
|
81
mysql.spec
81
mysql.spec
@ -1,6 +1,6 @@
|
|||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 3.23.58
|
Version: 3.23.58
|
||||||
Release: 1.9
|
Release: 4
|
||||||
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.gz
|
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.gz
|
||||||
Source1: mysql.init
|
Source1: mysql.init
|
||||||
Source2: mysql.logrotate
|
Source2: mysql.logrotate
|
||||||
@ -12,7 +12,7 @@ Patch1: mysql-3.23.54-libdir.patch
|
|||||||
Patch2: mysql-errno.patch
|
Patch2: mysql-errno.patch
|
||||||
URL: http://www.mysql.com
|
URL: http://www.mysql.com
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Summary: MySQL client programs and shared library.
|
Summary: MySQL client programs and shared libraries.
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
||||||
@ -22,7 +22,7 @@ BuildRequires: libtool automake autoconf
|
|||||||
Requires: bash
|
Requires: bash
|
||||||
Conflicts: MySQL
|
Conflicts: MySQL
|
||||||
Requires: perl-DBI, perl-DBD-MySQL
|
Requires: perl-DBI, perl-DBD-MySQL
|
||||||
Obsoletes: mysql-client mysql-bench mysql-perl
|
Obsoletes: mysql-client mysql-perl
|
||||||
|
|
||||||
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
# Working around perl dependency checking bug in rpm FTTB. Remove later.
|
||||||
%define __perl_requires %{SOURCE999}
|
%define __perl_requires %{SOURCE999}
|
||||||
@ -31,7 +31,7 @@ Obsoletes: mysql-client mysql-bench mysql-perl
|
|||||||
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
||||||
client/server implementation consisting of a server daemon (mysqld)
|
client/server implementation consisting of a server daemon (mysqld)
|
||||||
and many different client programs and libraries. This package
|
and many different client programs and libraries. This package
|
||||||
contains the MySQL client programs, the client shared library, and
|
contains the MySQL client programs, the client shared libraries, and
|
||||||
generic MySQL files.
|
generic MySQL files.
|
||||||
|
|
||||||
%package server
|
%package server
|
||||||
@ -63,6 +63,19 @@ MySQL is a true multi-user, multi-threaded SQL database server. This
|
|||||||
package contains the libraries and header files that are needed for
|
package contains the libraries and header files that are needed for
|
||||||
developing MySQL applications.
|
developing MySQL applications.
|
||||||
|
|
||||||
|
%package bench
|
||||||
|
|
||||||
|
Summary: MySQL benchmark scripts and data.
|
||||||
|
License: GPL/LGPL
|
||||||
|
Group: Applications/Databases
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Conflicts: MySQL-bench
|
||||||
|
|
||||||
|
%description bench
|
||||||
|
MySQL is a true multi-user, multi-threaded SQL database server. This
|
||||||
|
package contains benchmark scripts and data for use when benchmarking
|
||||||
|
MySQL.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -86,10 +99,6 @@ CFLAGS="$CFLAGS -fPIC"
|
|||||||
CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions"
|
CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions"
|
||||||
export CFLAGS CXXFLAGS
|
export CFLAGS CXXFLAGS
|
||||||
|
|
||||||
#CPPFLAGS="$CFLAGS"
|
|
||||||
#export CPPFLAGS
|
|
||||||
|
|
||||||
#configure --without-debug \
|
|
||||||
%configure \
|
%configure \
|
||||||
--without-readline \
|
--without-readline \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
@ -99,19 +108,18 @@ export CFLAGS CXXFLAGS
|
|||||||
--localstatedir=/var/lib/mysql \
|
--localstatedir=/var/lib/mysql \
|
||||||
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
|
||||||
--with-mysqld-user="mysql" \
|
--with-mysqld-user="mysql" \
|
||||||
--with-extra-charsets=all \
|
--with-extra-charsets=all \
|
||||||
--with-innodb \
|
--with-innodb \
|
||||||
--enable-local-infile \
|
--enable-local-infile \
|
||||||
--enable-large-files=yes --enable-largefile=yes \
|
--enable-large-files=yes --enable-largefile=yes \
|
||||||
--with-berkeley-db-includes=%{_includedir} \
|
--with-berkeley-db \
|
||||||
--with-berkeley-db-libs=%{_libdir} \
|
|
||||||
--enable-thread-safe-client
|
--enable-thread-safe-client
|
||||||
|
|
||||||
# Not enabling assembler
|
# Not enabling assembler
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
make check
|
make check
|
||||||
%ifnarch ppc alpha s390x
|
%ifnarch ppc64 s390x x86_64
|
||||||
make test
|
make test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -136,10 +144,10 @@ install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysqld
|
|||||||
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/mysqld
|
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/mysqld
|
||||||
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/my.cnf
|
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/my.cnf
|
||||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir*
|
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir*
|
||||||
|
mv $RPM_BUILD_ROOT/usr/sql-bench $RPM_BUILD_ROOT%{_datadir}/sql-bench
|
||||||
|
|
||||||
# Doesn't contain anything
|
# Doesn't contain anything
|
||||||
rm -f Docs/manual.ps
|
rm -f Docs/manual.ps
|
||||||
rm -fr $RPM_BUILD_ROOT/usr/sql-bench
|
|
||||||
rm -fr $RPM_BUILD_ROOT/usr/mysql-test
|
rm -fr $RPM_BUILD_ROOT/usr/mysql-test
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient*.la
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient*.la
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure
|
||||||
@ -263,11 +271,50 @@ fi
|
|||||||
%{_libdir}/mysql/*.a
|
%{_libdir}/mysql/*.a
|
||||||
%{_libdir}/mysql/libmysqlclient*.so
|
%{_libdir}/mysql/libmysqlclient*.so
|
||||||
|
|
||||||
%changelog
|
%files bench
|
||||||
* Wed Sep 17 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-1.9
|
%defattr(-,root,root)
|
||||||
- upgrade to 3.23.58 for security fixes (#104501)
|
%{_datadir}/sql-bench
|
||||||
|
|
||||||
* Wed Apr 30 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-1.9
|
%changelog
|
||||||
|
* Mon Oct 27 2003 Kim Ho <kho@redhat.com> 3.23.58-4
|
||||||
|
- update mysql.init to wait (max 10 seconds) for mysql server to
|
||||||
|
start (#58372)
|
||||||
|
|
||||||
|
* Mon Oct 27 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-3
|
||||||
|
- re-enable Berkeley DB support (#106832)
|
||||||
|
- re-enable ia64 testing
|
||||||
|
|
||||||
|
* Fri Sep 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-2
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Mon Sep 15 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-1
|
||||||
|
- upgrade to 3.23.58 for security fix
|
||||||
|
|
||||||
|
* Tue Aug 26 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-2
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Wed Jul 02 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-1
|
||||||
|
- revert to prior version of MySQL due to license incompatibilities
|
||||||
|
with packages that link against the client. The MySQL folks are
|
||||||
|
looking into the issue.
|
||||||
|
|
||||||
|
* Wed Jun 18 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-4
|
||||||
|
- restrict test on ia64 (temporary)
|
||||||
|
|
||||||
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 4.0.13-3
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Thu May 29 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-2
|
||||||
|
- fix filter-requires-mysql.sh with less restrictive for mysql-bench
|
||||||
|
|
||||||
|
* Wed May 28 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-1
|
||||||
|
- update for MySQL 4.0
|
||||||
|
- back-level shared libraries available in mysqlclient10 package
|
||||||
|
|
||||||
|
* Fri May 09 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-2
|
||||||
|
- add sql-bench package (#90110)
|
||||||
|
|
||||||
|
* Wed Mar 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-1
|
||||||
- upgrade to 3.23.56 for security fixes
|
- upgrade to 3.23.56 for security fixes
|
||||||
- remove patch for double-free (included in 3.23.56)
|
- remove patch for double-free (included in 3.23.56)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user