aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-09-27 07:33:01 +0800
committermiwi <miwi@FreeBSD.org>2008-09-27 07:33:01 +0800
commit37d00966c7af674db3820b38263d14a10958c051 (patch)
treeccca63c630204da619618238b1832b7091fe0225 /databases
parente06051e7e97c00bdfb6999f3dbce62208a116cd5 (diff)
downloadfreebsd-ports-gnome-37d00966c7af674db3820b38263d14a10958c051.tar.gz
freebsd-ports-gnome-37d00966c7af674db3820b38263d14a10958c051.tar.zst
freebsd-ports-gnome-37d00966c7af674db3820b38263d14a10958c051.zip
MySQLTuner is a script written in Perl that will
assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved. WWW: http://wiki.mysqltuner.com/MySQLTuner PR: ports/127237 Submitted by: Wen heping <wenheping at gmail.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/mysqltuner/Makefile31
-rw-r--r--databases/mysqltuner/distinfo3
-rw-r--r--databases/mysqltuner/pkg-descr8
4 files changed, 43 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index b02fae9bb925..89a500344d1c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -193,6 +193,7 @@
SUBDIR += mysqlreport
SUBDIR += mysqlsla
SUBDIR += mysqltcl
+ SUBDIR += mysqltuner
SUBDIR += mytop
SUBDIR += mywwwatcher
SUBDIR += namazu2
diff --git a/databases/mysqltuner/Makefile b/databases/mysqltuner/Makefile
new file mode 100644
index 000000000000..28ba32d2afe1
--- /dev/null
+++ b/databases/mysqltuner/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: mysqltuner
+# Date created: 09 September 2008
+# Whom: Wen heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mysqltuner
+PORTVERSION= 0.9.9
+CATEGORIES= databases
+MASTER_SITES= http://mysqltuner.com/releases/
+DISTFILES= ${PORTNAME}-${PORTVERSION}.pl
+EXTRACT_ONLY=
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= A Script Assist You with MySQL Configuration
+
+USE_PERL= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME}.pl
+
+.include <bsd.port.pre.mk>
+do-install:
+ @${CP} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.pl \
+ ${PREFIX}/bin/${PORTNAME}.pl
+ @${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl
+ @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl' \
+ >> ${TMPPLIST}
+
+.include <bsd.port.post.mk>
diff --git a/databases/mysqltuner/distinfo b/databases/mysqltuner/distinfo
new file mode 100644
index 000000000000..0fca43cc2fdd
--- /dev/null
+++ b/databases/mysqltuner/distinfo
@@ -0,0 +1,3 @@
+MD5 (mysqltuner-0.9.9.pl) = 097ceed8577ff4dbed134970fd8781e4
+SHA256 (mysqltuner-0.9.9.pl) = b2c2e455a3789c1d1613404b2f03812906e2f65a7908adbe4eb04ecc34ccc10a
+SIZE (mysqltuner-0.9.9.pl) = 38063
diff --git a/databases/mysqltuner/pkg-descr b/databases/mysqltuner/pkg-descr
new file mode 100644
index 000000000000..52941f21a608
--- /dev/null
+++ b/databases/mysqltuner/pkg-descr
@@ -0,0 +1,8 @@
+MySQLTuner is a script written in Perl that will
+assist you with your MySQL configuration and make
+recommendations for increased performance and
+stability. Within seconds, it will display
+statistics about your MySQL installation and the
+areas where it can be improved.
+
+WWW: http://wiki.mysqltuner.com/MySQLTuner