1 |
commit: c079dd4adb92b5cfacee86652b874f1a3f8ec5c9 |
2 |
Author: Brian Evans <grknight <AT> tuffmail <DOT> com> |
3 |
AuthorDate: Mon Feb 10 18:45:36 2014 +0000 |
4 |
Commit: Brian Evans <grknight <AT> lavabit <DOT> com> |
5 |
CommitDate: Mon Feb 10 18:45:36 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=c079dd4a |
7 |
|
8 |
[mariadb] Version bump for 10.0 Tests pass |
9 |
|
10 |
--- |
11 |
dev-db/mariadb/Manifest | 1 + |
12 |
dev-db/mariadb/mariadb-10.0.8.ebuild | 110 +++++++++++++++++++++++++++++++++++ |
13 |
2 files changed, 111 insertions(+) |
14 |
|
15 |
diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest |
16 |
index 79661f2..28bfa2f 100644 |
17 |
--- a/dev-db/mariadb/Manifest |
18 |
+++ b/dev-db/mariadb/Manifest |
19 |
@@ -1,4 +1,5 @@ |
20 |
DIST mariadb-10.0.7.tar.gz 51365829 SHA256 71422d8106c038fa4723e6e040fa149030e193545078402f661d793f81e3fe7b SHA512 e5e827ae42594a9b071bc01864a3ab3de2e873baeacb4364e08e4e27e7dc6214fa63e481cf0521426b9a2b0899311ff8cc95682cf3dd5161c466a290921b8314 WHIRLPOOL 740453867f03286687e0ad381793e5c254285a574398a2f2003993fa554e077d1ef2b126d90ea47e39e99bb298a1f9e495ada1b99adfb82c5531dcfe8cfc0d31 |
21 |
+DIST mariadb-10.0.8.tar.gz 51547358 SHA256 1240012d6c39fcb0dbd19f0697b833da3a612c8be802accb89cee6e369c4a7a8 SHA512 8d86a474cf6998a9e1c3c5c6ccb651d401652ce176e53c681fe02c12627089e0c29f5b786f351ce0b3c02ac200b11d82c0ad1de7e06a861579991fda13c07ae9 WHIRLPOOL fe703662c6914d7f91069e6776d00093dd34c32144d8a91c1614cddf309590bbe3c9e6613cdaadacd7d45e51a1ec90ba7f96a99c1a0811d8370d926e856afb56 |
22 |
DIST mariadb-5.1.67.tar.gz 25022999 SHA256 33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8 SHA512 de4a531027860c4226ec5e023b6f8573c2eb723bacaeb14279b9609ed033dcb58fc090aef3d9babcd4a4d0817ddf6ef75589c78f63075072d31ad0b7f7c17d7d WHIRLPOOL 22696d27c3a510396c4b86db5f5a4b39bbcde89285a8460b175ef7c40b3b7541fc8f205c0b96da7f94504a7fd14bfe02efb45204efda524a2426cd25e08162ff |
23 |
DIST mariadb-5.2.14.tar.gz 25469828 SHA256 8ab3db0535ce8728b03a34799da2334c18cff467e01d122293f23aad20613fe5 SHA512 b0aded450355861bf01604ac5bd0012d0d06a699bc83017cdb6b8749ed161aca9fedb733301aab991c521b21f3c8b2fea4867a2fd038379475e720782c02e869 WHIRLPOOL 8c2dd7ee0c1df5696d6b9f5c4387b7f755258a710ac088559f0f9779b27d18e30f32de0d4212015a15b6a83de2abbdd5c4ec811fa87fe2aec547809dc0970607 |
24 |
DIST mariadb-5.3.12.tar.gz 26880808 SHA256 83a4598117cadde2bd7eac4c1398edbc86cc3aa8d3824bbee864d4b568a3a30c SHA512 d53ea48745dad5693fd6a1fd5cf502852f12f8236b8a1fb7f81ad647301d2fd08d4f2944c74de580d0a4136d6c8b49f257124fa1b234ba8f2338f2047435ef94 WHIRLPOOL b9caf1b241262b3b25728769116a94b480ae404ed3d49c8afd6eb4ad6071552e436e4b9483e7f5d0113bc3127eaf04ceaa80d455486e7a92d00820b6b298c460 |
25 |
|
26 |
diff --git a/dev-db/mariadb/mariadb-10.0.8.ebuild b/dev-db/mariadb/mariadb-10.0.8.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..da480fd |
29 |
--- /dev/null |
30 |
+++ b/dev-db/mariadb/mariadb-10.0.8.ebuild |
31 |
@@ -0,0 +1,110 @@ |
32 |
+# Copyright 1999-2013 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Header: $ |
35 |
+ |
36 |
+EAPI="4" |
37 |
+MY_EXTRAS_VER="live" |
38 |
+ |
39 |
+# Build system |
40 |
+BUILD="cmake" |
41 |
+ |
42 |
+inherit toolchain-funcs mysql-v2 |
43 |
+# only to make repoman happy. it is really set in the eclass |
44 |
+IUSE="$IUSE" |
45 |
+ |
46 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
47 |
+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" |
48 |
+ |
49 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
50 |
+EPATCH_EXCLUDE='' |
51 |
+ |
52 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
53 |
+RDEPEND="${RDEPEND}" |
54 |
+ |
55 |
+# Official test instructions: |
56 |
+# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
57 |
+# FEATURES='test userpriv -usersandbox' \ |
58 |
+# ebuild mariadb-X.X.XX.ebuild \ |
59 |
+# digest clean package |
60 |
+src_test() { |
61 |
+ |
62 |
+ local TESTDIR="${BUILD_DIR}/mysql-test" |
63 |
+ local retstatus_unit |
64 |
+ local retstatus_tests |
65 |
+ |
66 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
67 |
+ # localhost. Also causes weird failures. |
68 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
69 |
+ |
70 |
+ if ! use "minimal" ; then |
71 |
+ |
72 |
+ if [[ $UID -eq 0 ]]; then |
73 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
74 |
+ fi |
75 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
76 |
+ |
77 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
78 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
79 |
+ |
80 |
+ # Run CTest (test-units) |
81 |
+ cmake-utils_src_test |
82 |
+ retstatus_unit=$? |
83 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
84 |
+ |
85 |
+ # Ensure that parallel runs don't die |
86 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
87 |
+ |
88 |
+ # create directories because mysqladmin might right out of order |
89 |
+ mkdir -p "${S}"/mysql-test/var-tests{,/log} |
90 |
+ |
91 |
+ # These are failing in MariaDB 10.0 for now and are believed to be |
92 |
+ # false positives: |
93 |
+ # |
94 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
95 |
+ # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
96 |
+ # funcs_1.is_columns_mysql |
97 |
+ # fails due to USE=-latin1 / utf8 default |
98 |
+ # |
99 |
+ # main.mysql_client_test, main.mysql_client_test_nonblock: |
100 |
+ # segfaults at random under Portage only, suspect resource limits. |
101 |
+ # |
102 |
+ # plugins.unix_socket |
103 |
+ # fails because portage strips out the USER enviornment variable |
104 |
+ # |
105 |
+ |
106 |
+ for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
107 |
+ binlog.binlog_statement_insert_delayed main.information_schema \ |
108 |
+ main.mysqld--help plugins.unix_socket \ |
109 |
+ funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
110 |
+ mysql-v2_disable_test "$t" "False positives in Gentoo" |
111 |
+ done |
112 |
+ |
113 |
+ # Run mysql tests |
114 |
+ pushd "${TESTDIR}" |
115 |
+ |
116 |
+ # run mysql-test tests |
117 |
+ # Skip all CONNECT engine tests until upstream respondes to how to reference data files |
118 |
+ perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" --skip-test=connect |
119 |
+ retstatus_tests=$? |
120 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
121 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
122 |
+ |
123 |
+ popd |
124 |
+ |
125 |
+ # Cleanup is important for these testcases. |
126 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
127 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
128 |
+ |
129 |
+ failures="" |
130 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
131 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
132 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
133 |
+ |
134 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
135 |
+ einfo "Tests successfully completed" |
136 |
+ |
137 |
+ else |
138 |
+ |
139 |
+ einfo "Skipping server tests due to minimal build." |
140 |
+ fi |
141 |
+} |