aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-08 03:12:53 +0800
committermiwi <miwi@FreeBSD.org>2008-02-08 03:12:53 +0800
commit8d4ea081794c6bc794d0a27632942137d263d3c4 (patch)
treed61ae0560adf19fc88d7cbbaa60a378592322f9a /databases
parent538beefa00695247fb5bb7d13675b42b5885877e (diff)
downloadfreebsd-ports-gnome-8d4ea081794c6bc794d0a27632942137d263d3c4.tar.gz
freebsd-ports-gnome-8d4ea081794c6bc794d0a27632942137d263d3c4.tar.zst
freebsd-ports-gnome-8d4ea081794c6bc794d0a27632942137d263d3c4.zip
- Updated to 1.7a
- Makefile cleanup - Add missing R-deps - Removed unnecessary patch - Updated MASTER_SITES - Pass maintainership to submitter PR: 120015 Submitted by: Felippe de Meirelles Motta <lippemail@gmail.com> Approved by: maintainer
Diffstat (limited to 'databases')
-rw-r--r--databases/mysqlsla/Makefile26
-rw-r--r--databases/mysqlsla/distinfo6
-rw-r--r--databases/mysqlsla/files/patch-mysqlsla11
3 files changed, 11 insertions, 32 deletions
diff --git a/databases/mysqlsla/Makefile b/databases/mysqlsla/Makefile
index 14c373ad33f7..0b5d86d99103 100644
--- a/databases/mysqlsla/Makefile
+++ b/databases/mysqlsla/Makefile
@@ -5,42 +5,32 @@
# $FreeBSD$
PORTNAME= mysqlsla
-PORTVERSION= 1.5
+PORTVERSION= 1.7a
CATEGORIES= databases
-MASTER_SITES= http://hackmysql.com/scripts/ \
- ${MASTER_SITE_LOCAL} \
- http://zaa.pp.ru/distfiles/
-MASTER_SITE_SUBDIR= miwi
+MASTER_SITES= http://hackmysql.com/scripts/
EXTRACT_SUFX= .tgz
-MAINTAINER= zaa@zaa.pp.ru
+MAINTAINER= lippemail@gmail.com
COMMENT= Mysqlsla analyzes general, slow, and raw MySQL statement logs
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
- ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI-mysql \
+ ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
USE_PERL5= yes
NO_BUILD= yes
-NO_WRKSUBDIR= yes
PLIST_FILES= bin/mysqlsla
PORTDOCS= mysqlsladoc.html
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500805
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-.endif
-
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/mysqlsla ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${DOCSDIR}
-. for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-. endfor
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/mysqlsla/distinfo b/databases/mysqlsla/distinfo
index 26fc0e868a9d..67f0cc73dad4 100644
--- a/databases/mysqlsla/distinfo
+++ b/databases/mysqlsla/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysqlsla-1.5.tgz) = a8d4c8292890bb6c0f42e2cef309d61a
-SHA256 (mysqlsla-1.5.tgz) = 59670bb906fad211f0f8cf34770467af8b6ebc1fe16593afd448f3795414b7b6
-SIZE (mysqlsla-1.5.tgz) = 13992
+MD5 (mysqlsla-1.7a.tgz) = de3faad15e7e9fce5fffbc4a2350ff1d
+SHA256 (mysqlsla-1.7a.tgz) = 5bba18b12efae5733e2223b0c4ff27aeb4d0807b1c5be55bd1918f19d00ef89b
+SIZE (mysqlsla-1.7a.tgz) = 27280
diff --git a/databases/mysqlsla/files/patch-mysqlsla b/databases/mysqlsla/files/patch-mysqlsla
deleted file mode 100644
index efcb751ae1a4..000000000000
--- a/databases/mysqlsla/files/patch-mysqlsla
+++ /dev/null
@@ -1,11 +0,0 @@
---- mysqlsla.orig Fri Apr 6 21:43:05 2007
-+++ mysqlsla Mon Jul 30 23:30:04 2007
-@@ -92,7 +92,7 @@ $mycnf{user} = $op{user} if $op{user
- # Default values if nothing else
- $mycnf{host} ||= 'localhost';
- $mycnf{port} ||= 3306;
--$mycnf{socket} ||= '/var/run/mysqld/mysqld.sock';
-+$mycnf{socket} ||= '/tmp/mysql.sock';
- $mycnf{user} ||= $ENV{USER};
- $op{avg} ||= 1;
- $op{top} ||= 10;