From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-633793-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id F0CFE138202
	for <garchives@archives.gentoo.org>; Tue,  8 Oct 2013 19:45:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8D3EFE0A49;
	Tue,  8 Oct 2013 19:45:32 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 0F0EAE0A61
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Oct 2013 19:45:31 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E683233EF3F
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Oct 2013 19:45:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id 96E75E5460
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Oct 2013 19:45:29 +0000 (UTC)
From: "Brian Evans" <grknight@lavabit.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" <grknight@lavabit.com>
Message-ID: <1381261495.c0b03f32f9f09b8049312e19508f014ebb0c70b6.grknight.pub@gentoo>
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/percona-server/
X-VCS-Repository: proj/mysql
X-VCS-Files: dev-db/percona-server/Manifest dev-db/percona-server/percona-server-5.6.13.61.0.ebuild
X-VCS-Directories: dev-db/percona-server/
X-VCS-Committer: grknight.pub
X-VCS-Committer-Name: Brian Evans
X-VCS-Revision: c0b03f32f9f09b8049312e19508f014ebb0c70b6
X-VCS-Branch: master
Date: Tue,  8 Oct 2013 19:45:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: ee57c855-2297-4ea8-8060-f1be8820cd1b
X-Archives-Hash: 6d1550e6dcdff2ee135a5048d6d908c1

commit:     c0b03f32f9f09b8049312e19508f014ebb0c70b6
Author:     Brian Evans <grknight <AT> lavabit <DOT> com>
AuthorDate: Tue Oct  8 19:44:55 2013 +0000
Commit:     Brian Evans <grknight <AT> lavabit <DOT> com>
CommitDate: Tue Oct  8 19:44:55 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=c0b03f32

[percona-server] Version bump

---
 dev-db/percona-server/Manifest                     |   1 +
 .../percona-server-5.6.13.61.0.ebuild              | 133 +++++++++++++++++++++
 2 files changed, 134 insertions(+)

diff --git a/dev-db/percona-server/Manifest b/dev-db/percona-server/Manifest
index 914c88a..f75c6c4 100644
--- a/dev-db/percona-server/Manifest
+++ b/dev-db/percona-server/Manifest
@@ -1,3 +1,4 @@
 DIST Percona-Server-5.5.30-rel30.2.tar.gz 22567579 SHA256 260b90a85cd6099b6ab2bbc483e9df651525dccd2f8cac1c32cf5b71c0de1ad4 SHA512 eb12ff70715e0dda4f04554f3b065c0a1fced6519d30698c3b934a7294a65f00281508f145886bb51008f29eae27db6ae0d5bb6d7beffdb107ee0494e5a15dce WHIRLPOOL 8e9534e3c0904dce7774eff3d9c6387cb22f681a23b9dabcd5fa3980b49b6b99c32fbe8f4d607595846b307491694c43f2b763c0e77c58e5b16ffef39babacc3
 DIST Percona-Server-5.5.33-rel31.1.tar.gz 22538385 SHA256 2039ae974d0973b765a4cdc7ffa1dc75ebd93540769fb134b3a8dc521dfc0b3a SHA512 2b2aa04ce7f2ed23cd1f4752453d95a42d06e4c855330edb3606c2c03a274d96cab3c8c1b9e278b18d331090108dbfa9cc5e2789a87eee4a2935712ac612d187 WHIRLPOOL fd74b29d17b91118733c1dc1bd620694474508f850c5657bab7f064296c99246fd08ba79f6d403512652a8d2ac771a49e09a5b134ec8a564da70ce15f70b802d
 DIST Percona-Server-5.6.13-rc60.5.tar.gz 33213326 SHA256 90de6997d2d20e37aa7d7e240ad310a446c5c85ae55cd4146bf6b17ffd5bb0a5 SHA512 212ea07a2ebc2f743ff49768770495c954e58eaafcf8d8be9b7ba1d9ca7600865d098cb779bf3ca6f0aa49ab9f2f62b44156c7d704dca25e87be40800bd4bab4 WHIRLPOOL 85a957fef0b8f93e705d1eb4c7a545d042620032c6937f47d4468520ec5755e907a5efa58fa143e6f0f239c66a1f4ae4a80ae9133f0db05ddd9ba98a6aaa1c18
