summaryrefslogtreecommitdiff
path: root/dev-db/mysqltuner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-09 03:59:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-09 03:59:01 +0000
commit4b63fd37a73007a6502ac56db4fc2c1c25c335fb (patch)
treeb533901c75ebfa0894a73c782d9e0cb35d1937a3 /dev-db/mysqltuner
parent94f15e80a2d1bf7754cad4b53208be9c319ea7d5 (diff)
gentoo auto-resync : 09:02:2024 - 03:59:01
Diffstat (limited to 'dev-db/mysqltuner')
-rw-r--r--dev-db/mysqltuner/Manifest3
-rw-r--r--dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch107
-rw-r--r--dev-db/mysqltuner/mysqltuner-2.5.2.ebuild36
3 files changed, 146 insertions, 0 deletions
diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
index c7531503436c..63dc9230b497 100644
--- a/dev-db/mysqltuner/Manifest
+++ b/dev-db/mysqltuner/Manifest
@@ -1,3 +1,6 @@
+AUX mysqltuner-2.5.2-missing-shebang.patch 3569 BLAKE2B e1e1e95c5da2ef035b94f8e17b78e3a811aad7f31138821332f37ff3d691eb5fde68ad06ff307561e2b40c49894f35b535f89c07b4f414ed3cb788c4f694f38f SHA512 7949e22a66535314165d90881f9b4f82e3941cbe60fdbfc609c010fcf537310f06611aa7e93543530459cbcc99db66662d70c046adff58018c22461c58d3fafa
DIST mysqltuner-2.2.12.tar.gz 5130342 BLAKE2B 9a62f634a18f94d8f844aa93a0c7b2595bf29c9888005c89bdf8c0acb7376548dd745e46b2c0d67bb2ab5b79acd4ce19f6fd99b525bf8794e92b7713020128ac SHA512 84352c3bce74a7288ea1ac5a7c2e513ff0cd35656df5280bedf8738eb4b90ad0cdf039510d874947080720f56f0f947a964cf5152788a7566616e012a5f94c85
+DIST mysqltuner-2.5.2.tar.gz 5132683 BLAKE2B 439559c05ed9daad6f21fc90f91b3b39619ca2012a719eca3ba4b5d8cb2d963fb8bc10b0ea2855052ca5716fc98aa62f35bd0288380dceb79c1832150fe7f2a8 SHA512 9fe3d77636e3779ca2ab5f93cd7c480d651f6c26f4e6271adfcee6012aa423579f124ce6858bbf7142b2967f30bc0f0517b5d82ad2a35ecc004b1b621d0bee45
EBUILD mysqltuner-2.2.12.ebuild 859 BLAKE2B 98afb2fe755fdcc45a8efa68ce835aa63d34a37ec5c7150872869d60ef19cf635e3994e6870c92e293164c51b413ef3e3a70a1e9b1a815e65a2333b8d6561341 SHA512 3752e5bd6cf10adede6ce8848c62cc9e5fb884a1356e007912e2d9a16283a28d7a859410771bbfa346189a7d42eff65ae4cee99567baa462055e4ef60320a9c0
+EBUILD mysqltuner-2.5.2.ebuild 922 BLAKE2B 18dc65a65c0b9b33350d2757164c8c67e1883437bb5467a9fa83747417ef3f4b2b1d4e05bd7f77a547ab7aa066726a1960620b2b54414188df723826ea6cd0db SHA512 2772e7f05066d9771518c1a4944fdcb85350202b98b3c7dd3100ed78fb56d41762122100ccf82ec1ac41671ed381dafda668106c38060030a82d43baba94fa54
MISC metadata.xml 607 BLAKE2B 51f3f5075cefa6184953d66ab4267463138fb02ae96f461f61eadbac9f49bba644f8ed4f293a49d4f56cdd361975a713b8ee08456874fee2a694d75cb99f3b7a SHA512 bf276a0a678188581b493b791771ad4c5508371b9db2a6dbcaf1afa401b7959179bdaaeea7c33c42ec4733fb78093009e5459a06de799bbbecc85150434a3397
diff --git a/dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch b/dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch
new file mode 100644
index 000000000000..d32ea2751978
--- /dev/null
+++ b/dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch
@@ -0,0 +1,107 @@
+From ca10ec741100501aa8190d129263b86104c08222 Mon Sep 17 00:00:00 2001
+From: Jean-Marie Renouard <jmrenouard@gmail.com>
+Date: Tue, 6 Feb 2024 18:35:38 +0100
+Subject: [PATCH] Adding shebang comment for auto execution
+
+---
+ mysqltuner.pl | 1 +
+ v2.5.2.txt | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 82 insertions(+)
+ create mode 100644 v2.5.2.txt
+
+diff --git a/mysqltuner.pl b/mysqltuner.pl
+index 3a755318..2006e20d 100755
+--- a/mysqltuner.pl
++++ b/mysqltuner.pl
+@@ -1,3 +1,4 @@
++#!/bin/env perl
+ # mysqltuner.pl - Version 2.5.2
+ # High Performance MySQL Tuning Script
+ # Copyright (C) 2015-2023 Jean-Marie Renouard - jmrenouard@gmail.com
+diff --git a/v2.5.2.txt b/v2.5.2.txt
+new file mode 100644
+index 00000000..b8e4d854
+--- /dev/null
++++ b/v2.5.2.txt
+@@ -0,0 +1,81 @@
++commit 4fdd80139269691828c0a27ff583b2ee49987451
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Tue Feb 6 18:00:04 2024 +0100
++
++ Generate CVE list at 2024-02-06T17:59:02+01:00
++
++commit dd2ed7264295a6d328c59c7c395eeb9be933fdde
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Tue Feb 6 17:58:57 2024 +0100
++
++ Indenting mysqltuner at 2024-02-06T17:58:52+01:00
++
++commit 30d1d9ecc61393ec807d2596ef8b5e178a4b52cd
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Tue Feb 6 17:58:35 2024 +0100
++
++ Generate 2.5.2 sub version at 2024-02-06T17:58:35+01:00
++
++commit b3a776576e7e568143797d62b754d9f992ffd1db
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Sun Feb 4 00:34:49 2024 +0100
++
++ Two separate garb install script with or without SSL
++
++commit 27525ca922a74d1df5c53c4d3ed1a1f07029919c
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Sun Feb 4 00:31:54 2024 +0100
++
++ Fix issue in Buffer Pool instead of Log Buffer Pool
++
++commit 65b1c138a56157774d8d98f93741a42054b3f4c6
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Thu Jan 18 05:38:00 2024 +0100
++
++ #741 false positive in log error detection
++
++commit 56d16e168efe85ba4a93b93800c50b42cdd32aee
++Merge: 3fd633b b608da0
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Wed Jan 17 18:35:27 2024 +0100
++
++ Merge pull request #745 from FabioPedretti/master
++
++ Enable color by default when running on a terminal
++
++commit b608da0fb1a8ad3200b5857a4ef6e6706934ab46
++Author: Fabio Pedretti <pedretti.fabio@gmail.com>
++Date: Thu Jan 11 11:27:25 2024 +0100
++
++ Enable color by default when running on a terminal
++
++commit 3fd633b507d48e7505c28aab8dc48d73f028f8da
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Fri Dec 1 00:46:15 2023 +0100
++
++ Generate 2.5.0 minor version at 2023-12-01T00:45:45+01:00
++
++commit 77699b72ae2e12f948aff622dd8194c9dbec9e09
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Fri Dec 1 00:45:34 2023 +0100
++
++ Suggest incrementing log_buffer_size to improve InnoDB Write Log efficiency.
++ #462
++
++commit c20bcbf8f0c00f9e900a880559ac95688ec9b1dc
++Merge: b10cdb7 01a1e53
++Author: Jean-Marie Renouard <jmrenouard@gmail.com>
++Date: Thu Nov 30 21:51:53 2023 +0100
++
++ Merge pull request #744 from paskal/remove_innodb_stats_on_metadata
++
++ Remove innodb_stats_on_metadata mentions in Readme
++
++commit 01a1e5336487e8464d655a4a8a1d51af0ebd38ee
++Author: Dmitry Verkhoturov <paskal.07@gmail.com>
++Date: Thu Nov 30 15:59:51 2023 +0100
++
++ remove innodb_stats_on_metadata mentions in Readme
++
++ That flag is off by default, starting with MySQL 5.7, and the tool
++ itself reports it in the "Performance Metrics" section.
diff --git a/dev-db/mysqltuner/mysqltuner-2.5.2.ebuild b/dev-db/mysqltuner/mysqltuner-2.5.2.ebuild
new file mode 100644
index 000000000000..7ce503589cae
--- /dev/null
+++ b/dev-db/mysqltuner/mysqltuner-2.5.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="MySQLTuner-perl"
+
+DESCRIPTION="Makes recommendations for increased performance and stability for MySQL"
+HOMEPAGE="https://github.com/major/MySQLTuner-perl"
+SRC_URI="https://github.com/major/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/perl
+ virtual/perl-Getopt-Long
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.2-missing-shebang.patch" )
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ newbin mysqltuner.pl mysqltuner
+ dodoc {CONTRIBUTING,INTERNALS,USAGE}.md
+ einstalldocs
+
+ # Passwords and vulnerabilities are meant to be fed to the script uncompressed.
+ dodoc basic_passwords.txt vulnerabilities.csv
+ docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" "/usr/share/doc/${PF}/vulnerabilities.csv"
+}