diff options
author | rodent <rodent@pkgsrc.org> | 2015-10-11 11:37:50 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2015-10-11 11:37:50 +0000 |
commit | afecaab395a669a216492867d19cf604752b2bea (patch) | |
tree | 7a9a726ab70bfb660adc68f24183d404338f959a /databases | |
parent | c67182f70b2f1ce81ecbd836cfb39f254f59d586 (diff) | |
download | pkgsrc-afecaab395a669a216492867d19cf604752b2bea.tar.gz |
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.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysqltuner/DESCR | 3 | ||||
-rw-r--r-- | databases/mysqltuner/Makefile | 38 | ||||
-rw-r--r-- | databases/mysqltuner/PLIST | 8 | ||||
-rw-r--r-- | databases/mysqltuner/distinfo | 5 |
4 files changed, 54 insertions, 0 deletions
diff --git a/databases/mysqltuner/DESCR b/databases/mysqltuner/DESCR new file mode 100644 index 00000000000..f87da421f5b --- /dev/null +++ b/databases/mysqltuner/DESCR @@ -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. diff --git a/databases/mysqltuner/Makefile b/databases/mysqltuner/Makefile new file mode 100644 index 00000000000..2230bfa8a11 --- /dev/null +++ b/databases/mysqltuner/Makefile @@ -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" diff --git a/databases/mysqltuner/PLIST b/databases/mysqltuner/PLIST new file mode 100644 index 00000000000..033d333f7e8 --- /dev/null +++ b/databases/mysqltuner/PLIST @@ -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 diff --git a/databases/mysqltuner/distinfo b/databases/mysqltuner/distinfo new file mode 100644 index 00000000000..4eab86602bc --- /dev/null +++ b/databases/mysqltuner/distinfo @@ -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 |