auto-import changelog data from mysql-3.23.24-1.src.rpm

Tue Sep 12 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rename config file to /etc/my.cnf, which is what mysqld wants... doh.
    (#17432)
- include a changed safe_mysqld, so the pid file option works.
- make mysql dir world readable to they can access the mysql socket.
    (#17432)
- 3.23.24
Wed Sep 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
- 3.23.23
This commit is contained in:
cvsdist 2004-09-09 08:53:49 +00:00 committed by Michal Schorm
parent bd137d5378
commit 555510a779
4 changed files with 29 additions and 13 deletions

View File

@ -1 +1 @@
mysql-3.23.22-beta.tar.gz mysql-3.23.24-beta.tar.gz

View File

@ -6,7 +6,7 @@
# chkconfig: - 85 15 # chkconfig: - 85 15
# description: MySQL database server. # description: MySQL database server.
# processname: mysqld # processname: mysqld
# config: /etc/my.conf # config: /etc/my.cnf
# pidfile: /var/run/mysqld.pid # pidfile: /var/run/mysqld.pid
# Source function library. # Source function library.
@ -19,8 +19,8 @@
[ -f /etc/sysconfig/subsys/mysqld ] && . /etc/sysconfig/subsys/mysqld [ -f /etc/sysconfig/subsys/mysqld ] && . /etc/sysconfig/subsys/mysqld
start(){ start(){
touch /var/log/mysqld.log /var/run/mysqld.pid touch /var/log/mysqld.log
chown mysql.mysql /var/log/mysqld.log /var/run/mysqld.pid chown mysql.mysql /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=$?

View File

@ -1,9 +1,10 @@
Name: mysql Name: mysql
Version: 3.23.22 Version: 3.23.24
Release: 6 Release: 1
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}-beta.tar.gz
Source1: mysql.init Source1: mysql.init
Source2: mysql.logrotate Source2: mysql.logrotate
Source3: safe_mysqld
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
@ -73,17 +74,20 @@ make
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
install -m755 %{SOURCE3} $RPM_BUILD_ROOT/usr/bin/safe_mysqld
# 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
gzip $RPM_BUILD_ROOT/%{_infodir}/* gzip $RPM_BUILD_ROOT/%{_infodir}/*
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-*.spec rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-*.spec
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-log-rotate 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}
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.conf touch $RPM_BUILD_ROOT/etc/my.cnf
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir* rm -f $RPM_BUILD_ROOT/%{_infodir}/dir*
%clean %clean
@ -139,7 +143,7 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc INSTALL* PUBLIC README Docs/INSTALL* Docs/MySQL-for-dummies %doc INSTALL* PUBLIC README COPYING*
%doc Docs/manual* Docs/mysqld_error.txt %doc Docs/manual* Docs/mysqld_error.txt
# /usr/bin/* except mysqladmin and safe_mysqld # /usr/bin/* except mysqladmin and safe_mysqld
@ -155,12 +159,12 @@ fi
%{_infodir}/* %{_infodir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%dir /usr/lib/mysql %dir /usr/lib/mysql
/usr/lib/mysql/libmysqlclient.so.* /usr/lib/mysql/libmysqlclient*.so.*
%dir /usr/share/mysql %dir /usr/share/mysql
/usr/share/mysql/* /usr/share/mysql/*
%config /etc/my.conf %config /etc/my.cnf
%files server %files server
%defattr(-,root,root) %defattr(-,root,root)
@ -170,16 +174,28 @@ fi
%config /etc/rc.d/init.d/mysqld %config /etc/rc.d/init.d/mysqld
%config /etc/logrotate.d/mysqld %config /etc/logrotate.d/mysqld
%attr(0700,mysql,mysql) %dir /var/lib/mysql %attr(0755,mysql,mysql) %dir /var/lib/mysql
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
/usr/include/mysql /usr/include/mysql
%dir /usr/lib/mysql %dir /usr/lib/mysql
/usr/lib/mysql/*.a /usr/lib/mysql/*.a
/usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient*.so
%changelog %changelog
* Thu Sep 12 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rename config file to /etc/my.cnf, which is what
mysqld wants... doh. (#17432)
- include a changed safe_mysqld, so the pid file option
works.
- make mysql dir world readable to they can access the
mysql socket. (#17432)
- 3.23.24
* Wed Sep 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
- 3.23.23
* Sun Aug 27 2000 Trond Eivind Glomsrød <teg@redhat.com> * Sun Aug 27 2000 Trond Eivind Glomsrød <teg@redhat.com>
- Add "|| :" to condrestart to avoid non-zero exit code - Add "|| :" to condrestart to avoid non-zero exit code

View File

@ -1 +1 @@
dfb40c467219de80ed767ad372e34acf mysql-3.23.22-beta.tar.gz a4d1e1075db34675d91280bfe81aa891 mysql-3.23.24-beta.tar.gz