1 |
commit: 4018a5440d55cedbaaa556ff84371f40cb8ab501 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 11 14:16:05 2016 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 11 14:16:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4018a544 |
7 |
|
8 |
dev-db/mysql: Remove security vulnerable versions |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
dev-db/mysql/Manifest | 3 - |
13 |
dev-db/mysql/mysql-5.6.30.ebuild | 166 --------------------------------------- |
14 |
dev-db/mysql/mysql-5.6.31.ebuild | 166 --------------------------------------- |
15 |
dev-db/mysql/mysql-5.6.32.ebuild | 166 --------------------------------------- |
16 |
4 files changed, 501 deletions(-) |
17 |
|
18 |
diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest |
19 |
index 2d736a9..572b5ff 100644 |
20 |
--- a/dev-db/mysql/Manifest |
21 |
+++ b/dev-db/mysql/Manifest |
22 |
@@ -1,7 +1,4 @@ |
23 |
DIST mysql-5.5.52.tar.gz 21032776 SHA256 7820e13de6b3f4dadd255e12b2e9f3de43daf4507c218018c382d45aad8162fd SHA512 78d88609c4a718d783d2ee5a82768df94bc0799831f95f587ae6d991659a42d17060bcff8e081f7523dbe0493c74167e1590a3a9ee543e65dc683c6e5fea0ce4 WHIRLPOOL 4e95687456be2566683f738065e93db8b1de3906c6bc94207a243e7e5dbb9ae7fa498b5fdb4b1ab72ebb41fd38caf9eea4681b5f4fe0b1dcf88571398c2ef77a |
24 |
-DIST mysql-5.6.30.tar.gz 32223818 SHA256 48464df00aad9b9dfc26c903529ddad944a7562aa28e66e98e4f3f0c35179deb SHA512 b9f5b22a0557fbdd765fd3c379395584dd35bbec2d7504eb132f734129c0d95d24dc538c9b64524870bbecb92fa2f1e95b49ccfe22531ed17ec1e754f08d491b WHIRLPOOL f56d4e9d2ac801605bb941d1a8ba4b876d838a5e3bdac2e644477e87f2e5d439594c28d0e1c1d0c45ebb38fbf4183c429dc8c53bd7aa76aeea95acd1774ca71e |
25 |
-DIST mysql-5.6.31.tar.gz 32098698 SHA256 6df1389bbf899025aee6be0f4a12b8b0135e6de7db83e3ea20201ad3633ba424 SHA512 dc527e1d3ce7359a86fd91e9469d4ff1bb475c68bbb11aecb2a1897660fc09d0d26a401384117a2ad4e58cd709b5525facabef534e4f7b242119ce171d245cb1 WHIRLPOOL ee5f127037d93ffc567818fb58c8d4689519bafd3a78a2b7479bf34a474477b15086efee5d464d98b4b29e59a85f73272efafad6d9423ccbf306fbcef2b3a841 |
26 |
-DIST mysql-5.6.32.tar.gz 32095208 SHA256 4620ed9d9b5803a3ac7a23492dbea993214d3b5ffd4fb63d42771c616f60e359 SHA512 5af7aaabc1da7d12d16538c89552179423d7f7e2024bc55e75d2f26c99db4fe339e0a1f605e767f91f40dfecee3bcce31c83499a2278204b0f7f24c3411c0d15 WHIRLPOOL 4d0ea8047a32bcceb0135095f9960b70acb57fa35f2ddc1cac25043c47e43fa4b728156112147b660d62a0e93ba5631798e120f34ef77b9fa15e2064e87eb2b5 |
27 |
DIST mysql-5.6.33.tar.gz 32094894 SHA256 60776ec27d78b59f597e71738c5bcdea64dcba33c36fede320d5930320b1fef0 SHA512 d6f96dfd379b7ddaf3897a04ad756169a9d71319894551cba561e5ab2298dc21526004f656f50850c81bbe52af158926f87badc34d07b2b92107bc136e08359a WHIRLPOOL 76c1340114710d7c9ca7e5316a49e4544a2dc52a6dec66f31f2d16fbe2f1060a5bbcb449ea52fc0461facaaf85c4bbb5f483af76da2ae0b76b6169fa91416078 |
28 |
DIST mysql-extras-20150127-1351Z.tar.bz2 1494648 SHA256 74497659f1fb3b0cb620e38a911cf2e59a084149dd175199eb7cf4be18b4c328 SHA512 886e42697b3b0a90d8542bafaf3a7ccedf075f9f0065fec995bf58f645edff3a5d62f29be1cfa2e01d002d6382ee02279832cea8c21db6a774c2567c75ab6a35 WHIRLPOOL 9ddb5ccd914a6a6a19741ff93df78534d2273cf918f24af427c018b7c4f424a90d9f57f167633c48e2fa4102a4fae0873fd6dec7529839f229af855cbddf82d4 |
29 |
DIST mysql-extras-20160212-0233Z.tar.bz2 297332 SHA256 01a52587ef1335b2795197d2e547c0b3a1e4b705db09f96cdfb45d2152b6536b SHA512 956dbdcb987556c0625944848f97a36d096cd1f1712a2e051dd027f2856d3c6e94a18d23faca71882260c4b12ee329e3a5f569443b877a3c3e5e88146bfac916 WHIRLPOOL e3837d329ddd137be60fe9d0b37f35ed2e0e7fe1383f38ee45617be288ae318a444e6befdfbaf64b07d4a88ec47fec5cd88d733ecd5bb32ce40f3ba8d09573cd |
30 |
|
31 |
diff --git a/dev-db/mysql/mysql-5.6.30.ebuild b/dev-db/mysql/mysql-5.6.30.ebuild |
32 |
deleted file mode 100644 |
33 |
index 74b5529..00000000 |
34 |
--- a/dev-db/mysql/mysql-5.6.30.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,166 +0,0 @@ |
37 |
-# Copyright 1999-2016 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
-# $Id$ |
40 |
- |
41 |
-EAPI="5" |
42 |
- |
43 |
-MY_EXTRAS_VER="20160212-0233Z" |
44 |
-MY_PV="${PV//_alpha_pre/-m}" |
45 |
-MY_PV="${MY_PV//_/-}" |
46 |
-HAS_TOOLS_PATCH="1" |
47 |
-SUBSLOT="18" |
48 |
- |
49 |
-inherit mysql-multilib-r1 |
50 |
-# only to make repoman happy. it is really set in the eclass |
51 |
-IUSE="$IUSE" |
52 |
- |
53 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
54 |
-KEYWORDS="alpha amd64 arm hppa 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" |
55 |
- |
56 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
57 |
-EPATCH_EXCLUDE='' |
58 |
- |
59 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
60 |
-RDEPEND="${RDEPEND}" |
61 |
- |
62 |
-# Please do not add a naive src_unpack to this ebuild |
63 |
-# If you want to add a single patch, copy the ebuild to an overlay |
64 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
65 |
- |
66 |
-# validate_password plugin uses exceptions when it shouldn't yet (until 5.7) |
67 |
-# disable until we see what happens with it |
68 |
-MYSQL_CMAKE_NATIVE_DEFINES=( -DWITHOUT_VALIDATE_PASSWORD=1 ) |
69 |
- |
70 |
-src_prepare() { |
71 |
- mysql-multilib-r1_src_prepare |
72 |
- if use libressl ; then |
73 |
- sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ |
74 |
- "${S}/cmake/ssl.cmake" || die |
75 |
- fi |
76 |
-} |
77 |
- |
78 |
-# Official test instructions: |
79 |
-# USE='server embedded extraengine perl openssl static-libs' \ |
80 |
-# FEATURES='test userpriv -usersandbox' \ |
81 |
-# ebuild mysql-X.X.XX.ebuild \ |
82 |
-# digest clean package |
83 |
-multilib_src_test() { |
84 |
- |
85 |
- if ! multilib_is_native_abi ; then |
86 |
- einfo "Server tests not available on non-native abi". |
87 |
- return 0; |
88 |
- fi |
89 |
- |
90 |
- local TESTDIR="${BUILD_DIR}/mysql-test" |
91 |
- local retstatus_unit |
92 |
- local retstatus_tests |
93 |
- |
94 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
95 |
- # localhost. Also causes weird failures. |
96 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
97 |
- |
98 |
- if use server ; then |
99 |
- |
100 |
- if [[ $UID -eq 0 ]]; then |
101 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
102 |
- fi |
103 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
104 |
- |
105 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
106 |
- addpredict /this-dir-does-not-exist/t9.MYI |
107 |
- |
108 |
- # Run CTest (test-units) |
109 |
- cmake-utils_src_test |
110 |
- retstatus_unit=$? |
111 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
112 |
- |
113 |
- # Ensure that parallel runs don't die |
114 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
115 |
- # Enable parallel testing, auto will try to detect number of cores |
116 |
- # You may set this by hand. |
117 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
118 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
119 |
- |
120 |
- # create directories because mysqladmin might right out of order |
121 |
- mkdir -p "${T}"/var-tests{,/log} |
122 |
- |
123 |
- # create symlink for the tests to find mysql_tzinfo_to_sql |
124 |
- ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/" |
125 |
- |
126 |
- # These are failing in MySQL 5.5/5.6 for now and are believed to be |
127 |
- # false positives: |
128 |
- # |
129 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
130 |
- # funcs_1.is_triggers funcs_1.is_tables_mysql, |
131 |
- # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter, |
132 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt, |
133 |
- # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql |
134 |
- # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter |
135 |
- # fails due to USE=-latin1 / utf8 default |
136 |
- # |
137 |
- # main.mysql_client_test: |
138 |
- # segfaults at random under Portage only, suspect resource limits. |
139 |
- # |
140 |
- # rpl.rpl_plugin_load |
141 |
- # fails due to included file not listed in expected result |
142 |
- # appears to be poor planning |
143 |
- # |
144 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
145 |
- # fails due to bad cleanup of previous tests when run in parallel |
146 |
- # The tool is deprecated anyway |
147 |
- # Bug 532288 |
148 |
- for t in \ |
149 |
- binlog.binlog_mysqlbinlog_filter \ |
150 |
- binlog.binlog_statement_insert_delayed \ |
151 |
- funcs_1.is_columns_mysql \ |
152 |
- funcs_1.is_tables_mysql \ |
153 |
- funcs_1.is_triggers \ |
154 |
- main.information_schema \ |
155 |
- main.mysql_client_test \ |
156 |
- main.mysqld--help-notwin \ |
157 |
- perfschema.binlog_edge_mix \ |
158 |
- perfschema.binlog_edge_stmt \ |
159 |
- rpl.rpl_plugin_load \ |
160 |
- main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
161 |
- ; do |
162 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
163 |
- done |
164 |
- |
165 |
- if ! use extraengine ; then |
166 |
- # bug 401673, 530766 |
167 |
- for t in federated.federated_plugin ; do |
168 |
- mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)" |
169 |
- done |
170 |
- fi |
171 |
- |
172 |
- # Run mysql tests |
173 |
- pushd "${TESTDIR}" |
174 |
- |
175 |
- # Set file limits higher so tests run |
176 |
- ulimit -n 3000 |
177 |
- |
178 |
- # run mysql-test tests |
179 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
180 |
- --suite-timeout=5000 --reorder |
181 |
- retstatus_tests=$? |
182 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
183 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
184 |
- |
185 |
- popd |
186 |
- |
187 |
- # Cleanup is important for these testcases. |
188 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
189 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
190 |
- |
191 |
- failures="" |
192 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
193 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
194 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
195 |
- |
196 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
197 |
- einfo "Tests successfully completed" |
198 |
- |
199 |
- else |
200 |
- einfo "Skipping server tests due to minimal build." |
201 |
- fi |
202 |
-} |
203 |
|
204 |
diff --git a/dev-db/mysql/mysql-5.6.31.ebuild b/dev-db/mysql/mysql-5.6.31.ebuild |
205 |
deleted file mode 100644 |
206 |
index 74b5529..00000000 |
207 |
--- a/dev-db/mysql/mysql-5.6.31.ebuild |
208 |
+++ /dev/null |
209 |
@@ -1,166 +0,0 @@ |
210 |
-# Copyright 1999-2016 Gentoo Foundation |
211 |
-# Distributed under the terms of the GNU General Public License v2 |
212 |
-# $Id$ |
213 |
- |
214 |
-EAPI="5" |
215 |
- |
216 |
-MY_EXTRAS_VER="20160212-0233Z" |
217 |
-MY_PV="${PV//_alpha_pre/-m}" |
218 |
-MY_PV="${MY_PV//_/-}" |
219 |
-HAS_TOOLS_PATCH="1" |
220 |
-SUBSLOT="18" |
221 |
- |
222 |
-inherit mysql-multilib-r1 |
223 |
-# only to make repoman happy. it is really set in the eclass |
224 |
-IUSE="$IUSE" |
225 |
- |
226 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
227 |
-KEYWORDS="alpha amd64 arm hppa 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" |
228 |
- |
229 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
230 |
-EPATCH_EXCLUDE='' |
231 |
- |
232 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
233 |
-RDEPEND="${RDEPEND}" |
234 |
- |
235 |
-# Please do not add a naive src_unpack to this ebuild |
236 |
-# If you want to add a single patch, copy the ebuild to an overlay |
237 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
238 |
- |
239 |
-# validate_password plugin uses exceptions when it shouldn't yet (until 5.7) |
240 |
-# disable until we see what happens with it |
241 |
-MYSQL_CMAKE_NATIVE_DEFINES=( -DWITHOUT_VALIDATE_PASSWORD=1 ) |
242 |
- |
243 |
-src_prepare() { |
244 |
- mysql-multilib-r1_src_prepare |
245 |
- if use libressl ; then |
246 |
- sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ |
247 |
- "${S}/cmake/ssl.cmake" || die |
248 |
- fi |
249 |
-} |
250 |
- |
251 |
-# Official test instructions: |
252 |
-# USE='server embedded extraengine perl openssl static-libs' \ |
253 |
-# FEATURES='test userpriv -usersandbox' \ |
254 |
-# ebuild mysql-X.X.XX.ebuild \ |
255 |
-# digest clean package |
256 |
-multilib_src_test() { |
257 |
- |
258 |
- if ! multilib_is_native_abi ; then |
259 |
- einfo "Server tests not available on non-native abi". |
260 |
- return 0; |
261 |
- fi |
262 |
- |
263 |
- local TESTDIR="${BUILD_DIR}/mysql-test" |
264 |
- local retstatus_unit |
265 |
- local retstatus_tests |
266 |
- |
267 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
268 |
- # localhost. Also causes weird failures. |
269 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
270 |
- |
271 |
- if use server ; then |
272 |
- |
273 |
- if [[ $UID -eq 0 ]]; then |
274 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
275 |
- fi |
276 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
277 |
- |
278 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
279 |
- addpredict /this-dir-does-not-exist/t9.MYI |
280 |
- |
281 |
- # Run CTest (test-units) |
282 |
- cmake-utils_src_test |
283 |
- retstatus_unit=$? |
284 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
285 |
- |
286 |
- # Ensure that parallel runs don't die |
287 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
288 |
- # Enable parallel testing, auto will try to detect number of cores |
289 |
- # You may set this by hand. |
290 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
291 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
292 |
- |
293 |
- # create directories because mysqladmin might right out of order |
294 |
- mkdir -p "${T}"/var-tests{,/log} |
295 |
- |
296 |
- # create symlink for the tests to find mysql_tzinfo_to_sql |
297 |
- ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/" |
298 |
- |
299 |
- # These are failing in MySQL 5.5/5.6 for now and are believed to be |
300 |
- # false positives: |
301 |
- # |
302 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
303 |
- # funcs_1.is_triggers funcs_1.is_tables_mysql, |
304 |
- # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter, |
305 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt, |
306 |
- # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql |
307 |
- # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter |
308 |
- # fails due to USE=-latin1 / utf8 default |
309 |
- # |
310 |
- # main.mysql_client_test: |
311 |
- # segfaults at random under Portage only, suspect resource limits. |
312 |
- # |
313 |
- # rpl.rpl_plugin_load |
314 |
- # fails due to included file not listed in expected result |
315 |
- # appears to be poor planning |
316 |
- # |
317 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
318 |
- # fails due to bad cleanup of previous tests when run in parallel |
319 |
- # The tool is deprecated anyway |
320 |
- # Bug 532288 |
321 |
- for t in \ |
322 |
- binlog.binlog_mysqlbinlog_filter \ |
323 |
- binlog.binlog_statement_insert_delayed \ |
324 |
- funcs_1.is_columns_mysql \ |
325 |
- funcs_1.is_tables_mysql \ |
326 |
- funcs_1.is_triggers \ |
327 |
- main.information_schema \ |
328 |
- main.mysql_client_test \ |
329 |
- main.mysqld--help-notwin \ |
330 |
- perfschema.binlog_edge_mix \ |
331 |
- perfschema.binlog_edge_stmt \ |
332 |
- rpl.rpl_plugin_load \ |
333 |
- main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
334 |
- ; do |
335 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
336 |
- done |
337 |
- |
338 |
- if ! use extraengine ; then |
339 |
- # bug 401673, 530766 |
340 |
- for t in federated.federated_plugin ; do |
341 |
- mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)" |
342 |
- done |
343 |
- fi |
344 |
- |
345 |
- # Run mysql tests |
346 |
- pushd "${TESTDIR}" |
347 |
- |
348 |
- # Set file limits higher so tests run |
349 |
- ulimit -n 3000 |
350 |
- |
351 |
- # run mysql-test tests |
352 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
353 |
- --suite-timeout=5000 --reorder |
354 |
- retstatus_tests=$? |
355 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
356 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
357 |
- |
358 |
- popd |
359 |
- |
360 |
- # Cleanup is important for these testcases. |
361 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
362 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
363 |
- |
364 |
- failures="" |
365 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
366 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
367 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
368 |
- |
369 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
370 |
- einfo "Tests successfully completed" |
371 |
- |
372 |
- else |
373 |
- einfo "Skipping server tests due to minimal build." |
374 |
- fi |
375 |
-} |
376 |
|
377 |
diff --git a/dev-db/mysql/mysql-5.6.32.ebuild b/dev-db/mysql/mysql-5.6.32.ebuild |
378 |
deleted file mode 100644 |
379 |
index b5b3efb..00000000 |
380 |
--- a/dev-db/mysql/mysql-5.6.32.ebuild |
381 |
+++ /dev/null |
382 |
@@ -1,166 +0,0 @@ |
383 |
-# Copyright 1999-2016 Gentoo Foundation |
384 |
-# Distributed under the terms of the GNU General Public License v2 |
385 |
-# $Id$ |
386 |
- |
387 |
-EAPI="6" |
388 |
- |
389 |
-MY_EXTRAS_VER="20160212-0233Z" |
390 |
-MY_PV="${PV//_alpha_pre/-m}" |
391 |
-MY_PV="${MY_PV//_/-}" |
392 |
-HAS_TOOLS_PATCH="1" |
393 |
-SUBSLOT="18" |
394 |
- |
395 |
-inherit mysql-multilib-r1 |
396 |
-# only to make repoman happy. it is really set in the eclass |
397 |
-IUSE="$IUSE" |
398 |
- |
399 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
400 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~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" |
401 |
- |
402 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
403 |
-EPATCH_EXCLUDE='' |
404 |
- |
405 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
406 |
-RDEPEND="${RDEPEND}" |
407 |
- |
408 |
-# Please do not add a naive src_unpack to this ebuild |
409 |
-# If you want to add a single patch, copy the ebuild to an overlay |
410 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
411 |
- |
412 |
-# validate_password plugin uses exceptions when it shouldn't yet (until 5.7) |
413 |
-# disable until we see what happens with it |
414 |
-MYSQL_CMAKE_NATIVE_DEFINES=( -DWITHOUT_VALIDATE_PASSWORD=1 ) |
415 |
- |
416 |
-src_prepare() { |
417 |
- mysql-multilib-r1_src_prepare |
418 |
- if use libressl ; then |
419 |
- sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \ |
420 |
- "${S}/cmake/ssl.cmake" || die |
421 |
- fi |
422 |
-} |
423 |
- |
424 |
-# Official test instructions: |
425 |
-# USE='server embedded extraengine perl openssl static-libs' \ |
426 |
-# FEATURES='test userpriv -usersandbox' \ |
427 |
-# ebuild mysql-X.X.XX.ebuild \ |
428 |
-# digest clean package |
429 |
-multilib_src_test() { |
430 |
- |
431 |
- if ! multilib_is_native_abi ; then |
432 |
- einfo "Server tests not available on non-native abi". |
433 |
- return 0; |
434 |
- fi |
435 |
- |
436 |
- local TESTDIR="${BUILD_DIR}/mysql-test" |
437 |
- local retstatus_unit |
438 |
- local retstatus_tests |
439 |
- |
440 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
441 |
- # localhost. Also causes weird failures. |
442 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
443 |
- |
444 |
- if use server ; then |
445 |
- |
446 |
- if [[ $UID -eq 0 ]]; then |
447 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
448 |
- fi |
449 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
450 |
- |
451 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
452 |
- addpredict /this-dir-does-not-exist/t9.MYI |
453 |
- |
454 |
- # Run CTest (test-units) |
455 |
- cmake-utils_src_test |
456 |
- retstatus_unit=$? |
457 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
458 |
- |
459 |
- # Ensure that parallel runs don't die |
460 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
461 |
- # Enable parallel testing, auto will try to detect number of cores |
462 |
- # You may set this by hand. |
463 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
464 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
465 |
- |
466 |
- # create directories because mysqladmin might right out of order |
467 |
- mkdir -p "${T}"/var-tests{,/log} |
468 |
- |
469 |
- # create symlink for the tests to find mysql_tzinfo_to_sql |
470 |
- ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/" |
471 |
- |
472 |
- # These are failing in MySQL 5.5/5.6 for now and are believed to be |
473 |
- # false positives: |
474 |
- # |
475 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
476 |
- # funcs_1.is_triggers funcs_1.is_tables_mysql, |
477 |
- # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter, |
478 |
- # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt, |
479 |
- # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql |
480 |
- # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter |
481 |
- # fails due to USE=-latin1 / utf8 default |
482 |
- # |
483 |
- # main.mysql_client_test: |
484 |
- # segfaults at random under Portage only, suspect resource limits. |
485 |
- # |
486 |
- # rpl.rpl_plugin_load |
487 |
- # fails due to included file not listed in expected result |
488 |
- # appears to be poor planning |
489 |
- # |
490 |
- # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
491 |
- # fails due to bad cleanup of previous tests when run in parallel |
492 |
- # The tool is deprecated anyway |
493 |
- # Bug 532288 |
494 |
- for t in \ |
495 |
- binlog.binlog_mysqlbinlog_filter \ |
496 |
- binlog.binlog_statement_insert_delayed \ |
497 |
- funcs_1.is_columns_mysql \ |
498 |
- funcs_1.is_tables_mysql \ |
499 |
- funcs_1.is_triggers \ |
500 |
- main.information_schema \ |
501 |
- main.mysql_client_test \ |
502 |
- main.mysqld--help-notwin \ |
503 |
- perfschema.binlog_edge_mix \ |
504 |
- perfschema.binlog_edge_stmt \ |
505 |
- rpl.rpl_plugin_load \ |
506 |
- main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
507 |
- ; do |
508 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
509 |
- done |
510 |
- |
511 |
- if ! use extraengine ; then |
512 |
- # bug 401673, 530766 |
513 |
- for t in federated.federated_plugin ; do |
514 |
- mysql-multilib-r1_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)" |
515 |
- done |
516 |
- fi |
517 |
- |
518 |
- # Run mysql tests |
519 |
- pushd "${TESTDIR}" |
520 |
- |
521 |
- # Set file limits higher so tests run |
522 |
- ulimit -n 3000 |
523 |
- |
524 |
- # run mysql-test tests |
525 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
526 |
- --suite-timeout=5000 --reorder |
527 |
- retstatus_tests=$? |
528 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
529 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
530 |
- |
531 |
- popd |
532 |
- |
533 |
- # Cleanup is important for these testcases. |
534 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
535 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
536 |
- |
537 |
- failures="" |
538 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
539 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
540 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
541 |
- |
542 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
543 |
- einfo "Tests successfully completed" |
544 |
- |
545 |
- else |
546 |
- einfo "Skipping server tests due to minimal build." |
547 |
- fi |
548 |
-} |