Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
a3ea5594
Commit
a3ea5594
authored
May 07, 2021
by
Ed Reel
Committed by
GitHub
May 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mysqltuner from 1.7.7 to 1.7.21 (#5739)
parent
e6c4ce60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
packages/mysqltuner.rb
packages/mysqltuner.rb
+6
-6
No files found.
packages/mysqltuner.rb
View file @
a3ea5594
...
...
@@ -3,17 +3,17 @@ require 'package'
class
Mysqltuner
<
Package
description
'MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability.'
homepage
'https://github.com/major/MySQLTuner-perl'
version
'1.7.
7
'
version
'1.7.
21
'
license
'GPL-3+'
compatibility
'all'
source_url
'https://raw.githubusercontent.com/major/MySQLTuner-perl/1c51f442822a170fb2eaafb088f22c8f4baacd9d/README.md'
source_sha256
'381d2200b487b4e8839d863ee300b761d5d0a8ee4eac5a8c51ef9bbd640ae6e6'
source_url
'SKIP'
depends_on
'perl'
def
self
.
install
system
"curl -#LO https://raw.githubusercontent.com/major/MySQLTuner-perl/1c51f442822a170fb2eaafb088f22c8f4baacd9d/mysqltuner.pl"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'mysqltuner.pl'
)
)
==
'26ad914fff4afca883a6a4d2bc69c142316144888c45e46e0fa56ad2b5a98a34'
system
"install -Dm755 mysqltuner.pl
#{
CREW_DEST_PREFIX
}
/bin/mysqltuner"
system
"curl -#LO https://raw.githubusercontent.com/major/MySQLTuner-perl/1.7.21/mysqltuner.pl"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'mysqltuner.pl'
)
)
==
'dd982083478a604ca0ada434b1b7d0323aa7c8302f4731d25a93cf0f77c46a27'
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
install
'mysqltuner.pl'
,
"
#{
CREW_DEST_PREFIX
}
/bin/mysqltuner"
,
mode:
0
o755
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment