[packages/percona-server/v5.1.x: 1/21] This commit was manufactured by cvs2git to create branch 'unlabeled-1.1.2'.

glen glen at pld-linux.org
Wed Oct 21 16:08:14 CEST 2015


commit 622ed09b0bef7261baada3bf7cfb9b902e825468
Author: cvs2git <feedback at pld-linux.org>
Date:   Wed Feb 12 01:06:47 2003 +0000

    This commit was manufactured by cvs2git to create branch 'unlabeled-1.1.2'.
    
    Sprout from master 2003-02-12 01:06:47 UTC Arkadiusz Miśkiewicz <arekm at maven.pl> '- new'
    Delete:
        mysql-c++.patch
        mysql-docs_make.patch
        mysql-fulltext-small.patch
        mysql-info-res.patch
        mysql-info.patch
        mysql-lang.patch
        mysql-libs.patch
        mysql-moreincludes.patch
        mysql-no_libnsl.patch
        mysql-noproc.patch
        mysql-opt.patch
        mysql.init
        mysql.logrotate
        mysql.spec
        mysql.sysconfig
        mysqld.conf

 mysql-c++.patch            |  24 --
 mysql-docs_make.patch      |  23 --
 mysql-fulltext-small.patch |  11 -
 mysql-info-res.patch       |  73 ------
 mysql-info.patch           |  16 --
 mysql-lang.patch           |  13 --
 mysql-libs.patch           |  14 --
 mysql-moreincludes.patch   |  17 --
 mysql-no_libnsl.patch      |  24 --
 mysql-noproc.patch         |  21 --
 mysql-opt.patch            |  26 ---
 mysql.init                 | 364 ------------------------------
 mysql.logrotate            |  43 ----
 mysql.spec                 | 541 ---------------------------------------------
 mysql.sysconfig            |   4 -
 mysqld.conf                | 131 -----------
 16 files changed, 1345 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