+DIST Percona-Server-5.6.13-rel61.0.tar.gz 33401056 SHA256 6fa6c240f08c3aedacbefe31559128d239c7f18089c5bba64136698bd64910c8 SHA512 7499bdc1c40fe7902412043ab7d815c97696dfaf0357681ac103f59b3a2294de4b244a9b821029b1be0ae0a1f6b27a22dd4a00c670e5b9bdb2be93250cbea846 WHIRLPOOL 9d14b2e12997797fe1f6207497b495ff82c2070d7eb146b62ac38176a3bc9302f4679afc37e4aeeae253cfb798f6ea61ea489bb10a51c11494be05674c46619f

diff --git a/dev-db/percona-server/percona-server-5.6.13.61.0.ebuild b/dev-db/percona-server/percona-server-5.6.13.61.0.ebuild
new file mode 100644
index 0000000..c2c00a3
--- /dev/null
+++ b/dev-db/percona-server/percona-server-5.6.13.61.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+MY_EXTRAS_VER="live"
+MY_PV="${PV//_alpha_pre/-m}"
+MY_PV="${MY_PV//_/-}"
+
+# Build type
+BUILD="cmake"
+
+inherit toolchain-funcs mysql-v2
+# only to make repoman happy. it is really set in the eclass
+IUSE="$IUSE"
+
+# Define the mysql-extras source
+EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
+
+# REMEMBER: also update eclass/mysql*.eclass before committing!
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
+
+# When MY_EXTRAS is bumped, the index should be revised to exclude these.
+EPATCH_EXCLUDE=''
+
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
+RDEPEND="${RDEPEND}"
+
+# Please do not add a naive src_unpack to this ebuild
+# If you want to add a single patch, copy the ebuild to an overlay
+# and create your own mysql-extras tarball, looking at 000_index.txt
+
+# Official test instructions:
+# USE='berkdb -cluster embedded extraengine perl ssl community' \
+# FEATURES='test userpriv -usersandbox' \
+# ebuild percona-server-X.X.XX.ebuild \
+# digest clean package
+src_test() {
+
+	local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
+	local retstatus_unit
+	local retstatus_tests
+
+	# Bug #213475 - MySQL _will_ object strenously if your machine is named
+	# localhost. Also causes weird failures.
+	[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
+
+	if ! use "minimal" ; then
+
+		if [[ $UID -eq 0 ]]; then
+			die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
+		fi
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
+
+		einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+		addpredict /this-dir-does-not-exist/t9.MYI
+
+		# Run CTest (test-units)
+		cmake-utils_src_test
+		retstatus_unit=$?
+		[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
+
+		# Ensure that parallel runs don't die
+		export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
+
+		# create directories because mysqladmin might right out of order
+		mkdir -p "${S}"/mysql-test/var-tests{,/log}
+
+		# These are failing in MySQL 5.5 for now and are believed to be
+		# false positives:
+		#
+		# main.information_schema, binlog.binlog_statement_insert_delayed,
+		# main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter
+		# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
+		# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
+		# fails due to USE=-latin1 / utf8 default
+		#
+		# main.mysql_client_test:
+		# segfaults at random under Portage only, suspect resource limits.
+		#
+		# sys_vars.plugin_dir_basic
+		# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
+		# instead of MYSQL_LIBDIR/plugin
+		#
+		# main.flush_read_lock_kill
+		# fails because of unknown system variable 'DEBUG_SYNC'
+		#
+		# main.openssl_1
+		# error message changing
+		# -mysqltest: Could not open connection 'default': 2026 SSL connection
+		#  error: ASN: bad other signature confirmation
+		# +mysqltest: Could not open connection 'default': 2026 SSL connection
+		#  error: error:00000001:lib(0):func(0):reason(1)
+		#
+
+		for t in main.mysql_client_test \
+			binlog.binlog_statement_insert_delayed main.information_schema \
+			main.mysqld--help-notwin main.flush_read_lock_kill \
+			sys_vars.plugin_dir_basic main.openssl_1 binlog.binlog_mysqlbinlog_filter \
+			perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
+			funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers; do
+				mysql-v2_disable_test  "$t" "False positives in Gentoo"
+		done
+
+		# Run mysql tests
+		pushd "${TESTDIR}"
+
+		# run mysql-test tests
+		perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
+		retstatus_tests=$?
+		[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
+
+		popd
+
+		# Cleanup is important for these testcases.
+		pkill -9 -f "${S}/ndb" 2>/dev/null
+		pkill -9 -f "${S}/sql" 2>/dev/null
+
+		failures=""
+		[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
+		[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
+
+		[[ -z "$failures" ]] || die "Test failures: $failures"
+		einfo "Tests successfully completed"
+
+	else
+
+		einfo "Skipping server tests due to minimal build."
+	fi
+}