mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- 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
This commit is contained in:
parent
3e1fc494f1
commit
41b85c7293
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206862
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user