Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 18:47:27 +0300 (MSK)
From:      Alexander Zhuravlev <zaa@zaa.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105787: [NEW PORT] databases/mysqlreport Mysqlreport makes a friendly report of important MySQL status values
Message-ID:  <20061123154727.71352B816@wave.zaa.local>
Resent-Message-ID: <200611231550.kANFoJ1s007212@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105787
>Category:       ports
>Synopsis:       [NEW PORT] databases/mysqlreport Mysqlreport makes a friendly report of important MySQL status values
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 23 15:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD wave.zaa.local 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #34: Thu Nov 23 16:32:08 MSK 2006 root@wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386


	
>Description:

	mysqlreport makes a friendly report of important MySQL status values.
	mysqlreport transforms the values from SHOW STATUS into
	an easy-to-read report that provides a much more in-depth understanding
	of how well MySQL is running. For this and many other reasons,
	mysqlreport is a better alternative (and practically the only
	alternative) to manually interpreting SHOW STATUS.

>How-To-Repeat:
	
>Fix:

	

--- mysqlreport.port begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mysqlreport
#	mysqlreport/Makefile
#	mysqlreport/distinfo
#	mysqlreport/pkg-descr
#	mysqlreport/files
#	mysqlreport/files/patch-mysqlreport
#
echo c - mysqlreport
mkdir -p mysqlreport > /dev/null 2>&1
echo x - mysqlreport/Makefile
sed 's/^X//' >mysqlreport/Makefile << 'END-of-mysqlreport/Makefile'
X# New ports collection makefile for:	mysqlreport
X# Date created:			2006-11-23
X# Whom:				Alexander Zhuravlev <zaa@zaa.pp.ru>
X#
X# $FreeBSD$
X
XPORTNAME=	mysqlreport
XPORTVERSION=	2.7a
XCATEGORIES=	databases
XMASTER_SITES=	http://hackmysql.com/scripts/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	zaa@zaa.pp.ru
XCOMMENT=	Mysqlreport makes a friendly report of important MySQL status values
X
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
X		${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XPLIST_FILES=	bin/mysqlreport
XPORTDOCS=	mysqlreportguide.html mysqlreportdoc.html
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/mysqlreport ${PREFIX}/bin
X
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
X	@${MKDIR} ${DOCSDIR}
X.	for i in ${PORTDOCS}
X		@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.	endfor
X.endif
X
X.include <bsd.port.mk>
END-of-mysqlreport/Makefile
echo x - mysqlreport/distinfo
sed 's/^X//' >mysqlreport/distinfo << 'END-of-mysqlreport/distinfo'
XMD5 (mysqlreport-2.7a.tgz) = a1af9e32372cff388b1fe59f595df121
XSHA256 (mysqlreport-2.7a.tgz) = fb77406fa5ce13935e69591c71cda1a539d0959f611796f472e41360586b2cf4
XSIZE (mysqlreport-2.7a.tgz) = 20785
END-of-mysqlreport/distinfo
echo x - mysqlreport/pkg-descr
sed 's/^X//' >mysqlreport/pkg-descr << 'END-of-mysqlreport/pkg-descr'
Xmysqlreport makes a friendly report of important MySQL status values.
Xmysqlreport transforms the values from SHOW STATUS into an easy-to-read
Xreport that provides a much more in-depth understanding of how well
XMySQL is running. For this and many other reasons, mysqlreport is
Xa better alternative (and practically the only alternative) to
Xmanually interpreting SHOW STATUS.
X
XWWW: http://hackmysql.com/mysqlreport
END-of-mysqlreport/pkg-descr
echo c - mysqlreport/files
mkdir -p mysqlreport/files > /dev/null 2>&1
echo x - mysqlreport/files/patch-mysqlreport
sed 's/^X//' >mysqlreport/files/patch-mysqlreport << 'END-of-mysqlreport/files/patch-mysqlreport'
X--- mysqlreport.orig	Thu Nov 23 17:56:12 2006
X+++ mysqlreport	Thu Nov 23 18:03:54 2006
X@@ -76,7 +76,7 @@ $mycnf{'user'}   = $op{'user'}   if have
X # Default values if nothing else
X $mycnf{'host'}   ||= 'localhost';
X $mycnf{'port'}   ||= 3306;
X-$mycnf{'socket'} ||= '/var/run/mysqld/mysqld.sock'; # Debian default
X+$mycnf{'socket'} ||= '/tmp/mysql.sock';
X $mycnf{'user'}   ||= $ENV{'USER'};
X 
X if(exists $op{'password'})
END-of-mysqlreport/files/patch-mysqlreport
exit
--- mysqlreport.port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061123154727.71352B816>