Import mysqltuner-1.6.0 as databases/mysqltuner.

MySQLTuner is a script written in Perl that will assist you with your MySQL
configuration and make recommendations for increased performance and
stability.
This commit is contained in:
rodent 2015-10-11 11:37:50 +00:00
parent 224d7465d2
commit 60c563a6a7
4 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,3 @@
MySQLTuner is a script written in Perl that will assist you with your MySQL
configuration and make recommendations for increased performance and
stability.

View file

@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.1 2015/10/11 11:37:50 rodent Exp $
GITHUB_PROJECT= MySQLTuner-perl
DISTNAME= 1.6.0
PKGNAME= mysqltuner-${DISTNAME}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=major/}
DIST_SUBDIR= ${PKGBASE}
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://mysqltuner.com/
COMMENT= Perl script that assists in MySQL configuration
LICENSE= gnu-gpl-v3
NO_BUILD= yes
USE_TOOLS+= perl:run
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}
USE_LANGUAGES= # none
REPLACE_PERL= mysqltuner.pl
PKGDOCDIR= share/doc/${PKGBASE}
SUBST_CLASSES+= docdir
SUBST_FILES.docdir= mysqltuner.pl
SUBST_MESSAGE.docdir= Fixing DOCDIR.
SUBST_SED.docdir= -e "s|/usr/share/mysqltuner|${PREFIX}/${PKGDOCDIR}|1"
SUBST_STAGE.docdir= post-patch
INSTALLATION_DIRS+= bin ${PKGDOCDIR}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mysqltuner.pl ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/basic_passwords.txt \
${DESTDIR}${PREFIX}/${PKGDOCDIR}
${INSTALL_DATA} ${WRKSRC}/*.md ${DESTDIR}${PREFIX}/${PKGDOCDIR}
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1 2015/10/11 11:37:50 rodent Exp $
bin/mysqltuner.pl
share/doc/mysqltuner/basic_passwords.txt
share/doc/mysqltuner/CONTRIBUTING.md
share/doc/mysqltuner/INTERNALS.md
share/doc/mysqltuner/README.md
share/doc/mysqltuner/README.ru.md
share/doc/mysqltuner/USAGE.md

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/10/11 11:37:50 rodent Exp $
SHA1 (mysqltuner/1.6.0.tar.gz) = 21c2b48020e2c82b9cd440c48e3176b648273eda
RMD160 (mysqltuner/1.6.0.tar.gz) = 87839415accf41c70c3ddb07fb4ad65d78957254
Size (mysqltuner/1.6.0.tar.gz) = 53424 bytes