Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
Date: Sat, 01 Feb 2014 02:11:00
Message-Id: 1391220632.3ef414614a5676f950a60c6a081387d7b101b90a.jmbsvicetto@gentoo
1 commit: 3ef414614a5676f950a60c6a081387d7b101b90a
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 1 02:10:32 2014 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 1 02:10:32 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=3ef41461
7
8 Clean-up mysql versions.
9
10 ---
11 dev-db/mysql/mysql-5.5.32.ebuild | 129 ----------------------------
12 dev-db/mysql/mysql-5.5.33.ebuild | 129 ----------------------------
13 dev-db/mysql/mysql-5.5.34.ebuild | 129 ----------------------------
14 dev-db/mysql/mysql-5.6.12.ebuild | 121 --------------------------
15 dev-db/mysql/mysql-5.6.13.ebuild | 119 -------------------------
16 dev-db/mysql/mysql-5.6.14.ebuild | 119 -------------------------
17 dev-db/mysql/mysql-5.7.1_alpha_pre11.ebuild | 119 -------------------------
18 7 files changed, 865 deletions(-)
19
20 diff --git a/dev-db/mysql/mysql-5.5.32.ebuild b/dev-db/mysql/mysql-5.5.32.ebuild
21 deleted file mode 100644
22 index c8ba059..0000000
23 --- a/dev-db/mysql/mysql-5.5.32.ebuild
24 +++ /dev/null
25 @@ -1,129 +0,0 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.32.ebuild,v 1.1 2013/06/06 17:06:28 robbat2 Exp $
29 -
30 -EAPI="4"
31 -
32 -MY_EXTRAS_VER="20130602-1946Z"
33 -MY_PV="${PV//_alpha_pre/-m}"
34 -MY_PV="${MY_PV//_/-}"
35 -
36 -# Build type
37 -BUILD="cmake"
38 -
39 -inherit toolchain-funcs mysql-v2
40 -# only to make repoman happy. it is really set in the eclass
41 -IUSE="$IUSE"
42 -
43 -# Define the mysql-extras source
44 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
45 -
46 -# REMEMBER: also update eclass/mysql*.eclass before committing!
47 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
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 -# Please do not add a naive src_unpack to this ebuild
56 -# If you want to add a single patch, copy the ebuild to an overlay
57 -# and create your own mysql-extras tarball, looking at 000_index.txt
58 -
59 -# Official test instructions:
60 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
61 -# FEATURES='test userpriv -usersandbox' \
62 -# ebuild mysql-X.X.XX.ebuild \
63 -# digest clean package
64 -src_test() {
65 -
66 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
67 - local retstatus_unit
68 - local retstatus_tests
69 -
70 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
71 - # localhost. Also causes weird failures.
72 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
73 -
74 - if ! use "minimal" ; then
75 -
76 - if [[ $UID -eq 0 ]]; then
77 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
78 - fi
79 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
80 -
81 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
82 - addpredict /this-dir-does-not-exist/t9.MYI
83 -
84 - # Run CTest (test-units)
85 - cmake-utils_src_test
86 - retstatus_unit=$?
87 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
88 -
89 - # Ensure that parallel runs don't die
90 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
91 -
92 - # create directories because mysqladmin might right out of order
93 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
94 -
95 - # These are failing in MySQL 5.5 for now and are believed to be
96 - # false positives:
97 - #
98 - # main.information_schema, binlog.binlog_statement_insert_delayed,
99 - # main.mysqld--help-notwin
100 - # fails due to USE=-latin1 / utf8 default
101 - #
102 - # main.mysql_client_test:
103 - # segfaults at random under Portage only, suspect resource limits.
104 - #
105 - # sys_vars.plugin_dir_basic
106 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
107 - # instead of MYSQL_LIBDIR/plugin
108 - #
109 - # main.flush_read_lock_kill
110 - # fails because of unknown system variable 'DEBUG_SYNC'
111 - #
112 - # main.openssl_1
113 - # error message changing
114 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
115 - # error: ASN: bad other signature confirmation
116 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
117 - # error: error:00000001:lib(0):func(0):reason(1)
118 - #
119 -
120 - for t in main.mysql_client_test \
121 - binlog.binlog_statement_insert_delayed main.information_schema \
122 - main.mysqld--help-notwin main.flush_read_lock_kill \
123 - sys_vars.plugin_dir_basic main.openssl_1 ; do
124 - mysql-v2_disable_test "$t" "False positives in Gentoo"
125 - done
126 -
127 - # Run mysql tests
128 - pushd "${TESTDIR}"
129 -
130 - # run mysql-test tests
131 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
132 - retstatus_tests=$?
133 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
134 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
135 -
136 - popd
137 -
138 - # Cleanup is important for these testcases.
139 - pkill -9 -f "${S}/ndb" 2>/dev/null
140 - pkill -9 -f "${S}/sql" 2>/dev/null
141 -
142 - failures=""
143 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
144 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
145 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
146 -
147 - [[ -z "$failures" ]] || die "Test failures: $failures"
148 - einfo "Tests successfully completed"
149 -
150 - else
151 -
152 - einfo "Skipping server tests due to minimal build."
153 - fi
154 -}
155
156 diff --git a/dev-db/mysql/mysql-5.5.33.ebuild b/dev-db/mysql/mysql-5.5.33.ebuild
157 deleted file mode 100644
158 index c8ba059..0000000
159 --- a/dev-db/mysql/mysql-5.5.33.ebuild
160 +++ /dev/null
161 @@ -1,129 +0,0 @@
162 -# Copyright 1999-2013 Gentoo Foundation
163 -# Distributed under the terms of the GNU General Public License v2
164 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.32.ebuild,v 1.1 2013/06/06 17:06:28 robbat2 Exp $
165 -
166 -EAPI="4"
167 -
168 -MY_EXTRAS_VER="20130602-1946Z"
169 -MY_PV="${PV//_alpha_pre/-m}"
170 -MY_PV="${MY_PV//_/-}"
171 -
172 -# Build type
173 -BUILD="cmake"
174 -
175 -inherit toolchain-funcs mysql-v2
176 -# only to make repoman happy. it is really set in the eclass
177 -IUSE="$IUSE"
178 -
179 -# Define the mysql-extras source
180 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
181 -
182 -# REMEMBER: also update eclass/mysql*.eclass before committing!
183 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
184 -
185 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
186 -EPATCH_EXCLUDE=''
187 -
188 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
189 -RDEPEND="${RDEPEND}"
190 -
191 -# Please do not add a naive src_unpack to this ebuild
192 -# If you want to add a single patch, copy the ebuild to an overlay
193 -# and create your own mysql-extras tarball, looking at 000_index.txt
194 -
195 -# Official test instructions:
196 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
197 -# FEATURES='test userpriv -usersandbox' \
198 -# ebuild mysql-X.X.XX.ebuild \
199 -# digest clean package
200 -src_test() {
201 -
202 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
203 - local retstatus_unit
204 - local retstatus_tests
205 -
206 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
207 - # localhost. Also causes weird failures.
208 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
209 -
210 - if ! use "minimal" ; then
211 -
212 - if [[ $UID -eq 0 ]]; then
213 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
214 - fi
215 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
216 -
217 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
218 - addpredict /this-dir-does-not-exist/t9.MYI
219 -
220 - # Run CTest (test-units)
221 - cmake-utils_src_test
222 - retstatus_unit=$?
223 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
224 -
225 - # Ensure that parallel runs don't die
226 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
227 -
228 - # create directories because mysqladmin might right out of order
229 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
230 -
231 - # These are failing in MySQL 5.5 for now and are believed to be
232 - # false positives:
233 - #
234 - # main.information_schema, binlog.binlog_statement_insert_delayed,
235 - # main.mysqld--help-notwin
236 - # fails due to USE=-latin1 / utf8 default
237 - #
238 - # main.mysql_client_test:
239 - # segfaults at random under Portage only, suspect resource limits.
240 - #
241 - # sys_vars.plugin_dir_basic
242 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
243 - # instead of MYSQL_LIBDIR/plugin
244 - #
245 - # main.flush_read_lock_kill
246 - # fails because of unknown system variable 'DEBUG_SYNC'
247 - #
248 - # main.openssl_1
249 - # error message changing
250 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
251 - # error: ASN: bad other signature confirmation
252 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
253 - # error: error:00000001:lib(0):func(0):reason(1)
254 - #
255 -
256 - for t in main.mysql_client_test \
257 - binlog.binlog_statement_insert_delayed main.information_schema \
258 - main.mysqld--help-notwin main.flush_read_lock_kill \
259 - sys_vars.plugin_dir_basic main.openssl_1 ; 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/mysql/mysql-5.5.34.ebuild b/dev-db/mysql/mysql-5.5.34.ebuild
293 deleted file mode 100644
294 index c8ba059..0000000
295 --- a/dev-db/mysql/mysql-5.5.34.ebuild
296 +++ /dev/null
297 @@ -1,129 +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/mysql/mysql-5.5.32.ebuild,v 1.1 2013/06/06 17:06:28 robbat2 Exp $
301 -
302 -EAPI="4"
303 -
304 -MY_EXTRAS_VER="20130602-1946Z"
305 -MY_PV="${PV//_alpha_pre/-m}"
306 -MY_PV="${MY_PV//_/-}"
307 -
308 -# Build type
309 -BUILD="cmake"
310 -
311 -inherit toolchain-funcs mysql-v2
312 -# only to make repoman happy. it is really set in the eclass
313 -IUSE="$IUSE"
314 -
315 -# Define the mysql-extras source
316 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
317 -
318 -# REMEMBER: also update eclass/mysql*.eclass before committing!
319 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
320 -
321 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
322 -EPATCH_EXCLUDE=''
323 -
324 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
325 -RDEPEND="${RDEPEND}"
326 -
327 -# Please do not add a naive src_unpack to this ebuild
328 -# If you want to add a single patch, copy the ebuild to an overlay
329 -# and create your own mysql-extras tarball, looking at 000_index.txt
330 -
331 -# Official test instructions:
332 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
333 -# FEATURES='test userpriv -usersandbox' \
334 -# ebuild mysql-X.X.XX.ebuild \
335 -# digest clean package
336 -src_test() {
337 -
338 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
339 - local retstatus_unit
340 - local retstatus_tests
341 -
342 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
343 - # localhost. Also causes weird failures.
344 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
345 -
346 - if ! use "minimal" ; then
347 -
348 - if [[ $UID -eq 0 ]]; then
349 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
350 - fi
351 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
352 -
353 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
354 - addpredict /this-dir-does-not-exist/t9.MYI
355 -
356 - # Run CTest (test-units)
357 - cmake-utils_src_test
358 - retstatus_unit=$?
359 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
360 -
361 - # Ensure that parallel runs don't die
362 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
363 -
364 - # create directories because mysqladmin might right out of order
365 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
366 -
367 - # These are failing in MySQL 5.5 for now and are believed to be
368 - # false positives:
369 - #
370 - # main.information_schema, binlog.binlog_statement_insert_delayed,
371 - # main.mysqld--help-notwin
372 - # fails due to USE=-latin1 / utf8 default
373 - #
374 - # main.mysql_client_test:
375 - # segfaults at random under Portage only, suspect resource limits.
376 - #
377 - # sys_vars.plugin_dir_basic
378 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
379 - # instead of MYSQL_LIBDIR/plugin
380 - #
381 - # main.flush_read_lock_kill
382 - # fails because of unknown system variable 'DEBUG_SYNC'
383 - #
384 - # main.openssl_1
385 - # error message changing
386 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
387 - # error: ASN: bad other signature confirmation
388 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
389 - # error: error:00000001:lib(0):func(0):reason(1)
390 - #
391 -
392 - for t in main.mysql_client_test \
393 - binlog.binlog_statement_insert_delayed main.information_schema \
394 - main.mysqld--help-notwin main.flush_read_lock_kill \
395 - sys_vars.plugin_dir_basic main.openssl_1 ; do
396 - mysql-v2_disable_test "$t" "False positives in Gentoo"
397 - done
398 -
399 - # Run mysql tests
400 - pushd "${TESTDIR}"
401 -
402 - # run mysql-test tests
403 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
404 - retstatus_tests=$?
405 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
406 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
407 -
408 - popd
409 -
410 - # Cleanup is important for these testcases.
411 - pkill -9 -f "${S}/ndb" 2>/dev/null
412 - pkill -9 -f "${S}/sql" 2>/dev/null
413 -
414 - failures=""
415 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
416 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
417 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
418 -
419 - [[ -z "$failures" ]] || die "Test failures: $failures"
420 - einfo "Tests successfully completed"
421 -
422 - else
423 -
424 - einfo "Skipping server tests due to minimal build."
425 - fi
426 -}
427
428 diff --git a/dev-db/mysql/mysql-5.6.12.ebuild b/dev-db/mysql/mysql-5.6.12.ebuild
429 deleted file mode 100644
430 index 2497387..0000000
431 --- a/dev-db/mysql/mysql-5.6.12.ebuild
432 +++ /dev/null
433 @@ -1,121 +0,0 @@
434 -# Copyright 1999-2013 Gentoo Foundation
435 -# Distributed under the terms of the GNU General Public License v2
436 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.1_alpha_pre2.ebuild,v 1.8 2010/04/01 20:41:21 robbat2 Exp $
437 -
438 -EAPI="4"
439 -
440 -MY_EXTRAS_VER="20130606-1725Z"
441 -MY_PV="${PV//_alpha_pre/-m}"
442 -MY_PV="${MY_PV//_/-}"
443 -
444 -# Build type
445 -BUILD="cmake"
446 -
447 -inherit toolchain-funcs mysql-v2
448 -# only to make repoman happy. it is really set in the eclass
449 -IUSE="$IUSE"
450 -
451 -# Define the mysql-extras source
452 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
453 -
454 -# REMEMBER: also update eclass/mysql*.eclass before committing!
455 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
456 -
457 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
458 -EPATCH_EXCLUDE=''
459 -
460 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
461 -RDEPEND="${RDEPEND}"
462 -
463 -# Please do not add a naive src_unpack to this ebuild
464 -# If you want to add a single patch, copy the ebuild to an overlay
465 -# and create your own mysql-extras tarball, looking at 000_index.txt
466 -
467 -# Official test instructions:
468 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
469 -# FEATURES='test userpriv -usersandbox' \
470 -# ebuild mysql-X.X.XX.ebuild \
471 -# digest clean package
472 -src_test() {
473 -
474 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
475 - local retstatus_unit
476 - local retstatus_tests
477 -
478 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
479 - # localhost. Also causes weird failures.
480 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
481 -
482 - if ! use "minimal" ; then
483 -
484 - if [[ $UID -eq 0 ]]; then
485 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
486 - fi
487 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
488 -
489 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
490 - addpredict /this-dir-does-not-exist/t9.MYI
491 -
492 - # Run CTest (test-units)
493 - cmake-utils_src_test
494 - retstatus_unit=$?
495 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
496 -
497 - # Ensure that parallel runs don't die
498 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
499 -
500 - # create directories because mysqladmin might right out of order
501 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
502 -
503 - # These are failing in MySQL 5.5 for now and are believed to be
504 - # false positives:
505 - #
506 - # main.information_schema, binlog.binlog_statement_insert_delayed,
507 - # main.mysqld--help-notwin
508 - # fails due to USE=-latin1 / utf8 default
509 - #
510 - # main.mysql_client_test:
511 - # segfaults at random under Portage only, suspect resource limits.
512 - #
513 - # sys_vars.plugin_dir_basic
514 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
515 - # instead of MYSQL_LIBDIR/plugin
516 - #
517 - # main.flush_read_lock_kill
518 - # fails because of unknown system variable 'DEBUG_SYNC'
519 - for t in main.mysql_client_test \
520 - binlog.binlog_statement_insert_delayed main.information_schema \
521 - main.mysqld--help-notwin; do
522 - mysql-v2_disable_test "$t" "False positives in Gentoo"
523 - done
524 -
525 - # Run mysql tests
526 - pushd "${TESTDIR}"
527 -
528 - # run mysql-test tests
529 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
530 - retstatus_tests=$?
531 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
532 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
533 -
534 - popd
535 -
536 - # Cleanup is important for these testcases.
537 - pkill -9 -f "${S}/ndb" 2>/dev/null
538 - pkill -9 -f "${S}/sql" 2>/dev/null
539 -
540 - failures=""
541 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
542 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
543 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
544 -
545 - [[ -z "$failures" ]] || die "Test failures: $failures"
546 - einfo "Tests successfully completed"
547 -
548 - # Need to clean up slightly
549 - find "${TESTDIR}" -type s -delete
550 - else
551 -
552 - einfo "Skipping server tests due to minimal build."
553 - fi
554 -}
555
556 diff --git a/dev-db/mysql/mysql-5.6.13.ebuild b/dev-db/mysql/mysql-5.6.13.ebuild
557 deleted file mode 100644
558 index ddba830..0000000
559 --- a/dev-db/mysql/mysql-5.6.13.ebuild
560 +++ /dev/null
561 @@ -1,119 +0,0 @@
562 -# Copyright 1999-2013 Gentoo Foundation
563 -# Distributed under the terms of the GNU General Public License v2
564 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.1_alpha_pre2.ebuild,v 1.8 2010/04/01 20:41:21 robbat2 Exp $
565 -
566 -EAPI="4"
567 -
568 -MY_EXTRAS_VER="live"
569 -MY_PV="${PV//_alpha_pre/-m}"
570 -MY_PV="${MY_PV//_/-}"
571 -
572 -# Build type
573 -BUILD="cmake"
574 -
575 -inherit toolchain-funcs mysql-v2
576 -# only to make repoman happy. it is really set in the eclass
577 -IUSE="$IUSE"
578 -
579 -# Define the mysql-extras source
580 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
581 -
582 -# REMEMBER: also update eclass/mysql*.eclass before committing!
583 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
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='berkdb -cluster embedded extraengine perl ssl community' \
597 -# FEATURES='test userpriv -usersandbox' \
598 -# ebuild mysql-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 - # These are failing in MySQL 5.5 for now and are believed to be
632 - # false positives:
633 - #
634 - # main.information_schema, binlog.binlog_statement_insert_delayed,
635 - # main.mysqld--help-notwin
636 - # fails due to USE=-latin1 / utf8 default
637 - #
638 - # main.mysql_client_test:
639 - # segfaults at random under Portage only, suspect resource limits.
640 - #
641 - # sys_vars.plugin_dir_basic
642 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
643 - # instead of MYSQL_LIBDIR/plugin
644 - #
645 - # main.flush_read_lock_kill
646 - # fails because of unknown system variable 'DEBUG_SYNC'
647 - for t in main.mysql_client_test \
648 - binlog.binlog_statement_insert_delayed main.information_schema \
649 - main.mysqld--help-notwin; do
650 - mysql-v2_disable_test "$t" "False positives in Gentoo"
651 - done
652 -
653 - # Run mysql tests
654 - pushd "${TESTDIR}"
655 -
656 - # run mysql-test tests
657 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
658 - retstatus_tests=$?
659 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
660 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
661 -
662 - popd
663 -
664 - # Cleanup is important for these testcases.
665 - pkill -9 -f "${S}/ndb" 2>/dev/null
666 - pkill -9 -f "${S}/sql" 2>/dev/null
667 -
668 - failures=""
669 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
670 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
671 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
672 -
673 - [[ -z "$failures" ]] || die "Test failures: $failures"
674 - einfo "Tests successfully completed"
675 -
676 - else
677 -
678 - einfo "Skipping server tests due to minimal build."
679 - fi
680 -}
681
682 diff --git a/dev-db/mysql/mysql-5.6.14.ebuild b/dev-db/mysql/mysql-5.6.14.ebuild
683 deleted file mode 100644
684 index ddba830..0000000
685 --- a/dev-db/mysql/mysql-5.6.14.ebuild
686 +++ /dev/null
687 @@ -1,119 +0,0 @@
688 -# Copyright 1999-2013 Gentoo Foundation
689 -# Distributed under the terms of the GNU General Public License v2
690 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.1_alpha_pre2.ebuild,v 1.8 2010/04/01 20:41:21 robbat2 Exp $
691 -
692 -EAPI="4"
693 -
694 -MY_EXTRAS_VER="live"
695 -MY_PV="${PV//_alpha_pre/-m}"
696 -MY_PV="${MY_PV//_/-}"
697 -
698 -# Build type
699 -BUILD="cmake"
700 -
701 -inherit toolchain-funcs mysql-v2
702 -# only to make repoman happy. it is really set in the eclass
703 -IUSE="$IUSE"
704 -
705 -# Define the mysql-extras source
706 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
707 -
708 -# REMEMBER: also update eclass/mysql*.eclass before committing!
709 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
710 -
711 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
712 -EPATCH_EXCLUDE=''
713 -
714 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
715 -RDEPEND="${RDEPEND}"
716 -
717 -# Please do not add a naive src_unpack to this ebuild
718 -# If you want to add a single patch, copy the ebuild to an overlay
719 -# and create your own mysql-extras tarball, looking at 000_index.txt
720 -
721 -# Official test instructions:
722 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
723 -# FEATURES='test userpriv -usersandbox' \
724 -# ebuild mysql-X.X.XX.ebuild \
725 -# digest clean package
726 -src_test() {
727 -
728 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
729 - local retstatus_unit
730 - local retstatus_tests
731 -
732 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
733 - # localhost. Also causes weird failures.
734 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
735 -
736 - if ! use "minimal" ; then
737 -
738 - if [[ $UID -eq 0 ]]; then
739 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
740 - fi
741 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
742 -
743 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
744 - addpredict /this-dir-does-not-exist/t9.MYI
745 -
746 - # Run CTest (test-units)
747 - cmake-utils_src_test
748 - retstatus_unit=$?
749 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
750 -
751 - # Ensure that parallel runs don't die
752 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
753 -
754 - # create directories because mysqladmin might right out of order
755 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
756 -
757 - # These are failing in MySQL 5.5 for now and are believed to be
758 - # false positives:
759 - #
760 - # main.information_schema, binlog.binlog_statement_insert_delayed,
761 - # main.mysqld--help-notwin
762 - # fails due to USE=-latin1 / utf8 default
763 - #
764 - # main.mysql_client_test:
765 - # segfaults at random under Portage only, suspect resource limits.
766 - #
767 - # sys_vars.plugin_dir_basic
768 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
769 - # instead of MYSQL_LIBDIR/plugin
770 - #
771 - # main.flush_read_lock_kill
772 - # fails because of unknown system variable 'DEBUG_SYNC'
773 - for t in main.mysql_client_test \
774 - binlog.binlog_statement_insert_delayed main.information_schema \
775 - main.mysqld--help-notwin; do
776 - mysql-v2_disable_test "$t" "False positives in Gentoo"
777 - done
778 -
779 - # Run mysql tests
780 - pushd "${TESTDIR}"
781 -
782 - # run mysql-test tests
783 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
784 - retstatus_tests=$?
785 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
786 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
787 -
788 - popd
789 -
790 - # Cleanup is important for these testcases.
791 - pkill -9 -f "${S}/ndb" 2>/dev/null
792 - pkill -9 -f "${S}/sql" 2>/dev/null
793 -
794 - failures=""
795 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
796 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
797 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
798 -
799 - [[ -z "$failures" ]] || die "Test failures: $failures"
800 - einfo "Tests successfully completed"
801 -
802 - else
803 -
804 - einfo "Skipping server tests due to minimal build."
805 - fi
806 -}
807
808 diff --git a/dev-db/mysql/mysql-5.7.1_alpha_pre11.ebuild b/dev-db/mysql/mysql-5.7.1_alpha_pre11.ebuild
809 deleted file mode 100644
810 index ddba830..0000000
811 --- a/dev-db/mysql/mysql-5.7.1_alpha_pre11.ebuild
812 +++ /dev/null
813 @@ -1,119 +0,0 @@
814 -# Copyright 1999-2013 Gentoo Foundation
815 -# Distributed under the terms of the GNU General Public License v2
816 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.1_alpha_pre2.ebuild,v 1.8 2010/04/01 20:41:21 robbat2 Exp $
817 -
818 -EAPI="4"
819 -
820 -MY_EXTRAS_VER="live"
821 -MY_PV="${PV//_alpha_pre/-m}"
822 -MY_PV="${MY_PV//_/-}"
823 -
824 -# Build type
825 -BUILD="cmake"
826 -
827 -inherit toolchain-funcs mysql-v2
828 -# only to make repoman happy. it is really set in the eclass
829 -IUSE="$IUSE"
830 -
831 -# Define the mysql-extras source
832 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
833 -
834 -# REMEMBER: also update eclass/mysql*.eclass before committing!
835 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
836 -
837 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
838 -EPATCH_EXCLUDE=''
839 -
840 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
841 -RDEPEND="${RDEPEND}"
842 -
843 -# Please do not add a naive src_unpack to this ebuild
844 -# If you want to add a single patch, copy the ebuild to an overlay
845 -# and create your own mysql-extras tarball, looking at 000_index.txt
846 -
847 -# Official test instructions:
848 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
849 -# FEATURES='test userpriv -usersandbox' \
850 -# ebuild mysql-X.X.XX.ebuild \
851 -# digest clean package
852 -src_test() {
853 -
854 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
855 - local retstatus_unit
856 - local retstatus_tests
857 -
858 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
859 - # localhost. Also causes weird failures.
860 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
861 -
862 - if ! use "minimal" ; then
863 -
864 - if [[ $UID -eq 0 ]]; then
865 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
866 - fi
867 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
868 -
869 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
870 - addpredict /this-dir-does-not-exist/t9.MYI
871 -
872 - # Run CTest (test-units)
873 - cmake-utils_src_test
874 - retstatus_unit=$?
875 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
876 -
877 - # Ensure that parallel runs don't die
878 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
879 -
880 - # create directories because mysqladmin might right out of order
881 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
882 -
883 - # These are failing in MySQL 5.5 for now and are believed to be
884 - # false positives:
885 - #
886 - # main.information_schema, binlog.binlog_statement_insert_delayed,
887 - # main.mysqld--help-notwin
888 - # fails due to USE=-latin1 / utf8 default
889 - #
890 - # main.mysql_client_test:
891 - # segfaults at random under Portage only, suspect resource limits.
892 - #
893 - # sys_vars.plugin_dir_basic
894 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
895 - # instead of MYSQL_LIBDIR/plugin
896 - #
897 - # main.flush_read_lock_kill
898 - # fails because of unknown system variable 'DEBUG_SYNC'
899 - for t in main.mysql_client_test \
900 - binlog.binlog_statement_insert_delayed main.information_schema \
901 - main.mysqld--help-notwin; do
902 - mysql-v2_disable_test "$t" "False positives in Gentoo"
903 - done
904 -
905 - # Run mysql tests
906 - pushd "${TESTDIR}"
907 -
908 - # run mysql-test tests
909 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
910 - retstatus_tests=$?
911 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
912 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
913 -
914 - popd
915 -
916 - # Cleanup is important for these testcases.
917 - pkill -9 -f "${S}/ndb" 2>/dev/null
918 - pkill -9 -f "${S}/sql" 2>/dev/null
919 -
920 - failures=""
921 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
922 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
923 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
924 -
925 - [[ -z "$failures" ]] || die "Test failures: $failures"
926 - einfo "Tests successfully completed"
927 -
928 - else
929 -
930 - einfo "Skipping server tests due to minimal build."
931 - fi
932 -}