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:
parent
bd137d5378
commit
555510a779
@ -1 +1 @@
|
||||
mysql-3.23.22-beta.tar.gz
|
||||
mysql-3.23.24-beta.tar.gz
|
||||
|
@ -6,7 +6,7 @@
|
||||
# chkconfig: - 85 15
|
||||
# description: MySQL database server.
|
||||
# processname: mysqld
|
||||
# config: /etc/my.conf
|
||||
# config: /etc/my.cnf
|
||||
# pidfile: /var/run/mysqld.pid
|
||||
|
||||
# Source function library.
|
||||
@ -19,8 +19,8 @@
|
||||
[ -f /etc/sysconfig/subsys/mysqld ] && . /etc/sysconfig/subsys/mysqld
|
||||
|
||||
start(){
|
||||
touch /var/log/mysqld.log /var/run/mysqld.pid
|
||||
chown mysql.mysql /var/log/mysqld.log /var/run/mysqld.pid
|
||||
touch /var/log/mysqld.log
|
||||
chown mysql.mysql /var/log/mysqld.log
|
||||
if [ ! -d /var/lib/mysql/mysql ] ; then
|
||||
action "Initializing MySQL database" /usr/bin/mysql_install_db
|
||||
ret=$?
|
||||
|
32
mysql.spec
32
mysql.spec
@ -1,9 +1,10 @@
|
||||
Name: mysql
|
||||
Version: 3.23.22
|
||||
Release: 6
|
||||
Version: 3.23.24
|
||||
Release: 1
|
||||
Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}-beta.tar.gz
|
||||
Source1: mysql.init
|
||||
Source2: mysql.logrotate
|
||||
Source3: safe_mysqld
|
||||
URL: http://www.mysql.com
|
||||
BuildRoot: %{_tmppath}/mysql-%{version}-root
|
||||
Summary: MySQL client program and shared library
|
||||
@ -73,17 +74,20 @@ make
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%makeinstall
|
||||
install -m755 %{SOURCE3} $RPM_BUILD_ROOT/usr/bin/safe_mysqld
|
||||
|
||||
# List the installed tree for RPM package maintenance purposes.
|
||||
find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
|
||||
gzip $RPM_BUILD_ROOT/%{_infodir}/*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-*.spec
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/mysql/mysql-log-rotate
|
||||
|
||||
|
||||
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 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.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*
|
||||
|
||||
%clean
|
||||
@ -139,7 +143,7 @@ fi
|
||||
|
||||
%files
|
||||
%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
|
||||
|
||||
# /usr/bin/* except mysqladmin and safe_mysqld
|
||||
@ -155,12 +159,12 @@ fi
|
||||
%{_infodir}/*
|
||||
%{_mandir}/man1/*
|
||||
%dir /usr/lib/mysql
|
||||
/usr/lib/mysql/libmysqlclient.so.*
|
||||
/usr/lib/mysql/libmysqlclient*.so.*
|
||||
|
||||
%dir /usr/share/mysql
|
||||
/usr/share/mysql/*
|
||||
|
||||
%config /etc/my.conf
|
||||
%config /etc/my.cnf
|
||||
|
||||
%files server
|
||||
%defattr(-,root,root)
|
||||
@ -170,16 +174,28 @@ fi
|
||||
|
||||
%config /etc/rc.d/init.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
|
||||
%defattr(-,root,root)
|
||||
/usr/include/mysql
|
||||
%dir /usr/lib/mysql
|
||||
/usr/lib/mysql/*.a
|
||||
/usr/lib/mysql/libmysqlclient.so
|
||||
/usr/lib/mysql/libmysqlclient*.so
|
||||
|
||||
%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>
|
||||
- Add "|| :" to condrestart to avoid non-zero exit code
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user