From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-412505-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RfRGX-0008C3-Vn for garchives@archives.gentoo.org; Tue, 27 Dec 2011 07:16:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 143B021C140; Tue, 27 Dec 2011 07:15:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C243C21C140 for <gentoo-commits@lists.gentoo.org>; Tue, 27 Dec 2011 07:15:53 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 352FC1B4043 for <gentoo-commits@lists.gentoo.org>; Tue, 27 Dec 2011 07:15:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 7644E80043 for <gentoo-commits@lists.gentoo.org>; Tue, 27 Dec 2011 07:15:52 +0000 (UTC) From: "Robin H. Johnson" <robbat2@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" <robbat2@gentoo.org> Message-ID: <134509b12b21e08137cead741ea34f4342ec5558.robbat2@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/ X-VCS-Repository: proj/mysql X-VCS-Files: dev-db/mysql/Manifest dev-db/mysql/mysql-5.5.19.ebuild X-VCS-Directories: dev-db/mysql/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 134509b12b21e08137cead741ea34f4342ec5558 Date: Tue, 27 Dec 2011 07:15:52 +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 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 748641de-be6f-46da-99f4-d6a6677f044e X-Archives-Hash: 11d9ee62ac0f6cd5e26b2de88c66de5f commit: 134509b12b21e08137cead741ea34f4342ec5558 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Sat Dec 17 21:25:20 2011 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Sat Dec 17 21:25:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D= commit;h=3D134509b1 Bump. (Portage version: 2.2.0_alpha79/git/Linux x86_64, unsigned Manifest commi= t) --- dev-db/mysql/Manifest | 2 + dev-db/mysql/mysql-5.5.19.ebuild | 129 ++++++++++++++++++++++++++++++++= ++++++ 2 files changed, 131 insertions(+), 0 deletions(-) diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest index f7f88e1..cc2dcb4 100644 --- a/dev-db/mysql/Manifest +++ b/dev-db/mysql/Manifest @@ -14,6 +14,7 @@ DIST mysql-5.5.15.tar.gz 23774015 RMD160 536bdcc576583b= 2ca5b937c1db237dab0245323 DIST mysql-5.5.16.tar.gz 23816508 RMD160 c1581d56b3bf254077c709375e7ae48= a21748be1 SHA1 1a3372f9179bfc21cba0005c339a72f8e1458483 SHA256 38a88d5f3a= 4e0ab1c6722662a2c858c63fd98f0925691400282cb23f1ea29b70 DIST mysql-5.5.17.tar.gz 24213337 RMD160 6bf00da1df03e869e3cc6c18cd03d56= 34838688e SHA1 de32ea3c3bb1b9cce49230425c27e12a78f80533 SHA256 8b3c66d7dd= b2c5b5fcda28964c1fcd83128d1d48efd7fb2b23338819a50911f1 DIST mysql-5.5.18.tar.gz 24264064 RMD160 5a10dac0d875cf23e6990e46965f547= 299c0d6cb SHA1 c85f4c082026f88f9354e47e6dc35a505cc89d18 SHA256 874bc84df5= 602a6d2af013b97deda63376cb0c7b1ad98169087e979d0320f9db +DIST mysql-5.5.19.tar.gz 24296942 RMD160 cae5bbea6d527ffb899eeeced8fc411= 375c285ae SHA1 f6a3b5fb5a10f8110fd85463e1a25fb314e60c24 SHA256 7f3643b378= 101de19205d133e6fb5ce03d8394e183f4e9ac2b0de59ba57fc34f DIST mysql-5.6.2-m5.tar.gz 26137314 RMD160 e333a001e087b9fdf179c4e9f6a19= 27f2bd0fc6d SHA1 6b82c973b2c203909357e7100741b6030426fa67 SHA256 84b4f83b= 3eeff43fb9a282c03a252ee3ace1cea43ddebdfeb0ea940a687e427f DIST mysql-extras-20110713-0702Z.tar.bz2 1723462 RMD160 24127c9d9bd05325= 9fb1d9793b944d4447c21cae SHA1 4d03151f26af1ad522e1f0f0ed5eddebd665fc5c SH= A256 2b0e1ce0bf5a2bcb543e631f27bf1d6bcb15da0a966112dfe64b2591945cd605 DIST mysql-extras-20110721-0450Z.tar.bz2 1734716 RMD160 346bdcd46c5b3ec8= f839274c078fd6625f981de0 SHA1 d98382e15808b9c54a8d6563483a8ab3de59aa55 SH= A256 354c270c777b4c9b5afad1f5dcdcf400989273779fafa726c70d05277bb74a37 @@ -31,6 +32,7 @@ EBUILD mysql-5.5.15.ebuild 3916 RMD160 c477eb7200fa7444= aaaaa48699477a858d3de95f EBUILD mysql-5.5.16.ebuild 3916 RMD160 76009aec549974e273045b775534658c2= 8546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935= a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 EBUILD mysql-5.5.17.ebuild 3916 RMD160 76009aec549974e273045b775534658c2= 8546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935= a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 EBUILD mysql-5.5.18.ebuild 3916 RMD160 76009aec549974e273045b775534658c2= 8546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935= a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 +EBUILD mysql-5.5.19.ebuild 4234 RMD160 24933ce6a8d4e778ae1c06eac48040687= 14b610f SHA1 dcf95ba85ad7ea27421adabbfd73b8e4e51c611a SHA256 31a9962b85f6= 8baf3ff780f56a006a1e3293d304452b33afff0e24a66e032e01 EBUILD mysql-5.6.2_alpha_pre5.ebuild 3851 RMD160 acdea00ab14deb95ba74704= 627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f3= 08eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd MISC ChangeLog 8322 RMD160 946cac6c3c96d484ae7ce578cc8f7d43637267b6 SHA1= b62a0b6ca82d6237b206676b998214e366b1ad9d SHA256 b97b798bdbb527c482da48c9= 33d6eb2a7fcdd3d380c57ec6ce64c349d9b79771 MISC metadata.xml 1144 RMD160 2e8b432149e8467becaf1e52884437a80d31673d S= HA1 b516bc717f95725fe9e6486b6101f42e42007909 SHA256 e84ceb0d15ac0384c33c6= a6451ccf4902f7c2aa9d227b931c12c25695e4b62a2 diff --git a/dev-db/mysql/mysql-5.5.19.ebuild b/dev-db/mysql/mysql-5.5.19= .ebuild new file mode 100644 index 0000000..896d901 --- /dev/null +++ b/dev-db/mysql/mysql-5.5.19.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.= 2 2011/07/14 03:58:44 jmbsvicetto Exp $ + +EAPI=3D"4" + +MY_EXTRAS_VER=3D"20110713-0702Z" +MY_PV=3D"${PV//_alpha_pre/-m}" +MY_PV=3D"${MY_PV//_/-}" + +# Build type +BUILD=3D"cmake" + +inherit toolchain-funcs mysql-v2 +# only to make repoman happy. it is really set in the eclass +IUSE=3D"$IUSE" + +# Define the mysql-extras source +EGIT_REPO_URI=3D"git://git.overlays.gentoo.org/proj/mysql-extras.git" + +# REMEMBER: also update eclass/mysql*.eclass before committing! +KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc = ~x86 ~sparc-fbsd ~x86-fbsd" + +# When MY_EXTRAS is bumped, the index should be revised to exclude these= . +EPATCH_EXCLUDE=3D'' + +DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" +RDEPEND=3D"${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=3D'berkdb -cluster embedded extraengine perl ssl community' \ +# FEATURES=3D'test userpriv -usersandbox' \ +# ebuild mysql-X.X.XX.ebuild \ +# digest clean package +src_test() { + + local TESTDIR=3D"${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}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" + + if ! use "minimal" ; then + + if [[ $UID -eq 0 ]]; then + die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." + fi + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" + addpredict /this-dir-does-not-exist/t9.MYI + + # Run CTest (test-units) + cmake-utils_src_test + retstatus_unit=3D$? + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" + + # Ensure that parallel runs don't die + export MTR_BUILD_THREAD=3D"$((${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 + # fails due to USE=3D-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 ; 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=3D"${S}/mysql-test/var-tests" + retstatus_tests=3D$? + [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + + popd + + # Cleanup is important for these testcases. + pkill -9 -f "${S}/ndb" 2>/dev/null + pkill -9 -f "${S}/sql" 2>/dev/null + + failures=3D"" + [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" + [[ $retstatus_tests -eq 0 ]] || failures=3D"${failures} tests" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" + + [[ -z "$failures" ]] || die "Test failures: $failures" + einfo "Tests successfully completed" + + else + + einfo "Skipping server tests due to minimal build." + fi +}