rpms/mysqltuner/F-9 mysqltuner-0.9.1-checkversion.patch, NONE, 1.1 mysqltuner.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sat Jun 21 18:23:38 UTC 2008
- Previous message (by thread): rpms/mysqltuner/devel mysqltuner-0.9.1-checkversion.patch, 1.1, 1.2 mysqltuner.spec, 1.1, 1.2
- Next message (by thread): rpms/mysqltuner/EL-5 mysqltuner-0.9.1-checkversion.patch, NONE, 1.1 mysqltuner.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: scop
Update of /cvs/pkgs/rpms/mysqltuner/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5901/F-9
Modified Files:
.cvsignore sources
Added Files:
mysqltuner-0.9.1-checkversion.patch mysqltuner.spec
Log Message:
Initial F-9 import (#452172).
mysqltuner-0.9.1-checkversion.patch:
--- NEW FILE mysqltuner-0.9.1-checkversion.patch ---
Index: mysqltuner.pl
===================================================================
--- mysqltuner.pl (revision 37)
+++ mysqltuner.pl (working copy)
@@ -50,7 +50,7 @@
"noinfo" => 0,
"nocolor" => 0,
"skipsize" => 0,
- "skipversion" => 0,
+ "checkversion" => 0,
);
# Gather the options from the command line
@@ -60,7 +60,8 @@
'noinfo',
'nocolor',
'skipsize',
- 'skipversion',
+ 'checkversion',
+ 'skipversion', # ignored (use --checkversion), present for backwards compatibility
'help',
);
@@ -79,7 +80,7 @@
" Performance and Reporting Options\n".
" --skipsize Don't enumerate tables and their types/sizes\n".
" (Recommended for servers with many tables)\n".
- " --skipversion Don't check for updates to MySQLTuner\n\n".
+ " --checkversion Check for updates to MySQLTuner\n\n".
" Output Options:\n".
" --nogood Remove OK responses\n".
" --nobad Remove negative/suggestion responses\n".
@@ -269,7 +270,7 @@
# Checks for updates to MySQLTuner
sub validate_tuner_version {
print "\n-------- General Statistics --------------------------------------------------\n";
- if ($opt{skipversion} eq 1) {
+ if ($opt{checkversion} ne 1) {
infoprint "Skipped version check for MySQLTuner script\n";
return;
}
--- NEW FILE mysqltuner.spec ---
Name: mysqltuner
Version: 0.9.1
Release: 4
Summary: MySQL high performance tuning script
Group: Applications/Databases
License: GPLv3+
URL: http://mysqltuner.com/
Source0: http://mysqltuner.com/mysqltuner.pl.gz
# Sent upstream @0.9.0 time, seems rejected.
Patch0: %{name}-0.9.1-checkversion.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: mysql
Requires: which
%description
MySQLTuner is a MySQL high performance tuning script written in perl
that will provide you with a snapshot of a MySQL server's health.
Based on the statistics gathered, specific recommendations will be
provided that will increase a MySQL server's efficiency and
performance. The script gives you automated MySQL tuning that is on
the level of what you would receive from a MySQL DBA.
%prep
%setup -q -c -T
gzip -dc %{SOURCE0} > mysqltuner.pl
%patch0
sed -i -e 's/\r\+//g' mysqltuner.pl
%build
%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 755 mysqltuner.pl $RPM_BUILD_ROOT%{_bindir}/mysqltuner
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/mysqltuner
%changelog
* Sat Jun 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.9.1-4
- Don't warn if --skipversion is used (#452172).
* Thu Jun 19 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.9.1-1
- 0.9.1.
- Patch to not "phone home" by default (--skipversion -> --checkversion).
* Sat Apr 12 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.9.0-1
- 0.9.0.
* Sun Mar 2 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.6-1
- 0.8.6.
* Mon Feb 18 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.5-1
- 0.8.5.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mysqltuner/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Jun 2008 15:30:24 -0000 1.1
+++ .cvsignore 21 Jun 2008 18:22:54 -0000 1.2
@@ -0,0 +1 @@
+mysqltuner.pl.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mysqltuner/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Jun 2008 15:30:24 -0000 1.1
+++ sources 21 Jun 2008 18:22:54 -0000 1.2
@@ -0,0 +1 @@
+56f3e3aa6cf9f1c2573c937ca6190fb3 mysqltuner.pl.gz
- Previous message (by thread): rpms/mysqltuner/devel mysqltuner-0.9.1-checkversion.patch, 1.1, 1.2 mysqltuner.spec, 1.1, 1.2
- Next message (by thread): rpms/mysqltuner/EL-5 mysqltuner-0.9.1-checkversion.patch, NONE, 1.1 mysqltuner.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list