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