diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-02-07 19:12:53 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-02-07 19:12:53 +0000 |
commit | 41b85c7293bc2ce2898301e296e61ec0037c3c27 (patch) | |
tree | 5270f4787209e5bc05e29b654c264ba2d7339741 /databases | |
parent | 3e1fc494f16c0a7a43369c7ea7f2706560eedeb5 (diff) | |
download | ports-41b85c7293bc2ce2898301e296e61ec0037c3c27.tar.gz ports-41b85c7293bc2ce2898301e296e61ec0037c3c27.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysqlsla/Makefile | 26 | ||||
-rw-r--r-- | databases/mysqlsla/distinfo | 6 | ||||
-rw-r--r-- | databases/mysqlsla/files/patch-mysqlsla | 11 |
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; |