deleted file mode 100644
index d568e3c..0000000
--- a/mysql.spec
+++ /dev/null
@@ -1,541 +0,0 @@
-#
-# Conditional build:
-# _with_innodb	       - with InnoDB backend
-# _with_bdb	       - with Berkeley DB backend
-# _with_small_fulltext - with fulltext indexes lowered from 4 to 3 characters
-#
-#%%define	_with_innodb	1
-#%%define	_with_bdb	1
-#%%define	_with_small_fulltext	1
-#
-%include	/usr/lib/rpm/macros.perl
-Summary:	MySQL: a very fast and reliable SQL database engine
-Summary(fr):	MySQL: un serveur SQL rapide et fiable
-Summary(pl):	MySQL: bardzo szybka i niezawodna baza danych (SQL)
-Summary(pt_BR):	MySQL: Um servidor SQL r�pido e confi�vel
-Summary(ru):	MySQL - ������� SQL-������
-Summary(uk):	MySQL - ������� SQL-������
-Summary(zh_CN):	MySQL���ݿ������
-Name:		mysql
-Group:		Applications/Databases
-Version:	3.23.55
-Release:	2
-License:	GPL/LGPL
-#http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.54a.tar.gz shows mirrors list
-Source0:	ftp://gd.tuwien.ac.at/db/mysql/Downloads/MySQL-3.23/%{name}-%{version}.tar.gz
-Source1:	%{name}.init
-Source2:	%{name}.sysconfig
-Source3:	%{name}.logrotate
-Source4:	%{name}d.conf
-Patch0:		%{name}-info.patch
-Patch1:		%{name}-no_libnsl.patch
-Patch2:		%{name}-opt.patch
-Patch3:		%{name}-moreincludes.patch
-Patch4:		%{name}-info-res.patch
-Patch5:		%{name}-noproc.patch
-Patch6:		%{name}-fulltext-small.patch
-Patch7:		%{name}-c++.patch
-Patch8:		%{name}-lang.patch
-Icon:		mysql.gif
-URL:		http://www.mysql.com/
-Requires:	%{name}-libs = %{version}
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	gcc-c++
-BuildRequires:	libtool
-BuildRequires:	ncurses-devel >= 4.2
-BuildRequires:	perl-DBI
-BuildRequires:	perl-devel >= 5.6.1
-BuildRequires:	readline-devel >= 4.2
-BuildRequires:	rpm-perlprov
-BuildRequires:	texinfo
-BuildRequires:	zlib-devel
-PreReq:		rc-scripts >= 0.2.0
-Requires(pre):	/usr/bin/getgid
-Requires(pre):	/bin/id
-Requires(pre):	/usr/sbin/groupadd
-Requires(pre):	/usr/sbin/useradd
-Requires(post,preun):	/sbin/chkconfig
-Requires(postun):	/usr/sbin/userdel
-Requires(postun):	/usr/sbin/groupdel
-Provides:	MySQL-server
-Provides:	msqlormysql
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:	MySQL
-Obsoletes:	mysql-server
-
-%define		_libexecdir	%{_sbindir}
-%define		_localstatedir	/var/lib/mysql
-
-%define		_gcc_ver	%(%{__cc} -dumpversion | cut -b 1)
-%if %{_gcc_ver} == 2
-%define		__cxx		"%{__cc}"
-%endif
-
-%description
-MySQL is a true multi-user, multi-threaded SQL (Structured Query
-Language) database server. SQL is the most popular database language
-in the world. MySQL is a client/server implementation that consists of
-a server daemon mysqld and many different client programs/libraries.
-
-The main goals of MySQL are speed, robustness and easy to use. MySQL
-was originally developed because we at Tcx needed a SQL server that
-could handle very big databases with magnitude higher speed than what
-any database vendor could offer to us. We have now been using MySQL
-since 1996 in a environment with more than 40 databases, 10,000
-tables, of which more than 500 have more than 7 million rows. This is
-about 50G of mission critical data.
-
-The base upon which MySQL is built is a set of routines that have been
-used in a highly demanding production environment for many years.
-While MySQL is still in development, it already offers a rich and
-highly useful function set.
-
-%description -l fr
-MySQL est un serveur de bases de donnees SQL vraiment multi-usagers et
-multi-taches. Le langage SQL est le langage de bases de donnees le
-plus populaire au monde. MySQL est une implementation client/serveur
-qui consiste en un serveur (mysqld) et differents
-programmes/bibliotheques clientes.
-
-Les objectifs principaux de MySQL sont: vitesse, robustesse et
-facilite d'utilisation. MySQL fut originalement developpe parce que
-nous, chez Tcx, avions besoin d'un serveur SQL qui pouvait gerer de
-tres grandes bases de donnees avec une vitesse d'un ordre de magnitude
-superieur a ce que n'importe quel vendeur pouvait nous offrir. Nous
-utilisons MySQL depuis 1996 dans un environnement avec plus de 40
-bases de donnees, 10000 tables, desquelles plus de 500 ont plus de 7
-millions de lignes. Ceci represente environ 50G de donnees critiques.
-
-A la base de la conception de MySQL, on retrouve une serie de routines
-qui ont ete utilisees dans un environnement de production pendant
-plusieurs annees. Meme si MySQL est encore en developpement, il offre
-deja une riche et utile serie de fonctions.
-
-%description -l pl
-MySQL to wielow�tkowy serwer baz danych SQL.
-
-G��wne zalety MySQL to szybko��, pot�ga i �atwo�� u�ytkowania. MySQL
-jest wykorzystywany m.in. do obs�ugi 40 baz danych, 10 000 tabel,
-gdzie ka�da tabela zawiera 7 milion�w pozycji. To ok 50GB danych.
-
-%description -l pt_BR
-O MySQL � um servidor de banco de dados SQL realmente multiusu�rio e
-multi-tarefa. A linguagem SQL � a mais popular linguagem para banco de
-dados no mundo. O MySQL � uma implementa��o cliente/servidor que
-consiste de um servidor chamado mysqld e diversos
-programas/bibliotecas clientes. Os principais objetivos do MySQL s�o:
-velocidade, robustez e facilidade de uso. O MySQL foi originalmente
-desenvolvido porque n�s na Tcx precis�vamos de um servidor SQL que
-pudesse lidar com grandes bases de dados e com uma velocidade muito
-maior do que a que qualquer vendedor podia nos oferecer. Estamos
-usando o MySQL desde 1996 em um ambiente com mais de 40 bases de dados
-com 10.000 tabelas, das quais mais de 500 t�m mais de 7 milh�es de
-linhas. Isto � o equivalente a aproximadamente 50G de dados cr�ticos.
-A base da constru��o do MySQL � uma s�rie de rotinas que foram usadas
-em um ambiente de produ��o com alta demanda por muitos anos. Mesmo o
-MySQL estando ainda em desenvolvimento, ele j� oferece um conjunto de
-fun��es muito ricas e �teis. Veja a documenta��o para maiores
-informa��es.
-
-%description -l ru
-MySQL - ��� SQL (Structured Query Language) ������ ���� ������. MySQL
-���� �������� Michael'�� (monty) Widenius'��. ��. ���� CREDITS �
-������������ �� ������� ������ ���������� ������� � ������ ����������
-� MySQL.
-
-%description -l uk
-MySQL - �� SQL (Structured Query Language) ������ ���� �����. MySQL
-���� �������� Michael'�� (monty) Widenius'��. ���. ���� CREDITS �
-����������צ ��� �������æ� ��� ����� ������˦� ������� �� ���ϧ
-�������æ�.
-
-%package extras
-Summary:	MySQL additional utilities
-Summary(pl):	Dodatkowe narz�dzia do MySQL
-Group:		Applications/Databases
-Requires:	%{name}-libs = %{version}
-
-%description extras
-MySQL additional utilities except Perl scripts (they may be found in
-%{name}-extras-perl package).
-
-%description extras -l pl
-Dodatkowe narz�dzia do MySQL - z wyj�tkiem skrypt�w Perla (kt�re s� w
-pakiecie %{name}-extras-perl).
-
-%package extras-perl
-Summary:	MySQL additional utilities written in Perl
-Summary(pl):	Dodatkowe narz�dzia do MySQL napisane w Perlu
-Group:		Applications/Databases
-Requires:	%{name}-extras = %{version}
-Requires:	perl(DBD::mysql)
-
-%define		_noautoreqdep	"perl(DBD::mysql)"
-
-%description extras-perl
-MySQL additional utilities written in Perl.
-
-%description extras-perl -l pl
-Dodatkowe narz�dzia do MySQL napisane w Perlu.
-
-%package client
-Summary:	MySQL - Client
-Summary(pl):	MySQL - Klient
-Summary(pt):	MySQL - Cliente
-Summary(ru):	MySQL ������
-Summary(uk):	MySQL �̦���
-Group:		Applications/Databases
-Requires:	%{name}-libs = %{version}
-Obsoletes:	MySQL-client
-
-%description client
-This package contains the standard MySQL clients.
-
-%description client -l fr
-Ce package contient les clients MySQL standards.
-
-%description client -l pl
-Standardowe programy klienckie MySQL.
-
-%description client -l pt_BR
-Este pacote cont�m os clientes padr�o para o MySQL.
-
-%description client -l ru
-���� ����� �������� ������ ������ MySQL.
-
-%description client -l uk
-��� ����� ͦ����� Ԧ���� �̦���� MySQL.
-
-%package libs
-Summary:	Shared libraries for MySQL
-Summary(pl):	Biblioteki dzielone MySQL
-Group:		Applications/Databases
-Obsoletes:	libmysql10
-
-%description libs
-Shared libraries for MySQL.
-
-%description libs -l pl
-Biblioteki dzielone MySQL.
-
-%package devel
-Summary:	MySQL - Development header files and libraries
-Summary(pl):	MySQL - Pliki nag��wkowe i biblioteki dla programist�w
-Summary(pt):	MySQL - Medi��es de desempenho
-Summary(ru):	MySQL - ������ � ���������� ������������
-Summary(uk):	MySQL - ������ �� ¦�̦����� ������ͦ���
-Group:		Development/Libraries
-Requires:	%{name}-libs = %{version}
-Obsoletes:	MySQL-devel
-Obsoletes:	libmysql10-devel
-
-%description devel
-This package contains the development header files and libraries
-necessary to develop MySQL client applications.
-
-%description devel -l fr
-Ce package contient les fichiers entetes et les librairies de
-developpement necessaires pour developper des applications clientes
-MySQL.
-
-%description devel -l pl
-Pliki nag��wkowe i biblioteki konieczne do kompilacji aplikacji
-klienckich MySQL.
-
-%description devel -l pt_BR
-Este pacote cont�m os arquivos de cabe�alho (header files) e
-bibliotecas necess�rias para desenvolver aplica��es clientes do MySQL.
-
-%description devel -l ru
-���� ����� �������� ������ � ���������� ������������, ����������� ���
-���������� ���������� ����������.
-
-%description devel -l uk
-��� ����� ͦ����� ������ �� ¦�̦����� ������ͦ���, ����Ȧ�Φ ���
-�������� �������-�̦��Ԧ�.
-
-%package static
-Summary:	MySQL staic libraris
-Summary(pl):	Biblioteki statyczne MySQL
-Summary(ru):	MySQL - ����������� ����������
-Summary(uk):	MySQL - ������Φ ¦�̦�����
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}
-Obsoletes:	MySQL-static
-
-%description static
-MySQL static libraries.
-
-%description static -l pl
-Biblioteki statyczne MySQL.
-
-%description static -l ru
-���� ����� �������� ����������� ���������� ������������, �����������
-��� ���������� ���������� ����������.
-
-%description static -l uk
-��� ����� ͦ����� ������Φ ¦�̦����� ������ͦ���, ����Ȧ�Φ ���
-�������� �������-�̦��Ԧ�.
-
-%package bench
-Summary:	MySQL - Benchmarks
-Summary(pl):	MySQL - Programy testuj�ce szybko�� dzia�ania bazy
-Summary(pt):	MySQL - Medi��es de desempenho
-Summary(ru):	MySQL - ���������
-Summary(uk):	MySQL - ���������
-Group:		Applications/Databases
-Requires:	%{name} = %{version}
-Requires:	%{name}-client
-Obsoletes:	MySQL-bench
-
-%description bench
-This package contains MySQL benchmark scripts and data.
-
-%description bench -l pl
-Programy testuj�ce szybko�� serwera MySQL.
-
-%description bench -l pt_BR
-Este pacote cont�m medi��es de desempenho de scripts e dados do MySQL.
-
-%description bench -l ru
-���� ����� �������� ������� � ������ ��� ������ ������������������
-MySQL.
-
-%description bench -l uk
-��� ����� ͦ����� ������� �� ��Φ ��� �æ��� ������������Ԧ MySQL.
-
-%prep
-%setup -q -n %{name}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%{?_with_small_fulltext:%patch6 -p0}
-%if %{_gcc_ver} > 2
-%patch7 -p1
-%endif
-%patch8 -p1
-
-%build
-rm -f missing
-%{__libtoolize}
-%{__aclocal}
-%{__automake}
-%{__autoconf}
-CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fomit-frame-pointer"
-CFLAGS="%{rpmcflags} -fomit-frame-pointer"
-%configure \
-	-C \
-	%{!?debug:--without-debug} \
-	%{?_with_innodb:--with-innodb}  \
-	%{?_with_bdb:--with-berkeley-db} \
-	--without-debug \
-	--enable-shared \
-	--enable-static \
-	--enable-assembler \
-	--with-pthread \
-	--with-named-curses-libs="-lncurses" \
-	--enable-assembler \
-	--with-raid \
-	--with-extra-charsets=all \
-	--with-mysqld-user=mysql \
-	--with-unix-socket-path=/var/lib/mysql/mysql.sock \
-	--without-readline \
-	--without-docs \
-	--with-low-memory  \
-	--with-comment="PLD Linux Distribution MySQL RPM" \
-	--enable-thread-safe-client
-
-%{__make} benchdir=$RPM_BUILD_ROOT%{_datadir}/sql-bench
-%{__make} -C Docs mysql.info
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
-	   $RPM_BUILD_ROOT/var/{log/{archiv,}/mysql,lib/mysql/db} \
-	   $RPM_BUILD_ROOT%{_infodir} \
-	   $RPM_BUILD_ROOT/home/services/mysql
-
-%if %{?_with_innodb:1}%{!?_with_innodb:0}
-install -d $RPM_BUILD_ROOT/var/lib/mysql/innodb/{data,log}
-%endif
-
-%if %{?_with_bdb:1}%{!?_with_bdb:0}
-install -d $RPM_BUILD_ROOT/var/lib/mysql/bdb/{log,tmp}
-%endif
-
-# Make install
-%{__make} install DESTDIR=$RPM_BUILD_ROOT benchdir=%{_datadir}/sql-bench
-install Docs/mysql.info $RPM_BUILD_ROOT%{_infodir}
-
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysql
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/mysql
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/mysql
-install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/mysqld.conf
-touch $RPM_BUILD_ROOT/var/log/mysql/{err,log,update,isamlog}
-
-# remove mysqld's *.po files
-find . $RPM_BUILD_ROOT%{_datadir}/%{name} -name \*.txt | xargs -n 100 rm -f
-mv -f $RPM_BUILD_ROOT%{_libdir}/mysql/lib* $RPM_BUILD_ROOT%{_libdir}
-perl -pi -e 's,%{_libdir}/mysql,%{_libdir},;' $RPM_BUILD_ROOT%{_libdir}/libmysqlclient.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%pre
-if [ -n "`getgid mysql`" ]; then
-	if [ "`getgid mysql`" != "89" ]; then
-		echo "Error: group mysql doesn't have gid=89. Correct this before installing mysql." 1>&2
-		exit 1
-	fi
-else
-	/usr/sbin/groupadd -g 89 -r -f mysql
-fi
-if [ -n "`id -u mysql 2>/dev/null`" ]; then
-	if [ "`id -u mysql`" != "89" ]; then
-		echo "Error: user mysql doesn't have uid=89. Correct this before installing mysql." 1>&2
-		exit 1
-	fi
-else
-	/usr/sbin/useradd -M -o -r -u 89 \
-	                -d /home/services/mysql -s /bin/sh -g mysql \
-	                -c "MySQL Server" mysql 1>&2
-fi
-
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-/sbin/chkconfig --add mysql
-if [ -f /var/lock/subsys/mysql ]; then
-	/etc/rc.d/init.d/mysql restart >&2
-else
-	echo "Run \"/etc/rc.d/init.d/mysql start\" to start mysql." >&2
-fi
-
-%preun
-if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/mysql ]; then
-		/etc/rc.d/init.d/mysql stop
-	fi
-	/sbin/chkconfig --del mysql
-fi
-
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-if [ "$1" = "0" ]; then
-	/usr/sbin/userdel mysql
-	/usr/sbin/groupdel mysql
-fi
-
-%post   libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%files
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/logrotate.d/mysql
-%attr(754,root,root) /etc/rc.d/init.d/mysql
-%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/mysql
-%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/mysqld.conf
-%attr(755,root,root) %{_bindir}/isamchk
-%attr(755,root,root) %{_bindir}/isamlog
-%attr(755,root,root) %{_bindir}/myisamchk
-%attr(755,root,root) %{_bindir}/myisamlog
-%attr(755,root,root) %{_bindir}/myisampack
-%attr(755,root,root) %{_bindir}/pack_isam
-%attr(755,root,root) %{_sbindir}/mysqld
-%{_mandir}/man1/isamchk.1*
-%{_mandir}/man1/isamlog.1*
-%{_mandir}/man1/mysqld.1*
-
-%attr(700,mysql,mysql) /home/services/mysql
-%attr(751,mysql,mysql) /var/lib/mysql
-%attr(750,mysql,mysql) %dir /var/log/mysql
-%attr(750,mysql,mysql) %dir /var/log/archiv/mysql
-%attr(640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) /var/log/mysql/*
-
-%{_infodir}/mysql.info*
-%dir %{_datadir}/mysql
-%{_datadir}/mysql/charsets
-%{_datadir}/mysql/english
-%lang(cs) %{_datadir}/mysql/czech
-%lang(da) %{_datadir}/mysql/danish
-%lang(de) %{_datadir}/mysql/german
-%lang(el) %{_datadir}/mysql/greek
-%lang(es) %{_datadir}/mysql/spanish
-%lang(et) %{_datadir}/mysql/estonian
-%lang(fr) %{_datadir}/mysql/french
-%lang(hu) %{_datadir}/mysql/hungarian
-%lang(it) %{_datadir}/mysql/italian
-%lang(ja) %{_datadir}/mysql/japanese
-%lang(ko) %{_datadir}/mysql/korean
-%lang(nl) %{_datadir}/mysql/dutch
-%lang(nn) %{_datadir}/mysql/norwegian-ny
-%lang(no) %{_datadir}/mysql/norwegian
-%lang(pl) %{_datadir}/mysql/polish
-%lang(pt) %{_datadir}/mysql/portuguese
-%lang(ro) %{_datadir}/mysql/romanian
-%lang(ru) %{_datadir}/mysql/russian
-%lang(sk) %{_datadir}/mysql/slovak
-%lang(sv) %{_datadir}/mysql/swedish
-%lang(uk) %{_datadir}/mysql/ukrainian
-
-%files extras
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/msql2mysql
-%attr(755,root,root) %{_bindir}/mysql_config
-%attr(755,root,root) %{_bindir}/mysql_fix_privilege_tables
-%attr(755,root,root) %{_bindir}/perror
-%attr(755,root,root) %{_bindir}/my_print_defaults
-%attr(755,root,root) %{_bindir}/replace
-%attr(755,root,root) %{_bindir}/resolveip
-%{_mandir}/man1/perror.1*
-%{_mandir}/man1/replace.1*
-
-%files extras-perl
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/mysql_convert_table_format
-%attr(755,root,root) %{_bindir}/mysqldumpslow
-%attr(755,root,root) %{_bindir}/mysqlhotcopy
-%attr(755,root,root) %{_bindir}/mysql_setpermission
-%attr(755,root,root) %{_bindir}/mysql_zap
-%attr(755,root,root) %{_bindir}/mysql_find_rows
-%attr(755,root,root) %{_bindir}/mysqlaccess
-%{_mandir}/man1/mysql_zap.1*
-%{_mandir}/man1/mysqlaccess.1*
-
-%files client
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/mysql
-%attr(755,root,root) %{_bindir}/mysqldump
-%attr(755,root,root) %{_bindir}/mysqlimport
-%attr(755,root,root) %{_bindir}/mysqlshow
-%attr(755,root,root) %{_bindir}/mysqlbinlog
-%attr(755,root,root) %{_bindir}/mysqladmin
-%{_mandir}/man1/mysql.1*
-%{_mandir}/man1/mysqladmin.1*
-%{_mandir}/man1/mysqldump.1*
-%{_mandir}/man1/mysqlshow.1*
-
-%files libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%attr(755,root,root) %{_bindir}/mysqlbug
-
-%files devel
-%defattr(644,root,root,755)
-%{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*[^tr].a
-%{_includedir}/mysql
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/lib*[tr].a
-
-%files bench
-%defattr(644,root,root,755)
-%dir %{_datadir}/sql-bench
-%{_datadir}/sql-bench/[CDRl]*
-%attr(755,root,root) %{_datadir}/sql-bench/[bcgrst]*
diff --git a/mysql-c++.patch b/mysql-c++.patch
deleted file mode 100644
index 462aa1d..0000000
--- a/mysql-c++.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nru mysql-3.23.54a.orig/isam/Makefile.am mysql-3.23.54a/isam/Makefile.am
---- mysql-3.23.54a.orig/isam/Makefile.am	Thu Dec  5 10:37:06 2002
-+++ mysql-3.23.54a/isam/Makefile.am	Fri Jan 17 14:42:23 2003
-@@ -16,7 +16,7 @@
- 
- INCLUDES =		@MT_INCLUDES@ -I$(srcdir)/../include -I../include 
- LDADD =			@CLIENT_EXTRA_LDFLAGS@ libnisam.a ../mysys/libmysys.a \
--			../dbug/libdbug.a ../strings/libmystrings.a
-+			../dbug/libdbug.a ../strings/libmystrings.a -lstdc++
- pkglib_LIBRARIES =	libnisam.a
- bin_PROGRAMS =		isamchk isamlog pack_isam
- isamchk_DEPENDENCIES=	$(LIBRARIES)
-diff -Nru mysql-3.23.54a.orig/myisam/Makefile.am mysql-3.23.54a/myisam/Makefile.am
---- mysql-3.23.54a.orig/myisam/Makefile.am	Thu Dec  5 10:37:04 2002
-+++ mysql-3.23.54a/myisam/Makefile.am	Fri Jan 17 14:42:41 2003
-@@ -19,7 +19,7 @@
- 
- INCLUDES =		@MT_INCLUDES@ -I$(srcdir)/../include -I../include 
- LDADD =			@CLIENT_EXTRA_LDFLAGS@ libmyisam.a ../mysys/libmysys.a \
--			../dbug/libdbug.a ../strings/libmystrings.a
-+			../dbug/libdbug.a ../strings/libmystrings.a -lstdc++
- pkglib_LIBRARIES =	libmyisam.a
- bin_PROGRAMS =		myisamchk myisamlog myisampack
- myisamchk_DEPENDENCIES=	$(LIBRARIES)
diff --git a/mysql-docs_make.patch b/mysql-docs_make.patch
deleted file mode 100644
index fc0d224..0000000
--- a/mysql-docs_make.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Naur mysql-3.23.25-beta/Docs/Makefile.am mysql-3.23.25-beta-p/Docs/Makefile.am
---- mysql-3.23.25-beta/Docs/Makefile.am	Wed Sep 27 10:51:44 2000
-+++ mysql-3.23.25-beta-p/Docs/Makefile.am	Thu Oct 12 21:40:23 2000
-@@ -18,7 +18,7 @@
- 			Support/generate-mirror-listing.pl
- info_TEXINFOS =		manual.texi
- 
--targets =		manual.txt mysql.info manual.html manual.pdf
-+targets =		mysql.info manual.html
- 
- BUILT_SOURCES =		$(targets) manual_toc.html include.texi
- EXTRA_DIST =		$(noinst_SCRIPTS) $(BUILT_SOURCES) mysqld_error.txt INSTALL-BINARY
---- mysql-3.23.25-beta/Docs/Makefile.in	Wed Sep 27 11:02:20 2000
-+++ mysql-3.23.25-beta-p/Docs/Makefile.in	Thu Oct 12 22:03:10 2000
-@@ -168,7 +168,7 @@
- 
- info_TEXINFOS = manual.texi
- 
--targets = manual.txt mysql.info manual.html manual.pdf
-+targets = manual.txt mysql.info manual.html
- 
- BUILT_SOURCES = $(targets) manual_toc.html include.texi
- EXTRA_DIST = $(noinst_SCRIPTS) $(BUILT_SOURCES) mysqld_error.txt INSTALL-BINARY
diff --git a/mysql-fulltext-small.patch b/mysql-fulltext-small.patch
deleted file mode 100644
index 8a4a176..0000000
--- a/mysql-fulltext-small.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- myisam/ftdefs.h	Fri Jan 10 23:39:49 2003
-+++ myisam/ftdefs.h.tjbnym	Fri Jan 10 23:39:39 2003
-@@ -22,7 +22,7 @@
- #include <m_ctype.h>
- #include <my_tree.h>
- 
--#define MIN_WORD_LEN 4
-+#define MIN_WORD_LEN 3
- 
- #define HYPHEN_IS_DELIM
- #define HYPHEN_IS_CONCAT     /* not used for now */
diff --git a/mysql-info-res.patch b/mysql-info-res.patch
deleted file mode 100644
index e2a551a..0000000
--- a/mysql-info-res.patch
+++ /dev/null
@@ -1,73 +0,0 @@
---- mysql-3.23.54a/Docs/manual.texi.orig	Mon Dec 16 12:40:58 2002
-+++ mysql-3.23.54a/Docs/manual.texi	Mon Dec 16 15:04:14 2002
-@@ -29177,7 +29177,69 @@
- A few are reserved because MySQL needs them and is
- (currently) using a @code{yacc} parser:
- 
-- at include reservedwords.texi
-+ at multitable @columnfractions .33 .33 .33
-+ at item @strong{Word} @tab @strong{Word} @tab @strong{Word}
-+ at item @code{ADD} @tab @code{ALL} @tab @code{ALTER}
-+ at item @code{ANALYZE} @tab @code{AND} @tab @code{AS}
-+ at item @code{ASC} @tab @code{AUTO_INCREMENT} @tab @code{BDB}
-+ at item @code{BERKELEYDB} @tab @code{BETWEEN} @tab @code{BIGINT}
-+ at item @code{BINARY} @tab @code{BLOB} @tab @code{BOTH}
-+ at item @code{BTREE} @tab @code{BY} @tab @code{CASCADE}
-+ at item @code{CASE} @tab @code{CHANGE} @tab @code{CHAR}
-+ at item @code{CHARACTER} @tab @code{COLLATE} @tab @code{COLUMN}
-+ at item @code{COLUMNS} @tab @code{CONSTRAINT} @tab @code{CREATE}
-+ at item @code{CROSS} @tab @code{CURRENT_DATE} @tab @code{CURRENT_TIME}
-+ at item @code{CURRENT_TIMESTAMP} @tab @code{DATABASE} @tab @code{DATABASES}
-+ at item @code{DAY_HOUR} @tab @code{DAY_MINUTE} @tab @code{DAY_SECOND}
-+ at item @code{DEC} @tab @code{DECIMAL} @tab @code{DEFAULT}
-+ at item @code{DELAYED} @tab @code{DELETE} @tab @code{DESC}
-+ at item @code{DESCRIBE} @tab @code{DISTINCT} @tab @code{DISTINCTROW}
-+ at item @code{DOUBLE} @tab @code{DROP} @tab @code{ELSE}
-+ at item @code{ENCLOSED} @tab @code{ERRORS} @tab @code{ESCAPED}
-+ at item @code{EXISTS} @tab @code{EXPLAIN} @tab @code{FIELDS}
-+ at item @code{FLOAT} @tab @code{FOR} @tab @code{FOREIGN}
-+ at item @code{FROM} @tab @code{FULLTEXT} @tab @code{FUNCTION}
-+ at item @code{GEOMETRY} @tab @code{GRANT} @tab @code{GROUP}
-+ at item @code{HASH} @tab @code{HAVING} @tab @code{HELP}
-+ at item @code{HIGH_PRIORITY} @tab @code{HOUR_MINUTE} @tab @code{HOUR_SECOND}
-+ at item @code{IF} @tab @code{IGNORE} @tab @code{IN}
-+ at item @code{INDEX} @tab @code{INFILE} @tab @code{INNER}
-+ at item @code{INNODB} @tab @code{INSERT} @tab @code{INT}
-+ at item @code{INTEGER} @tab @code{INTERVAL} @tab @code{INTO}
-+ at item @code{IS} @tab @code{JOIN} @tab @code{KEY}
-+ at item @code{KEYS} @tab @code{KILL} @tab @code{LEADING}
-+ at item @code{LEFT} @tab @code{LIKE} @tab @code{LIMIT}
-+ at item @code{LINES} @tab @code{LOAD} @tab @code{LOCK}
-+ at item @code{LONG} @tab @code{LONGBLOB} @tab @code{LONGTEXT}
-+ at item @code{LOW_PRIORITY} @tab @code{MASTER_SERVER_ID} @tab @code{MATCH}
-+ at item @code{MEDIUMBLOB} @tab @code{MEDIUMINT} @tab @code{MEDIUMTEXT}
-+ at item @code{MIDDLEINT} @tab @code{MINUTE_SECOND} @tab @code{MRG_MYISAM}
-+ at item @code{NATURAL} @tab @code{NOT} @tab @code{NULL}
-+ at item @code{NUMERIC} @tab @code{ON} @tab @code{OPTIMIZE}
-+ at item @code{OPTION} @tab @code{OPTIONALLY} @tab @code{OR}
-+ at item @code{ORDER} @tab @code{OUTER} @tab @code{OUTFILE}
-+ at item @code{PRECISION} @tab @code{PRIMARY} @tab @code{PRIVILEGES}
-+ at item @code{PROCEDURE} @tab @code{PURGE} @tab @code{READ}
-+ at item @code{REAL} @tab @code{REFERENCES} @tab @code{REGEXP}
-+ at item @code{RENAME} @tab @code{REPLACE} @tab @code{REQUIRE}
-+ at item @code{RESTRICT} @tab @code{RETURNS} @tab @code{REVOKE}
-+ at item @code{RIGHT} @tab @code{RLIKE} @tab @code{RTREE}
-+ at item @code{SELECT} @tab @code{SET} @tab @code{SHOW}
-+ at item @code{SMALLINT} @tab @code{SONAME} @tab @code{SPATIAL}
-+ at item @code{SQL_BIG_RESULT} @tab @code{SQL_CALC_FOUND_ROWS} @tab @code{SQL_SMALL_RESULT}
-+ at item @code{SSL} @tab @code{STARTING} @tab @code{STRAIGHT_JOIN}
-+ at item @code{STRIPED} @tab @code{TABLE} @tab @code{TABLES}
-+ at item @code{TERMINATED} @tab @code{THEN} @tab @code{TINYBLOB}
-+ at item @code{TINYINT} @tab @code{TINYTEXT} @tab @code{TO}
-+ at item @code{TRAILING} @tab @code{TYPES} @tab @code{UNION}
-+ at item @code{UNIQUE} @tab @code{UNLOCK} @tab @code{UNSIGNED}
-+ at item @code{UPDATE} @tab @code{USAGE} @tab @code{USE}
-+ at item @code{USER_RESOURCES} @tab @code{USING} @tab @code{VALUES}
-+ at item @code{VARBINARY} @tab @code{VARCHAR} @tab @code{VARYING}
-+ at item @code{WARNINGS} @tab @code{WHEN} @tab @code{WHERE}
-+ at item @code{WITH} @tab @code{WRITE} @tab @code{XOR}
-+ at item @code{YEAR_MONTH} @tab @code{ZEROFILL}
-+ at end multitable
- 
- The following symbols (from the table above) are disallowed by ANSI SQL
- but allowed by MySQL as column/table names. This is because some
diff --git a/mysql-info.patch b/mysql-info.patch
deleted file mode 100644
index ec23eb1..0000000
--- a/mysql-info.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- mysql-3.23.42/Docs/manual.texi.orig	Sat Sep  8 21:08:16 2001
-+++ mysql-3.23.42/Docs/manual.texi	Mon Sep 10 11:10:41 2001
-@@ -56,9 +56,10 @@
- 
- @ifinfo
- @format
--START-INFO-DIR-ENTRY
--* mysql: (mysql).               MySQL documentation.
--END-INFO-DIR-ENTRY
-+ at dircategory Data bases:
-+ at direntry
-+* mysql: (mysql).			MySQL documentation
-+ at end direntry
- @end format
- @end ifinfo
- 
diff --git a/mysql-lang.patch b/mysql-lang.patch
deleted file mode 100644
index fdb4932..0000000
--- a/mysql-lang.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urN mysql-3.23.55.org/sql/share/polish/errmsg.txt mysql-3.23.55/sql/share/polish/errmsg.txt
---- mysql-3.23.55.org/sql/share/polish/errmsg.txt	Wed Feb 12 00:40:17 2003
-+++ mysql-3.23.55/sql/share/polish/errmsg.txt	Wed Feb 12 00:40:46 2003
-@@ -7,8 +7,8 @@
- 
- "hashchk",
- "isamchk",
--"TAK",
- "NIE",
-+"TAK",
- "Nie mo�na stworzy� pliku '%-.64s' (Kod b��du: %d)",
- "Nie mo�na stworzy� tabeli '%-.64s' (Kod b��du: %d)",
- "Nie mo�na stworzy� bazy danych '%-.64s'. B�?d %d",
diff --git a/mysql-libs.patch b/mysql-libs.patch
deleted file mode 100644
index 0c0511d..0000000
--- a/mysql-libs.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urN mysql-4.0.9-gamma.org/acinclude.m4 mysql-4.0.9-gamma/acinclude.m4
---- mysql-4.0.9-gamma.org/acinclude.m4	Mon Feb  3 23:34:15 2003
-+++ mysql-4.0.9-gamma/acinclude.m4	Tue Feb  4 00:11:55 2003
-@@ -715,6 +715,9 @@
-   if test -f $d/libssl.a ; then
-     OPENSSL_LIB=$d
-   fi
-+  if test -f $d/libssl.so ; then
-+    OPENSSL_LIB=$d
-+  fi
-  done
- 
-  if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INCLUDE" ; then
-
diff --git a/mysql-moreincludes.patch b/mysql-moreincludes.patch
deleted file mode 100644
index 30fe3bd..0000000
--- a/mysql-moreincludes.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- mysql-3.23.52/include/Makefile.am.orig	Wed Aug 14 00:08:16 2002
-+++ mysql-3.23.52/include/Makefile.am	Sat Aug 17 09:09:22 2002
-@@ -20,12 +20,13 @@
- 			mysqld_error.h my_list.h \
- 			my_pthread.h my_no_pthread.h raid.h errmsg.h \
- 			my_global.h my_net.h \
-+			my_dir.h \
- 			sslopt-case.h sslopt-longopts.h sslopt-usage.h \
- 			sslopt-vars.h $(BUILT_SOURCES)
- noinst_HEADERS =	global.h config-win.h config-os2.h\
- 			nisam.h heap.h merge.h my_bitmap.h\
- 			myisam.h myisampack.h myisammrg.h ft_global.h\
--			my_dir.h mysys_err.h my_base.h \
-+			mysys_err.h my_base.h \
- 			my_nosys.h my_alarm.h queues.h \
- 			my_tree.h hash.h thr_alarm.h thr_lock.h \
- 			getopt.h t_ctype.h violite.h \
diff --git a/mysql-no_libnsl.patch b/mysql-no_libnsl.patch
deleted file mode 100644
index 4849222..0000000
--- a/mysql-no_libnsl.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- mysql-3.23.51/configure.in.orig	Mon Jun  3 12:39:03 2002
-+++ mysql-3.23.51/configure.in	Thu Jun 13 09:41:57 2002
-@@ -675,16 +675,14 @@
- 
- AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
- 
--AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
--  AC_CHECK_LIB(nsl, gethostbyname_r))
--AC_CHECK_FUNC(gethostbyname_r)
-+AC_CHECK_FUNC(gethostbyname_r, [],
-+	[AC_CHECK_LIB(nsl_r, gethostbyname_r,
-+		[AC_CHECK_LIB(nsl, gethostbyname_r)]
-+	)]
-+)
- 
- AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
--AC_CHECK_FUNC(yp_get_default_domain, ,
--  AC_CHECK_LIB(nsl, yp_get_default_domain))
- AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
--# This may get things to compile even if bind-8 is installed
--AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
- # For crypt() on Linux
- AC_CHECK_LIB(crypt, crypt)
- AC_CHECK_FUNC(crypt, AC_DEFINE(HAVE_CRYPT)) 
diff --git a/mysql-noproc.patch b/mysql-noproc.patch
deleted file mode 100644
index a84c042..0000000
--- a/mysql-noproc.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- mysql-3.23.49/configure.in.orig	Sun May 19 11:05:42 2002
-+++ mysql-3.23.49/configure.in	Sun May 19 11:05:56 2002
-@@ -362,7 +362,7 @@
- AC_SUBST(PERL)
- AC_SUBST(PERL5)
- 
--# Lock for PS
-+# Look for PS
- AC_PATH_PROG(PS, ps, ps)
- AC_MSG_CHECKING("how to check if pid exists")
- PS=$ac_cv_path_PS
-@@ -394,6 +394,9 @@
-     *cygwin*)
-       FIND_PROC="$PS -e | grep mysqld | grep \" \$\$PID \" > /dev/null"
-       ;;
-+    *linux*)
-+      FIND_PROC="$PS -p \$\$PID \" > /dev/null"
-+      ;;
-     *)
-       AC_MSG_ERROR([Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual.])
-   esac
diff --git a/mysql-opt.patch b/mysql-opt.patch
deleted file mode 100644
index d4e196a..0000000
--- a/mysql-opt.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- mysql-3.23.56/configure.in.orig	Sat Feb 10 02:57:16 2001
-+++ mysql-3.23.56/configure.in	Sat Feb 10 03:21:04 2001
-@@ -1252,17 +1252,17 @@
- if test "$with_debug" = "yes"
- then
-   # Medium debug.
--  CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC -DDBUG_ON -DSAFE_MUTEX $CFLAGS"
--  CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX -DSAFE_MUTEX $CXXFLAGS"
-+  CFLAGS="-DDBUG_ON -DSAFE_MUTEX $CFLAGS"
-+  CXXFLAGS="-DSAFE_MUTEX $CXXFLAGS"
- elif test "$with_debug" = "full"
- then
-   # Full debug. Very slow in some cases
--  CFLAGS="$DEBUG_CFLAGS -DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC $CFLAGS"
--  CXXFLAGS="$DEBUG_CXXFLAGS -DSAFE_MUTEX -DSAFEMALLOC $CXXFLAGS"
-+  CFLAGS="-DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC $CFLAGS"
-+  CXXFLAGS="-DSAFE_MUTEX -DSAFEMALLOC $CXXFLAGS"
- else
-   # Optimized version. No debug
--  CFLAGS="$OPTIMIZE_CFLAGS -DDBUG_OFF $CFLAGS"
--  CXXFLAGS="$OPTIMIZE_CXXFLAGS -DDBUG_OFF $CXXFLAGS"
-+  CFLAGS="-DDBUG_OFF $CFLAGS"
-+  CXXFLAGS="-DDBUG_OFF $CXXFLAGS"
- fi
- 
- # Force static compilation to avoid linking probles/get more speed
diff --git a/mysql.init b/mysql.init
deleted file mode 100644
index e282640..0000000
--- a/mysql.init
+++ /dev/null
@@ -1,364 +0,0 @@
-#!/bin/sh
-#
-# mysql		A very fast and reliable SQL database engine
-#
-# chkconfig:	2345 84 25
-#
-# description:	A very fast and reliable SQL database engine.
-#
-# pidfile:	/var/lib/mysql/mysqld.pid
-
-# Source function library
-. /etc/rc.d/init.d/functions
-
-# Get network config
-. /etc/sysconfig/network
-
-# Check that networking is up.
-if is_no "${NETWORKING}"; then
-	msg_network_down MySQL
-	exit 1
-fi
-
-MYSQLD_ERRLOG=/var/log/mysql/err
-MYSQLD_CONFIG=/etc/mysqld.conf 
-
-# Get service config
-if [ -f /etc/sysconfig/mysql ] ; then
-	. /etc/sysconfig/mysql
-fi
-
-# Daemon don't dies if config doesn't exists
-if [ ! -f $MYSQLD_CONFIG ]; then 
-    echo "MySQL config $MYSQLD_CONFIG not exists"
-    exit 1
-fi
-
-if [ ! -f $MYSQLD_CONFIG ]; then 
-    echo "MySQL config $MYSQLD_CONFIG not exists"
-    exit 1
-fi
-
-eval `awk '
-/^[ \t]*\[.*\][ \t]*$/ {
-	match($0,/\[.*\]/)
-	section=substr($0,RSTART+1,RSTART+RLENGTH-3)
-}
-section=="mysqld" && $2~"=" {
-	if ($1=="datadir") {
-		printf("MYSQL_DATA_DIR=%s;", $3)
-	} else if ($1=="user") {
-		printf("MYSQL_USER=%s;", $3)
-	} else if ($1=="pid-file") {
-		printf("MYSQL_PIDFILE=%s;", $3)
-	}
-}
-END {
-	print "export MYSQL_DATA_DIR MYSQL_USER MYSQL_PIDFILE"
-}
-' /etc/mysqld.conf`
-
-if [ -z $MYSQL_DATA_DIR ]; then 
-    echo "MySQL datadir $MYSQL_DATA_DIR not configured propely!"
-    echo "Edit $MYSQLD_CONFIG and configure it."
-    exit 1
-fi
-
-if [ -z $MYSQL_USER ]; then 
-    echo "MySQL user not configured propely!"
-    echo "Edit $MYSQLD_CONFIG and configure it."
-    exit 1
-fi
-
-
-case "$1" in
-    start)
-	if [ ! -d "$MYSQL_DATA_DIR/mysql" ]; then
-		echo "MySQL database not initialized. Try \"$0 init\" before start."
-		exit 1
-	fi
-
-	# Check if the service is already running?		
-	if [ -f /var/lock/subsys/mysql ]; then
-		msg_already_running MySQL
-	else 	
-		msg_starting MySQL
-		busy
-		
-		if [ ! -f $MYSQLD_ERRLOG ]; then 
-		    touch $MYSQLD_ERRLOG
-		fi
-		chown mysql.mysql $MYSQLD_ERRLOG
-		chmod 640 $MYSQLD_ERRLOG
-
-		[ -z "$DEFAULT_SERVICE_RUN_NICE_LEVEL" ] && DEFAULT_SERVICE_RUN_NICE_LEVEL=0
-		TMPDIR=/tmp nice -n ${SERVICE_RUN_NICE_LEVEL:-$DEFAULT_SERVICE_RUN_NICE_LEVEL} /usr/sbin/mysqld --defaults-file=$MYSQLD_CONFIG >>$MYSQLD_ERRLOG 2>&1 &
-		sleep 1
-		deltext
-		if ps -C mysqld >/dev/null 2>&1; then
-	                RETVAL=0
-			ok
-		else
-			RETVAL=1
-			fail
-		fi
-		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/mysql
-	fi
-	;;
-  stop)
-        if [ -f /var/lock/subsys/mysql ]; then
-                msg_stopping MySQL
-                killproc mysqld
-		sleep 1
-                rm -f /var/lock/subsys/mysql $MYSQLD_PIDFILE >/dev/null 2>&1
-        else
-                msg_not_running MySQL
-                exit 1
-        fi
-	;;
-  status)
-	status mysqld
-	exit $?
-	;;
-  restart|reload)
-	$0 stop
-	$0 start
-	;;
-  init)
-	# Check if not exist init database
-	if [ -d "$MYSQL_DATA_DIR/mysql" ]; then
-	    echo "Seems that database is initialized now. Remove by hand $MYSQL_DATA_DIR/mysql"
-	    echo "before initialize database."
-	    exit 1;
-	fi
-
-	show "Creating privilege mysql tables"
-	busy
-	TMP=/tmp TMPDIR=/tmp 
-	
-	# Install this too in the user table
-	hostname="`hostname --fqdn | tr -d '[:space:]'`"
-		
-	# Check if hostname is valid
-	if [ -z "$hostname" ]; then
-		deltext
-      		fail
-		echo "Sorry, the host name is not configured."
-		echo "Please configure the 'hostname' command to return a hostname."
-		exit 1
-        elif ! hostname -i >/dev/null 2>&1; then 
-    		deltext
-      		fail
-      		echo "Sorry, the host '$hostname' could not be looked up."
-      		echo "Please configure the 'hostname' command to return a correct hostname."
-     		exit 1
-	fi
-
-	# Initialize variables
-	c_d="" i_d=""
-	c_h="" i_h=""
-	c_u="" i_u=""
-	c_f="" i_f=""
-	c_t="" c_c=""
-	
-	# Check for old tables
-	if test ! -f $mdata/db.frm
-	then
-	  # mysqld --bootstrap wants one command/line
-	  c_d="$c_d CREATE TABLE db ("
-	  c_d="$c_d   Host char(60) DEFAULT '' NOT NULL,"
-	  c_d="$c_d   Db char(64) DEFAULT '' NOT NULL,"
-	  c_d="$c_d   User char(16) DEFAULT '' NOT NULL,"
-	  c_d="$c_d   Select_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Insert_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Update_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Delete_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Create_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Drop_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Grant_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   References_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Index_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d   Alter_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_d="$c_d PRIMARY KEY Host (Host,Db,User),"
-	  c_d="$c_d KEY User (User)"
-	  c_d="$c_d )"
-	  c_d="$c_d comment='Database privileges';"
-	  
-	  i_d="INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
-	  INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y');"
-	fi
-	
-	if test ! -f $mdata/host.frm
-	then
-	  c_h="$c_h CREATE TABLE host ("
-	  c_h="$c_h  Host char(60) DEFAULT '' NOT NULL,"
-	  c_h="$c_h  Db char(64) DEFAULT '' NOT NULL,"
-	  c_h="$c_h  Select_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Insert_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Update_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Delete_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Create_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Drop_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Grant_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  References_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Index_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  Alter_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_h="$c_h  PRIMARY KEY Host (Host,Db)"
-	  c_h="$c_h )"
-	  c_h="$c_h comment='Host privileges;  Merged with database privileges';"
-	fi
-	
-	if test ! -f $mdata/user.frm
-	then
-	  c_u="$c_u CREATE TABLE user ("
-	  c_u="$c_u   Host char(60) DEFAULT '' NOT NULL,"
-	  c_u="$c_u   User char(16) DEFAULT '' NOT NULL,"
-	  c_u="$c_u   Password char(16) DEFAULT '' NOT NULL,"
-	  c_u="$c_u   Select_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Insert_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Update_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Delete_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Create_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Drop_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Reload_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Shutdown_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Process_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   File_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Grant_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   References_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Index_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   Alter_priv enum('N','Y') DEFAULT 'N' NOT NULL,"
-	  c_u="$c_u   PRIMARY KEY Host (Host,User)"
-	  c_u="$c_u )"
-	  c_u="$c_u comment='Users and global privileges';"
-	
-	  i_u="INSERT INTO user VALUES ('localhost','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
-	  INSERT INTO user VALUES ('$hostname','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
-	  
-	  REPLACE INTO user VALUES ('localhost','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
-	  REPLACE INTO user VALUES ('$hostname','mysql','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
-	  
-	  INSERT INTO user VALUES ('localhost','mysql_logrotate','','N','N','N','N','N','N','Y','N','N','N','N','N','N','N');"
-	fi
-	
-	if test ! -f $mdata/func.frm
-	then
-	  c_f="$c_f CREATE TABLE func ("
-	  c_f="$c_f   name char(64) DEFAULT '' NOT NULL,"
-	  c_f="$c_f   ret tinyint(1) DEFAULT '0' NOT NULL,"
-	  c_f="$c_f   dl char(128) DEFAULT '' NOT NULL,"
-	  c_f="$c_f   type enum ('function','aggregate') NOT NULL,"
-	  c_f="$c_f   PRIMARY KEY (name)"
-	  c_f="$c_f )"
-	  c_f="$c_f   comment='User defined functions';"
-	fi
-	
-	if test ! -f $mdata/tables_priv.frm
-	then
-	  c_t="$c_t CREATE TABLE tables_priv ("
-	  c_t="$c_t   Host char(60) DEFAULT '' NOT NULL,"
-	  c_t="$c_t   Db char(64) DEFAULT '' NOT NULL,"
-	  c_t="$c_t   User char(16) DEFAULT '' NOT NULL,"
-	  c_t="$c_t   Table_name char(60) DEFAULT '' NOT NULL,"
-	  c_t="$c_t   Grantor char(77) DEFAULT '' NOT NULL,"
-	  c_t="$c_t   Timestamp timestamp(14),"
-	  c_t="$c_t   Table_priv set('Select','Insert','Update','Delete','Create','Drop','Grant','References','Index','Alter') DEFAULT '' NOT NULL,"
-	  c_t="$c_t   Column_priv set('Select','Insert','Update','References') DEFAULT '' NOT NULL,"
-	  c_t="$c_t   PRIMARY KEY (Host,Db,User,Table_name),"
-	  c_t="$c_t   KEY Grantor (Grantor)"
-	  c_t="$c_t )"
-	  c_t="$c_t   comment='Table privileges';"
-	fi
-	
-	if test ! -f $mdata/columns_priv.frm
-	then
-	  c_c="$c_c CREATE TABLE columns_priv ("
-	  c_c="$c_c   Host char(60) DEFAULT '' NOT NULL,"
-	  c_c="$c_c   Db char(60) DEFAULT '' NOT NULL,"
-	  c_c="$c_c   User char(16) DEFAULT '' NOT NULL,"
-	  c_c="$c_c   Table_name char(60) DEFAULT '' NOT NULL,"
-	  c_c="$c_c   Column_name char(60) DEFAULT '' NOT NULL,"
-	  c_c="$c_c   Timestamp timestamp(14),"
-	  c_c="$c_c   Column_priv set('Select','Insert','Update','References') DEFAULT '' NOT NULL,"
-	  c_c="$c_c   PRIMARY KEY (Host,Db,User,Table_name,Column_name)"
-	  c_c="$c_c )"
-	  c_c="$c_c   comment='Column privileges';"
-	fi
-
-	if /usr/sbin/mysqld --bootstrap --skip-grant-tables \
-	    --datadir=$MYSQL_DATA_DIR --user=$MYSQL_USER << END_OF_DATA
-CREATE DATABASE mysql;
-use mysql;
-$c_d
-$i_d
-
-$c_h
-$i_h
-
-$c_u
-$i_u
-
-$c_f
-$i_f
-
-$c_t
-$c_c
-END_OF_DATA
-	then 
-	    deltext
-	    ok
-	    cat << END_OF_MSG
-
-PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL USERS!
-This is done with:
-
-/usr/bin/mysqladmin -u mysql password 'password'
-/usr/bin/mysqladmin -h $hostname -u mysql password 'password'
-/usr/bin/mysqladmin -u mysql_logrotate password 'password'
-
-NOTE: mysql_logrotate password should be placed to /etc/mysqld.conf in
-mysqladmin section. See the manual for more instructions.
-
-END_OF_MSG
-      else  
-	    deltext
-	    fail
-	    cat << END_OF_MSG
-Installation of grant tables FAILED!
-
-Examine the logs in $MYSQL_DATA_DIR for more information.  You can
-also try to start the mysqld demon with:
-
-/usr/sbin/mysqld --skip-grant &
-
-You can use the command line tool /usr/bin/mysql to connect to the mysql
-database and look at the grant tables:
-
-shell> /usr/bin/mysql -u mysql mysql
-mysql> show tables
-
-Try 'mysqld --help' if you have problems with paths. Setting on
-logging in /etc/mysqld.conf gives you a log in /var/log/mysql/log that
-may be helpful. The latest information about MySQL is available on the
-web at <http://www.mysql.com>.
-
-Please check PLD ftp site for newer versions of this package.
-
-Please consult the MySQL manual section: 'Problems running
-mysql_install_db', and the manual section that describes problems on
-your OS.  Another information source is the MySQL email archive.
-Please check all of the above before mailing us!  And if you do mail
-us, you MUST use the /usr/bin/mysqlbug script!  
-
-END_OF_MSG
-
-	exit 1 
-	fi
-	;;
-  *)
-	msg_usage "$0 {start|stop|status|restart|reload|init}"
-	exit 1
-	;;
-esac
-
-exit $RETVAL
diff --git a/mysql.logrotate b/mysql.logrotate
deleted file mode 100644
index d953b89..0000000
--- a/mysql.logrotate
+++ /dev/null
@@ -1,43 +0,0 @@
-/var/log/mysql/err {
-	olddir /var/log/archiv/mysql
-        notifempty
-	create 640 mysql mysql
-        prerotate
-        	/usr/bin/mysqladmin --defaults-file=/etc/mysqld.conf flush-logs
-	endscript
-
-	postrotate
-		/usr/bin/mysqladmin --defaults-file=/etc/mysqld.conf flush-logs
-	endscript
-}
-
-/var/log/mysql/log {
-	olddir /var/log/archiv/mysql
-        notifempty
-	missingok
-	create 640 mysql mysql
-
-        prerotate
-        	/usr/bin/mysqladmin --defaults-file=/etc/mysqld.conf flush-logs
-	endscript
-
-	postrotate
-		/usr/bin/mysqladmin --defaults-file=/etc/mysqld.conf flush-logs
-	endscript
-}
-
-/var/log/mysql/isamlog {
-	olddir /var/log/archiv/mysql
-        notifempty
-	missingok
-	create 640 mysql mysql
-
-        prerotate
-        	/usr/bin/mysqladmin --defaults-file=/etc/mysqld.conf flush-logs
-	endscript
-
-	postrotate
-		/usr/bin/mysqladmin --defaults-file=/etc/mysqld.conf flush-logs
-	endscript
-}
-
diff --git a/mysql.sysconfig b/mysql.sysconfig
deleted file mode 100644
index 30037de..0000000
--- a/mysql.sysconfig
+++ /dev/null
@@ -1,4 +0,0 @@
-# Customized settings for mysql
-
-# Define nice level for mysql
-SERVICE_RUN_NICE_LEVEL="+0"
diff --git a/mysqld.conf b/mysqld.conf
deleted file mode 100644
index 97ce31f..0000000
--- a/mysqld.conf
+++ /dev/null
@@ -1,131 +0,0 @@
-# The MySQL server configuration file.
-# One can use all long options that the mysqld supports.
-# Run mysqld with --help to get a whole list of available options
-# $Id$
-
-# This section must be the first!
-[mysqld] 
-datadir     = /var/lib/mysql/db
-pid-file    = /var/lib/mysql/mysql.pid
-port        = 3306
-socket      = /var/lib/mysql/mysql.sock
-user        = mysql
-
-# Don't use system locking
-#skip-locking
-
-# Don't allow connections over the network by default 
-skip-networking
-
-# Emergency option. Use only if you really need this.
-#skip-grant-tables
-
-# Log connections and queries. It slows down MySQL so it's disabled by default
-#log        = /var/log/mysql/log
-
-# Log all updates. 
-#log-update = /var/log/mysql/update
-# Log some extra information to update log
-#log-long-format
-
-# Log all isam changes
-#log-isam    = /var/log/mysql/isamlog
-
-# Language
-#language   = polish
-
-#
-# Internal server variables
-#
-
-#set-variable = back_log=5
-#set-variable = connect_timeout=5
-#set-variable = delayed_insert_timeout=300
-#set-variable = delayed_insert_limit=100
-#set-variable = flush_time=0
-#set-variable = join_buffer=131072
-#set-variable = key_buffer=8M
-#set-variable = long_query_time=10
-#set-variable = max_allowed_packet=1M
-#set-variable = max_connections=100
-#set-variable = max_connect_errors=10
-#set-variable = max_delayed_insert_threads=20
-#set-variable = delayed_queue_size=1000
-#set-variable = max_join_size=4294967295
-#set-variable = max_sort_length=1024
-#set-variable = max_write_lock_count=4294967295
-#set-variable = net_buffer_length=16384
-#set-variable = record_buffer=131072
-#set-variable = sort_buffer=2M
-#set-variable = table_cache=64
-#set-variable = tmp_table_size=1M
-#set-variable = thread_stack=65536
-#set-variable = wait_timeout=28800
-
-
-
-#
-# MyISAM tables options
-#
-
-# Don't flush key buffers between writes for any MyISAM
-#delay-key-write-for-all-tables
-
-# Repair automatically on open if the table wasn't closed properly.
-myisam-recover
-# 
-#set-variable = myisam_sort_buffer_size=4M
-
-
-
-#
-# InnoDB tables options (see MySQL manual) 
-#
-
-#innodb_data_home_dir = /var/lib/mysql/innodb/data
-#innodb_data_file_path = 00:10M;01:20M
-#set-variable = innodb_mirrored_log_groups=1
-#innodb_log_group_home_dir = /var/lib/mysql/innodb/log
-#set-variable = innodb_log_files_in_group=3
-#set-variable = innodb_log_file_size=30M
-#set-variable = innodb_log_buffer_size=8M
-
-#innodb_flush_log_at_trx_commit=1
-#innodb_log_arch_dir = /var/lib/mysql/innodb/log
-#innodb_log_archive=0
-#set-variable = innodb_buffer_pool_size=80M
-#set-variable = innodb_additional_mem_pool_size=10M
-#set-variable = innodb_file_io_threads=4
-#set-variable = innodb_lock_wait_timeout=50
-
-
-#
-# Berkeley DB tables options
-#
-# Don't use berkeley db (saves a lot of memory)
-#skip-bdb
-
-#bdb-home          =  /var/lib/mysql/db 
-#bdb-log-dir       =  /var/lib/mysql/bdb/log
-#bdb-tmpdir        =  /var/lib/mysql/bdb/tmp
-
-
-#bdb-lock-detect   =  DEFAULT
-
-# Don't synchronously flush logs.
-#bdb-no-sync 
-
-# Don't start Berkeley DB in recover mode.
-#bdb-no-recover
-
-# Start Berkeley DB in multi-process mode (Don't use `DB_PRIVATE' 
-# when initializing Berkeley DB
-#bdb-shared-data
-
-#set-variable      = bdb_max_lock=1000 
-
-
-# used for logs rotation
-[mysqladmin]
-user        = mysql_logrotate 
-password    = 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/bf636d07b36bfd2921b9ecf2033c78270355c98c



More information about the pld-cvs-commit mailing list