public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/, dev-db/mysqltuner/files/
@ 2024-02-08 21:51 Conrad Kostecki
  0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2024-02-08 21:51 UTC (permalink / raw
  To: gentoo-commits

commit:     5c9c5fc760fd28a161c8c3d2e4b3863fc978b26d
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  8 19:19:17 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Feb  8 21:50:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9c5fc7

dev-db/mysqltuner: add 2.5.2

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-db/mysqltuner/Manifest                         |   1 +
 .../files/mysqltuner-2.5.2-missing-shebang.patch   | 107 +++++++++++++++++++++
 dev-db/mysqltuner/mysqltuner-2.5.2.ebuild          |  36 +++++++
 3 files changed, 144 insertions(+)

diff --git a/dev-db/mysqltuner/Manifest b/dev-db/mysqltuner/Manifest
index a992f6e3c145..dd279be50776 100644
--- a/dev-db/mysqltuner/Manifest
+++ b/dev-db/mysqltuner/Manifest
@@ -1 +1,2 @@
 DIST mysqltuner-2.2.12.tar.gz 5130342 BLAKE2B 9a62f634a18f94d8f844aa93a0c7b2595bf29c9888005c89bdf8c0acb7376548dd745e46b2c0d67bb2ab5b79acd4ce19f6fd99b525bf8794e92b7713020128ac SHA512 84352c3bce74a7288ea1ac5a7c2e513ff0cd35656df5280bedf8738eb4b90ad0cdf039510d874947080720f56f0f947a964cf5152788a7566616e012a5f94c85
+DIST mysqltuner-2.5.2.tar.gz 5132683 BLAKE2B 439559c05ed9daad6f21fc90f91b3b39619ca2012a719eca3ba4b5d8cb2d963fb8bc10b0ea2855052ca5716fc98aa62f35bd0288380dceb79c1832150fe7f2a8 SHA512 9fe3d77636e3779ca2ab5f93cd7c480d651f6c26f4e6271adfcee6012aa423579f124ce6858bbf7142b2967f30bc0f0517b5d82ad2a35ecc004b1b621d0bee45

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"
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-08 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08 21:51 [gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/, dev-db/mysqltuner/files/ Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox