forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Conrad Kostecki <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST mysqltuner-2.5.2.tar.gz 5132683 BLAKE2B 439559c05ed9daad6f21fc90f91b3b39619ca2012a719eca3ba4b5d8cb2d963fb8bc10b0ea2855052ca5716fc98aa62f35bd0288380dceb79c1832150fe7f2a8 SHA512 9fe3d77636e3779ca2ab5f93cd7c480d651f6c26f4e6271adfcee6012aa423579f124ce6858bbf7142b2967f30bc0f0517b5d82ad2a35ecc004b1b621d0bee45 | ||
DIST mysqltuner-2.6.0.tar.gz 5137050 BLAKE2B 37f94b71fc8523ab36ed7a6f39a73f1f831bd551d4935ad87b3d20a9894f86551dcf600e806947e62e3cce154658212e39349ed4a83aaec76ad06e3367d6d6d8 SHA512 0ba8b5a8fd952b961d8b8a13f9339925d106abc27d5f9f32c892c268bfbf3742ed6a516b10ef3a64d123c78d0ce6e37a708911487375d06fa7fe91acfe833e0b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 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 | ||
" | ||
|
||
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" | ||
} |