1 |
commit: c76d6347770f5550ff3f77c98b18c41964c8685e |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 28 21:50:17 2013 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 28 21:51:39 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=c76d6347 |
7 |
|
8 |
Bump, please see bug #471632 for test failures. |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha177 |
11 |
|
12 |
--- |
13 |
dev-db/mysql/ChangeLog | 5 + |
14 |
dev-db/mysql/Manifest | 1 + |
15 |
dev-db/mysql/mysql-5.1.69.ebuild | 266 +++++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 272 insertions(+) |
17 |
|
18 |
diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog |
19 |
index 0d0ffd3..86fc580 100644 |
20 |
--- a/dev-db/mysql/ChangeLog |
21 |
+++ b/dev-db/mysql/ChangeLog |
22 |
@@ -2,6 +2,11 @@ |
23 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
24 |
# $Header: $ |
25 |
|
26 |
+*mysql-5.1.69 (28 May 2013) |
27 |
+ |
28 |
+ 28 May 2013; Robin H. Johnson <robbat2@g.o> +mysql-5.1.69.ebuild: |
29 |
+ Bump, please see bug #471632 for test failures. |
30 |
+ |
31 |
*mysql-5.5.30 (08 Mar 2013) |
32 |
|
33 |
08 Mar 2013; Robin H. Johnson <robbat2@g.o> +mysql-5.5.30.ebuild: |
34 |
|
35 |
diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest |
36 |
index 5981797..45f0686 100644 |
37 |
--- a/dev-db/mysql/Manifest |
38 |
+++ b/dev-db/mysql/Manifest |
39 |
@@ -1,6 +1,7 @@ |
40 |
DIST mysql-5.0.96.tar.gz 22686667 SHA256 43853814775158aa1650f483530a7dde153957579e3349e3ec780b89d741fc84 SHA512 2e3b4ac221c1c1c11618dc79067a7feff680380fcea435813287b02cb0dff45fb5a32a4393c53cf13165f6efc99dbf347a9388ad364cfdf2e392760a310aa5a9 WHIRLPOOL 3e167e4ff4c56095fbdee55b7e619c9b7ad2120eb72c9a58fe77a023ab6e7498c74e2053876e61687d7812f9ff7022303728ddda49732e7569035684263d2517 |
41 |
DIST mysql-5.1.66.tar.gz 24771341 SHA256 eb85e3fa152949670f5b6f4379bd1d700a5f4726660ce18ff0ca628190cba907 SHA512 01b7ff0a08362249e04a9a66cf0f255cb517f22d336201ba4ae8759cfc8047cb3dcaff75821796c01f87b35a7e8f5533957152cc7ae905cdf65f40239634e4f0 WHIRLPOOL 384cb0ef805ac70646f834ed7140ec1dd9ee4810692ba8e671eb7f5006ce2f97a401097224ce78316c371860639322164505e9099c1233d1816fa7bbc4fd354b |
42 |
DIST mysql-5.1.67.tar.gz 24781885 SHA256 8a5fa02a6db0fd167974c5fc4401ae05c6982e5331d93554a241a3ee2dbda406 SHA512 f0477ebd322d7e69c379bfacd2f4980cdca35c6903e67c44ac97aad5183033f1b791030d3b43c2946adf0154abbaab77add226f47de507d5f8050e6fa401f0cc WHIRLPOOL fd4e39d52b42c8a29ec06e153a5089aad23a042e0fe87653c5312884b8737ed72eb2ac914493dca3f9a7359b988dc9d1667c8249a88b20093b0660d7005cba4d |
43 |
+DIST mysql-5.1.69.tar.gz 23947181 SHA256 17a5a8a468a6e58cb3be6a16241246fdfd6248d8b5229e46fdb5ffcc070de929 SHA512 ff569f090f8fc0a7dc2fb787124da8ce5d153a2965c3f6b33007d452304b080d491f1a2dc19e0ed218c1ce319fa9c245380ef1a23d05d656641fe76dabbbd63f WHIRLPOOL ac7fb02169229b065c1f38cd99f95a5f92eebc71f753a22fa85420f699cbffe3dc5b5495f81446902d272072f677b06e57ebe9bcb58e53cbe510eb4e929d4e5f |
44 |
DIST mysql-5.5.29.tar.gz 24870769 SHA256 22b50c089038913b3468c7055fc288f7b5d973199ca37c563cd3a3292e812ae5 SHA512 167bc48c0d4e5351af342828d1f14c003b0d62f7388dd15b1b816df708cc4f06cfe8f7c4177af76fb1c1cbaba5adafe9cb884f76bf75d21a067da25896b29210 WHIRLPOOL 06b4e45c5ed6950d45d4a0623f7626af3b2a9d35656a96867b7cdc4bfc0534207c10afd9b3bcca703b826c67cea62e08992b2de99bdd8d661108c16071fb9773 |
45 |
DIST mysql-5.5.30.tar.gz 24499036 SHA256 909fe596e0044082a02d2757b742a33b8a3ff399b589603940494d3d3d975053 SHA512 f494fdf3f8132606ce45c4a1461d3670228e87f98d2a7269edd124c6afe37a22b7e7db5c83c14c0ddc5f68063ac5e7aec7243880dd9ba011010a049ba008bb08 WHIRLPOOL 29526df3d5b86dc7f48956ecb30e013e938d68299c87a3f34e94e42bb0a1dabd44e7d56879a51aac61d41ca728af9d3d78b7e712db6231338a95feb5a256d86b |
46 |
DIST mysql-5.6.10.tar.gz 35174149 SHA256 156c43a7bde1ada8552938c6b8f46162b568bca8ddb76998a645308d93fb70b6 SHA512 0dcaadccf52e51c33995232740ab62cde06fa5deb964421064642908dae7ea46e605e7620508b8b043e287f12cd0caf647d77477eddf9d61d93c896bff83afbd WHIRLPOOL f3f88d9f66eee2f135ebea8b1daa48ddd30f870cca400f7d70bfceb9cadc1ade44ae8d0f61c3deb12ce489a0c6be094155e4313268d9c45adb3844f748aa7cb4 |
47 |
|
48 |
diff --git a/dev-db/mysql/mysql-5.1.69.ebuild b/dev-db/mysql/mysql-5.1.69.ebuild |
49 |
new file mode 100644 |
50 |
index 0000000..4572194 |
51 |
--- /dev/null |
52 |
+++ b/dev-db/mysql/mysql-5.1.69.ebuild |
53 |
@@ -0,0 +1,266 @@ |
54 |
+# Copyright 1999-2013 Gentoo Foundation |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.67-r1.ebuild,v 1.1 2013/01/28 02:10:49 robbat2 Exp $ |
57 |
+ |
58 |
+EAPI="4" |
59 |
+ |
60 |
+MY_EXTRAS_VER="20130128-0054Z" |
61 |
+MY_EXTRAS_VER="live" |
62 |
+# PBXT |
63 |
+PBXT_VERSION='1.0.11-6-pre-ga' |
64 |
+# XtraDB |
65 |
+PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10' |
66 |
+ |
67 |
+# Build type |
68 |
+BUILD="autotools" |
69 |
+ |
70 |
+inherit toolchain-funcs mysql-v2 |
71 |
+ |
72 |
+# only to make repoman happy. it is really set in the eclass |
73 |
+IUSE="$IUSE" |
74 |
+ |
75 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
76 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris" |
77 |
+ |
78 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
79 |
+# This is often broken still |
80 |
+EPATCH_EXCLUDE='' |
81 |
+ |
82 |
+# Most of these are in the eclass |
83 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
84 |
+ >=sys-devel/libtool-2.2.10" |
85 |
+RDEPEND="${RDEPEND}" |
86 |
+ |
87 |
+# Please do not add a naive src_unpack to this ebuild |
88 |
+# If you want to add a single patch, copy the ebuild to an overlay |
89 |
+# and create your own mysql-extras tarball, looking at 000_index.txt |
90 |
+src_prepare() { |
91 |
+ sed -i \ |
92 |
+ -e '/^noinst_PROGRAMS/s/basic-t//g' \ |
93 |
+ "${S}"/unittest/mytap/t/Makefile.am |
94 |
+ mysql-v2_src_prepare |
95 |
+} |
96 |
+ |
97 |
+# Official test instructions: |
98 |
+# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
99 |
+# FEATURES='test userpriv -usersandbox' \ |
100 |
+# ebuild mysql-X.X.XX.ebuild \ |
101 |
+# digest clean package |
102 |
+src_test() { |
103 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
104 |
+ # localhost. Also causes weird failures. |
105 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
106 |
+ |
107 |
+ emake check || die "make check failed" |
108 |
+ if ! use "minimal" ; then |
109 |
+ if [[ $UID -eq 0 ]]; then |
110 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
111 |
+ fi |
112 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
113 |
+ cd "${S}" |
114 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
115 |
+ local retstatus_unit |
116 |
+ local retstatus_ns |
117 |
+ local retstatus_ps |
118 |
+ local t |
119 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
120 |
+ |
121 |
+ # Ensure that parallel runs don't die |
122 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
123 |
+ |
124 |
+ # archive_gis really sucks a lot, but it's only relevant for the |
125 |
+ # USE=extraengines case |
126 |
+ case ${PV} in |
127 |
+ 5.0.42) |
128 |
+ mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" |
129 |
+ ;; |
130 |
+ |
131 |
+ 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
132 |
+ [ "$(tc-endian)" == "big" ] && \ |
133 |
+ mysql-v2_disable_test \ |
134 |
+ "archive_gis" \ |
135 |
+ "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
136 |
+ ;; |
137 |
+ esac |
138 |
+ |
139 |
+ # This was a slight testcase breakage when the read_only security issue |
140 |
+ # was fixed. |
141 |
+ case ${PV} in |
142 |
+ 5.0.54|5.0.51*) |
143 |
+ mysql-v2_disable_test \ |
144 |
+ "read_only" \ |
145 |
+ "Broken in 5.0.51-54, output in wrong order" |
146 |
+ ;; |
147 |
+ esac |
148 |
+ |
149 |
+ # Ditto to read_only |
150 |
+ [ "${PV}" == "5.0.51a" ] && \ |
151 |
+ mysql-v2_disable_test \ |
152 |
+ "view" \ |
153 |
+ "Broken in 5.0.51, output in wrong order" |
154 |
+ |
155 |
+ # x86-specific, OOM issue with some subselects on low memory servers |
156 |
+ [ "${PV}" == "5.0.54" ] && \ |
157 |
+ [ "${ARCH/x86}" != "${ARCH}" ] && \ |
158 |
+ mysql-v2_disable_test \ |
159 |
+ "subselect" \ |
160 |
+ "Testcase needs tuning on x86 for oom condition" |
161 |
+ |
162 |
+ # Broke with the YaSSL security issue that didn't affect Gentoo. |
163 |
+ [ "${PV}" == "5.0.56" ] && \ |
164 |
+ for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
165 |
+ ssl_8k_key ssl_compress ssl_connect ; do \ |
166 |
+ mysql-v2_disable_test \ |
167 |
+ "$t" \ |
168 |
+ "OpenSSL tests broken on 5.0.56" |
169 |
+ done |
170 |
+ |
171 |
+ # New test was broken in first time |
172 |
+ # Upstream bug 41066 |
173 |
+ # http://bugs.mysql.com/bug.php?id=41066 |
174 |
+ [ "${PV}" == "5.0.72" ] && \ |
175 |
+ mysql-v2_disable_test \ |
176 |
+ "status2" \ |
177 |
+ "Broken in 5.0.72, new test is broken, upstream bug #41066" |
178 |
+ |
179 |
+ # The entire 5.0 series has pre-generated SSL certificates, they have |
180 |
+ # mostly expired now. ${S}/mysql-tests/std-data/*.pem |
181 |
+ # The certs really SHOULD be generated for the tests, so that they are |
182 |
+ # not expiring like this. We cannot do so ourselves as the tests look |
183 |
+ # closely as the cert path data, and we do not have the CA key to regen |
184 |
+ # ourselves. Alternatively, upstream should generate them with at least |
185 |
+ # 50-year validity. |
186 |
+ # |
187 |
+ # Known expiry points: |
188 |
+ # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
189 |
+ # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
190 |
+ # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
191 |
+ # |
192 |
+ # mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
193 |
+ # expired/invalid. |
194 |
+ case ${PV} in |
195 |
+ 5.0.*|5.1.*|5.4.*|5.5.*) |
196 |
+ for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
197 |
+ ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ |
198 |
+ mysql-v2_disable_test \ |
199 |
+ "$t" \ |
200 |
+ "These OpenSSL tests break due to expired certificates" |
201 |
+ done |
202 |
+ ;; |
203 |
+ esac |
204 |
+ |
205 |
+ # These are also failing in MySQL 5.1 for now, and are believed to be |
206 |
+ # false positives: |
207 |
+ # |
208 |
+ # main.mysql_comment, main.mysql_upgrade, main.information_schema, |
209 |
+ # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers: |
210 |
+ # fails due to USE=-latin1 / utf8 default |
211 |
+ # |
212 |
+ # main.mysql_client_test: |
213 |
+ # segfaults at random under Portage only, suspect resource limits. |
214 |
+ # |
215 |
+ # main.not_partition: |
216 |
+ # Failure reason unknown at this time, must resolve before package.mask |
217 |
+ # removal FIXME |
218 |
+ case ${PV} in |
219 |
+ 5.1.*|5.4.*|5.5.*) |
220 |
+ for t in main.mysql_client_test main.mysql_comments \ |
221 |
+ main.mysql_upgrade \ |
222 |
+ main.information_schema \ |
223 |
+ main.not_partition funcs_1.is_columns_mysql \ |
224 |
+ funcs_1.is_tables_mysql funcs_1.is_triggers; do |
225 |
+ mysql-v2_disable_test "$t" "False positives in Gentoo" |
226 |
+ done |
227 |
+ ;; |
228 |
+ esac |
229 |
+ |
230 |
+ # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. |
231 |
+ # These tests are picking up a 'connect-timeout' config from somewhere, |
232 |
+ # which is not valid, and since it does not have 'loose-' in front of |
233 |
+ # it, it's causing a failure |
234 |
+ case ${PV} in |
235 |
+ 5.1.5*|5.4.*|5.5.*|6*) |
236 |
+ for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do |
237 |
+ mysql-v2_disable_test "$t" \ |
238 |
+ "False positives in Gentoo: connect-timeout" |
239 |
+ done |
240 |
+ ;; |
241 |
+ esac |
242 |
+ |
243 |
+ use profiling && use community \ |
244 |
+ || mysql-v2_disable_test main.profiling \ |
245 |
+ "Profiling test needs profiling support" |
246 |
+ |
247 |
+ if [ "${PN}" == "mariadb" ]; then |
248 |
+ for t in \ |
249 |
+ parts.part_supported_sql_func_ndb \ |
250 |
+ parts.partition_auto_increment_ndb ; do |
251 |
+ mysql-v2_disable_test $t "ndb not supported in mariadb" |
252 |
+ done |
253 |
+ fi |
254 |
+ |
255 |
+ # This fail with XtraDB in place of normal InnoDB |
256 |
+ # TODO: test if they are broken with the rest of the Percona patches |
257 |
+ if xtradb_patch_available && use xtradb ; then |
258 |
+ for t in main.innodb innodb.innodb_bug51378 \ |
259 |
+ main.information_schema_db main.mysqlshow \ |
260 |
+ main.innodb-autoinc main.innodb_bug21704 \ |
261 |
+ main.innodb_bug44369 main.innodb_bug46000 \ |
262 |
+ main.index_merge_innodb \ |
263 |
+ innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ |
264 |
+ innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ |
265 |
+ innodb.innodb_bug21704 innodb.innodb_bug44369 \ |
266 |
+ innodb.innodb_bug46000 innodb.innodb_bug48024 \ |
267 |
+ innodb.innodb_bug49164 innodb.innodb_bug51920 \ |
268 |
+ innodb.innodb_bug54044 \ |
269 |
+ ; do |
270 |
+ mysql-v2_disable_test $t "tests broken in xtradb" |
271 |
+ done |
272 |
+ fi |
273 |
+ |
274 |
+ if ! use extraengine ; then |
275 |
+ # bug 332565 |
276 |
+ for t in main.range ; do |
277 |
+ mysql-v2_disable_test $t "Test $t requires USE=extraengine" |
278 |
+ done |
279 |
+ # bug 401673 |
280 |
+ for t in federated.federated_plugin ; do |
281 |
+ mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)" |
282 |
+ done |
283 |
+ fi |
284 |
+ |
285 |
+ # create directories because mysqladmin might make out of order |
286 |
+ mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
287 |
+ |
288 |
+ # We run the test protocols seperately |
289 |
+ emake test-unit |
290 |
+ retstatus_unit=$? |
291 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
292 |
+ |
293 |
+ emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
294 |
+ retstatus_ns=$? |
295 |
+ [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
296 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
297 |
+ |
298 |
+ emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
299 |
+ retstatus_ps=$? |
300 |
+ [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
301 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
302 |
+ |
303 |
+ # TODO: |
304 |
+ # When upstream enables the pr and nr testsuites, we need those as well. |
305 |
+ |
306 |
+ # Cleanup is important for these testcases. |
307 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
308 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
309 |
+ failures="" |
310 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
311 |
+ [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
312 |
+ [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
313 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
314 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
315 |
+ einfo "Tests successfully completed" |
316 |
+ else |
317 |
+ einfo "Skipping server tests due to minimal build." |
318 |
+ fi |
319 |
+} |