From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6F8315815E for ; Thu, 8 Feb 2024 21:51:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93AB0E2A2C; Thu, 8 Feb 2024 21:51:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77AC2E2A2C for ; Thu, 8 Feb 2024 21:51:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8096B34311D for ; Thu, 8 Feb 2024 21:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D8B314CA for ; Thu, 8 Feb 2024 21:51:54 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1707429024.5c9c5fc760fd28a161c8c3d2e4b3863fc978b26d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysqltuner/, dev-db/mysqltuner/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mysqltuner/Manifest dev-db/mysqltuner/files/mysqltuner-2.5.2-missing-shebang.patch dev-db/mysqltuner/mysqltuner-2.5.2.ebuild X-VCS-Directories: dev-db/mysqltuner/ dev-db/mysqltuner/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 5c9c5fc760fd28a161c8c3d2e4b3863fc978b26d X-VCS-Branch: master Date: Thu, 8 Feb 2024 21:51:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e7e9b535-4131-4326-baf0-53cc8ec1e644 X-Archives-Hash: 37de588b4494475261dcec214b78465a commit: 5c9c5fc760fd28a161c8c3d2e4b3863fc978b26d Author: Conrad Kostecki gentoo org> AuthorDate: Thu Feb 8 19:19:17 2024 +0000 Commit: Conrad Kostecki gentoo 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 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 +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 ++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 ++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 ++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 ++Date: Sun Feb 4 00:34:49 2024 +0100 ++ ++ Two separate garb install script with or without SSL ++ ++commit 27525ca922a74d1df5c53c4d3ed1a1f07029919c ++Author: Jean-Marie Renouard ++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 ++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 ++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 ++Date: Thu Jan 11 11:27:25 2024 +0100 ++ ++ Enable color by default when running on a terminal ++ ++commit 3fd633b507d48e7505c28aab8dc48d73f028f8da ++Author: Jean-Marie Renouard ++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 ++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 ++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 ++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" +}