1 |
commit: 9cfaa76180238afde147bf497e348561fd080003 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 02:11:47 2014 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 02:11:47 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=9cfaa761 |
7 |
|
8 |
Clean-up mariadb versions. |
9 |
|
10 |
--- |
11 |
dev-db/mariadb/mariadb-10.0.6.ebuild | 132 ------------------------------- |
12 |
dev-db/mariadb/mariadb-5.5.32-r1.ebuild | 128 ------------------------------ |
13 |
dev-db/mariadb/mariadb-5.5.32.ebuild | 128 ------------------------------ |
14 |
dev-db/mariadb/mariadb-5.5.33a-r1.ebuild | 128 ------------------------------ |
15 |
dev-db/mariadb/mariadb-5.5.34.ebuild | 131 ------------------------------ |
16 |
5 files changed, 647 deletions(-) |
17 |
|
18 |
diff --git a/dev-db/mariadb/mariadb-10.0.6.ebuild b/dev-db/mariadb/mariadb-10.0.6.ebuild |
19 |
deleted file mode 100644 |
20 |
index cbc4c51..0000000 |
21 |
--- a/dev-db/mariadb/mariadb-10.0.6.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,132 +0,0 @@ |
24 |
-# Copyright 1999-2013 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.29.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $ |
27 |
- |
28 |
-EAPI="4" |
29 |
-MY_EXTRAS_VER="live" |
30 |
- |
31 |
-# Build system |
32 |
-BUILD="cmake" |
33 |
- |
34 |
-inherit toolchain-funcs mysql-v2 |
35 |
-# only to make repoman happy. it is really set in the eclass |
36 |
-IUSE="$IUSE" |
37 |
- |
38 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
39 |
-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" |
40 |
- |
41 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
42 |
-EPATCH_EXCLUDE='' |
43 |
- |
44 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
45 |
-RDEPEND="${RDEPEND}" |
46 |
- |
47 |
-# Official test instructions: |
48 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
49 |
-# FEATURES='test userpriv -usersandbox' \ |
50 |
-# ebuild mariadb-X.X.XX.ebuild \ |
51 |
-# digest clean package |
52 |
-src_test() { |
53 |
- |
54 |
- local TESTDIR="${BUILD_DIR}/mysql-test" |
55 |
- local retstatus_unit |
56 |
- local retstatus_tests |
57 |
- |
58 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
59 |
- # localhost. Also causes weird failures. |
60 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
61 |
- |
62 |
- if ! use "minimal" ; then |
63 |
- |
64 |
- if [[ $UID -eq 0 ]]; then |
65 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
66 |
- fi |
67 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
68 |
- |
69 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
70 |
- addpredict /this-dir-does-not-exist/t9.MYI |
71 |
- |
72 |
- # Run CTest (test-units) |
73 |
- cmake-utils_src_test |
74 |
- retstatus_unit=$? |
75 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
76 |
- |
77 |
- # Ensure that parallel runs don't die |
78 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
79 |
- |
80 |
- # create directories because mysqladmin might right out of order |
81 |
- mkdir -p "${S}"/mysql-test/var-tests{,/log} |
82 |
- |
83 |
- # These are failing in MySQL 5.5 for now and are believed to be |
84 |
- # false positives: |
85 |
- # |
86 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
87 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
88 |
- # funcs_1.is_columns_mysql |
89 |
- # fails due to USE=-latin1 / utf8 default |
90 |
- # |
91 |
- # main.mysql_client_test, main.mysql_client_test_nonblock: |
92 |
- # segfaults at random under Portage only, suspect resource limits. |
93 |
- # |
94 |
- # sys_vars.plugin_dir_basic |
95 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
96 |
- # instead of MYSQL_LIBDIR/plugin |
97 |
- # |
98 |
- # main.flush_read_lock_kill |
99 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
100 |
- # |
101 |
- # main.openssl_1 |
102 |
- # error message changing |
103 |
- # -mysqltest: Could not open connection 'default': 2026 SSL connection |
104 |
- # error: ASN: bad other signature confirmation |
105 |
- # +mysqltest: Could not open connection 'default': 2026 SSL connection |
106 |
- # error: error:00000001:lib(0):func(0):reason(1) |
107 |
- # |
108 |
- # plugins.unix_socket |
109 |
- # fails because portage strips out the USER enviornment variable |
110 |
- # |
111 |
- |
112 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
113 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
114 |
- main.mysqld--help main.flush_read_lock_kill \ |
115 |
- sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ |
116 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
117 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
118 |
- done |
119 |
- |
120 |
- for t in plugins.show_all_plugins roles.create_and_drop_role_invalid_user_table ; do |
121 |
- mysql-v2_disable_test "$t" "False postives due to hard coded versions" |
122 |
- done |
123 |
- |
124 |
- # Confirmed with upstream |
125 |
- mysql-v2_disable_test "rpl.rpl_row_func003" "Random failure with GTID" |
126 |
- |
127 |
- # Run mysql tests |
128 |
- pushd "${TESTDIR}" |
129 |
- |
130 |
- # run mysql-test tests |
131 |
- # Skip all CONNECT engine tests until upstream respondes to how to reference data files |
132 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" --skip-test=connect |
133 |
- retstatus_tests=$? |
134 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
135 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
136 |
- |
137 |
- popd |
138 |
- |
139 |
- # Cleanup is important for these testcases. |
140 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
141 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
142 |
- |
143 |
- failures="" |
144 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
145 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
146 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
147 |
- |
148 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
149 |
- einfo "Tests successfully completed" |
150 |
- |
151 |
- else |
152 |
- |
153 |
- einfo "Skipping server tests due to minimal build." |
154 |
- fi |
155 |
-} |
156 |
|
157 |
diff --git a/dev-db/mariadb/mariadb-5.5.32-r1.ebuild b/dev-db/mariadb/mariadb-5.5.32-r1.ebuild |
158 |
deleted file mode 100644 |
159 |
index 5c14476..0000000 |
160 |
--- a/dev-db/mariadb/mariadb-5.5.32-r1.ebuild |
161 |
+++ /dev/null |
162 |
@@ -1,128 +0,0 @@ |
163 |
-# Copyright 1999-2013 Gentoo Foundation |
164 |
-# Distributed under the terms of the GNU General Public License v2 |
165 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.29.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $ |
166 |
- |
167 |
-EAPI="4" |
168 |
-MY_EXTRAS_VER="20140121-1138Z" |
169 |
- |
170 |
-# Build system |
171 |
-BUILD="cmake" |
172 |
- |
173 |
-inherit toolchain-funcs mysql-v2 |
174 |
-# only to make repoman happy. it is really set in the eclass |
175 |
-IUSE="$IUSE" |
176 |
- |
177 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
178 |
-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" |
179 |
- |
180 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
181 |
-EPATCH_EXCLUDE='' |
182 |
- |
183 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
184 |
-RDEPEND="${RDEPEND}" |
185 |
- |
186 |
-# Please do not add a naive src_unpack to this ebuild |
187 |
-# If you want to add a single patch, copy the ebuild to an overlay |
188 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
189 |
- |
190 |
-# Official test instructions: |
191 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
192 |
-# FEATURES='test userpriv -usersandbox' \ |
193 |
-# ebuild mariadb-X.X.XX.ebuild \ |
194 |
-# digest clean package |
195 |
-src_test() { |
196 |
- |
197 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
198 |
- local retstatus_unit |
199 |
- local retstatus_tests |
200 |
- |
201 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
202 |
- # localhost. Also causes weird failures. |
203 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
204 |
- |
205 |
- if ! use "minimal" ; then |
206 |
- |
207 |
- if [[ $UID -eq 0 ]]; then |
208 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
209 |
- fi |
210 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
211 |
- |
212 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
213 |
- addpredict /this-dir-does-not-exist/t9.MYI |
214 |
- |
215 |
- # Run CTest (test-units) |
216 |
- cmake-utils_src_test |
217 |
- retstatus_unit=$? |
218 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
219 |
- |
220 |
- # Ensure that parallel runs don't die |
221 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
222 |
- |
223 |
- # create directories because mysqladmin might right out of order |
224 |
- mkdir -p "${S}"/mysql-test/var-tests{,/log} |
225 |
- |
226 |
- # These are failing in MySQL 5.5 for now and are believed to be |
227 |
- # false positives: |
228 |
- # |
229 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
230 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
231 |
- # funcs_1.is_columns_mysql |
232 |
- # fails due to USE=-latin1 / utf8 default |
233 |
- # |
234 |
- # main.mysql_client_test, main.mysql_client_test_nonblock: |
235 |
- # segfaults at random under Portage only, suspect resource limits. |
236 |
- # |
237 |
- # sys_vars.plugin_dir_basic |
238 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
239 |
- # instead of MYSQL_LIBDIR/plugin |
240 |
- # |
241 |
- # main.flush_read_lock_kill |
242 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
243 |
- # |
244 |
- # main.openssl_1 |
245 |
- # error message changing |
246 |
- # -mysqltest: Could not open connection 'default': 2026 SSL connection |
247 |
- # error: ASN: bad other signature confirmation |
248 |
- # +mysqltest: Could not open connection 'default': 2026 SSL connection |
249 |
- # error: error:00000001:lib(0):func(0):reason(1) |
250 |
- # |
251 |
- # plugins.unix_socket |
252 |
- # fails because portage strips out the USER enviornment variable |
253 |
- # |
254 |
- |
255 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
256 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
257 |
- main.mysqld--help main.flush_read_lock_kill \ |
258 |
- sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ |
259 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
260 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
261 |
- done |
262 |
- |
263 |
- # Run mysql tests |
264 |
- pushd "${TESTDIR}" |
265 |
- |
266 |
- # run mysql-test tests |
267 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
268 |
- retstatus_tests=$? |
269 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
270 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
271 |
- |
272 |
- popd |
273 |
- |
274 |
- # Cleanup is important for these testcases. |
275 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
276 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
277 |
- |
278 |
- failures="" |
279 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
280 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
281 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
282 |
- |
283 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
284 |
- einfo "Tests successfully completed" |
285 |
- |
286 |
- else |
287 |
- |
288 |
- einfo "Skipping server tests due to minimal build." |
289 |
- fi |
290 |
-} |
291 |
|
292 |
diff --git a/dev-db/mariadb/mariadb-5.5.32.ebuild b/dev-db/mariadb/mariadb-5.5.32.ebuild |
293 |
deleted file mode 100644 |
294 |
index 7e94379..0000000 |
295 |
--- a/dev-db/mariadb/mariadb-5.5.32.ebuild |
296 |
+++ /dev/null |
297 |
@@ -1,128 +0,0 @@ |
298 |
-# Copyright 1999-2013 Gentoo Foundation |
299 |
-# Distributed under the terms of the GNU General Public License v2 |
300 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.29.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $ |
301 |
- |
302 |
-EAPI="4" |
303 |
-MY_EXTRAS_VER="20130120-0100Z" |
304 |
- |
305 |
-# Build system |
306 |
-BUILD="cmake" |
307 |
- |
308 |
-inherit toolchain-funcs mysql-v2 |
309 |
-# only to make repoman happy. it is really set in the eclass |
310 |
-IUSE="$IUSE" |
311 |
- |
312 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
313 |
-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" |
314 |
- |
315 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
316 |
-EPATCH_EXCLUDE='' |
317 |
- |
318 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
319 |
-RDEPEND="${RDEPEND}" |
320 |
- |
321 |
-# Please do not add a naive src_unpack to this ebuild |
322 |
-# If you want to add a single patch, copy the ebuild to an overlay |
323 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
324 |
- |
325 |
-# Official test instructions: |
326 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
327 |
-# FEATURES='test userpriv -usersandbox' \ |
328 |
-# ebuild mariadb-X.X.XX.ebuild \ |
329 |
-# digest clean package |
330 |
-src_test() { |
331 |
- |
332 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
333 |
- local retstatus_unit |
334 |
- local retstatus_tests |
335 |
- |
336 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
337 |
- # localhost. Also causes weird failures. |
338 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
339 |
- |
340 |
- if ! use "minimal" ; then |
341 |
- |
342 |
- if [[ $UID -eq 0 ]]; then |
343 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
344 |
- fi |
345 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
346 |
- |
347 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
348 |
- addpredict /this-dir-does-not-exist/t9.MYI |
349 |
- |
350 |
- # Run CTest (test-units) |
351 |
- cmake-utils_src_test |
352 |
- retstatus_unit=$? |
353 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
354 |
- |
355 |
- # Ensure that parallel runs don't die |
356 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
357 |
- |
358 |
- # create directories because mysqladmin might right out of order |
359 |
- mkdir -p "${S}"/mysql-test/var-tests{,/log} |
360 |
- |
361 |
- # These are failing in MySQL 5.5 for now and are believed to be |
362 |
- # false positives: |
363 |
- # |
364 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
365 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
366 |
- # funcs_1.is_columns_mysql |
367 |
- # fails due to USE=-latin1 / utf8 default |
368 |
- # |
369 |
- # main.mysql_client_test, main.mysql_client_test_nonblock: |
370 |
- # segfaults at random under Portage only, suspect resource limits. |
371 |
- # |
372 |
- # sys_vars.plugin_dir_basic |
373 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
374 |
- # instead of MYSQL_LIBDIR/plugin |
375 |
- # |
376 |
- # main.flush_read_lock_kill |
377 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
378 |
- # |
379 |
- # main.openssl_1 |
380 |
- # error message changing |
381 |
- # -mysqltest: Could not open connection 'default': 2026 SSL connection |
382 |
- # error: ASN: bad other signature confirmation |
383 |
- # +mysqltest: Could not open connection 'default': 2026 SSL connection |
384 |
- # error: error:00000001:lib(0):func(0):reason(1) |
385 |
- # |
386 |
- # plugins.unix_socket |
387 |
- # fails because portage strips out the USER enviornment variable |
388 |
- # |
389 |
- |
390 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
391 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
392 |
- main.mysqld--help main.flush_read_lock_kill \ |
393 |
- sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ |
394 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
395 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
396 |
- done |
397 |
- |
398 |
- # Run mysql tests |
399 |
- pushd "${TESTDIR}" |
400 |
- |
401 |
- # run mysql-test tests |
402 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
403 |
- retstatus_tests=$? |
404 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
405 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
406 |
- |
407 |
- popd |
408 |
- |
409 |
- # Cleanup is important for these testcases. |
410 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
411 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
412 |
- |
413 |
- failures="" |
414 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
415 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
416 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
417 |
- |
418 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
419 |
- einfo "Tests successfully completed" |
420 |
- |
421 |
- else |
422 |
- |
423 |
- einfo "Skipping server tests due to minimal build." |
424 |
- fi |
425 |
-} |
426 |
|
427 |
diff --git a/dev-db/mariadb/mariadb-5.5.33a-r1.ebuild b/dev-db/mariadb/mariadb-5.5.33a-r1.ebuild |
428 |
deleted file mode 100644 |
429 |
index 57edaca..0000000 |
430 |
--- a/dev-db/mariadb/mariadb-5.5.33a-r1.ebuild |
431 |
+++ /dev/null |
432 |
@@ -1,128 +0,0 @@ |
433 |
-# Copyright 1999-2013 Gentoo Foundation |
434 |
-# Distributed under the terms of the GNU General Public License v2 |
435 |
-# $Header: $ |
436 |
- |
437 |
-EAPI="4" |
438 |
-MY_EXTRAS_VER="live" |
439 |
- |
440 |
-# Build system |
441 |
-BUILD="cmake" |
442 |
- |
443 |
-inherit toolchain-funcs mysql-v2 |
444 |
-# only to make repoman happy. it is really set in the eclass |
445 |
-IUSE="$IUSE" |
446 |
- |
447 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
448 |
-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" |
449 |
- |
450 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
451 |
-EPATCH_EXCLUDE='' |
452 |
- |
453 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
454 |
-RDEPEND="${RDEPEND}" |
455 |
- |
456 |
-# Please do not add a naive src_unpack to this ebuild |
457 |
-# If you want to add a single patch, copy the ebuild to an overlay |
458 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
459 |
- |
460 |
-# Official test instructions: |
461 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
462 |
-# FEATURES='test userpriv -usersandbox' \ |
463 |
-# ebuild mariadb-X.X.XX.ebuild \ |
464 |
-# digest clean package |
465 |
-src_test() { |
466 |
- |
467 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
468 |
- local retstatus_unit |
469 |
- local retstatus_tests |
470 |
- |
471 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
472 |
- # localhost. Also causes weird failures. |
473 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
474 |
- |
475 |
- if ! use "minimal" ; then |
476 |
- |
477 |
- if [[ $UID -eq 0 ]]; then |
478 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
479 |
- fi |
480 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
481 |
- |
482 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
483 |
- addpredict /this-dir-does-not-exist/t9.MYI |
484 |
- |
485 |
- # Run CTest (test-units) |
486 |
- cmake-utils_src_test |
487 |
- retstatus_unit=$? |
488 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
489 |
- |
490 |
- # Ensure that parallel runs don't die |
491 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
492 |
- |
493 |
- # create directories because mysqladmin might right out of order |
494 |
- mkdir -p "${S}"/mysql-test/var-tests{,/log} |
495 |
- |
496 |
- # These are failing in MySQL 5.5 for now and are believed to be |
497 |
- # false positives: |
498 |
- # |
499 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
500 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
501 |
- # funcs_1.is_columns_mysql |
502 |
- # fails due to USE=-latin1 / utf8 default |
503 |
- # |
504 |
- # main.mysql_client_test, main.mysql_client_test_nonblock: |
505 |
- # segfaults at random under Portage only, suspect resource limits. |
506 |
- # |
507 |
- # sys_vars.plugin_dir_basic |
508 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
509 |
- # instead of MYSQL_LIBDIR/plugin |
510 |
- # |
511 |
- # main.flush_read_lock_kill |
512 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
513 |
- # |
514 |
- # main.openssl_1 |
515 |
- # error message changing |
516 |
- # -mysqltest: Could not open connection 'default': 2026 SSL connection |
517 |
- # error: ASN: bad other signature confirmation |
518 |
- # +mysqltest: Could not open connection 'default': 2026 SSL connection |
519 |
- # error: error:00000001:lib(0):func(0):reason(1) |
520 |
- # |
521 |
- # plugins.unix_socket |
522 |
- # fails because portage strips out the USER enviornment variable |
523 |
- # |
524 |
- |
525 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
526 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
527 |
- main.mysqld--help main.flush_read_lock_kill \ |
528 |
- sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ |
529 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
530 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
531 |
- done |
532 |
- |
533 |
- # Run mysql tests |
534 |
- pushd "${TESTDIR}" |
535 |
- |
536 |
- # run mysql-test tests |
537 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
538 |
- retstatus_tests=$? |
539 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
540 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
541 |
- |
542 |
- popd |
543 |
- |
544 |
- # Cleanup is important for these testcases. |
545 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
546 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
547 |
- |
548 |
- failures="" |
549 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
550 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
551 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
552 |
- |
553 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
554 |
- einfo "Tests successfully completed" |
555 |
- |
556 |
- else |
557 |
- |
558 |
- einfo "Skipping server tests due to minimal build." |
559 |
- fi |
560 |
-} |
561 |
|
562 |
diff --git a/dev-db/mariadb/mariadb-5.5.34.ebuild b/dev-db/mariadb/mariadb-5.5.34.ebuild |
563 |
deleted file mode 100644 |
564 |
index 580a6ac..0000000 |
565 |
--- a/dev-db/mariadb/mariadb-5.5.34.ebuild |
566 |
+++ /dev/null |
567 |
@@ -1,131 +0,0 @@ |
568 |
-# Copyright 1999-2013 Gentoo Foundation |
569 |
-# Distributed under the terms of the GNU General Public License v2 |
570 |
-# $Header: $ |
571 |
- |
572 |
-EAPI="4" |
573 |
-MY_EXTRAS_VER="20140121-1138Z" |
574 |
- |
575 |
-# Build system |
576 |
-BUILD="cmake" |
577 |
- |
578 |
-inherit toolchain-funcs mysql-v2 |
579 |
-# only to make repoman happy. it is really set in the eclass |
580 |
-IUSE="$IUSE" |
581 |
- |
582 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
583 |
-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" |
584 |
- |
585 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
586 |
-EPATCH_EXCLUDE='' |
587 |
- |
588 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
589 |
-RDEPEND="${RDEPEND}" |
590 |
- |
591 |
-# Please do not add a naive src_unpack to this ebuild |
592 |
-# If you want to add a single patch, copy the ebuild to an overlay |
593 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
594 |
- |
595 |
-# Official test instructions: |
596 |
-# USE='-cluster embedded extraengine perl ssl community' \ |
597 |
-# FEATURES='test userpriv -usersandbox' \ |
598 |
-# ebuild mariadb-X.X.XX.ebuild \ |
599 |
-# digest clean package |
600 |
-src_test() { |
601 |
- |
602 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
603 |
- local retstatus_unit |
604 |
- local retstatus_tests |
605 |
- |
606 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
607 |
- # localhost. Also causes weird failures. |
608 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
609 |
- |
610 |
- if ! use "minimal" ; then |
611 |
- |
612 |
- if [[ $UID -eq 0 ]]; then |
613 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
614 |
- fi |
615 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
616 |
- |
617 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
618 |
- addpredict /this-dir-does-not-exist/t9.MYI |
619 |
- |
620 |
- # Run CTest (test-units) |
621 |
- cmake-utils_src_test |
622 |
- retstatus_unit=$? |
623 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
624 |
- |
625 |
- # Ensure that parallel runs don't die |
626 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
627 |
- |
628 |
- # create directories because mysqladmin might right out of order |
629 |
- mkdir -p "${S}"/mysql-test/var-tests{,/log} |
630 |
- |
631 |
- # create symlink for the tests to find mysql_tzinfo_to_sql |
632 |
- ln -s "${CMAKE_BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/" |
633 |
- |
634 |
- # These are failing in MySQL 5.5 for now and are believed to be |
635 |
- # false positives: |
636 |
- # |
637 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
638 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
639 |
- # funcs_1.is_columns_mysql |
640 |
- # fails due to USE=-latin1 / utf8 default |
641 |
- # |
642 |
- # main.mysql_client_test, main.mysql_client_test_nonblock: |
643 |
- # segfaults at random under Portage only, suspect resource limits. |
644 |
- # |
645 |
- # sys_vars.plugin_dir_basic |
646 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
647 |
- # instead of MYSQL_LIBDIR/plugin |
648 |
- # |
649 |
- # main.flush_read_lock_kill |
650 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
651 |
- # |
652 |
- # main.openssl_1 |
653 |
- # error message changing |
654 |
- # -mysqltest: Could not open connection 'default': 2026 SSL connection |
655 |
- # error: ASN: bad other signature confirmation |
656 |
- # +mysqltest: Could not open connection 'default': 2026 SSL connection |
657 |
- # error: error:00000001:lib(0):func(0):reason(1) |
658 |
- # |
659 |
- # plugins.unix_socket |
660 |
- # fails because portage strips out the USER enviornment variable |
661 |
- # |
662 |
- |
663 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
664 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
665 |
- main.mysqld--help main.flush_read_lock_kill \ |
666 |
- sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ |
667 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
668 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
669 |
- done |
670 |
- |
671 |
- # Run mysql tests |
672 |
- pushd "${TESTDIR}" |
673 |
- |
674 |
- # run mysql-test tests |
675 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
676 |
- retstatus_tests=$? |
677 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
678 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
679 |
- |
680 |
- popd |
681 |
- |
682 |
- # Cleanup is important for these testcases. |
683 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
684 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
685 |
- |
686 |
- failures="" |
687 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
688 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
689 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
690 |
- |
691 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
692 |
- einfo "Tests successfully completed" |
693 |
- |
694 |
- else |
695 |
- |
696 |
- einfo "Skipping server tests due to minimal build." |
697 |
- fi |
698 |
-} |