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