From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-db/mtop/Manifest | 1 + dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch | 12 ++++++++ dev-db/mtop/metadata.xml | 8 +++++ dev-db/mtop/mtop-0.6.6-r3.ebuild | 34 ++++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 dev-db/mtop/Manifest create mode 100644 dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch create mode 100644 dev-db/mtop/metadata.xml create mode 100644 dev-db/mtop/mtop-0.6.6-r3.ebuild (limited to 'dev-db/mtop') diff --git a/dev-db/mtop/Manifest b/dev-db/mtop/Manifest new file mode 100644 index 00000000000..85b6b635cbb --- /dev/null +++ b/dev-db/mtop/Manifest @@ -0,0 +1 @@ +DIST mtop-0.6.6.tar.gz 48161 SHA256 2e7fc09511d2d0f130da1f52bf85fcfeea0be2cc3aa3d93b88498605c0281d74 SHA512 9befb1d44ef537c4abe0246ebbf20019499875d7e8efeac2fd1cf068dc577c2809bb0333ebf633982852446a0160d73ccfa0006dcfa42f7d95bbbf765f12ce17 WHIRLPOOL 7f85fa504882a789eb78919aa63084db2f7555a4d584b4a04f0183e92da7750f417357ab40b4558fcb928d6c8e6af0157888ad59186cdb3d0bdf82bc093d96ed diff --git a/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch b/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch new file mode 100644 index 00000000000..1d10acc42a9 --- /dev/null +++ b/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch @@ -0,0 +1,12 @@ +diff -ur mtop-0.6.6/work/mtop-0.6.6/mtop.PL mtop-0.6.6-r1/work/mtop-0.6.6/mtop.PL +--- mtop-0.6.6/work/mtop-0.6.6/mtop.PL 2004-09-13 00:22:03.000000000 +0200 ++++ mtop-0.6.6-r1/work/mtop-0.6.6/mtop.PL 2009-12-08 15:04:56.000000000 +0100 +@@ -568,7 +568,7 @@ + die "Unable to connect to mysql [", $DBI::errstr, "]\n"; + + my $st_procs = $dbh->prepare("show full processlist"); +-my $st_status = $dbh->prepare("show status"); ++my $st_status = $dbh->prepare("show global status"); + my $st_kill = $dbh->prepare("kill ?"); + my $st_flush = $dbh->prepare("flush status"); + my $st_vars = $dbh->prepare("show variables"); diff --git a/dev-db/mtop/metadata.xml b/dev-db/mtop/metadata.xml new file mode 100644 index 00000000000..69b243a45be --- /dev/null +++ b/dev-db/mtop/metadata.xml @@ -0,0 +1,8 @@ + + + + mysql + + mtop + + diff --git a/dev-db/mtop/mtop-0.6.6-r3.ebuild b/dev-db/mtop/mtop-0.6.6-r3.ebuild new file mode 100644 index 00000000000..c483ea566ba --- /dev/null +++ b/dev-db/mtop/mtop-0.6.6-r3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit perl-module + +DESCRIPTION="Mysql top monitors a MySQL server" +HOMEPAGE="http://mtop.sourceforge.net" +SRC_URI="mirror://sourceforge/mtop/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND="dev-perl/Curses + dev-perl/DBI + dev-perl/DBD-mysql + virtual/perl-libnet" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/mtop-0.6.6-globalstatusfix.patch ) +DOCS=( ChangeLog README README.devel ) + +warnmsg() { + einfo "Upstream no longer maintains mtop. You should consider dev-db/mytop instead." +} + +pkg_postinst() { + warnmsg +} + +pkg_preinst() { + warnmsg +} -- cgit v1.2.1