From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 667131381F3 for ; Thu, 25 Apr 2013 19:10:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07FDFE0A7E; Thu, 25 Apr 2013 19:10:31 +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 859A9E0A7E for ; Thu, 25 Apr 2013 19:10:30 +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 3BCF033DE0C for ; Thu, 25 Apr 2013 19:10:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 89693E408C for ; Thu, 25 Apr 2013 19:10:27 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <1366916903.f0cf5657c31547d3a200661a4b0286448a904120.jmbsvicetto@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb/ X-VCS-Repository: proj/mysql X-VCS-Files: dev-db/mariadb/Manifest dev-db/mariadb/mariadb-10.0.2.ebuild X-VCS-Directories: dev-db/mariadb/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: f0cf5657c31547d3a200661a4b0286448a904120 X-VCS-Branch: master Date: Thu, 25 Apr 2013 19:10:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 17c26538-55a3-4a70-854d-0fe67aa6dd7b X-Archives-Hash: a7fc74146cf9b54ecbde410ba10e97b9 commit: f0cf5657c31547d3a200661a4b0286448a904120 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) gentoo org> AuthorDate: Thu Apr 25 19:07:59 2013 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org> CommitDate: Thu Apr 25 19:08:23 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=f0cf5657 [dev-db/mariadb] Bump to 10.0.2 version. --- dev-db/mariadb/Manifest | 1 + dev-db/mariadb/mariadb-10.0.2.ebuild | 134 ++++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+), 0 deletions(-) diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index 4f66555..fde7eba 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -1,4 +1,5 @@ DIST mariadb-10.0.1.tar.gz 29144466 SHA256 352fdc396742af642f81c8fd07edb96671e751402029ebc0f1d6aa9903707ee8 SHA512 3853497ec6f76af377bff22d58d1a7de05294748d0a63abebfe53d6d037144992eae830dc1939ef350e47ec652e34fd30ce53dbb603f15cabdd8d21cf13feab5 WHIRLPOOL 38603d48d7852595e06064383326f48f06a2617af786bcd6bd23559653b3efa30513c467ea97e227bfb5f72f701539af88b53fb799040f05818deb25a4c1b18a +DIST mariadb-10.0.2.tar.gz 29889802 SHA256 8101fdbfd3130027c5edc4f896b091b6b7851cbd35ec76f9353b6bbed04bf8b9 SHA512 c5f0b6aec37331848f9e5924846d65b163df5f6b64269c120d24ea25a1f650bb33801fa68a0943653be457fd6a5d3a9a636814a4430349c3affcf45635f7cc50 WHIRLPOOL 1c462f20a602c0d7695021d70a0dd85dfa04b566e5bfc1c1d061166aa87bd8037873a2d2127a4498cd6f1352b9bf06412213449673902e4a2ca038d6d921b5c0 DIST mariadb-5.1.66.tar.gz 25017546 SHA256 c11d8e4f6bfcdea8833470a33738e0561da97dd3c63575de2b959008509ae372 SHA512 603e8f571e2446f7596776769633dcf5496f4fdea100c43222efcc74b9c8ed292a0c2944c43f7c216fd2676b59ee18bdbb5d6f38f27627551252ff25d722dce6 WHIRLPOOL 9043e5a0215773f8f7cb8b5265101f019caeb5f73bc5cc3ea2b37a67500fc149395201611cd87c3e131b562a9ad9cdd5672bc6c545cd8e71da983a4a7b6ef737 DIST mariadb-5.1.67.tar.gz 25022999 SHA256 33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8 SHA512 de4a531027860c4226ec5e023b6f8573c2eb723bacaeb14279b9609ed033dcb58fc090aef3d9babcd4a4d0817ddf6ef75589c78f63075072d31ad0b7f7c17d7d WHIRLPOOL 22696d27c3a510396c4b86db5f5a4b39bbcde89285a8460b175ef7c40b3b7541fc8f205c0b96da7f94504a7fd14bfe02efb45204efda524a2426cd25e08162ff DIST mariadb-5.2.13.tar.gz 25459987 SHA256 96887416e097f1d4a7dde70ad404e6b7d26d3d13b5d1a8451e1ea62cdd9b0ca8 SHA512 696bb5f59f25fa31fc35399c99f6f13e37a178b1e9b0155e3cf053b1232a950035132d075b0594ff611f6b59635d49d0800820c2bbd02932d16917e174717f8a WHIRLPOOL 6755eb6a841350eb69668a1679b1cb7ec3d6ac58bb793b07d07353cc1962a82c111920dc7bc8b08056a85beb7f8d371045fdeb31751a44981f7b910d52e3da74 diff --git a/dev-db/mariadb/mariadb-10.0.2.ebuild b/dev-db/mariadb/mariadb-10.0.2.ebuild new file mode 100644 index 0000000..56e4012 --- /dev/null +++ b/dev-db/mariadb/mariadb-10.0.2.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.29.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $ + +EAPI="4" +MY_EXTRAS_VER="20130120-0100Z" + +# Build system +BUILD="cmake" + +inherit toolchain-funcs mysql-v2 +# only to make repoman happy. it is really set in the eclass +IUSE="$IUSE" + +# REMEMBER: also update eclass/mysql*.eclass before committing! +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" + +# 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 +src_prepare() { + sed -i \ + -e '/^noinst_PROGRAMS/s/basic-t//g' \ + "${S}"/unittest/mytap/t/Makefile.am + mysql-v2_src_prepare +} + +# Official test instructions: +# USE='berkdb -cluster embedded extraengine perl ssl community' \ +# FEATURES='test userpriv -usersandbox' \ +# ebuild mariadb-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, funcs_1.is_triggers, funcs_1.is_tables_mysql, + # funcs_1.is_columns_mysql + # fails due to USE=-latin1 / utf8 default + # + # main.mysql_client_test, main.mysql_client_test_nonblock: + # 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) + # + # plugins.unix_socket + # fails because portage strips out the USER enviornment variable + # + + for t in main.mysql_client_test main.mysql_client_test_nonblock \ + binlog.binlog_statement_insert_delayed main.information_schema \ + main.mysqld--help main.flush_read_lock_kill \ + sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ + funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; 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 +}