aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchinsan <chinsan@FreeBSD.org>2008-06-16 13:50:36 +0800
committerchinsan <chinsan@FreeBSD.org>2008-06-16 13:50:36 +0800
commitcd504e1fe559c847c7206e0799e79118dc70d3f7 (patch)
tree52934d15e8856385f4acb164f664875b9680b8f1
parentb3177fe520c703e9d8e1fb28a74d8f94120950bb (diff)
downloadfreebsd-ports-gnome-cd504e1fe559c847c7206e0799e79118dc70d3f7.tar.gz
freebsd-ports-gnome-cd504e1fe559c847c7206e0799e79118dc70d3f7.tar.zst
freebsd-ports-gnome-cd504e1fe559c847c7206e0799e79118dc70d3f7.zip
Add p5-mysql-genocide, mysql-genocide helps you play with big MySQL
processlists. It can filter it using different criterias like execution time, query type, user or regexp matching of the SQL query etc. Actions can then be peformed on the result like killing, sorting or generating statistics.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-mysql-genocide/Makefile28
-rw-r--r--databases/p5-mysql-genocide/distinfo3
-rw-r--r--databases/p5-mysql-genocide/pkg-descr6
4 files changed, 38 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 95ddd1628f4c..6e09c01bd520 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -339,6 +339,7 @@
SUBDIR += p5-Tie-DBI
SUBDIR += p5-Time-Piece-MySQL
SUBDIR += p5-hp200lx-db
+ SUBDIR += p5-mysql-genocide
SUBDIR += p5-postgresql-plperl
SUBDIR += p5-qdbm
SUBDIR += p5-sqlrelay
diff --git a/databases/p5-mysql-genocide/Makefile b/databases/p5-mysql-genocide/Makefile
new file mode 100644
index 000000000000..113371870eea
--- /dev/null
+++ b/databases/p5-mysql-genocide/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-mysql-genocide
+# Date created: 2008/06/16
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= mysql-genocide
+PORTVERSION= 0.03
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/R/RS/RSOLIV
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Parallel operation on MySQL processlist
+
+BUILD_DEPENDS= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+MAN1= mysql-genocide.1
+
+PLIST_FILES= bin/mysql-genocide \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/mysql-genocide/.packlist
+PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/mysql-genocide
+
+.include <bsd.port.mk>
diff --git a/databases/p5-mysql-genocide/distinfo b/databases/p5-mysql-genocide/distinfo
new file mode 100644
index 000000000000..290a148dc5b7
--- /dev/null
+++ b/databases/p5-mysql-genocide/distinfo
@@ -0,0 +1,3 @@
+MD5 (mysql-genocide-0.03.tar.gz) = c1611238e4306b6a30556ec87015c1df
+SHA256 (mysql-genocide-0.03.tar.gz) = 02ac76c895b18e7b39d13d4dd1a21850568e25301f94ca1836faa8eb0b95601c
+SIZE (mysql-genocide-0.03.tar.gz) = 7943
diff --git a/databases/p5-mysql-genocide/pkg-descr b/databases/p5-mysql-genocide/pkg-descr
new file mode 100644
index 000000000000..3b9d25938a72
--- /dev/null
+++ b/databases/p5-mysql-genocide/pkg-descr
@@ -0,0 +1,6 @@
+mysql-genocide helps you play with big MySQL processlists. It can filter it
+using different criterias like execution time, query type, user or regexp
+matching of the SQL query etc. Actions can then be peformed on the result
+like killing, sorting or generating statistics.
+
+WWW: http://search.cpan.org/dist/mysql-genocide/