commit:     cceab9b8e72b1a23e76e812406b3210c3fe19f88
Author:     Brian Evans <grknight <AT> tuffmail <DOT> com>
AuthorDate: Fri Apr 18 17:00:30 2014 +0000
Commit:     Brian Evans <grknight <AT> lavabit <DOT> com>
CommitDate: Fri Apr 18 17:00:30 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=cceab9b8

[mariadb-galera] Version bump to 10.0.7 alpha

Signed-off-by: Brian Evans <grknight <AT> tuffmail.com>

---
 dev-db/mariadb-galera/Manifest                     |   1 +
 .../mariadb-galera-10.0.7_alpha.ebuild             | 115 +++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest
index 3012b7e..6bc42ca 100644
--- a/dev-db/mariadb-galera/Manifest
+++ b/dev-db/mariadb-galera/Manifest
@@ -1,2 +1,3 @@
+DIST mariadb-galera-10.0.7.tar.gz 51553678 SHA256 
93e334af054e053ba2f323a01bb8673e9661fa21e0c4a5467313f5722b274b31 SHA512 
641bcf5572f425cb5a7e8a82ac25ec3e5faff726bd34d0ae913d6de8f6f2550ffbae29c927c705b32f0e46ac94587117cb28745e383be4b5dc815020fec7cfd2
 WHIRLPOOL 
3d96b87dbbcc8b1ef32a7581e09224f835fa9f73b73adc4639e6b01d451ae12570399456e1c4b0787b389d9db57460d931ba533a3eb0361af821c07a5b2f067a
 DIST mariadb-galera-5.5.34.tar.gz 45818386 SHA256 
ae6ebdb8d0d200e05b9dadc3d4175632c698acb217267e533a685f846f557ad4 SHA512 
78498e42f6def630e1b84a3dd948a3b4c590caf34db6a6a57b518cd178571e269393cff366c44ce30ea0cd6aee368dd904d42015fff1545147b41d1a946a2f09
 WHIRLPOOL 
fffd50e3c6b0ad81f9f2ad8fddf7fe99bbc1e11e25850d36beba2a34446bdff67ac740ce6884d4185f71b866fbaab5fe61f6af482e3f739d46a242f0892f7e8a
 DIST mariadb-galera-5.5.36.tar.gz 45903192 SHA256 
3059bd8d047987bfd55eccf784e007314d43da6ef387a674d787e408c21dd1de SHA512 
49eeeed9f3f0f48271d688754b2787ee732736b24df54747257c82532b40917cb4d416b63b1b59ef5ccc80e342c82ff86b2e83460895a54f847be1b4cc9910f4
 WHIRLPOOL 
c20f959caf4b46beeeddc01a0e60fb4baf32438048e1e15eec47e8d04371f800fa8c5751b3b95a0ba9f13d1340577c8baee4e02c59af3936e061d93d791d0641

diff --git a/dev-db/mariadb-galera/mariadb-galera-10.0.7_alpha.ebuild 
b/dev-db/mariadb-galera/mariadb-galera-10.0.7_alpha.ebuild
new file mode 100644
index 0000000..989fab2
--- /dev/null
+++ b/dev-db/mariadb-galera/mariadb-galera-10.0.7_alpha.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+MY_EXTRAS_VER="live"
+WSREP_REVISION="25"
+
+# 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="~amd64 ~x86"
+
+# 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='-cluster embedded extraengine perl ssl static-libs community' \
+# FEATURES='test userpriv -usersandbox' \
+# ebuild mariadb-galera-X.X.XX.ebuild \
+# digest clean package
+src_test() {
+
+       local TESTDIR="${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 MariaDB 10.0 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.
+               #
+               # 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 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
+               # Skip all CONNECT engine tests until upstream respondes to how 
to reference data files
+               perl mysql-test-run.pl --force 
--vardir="${S}/mysql-test/var-tests" --skip-test=connect
+               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
+}

Reply via email to