1 |
commit: 75d291c8451ffe55970938bd6698550ef0c4f07f |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 2 02:47:47 2012 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 2 02:47:47 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=75d291c8 |
7 |
|
8 |
Clean up old versions. |
9 |
|
10 |
(Portage version: 2.2.0_alpha84/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-db/mysql/Manifest | 21 --- |
14 |
dev-db/mysql/mysql-5.1.58-r1.ebuild | 261 ----------------------------------- |
15 |
dev-db/mysql/mysql-5.1.59.ebuild | 261 ----------------------------------- |
16 |
dev-db/mysql/mysql-5.1.60.ebuild | 261 ----------------------------------- |
17 |
dev-db/mysql/mysql-5.5.10.ebuild | 119 ---------------- |
18 |
dev-db/mysql/mysql-5.5.12.ebuild | 119 ---------------- |
19 |
dev-db/mysql/mysql-5.5.14.ebuild | 120 ---------------- |
20 |
dev-db/mysql/mysql-5.5.15.ebuild | 120 ---------------- |
21 |
dev-db/mysql/mysql-5.5.16.ebuild | 120 ---------------- |
22 |
dev-db/mysql/mysql-5.5.17.ebuild | 120 ---------------- |
23 |
dev-db/mysql/mysql-5.5.18.ebuild | 120 ---------------- |
24 |
11 files changed, 0 insertions(+), 1642 deletions(-) |
25 |
|
26 |
diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest |
27 |
index e63be05..8281a69 100644 |
28 |
--- a/dev-db/mysql/Manifest |
29 |
+++ b/dev-db/mysql/Manifest |
30 |
@@ -4,37 +4,16 @@ AUX my.cnf-4.1 4235 RMD160 ca04e2e667322e99c29be59064c7a6ecaa4e1e4c SHA1 babc799 |
31 |
AUX my.cnf-5.1 4199 RMD160 c12797534dd8273d1640844b4813ec7307911cef SHA1 5845dcaf469bd95d918cc07b1ffc80e2bd4c5a68 SHA256 c50e38004c901d4921d00a5f458bcd191852262a93f3d9fbfb6b040186b1ec45 |
32 |
AUX mysql.init 886 RMD160 26b8aa45af3f930db01f0db731865b9293626fb1 SHA1 d7d99a3f45fa807d1fb57ab04b35800a69cae430 SHA256 2d7faf6d88fd13e5c10368a20074fdb59554635f8b1fd17e088d82208e611c12 |
33 |
DIST mysql-5.0.92.tar.gz 22440590 RMD160 24a373a1b124acf39d0c0726e5cb6f47dc1bef08 SHA1 10fffc7672a469af4a7fd980922b04d7ba0143ba SHA256 223530c4cd6d45e2906e6c7d33615c5824816dfdb772d104f4165a483ea78a55 |
34 |
-DIST mysql-5.1.58.tar.gz 24333490 RMD160 199729c701c764cd22584c2b952230c07d0f31a6 SHA1 cfd70bee07ad99576eecde01785b7b2a74ec87ab SHA256 3c69562399655fc62d1424437e6ef59ef7c1ed225f940f81558f549b803f3fd7 |
35 |
-DIST mysql-5.1.59.tar.gz 24325443 RMD160 bbc54a2fc0eb3657f297ac097e9374c98e90442e SHA1 1d425a421edc94fba616f1986a16bdc9d0b5c193 SHA256 f87b99b73c0d936ed892326ebd4c90b1d5c7d5d2ac8832fc62f538db99fb04f7 |
36 |
-DIST mysql-5.1.60.tar.gz 24408313 RMD160 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a SHA1 26ae4d2f7e7066644eb343ab519cbef1626069c2 SHA256 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53 |
37 |
DIST mysql-5.1.61.tar.gz 24462261 RMD160 392b7394a0f7821134f177a3ba4580a29d60e3f4 SHA1 a528cf822af84601dd95d3e1cb3277815685ac65 SHA256 879c6424282e38eb1ba9b1910db98b378a5574ceed431a69e344643a5524f918 |
38 |
-DIST mysql-5.5.10.tar.gz 23877968 RMD160 7f190513e38bbbcac21291e226de87b3b95a1ba4 SHA1 7e0b426d7a9ef0eaa6e2b2ea3e5fef1e1a078c5d SHA256 f4a0dae6d2626705ccede5126f2a3d45700195cb2568537c8b18bf1b604315a5 |
39 |
-DIST mysql-5.5.12.tar.gz 23681636 RMD160 e36d6a29e4f92eecfbbdac47d9f0d9a427446da3 SHA1 8a4f4c2b762676140722d414d694cddd9c1e3397 SHA256 ed99dee5893f8502c909dfc4f55447f0ab9b7ae23fd6df53e31067d25f5088fc |
40 |
-DIST mysql-5.5.14.tar.gz 23772997 RMD160 1c84fc3967691e9eedd1b90df780a9d738a709c4 SHA1 3b17e20be4e8bcc0f94392fb444f4a09f80de2e4 SHA256 c7acab9ccb1e2598d079fe8b832281343c00b5b8032fcece37ef551b61980738 |
41 |
-DIST mysql-5.5.15.tar.gz 23774015 RMD160 536bdcc576583b2ca5b937c1db237dab02453237 SHA1 c89be9fe209d74b62a5e5e71e099dad1e0674a87 SHA256 bed15094b15bb89836c164b9d93eb8f3180caeb6017c8312e33a0c71eb9c5c82 |
42 |
-DIST mysql-5.5.16.tar.gz 23816508 RMD160 c1581d56b3bf254077c709375e7ae48a21748be1 SHA1 1a3372f9179bfc21cba0005c339a72f8e1458483 SHA256 38a88d5f3a4e0ab1c6722662a2c858c63fd98f0925691400282cb23f1ea29b70 |
43 |
-DIST mysql-5.5.17.tar.gz 24213337 RMD160 6bf00da1df03e869e3cc6c18cd03d5634838688e SHA1 de32ea3c3bb1b9cce49230425c27e12a78f80533 SHA256 8b3c66d7ddb2c5b5fcda28964c1fcd83128d1d48efd7fb2b23338819a50911f1 |
44 |
-DIST mysql-5.5.18.tar.gz 24264064 RMD160 5a10dac0d875cf23e6990e46965f547299c0d6cb SHA1 c85f4c082026f88f9354e47e6dc35a505cc89d18 SHA256 874bc84df5602a6d2af013b97deda63376cb0c7b1ad98169087e979d0320f9db |
45 |
DIST mysql-5.5.19.tar.gz 24296942 RMD160 cae5bbea6d527ffb899eeeced8fc411375c285ae SHA1 f6a3b5fb5a10f8110fd85463e1a25fb314e60c24 SHA256 7f3643b378101de19205d133e6fb5ce03d8394e183f4e9ac2b0de59ba57fc34f |
46 |
DIST mysql-5.5.20.tar.gz 24305842 RMD160 2bdecbe6f61497f3d8c9255610d713f6f4e1164b SHA1 d5066327c41ac5a338ca0bb748e50bc4e1902442 SHA256 d07a84152ad3131ca63c20068be6192b0d212462e6cfedd092a1e9fc2b30540e |
47 |
DIST mysql-5.6.2-m5.tar.gz 26137314 RMD160 e333a001e087b9fdf179c4e9f6a1927f2bd0fc6d SHA1 6b82c973b2c203909357e7100741b6030426fa67 SHA256 84b4f83b3eeff43fb9a282c03a252ee3ace1cea43ddebdfeb0ea940a687e427f |
48 |
DIST mysql-extras-20110713-0702Z.tar.bz2 1723462 RMD160 24127c9d9bd053259fb1d9793b944d4447c21cae SHA1 4d03151f26af1ad522e1f0f0ed5eddebd665fc5c SHA256 2b0e1ce0bf5a2bcb543e631f27bf1d6bcb15da0a966112dfe64b2591945cd605 |
49 |
-DIST mysql-extras-20110721-0450Z.tar.bz2 1734716 RMD160 346bdcd46c5b3ec8f839274c078fd6625f981de0 SHA1 d98382e15808b9c54a8d6563483a8ab3de59aa55 SHA256 354c270c777b4c9b5afad1f5dcdcf400989273779fafa726c70d05277bb74a37 |
50 |
DIST mysql-extras-20111118-2347Z.tar.bz2 1780751 RMD160 590ad649c6221d461f96466d83a3c15b1a80a3a9 SHA1 495fd4f43364fd86aed746cfb6f870d35c9c4987 SHA256 db380436ad13231245c02c2e36d4a1d5b3d27fa39c19e844507736a8ba69b6f5 |
51 |
DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 RMD160 835c401b8503f1c1bef4b50f7a7815493f95acc1 SHA1 22eeffe0e38e0a0c2731a2c97fe00ce7d1ab2dfc SHA256 71ff3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12 |
52 |
DIST percona-xtradb-1.0.6-10.tar.gz 1676716 RMD160 772947fe67725c55751f3ec349711c05ba23c39b SHA1 07de0fd126e684aa045a8b941002f7634cd9a604 SHA256 e3aa818f13cf669412e59ad194eae8eada7a857bf7a4260e4bb41cab4d7ae39c |
53 |
EBUILD mysql-5.0.92.ebuild 6584 RMD160 2bd8c049fca18eb04f3e641018824d714926ed65 SHA1 7a7d895df18909e8c5a2e293edd44ebe540ded29 SHA256 316ed800c11ea60ddaa3339cdd4db28101e8b35551f7bee63c32c8f9c9b15947 |
54 |
-EBUILD mysql-5.1.58-r1.ebuild 8718 RMD160 1f30fee1c2d6c0830f9dd7a048a2755e52f68283 SHA1 42a0225f0d0cf5d491335cd7bfce105a8bebefd7 SHA256 f312b2a0a57512c78a110e00d205f6548859d53e790b994257494f5f1a9e6951 |
55 |
-EBUILD mysql-5.1.59.ebuild 8718 RMD160 1f30fee1c2d6c0830f9dd7a048a2755e52f68283 SHA1 42a0225f0d0cf5d491335cd7bfce105a8bebefd7 SHA256 f312b2a0a57512c78a110e00d205f6548859d53e790b994257494f5f1a9e6951 |
56 |
-EBUILD mysql-5.1.60.ebuild 8718 RMD160 b93a58ca719553e9e644394a102f1db34d277d22 SHA1 67ec0ef859b7671f1bfd023efecd3332d943e21d SHA256 878303790f45832461209587a16a249e86062485e81edb8bf1e8e2e082ac77ff |
57 |
EBUILD mysql-5.1.61.ebuild 8888 RMD160 418f097cc87e03c678872dd95ecdc2b44a2140b2 SHA1 abfaf4fa5bb10551db7b742e792e0f6c2d118c88 SHA256 0ea0d451bdd94314896fa8dbe167e38a37aafc7462807c6ede137c5b5e938708 |
58 |
-EBUILD mysql-5.5.10.ebuild 3851 RMD160 acdea00ab14deb95ba74704627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f308eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd |
59 |
-EBUILD mysql-5.5.12.ebuild 3851 RMD160 acdea00ab14deb95ba74704627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f308eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd |
60 |
-EBUILD mysql-5.5.14.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 |
61 |
-EBUILD mysql-5.5.15.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 |
62 |
-EBUILD mysql-5.5.16.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 |
63 |
-EBUILD mysql-5.5.17.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 |
64 |
-EBUILD mysql-5.5.18.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5 |
65 |
EBUILD mysql-5.5.19.ebuild 4234 RMD160 24933ce6a8d4e778ae1c06eac4804068714b610f SHA1 dcf95ba85ad7ea27421adabbfd73b8e4e51c611a SHA256 31a9962b85f68baf3ff780f56a006a1e3293d304452b33afff0e24a66e032e01 |
66 |
EBUILD mysql-5.5.20.ebuild 4234 RMD160 81a54015551e03cd18b99f3681955b191340d5b5 SHA1 9391d3cd4215fda934674cc4174c2bb52b5c6116 SHA256 a48e3a462de8effa3a8bfc2e8bdc80045de54027379056c15c79def8e62737c3 |
67 |
EBUILD mysql-5.6.2_alpha_pre5.ebuild 3851 RMD160 acdea00ab14deb95ba74704627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f308eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd |
68 |
|
69 |
diff --git a/dev-db/mysql/mysql-5.1.58-r1.ebuild b/dev-db/mysql/mysql-5.1.58-r1.ebuild |
70 |
deleted file mode 100644 |
71 |
index 3cbd44c..0000000 |
72 |
--- a/dev-db/mysql/mysql-5.1.58-r1.ebuild |
73 |
+++ /dev/null |
74 |
@@ -1,261 +0,0 @@ |
75 |
-# Copyright 1999-2011 Gentoo Foundation |
76 |
-# Distributed under the terms of the GNU General Public License v2 |
77 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.58.ebuild,v 1.1 2011/07/13 07:37:01 robbat2 Exp $ |
78 |
- |
79 |
-EAPI="4" |
80 |
- |
81 |
-MY_EXTRAS_VER="20110721-0450Z" |
82 |
-# PBXT |
83 |
-PBXT_VERSION='1.0.11-6-pre-ga' |
84 |
-# XtraDB |
85 |
-PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10' |
86 |
- |
87 |
-# Build type |
88 |
-BUILD="autotools" |
89 |
- |
90 |
-inherit toolchain-funcs mysql-v2 |
91 |
- |
92 |
-# only to make repoman happy. it is really set in the eclass |
93 |
-IUSE="$IUSE" |
94 |
- |
95 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
96 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris" |
97 |
- |
98 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
99 |
-# This is often broken still |
100 |
-EPATCH_EXCLUDE='' |
101 |
- |
102 |
-# Most of these are in the eclass |
103 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
104 |
- >=sys-devel/libtool-2.2.10" |
105 |
-RDEPEND="${RDEPEND}" |
106 |
- |
107 |
-# Please do not add a naive src_unpack to this ebuild |
108 |
-# If you want to add a single patch, copy the ebuild to an overlay |
109 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
110 |
-src_prepare() { |
111 |
- sed -i \ |
112 |
- -e '/^noinst_PROGRAMS/s/basic-t//g' \ |
113 |
- "${S}"/unittest/mytap/t/Makefile.am |
114 |
- mysql-v2_src_prepare |
115 |
-} |
116 |
- |
117 |
-# Official test instructions: |
118 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
119 |
-# FEATURES='test userpriv -usersandbox' \ |
120 |
-# ebuild mysql-X.X.XX.ebuild \ |
121 |
-# digest clean package |
122 |
-src_test() { |
123 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
124 |
- # localhost. Also causes weird failures. |
125 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
126 |
- |
127 |
- emake check || die "make check failed" |
128 |
- if ! use "minimal" ; then |
129 |
- if [[ $UID -eq 0 ]]; then |
130 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
131 |
- fi |
132 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
133 |
- cd "${S}" |
134 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
135 |
- local retstatus_unit |
136 |
- local retstatus_ns |
137 |
- local retstatus_ps |
138 |
- local t |
139 |
- addpredict /this-dir-does-not-exist/t9.MYI |
140 |
- |
141 |
- # Ensure that parallel runs don't die |
142 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
143 |
- |
144 |
- # archive_gis really sucks a lot, but it's only relevant for the |
145 |
- # USE=extraengines case |
146 |
- case ${PV} in |
147 |
- 5.0.42) |
148 |
- mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" |
149 |
- ;; |
150 |
- |
151 |
- 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
152 |
- [ "$(tc-endian)" == "big" ] && \ |
153 |
- mysql-v2_disable_test \ |
154 |
- "archive_gis" \ |
155 |
- "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
156 |
- ;; |
157 |
- esac |
158 |
- |
159 |
- # This was a slight testcase breakage when the read_only security issue |
160 |
- # was fixed. |
161 |
- case ${PV} in |
162 |
- 5.0.54|5.0.51*) |
163 |
- mysql-v2_disable_test \ |
164 |
- "read_only" \ |
165 |
- "Broken in 5.0.51-54, output in wrong order" |
166 |
- ;; |
167 |
- esac |
168 |
- |
169 |
- # Ditto to read_only |
170 |
- [ "${PV}" == "5.0.51a" ] && \ |
171 |
- mysql-v2_disable_test \ |
172 |
- "view" \ |
173 |
- "Broken in 5.0.51, output in wrong order" |
174 |
- |
175 |
- # x86-specific, OOM issue with some subselects on low memory servers |
176 |
- [ "${PV}" == "5.0.54" ] && \ |
177 |
- [ "${ARCH/x86}" != "${ARCH}" ] && \ |
178 |
- mysql-v2_disable_test \ |
179 |
- "subselect" \ |
180 |
- "Testcase needs tuning on x86 for oom condition" |
181 |
- |
182 |
- # Broke with the YaSSL security issue that didn't affect Gentoo. |
183 |
- [ "${PV}" == "5.0.56" ] && \ |
184 |
- for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
185 |
- ssl_8k_key ssl_compress ssl_connect ; do \ |
186 |
- mysql-v2_disable_test \ |
187 |
- "$t" \ |
188 |
- "OpenSSL tests broken on 5.0.56" |
189 |
- done |
190 |
- |
191 |
- # New test was broken in first time |
192 |
- # Upstream bug 41066 |
193 |
- # http://bugs.mysql.com/bug.php?id=41066 |
194 |
- [ "${PV}" == "5.0.72" ] && \ |
195 |
- mysql-v2_disable_test \ |
196 |
- "status2" \ |
197 |
- "Broken in 5.0.72, new test is broken, upstream bug #41066" |
198 |
- |
199 |
- # The entire 5.0 series has pre-generated SSL certificates, they have |
200 |
- # mostly expired now. ${S}/mysql-tests/std-data/*.pem |
201 |
- # The certs really SHOULD be generated for the tests, so that they are |
202 |
- # not expiring like this. We cannot do so ourselves as the tests look |
203 |
- # closely as the cert path data, and we do not have the CA key to regen |
204 |
- # ourselves. Alternatively, upstream should generate them with at least |
205 |
- # 50-year validity. |
206 |
- # |
207 |
- # Known expiry points: |
208 |
- # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
209 |
- # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
210 |
- # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
211 |
- # |
212 |
- # mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
213 |
- # expired/invalid. |
214 |
- case ${PV} in |
215 |
- 5.0.*|5.1.*|5.4.*|5.5.*) |
216 |
- for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
217 |
- ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ |
218 |
- mysql-v2_disable_test \ |
219 |
- "$t" \ |
220 |
- "These OpenSSL tests break due to expired certificates" |
221 |
- done |
222 |
- ;; |
223 |
- esac |
224 |
- |
225 |
- # These are also failing in MySQL 5.1 for now, and are believed to be |
226 |
- # false positives: |
227 |
- # |
228 |
- # main.mysql_comment, main.mysql_upgrade, main.information_schema, |
229 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers: |
230 |
- # fails due to USE=-latin1 / utf8 default |
231 |
- # |
232 |
- # main.mysql_client_test: |
233 |
- # segfaults at random under Portage only, suspect resource limits. |
234 |
- # |
235 |
- # main.not_partition: |
236 |
- # Failure reason unknown at this time, must resolve before package.mask |
237 |
- # removal FIXME |
238 |
- case ${PV} in |
239 |
- 5.1.*|5.4.*|5.5.*) |
240 |
- for t in main.mysql_client_test main.mysql_comments \ |
241 |
- main.mysql_upgrade \ |
242 |
- main.information_schema \ |
243 |
- main.not_partition funcs_1.is_columns_mysql \ |
244 |
- funcs_1.is_tables_mysql funcs_1.is_triggers; do |
245 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
246 |
- done |
247 |
- ;; |
248 |
- esac |
249 |
- |
250 |
- # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. |
251 |
- # These tests are picking up a 'connect-timeout' config from somewhere, |
252 |
- # which is not valid, and since it does not have 'loose-' in front of |
253 |
- # it, it's causing a failure |
254 |
- case ${PV} in |
255 |
- 5.1.5*|5.4.*|5.5.*|6*) |
256 |
- for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do |
257 |
- mysql-v2_disable_test "$t" \ |
258 |
- "False positives in Gentoo: connect-timeout" |
259 |
- done |
260 |
- ;; |
261 |
- esac |
262 |
- |
263 |
- use profiling && use community \ |
264 |
- || mysql-v2_disable_test main.profiling \ |
265 |
- "Profiling test needs profiling support" |
266 |
- |
267 |
- if [ "${PN}" == "mariadb" ]; then |
268 |
- for t in \ |
269 |
- parts.part_supported_sql_func_ndb \ |
270 |
- parts.partition_auto_increment_ndb ; do |
271 |
- mysql-v2_disable_test $t "ndb not supported in mariadb" |
272 |
- done |
273 |
- fi |
274 |
- |
275 |
- # This fail with XtraDB in place of normal InnoDB |
276 |
- # TODO: test if they are broken with the rest of the Percona patches |
277 |
- if xtradb_patch_available && use xtradb ; then |
278 |
- for t in main.innodb innodb.innodb_bug51378 \ |
279 |
- main.information_schema_db main.mysqlshow \ |
280 |
- main.innodb-autoinc main.innodb_bug21704 \ |
281 |
- main.innodb_bug44369 main.innodb_bug46000 \ |
282 |
- main.index_merge_innodb \ |
283 |
- innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ |
284 |
- innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ |
285 |
- innodb.innodb_bug21704 innodb.innodb_bug44369 \ |
286 |
- innodb.innodb_bug46000 innodb.innodb_bug48024 \ |
287 |
- innodb.innodb_bug49164 innodb.innodb_bug51920 \ |
288 |
- innodb.innodb_bug54044 \ |
289 |
- ; do |
290 |
- mysql-v2_disable_test $t "tests broken in xtradb" |
291 |
- done |
292 |
- fi |
293 |
- |
294 |
- # bug 332565 |
295 |
- if ! use extraengine ; then |
296 |
- for t in main.range ; do |
297 |
- mysql-v2_disable_test $t "Test $t requires USE=extraengine" |
298 |
- done |
299 |
- fi |
300 |
- |
301 |
- # create directories because mysqladmin might make out of order |
302 |
- mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
303 |
- |
304 |
- # We run the test protocols seperately |
305 |
- emake test-unit |
306 |
- retstatus_unit=$? |
307 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
308 |
- |
309 |
- emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
310 |
- retstatus_ns=$? |
311 |
- [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
312 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
313 |
- |
314 |
- emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
315 |
- retstatus_ps=$? |
316 |
- [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
317 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
318 |
- |
319 |
- # TODO: |
320 |
- # When upstream enables the pr and nr testsuites, we need those as well. |
321 |
- |
322 |
- # Cleanup is important for these testcases. |
323 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
324 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
325 |
- failures="" |
326 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
327 |
- [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
328 |
- [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
329 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
330 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
331 |
- einfo "Tests successfully completed" |
332 |
- else |
333 |
- einfo "Skipping server tests due to minimal build." |
334 |
- fi |
335 |
-} |
336 |
|
337 |
diff --git a/dev-db/mysql/mysql-5.1.59.ebuild b/dev-db/mysql/mysql-5.1.59.ebuild |
338 |
deleted file mode 100644 |
339 |
index 3cbd44c..0000000 |
340 |
--- a/dev-db/mysql/mysql-5.1.59.ebuild |
341 |
+++ /dev/null |
342 |
@@ -1,261 +0,0 @@ |
343 |
-# Copyright 1999-2011 Gentoo Foundation |
344 |
-# Distributed under the terms of the GNU General Public License v2 |
345 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.58.ebuild,v 1.1 2011/07/13 07:37:01 robbat2 Exp $ |
346 |
- |
347 |
-EAPI="4" |
348 |
- |
349 |
-MY_EXTRAS_VER="20110721-0450Z" |
350 |
-# PBXT |
351 |
-PBXT_VERSION='1.0.11-6-pre-ga' |
352 |
-# XtraDB |
353 |
-PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10' |
354 |
- |
355 |
-# Build type |
356 |
-BUILD="autotools" |
357 |
- |
358 |
-inherit toolchain-funcs mysql-v2 |
359 |
- |
360 |
-# only to make repoman happy. it is really set in the eclass |
361 |
-IUSE="$IUSE" |
362 |
- |
363 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
364 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris" |
365 |
- |
366 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
367 |
-# This is often broken still |
368 |
-EPATCH_EXCLUDE='' |
369 |
- |
370 |
-# Most of these are in the eclass |
371 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
372 |
- >=sys-devel/libtool-2.2.10" |
373 |
-RDEPEND="${RDEPEND}" |
374 |
- |
375 |
-# Please do not add a naive src_unpack to this ebuild |
376 |
-# If you want to add a single patch, copy the ebuild to an overlay |
377 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
378 |
-src_prepare() { |
379 |
- sed -i \ |
380 |
- -e '/^noinst_PROGRAMS/s/basic-t//g' \ |
381 |
- "${S}"/unittest/mytap/t/Makefile.am |
382 |
- mysql-v2_src_prepare |
383 |
-} |
384 |
- |
385 |
-# Official test instructions: |
386 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
387 |
-# FEATURES='test userpriv -usersandbox' \ |
388 |
-# ebuild mysql-X.X.XX.ebuild \ |
389 |
-# digest clean package |
390 |
-src_test() { |
391 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
392 |
- # localhost. Also causes weird failures. |
393 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
394 |
- |
395 |
- emake check || die "make check failed" |
396 |
- if ! use "minimal" ; then |
397 |
- if [[ $UID -eq 0 ]]; then |
398 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
399 |
- fi |
400 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
401 |
- cd "${S}" |
402 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
403 |
- local retstatus_unit |
404 |
- local retstatus_ns |
405 |
- local retstatus_ps |
406 |
- local t |
407 |
- addpredict /this-dir-does-not-exist/t9.MYI |
408 |
- |
409 |
- # Ensure that parallel runs don't die |
410 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
411 |
- |
412 |
- # archive_gis really sucks a lot, but it's only relevant for the |
413 |
- # USE=extraengines case |
414 |
- case ${PV} in |
415 |
- 5.0.42) |
416 |
- mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" |
417 |
- ;; |
418 |
- |
419 |
- 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
420 |
- [ "$(tc-endian)" == "big" ] && \ |
421 |
- mysql-v2_disable_test \ |
422 |
- "archive_gis" \ |
423 |
- "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
424 |
- ;; |
425 |
- esac |
426 |
- |
427 |
- # This was a slight testcase breakage when the read_only security issue |
428 |
- # was fixed. |
429 |
- case ${PV} in |
430 |
- 5.0.54|5.0.51*) |
431 |
- mysql-v2_disable_test \ |
432 |
- "read_only" \ |
433 |
- "Broken in 5.0.51-54, output in wrong order" |
434 |
- ;; |
435 |
- esac |
436 |
- |
437 |
- # Ditto to read_only |
438 |
- [ "${PV}" == "5.0.51a" ] && \ |
439 |
- mysql-v2_disable_test \ |
440 |
- "view" \ |
441 |
- "Broken in 5.0.51, output in wrong order" |
442 |
- |
443 |
- # x86-specific, OOM issue with some subselects on low memory servers |
444 |
- [ "${PV}" == "5.0.54" ] && \ |
445 |
- [ "${ARCH/x86}" != "${ARCH}" ] && \ |
446 |
- mysql-v2_disable_test \ |
447 |
- "subselect" \ |
448 |
- "Testcase needs tuning on x86 for oom condition" |
449 |
- |
450 |
- # Broke with the YaSSL security issue that didn't affect Gentoo. |
451 |
- [ "${PV}" == "5.0.56" ] && \ |
452 |
- for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
453 |
- ssl_8k_key ssl_compress ssl_connect ; do \ |
454 |
- mysql-v2_disable_test \ |
455 |
- "$t" \ |
456 |
- "OpenSSL tests broken on 5.0.56" |
457 |
- done |
458 |
- |
459 |
- # New test was broken in first time |
460 |
- # Upstream bug 41066 |
461 |
- # http://bugs.mysql.com/bug.php?id=41066 |
462 |
- [ "${PV}" == "5.0.72" ] && \ |
463 |
- mysql-v2_disable_test \ |
464 |
- "status2" \ |
465 |
- "Broken in 5.0.72, new test is broken, upstream bug #41066" |
466 |
- |
467 |
- # The entire 5.0 series has pre-generated SSL certificates, they have |
468 |
- # mostly expired now. ${S}/mysql-tests/std-data/*.pem |
469 |
- # The certs really SHOULD be generated for the tests, so that they are |
470 |
- # not expiring like this. We cannot do so ourselves as the tests look |
471 |
- # closely as the cert path data, and we do not have the CA key to regen |
472 |
- # ourselves. Alternatively, upstream should generate them with at least |
473 |
- # 50-year validity. |
474 |
- # |
475 |
- # Known expiry points: |
476 |
- # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
477 |
- # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
478 |
- # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
479 |
- # |
480 |
- # mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
481 |
- # expired/invalid. |
482 |
- case ${PV} in |
483 |
- 5.0.*|5.1.*|5.4.*|5.5.*) |
484 |
- for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
485 |
- ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ |
486 |
- mysql-v2_disable_test \ |
487 |
- "$t" \ |
488 |
- "These OpenSSL tests break due to expired certificates" |
489 |
- done |
490 |
- ;; |
491 |
- esac |
492 |
- |
493 |
- # These are also failing in MySQL 5.1 for now, and are believed to be |
494 |
- # false positives: |
495 |
- # |
496 |
- # main.mysql_comment, main.mysql_upgrade, main.information_schema, |
497 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers: |
498 |
- # fails due to USE=-latin1 / utf8 default |
499 |
- # |
500 |
- # main.mysql_client_test: |
501 |
- # segfaults at random under Portage only, suspect resource limits. |
502 |
- # |
503 |
- # main.not_partition: |
504 |
- # Failure reason unknown at this time, must resolve before package.mask |
505 |
- # removal FIXME |
506 |
- case ${PV} in |
507 |
- 5.1.*|5.4.*|5.5.*) |
508 |
- for t in main.mysql_client_test main.mysql_comments \ |
509 |
- main.mysql_upgrade \ |
510 |
- main.information_schema \ |
511 |
- main.not_partition funcs_1.is_columns_mysql \ |
512 |
- funcs_1.is_tables_mysql funcs_1.is_triggers; do |
513 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
514 |
- done |
515 |
- ;; |
516 |
- esac |
517 |
- |
518 |
- # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. |
519 |
- # These tests are picking up a 'connect-timeout' config from somewhere, |
520 |
- # which is not valid, and since it does not have 'loose-' in front of |
521 |
- # it, it's causing a failure |
522 |
- case ${PV} in |
523 |
- 5.1.5*|5.4.*|5.5.*|6*) |
524 |
- for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do |
525 |
- mysql-v2_disable_test "$t" \ |
526 |
- "False positives in Gentoo: connect-timeout" |
527 |
- done |
528 |
- ;; |
529 |
- esac |
530 |
- |
531 |
- use profiling && use community \ |
532 |
- || mysql-v2_disable_test main.profiling \ |
533 |
- "Profiling test needs profiling support" |
534 |
- |
535 |
- if [ "${PN}" == "mariadb" ]; then |
536 |
- for t in \ |
537 |
- parts.part_supported_sql_func_ndb \ |
538 |
- parts.partition_auto_increment_ndb ; do |
539 |
- mysql-v2_disable_test $t "ndb not supported in mariadb" |
540 |
- done |
541 |
- fi |
542 |
- |
543 |
- # This fail with XtraDB in place of normal InnoDB |
544 |
- # TODO: test if they are broken with the rest of the Percona patches |
545 |
- if xtradb_patch_available && use xtradb ; then |
546 |
- for t in main.innodb innodb.innodb_bug51378 \ |
547 |
- main.information_schema_db main.mysqlshow \ |
548 |
- main.innodb-autoinc main.innodb_bug21704 \ |
549 |
- main.innodb_bug44369 main.innodb_bug46000 \ |
550 |
- main.index_merge_innodb \ |
551 |
- innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ |
552 |
- innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ |
553 |
- innodb.innodb_bug21704 innodb.innodb_bug44369 \ |
554 |
- innodb.innodb_bug46000 innodb.innodb_bug48024 \ |
555 |
- innodb.innodb_bug49164 innodb.innodb_bug51920 \ |
556 |
- innodb.innodb_bug54044 \ |
557 |
- ; do |
558 |
- mysql-v2_disable_test $t "tests broken in xtradb" |
559 |
- done |
560 |
- fi |
561 |
- |
562 |
- # bug 332565 |
563 |
- if ! use extraengine ; then |
564 |
- for t in main.range ; do |
565 |
- mysql-v2_disable_test $t "Test $t requires USE=extraengine" |
566 |
- done |
567 |
- fi |
568 |
- |
569 |
- # create directories because mysqladmin might make out of order |
570 |
- mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
571 |
- |
572 |
- # We run the test protocols seperately |
573 |
- emake test-unit |
574 |
- retstatus_unit=$? |
575 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
576 |
- |
577 |
- emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
578 |
- retstatus_ns=$? |
579 |
- [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
580 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
581 |
- |
582 |
- emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
583 |
- retstatus_ps=$? |
584 |
- [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
585 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
586 |
- |
587 |
- # TODO: |
588 |
- # When upstream enables the pr and nr testsuites, we need those as well. |
589 |
- |
590 |
- # Cleanup is important for these testcases. |
591 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
592 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
593 |
- failures="" |
594 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
595 |
- [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
596 |
- [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
597 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
598 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
599 |
- einfo "Tests successfully completed" |
600 |
- else |
601 |
- einfo "Skipping server tests due to minimal build." |
602 |
- fi |
603 |
-} |
604 |
|
605 |
diff --git a/dev-db/mysql/mysql-5.1.60.ebuild b/dev-db/mysql/mysql-5.1.60.ebuild |
606 |
deleted file mode 100644 |
607 |
index c640e0d..0000000 |
608 |
--- a/dev-db/mysql/mysql-5.1.60.ebuild |
609 |
+++ /dev/null |
610 |
@@ -1,261 +0,0 @@ |
611 |
-# Copyright 1999-2011 Gentoo Foundation |
612 |
-# Distributed under the terms of the GNU General Public License v2 |
613 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.58.ebuild,v 1.1 2011/07/13 07:37:01 robbat2 Exp $ |
614 |
- |
615 |
-EAPI="4" |
616 |
- |
617 |
-MY_EXTRAS_VER="20111118-2347Z" |
618 |
-# PBXT |
619 |
-PBXT_VERSION='1.0.11-6-pre-ga' |
620 |
-# XtraDB |
621 |
-PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10' |
622 |
- |
623 |
-# Build type |
624 |
-BUILD="autotools" |
625 |
- |
626 |
-inherit toolchain-funcs mysql-v2 |
627 |
- |
628 |
-# only to make repoman happy. it is really set in the eclass |
629 |
-IUSE="$IUSE" |
630 |
- |
631 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
632 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris" |
633 |
- |
634 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
635 |
-# This is often broken still |
636 |
-EPATCH_EXCLUDE='' |
637 |
- |
638 |
-# Most of these are in the eclass |
639 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
640 |
- >=sys-devel/libtool-2.2.10" |
641 |
-RDEPEND="${RDEPEND}" |
642 |
- |
643 |
-# Please do not add a naive src_unpack to this ebuild |
644 |
-# If you want to add a single patch, copy the ebuild to an overlay |
645 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
646 |
-src_prepare() { |
647 |
- sed -i \ |
648 |
- -e '/^noinst_PROGRAMS/s/basic-t//g' \ |
649 |
- "${S}"/unittest/mytap/t/Makefile.am |
650 |
- mysql-v2_src_prepare |
651 |
-} |
652 |
- |
653 |
-# Official test instructions: |
654 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
655 |
-# FEATURES='test userpriv -usersandbox' \ |
656 |
-# ebuild mysql-X.X.XX.ebuild \ |
657 |
-# digest clean package |
658 |
-src_test() { |
659 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
660 |
- # localhost. Also causes weird failures. |
661 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
662 |
- |
663 |
- emake check || die "make check failed" |
664 |
- if ! use "minimal" ; then |
665 |
- if [[ $UID -eq 0 ]]; then |
666 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
667 |
- fi |
668 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
669 |
- cd "${S}" |
670 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
671 |
- local retstatus_unit |
672 |
- local retstatus_ns |
673 |
- local retstatus_ps |
674 |
- local t |
675 |
- addpredict /this-dir-does-not-exist/t9.MYI |
676 |
- |
677 |
- # Ensure that parallel runs don't die |
678 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
679 |
- |
680 |
- # archive_gis really sucks a lot, but it's only relevant for the |
681 |
- # USE=extraengines case |
682 |
- case ${PV} in |
683 |
- 5.0.42) |
684 |
- mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" |
685 |
- ;; |
686 |
- |
687 |
- 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
688 |
- [ "$(tc-endian)" == "big" ] && \ |
689 |
- mysql-v2_disable_test \ |
690 |
- "archive_gis" \ |
691 |
- "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
692 |
- ;; |
693 |
- esac |
694 |
- |
695 |
- # This was a slight testcase breakage when the read_only security issue |
696 |
- # was fixed. |
697 |
- case ${PV} in |
698 |
- 5.0.54|5.0.51*) |
699 |
- mysql-v2_disable_test \ |
700 |
- "read_only" \ |
701 |
- "Broken in 5.0.51-54, output in wrong order" |
702 |
- ;; |
703 |
- esac |
704 |
- |
705 |
- # Ditto to read_only |
706 |
- [ "${PV}" == "5.0.51a" ] && \ |
707 |
- mysql-v2_disable_test \ |
708 |
- "view" \ |
709 |
- "Broken in 5.0.51, output in wrong order" |
710 |
- |
711 |
- # x86-specific, OOM issue with some subselects on low memory servers |
712 |
- [ "${PV}" == "5.0.54" ] && \ |
713 |
- [ "${ARCH/x86}" != "${ARCH}" ] && \ |
714 |
- mysql-v2_disable_test \ |
715 |
- "subselect" \ |
716 |
- "Testcase needs tuning on x86 for oom condition" |
717 |
- |
718 |
- # Broke with the YaSSL security issue that didn't affect Gentoo. |
719 |
- [ "${PV}" == "5.0.56" ] && \ |
720 |
- for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
721 |
- ssl_8k_key ssl_compress ssl_connect ; do \ |
722 |
- mysql-v2_disable_test \ |
723 |
- "$t" \ |
724 |
- "OpenSSL tests broken on 5.0.56" |
725 |
- done |
726 |
- |
727 |
- # New test was broken in first time |
728 |
- # Upstream bug 41066 |
729 |
- # http://bugs.mysql.com/bug.php?id=41066 |
730 |
- [ "${PV}" == "5.0.72" ] && \ |
731 |
- mysql-v2_disable_test \ |
732 |
- "status2" \ |
733 |
- "Broken in 5.0.72, new test is broken, upstream bug #41066" |
734 |
- |
735 |
- # The entire 5.0 series has pre-generated SSL certificates, they have |
736 |
- # mostly expired now. ${S}/mysql-tests/std-data/*.pem |
737 |
- # The certs really SHOULD be generated for the tests, so that they are |
738 |
- # not expiring like this. We cannot do so ourselves as the tests look |
739 |
- # closely as the cert path data, and we do not have the CA key to regen |
740 |
- # ourselves. Alternatively, upstream should generate them with at least |
741 |
- # 50-year validity. |
742 |
- # |
743 |
- # Known expiry points: |
744 |
- # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
745 |
- # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
746 |
- # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
747 |
- # |
748 |
- # mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
749 |
- # expired/invalid. |
750 |
- case ${PV} in |
751 |
- 5.0.*|5.1.*|5.4.*|5.5.*) |
752 |
- for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
753 |
- ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ |
754 |
- mysql-v2_disable_test \ |
755 |
- "$t" \ |
756 |
- "These OpenSSL tests break due to expired certificates" |
757 |
- done |
758 |
- ;; |
759 |
- esac |
760 |
- |
761 |
- # These are also failing in MySQL 5.1 for now, and are believed to be |
762 |
- # false positives: |
763 |
- # |
764 |
- # main.mysql_comment, main.mysql_upgrade, main.information_schema, |
765 |
- # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers: |
766 |
- # fails due to USE=-latin1 / utf8 default |
767 |
- # |
768 |
- # main.mysql_client_test: |
769 |
- # segfaults at random under Portage only, suspect resource limits. |
770 |
- # |
771 |
- # main.not_partition: |
772 |
- # Failure reason unknown at this time, must resolve before package.mask |
773 |
- # removal FIXME |
774 |
- case ${PV} in |
775 |
- 5.1.*|5.4.*|5.5.*) |
776 |
- for t in main.mysql_client_test main.mysql_comments \ |
777 |
- main.mysql_upgrade \ |
778 |
- main.information_schema \ |
779 |
- main.not_partition funcs_1.is_columns_mysql \ |
780 |
- funcs_1.is_tables_mysql funcs_1.is_triggers; do |
781 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
782 |
- done |
783 |
- ;; |
784 |
- esac |
785 |
- |
786 |
- # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. |
787 |
- # These tests are picking up a 'connect-timeout' config from somewhere, |
788 |
- # which is not valid, and since it does not have 'loose-' in front of |
789 |
- # it, it's causing a failure |
790 |
- case ${PV} in |
791 |
- 5.1.5*|5.4.*|5.5.*|6*) |
792 |
- for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do |
793 |
- mysql-v2_disable_test "$t" \ |
794 |
- "False positives in Gentoo: connect-timeout" |
795 |
- done |
796 |
- ;; |
797 |
- esac |
798 |
- |
799 |
- use profiling && use community \ |
800 |
- || mysql-v2_disable_test main.profiling \ |
801 |
- "Profiling test needs profiling support" |
802 |
- |
803 |
- if [ "${PN}" == "mariadb" ]; then |
804 |
- for t in \ |
805 |
- parts.part_supported_sql_func_ndb \ |
806 |
- parts.partition_auto_increment_ndb ; do |
807 |
- mysql-v2_disable_test $t "ndb not supported in mariadb" |
808 |
- done |
809 |
- fi |
810 |
- |
811 |
- # This fail with XtraDB in place of normal InnoDB |
812 |
- # TODO: test if they are broken with the rest of the Percona patches |
813 |
- if xtradb_patch_available && use xtradb ; then |
814 |
- for t in main.innodb innodb.innodb_bug51378 \ |
815 |
- main.information_schema_db main.mysqlshow \ |
816 |
- main.innodb-autoinc main.innodb_bug21704 \ |
817 |
- main.innodb_bug44369 main.innodb_bug46000 \ |
818 |
- main.index_merge_innodb \ |
819 |
- innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ |
820 |
- innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ |
821 |
- innodb.innodb_bug21704 innodb.innodb_bug44369 \ |
822 |
- innodb.innodb_bug46000 innodb.innodb_bug48024 \ |
823 |
- innodb.innodb_bug49164 innodb.innodb_bug51920 \ |
824 |
- innodb.innodb_bug54044 \ |
825 |
- ; do |
826 |
- mysql-v2_disable_test $t "tests broken in xtradb" |
827 |
- done |
828 |
- fi |
829 |
- |
830 |
- # bug 332565 |
831 |
- if ! use extraengine ; then |
832 |
- for t in main.range ; do |
833 |
- mysql-v2_disable_test $t "Test $t requires USE=extraengine" |
834 |
- done |
835 |
- fi |
836 |
- |
837 |
- # create directories because mysqladmin might make out of order |
838 |
- mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
839 |
- |
840 |
- # We run the test protocols seperately |
841 |
- emake test-unit |
842 |
- retstatus_unit=$? |
843 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
844 |
- |
845 |
- emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
846 |
- retstatus_ns=$? |
847 |
- [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
848 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
849 |
- |
850 |
- emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
851 |
- retstatus_ps=$? |
852 |
- [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
853 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
854 |
- |
855 |
- # TODO: |
856 |
- # When upstream enables the pr and nr testsuites, we need those as well. |
857 |
- |
858 |
- # Cleanup is important for these testcases. |
859 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
860 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
861 |
- failures="" |
862 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
863 |
- [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
864 |
- [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
865 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
866 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
867 |
- einfo "Tests successfully completed" |
868 |
- else |
869 |
- einfo "Skipping server tests due to minimal build." |
870 |
- fi |
871 |
-} |
872 |
|
873 |
diff --git a/dev-db/mysql/mysql-5.5.10.ebuild b/dev-db/mysql/mysql-5.5.10.ebuild |
874 |
deleted file mode 100644 |
875 |
index 610aa95..0000000 |
876 |
--- a/dev-db/mysql/mysql-5.5.10.ebuild |
877 |
+++ /dev/null |
878 |
@@ -1,119 +0,0 @@ |
879 |
-# Copyright 1999-2011 Gentoo Foundation |
880 |
-# Distributed under the terms of the GNU General Public License v2 |
881 |
-# $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 $ |
882 |
- |
883 |
-EAPI="4" |
884 |
- |
885 |
-MY_EXTRAS_VER="live" |
886 |
-MY_PV="${PV//_alpha_pre/-m}" |
887 |
-MY_PV="${MY_PV//_/-}" |
888 |
- |
889 |
-# Build type |
890 |
-BUILD="cmake" |
891 |
- |
892 |
-inherit toolchain-funcs mysql-v2 |
893 |
-# only to make repoman happy. it is really set in the eclass |
894 |
-IUSE="$IUSE" |
895 |
- |
896 |
-# Define the mysql-extras source |
897 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
898 |
- |
899 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
900 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
901 |
- |
902 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
903 |
-EPATCH_EXCLUDE='' |
904 |
- |
905 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
906 |
-RDEPEND="${RDEPEND}" |
907 |
- |
908 |
-# Please do not add a naive src_unpack to this ebuild |
909 |
-# If you want to add a single patch, copy the ebuild to an overlay |
910 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
911 |
- |
912 |
-# Official test instructions: |
913 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
914 |
-# FEATURES='test userpriv -usersandbox' \ |
915 |
-# ebuild mysql-X.X.XX.ebuild \ |
916 |
-# digest clean package |
917 |
-src_test() { |
918 |
- |
919 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
920 |
- local retstatus_unit |
921 |
- local retstatus_tests |
922 |
- |
923 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
924 |
- # localhost. Also causes weird failures. |
925 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
926 |
- |
927 |
- if ! use "minimal" ; then |
928 |
- |
929 |
- if [[ $UID -eq 0 ]]; then |
930 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
931 |
- fi |
932 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
933 |
- |
934 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
935 |
- addpredict /this-dir-does-not-exist/t9.MYI |
936 |
- |
937 |
- # Run CTest (test-units) |
938 |
- cmake-utils_src_test |
939 |
- retstatus_unit=$? |
940 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
941 |
- |
942 |
- # Ensure that parallel runs don't die |
943 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
944 |
- |
945 |
- # create directories because mysqladmin might right out of order |
946 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
947 |
- |
948 |
- # These are failing in MySQL 5.5 for now and are believed to be |
949 |
- # false positives: |
950 |
- # |
951 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
952 |
- # main.mysqld--help-notwin |
953 |
- # fails due to USE=-latin1 / utf8 default |
954 |
- # |
955 |
- # main.mysql_client_test: |
956 |
- # segfaults at random under Portage only, suspect resource limits. |
957 |
- # |
958 |
- # sys_vars.plugin_dir_basic |
959 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
960 |
- # instead of MYSQL_LIBDIR/plugin |
961 |
- # |
962 |
- # main.flush_read_lock_kill |
963 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
964 |
- for t in main.mysql_client_test \ |
965 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
966 |
- main.mysqld--help-notwin; do |
967 |
- mysql_disable_test "$t" "False positives in Gentoo" |
968 |
- done |
969 |
- |
970 |
- # Run mysql tests |
971 |
- pushd "${TESTDIR}" |
972 |
- |
973 |
- # run mysql-test tests |
974 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
975 |
- retstatus_tests=$? |
976 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
977 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
978 |
- |
979 |
- popd |
980 |
- |
981 |
- # Cleanup is important for these testcases. |
982 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
983 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
984 |
- |
985 |
- failures="" |
986 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
987 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
988 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
989 |
- |
990 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
991 |
- einfo "Tests successfully completed" |
992 |
- |
993 |
- else |
994 |
- |
995 |
- einfo "Skipping server tests due to minimal build." |
996 |
- fi |
997 |
-} |
998 |
|
999 |
diff --git a/dev-db/mysql/mysql-5.5.12.ebuild b/dev-db/mysql/mysql-5.5.12.ebuild |
1000 |
deleted file mode 100644 |
1001 |
index 610aa95..0000000 |
1002 |
--- a/dev-db/mysql/mysql-5.5.12.ebuild |
1003 |
+++ /dev/null |
1004 |
@@ -1,119 +0,0 @@ |
1005 |
-# Copyright 1999-2011 Gentoo Foundation |
1006 |
-# Distributed under the terms of the GNU General Public License v2 |
1007 |
-# $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 $ |
1008 |
- |
1009 |
-EAPI="4" |
1010 |
- |
1011 |
-MY_EXTRAS_VER="live" |
1012 |
-MY_PV="${PV//_alpha_pre/-m}" |
1013 |
-MY_PV="${MY_PV//_/-}" |
1014 |
- |
1015 |
-# Build type |
1016 |
-BUILD="cmake" |
1017 |
- |
1018 |
-inherit toolchain-funcs mysql-v2 |
1019 |
-# only to make repoman happy. it is really set in the eclass |
1020 |
-IUSE="$IUSE" |
1021 |
- |
1022 |
-# Define the mysql-extras source |
1023 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
1024 |
- |
1025 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
1026 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1027 |
- |
1028 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
1029 |
-EPATCH_EXCLUDE='' |
1030 |
- |
1031 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
1032 |
-RDEPEND="${RDEPEND}" |
1033 |
- |
1034 |
-# Please do not add a naive src_unpack to this ebuild |
1035 |
-# If you want to add a single patch, copy the ebuild to an overlay |
1036 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
1037 |
- |
1038 |
-# Official test instructions: |
1039 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
1040 |
-# FEATURES='test userpriv -usersandbox' \ |
1041 |
-# ebuild mysql-X.X.XX.ebuild \ |
1042 |
-# digest clean package |
1043 |
-src_test() { |
1044 |
- |
1045 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
1046 |
- local retstatus_unit |
1047 |
- local retstatus_tests |
1048 |
- |
1049 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
1050 |
- # localhost. Also causes weird failures. |
1051 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
1052 |
- |
1053 |
- if ! use "minimal" ; then |
1054 |
- |
1055 |
- if [[ $UID -eq 0 ]]; then |
1056 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
1057 |
- fi |
1058 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1059 |
- |
1060 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
1061 |
- addpredict /this-dir-does-not-exist/t9.MYI |
1062 |
- |
1063 |
- # Run CTest (test-units) |
1064 |
- cmake-utils_src_test |
1065 |
- retstatus_unit=$? |
1066 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
1067 |
- |
1068 |
- # Ensure that parallel runs don't die |
1069 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
1070 |
- |
1071 |
- # create directories because mysqladmin might right out of order |
1072 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
1073 |
- |
1074 |
- # These are failing in MySQL 5.5 for now and are believed to be |
1075 |
- # false positives: |
1076 |
- # |
1077 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
1078 |
- # main.mysqld--help-notwin |
1079 |
- # fails due to USE=-latin1 / utf8 default |
1080 |
- # |
1081 |
- # main.mysql_client_test: |
1082 |
- # segfaults at random under Portage only, suspect resource limits. |
1083 |
- # |
1084 |
- # sys_vars.plugin_dir_basic |
1085 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
1086 |
- # instead of MYSQL_LIBDIR/plugin |
1087 |
- # |
1088 |
- # main.flush_read_lock_kill |
1089 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
1090 |
- for t in main.mysql_client_test \ |
1091 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
1092 |
- main.mysqld--help-notwin; do |
1093 |
- mysql_disable_test "$t" "False positives in Gentoo" |
1094 |
- done |
1095 |
- |
1096 |
- # Run mysql tests |
1097 |
- pushd "${TESTDIR}" |
1098 |
- |
1099 |
- # run mysql-test tests |
1100 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
1101 |
- retstatus_tests=$? |
1102 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
1103 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1104 |
- |
1105 |
- popd |
1106 |
- |
1107 |
- # Cleanup is important for these testcases. |
1108 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
1109 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
1110 |
- |
1111 |
- failures="" |
1112 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
1113 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
1114 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1115 |
- |
1116 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
1117 |
- einfo "Tests successfully completed" |
1118 |
- |
1119 |
- else |
1120 |
- |
1121 |
- einfo "Skipping server tests due to minimal build." |
1122 |
- fi |
1123 |
-} |
1124 |
|
1125 |
diff --git a/dev-db/mysql/mysql-5.5.14.ebuild b/dev-db/mysql/mysql-5.5.14.ebuild |
1126 |
deleted file mode 100644 |
1127 |
index 9bb1440..0000000 |
1128 |
--- a/dev-db/mysql/mysql-5.5.14.ebuild |
1129 |
+++ /dev/null |
1130 |
@@ -1,120 +0,0 @@ |
1131 |
-# Copyright 1999-2011 Gentoo Foundation |
1132 |
-# Distributed under the terms of the GNU General Public License v2 |
1133 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.2 2011/07/14 03:58:44 jmbsvicetto Exp $ |
1134 |
- |
1135 |
-EAPI="4" |
1136 |
- |
1137 |
-MY_EXTRAS_VER="20110713-0702Z" |
1138 |
-MY_PV="${PV//_alpha_pre/-m}" |
1139 |
-MY_PV="${MY_PV//_/-}" |
1140 |
- |
1141 |
-# Build type |
1142 |
-BUILD="cmake" |
1143 |
- |
1144 |
-inherit toolchain-funcs mysql-v2 |
1145 |
-# only to make repoman happy. it is really set in the eclass |
1146 |
-IUSE="$IUSE" |
1147 |
- |
1148 |
-# Define the mysql-extras source |
1149 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
1150 |
- |
1151 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
1152 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1153 |
- |
1154 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
1155 |
-EPATCH_EXCLUDE='' |
1156 |
- |
1157 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
1158 |
-RDEPEND="${RDEPEND}" |
1159 |
- |
1160 |
-# Please do not add a naive src_unpack to this ebuild |
1161 |
-# If you want to add a single patch, copy the ebuild to an overlay |
1162 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
1163 |
- |
1164 |
-# Official test instructions: |
1165 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
1166 |
-# FEATURES='test userpriv -usersandbox' \ |
1167 |
-# ebuild mysql-X.X.XX.ebuild \ |
1168 |
-# digest clean package |
1169 |
-src_test() { |
1170 |
- |
1171 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
1172 |
- local retstatus_unit |
1173 |
- local retstatus_tests |
1174 |
- |
1175 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
1176 |
- # localhost. Also causes weird failures. |
1177 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
1178 |
- |
1179 |
- if ! use "minimal" ; then |
1180 |
- |
1181 |
- if [[ $UID -eq 0 ]]; then |
1182 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
1183 |
- fi |
1184 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1185 |
- |
1186 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
1187 |
- addpredict /this-dir-does-not-exist/t9.MYI |
1188 |
- |
1189 |
- # Run CTest (test-units) |
1190 |
- cmake-utils_src_test |
1191 |
- retstatus_unit=$? |
1192 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
1193 |
- |
1194 |
- # Ensure that parallel runs don't die |
1195 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
1196 |
- |
1197 |
- # create directories because mysqladmin might right out of order |
1198 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
1199 |
- |
1200 |
- # These are failing in MySQL 5.5 for now and are believed to be |
1201 |
- # false positives: |
1202 |
- # |
1203 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
1204 |
- # main.mysqld--help-notwin |
1205 |
- # fails due to USE=-latin1 / utf8 default |
1206 |
- # |
1207 |
- # main.mysql_client_test: |
1208 |
- # segfaults at random under Portage only, suspect resource limits. |
1209 |
- # |
1210 |
- # sys_vars.plugin_dir_basic |
1211 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
1212 |
- # instead of MYSQL_LIBDIR/plugin |
1213 |
- # |
1214 |
- # main.flush_read_lock_kill |
1215 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
1216 |
- for t in main.mysql_client_test \ |
1217 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
1218 |
- main.mysqld--help-notwin main.flush_read_lock_kill \ |
1219 |
- sys_vars.plugin_dir_basic ; do |
1220 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
1221 |
- done |
1222 |
- |
1223 |
- # Run mysql tests |
1224 |
- pushd "${TESTDIR}" |
1225 |
- |
1226 |
- # run mysql-test tests |
1227 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
1228 |
- retstatus_tests=$? |
1229 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
1230 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1231 |
- |
1232 |
- popd |
1233 |
- |
1234 |
- # Cleanup is important for these testcases. |
1235 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
1236 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
1237 |
- |
1238 |
- failures="" |
1239 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
1240 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
1241 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1242 |
- |
1243 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
1244 |
- einfo "Tests successfully completed" |
1245 |
- |
1246 |
- else |
1247 |
- |
1248 |
- einfo "Skipping server tests due to minimal build." |
1249 |
- fi |
1250 |
-} |
1251 |
|
1252 |
diff --git a/dev-db/mysql/mysql-5.5.15.ebuild b/dev-db/mysql/mysql-5.5.15.ebuild |
1253 |
deleted file mode 100644 |
1254 |
index 9bb1440..0000000 |
1255 |
--- a/dev-db/mysql/mysql-5.5.15.ebuild |
1256 |
+++ /dev/null |
1257 |
@@ -1,120 +0,0 @@ |
1258 |
-# Copyright 1999-2011 Gentoo Foundation |
1259 |
-# Distributed under the terms of the GNU General Public License v2 |
1260 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.2 2011/07/14 03:58:44 jmbsvicetto Exp $ |
1261 |
- |
1262 |
-EAPI="4" |
1263 |
- |
1264 |
-MY_EXTRAS_VER="20110713-0702Z" |
1265 |
-MY_PV="${PV//_alpha_pre/-m}" |
1266 |
-MY_PV="${MY_PV//_/-}" |
1267 |
- |
1268 |
-# Build type |
1269 |
-BUILD="cmake" |
1270 |
- |
1271 |
-inherit toolchain-funcs mysql-v2 |
1272 |
-# only to make repoman happy. it is really set in the eclass |
1273 |
-IUSE="$IUSE" |
1274 |
- |
1275 |
-# Define the mysql-extras source |
1276 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
1277 |
- |
1278 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
1279 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1280 |
- |
1281 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
1282 |
-EPATCH_EXCLUDE='' |
1283 |
- |
1284 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
1285 |
-RDEPEND="${RDEPEND}" |
1286 |
- |
1287 |
-# Please do not add a naive src_unpack to this ebuild |
1288 |
-# If you want to add a single patch, copy the ebuild to an overlay |
1289 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
1290 |
- |
1291 |
-# Official test instructions: |
1292 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
1293 |
-# FEATURES='test userpriv -usersandbox' \ |
1294 |
-# ebuild mysql-X.X.XX.ebuild \ |
1295 |
-# digest clean package |
1296 |
-src_test() { |
1297 |
- |
1298 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
1299 |
- local retstatus_unit |
1300 |
- local retstatus_tests |
1301 |
- |
1302 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
1303 |
- # localhost. Also causes weird failures. |
1304 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
1305 |
- |
1306 |
- if ! use "minimal" ; then |
1307 |
- |
1308 |
- if [[ $UID -eq 0 ]]; then |
1309 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
1310 |
- fi |
1311 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1312 |
- |
1313 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
1314 |
- addpredict /this-dir-does-not-exist/t9.MYI |
1315 |
- |
1316 |
- # Run CTest (test-units) |
1317 |
- cmake-utils_src_test |
1318 |
- retstatus_unit=$? |
1319 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
1320 |
- |
1321 |
- # Ensure that parallel runs don't die |
1322 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
1323 |
- |
1324 |
- # create directories because mysqladmin might right out of order |
1325 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
1326 |
- |
1327 |
- # These are failing in MySQL 5.5 for now and are believed to be |
1328 |
- # false positives: |
1329 |
- # |
1330 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
1331 |
- # main.mysqld--help-notwin |
1332 |
- # fails due to USE=-latin1 / utf8 default |
1333 |
- # |
1334 |
- # main.mysql_client_test: |
1335 |
- # segfaults at random under Portage only, suspect resource limits. |
1336 |
- # |
1337 |
- # sys_vars.plugin_dir_basic |
1338 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
1339 |
- # instead of MYSQL_LIBDIR/plugin |
1340 |
- # |
1341 |
- # main.flush_read_lock_kill |
1342 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
1343 |
- for t in main.mysql_client_test \ |
1344 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
1345 |
- main.mysqld--help-notwin main.flush_read_lock_kill \ |
1346 |
- sys_vars.plugin_dir_basic ; do |
1347 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
1348 |
- done |
1349 |
- |
1350 |
- # Run mysql tests |
1351 |
- pushd "${TESTDIR}" |
1352 |
- |
1353 |
- # run mysql-test tests |
1354 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
1355 |
- retstatus_tests=$? |
1356 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
1357 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1358 |
- |
1359 |
- popd |
1360 |
- |
1361 |
- # Cleanup is important for these testcases. |
1362 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
1363 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
1364 |
- |
1365 |
- failures="" |
1366 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
1367 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
1368 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1369 |
- |
1370 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
1371 |
- einfo "Tests successfully completed" |
1372 |
- |
1373 |
- else |
1374 |
- |
1375 |
- einfo "Skipping server tests due to minimal build." |
1376 |
- fi |
1377 |
-} |
1378 |
|
1379 |
diff --git a/dev-db/mysql/mysql-5.5.16.ebuild b/dev-db/mysql/mysql-5.5.16.ebuild |
1380 |
deleted file mode 100644 |
1381 |
index 9bb1440..0000000 |
1382 |
--- a/dev-db/mysql/mysql-5.5.16.ebuild |
1383 |
+++ /dev/null |
1384 |
@@ -1,120 +0,0 @@ |
1385 |
-# Copyright 1999-2011 Gentoo Foundation |
1386 |
-# Distributed under the terms of the GNU General Public License v2 |
1387 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.2 2011/07/14 03:58:44 jmbsvicetto Exp $ |
1388 |
- |
1389 |
-EAPI="4" |
1390 |
- |
1391 |
-MY_EXTRAS_VER="20110713-0702Z" |
1392 |
-MY_PV="${PV//_alpha_pre/-m}" |
1393 |
-MY_PV="${MY_PV//_/-}" |
1394 |
- |
1395 |
-# Build type |
1396 |
-BUILD="cmake" |
1397 |
- |
1398 |
-inherit toolchain-funcs mysql-v2 |
1399 |
-# only to make repoman happy. it is really set in the eclass |
1400 |
-IUSE="$IUSE" |
1401 |
- |
1402 |
-# Define the mysql-extras source |
1403 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
1404 |
- |
1405 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
1406 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1407 |
- |
1408 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
1409 |
-EPATCH_EXCLUDE='' |
1410 |
- |
1411 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
1412 |
-RDEPEND="${RDEPEND}" |
1413 |
- |
1414 |
-# Please do not add a naive src_unpack to this ebuild |
1415 |
-# If you want to add a single patch, copy the ebuild to an overlay |
1416 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
1417 |
- |
1418 |
-# Official test instructions: |
1419 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
1420 |
-# FEATURES='test userpriv -usersandbox' \ |
1421 |
-# ebuild mysql-X.X.XX.ebuild \ |
1422 |
-# digest clean package |
1423 |
-src_test() { |
1424 |
- |
1425 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
1426 |
- local retstatus_unit |
1427 |
- local retstatus_tests |
1428 |
- |
1429 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
1430 |
- # localhost. Also causes weird failures. |
1431 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
1432 |
- |
1433 |
- if ! use "minimal" ; then |
1434 |
- |
1435 |
- if [[ $UID -eq 0 ]]; then |
1436 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
1437 |
- fi |
1438 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1439 |
- |
1440 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
1441 |
- addpredict /this-dir-does-not-exist/t9.MYI |
1442 |
- |
1443 |
- # Run CTest (test-units) |
1444 |
- cmake-utils_src_test |
1445 |
- retstatus_unit=$? |
1446 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
1447 |
- |
1448 |
- # Ensure that parallel runs don't die |
1449 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
1450 |
- |
1451 |
- # create directories because mysqladmin might right out of order |
1452 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
1453 |
- |
1454 |
- # These are failing in MySQL 5.5 for now and are believed to be |
1455 |
- # false positives: |
1456 |
- # |
1457 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
1458 |
- # main.mysqld--help-notwin |
1459 |
- # fails due to USE=-latin1 / utf8 default |
1460 |
- # |
1461 |
- # main.mysql_client_test: |
1462 |
- # segfaults at random under Portage only, suspect resource limits. |
1463 |
- # |
1464 |
- # sys_vars.plugin_dir_basic |
1465 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
1466 |
- # instead of MYSQL_LIBDIR/plugin |
1467 |
- # |
1468 |
- # main.flush_read_lock_kill |
1469 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
1470 |
- for t in main.mysql_client_test \ |
1471 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
1472 |
- main.mysqld--help-notwin main.flush_read_lock_kill \ |
1473 |
- sys_vars.plugin_dir_basic ; do |
1474 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
1475 |
- done |
1476 |
- |
1477 |
- # Run mysql tests |
1478 |
- pushd "${TESTDIR}" |
1479 |
- |
1480 |
- # run mysql-test tests |
1481 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
1482 |
- retstatus_tests=$? |
1483 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
1484 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1485 |
- |
1486 |
- popd |
1487 |
- |
1488 |
- # Cleanup is important for these testcases. |
1489 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
1490 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
1491 |
- |
1492 |
- failures="" |
1493 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
1494 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
1495 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1496 |
- |
1497 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
1498 |
- einfo "Tests successfully completed" |
1499 |
- |
1500 |
- else |
1501 |
- |
1502 |
- einfo "Skipping server tests due to minimal build." |
1503 |
- fi |
1504 |
-} |
1505 |
|
1506 |
diff --git a/dev-db/mysql/mysql-5.5.17.ebuild b/dev-db/mysql/mysql-5.5.17.ebuild |
1507 |
deleted file mode 100644 |
1508 |
index 9bb1440..0000000 |
1509 |
--- a/dev-db/mysql/mysql-5.5.17.ebuild |
1510 |
+++ /dev/null |
1511 |
@@ -1,120 +0,0 @@ |
1512 |
-# Copyright 1999-2011 Gentoo Foundation |
1513 |
-# Distributed under the terms of the GNU General Public License v2 |
1514 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.2 2011/07/14 03:58:44 jmbsvicetto Exp $ |
1515 |
- |
1516 |
-EAPI="4" |
1517 |
- |
1518 |
-MY_EXTRAS_VER="20110713-0702Z" |
1519 |
-MY_PV="${PV//_alpha_pre/-m}" |
1520 |
-MY_PV="${MY_PV//_/-}" |
1521 |
- |
1522 |
-# Build type |
1523 |
-BUILD="cmake" |
1524 |
- |
1525 |
-inherit toolchain-funcs mysql-v2 |
1526 |
-# only to make repoman happy. it is really set in the eclass |
1527 |
-IUSE="$IUSE" |
1528 |
- |
1529 |
-# Define the mysql-extras source |
1530 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
1531 |
- |
1532 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
1533 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1534 |
- |
1535 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
1536 |
-EPATCH_EXCLUDE='' |
1537 |
- |
1538 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
1539 |
-RDEPEND="${RDEPEND}" |
1540 |
- |
1541 |
-# Please do not add a naive src_unpack to this ebuild |
1542 |
-# If you want to add a single patch, copy the ebuild to an overlay |
1543 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
1544 |
- |
1545 |
-# Official test instructions: |
1546 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
1547 |
-# FEATURES='test userpriv -usersandbox' \ |
1548 |
-# ebuild mysql-X.X.XX.ebuild \ |
1549 |
-# digest clean package |
1550 |
-src_test() { |
1551 |
- |
1552 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
1553 |
- local retstatus_unit |
1554 |
- local retstatus_tests |
1555 |
- |
1556 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
1557 |
- # localhost. Also causes weird failures. |
1558 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
1559 |
- |
1560 |
- if ! use "minimal" ; then |
1561 |
- |
1562 |
- if [[ $UID -eq 0 ]]; then |
1563 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
1564 |
- fi |
1565 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1566 |
- |
1567 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
1568 |
- addpredict /this-dir-does-not-exist/t9.MYI |
1569 |
- |
1570 |
- # Run CTest (test-units) |
1571 |
- cmake-utils_src_test |
1572 |
- retstatus_unit=$? |
1573 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
1574 |
- |
1575 |
- # Ensure that parallel runs don't die |
1576 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
1577 |
- |
1578 |
- # create directories because mysqladmin might right out of order |
1579 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
1580 |
- |
1581 |
- # These are failing in MySQL 5.5 for now and are believed to be |
1582 |
- # false positives: |
1583 |
- # |
1584 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
1585 |
- # main.mysqld--help-notwin |
1586 |
- # fails due to USE=-latin1 / utf8 default |
1587 |
- # |
1588 |
- # main.mysql_client_test: |
1589 |
- # segfaults at random under Portage only, suspect resource limits. |
1590 |
- # |
1591 |
- # sys_vars.plugin_dir_basic |
1592 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
1593 |
- # instead of MYSQL_LIBDIR/plugin |
1594 |
- # |
1595 |
- # main.flush_read_lock_kill |
1596 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
1597 |
- for t in main.mysql_client_test \ |
1598 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
1599 |
- main.mysqld--help-notwin main.flush_read_lock_kill \ |
1600 |
- sys_vars.plugin_dir_basic ; do |
1601 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
1602 |
- done |
1603 |
- |
1604 |
- # Run mysql tests |
1605 |
- pushd "${TESTDIR}" |
1606 |
- |
1607 |
- # run mysql-test tests |
1608 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
1609 |
- retstatus_tests=$? |
1610 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
1611 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1612 |
- |
1613 |
- popd |
1614 |
- |
1615 |
- # Cleanup is important for these testcases. |
1616 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
1617 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
1618 |
- |
1619 |
- failures="" |
1620 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
1621 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
1622 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1623 |
- |
1624 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
1625 |
- einfo "Tests successfully completed" |
1626 |
- |
1627 |
- else |
1628 |
- |
1629 |
- einfo "Skipping server tests due to minimal build." |
1630 |
- fi |
1631 |
-} |
1632 |
|
1633 |
diff --git a/dev-db/mysql/mysql-5.5.18.ebuild b/dev-db/mysql/mysql-5.5.18.ebuild |
1634 |
deleted file mode 100644 |
1635 |
index 9bb1440..0000000 |
1636 |
--- a/dev-db/mysql/mysql-5.5.18.ebuild |
1637 |
+++ /dev/null |
1638 |
@@ -1,120 +0,0 @@ |
1639 |
-# Copyright 1999-2011 Gentoo Foundation |
1640 |
-# Distributed under the terms of the GNU General Public License v2 |
1641 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.2 2011/07/14 03:58:44 jmbsvicetto Exp $ |
1642 |
- |
1643 |
-EAPI="4" |
1644 |
- |
1645 |
-MY_EXTRAS_VER="20110713-0702Z" |
1646 |
-MY_PV="${PV//_alpha_pre/-m}" |
1647 |
-MY_PV="${MY_PV//_/-}" |
1648 |
- |
1649 |
-# Build type |
1650 |
-BUILD="cmake" |
1651 |
- |
1652 |
-inherit toolchain-funcs mysql-v2 |
1653 |
-# only to make repoman happy. it is really set in the eclass |
1654 |
-IUSE="$IUSE" |
1655 |
- |
1656 |
-# Define the mysql-extras source |
1657 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
1658 |
- |
1659 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
1660 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1661 |
- |
1662 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
1663 |
-EPATCH_EXCLUDE='' |
1664 |
- |
1665 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
1666 |
-RDEPEND="${RDEPEND}" |
1667 |
- |
1668 |
-# Please do not add a naive src_unpack to this ebuild |
1669 |
-# If you want to add a single patch, copy the ebuild to an overlay |
1670 |
-# and create your own mysql-extras tarball, looking at 000_index.txt |
1671 |
- |
1672 |
-# Official test instructions: |
1673 |
-# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
1674 |
-# FEATURES='test userpriv -usersandbox' \ |
1675 |
-# ebuild mysql-X.X.XX.ebuild \ |
1676 |
-# digest clean package |
1677 |
-src_test() { |
1678 |
- |
1679 |
- local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
1680 |
- local retstatus_unit |
1681 |
- local retstatus_tests |
1682 |
- |
1683 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
1684 |
- # localhost. Also causes weird failures. |
1685 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
1686 |
- |
1687 |
- if ! use "minimal" ; then |
1688 |
- |
1689 |
- if [[ $UID -eq 0 ]]; then |
1690 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
1691 |
- fi |
1692 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1693 |
- |
1694 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
1695 |
- addpredict /this-dir-does-not-exist/t9.MYI |
1696 |
- |
1697 |
- # Run CTest (test-units) |
1698 |
- cmake-utils_src_test |
1699 |
- retstatus_unit=$? |
1700 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
1701 |
- |
1702 |
- # Ensure that parallel runs don't die |
1703 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
1704 |
- |
1705 |
- # create directories because mysqladmin might right out of order |
1706 |
- mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
1707 |
- |
1708 |
- # These are failing in MySQL 5.5 for now and are believed to be |
1709 |
- # false positives: |
1710 |
- # |
1711 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
1712 |
- # main.mysqld--help-notwin |
1713 |
- # fails due to USE=-latin1 / utf8 default |
1714 |
- # |
1715 |
- # main.mysql_client_test: |
1716 |
- # segfaults at random under Portage only, suspect resource limits. |
1717 |
- # |
1718 |
- # sys_vars.plugin_dir_basic |
1719 |
- # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
1720 |
- # instead of MYSQL_LIBDIR/plugin |
1721 |
- # |
1722 |
- # main.flush_read_lock_kill |
1723 |
- # fails because of unknown system variable 'DEBUG_SYNC' |
1724 |
- for t in main.mysql_client_test \ |
1725 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
1726 |
- main.mysqld--help-notwin main.flush_read_lock_kill \ |
1727 |
- sys_vars.plugin_dir_basic ; do |
1728 |
- mysql-v2_disable_test "$t" "False positives in Gentoo" |
1729 |
- done |
1730 |
- |
1731 |
- # Run mysql tests |
1732 |
- pushd "${TESTDIR}" |
1733 |
- |
1734 |
- # run mysql-test tests |
1735 |
- perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
1736 |
- retstatus_tests=$? |
1737 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
1738 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1739 |
- |
1740 |
- popd |
1741 |
- |
1742 |
- # Cleanup is important for these testcases. |
1743 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
1744 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
1745 |
- |
1746 |
- failures="" |
1747 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
1748 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
1749 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
1750 |
- |
1751 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
1752 |
- einfo "Tests successfully completed" |
1753 |
- |
1754 |
- else |
1755 |
- |
1756 |
- einfo "Skipping server tests due to minimal build." |
1757 |
- fi |
1758 |
-} |