auto-import changelog data from mysql-3.23.32-1.7.src.rpm
Sun Jan 21 2001 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.32 - fix logrotate script, so it doesn't return "false" if mysqld isn't running (#24589) Thu Jan 18 2001 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.31 Wed Jan 17 2001 Trond Eivind Glomsrød <teg@redhat.com> - move the items in Requires(post): to Requires: in preparation for an errata for 7.0 when 3.23.31 is released Tue Jan 16 2001 Trond Eivind Glomsrød <teg@redhat.com> - add the log file to the rpm database, and make it 0640 (#24116) - as above in logrotate script - changes to the init sequence - put most of the data in /etc/my.cnf instead of hardcoding in the init script - use /var/run/mysqld/mysqld.pid instead of /var/run/mysqld/pid - use standard safe_mysqld - shut down cleaner Mon Jan 08 2001 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.30 - do an explicit chmod on /var/lib/mysql in post, to avoid any problems with broken permissons. There is a report of rm not changing this on its own (#22989) Mon Jan 01 2001 Trond Eivind Glomsrød <teg@redhat.com> - bzipped source - changed from 85 to 78 in startup, so it starts before apache (which can use modules requiring mysql) Wed Dec 27 2000 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.29a Tue Dec 19 2000 Trond Eivind Glomsrød <teg@redhat.com> - add requirement for new libstdc++, build for errata Mon Dec 18 2000 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.29 Mon Nov 27 2000 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.28 (gamma) - remove old patches, as they are now upstreamed Tue Nov 14 2000 Trond Eivind Glomsrød <teg@redhat.com> - Add a requirement for a new glibc (#20735) - build on IA64 Wed Nov 01 2000 Trond Eivind Glomsrød <teg@redhat.com> - disable more assembly Wed Nov 01 2000 Jakub Jelinek <jakub@redhat.com> - fix mysql on SPARC (#20124) Tue Oct 31 2000 Trond Eivind Glomsrød <teg@redhat.com> - 3.23.27 Wed Oct 25 2000 Trond Eivind Glomsrød <teg@redhat.com> - add patch for fixing bogus aliasing in mysql from Jakub, which should fix #18905 and #18620 Mon Oct 23 2000 Trond Eivind Glomsrød <teg@redhat.com> - check for negative niceness values, and negate it if present (#17899) - redefine optflags on IA32 FTTB
This commit is contained in:
parent
f16ef3f517
commit
3122f9d8d7
@ -1 +1 @@
|
|||||||
mysql-3.23.26-beta.tar.gz
|
mysql-3.23.32.tar.bz2
|
||||||
|
11
my.cnf
Normal file
11
my.cnf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[mysqld]
|
||||||
|
datadir=/var/lib/mysql
|
||||||
|
socket=/var/lib/mysql/mysql.sock
|
||||||
|
|
||||||
|
[mysql.server]
|
||||||
|
user=mysql
|
||||||
|
basedir=/var/lib
|
||||||
|
|
||||||
|
[safe_mysqld]
|
||||||
|
err-log=/var/log/mysqld.log
|
||||||
|
pid-file=/var/run/mysqld/mysqld.pid
|
20
mysql.init
20
mysql.init
@ -3,11 +3,11 @@
|
|||||||
# mysqld This shell script takes care of starting and stopping
|
# mysqld This shell script takes care of starting and stopping
|
||||||
# the MySQL subsystem (mysqld).
|
# the MySQL subsystem (mysqld).
|
||||||
#
|
#
|
||||||
# chkconfig: - 85 15
|
# chkconfig: - 78 12
|
||||||
# description: MySQL database server.
|
# description: MySQL database server.
|
||||||
# processname: mysqld
|
# processname: mysqld
|
||||||
# config: /etc/my.cnf
|
# config: /etc/my.cnf
|
||||||
# pidfile: /var/run/mysqld.pid
|
# pidfile: /var/run/mysqld/mysqld.pid
|
||||||
|
|
||||||
# Source function library.
|
# Source function library.
|
||||||
. /etc/rc.d/init.d/functions
|
. /etc/rc.d/init.d/functions
|
||||||
@ -21,6 +21,7 @@
|
|||||||
start(){
|
start(){
|
||||||
touch /var/log/mysqld.log
|
touch /var/log/mysqld.log
|
||||||
chown mysql.mysql /var/log/mysqld.log
|
chown mysql.mysql /var/log/mysqld.log
|
||||||
|
chmod 0640 /var/log/mysqld.log
|
||||||
if [ ! -d /var/lib/mysql/mysql ] ; then
|
if [ ! -d /var/lib/mysql/mysql ] ; then
|
||||||
action "Initializing MySQL database" /usr/bin/mysql_install_db
|
action "Initializing MySQL database" /usr/bin/mysql_install_db
|
||||||
ret=$?
|
ret=$?
|
||||||
@ -29,8 +30,7 @@ start(){
|
|||||||
return $ret
|
return $ret
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
/usr/bin/safe_mysqld --user=mysql --log=/var/log/mysqld.log \
|
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf >/dev/null 2>&1 &
|
||||||
--pid-file=/var/run/mysqld.pid >/dev/null 2>&1 &
|
|
||||||
ret=$?
|
ret=$?
|
||||||
if [ $ret -eq 0 ]; then
|
if [ $ret -eq 0 ]; then
|
||||||
action "Starting MySQL: " /bin/true
|
action "Starting MySQL: " /bin/true
|
||||||
@ -42,14 +42,16 @@ start(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop(){
|
stop(){
|
||||||
echo -n "Shutting down MySQL server"
|
/usr/bin/mysqladmin shutdown > /dev/null 2>&1
|
||||||
killproc safe_mysqld
|
ret=$?
|
||||||
killproc mysqld
|
if [ $ret -eq 0 ]; then
|
||||||
|
action "Stopping MySQL: " /bin/true
|
||||||
|
else
|
||||||
|
action "Stopping MySQL: " /bin/false
|
||||||
|
fi
|
||||||
ret=$?
|
ret=$?
|
||||||
[ $ret -eq 0 ] && rm -f /var/lock/subsys/mysqld
|
[ $ret -eq 0 ] && rm -f /var/lock/subsys/mysqld
|
||||||
[ $ret -eq 0 ] && rm -f /var/lib/mysql/mysql.sock
|
[ $ret -eq 0 ] && rm -f /var/lib/mysql/mysql.sock
|
||||||
mysqladmin shutdown > /dev/null 2>& 1
|
|
||||||
echo
|
|
||||||
return $ret
|
return $ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
109
mysql.spec
109
mysql.spec
@ -1,17 +1,18 @@
|
|||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 3.23.26
|
Version: 3.23.32
|
||||||
Release: 1
|
Release: 1.7
|
||||||
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}-beta.tar.gz
|
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.bz2
|
||||||
Source1: mysql.init
|
Source1: mysql.init
|
||||||
Source2: mysql.logrotate
|
Source2: mysql.logrotate
|
||||||
Source3: safe_mysqld
|
Source3: my.cnf
|
||||||
URL: http://www.mysql.com
|
URL: http://www.mysql.com
|
||||||
BuildRoot: %{_tmppath}/mysql-%{version}-root
|
BuildRoot: %{_tmppath}/mysql-%{version}-root
|
||||||
Summary: MySQL client program and shared library
|
Summary: MySQL client program and shared library
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Prereq: /sbin/ldconfig, /sbin/install-info, grep
|
Prereq: /sbin/ldconfig, /sbin/install-info, grep, fileutils, chkconfig
|
||||||
ExcludeArch: ia64 sparc
|
BuildRequires: gperf, perl, db3-devel
|
||||||
|
Requires: glibc >= 2.2, libstdc++ >= 2.96-69
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MySQL is a multi-user, multi-threaded SQL database server. SQL is
|
MySQL is a multi-user, multi-threaded SQL database server. SQL is
|
||||||
@ -26,7 +27,7 @@ Summary: MySQL server
|
|||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel
|
Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel
|
||||||
Requires: mysql = %{version}
|
Requires: mysql = %{version}, sh-utils
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
MySQL is a true multi-user, multi-threaded SQL database server. SQL is
|
MySQL is a true multi-user, multi-threaded SQL database server. SQL is
|
||||||
@ -51,10 +52,10 @@ header files that are needed for developing your own MySQL applications.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mysql-%{version}-beta
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure --without-debug \
|
%configure --without-debug \
|
||||||
--without-readline \
|
--without-readline \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@ -62,10 +63,11 @@ header files that are needed for developing your own MySQL applications.
|
|||||||
--without-bench \
|
--without-bench \
|
||||||
--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 \
|
||||||
--enable-assembler \
|
--with-mysqld-user="mysql" \
|
||||||
--with-mysqld-user="mysql"
|
--with-extra-charsets=all
|
||||||
|
|
||||||
# --with-mysqld-ldflags=-all-static
|
# --with-mysqld-ldflags=-all-static
|
||||||
|
# --enable-assembler \
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -73,7 +75,9 @@ make
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%makeinstall
|
%makeinstall
|
||||||
install -m755 %{SOURCE3} $RPM_BUILD_ROOT/usr/bin/safe_mysqld
|
install -m 644 include/my_config.h $RPM_BUILD_ROOT/usr/include/mysql/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/log
|
||||||
|
touch $RPM_BUILD_ROOT/var/log/mysqld.log
|
||||||
|
|
||||||
# List the installed tree for RPM package maintenance purposes.
|
# List the installed tree for RPM package maintenance purposes.
|
||||||
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
|
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
|
||||||
@ -83,10 +87,11 @@ rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-log-rotate
|
|||||||
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d}
|
mkdir -p $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/run/mysqld
|
||||||
install -m 0755 -d $RPM_BUILD_ROOT/var/lib/mysql
|
install -m 0755 -d $RPM_BUILD_ROOT/var/lib/mysql
|
||||||
install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysqld
|
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
|
||||||
touch $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*
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -108,6 +113,7 @@ fi
|
|||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
/sbin/chkconfig --add mysqld
|
/sbin/chkconfig --add mysqld
|
||||||
fi
|
fi
|
||||||
|
/bin/chmod 0755 /var/lib/mysql
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -170,10 +176,11 @@ fi
|
|||||||
/usr/bin/mysqladmin
|
/usr/bin/mysqladmin
|
||||||
/usr/bin/safe_mysqld
|
/usr/bin/safe_mysqld
|
||||||
/usr/libexec/*
|
/usr/libexec/*
|
||||||
|
/etc/rc.d/init.d/mysqld
|
||||||
%config /etc/rc.d/init.d/mysqld
|
%attr(0755,mysql,mysql) %dir /var/run/mysqld
|
||||||
%config /etc/logrotate.d/mysqld
|
%config /etc/logrotate.d/mysqld
|
||||||
%attr(0755,mysql,mysql) %dir /var/lib/mysql
|
%attr(0755,mysql,mysql) %dir /var/lib/mysql
|
||||||
|
%ghost %attr(0640,mysql,mysql) /var/log/mysqld.log
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -183,10 +190,80 @@ fi
|
|||||||
/usr/lib/mysql/libmysqlclient*.so
|
/usr/lib/mysql/libmysqlclient*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.32
|
||||||
|
- fix logrotate script, so it doesn't return "false" if
|
||||||
|
mysqld isn't running (#24589)
|
||||||
|
|
||||||
|
* Thu Jan 18 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.31
|
||||||
|
|
||||||
|
* Wed Jan 17 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- move the items in Requires(post): to Requires: in preparation
|
||||||
|
for an errata for 7.0 when 3.23.31 is released
|
||||||
|
|
||||||
|
* Tue Jan 16 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- add the log file to the rpm database, and make it 0640
|
||||||
|
(#24116)
|
||||||
|
- as above in logrotate script
|
||||||
|
- changes to the init sequence - put most of the data
|
||||||
|
in /etc/my.cnf instead of hardcoding in the init script
|
||||||
|
- use /var/run/mysqld/mysqld.pid instead of
|
||||||
|
/var/run/mysqld/pid
|
||||||
|
- use standard safe_mysqld
|
||||||
|
- shut down cleaner
|
||||||
|
|
||||||
|
* Mon Jan 08 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.30
|
||||||
|
- do an explicit chmod on /var/lib/mysql in post, to avoid
|
||||||
|
any problems with broken permissons. There is a report
|
||||||
|
of rm not changing this on its own (#22989)
|
||||||
|
|
||||||
|
* Mon Jan 01 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- bzipped source
|
||||||
|
- changed from 85 to 78 in startup, so it starts before
|
||||||
|
apache (which can use modules requiring mysql)
|
||||||
|
|
||||||
|
* Wed Dec 27 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.29a
|
||||||
|
|
||||||
|
* Tue Dec 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- add requirement for new libstdc++, build for errata
|
||||||
|
|
||||||
|
* Mon Dec 18 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.29
|
||||||
|
|
||||||
|
* Mon Nov 27 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.28 (gamma)
|
||||||
|
- remove old patches, as they are now upstreamed
|
||||||
|
|
||||||
|
* Thu Nov 14 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- Add a requirement for a new glibc (#20735)
|
||||||
|
- build on IA64
|
||||||
|
|
||||||
|
* Wed Nov 1 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- disable more assembly
|
||||||
|
|
||||||
|
* Wed Nov 1 2000 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
- fix mysql on SPARC (#20124)
|
||||||
|
|
||||||
|
* Tue Oct 31 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 3.23.27
|
||||||
|
|
||||||
|
* Wed Oct 25 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- add patch for fixing bogus aliasing in mysql from Jakub,
|
||||||
|
which should fix #18905 and #18620
|
||||||
|
|
||||||
|
* Mon Oct 23 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- check for negative niceness values, and negate it
|
||||||
|
if present (#17899)
|
||||||
|
- redefine optflags on IA32 FTTB
|
||||||
|
|
||||||
* Wed Oct 18 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Wed Oct 18 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- 3.23.26, which among other fixes now uses mkstemp()
|
- 3.23.26, which among other fixes now uses mkstemp()
|
||||||
instead of tempnam().
|
instead of tempnam().
|
||||||
- revert changes made yesterday, Jakub fixed the compiler
|
- revert changes made yesterday, the problem is now
|
||||||
|
isolated
|
||||||
|
|
||||||
* Tue Oct 17 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Tue Oct 17 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- use the compat C++ compiler FTTB. Argh.
|
- use the compat C++ compiler FTTB. Argh.
|
||||||
|
Loading…
Reference in New Issue
Block a user