Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@×××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
Date: Thu, 29 Aug 2013 18:04:14
Message-Id: 1377799260.2c31b17affcacec46a99f1a9b91ab8edf00d0882.grknight.pub@gentoo
1 commit: 2c31b17affcacec46a99f1a9b91ab8edf00d0882
2 Author: Brian Evans <grknight <AT> lavabit <DOT> com>
3 AuthorDate: Thu Aug 29 18:01:00 2013 +0000
4 Commit: Brian Evans <grknight <AT> lavabit <DOT> com>
5 CommitDate: Thu Aug 29 18:01:00 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=2c31b17a
7
8 [dev-db/mysql] Trim old
9
10 Package-Manager: portage-2.2.1
11
12 ---
13 dev-db/mysql/ChangeLog | 7 +
14 dev-db/mysql/Manifest | 13 --
15 dev-db/mysql/mysql-5.1.66-r1.ebuild | 265 ------------------------------------
16 dev-db/mysql/mysql-5.1.66.ebuild | 265 ------------------------------------
17 dev-db/mysql/mysql-5.1.67-r1.ebuild | 265 ------------------------------------
18 dev-db/mysql/mysql-5.1.67.ebuild | 265 ------------------------------------
19 dev-db/mysql/mysql-5.1.68.ebuild | 265 ------------------------------------
20 dev-db/mysql/mysql-5.1.69.ebuild | 265 ------------------------------------
21 dev-db/mysql/mysql-5.5.29-r1.ebuild | 129 ------------------
22 dev-db/mysql/mysql-5.5.29.ebuild | 129 ------------------
23 dev-db/mysql/mysql-5.5.30.ebuild | 129 ------------------
24 dev-db/mysql/mysql-5.5.31.ebuild | 129 ------------------
25 dev-db/mysql/mysql-5.6.7_rc.ebuild | 119 ----------------
26 dev-db/mysql/mysql-5.6.9_rc.ebuild | 119 ----------------
27 14 files changed, 7 insertions(+), 2357 deletions(-)
28
29 diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog
30 index 3c25cf2..040597a 100644
31 --- a/dev-db/mysql/ChangeLog
32 +++ b/dev-db/mysql/ChangeLog
33 @@ -2,6 +2,13 @@
34 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
35 # $Header: $
36
37 + 29 Aug 2013; Brian Evans <grknight@××××××××.com> -mysql-5.1.66-r1.ebuild,
38 + -mysql-5.1.66.ebuild, -mysql-5.1.67-r1.ebuild, -mysql-5.1.67.ebuild,
39 + -mysql-5.1.68.ebuild, -mysql-5.1.69.ebuild, -mysql-5.5.29-r1.ebuild,
40 + -mysql-5.5.29.ebuild, -mysql-5.5.30.ebuild, -mysql-5.5.31.ebuild,
41 + -mysql-5.6.7_rc.ebuild, -mysql-5.6.9_rc.ebuild:
42 + [dev-db/mysql] Trim old
43 +
44 *mysql-5.6.13 (26 Aug 2013)
45
46 26 Aug 2013; Brian Evans <grknight@××××××××.com> +mysql-5.6.13.ebuild:
47
48 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
49 index 1448669..d7450d6 100644
50 --- a/dev-db/mysql/Manifest
51 +++ b/dev-db/mysql/Manifest
52 @@ -1,29 +1,16 @@
53 DIST mysql-4.0.27.tar.gz 11152643 SHA256 c79f83bed7c1ea98e018b8829375b55c1de838d21a526d7f679becc75de00d0f SHA512 188283133e99e1c0b52ac8650aff325d7c9762fbad526c2c67b26dd614f2a86afb247a3f55ff071be1d44cd13060b9d7cca08ba1d758a04d2369381fa104454e WHIRLPOOL d3964468635eae0caf7fc8fb7b3576da12d49264bd9b797bb2191da8c6b91ca46321fb090e994df2b93b43f50686dcc4f735bdff03b49a3176fa746d5c4a60ab
54 DIST mysql-4.1.22.tar.gz 17761101 SHA256 6bd2436fd0f233bb1518e15975cb4e9fa4434acb53c3c3cd7d4648219abf58e9 SHA512 9de1c2b27cf428a10f67a6217fc2783b638beb6345e2127a4163ceb286073886d223de861c40be0ab36ea78ec5f33ccd5ee457d1e35e67b081d629118b68d390 WHIRLPOOL b40ca2e0d07fc0bd504e57b7eb005d36cf842bb668e93722c723bcc5a797dc9b456ee8971ea99bfc2b9119a2e19ee599f8441eb4601709eb4238196a27319257
55 DIST mysql-5.0.96.tar.gz 22686667 SHA256 43853814775158aa1650f483530a7dde153957579e3349e3ec780b89d741fc84 SHA512 2e3b4ac221c1c1c11618dc79067a7feff680380fcea435813287b02cb0dff45fb5a32a4393c53cf13165f6efc99dbf347a9388ad364cfdf2e392760a310aa5a9 WHIRLPOOL 3e167e4ff4c56095fbdee55b7e619c9b7ad2120eb72c9a58fe77a023ab6e7498c74e2053876e61687d7812f9ff7022303728ddda49732e7569035684263d2517
56 -DIST mysql-5.1.66.tar.gz 24771341 SHA256 eb85e3fa152949670f5b6f4379bd1d700a5f4726660ce18ff0ca628190cba907 SHA512 01b7ff0a08362249e04a9a66cf0f255cb517f22d336201ba4ae8759cfc8047cb3dcaff75821796c01f87b35a7e8f5533957152cc7ae905cdf65f40239634e4f0 WHIRLPOOL 384cb0ef805ac70646f834ed7140ec1dd9ee4810692ba8e671eb7f5006ce2f97a401097224ce78316c371860639322164505e9099c1233d1816fa7bbc4fd354b
57 -DIST mysql-5.1.67.tar.gz 24781885 SHA256 8a5fa02a6db0fd167974c5fc4401ae05c6982e5331d93554a241a3ee2dbda406 SHA512 f0477ebd322d7e69c379bfacd2f4980cdca35c6903e67c44ac97aad5183033f1b791030d3b43c2946adf0154abbaab77add226f47de507d5f8050e6fa401f0cc WHIRLPOOL fd4e39d52b42c8a29ec06e153a5089aad23a042e0fe87653c5312884b8737ed72eb2ac914493dca3f9a7359b988dc9d1667c8249a88b20093b0660d7005cba4d
58 -DIST mysql-5.1.68.tar.gz 24655564 SHA256 25f02868dded24a46aeda7863008bcd9639c08fb5a31a137e19534629c65b517 SHA512 f5e68205f0f747c55e2a981055392e8403fcaae8b7470d1306f58653ad480b09fdabaa26ad2fb61a391276fe7fc77b3a17e6bfab07da91d19510cde17ee4d55a WHIRLPOOL 33eda1e6ef734a63799d4d1431281c371d5369b9dbfbfee275d3096a292224d240e7f9fb38ddff4dc3972c905ca10835a7ec4768cabf7331fa5d42f0f3d5c200
59 -DIST mysql-5.1.69.tar.gz 23947181 SHA256 17a5a8a468a6e58cb3be6a16241246fdfd6248d8b5229e46fdb5ffcc070de929 SHA512 ff569f090f8fc0a7dc2fb787124da8ce5d153a2965c3f6b33007d452304b080d491f1a2dc19e0ed218c1ce319fa9c245380ef1a23d05d656641fe76dabbbd63f WHIRLPOOL ac7fb02169229b065c1f38cd99f95a5f92eebc71f753a22fa85420f699cbffe3dc5b5495f81446902d272072f677b06e57ebe9bcb58e53cbe510eb4e929d4e5f
60 DIST mysql-5.1.70.tar.gz 23984241 SHA256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed SHA512 5d667af9e819bca85ff4d471cbb2792f47129146822a14cc93abb3f80a6fc6453ef06fc3dece091979003906d76002c1e680b3516747d29f5282827ec87a00e3 WHIRLPOOL 58dedd3b72621b339525338db717c399f04293bee5525856f2a275473f9730b3eafffcc3c29425047e4378ca519cb4da217a269269b0b43ad38178ce1e46f21d
61 -DIST mysql-5.5.29.tar.gz 24870769 SHA256 22b50c089038913b3468c7055fc288f7b5d973199ca37c563cd3a3292e812ae5 SHA512 167bc48c0d4e5351af342828d1f14c003b0d62f7388dd15b1b816df708cc4f06cfe8f7c4177af76fb1c1cbaba5adafe9cb884f76bf75d21a067da25896b29210 WHIRLPOOL 06b4e45c5ed6950d45d4a0623f7626af3b2a9d35656a96867b7cdc4bfc0534207c10afd9b3bcca703b826c67cea62e08992b2de99bdd8d661108c16071fb9773
62 -DIST mysql-5.5.30.tar.gz 24499036 SHA256 909fe596e0044082a02d2757b742a33b8a3ff399b589603940494d3d3d975053 SHA512 f494fdf3f8132606ce45c4a1461d3670228e87f98d2a7269edd124c6afe37a22b7e7db5c83c14c0ddc5f68063ac5e7aec7243880dd9ba011010a049ba008bb08 WHIRLPOOL 29526df3d5b86dc7f48956ecb30e013e938d68299c87a3f34e94e42bb0a1dabd44e7d56879a51aac61d41ca728af9d3d78b7e712db6231338a95feb5a256d86b
63 -DIST mysql-5.5.31.tar.gz 24608323 SHA256 9cdd650b47e3ea864ab40d4ab23fa4a9fdfabc7fd018bf5c9cce30722c0abcea SHA512 2384e08cf78891718aaa8b962666f81c06d1762faff3facb1c0d59c476714416f86ff5186a8e443a78cd8654583241bb8e857cd5a9fb483e77cbb58ca9f7eae6 WHIRLPOOL 2ad859ef4119c8e7afc27075d5849b947a0ecbf1d506f0a47af145e32cfe50e6a0b4c157576e290da435591f0d488260d252f3aa8e42dc7d2761dd951b972657
64 DIST mysql-5.5.32.tar.gz 24589274 SHA256 babb19a1e58f6b285ff75e876f550a798d37fb72b5a548ffb411e8a4a51f6890 SHA512 78e9f0f47b3732e83e1261e8c021002288c0555b3aed7a51359511b038084eb9c7314a3960aa225eab46868fc4700f0f7a6301d1a0068c0f9ba038d41a5b7488 WHIRLPOOL fcf7291524fd8709eccdcef3deb32d132e9db0182aeb39c70b59f7086f49e09526d1bb055b3771915eb19271d7f2b86c0d0f65101dbd7a9d998fe95605cabdd3
65 DIST mysql-5.5.33.tar.gz 24680463 SHA256 6ad9af38de1f3595c5fb81bc24bdb62fa39b2ce1c690d87ac7d7a21ca71fceba SHA512 c0d24249113abe5c61a47c96938b49db715d1daf2c27aedbead1b6a69b2cb6c1dd5a96412055182a28d3703ffa808c6032dc2ad608abbcec850f1fc80c552b39 WHIRLPOOL 964974a93a718010cf1c6631b9d0c7c483e66271caeca0b986ae564656fb5cf1e172d15631729ecb02fb07f9bc5e1d491855c23fa4ef4a0af4dcce363b5079f2
66 DIST mysql-5.6.10.tar.gz 35174149 SHA256 156c43a7bde1ada8552938c6b8f46162b568bca8ddb76998a645308d93fb70b6 SHA512 0dcaadccf52e51c33995232740ab62cde06fa5deb964421064642908dae7ea46e605e7620508b8b043e287f12cd0caf647d77477eddf9d61d93c896bff83afbd WHIRLPOOL f3f88d9f66eee2f135ebea8b1daa48ddd30f870cca400f7d70bfceb9cadc1ade44ae8d0f61c3deb12ce489a0c6be094155e4313268d9c45adb3844f748aa7cb4
67 DIST mysql-5.6.12.tar.gz 35876046 SHA256 1153c1e0ae94116c150be5f173c336a80471b5ed4642a682b8462d36d54d5817 SHA512 a94141c2ba1cb1bf606d25a8ede2dd919b2ad0e039211b4527829343282a09d25204bb66bf48a248d9ae2397b5b464f6e1c67d49250c34100297f4050dd3db8a WHIRLPOOL 642d3831c7a8f807b7ea44f1ea447b83dacc6a3b0ec51ec0e1e9990d8c2b1cccae7d92449bc90d3dabc0cdadcb8a122cc6d3cb4a3c22717cf9aa0540a26f1b5c
68 DIST mysql-5.6.13.tar.gz 35951160 SHA256 5d1b230c3ce896fbea47a69b14b9efb122621a19f32c1102d388d8e7fa442d7e SHA512 56d3aa84c0ed69fcdb7706117398d555aaec0c20fe09364cd6d4a6b3e3af8644825d7cb886dbfd3fe630bfd318306090359f04f2558cf499915a9f1648520a82 WHIRLPOOL e9c701b8923071136e3baaabffae5f38e76ae7f8cf237aa0109614940a365bf2589d05d2c31b1523a92ad4ad0cc7dbff4eb15711b09c0cb3223e73e88456b290
69 -DIST mysql-5.6.7-rc.tar.gz 34316534 SHA256 cc24b2ad3f5d7df4849bb9c5c2c32c1ec329ff87a44db08737d336b964359600 SHA512 86cb6298be320e61974626f7708dbab75478b98fc1c9f5bb81a241ad7bd70a249692f2254f41b9e96804380ff78b21ccd006e7a861532a97e558816e46ec6b8d WHIRLPOOL 26d2edd331388b4fa08b8384a4c292cdec927216054ece6708227d11d9fe68c55d50e7a828c3395c25997a967ca5acbabac5dbd47ecc6e61c24170fafbc3af79
70 -DIST mysql-5.6.9-rc.tar.gz 35444739 SHA256 f815b9a98ae2e65f9efed7ea24d489aa182917d9504a8ff041f9cb1fb02f48ff SHA512 2c615d96867bab78751d54ef163001cbcfa0676ac4a8c34b8f5c93cf256b94b4beb60fc2d8ded8d4272bd61a53119328a6e1c3db61ea5fbe4de4409ff804ff75 WHIRLPOOL 0577bc5297d034202ab0d3b08d24c979fdb62e078e8b99bded67b1f4f5e144ed0e1d602c6b03cc2e0941ad79fd179dcbc0e9bad0b7dd9a57356403a90776f15f
71 DIST mysql-5.7.1-m11.tar.gz 36605947 SHA256 00630164b2f61c1ed08e8484c75fea81acff33137c94f7da4d49fa352df2f489 SHA512 dabd1fde56d297ee2296d06b0a3190210450ca01d3c6d46634af643e2f0d83b14ef5f5bd79f09c96def840fe153a9cdd9b17baa3c75bf408bc95445f8c0afcf1 WHIRLPOOL 229e3020bf4b610336bbd83049e6a4faa39d9fb91ec5bd4702aa3610d06f1d41c7003ff80c7faf45ebfe151fd3a1bc3bef7118cb89b9fd61fc5132892b0b7589
72 DIST mysql-extras-20070105.tar.bz2 50005 SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 SHA512 65e8fd1f9cc71083dbcfaffc331171e0d7deedbd784e416a4b629139f71cc102a84fa62c2d9e48310a18571ef7f06153911ee75c5d7bb6ba88807c287e7cbf34 WHIRLPOOL 3f858fbed6f57ffac863c29bef09a658e3d9f57cf4c6b5c62537973ae44f217344a8592ad311b14b1e7e8d475434b3c69339a8d2873c498ba712ff6f5e128cec
73 DIST mysql-extras-20090228-2228Z.tar.bz2 254048 SHA256 03a986a5c5ae57f1436553565239613e978ae11e12834fcb275ec6457b12b6fb SHA512 b347c0894d45cff2c10e26c12d7586c335811b607cd760b48e51743e74c55ace820d2d50fac2ce72543c14b9b4d15afce336bd956ea8a820df4a651f23e3b79f WHIRLPOOL 4d89a44791ec7e95baa3822bb62a3638c86d24bcfc777b9ff5a8d26020e7401159a3c03ebda9907fcbf02589b80726f2daa5bf2498d8e6e6e33540edf9b1d551
74 DIST mysql-extras-20120401-2131Z.tar.bz2 1835097 SHA256 95e531799ed267c566da8b0759da78d0351d6004c7c8a45018054e287a989495 SHA512 0625e1f06e04c7841256955950dd7766a5f03d4ade2aee3c13335f08acff374933ed1fd7ddea214eaaa3531d7373ef094734f5c00530555347f058f5ec4d9d36 WHIRLPOOL f2c6e9387b38b609d3bfea83c6983c456d30a9dcf95c256a44402d4c63fa22543d55d6afa9b8dbf4238dcadf32fac3daec5031d50c8a4acf7a074d04fbede213
75 -DIST mysql-extras-20121101-2319Z.tar.bz2 1898358 SHA256 ea5da082d3384bde67e005ebc39b78e7caadea80745333fb5a9cf47a4c4e4c5d SHA512 6a49abb1beee012d87ab63071a568ee6d9d8e4ff7a76401b91f5bdc127860d1c504a3877cbadb81536b07afe5ff419c77c793b0fc14ba484f56765d1ca526614 WHIRLPOOL 4bda75a0a9063830b3140bbc3cb12b60fa21289eee2fa476fb286da6318fdf0445a9c6193bd2063aefcd3f4ecc1f8045b30635f0e32014098d0f3dbee86e01fc
76 -DIST mysql-extras-20130120-0100Z.tar.bz2 1899297 SHA256 56db6daa26070cb10b220cb06e7b4d4a84214932a5a04500ed0e76b938c01776 SHA512 9fc9b21e547ec0e1ae37b288a1ade28b11c03a89129302226c36018cf69842fda95665799ded84f04cccffaf54555acde40bf2ae6e2ea39ec63b3876382af1ba WHIRLPOOL 25f31d91d6004e7472ef6f2ff0d02b9dde9915f56fc84da600145ac09d1d56751c2ef85c897d3b7bacd29b1010b304445517452254a1e9208bc7bfa9c2e9bf2e
77 -DIST mysql-extras-20130120-2303Z.tar.bz2 1899548 SHA256 b8d0cf2a9016324796c3c054cd90b7dc4efb9016bdc793dfbaafaf124a072efe SHA512 748bb6577028332e9ca51cbccefd8859dc5cee65d0824da1ba3fee5387dc89b68b8789dd9db81e00ad8307c4de5ea3d84dca97a1cf65a9d988af3fb3246328c9 WHIRLPOOL 5f0931de21a14de5ad57898a8fdd34b5ff9666958f20c7bd8e4277e58fd00c3aa3ad9d15694410e2fd784064f960f264500015e146cdf3f346ea67f7f053e67c
78 -DIST mysql-extras-20130128-0054Z.tar.bz2 1900342 SHA256 31d6c5ba55b6640569956bb4558e9e8f63f1947e1b51d4f4537a18f5f5a88893 SHA512 dd35934c145eb7faa237f630f1d4b671a35f5fa0b6a83e60ce647c8a19acf0c974e7b86d92086151f5c11c365529214c659ed1f0b3174277d90e5b4fbe60a362 WHIRLPOOL b15be083feb3896e85d4a1f31cbcea71384a17d0c5fd413e1d95ce416603cd710c754c3f4b705846cedcb8e2de9d77e614c62fd4882b4ec1684e4343d6194e80
79 DIST mysql-extras-20130602-1946Z.tar.bz2 1478373 SHA256 843465190319464fdb035f4ddcf8a84ad3161780e3a81c1269c8f498b1524aab SHA512 95fc28f84618e11eeb2de22c12796eca5f8eff7b69ccc44d329d8f81aba4b015c834bad965a909f4e1e90a7f6012db98092ca21f31388ff5ab88268c8c1b60f3 WHIRLPOOL c04b1554663934969ab6b7773c96a5bd2388971dbea1eef138620014ef1e023904b5df326ff3e36538920be7bc50a2962e8f7a33435e42c1b5bdf5787ed2eb3a
80 DIST mysql-extras-20130606-1725Z.tar.bz2 1478541 SHA256 001d93992cda2067942209f9fccfdccd8a8a4b92486779c3b777580f9c85eb71 SHA512 312db9d5cf80a1e474c0e9069d5b97082cf5955974aceed75b6cfbeded944180d01a1343b0b84d6dd1ec73b9458aa58eeced5b2c5e324ac72512dcb480130acd WHIRLPOOL 8103f10fe9103aaa6cd424f71d2f67daf8b79d8fc1a3a6a13748929f6a263f6a19125a5b6e1d09c8ef2c07d01136b99e38d40c281a7a3cd7a1cd110a0fb4b67f
81 DIST mysql-extras-20130626-0127Z.tar.bz2 1476503 SHA256 a3c791b7b95fe170c4071feed11699146fc8f9de6a9f2ffa67214c2e50644b4f SHA512 4ee19cb5960ba24f2db16e7c5b647d1b7bb9fadbc73bbd8125bbac7e926c569a9a585a4d1d92b851ea6653d9c15eeb00f1592880f104520dc040e5af19943ac7 WHIRLPOOL 739f5762fa24b0feb40848ddb83f2ed95fb650933920b3d9e55c5e90f907d4ac74dfb00e4b9189cda8f9af4317478f3132daf789d7c91196827f645dd3e37d61
82
83 diff --git a/dev-db/mysql/mysql-5.1.66-r1.ebuild b/dev-db/mysql/mysql-5.1.66-r1.ebuild
84 deleted file mode 100644
85 index e4a31ea..0000000
86 --- a/dev-db/mysql/mysql-5.1.66-r1.ebuild
87 +++ /dev/null
88 @@ -1,265 +0,0 @@
89 -# Copyright 1999-2013 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.66-r1.ebuild,v 1.1 2013/01/28 02:10:49 robbat2 Exp $
92 -
93 -EAPI="4"
94 -
95 -MY_EXTRAS_VER="20130128-0054Z"
96 -# PBXT
97 -PBXT_VERSION='1.0.11-6-pre-ga'
98 -# XtraDB
99 -PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
100 -
101 -# Build type
102 -BUILD="autotools"
103 -
104 -inherit toolchain-funcs mysql-v2
105 -
106 -# only to make repoman happy. it is really set in the eclass
107 -IUSE="$IUSE"
108 -
109 -# REMEMBER: also update eclass/mysql*.eclass before committing!
110 -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"
111 -
112 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
113 -# This is often broken still
114 -EPATCH_EXCLUDE=''
115 -
116 -# Most of these are in the eclass
117 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
118 - >=sys-devel/libtool-2.2.10"
119 -RDEPEND="${RDEPEND}"
120 -
121 -# Please do not add a naive src_unpack to this ebuild
122 -# If you want to add a single patch, copy the ebuild to an overlay
123 -# and create your own mysql-extras tarball, looking at 000_index.txt
124 -src_prepare() {
125 - sed -i \
126 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
127 - "${S}"/unittest/mytap/t/Makefile.am
128 - mysql-v2_src_prepare
129 -}
130 -
131 -# Official test instructions:
132 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
133 -# FEATURES='test userpriv -usersandbox' \
134 -# ebuild mysql-X.X.XX.ebuild \
135 -# digest clean package
136 -src_test() {
137 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
138 - # localhost. Also causes weird failures.
139 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
140 -
141 - emake check || die "make check failed"
142 - if ! use "minimal" ; then
143 - if [[ $UID -eq 0 ]]; then
144 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
145 - fi
146 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
147 - cd "${S}"
148 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
149 - local retstatus_unit
150 - local retstatus_ns
151 - local retstatus_ps
152 - local t
153 - addpredict /this-dir-does-not-exist/t9.MYI
154 -
155 - # Ensure that parallel runs don't die
156 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
157 -
158 - # archive_gis really sucks a lot, but it's only relevant for the
159 - # USE=extraengines case
160 - case ${PV} in
161 - 5.0.42)
162 - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
163 - ;;
164 -
165 - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
166 - [ "$(tc-endian)" == "big" ] && \
167 - mysql-v2_disable_test \
168 - "archive_gis" \
169 - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
170 - ;;
171 - esac
172 -
173 - # This was a slight testcase breakage when the read_only security issue
174 - # was fixed.
175 - case ${PV} in
176 - 5.0.54|5.0.51*)
177 - mysql-v2_disable_test \
178 - "read_only" \
179 - "Broken in 5.0.51-54, output in wrong order"
180 - ;;
181 - esac
182 -
183 - # Ditto to read_only
184 - [ "${PV}" == "5.0.51a" ] && \
185 - mysql-v2_disable_test \
186 - "view" \
187 - "Broken in 5.0.51, output in wrong order"
188 -
189 - # x86-specific, OOM issue with some subselects on low memory servers
190 - [ "${PV}" == "5.0.54" ] && \
191 - [ "${ARCH/x86}" != "${ARCH}" ] && \
192 - mysql-v2_disable_test \
193 - "subselect" \
194 - "Testcase needs tuning on x86 for oom condition"
195 -
196 - # Broke with the YaSSL security issue that didn't affect Gentoo.
197 - [ "${PV}" == "5.0.56" ] && \
198 - for t in openssl_1 rpl_openssl rpl_ssl ssl \
199 - ssl_8k_key ssl_compress ssl_connect ; do \
200 - mysql-v2_disable_test \
201 - "$t" \
202 - "OpenSSL tests broken on 5.0.56"
203 - done
204 -
205 - # New test was broken in first time
206 - # Upstream bug 41066
207 - # http://bugs.mysql.com/bug.php?id=41066
208 - [ "${PV}" == "5.0.72" ] && \
209 - mysql-v2_disable_test \
210 - "status2" \
211 - "Broken in 5.0.72, new test is broken, upstream bug #41066"
212 -
213 - # The entire 5.0 series has pre-generated SSL certificates, they have
214 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
215 - # The certs really SHOULD be generated for the tests, so that they are
216 - # not expiring like this. We cannot do so ourselves as the tests look
217 - # closely as the cert path data, and we do not have the CA key to regen
218 - # ourselves. Alternatively, upstream should generate them with at least
219 - # 50-year validity.
220 - #
221 - # Known expiry points:
222 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
223 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
224 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
225 - #
226 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
227 - # expired/invalid.
228 - case ${PV} in
229 - 5.0.*|5.1.*|5.4.*|5.5.*)
230 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
231 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
232 - mysql-v2_disable_test \
233 - "$t" \
234 - "These OpenSSL tests break due to expired certificates"
235 - done
236 - ;;
237 - esac
238 -
239 - # These are also failing in MySQL 5.1 for now, and are believed to be
240 - # false positives:
241 - #
242 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
243 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
244 - # fails due to USE=-latin1 / utf8 default
245 - #
246 - # main.mysql_client_test:
247 - # segfaults at random under Portage only, suspect resource limits.
248 - #
249 - # main.not_partition:
250 - # Failure reason unknown at this time, must resolve before package.mask
251 - # removal FIXME
252 - case ${PV} in
253 - 5.1.*|5.4.*|5.5.*)
254 - for t in main.mysql_client_test main.mysql_comments \
255 - main.mysql_upgrade \
256 - main.information_schema \
257 - main.not_partition funcs_1.is_columns_mysql \
258 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
259 - mysql-v2_disable_test "$t" "False positives in Gentoo"
260 - done
261 - ;;
262 - esac
263 -
264 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
265 - # These tests are picking up a 'connect-timeout' config from somewhere,
266 - # which is not valid, and since it does not have 'loose-' in front of
267 - # it, it's causing a failure
268 - case ${PV} in
269 - 5.1.5*|5.4.*|5.5.*|6*)
270 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
271 - mysql-v2_disable_test "$t" \
272 - "False positives in Gentoo: connect-timeout"
273 - done
274 - ;;
275 - esac
276 -
277 - use profiling && use community \
278 - || mysql-v2_disable_test main.profiling \
279 - "Profiling test needs profiling support"
280 -
281 - if [ "${PN}" == "mariadb" ]; then
282 - for t in \
283 - parts.part_supported_sql_func_ndb \
284 - parts.partition_auto_increment_ndb ; do
285 - mysql-v2_disable_test $t "ndb not supported in mariadb"
286 - done
287 - fi
288 -
289 - # This fail with XtraDB in place of normal InnoDB
290 - # TODO: test if they are broken with the rest of the Percona patches
291 - if xtradb_patch_available && use xtradb ; then
292 - for t in main.innodb innodb.innodb_bug51378 \
293 - main.information_schema_db main.mysqlshow \
294 - main.innodb-autoinc main.innodb_bug21704 \
295 - main.innodb_bug44369 main.innodb_bug46000 \
296 - main.index_merge_innodb \
297 - innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
298 - innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
299 - innodb.innodb_bug21704 innodb.innodb_bug44369 \
300 - innodb.innodb_bug46000 innodb.innodb_bug48024 \
301 - innodb.innodb_bug49164 innodb.innodb_bug51920 \
302 - innodb.innodb_bug54044 \
303 - ; do
304 - mysql-v2_disable_test $t "tests broken in xtradb"
305 - done
306 - fi
307 -
308 - if ! use extraengine ; then
309 - # bug 332565
310 - for t in main.range ; do
311 - mysql-v2_disable_test $t "Test $t requires USE=extraengine"
312 - done
313 - # bug 401673
314 - for t in federated.federated_plugin ; do
315 - mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
316 - done
317 - fi
318 -
319 - # create directories because mysqladmin might make out of order
320 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
321 -
322 - # We run the test protocols seperately
323 - emake test-unit
324 - retstatus_unit=$?
325 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
326 -
327 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
328 - retstatus_ns=$?
329 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
330 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
331 -
332 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
333 - retstatus_ps=$?
334 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
335 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
336 -
337 - # TODO:
338 - # When upstream enables the pr and nr testsuites, we need those as well.
339 -
340 - # Cleanup is important for these testcases.
341 - pkill -9 -f "${S}/ndb" 2>/dev/null
342 - pkill -9 -f "${S}/sql" 2>/dev/null
343 - failures=""
344 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
345 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
346 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
347 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
348 - [[ -z "$failures" ]] || die "Test failures: $failures"
349 - einfo "Tests successfully completed"
350 - else
351 - einfo "Skipping server tests due to minimal build."
352 - fi
353 -}
354
355 diff --git a/dev-db/mysql/mysql-5.1.66.ebuild b/dev-db/mysql/mysql-5.1.66.ebuild
356 deleted file mode 100644
357 index e01f201..0000000
358 --- a/dev-db/mysql/mysql-5.1.66.ebuild
359 +++ /dev/null
360 @@ -1,265 +0,0 @@
361 -# Copyright 1999-2013 Gentoo Foundation
362 -# Distributed under the terms of the GNU General Public License v2
363 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.66.ebuild,v 1.8 2012/12/01 00:52:42 blueness Exp $
364 -
365 -EAPI="4"
366 -
367 -MY_EXTRAS_VER="20121101-2319Z"
368 -# PBXT
369 -PBXT_VERSION='1.0.11-6-pre-ga'
370 -# XtraDB
371 -PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
372 -
373 -# Build type
374 -BUILD="autotools"
375 -
376 -inherit toolchain-funcs mysql-v2
377 -
378 -# only to make repoman happy. it is really set in the eclass
379 -IUSE="$IUSE"
380 -
381 -# REMEMBER: also update eclass/mysql*.eclass before committing!
382 -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"
383 -
384 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
385 -# This is often broken still
386 -EPATCH_EXCLUDE=''
387 -
388 -# Most of these are in the eclass
389 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
390 - >=sys-devel/libtool-2.2.10"
391 -RDEPEND="${RDEPEND}"
392 -
393 -# Please do not add a naive src_unpack to this ebuild
394 -# If you want to add a single patch, copy the ebuild to an overlay
395 -# and create your own mysql-extras tarball, looking at 000_index.txt
396 -src_prepare() {
397 - sed -i \
398 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
399 - "${S}"/unittest/mytap/t/Makefile.am
400 - mysql-v2_src_prepare
401 -}
402 -
403 -# Official test instructions:
404 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
405 -# FEATURES='test userpriv -usersandbox' \
406 -# ebuild mysql-X.X.XX.ebuild \
407 -# digest clean package
408 -src_test() {
409 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
410 - # localhost. Also causes weird failures.
411 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
412 -
413 - emake check || die "make check failed"
414 - if ! use "minimal" ; then
415 - if [[ $UID -eq 0 ]]; then
416 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
417 - fi
418 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
419 - cd "${S}"
420 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
421 - local retstatus_unit
422 - local retstatus_ns
423 - local retstatus_ps
424 - local t
425 - addpredict /this-dir-does-not-exist/t9.MYI
426 -
427 - # Ensure that parallel runs don't die
428 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
429 -
430 - # archive_gis really sucks a lot, but it's only relevant for the
431 - # USE=extraengines case
432 - case ${PV} in
433 - 5.0.42)
434 - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
435 - ;;
436 -
437 - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
438 - [ "$(tc-endian)" == "big" ] && \
439 - mysql-v2_disable_test \
440 - "archive_gis" \
441 - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
442 - ;;
443 - esac
444 -
445 - # This was a slight testcase breakage when the read_only security issue
446 - # was fixed.
447 - case ${PV} in
448 - 5.0.54|5.0.51*)
449 - mysql-v2_disable_test \
450 - "read_only" \
451 - "Broken in 5.0.51-54, output in wrong order"
452 - ;;
453 - esac
454 -
455 - # Ditto to read_only
456 - [ "${PV}" == "5.0.51a" ] && \
457 - mysql-v2_disable_test \
458 - "view" \
459 - "Broken in 5.0.51, output in wrong order"
460 -
461 - # x86-specific, OOM issue with some subselects on low memory servers
462 - [ "${PV}" == "5.0.54" ] && \
463 - [ "${ARCH/x86}" != "${ARCH}" ] && \
464 - mysql-v2_disable_test \
465 - "subselect" \
466 - "Testcase needs tuning on x86 for oom condition"
467 -
468 - # Broke with the YaSSL security issue that didn't affect Gentoo.
469 - [ "${PV}" == "5.0.56" ] && \
470 - for t in openssl_1 rpl_openssl rpl_ssl ssl \
471 - ssl_8k_key ssl_compress ssl_connect ; do \
472 - mysql-v2_disable_test \
473 - "$t" \
474 - "OpenSSL tests broken on 5.0.56"
475 - done
476 -
477 - # New test was broken in first time
478 - # Upstream bug 41066
479 - # http://bugs.mysql.com/bug.php?id=41066
480 - [ "${PV}" == "5.0.72" ] && \
481 - mysql-v2_disable_test \
482 - "status2" \
483 - "Broken in 5.0.72, new test is broken, upstream bug #41066"
484 -
485 - # The entire 5.0 series has pre-generated SSL certificates, they have
486 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
487 - # The certs really SHOULD be generated for the tests, so that they are
488 - # not expiring like this. We cannot do so ourselves as the tests look
489 - # closely as the cert path data, and we do not have the CA key to regen
490 - # ourselves. Alternatively, upstream should generate them with at least
491 - # 50-year validity.
492 - #
493 - # Known expiry points:
494 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
495 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
496 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
497 - #
498 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
499 - # expired/invalid.
500 - case ${PV} in
501 - 5.0.*|5.1.*|5.4.*|5.5.*)
502 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
503 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
504 - mysql-v2_disable_test \
505 - "$t" \
506 - "These OpenSSL tests break due to expired certificates"
507 - done
508 - ;;
509 - esac
510 -
511 - # These are also failing in MySQL 5.1 for now, and are believed to be
512 - # false positives:
513 - #
514 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
515 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
516 - # fails due to USE=-latin1 / utf8 default
517 - #
518 - # main.mysql_client_test:
519 - # segfaults at random under Portage only, suspect resource limits.
520 - #
521 - # main.not_partition:
522 - # Failure reason unknown at this time, must resolve before package.mask
523 - # removal FIXME
524 - case ${PV} in
525 - 5.1.*|5.4.*|5.5.*)
526 - for t in main.mysql_client_test main.mysql_comments \
527 - main.mysql_upgrade \
528 - main.information_schema \
529 - main.not_partition funcs_1.is_columns_mysql \
530 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
531 - mysql-v2_disable_test "$t" "False positives in Gentoo"
532 - done
533 - ;;
534 - esac
535 -
536 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
537 - # These tests are picking up a 'connect-timeout' config from somewhere,
538 - # which is not valid, and since it does not have 'loose-' in front of
539 - # it, it's causing a failure
540 - case ${PV} in
541 - 5.1.5*|5.4.*|5.5.*|6*)
542 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
543 - mysql-v2_disable_test "$t" \
544 - "False positives in Gentoo: connect-timeout"
545 - done
546 - ;;
547 - esac
548 -
549 - use profiling && use community \
550 - || mysql-v2_disable_test main.profiling \
551 - "Profiling test needs profiling support"
552 -
553 - if [ "${PN}" == "mariadb" ]; then
554 - for t in \
555 - parts.part_supported_sql_func_ndb \
556 - parts.partition_auto_increment_ndb ; do
557 - mysql-v2_disable_test $t "ndb not supported in mariadb"
558 - done
559 - fi
560 -
561 - # This fail with XtraDB in place of normal InnoDB
562 - # TODO: test if they are broken with the rest of the Percona patches
563 - if xtradb_patch_available && use xtradb ; then
564 - for t in main.innodb innodb.innodb_bug51378 \
565 - main.information_schema_db main.mysqlshow \
566 - main.innodb-autoinc main.innodb_bug21704 \
567 - main.innodb_bug44369 main.innodb_bug46000 \
568 - main.index_merge_innodb \
569 - innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
570 - innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
571 - innodb.innodb_bug21704 innodb.innodb_bug44369 \
572 - innodb.innodb_bug46000 innodb.innodb_bug48024 \
573 - innodb.innodb_bug49164 innodb.innodb_bug51920 \
574 - innodb.innodb_bug54044 \
575 - ; do
576 - mysql-v2_disable_test $t "tests broken in xtradb"
577 - done
578 - fi
579 -
580 - if ! use extraengine ; then
581 - # bug 332565
582 - for t in main.range ; do
583 - mysql-v2_disable_test $t "Test $t requires USE=extraengine"
584 - done
585 - # bug 401673
586 - for t in federated.federated_plugin ; do
587 - mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
588 - done
589 - fi
590 -
591 - # create directories because mysqladmin might make out of order
592 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
593 -
594 - # We run the test protocols seperately
595 - emake test-unit
596 - retstatus_unit=$?
597 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
598 -
599 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
600 - retstatus_ns=$?
601 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
602 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
603 -
604 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
605 - retstatus_ps=$?
606 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
607 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
608 -
609 - # TODO:
610 - # When upstream enables the pr and nr testsuites, we need those as well.
611 -
612 - # Cleanup is important for these testcases.
613 - pkill -9 -f "${S}/ndb" 2>/dev/null
614 - pkill -9 -f "${S}/sql" 2>/dev/null
615 - failures=""
616 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
617 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
618 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
619 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
620 - [[ -z "$failures" ]] || die "Test failures: $failures"
621 - einfo "Tests successfully completed"
622 - else
623 - einfo "Skipping server tests due to minimal build."
624 - fi
625 -}
626
627 diff --git a/dev-db/mysql/mysql-5.1.67-r1.ebuild b/dev-db/mysql/mysql-5.1.67-r1.ebuild
628 deleted file mode 100644
629 index 1917077..0000000
630 --- a/dev-db/mysql/mysql-5.1.67-r1.ebuild
631 +++ /dev/null
632 @@ -1,265 +0,0 @@
633 -# Copyright 1999-2013 Gentoo Foundation
634 -# Distributed under the terms of the GNU General Public License v2
635 -# $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 $
636 -
637 -EAPI="4"
638 -
639 -MY_EXTRAS_VER="20130128-0054Z"
640 -# PBXT
641 -PBXT_VERSION='1.0.11-6-pre-ga'
642 -# XtraDB
643 -PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
644 -
645 -# Build type
646 -BUILD="autotools"
647 -
648 -inherit toolchain-funcs mysql-v2
649 -
650 -# only to make repoman happy. it is really set in the eclass
651 -IUSE="$IUSE"
652 -
653 -# REMEMBER: also update eclass/mysql*.eclass before committing!
654 -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"
655 -
656 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
657 -# This is often broken still
658 -EPATCH_EXCLUDE=''
659 -
660 -# Most of these are in the eclass
661 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
662 - >=sys-devel/libtool-2.2.10"
663 -RDEPEND="${RDEPEND}"
664 -
665 -# Please do not add a naive src_unpack to this ebuild
666 -# If you want to add a single patch, copy the ebuild to an overlay
667 -# and create your own mysql-extras tarball, looking at 000_index.txt
668 -src_prepare() {
669 - sed -i \
670 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
671 - "${S}"/unittest/mytap/t/Makefile.am
672 - mysql-v2_src_prepare
673 -}
674 -
675 -# Official test instructions:
676 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
677 -# FEATURES='test userpriv -usersandbox' \
678 -# ebuild mysql-X.X.XX.ebuild \
679 -# digest clean package
680 -src_test() {
681 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
682 - # localhost. Also causes weird failures.
683 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
684 -
685 - emake check || die "make check failed"
686 - if ! use "minimal" ; then
687 - if [[ $UID -eq 0 ]]; then
688 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
689 - fi
690 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
691 - cd "${S}"
692 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
693 - local retstatus_unit
694 - local retstatus_ns
695 - local retstatus_ps
696 - local t
697 - addpredict /this-dir-does-not-exist/t9.MYI
698 -
699 - # Ensure that parallel runs don't die
700 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
701 -
702 - # archive_gis really sucks a lot, but it's only relevant for the
703 - # USE=extraengines case
704 - case ${PV} in
705 - 5.0.42)
706 - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
707 - ;;
708 -
709 - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
710 - [ "$(tc-endian)" == "big" ] && \
711 - mysql-v2_disable_test \
712 - "archive_gis" \
713 - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
714 - ;;
715 - esac
716 -
717 - # This was a slight testcase breakage when the read_only security issue
718 - # was fixed.
719 - case ${PV} in
720 - 5.0.54|5.0.51*)
721 - mysql-v2_disable_test \
722 - "read_only" \
723 - "Broken in 5.0.51-54, output in wrong order"
724 - ;;
725 - esac
726 -
727 - # Ditto to read_only
728 - [ "${PV}" == "5.0.51a" ] && \
729 - mysql-v2_disable_test \
730 - "view" \
731 - "Broken in 5.0.51, output in wrong order"
732 -
733 - # x86-specific, OOM issue with some subselects on low memory servers
734 - [ "${PV}" == "5.0.54" ] && \
735 - [ "${ARCH/x86}" != "${ARCH}" ] && \
736 - mysql-v2_disable_test \
737 - "subselect" \
738 - "Testcase needs tuning on x86 for oom condition"
739 -
740 - # Broke with the YaSSL security issue that didn't affect Gentoo.
741 - [ "${PV}" == "5.0.56" ] && \
742 - for t in openssl_1 rpl_openssl rpl_ssl ssl \
743 - ssl_8k_key ssl_compress ssl_connect ; do \
744 - mysql-v2_disable_test \
745 - "$t" \
746 - "OpenSSL tests broken on 5.0.56"
747 - done
748 -
749 - # New test was broken in first time
750 - # Upstream bug 41066
751 - # http://bugs.mysql.com/bug.php?id=41066
752 - [ "${PV}" == "5.0.72" ] && \
753 - mysql-v2_disable_test \
754 - "status2" \
755 - "Broken in 5.0.72, new test is broken, upstream bug #41066"
756 -
757 - # The entire 5.0 series has pre-generated SSL certificates, they have
758 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
759 - # The certs really SHOULD be generated for the tests, so that they are
760 - # not expiring like this. We cannot do so ourselves as the tests look
761 - # closely as the cert path data, and we do not have the CA key to regen
762 - # ourselves. Alternatively, upstream should generate them with at least
763 - # 50-year validity.
764 - #
765 - # Known expiry points:
766 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
767 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
768 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
769 - #
770 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
771 - # expired/invalid.
772 - case ${PV} in
773 - 5.0.*|5.1.*|5.4.*|5.5.*)
774 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
775 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
776 - mysql-v2_disable_test \
777 - "$t" \
778 - "These OpenSSL tests break due to expired certificates"
779 - done
780 - ;;
781 - esac
782 -
783 - # These are also failing in MySQL 5.1 for now, and are believed to be
784 - # false positives:
785 - #
786 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
787 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
788 - # fails due to USE=-latin1 / utf8 default
789 - #
790 - # main.mysql_client_test:
791 - # segfaults at random under Portage only, suspect resource limits.
792 - #
793 - # main.not_partition:
794 - # Failure reason unknown at this time, must resolve before package.mask
795 - # removal FIXME
796 - case ${PV} in
797 - 5.1.*|5.4.*|5.5.*)
798 - for t in main.mysql_client_test main.mysql_comments \
799 - main.mysql_upgrade \
800 - main.information_schema \
801 - main.not_partition funcs_1.is_columns_mysql \
802 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
803 - mysql-v2_disable_test "$t" "False positives in Gentoo"
804 - done
805 - ;;
806 - esac
807 -
808 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
809 - # These tests are picking up a 'connect-timeout' config from somewhere,
810 - # which is not valid, and since it does not have 'loose-' in front of
811 - # it, it's causing a failure
812 - case ${PV} in
813 - 5.1.5*|5.4.*|5.5.*|6*)
814 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
815 - mysql-v2_disable_test "$t" \
816 - "False positives in Gentoo: connect-timeout"
817 - done
818 - ;;
819 - esac
820 -
821 - use profiling && use community \
822 - || mysql-v2_disable_test main.profiling \
823 - "Profiling test needs profiling support"
824 -
825 - if [ "${PN}" == "mariadb" ]; then
826 - for t in \
827 - parts.part_supported_sql_func_ndb \
828 - parts.partition_auto_increment_ndb ; do
829 - mysql-v2_disable_test $t "ndb not supported in mariadb"
830 - done
831 - fi
832 -
833 - # This fail with XtraDB in place of normal InnoDB
834 - # TODO: test if they are broken with the rest of the Percona patches
835 - if xtradb_patch_available && use xtradb ; then
836 - for t in main.innodb innodb.innodb_bug51378 \
837 - main.information_schema_db main.mysqlshow \
838 - main.innodb-autoinc main.innodb_bug21704 \
839 - main.innodb_bug44369 main.innodb_bug46000 \
840 - main.index_merge_innodb \
841 - innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
842 - innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
843 - innodb.innodb_bug21704 innodb.innodb_bug44369 \
844 - innodb.innodb_bug46000 innodb.innodb_bug48024 \
845 - innodb.innodb_bug49164 innodb.innodb_bug51920 \
846 - innodb.innodb_bug54044 \
847 - ; do
848 - mysql-v2_disable_test $t "tests broken in xtradb"
849 - done
850 - fi
851 -
852 - if ! use extraengine ; then
853 - # bug 332565
854 - for t in main.range ; do
855 - mysql-v2_disable_test $t "Test $t requires USE=extraengine"
856 - done
857 - # bug 401673
858 - for t in federated.federated_plugin ; do
859 - mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
860 - done
861 - fi
862 -
863 - # create directories because mysqladmin might make out of order
864 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
865 -
866 - # We run the test protocols seperately
867 - emake test-unit
868 - retstatus_unit=$?
869 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
870 -
871 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
872 - retstatus_ns=$?
873 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
874 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
875 -
876 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
877 - retstatus_ps=$?
878 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
879 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
880 -
881 - # TODO:
882 - # When upstream enables the pr and nr testsuites, we need those as well.
883 -
884 - # Cleanup is important for these testcases.
885 - pkill -9 -f "${S}/ndb" 2>/dev/null
886 - pkill -9 -f "${S}/sql" 2>/dev/null
887 - failures=""
888 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
889 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
890 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
891 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
892 - [[ -z "$failures" ]] || die "Test failures: $failures"
893 - einfo "Tests successfully completed"
894 - else
895 - einfo "Skipping server tests due to minimal build."
896 - fi
897 -}
898
899 diff --git a/dev-db/mysql/mysql-5.1.67.ebuild b/dev-db/mysql/mysql-5.1.67.ebuild
900 deleted file mode 100644
901 index 2c57149..0000000
902 --- a/dev-db/mysql/mysql-5.1.67.ebuild
903 +++ /dev/null
904 @@ -1,265 +0,0 @@
905 -# Copyright 1999-2013 Gentoo Foundation
906 -# Distributed under the terms of the GNU General Public License v2
907 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.67.ebuild,v 1.11 2013/02/08 16:44:59 ago Exp $
908 -
909 -EAPI="4"
910 -
911 -MY_EXTRAS_VER="20121101-2319Z"
912 -# PBXT
913 -PBXT_VERSION='1.0.11-6-pre-ga'
914 -# XtraDB
915 -PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
916 -
917 -# Build type
918 -BUILD="autotools"
919 -
920 -inherit toolchain-funcs mysql-v2
921 -
922 -# only to make repoman happy. it is really set in the eclass
923 -IUSE="$IUSE"
924 -
925 -# REMEMBER: also update eclass/mysql*.eclass before committing!
926 -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"
927 -
928 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
929 -# This is often broken still
930 -EPATCH_EXCLUDE=''
931 -
932 -# Most of these are in the eclass
933 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
934 - >=sys-devel/libtool-2.2.10"
935 -RDEPEND="${RDEPEND}"
936 -
937 -# Please do not add a naive src_unpack to this ebuild
938 -# If you want to add a single patch, copy the ebuild to an overlay
939 -# and create your own mysql-extras tarball, looking at 000_index.txt
940 -src_prepare() {
941 - sed -i \
942 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
943 - "${S}"/unittest/mytap/t/Makefile.am
944 - mysql-v2_src_prepare
945 -}
946 -
947 -# Official test instructions:
948 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
949 -# FEATURES='test userpriv -usersandbox' \
950 -# ebuild mysql-X.X.XX.ebuild \
951 -# digest clean package
952 -src_test() {
953 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
954 - # localhost. Also causes weird failures.
955 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
956 -
957 - emake check || die "make check failed"
958 - if ! use "minimal" ; then
959 - if [[ $UID -eq 0 ]]; then
960 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
961 - fi
962 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
963 - cd "${S}"
964 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
965 - local retstatus_unit
966 - local retstatus_ns
967 - local retstatus_ps
968 - local t
969 - addpredict /this-dir-does-not-exist/t9.MYI
970 -
971 - # Ensure that parallel runs don't die
972 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
973 -
974 - # archive_gis really sucks a lot, but it's only relevant for the
975 - # USE=extraengines case
976 - case ${PV} in
977 - 5.0.42)
978 - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
979 - ;;
980 -
981 - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
982 - [ "$(tc-endian)" == "big" ] && \
983 - mysql-v2_disable_test \
984 - "archive_gis" \
985 - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
986 - ;;
987 - esac
988 -
989 - # This was a slight testcase breakage when the read_only security issue
990 - # was fixed.
991 - case ${PV} in
992 - 5.0.54|5.0.51*)
993 - mysql-v2_disable_test \
994 - "read_only" \
995 - "Broken in 5.0.51-54, output in wrong order"
996 - ;;
997 - esac
998 -
999 - # Ditto to read_only
1000 - [ "${PV}" == "5.0.51a" ] && \
1001 - mysql-v2_disable_test \
1002 - "view" \
1003 - "Broken in 5.0.51, output in wrong order"
1004 -
1005 - # x86-specific, OOM issue with some subselects on low memory servers
1006 - [ "${PV}" == "5.0.54" ] && \
1007 - [ "${ARCH/x86}" != "${ARCH}" ] && \
1008 - mysql-v2_disable_test \
1009 - "subselect" \
1010 - "Testcase needs tuning on x86 for oom condition"
1011 -
1012 - # Broke with the YaSSL security issue that didn't affect Gentoo.
1013 - [ "${PV}" == "5.0.56" ] && \
1014 - for t in openssl_1 rpl_openssl rpl_ssl ssl \
1015 - ssl_8k_key ssl_compress ssl_connect ; do \
1016 - mysql-v2_disable_test \
1017 - "$t" \
1018 - "OpenSSL tests broken on 5.0.56"
1019 - done
1020 -
1021 - # New test was broken in first time
1022 - # Upstream bug 41066
1023 - # http://bugs.mysql.com/bug.php?id=41066
1024 - [ "${PV}" == "5.0.72" ] && \
1025 - mysql-v2_disable_test \
1026 - "status2" \
1027 - "Broken in 5.0.72, new test is broken, upstream bug #41066"
1028 -
1029 - # The entire 5.0 series has pre-generated SSL certificates, they have
1030 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
1031 - # The certs really SHOULD be generated for the tests, so that they are
1032 - # not expiring like this. We cannot do so ourselves as the tests look
1033 - # closely as the cert path data, and we do not have the CA key to regen
1034 - # ourselves. Alternatively, upstream should generate them with at least
1035 - # 50-year validity.
1036 - #
1037 - # Known expiry points:
1038 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
1039 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
1040 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
1041 - #
1042 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
1043 - # expired/invalid.
1044 - case ${PV} in
1045 - 5.0.*|5.1.*|5.4.*|5.5.*)
1046 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
1047 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
1048 - mysql-v2_disable_test \
1049 - "$t" \
1050 - "These OpenSSL tests break due to expired certificates"
1051 - done
1052 - ;;
1053 - esac
1054 -
1055 - # These are also failing in MySQL 5.1 for now, and are believed to be
1056 - # false positives:
1057 - #
1058 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
1059 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
1060 - # fails due to USE=-latin1 / utf8 default
1061 - #
1062 - # main.mysql_client_test:
1063 - # segfaults at random under Portage only, suspect resource limits.
1064 - #
1065 - # main.not_partition:
1066 - # Failure reason unknown at this time, must resolve before package.mask
1067 - # removal FIXME
1068 - case ${PV} in
1069 - 5.1.*|5.4.*|5.5.*)
1070 - for t in main.mysql_client_test main.mysql_comments \
1071 - main.mysql_upgrade \
1072 - main.information_schema \
1073 - main.not_partition funcs_1.is_columns_mysql \
1074 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
1075 - mysql-v2_disable_test "$t" "False positives in Gentoo"
1076 - done
1077 - ;;
1078 - esac
1079 -
1080 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
1081 - # These tests are picking up a 'connect-timeout' config from somewhere,
1082 - # which is not valid, and since it does not have 'loose-' in front of
1083 - # it, it's causing a failure
1084 - case ${PV} in
1085 - 5.1.5*|5.4.*|5.5.*|6*)
1086 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
1087 - mysql-v2_disable_test "$t" \
1088 - "False positives in Gentoo: connect-timeout"
1089 - done
1090 - ;;
1091 - esac
1092 -
1093 - use profiling && use community \
1094 - || mysql-v2_disable_test main.profiling \
1095 - "Profiling test needs profiling support"
1096 -
1097 - if [ "${PN}" == "mariadb" ]; then
1098 - for t in \
1099 - parts.part_supported_sql_func_ndb \
1100 - parts.partition_auto_increment_ndb ; do
1101 - mysql-v2_disable_test $t "ndb not supported in mariadb"
1102 - done
1103 - fi
1104 -
1105 - # This fail with XtraDB in place of normal InnoDB
1106 - # TODO: test if they are broken with the rest of the Percona patches
1107 - if xtradb_patch_available && use xtradb ; then
1108 - for t in main.innodb innodb.innodb_bug51378 \
1109 - main.information_schema_db main.mysqlshow \
1110 - main.innodb-autoinc main.innodb_bug21704 \
1111 - main.innodb_bug44369 main.innodb_bug46000 \
1112 - main.index_merge_innodb \
1113 - innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
1114 - innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
1115 - innodb.innodb_bug21704 innodb.innodb_bug44369 \
1116 - innodb.innodb_bug46000 innodb.innodb_bug48024 \
1117 - innodb.innodb_bug49164 innodb.innodb_bug51920 \
1118 - innodb.innodb_bug54044 \
1119 - ; do
1120 - mysql-v2_disable_test $t "tests broken in xtradb"
1121 - done
1122 - fi
1123 -
1124 - if ! use extraengine ; then
1125 - # bug 332565
1126 - for t in main.range ; do
1127 - mysql-v2_disable_test $t "Test $t requires USE=extraengine"
1128 - done
1129 - # bug 401673
1130 - for t in federated.federated_plugin ; do
1131 - mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
1132 - done
1133 - fi
1134 -
1135 - # create directories because mysqladmin might make out of order
1136 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
1137 -
1138 - # We run the test protocols seperately
1139 - emake test-unit
1140 - retstatus_unit=$?
1141 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
1142 -
1143 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
1144 - retstatus_ns=$?
1145 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
1146 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1147 -
1148 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
1149 - retstatus_ps=$?
1150 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
1151 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1152 -
1153 - # TODO:
1154 - # When upstream enables the pr and nr testsuites, we need those as well.
1155 -
1156 - # Cleanup is important for these testcases.
1157 - pkill -9 -f "${S}/ndb" 2>/dev/null
1158 - pkill -9 -f "${S}/sql" 2>/dev/null
1159 - failures=""
1160 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
1161 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
1162 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
1163 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1164 - [[ -z "$failures" ]] || die "Test failures: $failures"
1165 - einfo "Tests successfully completed"
1166 - else
1167 - einfo "Skipping server tests due to minimal build."
1168 - fi
1169 -}
1170
1171 diff --git a/dev-db/mysql/mysql-5.1.68.ebuild b/dev-db/mysql/mysql-5.1.68.ebuild
1172 deleted file mode 100644
1173 index aabfe2a..0000000
1174 --- a/dev-db/mysql/mysql-5.1.68.ebuild
1175 +++ /dev/null
1176 @@ -1,265 +0,0 @@
1177 -# Copyright 1999-2013 Gentoo Foundation
1178 -# Distributed under the terms of the GNU General Public License v2
1179 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.68.ebuild,v 1.1 2013/06/02 19:48:56 robbat2 Exp $
1180 -
1181 -EAPI="4"
1182 -
1183 -MY_EXTRAS_VER="20130128-0054Z"
1184 -# PBXT
1185 -PBXT_VERSION='1.0.11-6-pre-ga'
1186 -# XtraDB
1187 -PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
1188 -
1189 -# Build type
1190 -BUILD="autotools"
1191 -
1192 -inherit toolchain-funcs mysql-v2
1193 -
1194 -# only to make repoman happy. it is really set in the eclass
1195 -IUSE="$IUSE"
1196 -
1197 -# REMEMBER: also update eclass/mysql*.eclass before committing!
1198 -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"
1199 -
1200 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
1201 -# This is often broken still
1202 -EPATCH_EXCLUDE=''
1203 -
1204 -# Most of these are in the eclass
1205 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
1206 - >=sys-devel/libtool-2.2.10"
1207 -RDEPEND="${RDEPEND}"
1208 -
1209 -# Please do not add a naive src_unpack to this ebuild
1210 -# If you want to add a single patch, copy the ebuild to an overlay
1211 -# and create your own mysql-extras tarball, looking at 000_index.txt
1212 -src_prepare() {
1213 - sed -i \
1214 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
1215 - "${S}"/unittest/mytap/t/Makefile.am
1216 - mysql-v2_src_prepare
1217 -}
1218 -
1219 -# Official test instructions:
1220 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
1221 -# FEATURES='test userpriv -usersandbox' \
1222 -# ebuild mysql-X.X.XX.ebuild \
1223 -# digest clean package
1224 -src_test() {
1225 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
1226 - # localhost. Also causes weird failures.
1227 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
1228 -
1229 - emake check || die "make check failed"
1230 - if ! use "minimal" ; then
1231 - if [[ $UID -eq 0 ]]; then
1232 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
1233 - fi
1234 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1235 - cd "${S}"
1236 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
1237 - local retstatus_unit
1238 - local retstatus_ns
1239 - local retstatus_ps
1240 - local t
1241 - addpredict /this-dir-does-not-exist/t9.MYI
1242 -
1243 - # Ensure that parallel runs don't die
1244 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
1245 -
1246 - # archive_gis really sucks a lot, but it's only relevant for the
1247 - # USE=extraengines case
1248 - case ${PV} in
1249 - 5.0.42)
1250 - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
1251 - ;;
1252 -
1253 - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
1254 - [ "$(tc-endian)" == "big" ] && \
1255 - mysql-v2_disable_test \
1256 - "archive_gis" \
1257 - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
1258 - ;;
1259 - esac
1260 -
1261 - # This was a slight testcase breakage when the read_only security issue
1262 - # was fixed.
1263 - case ${PV} in
1264 - 5.0.54|5.0.51*)
1265 - mysql-v2_disable_test \
1266 - "read_only" \
1267 - "Broken in 5.0.51-54, output in wrong order"
1268 - ;;
1269 - esac
1270 -
1271 - # Ditto to read_only
1272 - [ "${PV}" == "5.0.51a" ] && \
1273 - mysql-v2_disable_test \
1274 - "view" \
1275 - "Broken in 5.0.51, output in wrong order"
1276 -
1277 - # x86-specific, OOM issue with some subselects on low memory servers
1278 - [ "${PV}" == "5.0.54" ] && \
1279 - [ "${ARCH/x86}" != "${ARCH}" ] && \
1280 - mysql-v2_disable_test \
1281 - "subselect" \
1282 - "Testcase needs tuning on x86 for oom condition"
1283 -
1284 - # Broke with the YaSSL security issue that didn't affect Gentoo.
1285 - [ "${PV}" == "5.0.56" ] && \
1286 - for t in openssl_1 rpl_openssl rpl_ssl ssl \
1287 - ssl_8k_key ssl_compress ssl_connect ; do \
1288 - mysql-v2_disable_test \
1289 - "$t" \
1290 - "OpenSSL tests broken on 5.0.56"
1291 - done
1292 -
1293 - # New test was broken in first time
1294 - # Upstream bug 41066
1295 - # http://bugs.mysql.com/bug.php?id=41066
1296 - [ "${PV}" == "5.0.72" ] && \
1297 - mysql-v2_disable_test \
1298 - "status2" \
1299 - "Broken in 5.0.72, new test is broken, upstream bug #41066"
1300 -
1301 - # The entire 5.0 series has pre-generated SSL certificates, they have
1302 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
1303 - # The certs really SHOULD be generated for the tests, so that they are
1304 - # not expiring like this. We cannot do so ourselves as the tests look
1305 - # closely as the cert path data, and we do not have the CA key to regen
1306 - # ourselves. Alternatively, upstream should generate them with at least
1307 - # 50-year validity.
1308 - #
1309 - # Known expiry points:
1310 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
1311 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
1312 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
1313 - #
1314 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
1315 - # expired/invalid.
1316 - case ${PV} in
1317 - 5.0.*|5.1.*|5.4.*|5.5.*)
1318 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
1319 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
1320 - mysql-v2_disable_test \
1321 - "$t" \
1322 - "These OpenSSL tests break due to expired certificates"
1323 - done
1324 - ;;
1325 - esac
1326 -
1327 - # These are also failing in MySQL 5.1 for now, and are believed to be
1328 - # false positives:
1329 - #
1330 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
1331 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
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 - # main.not_partition:
1338 - # Failure reason unknown at this time, must resolve before package.mask
1339 - # removal FIXME
1340 - case ${PV} in
1341 - 5.1.*|5.4.*|5.5.*)
1342 - for t in main.mysql_client_test main.mysql_comments \
1343 - main.mysql_upgrade \
1344 - main.information_schema \
1345 - main.not_partition funcs_1.is_columns_mysql \
1346 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
1347 - mysql-v2_disable_test "$t" "False positives in Gentoo"
1348 - done
1349 - ;;
1350 - esac
1351 -
1352 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
1353 - # These tests are picking up a 'connect-timeout' config from somewhere,
1354 - # which is not valid, and since it does not have 'loose-' in front of
1355 - # it, it's causing a failure
1356 - case ${PV} in
1357 - 5.1.5*|5.4.*|5.5.*|6*)
1358 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
1359 - mysql-v2_disable_test "$t" \
1360 - "False positives in Gentoo: connect-timeout"
1361 - done
1362 - ;;
1363 - esac
1364 -
1365 - use profiling && use community \
1366 - || mysql-v2_disable_test main.profiling \
1367 - "Profiling test needs profiling support"
1368 -
1369 - if [ "${PN}" == "mariadb" ]; then
1370 - for t in \
1371 - parts.part_supported_sql_func_ndb \
1372 - parts.partition_auto_increment_ndb ; do
1373 - mysql-v2_disable_test $t "ndb not supported in mariadb"
1374 - done
1375 - fi
1376 -
1377 - # This fail with XtraDB in place of normal InnoDB
1378 - # TODO: test if they are broken with the rest of the Percona patches
1379 - if xtradb_patch_available && use xtradb ; then
1380 - for t in main.innodb innodb.innodb_bug51378 \
1381 - main.information_schema_db main.mysqlshow \
1382 - main.innodb-autoinc main.innodb_bug21704 \
1383 - main.innodb_bug44369 main.innodb_bug46000 \
1384 - main.index_merge_innodb \
1385 - innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
1386 - innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
1387 - innodb.innodb_bug21704 innodb.innodb_bug44369 \
1388 - innodb.innodb_bug46000 innodb.innodb_bug48024 \
1389 - innodb.innodb_bug49164 innodb.innodb_bug51920 \
1390 - innodb.innodb_bug54044 \
1391 - ; do
1392 - mysql-v2_disable_test $t "tests broken in xtradb"
1393 - done
1394 - fi
1395 -
1396 - if ! use extraengine ; then
1397 - # bug 332565
1398 - for t in main.range ; do
1399 - mysql-v2_disable_test $t "Test $t requires USE=extraengine"
1400 - done
1401 - # bug 401673
1402 - for t in federated.federated_plugin ; do
1403 - mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
1404 - done
1405 - fi
1406 -
1407 - # create directories because mysqladmin might make out of order
1408 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
1409 -
1410 - # We run the test protocols seperately
1411 - emake test-unit
1412 - retstatus_unit=$?
1413 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
1414 -
1415 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
1416 - retstatus_ns=$?
1417 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
1418 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1419 -
1420 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
1421 - retstatus_ps=$?
1422 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
1423 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1424 -
1425 - # TODO:
1426 - # When upstream enables the pr and nr testsuites, we need those as well.
1427 -
1428 - # Cleanup is important for these testcases.
1429 - pkill -9 -f "${S}/ndb" 2>/dev/null
1430 - pkill -9 -f "${S}/sql" 2>/dev/null
1431 - failures=""
1432 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
1433 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
1434 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
1435 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1436 - [[ -z "$failures" ]] || die "Test failures: $failures"
1437 - einfo "Tests successfully completed"
1438 - else
1439 - einfo "Skipping server tests due to minimal build."
1440 - fi
1441 -}
1442
1443 diff --git a/dev-db/mysql/mysql-5.1.69.ebuild b/dev-db/mysql/mysql-5.1.69.ebuild
1444 deleted file mode 100644
1445 index ac86329..0000000
1446 --- a/dev-db/mysql/mysql-5.1.69.ebuild
1447 +++ /dev/null
1448 @@ -1,265 +0,0 @@
1449 -# Copyright 1999-2013 Gentoo Foundation
1450 -# Distributed under the terms of the GNU General Public License v2
1451 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.69.ebuild,v 1.1 2013/06/02 19:48:56 robbat2 Exp $
1452 -
1453 -EAPI="4"
1454 -
1455 -MY_EXTRAS_VER="20130602-1946Z"
1456 -# PBXT
1457 -PBXT_VERSION='1.0.11-6-pre-ga'
1458 -# XtraDB
1459 -PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
1460 -
1461 -# Build type
1462 -BUILD="autotools"
1463 -
1464 -inherit toolchain-funcs mysql-v2
1465 -
1466 -# only to make repoman happy. it is really set in the eclass
1467 -IUSE="$IUSE"
1468 -
1469 -# REMEMBER: also update eclass/mysql*.eclass before committing!
1470 -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"
1471 -
1472 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
1473 -# This is often broken still
1474 -EPATCH_EXCLUDE=''
1475 -
1476 -# Most of these are in the eclass
1477 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
1478 - >=sys-devel/libtool-2.2.10"
1479 -RDEPEND="${RDEPEND}"
1480 -
1481 -# Please do not add a naive src_unpack to this ebuild
1482 -# If you want to add a single patch, copy the ebuild to an overlay
1483 -# and create your own mysql-extras tarball, looking at 000_index.txt
1484 -src_prepare() {
1485 - sed -i \
1486 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
1487 - "${S}"/unittest/mytap/t/Makefile.am
1488 - mysql-v2_src_prepare
1489 -}
1490 -
1491 -# Official test instructions:
1492 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
1493 -# FEATURES='test userpriv -usersandbox' \
1494 -# ebuild mysql-X.X.XX.ebuild \
1495 -# digest clean package
1496 -src_test() {
1497 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
1498 - # localhost. Also causes weird failures.
1499 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
1500 -
1501 - emake check || die "make check failed"
1502 - if ! use "minimal" ; then
1503 - if [[ $UID -eq 0 ]]; then
1504 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
1505 - fi
1506 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1507 - cd "${S}"
1508 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
1509 - local retstatus_unit
1510 - local retstatus_ns
1511 - local retstatus_ps
1512 - local t
1513 - addpredict /this-dir-does-not-exist/t9.MYI
1514 -
1515 - # Ensure that parallel runs don't die
1516 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
1517 -
1518 - # archive_gis really sucks a lot, but it's only relevant for the
1519 - # USE=extraengines case
1520 - case ${PV} in
1521 - 5.0.42)
1522 - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
1523 - ;;
1524 -
1525 - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
1526 - [ "$(tc-endian)" == "big" ] && \
1527 - mysql-v2_disable_test \
1528 - "archive_gis" \
1529 - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
1530 - ;;
1531 - esac
1532 -
1533 - # This was a slight testcase breakage when the read_only security issue
1534 - # was fixed.
1535 - case ${PV} in
1536 - 5.0.54|5.0.51*)
1537 - mysql-v2_disable_test \
1538 - "read_only" \
1539 - "Broken in 5.0.51-54, output in wrong order"
1540 - ;;
1541 - esac
1542 -
1543 - # Ditto to read_only
1544 - [ "${PV}" == "5.0.51a" ] && \
1545 - mysql-v2_disable_test \
1546 - "view" \
1547 - "Broken in 5.0.51, output in wrong order"
1548 -
1549 - # x86-specific, OOM issue with some subselects on low memory servers
1550 - [ "${PV}" == "5.0.54" ] && \
1551 - [ "${ARCH/x86}" != "${ARCH}" ] && \
1552 - mysql-v2_disable_test \
1553 - "subselect" \
1554 - "Testcase needs tuning on x86 for oom condition"
1555 -
1556 - # Broke with the YaSSL security issue that didn't affect Gentoo.
1557 - [ "${PV}" == "5.0.56" ] && \
1558 - for t in openssl_1 rpl_openssl rpl_ssl ssl \
1559 - ssl_8k_key ssl_compress ssl_connect ; do \
1560 - mysql-v2_disable_test \
1561 - "$t" \
1562 - "OpenSSL tests broken on 5.0.56"
1563 - done
1564 -
1565 - # New test was broken in first time
1566 - # Upstream bug 41066
1567 - # http://bugs.mysql.com/bug.php?id=41066
1568 - [ "${PV}" == "5.0.72" ] && \
1569 - mysql-v2_disable_test \
1570 - "status2" \
1571 - "Broken in 5.0.72, new test is broken, upstream bug #41066"
1572 -
1573 - # The entire 5.0 series has pre-generated SSL certificates, they have
1574 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
1575 - # The certs really SHOULD be generated for the tests, so that they are
1576 - # not expiring like this. We cannot do so ourselves as the tests look
1577 - # closely as the cert path data, and we do not have the CA key to regen
1578 - # ourselves. Alternatively, upstream should generate them with at least
1579 - # 50-year validity.
1580 - #
1581 - # Known expiry points:
1582 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
1583 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
1584 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
1585 - #
1586 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
1587 - # expired/invalid.
1588 - case ${PV} in
1589 - 5.0.*|5.1.*|5.4.*|5.5.*)
1590 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
1591 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
1592 - mysql-v2_disable_test \
1593 - "$t" \
1594 - "These OpenSSL tests break due to expired certificates"
1595 - done
1596 - ;;
1597 - esac
1598 -
1599 - # These are also failing in MySQL 5.1 for now, and are believed to be
1600 - # false positives:
1601 - #
1602 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
1603 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
1604 - # fails due to USE=-latin1 / utf8 default
1605 - #
1606 - # main.mysql_client_test:
1607 - # segfaults at random under Portage only, suspect resource limits.
1608 - #
1609 - # main.not_partition:
1610 - # Failure reason unknown at this time, must resolve before package.mask
1611 - # removal FIXME
1612 - case ${PV} in
1613 - 5.1.*|5.4.*|5.5.*)
1614 - for t in main.mysql_client_test main.mysql_comments \
1615 - main.mysql_upgrade \
1616 - main.information_schema \
1617 - main.not_partition funcs_1.is_columns_mysql \
1618 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
1619 - mysql-v2_disable_test "$t" "False positives in Gentoo"
1620 - done
1621 - ;;
1622 - esac
1623 -
1624 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
1625 - # These tests are picking up a 'connect-timeout' config from somewhere,
1626 - # which is not valid, and since it does not have 'loose-' in front of
1627 - # it, it's causing a failure
1628 - case ${PV} in
1629 - 5.1.5*|5.4.*|5.5.*|6*)
1630 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
1631 - mysql-v2_disable_test "$t" \
1632 - "False positives in Gentoo: connect-timeout"
1633 - done
1634 - ;;
1635 - esac
1636 -
1637 - use profiling && use community \
1638 - || mysql-v2_disable_test main.profiling \
1639 - "Profiling test needs profiling support"
1640 -
1641 - if [ "${PN}" == "mariadb" ]; then
1642 - for t in \
1643 - parts.part_supported_sql_func_ndb \
1644 - parts.partition_auto_increment_ndb ; do
1645 - mysql-v2_disable_test $t "ndb not supported in mariadb"
1646 - done
1647 - fi
1648 -
1649 - # This fail with XtraDB in place of normal InnoDB
1650 - # TODO: test if they are broken with the rest of the Percona patches
1651 - if xtradb_patch_available && use xtradb ; then
1652 - for t in main.innodb innodb.innodb_bug51378 \
1653 - main.information_schema_db main.mysqlshow \
1654 - main.innodb-autoinc main.innodb_bug21704 \
1655 - main.innodb_bug44369 main.innodb_bug46000 \
1656 - main.index_merge_innodb \
1657 - innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
1658 - innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
1659 - innodb.innodb_bug21704 innodb.innodb_bug44369 \
1660 - innodb.innodb_bug46000 innodb.innodb_bug48024 \
1661 - innodb.innodb_bug49164 innodb.innodb_bug51920 \
1662 - innodb.innodb_bug54044 \
1663 - ; do
1664 - mysql-v2_disable_test $t "tests broken in xtradb"
1665 - done
1666 - fi
1667 -
1668 - if ! use extraengine ; then
1669 - # bug 332565
1670 - for t in main.range ; do
1671 - mysql-v2_disable_test $t "Test $t requires USE=extraengine"
1672 - done
1673 - # bug 401673
1674 - for t in federated.federated_plugin ; do
1675 - mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
1676 - done
1677 - fi
1678 -
1679 - # create directories because mysqladmin might make out of order
1680 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
1681 -
1682 - # We run the test protocols seperately
1683 - emake test-unit
1684 - retstatus_unit=$?
1685 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
1686 -
1687 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
1688 - retstatus_ns=$?
1689 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
1690 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1691 -
1692 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
1693 - retstatus_ps=$?
1694 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
1695 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1696 -
1697 - # TODO:
1698 - # When upstream enables the pr and nr testsuites, we need those as well.
1699 -
1700 - # Cleanup is important for these testcases.
1701 - pkill -9 -f "${S}/ndb" 2>/dev/null
1702 - pkill -9 -f "${S}/sql" 2>/dev/null
1703 - failures=""
1704 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
1705 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
1706 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
1707 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1708 - [[ -z "$failures" ]] || die "Test failures: $failures"
1709 - einfo "Tests successfully completed"
1710 - else
1711 - einfo "Skipping server tests due to minimal build."
1712 - fi
1713 -}
1714
1715 diff --git a/dev-db/mysql/mysql-5.5.29-r1.ebuild b/dev-db/mysql/mysql-5.5.29-r1.ebuild
1716 deleted file mode 100644
1717 index 42bc387..0000000
1718 --- a/dev-db/mysql/mysql-5.5.29-r1.ebuild
1719 +++ /dev/null
1720 @@ -1,129 +0,0 @@
1721 -# Copyright 1999-2013 Gentoo Foundation
1722 -# Distributed under the terms of the GNU General Public License v2
1723 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.29-r1.ebuild,v 1.1 2013/01/20 23:05:14 robbat2 Exp $
1724 -
1725 -EAPI="4"
1726 -
1727 -MY_EXTRAS_VER="20130120-2303Z"
1728 -MY_PV="${PV//_alpha_pre/-m}"
1729 -MY_PV="${MY_PV//_/-}"
1730 -
1731 -# Build type
1732 -BUILD="cmake"
1733 -
1734 -inherit toolchain-funcs mysql-v2
1735 -# only to make repoman happy. it is really set in the eclass
1736 -IUSE="$IUSE"
1737 -
1738 -# Define the mysql-extras source
1739 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
1740 -
1741 -# REMEMBER: also update eclass/mysql*.eclass before committing!
1742 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
1743 -
1744 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
1745 -EPATCH_EXCLUDE=''
1746 -
1747 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
1748 -RDEPEND="${RDEPEND}"
1749 -
1750 -# Please do not add a naive src_unpack to this ebuild
1751 -# If you want to add a single patch, copy the ebuild to an overlay
1752 -# and create your own mysql-extras tarball, looking at 000_index.txt
1753 -
1754 -# Official test instructions:
1755 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
1756 -# FEATURES='test userpriv -usersandbox' \
1757 -# ebuild mysql-X.X.XX.ebuild \
1758 -# digest clean package
1759 -src_test() {
1760 -
1761 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
1762 - local retstatus_unit
1763 - local retstatus_tests
1764 -
1765 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
1766 - # localhost. Also causes weird failures.
1767 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
1768 -
1769 - if ! use "minimal" ; then
1770 -
1771 - if [[ $UID -eq 0 ]]; then
1772 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
1773 - fi
1774 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1775 -
1776 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
1777 - addpredict /this-dir-does-not-exist/t9.MYI
1778 -
1779 - # Run CTest (test-units)
1780 - cmake-utils_src_test
1781 - retstatus_unit=$?
1782 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
1783 -
1784 - # Ensure that parallel runs don't die
1785 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
1786 -
1787 - # create directories because mysqladmin might right out of order
1788 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
1789 -
1790 - # These are failing in MySQL 5.5 for now and are believed to be
1791 - # false positives:
1792 - #
1793 - # main.information_schema, binlog.binlog_statement_insert_delayed,
1794 - # main.mysqld--help-notwin
1795 - # fails due to USE=-latin1 / utf8 default
1796 - #
1797 - # main.mysql_client_test:
1798 - # segfaults at random under Portage only, suspect resource limits.
1799 - #
1800 - # sys_vars.plugin_dir_basic
1801 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
1802 - # instead of MYSQL_LIBDIR/plugin
1803 - #
1804 - # main.flush_read_lock_kill
1805 - # fails because of unknown system variable 'DEBUG_SYNC'
1806 - #
1807 - # main.openssl_1
1808 - # error message changing
1809 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
1810 - # error: ASN: bad other signature confirmation
1811 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
1812 - # error: error:00000001:lib(0):func(0):reason(1)
1813 - #
1814 -
1815 - for t in main.mysql_client_test \
1816 - binlog.binlog_statement_insert_delayed main.information_schema \
1817 - main.mysqld--help-notwin main.flush_read_lock_kill \
1818 - sys_vars.plugin_dir_basic main.openssl_1 ; do
1819 - mysql-v2_disable_test "$t" "False positives in Gentoo"
1820 - done
1821 -
1822 - # Run mysql tests
1823 - pushd "${TESTDIR}"
1824 -
1825 - # run mysql-test tests
1826 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
1827 - retstatus_tests=$?
1828 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
1829 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1830 -
1831 - popd
1832 -
1833 - # Cleanup is important for these testcases.
1834 - pkill -9 -f "${S}/ndb" 2>/dev/null
1835 - pkill -9 -f "${S}/sql" 2>/dev/null
1836 -
1837 - failures=""
1838 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
1839 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
1840 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1841 -
1842 - [[ -z "$failures" ]] || die "Test failures: $failures"
1843 - einfo "Tests successfully completed"
1844 -
1845 - else
1846 -
1847 - einfo "Skipping server tests due to minimal build."
1848 - fi
1849 -}
1850
1851 diff --git a/dev-db/mysql/mysql-5.5.29.ebuild b/dev-db/mysql/mysql-5.5.29.ebuild
1852 deleted file mode 100644
1853 index 485881c..0000000
1854 --- a/dev-db/mysql/mysql-5.5.29.ebuild
1855 +++ /dev/null
1856 @@ -1,129 +0,0 @@
1857 -# Copyright 1999-2013 Gentoo Foundation
1858 -# Distributed under the terms of the GNU General Public License v2
1859 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.29.ebuild,v 1.1 2013/01/20 02:18:30 robbat2 Exp $
1860 -
1861 -EAPI="4"
1862 -
1863 -MY_EXTRAS_VER="20130120-0100Z"
1864 -MY_PV="${PV//_alpha_pre/-m}"
1865 -MY_PV="${MY_PV//_/-}"
1866 -
1867 -# Build type
1868 -BUILD="cmake"
1869 -
1870 -inherit toolchain-funcs mysql-v2
1871 -# only to make repoman happy. it is really set in the eclass
1872 -IUSE="$IUSE"
1873 -
1874 -# Define the mysql-extras source
1875 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
1876 -
1877 -# REMEMBER: also update eclass/mysql*.eclass before committing!
1878 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
1879 -
1880 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
1881 -EPATCH_EXCLUDE=''
1882 -
1883 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
1884 -RDEPEND="${RDEPEND}"
1885 -
1886 -# Please do not add a naive src_unpack to this ebuild
1887 -# If you want to add a single patch, copy the ebuild to an overlay
1888 -# and create your own mysql-extras tarball, looking at 000_index.txt
1889 -
1890 -# Official test instructions:
1891 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
1892 -# FEATURES='test userpriv -usersandbox' \
1893 -# ebuild mysql-X.X.XX.ebuild \
1894 -# digest clean package
1895 -src_test() {
1896 -
1897 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
1898 - local retstatus_unit
1899 - local retstatus_tests
1900 -
1901 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
1902 - # localhost. Also causes weird failures.
1903 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
1904 -
1905 - if ! use "minimal" ; then
1906 -
1907 - if [[ $UID -eq 0 ]]; then
1908 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
1909 - fi
1910 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1911 -
1912 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
1913 - addpredict /this-dir-does-not-exist/t9.MYI
1914 -
1915 - # Run CTest (test-units)
1916 - cmake-utils_src_test
1917 - retstatus_unit=$?
1918 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
1919 -
1920 - # Ensure that parallel runs don't die
1921 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
1922 -
1923 - # create directories because mysqladmin might right out of order
1924 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
1925 -
1926 - # These are failing in MySQL 5.5 for now and are believed to be
1927 - # false positives:
1928 - #
1929 - # main.information_schema, binlog.binlog_statement_insert_delayed,
1930 - # main.mysqld--help-notwin
1931 - # fails due to USE=-latin1 / utf8 default
1932 - #
1933 - # main.mysql_client_test:
1934 - # segfaults at random under Portage only, suspect resource limits.
1935 - #
1936 - # sys_vars.plugin_dir_basic
1937 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
1938 - # instead of MYSQL_LIBDIR/plugin
1939 - #
1940 - # main.flush_read_lock_kill
1941 - # fails because of unknown system variable 'DEBUG_SYNC'
1942 - #
1943 - # main.openssl_1
1944 - # error message changing
1945 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
1946 - # error: ASN: bad other signature confirmation
1947 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
1948 - # error: error:00000001:lib(0):func(0):reason(1)
1949 - #
1950 -
1951 - for t in main.mysql_client_test \
1952 - binlog.binlog_statement_insert_delayed main.information_schema \
1953 - main.mysqld--help-notwin main.flush_read_lock_kill \
1954 - sys_vars.plugin_dir_basic main.openssl_1 ; do
1955 - mysql-v2_disable_test "$t" "False positives in Gentoo"
1956 - done
1957 -
1958 - # Run mysql tests
1959 - pushd "${TESTDIR}"
1960 -
1961 - # run mysql-test tests
1962 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
1963 - retstatus_tests=$?
1964 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
1965 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1966 -
1967 - popd
1968 -
1969 - # Cleanup is important for these testcases.
1970 - pkill -9 -f "${S}/ndb" 2>/dev/null
1971 - pkill -9 -f "${S}/sql" 2>/dev/null
1972 -
1973 - failures=""
1974 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
1975 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
1976 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
1977 -
1978 - [[ -z "$failures" ]] || die "Test failures: $failures"
1979 - einfo "Tests successfully completed"
1980 -
1981 - else
1982 -
1983 - einfo "Skipping server tests due to minimal build."
1984 - fi
1985 -}
1986
1987 diff --git a/dev-db/mysql/mysql-5.5.30.ebuild b/dev-db/mysql/mysql-5.5.30.ebuild
1988 deleted file mode 100644
1989 index 0c8a3c7..0000000
1990 --- a/dev-db/mysql/mysql-5.5.30.ebuild
1991 +++ /dev/null
1992 @@ -1,129 +0,0 @@
1993 -# Copyright 1999-2013 Gentoo Foundation
1994 -# Distributed under the terms of the GNU General Public License v2
1995 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.30.ebuild,v 1.1 2013/03/14 01:03:14 robbat2 Exp $
1996 -
1997 -EAPI="4"
1998 -
1999 -MY_EXTRAS_VER="20130120-2303Z"
2000 -MY_PV="${PV//_alpha_pre/-m}"
2001 -MY_PV="${MY_PV//_/-}"
2002 -
2003 -# Build type
2004 -BUILD="cmake"
2005 -
2006 -inherit toolchain-funcs mysql-v2
2007 -# only to make repoman happy. it is really set in the eclass
2008 -IUSE="$IUSE"
2009 -
2010 -# Define the mysql-extras source
2011 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
2012 -
2013 -# REMEMBER: also update eclass/mysql*.eclass before committing!
2014 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
2015 -
2016 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
2017 -EPATCH_EXCLUDE=''
2018 -
2019 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
2020 -RDEPEND="${RDEPEND}"
2021 -
2022 -# Please do not add a naive src_unpack to this ebuild
2023 -# If you want to add a single patch, copy the ebuild to an overlay
2024 -# and create your own mysql-extras tarball, looking at 000_index.txt
2025 -
2026 -# Official test instructions:
2027 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
2028 -# FEATURES='test userpriv -usersandbox' \
2029 -# ebuild mysql-X.X.XX.ebuild \
2030 -# digest clean package
2031 -src_test() {
2032 -
2033 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
2034 - local retstatus_unit
2035 - local retstatus_tests
2036 -
2037 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
2038 - # localhost. Also causes weird failures.
2039 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
2040 -
2041 - if ! use "minimal" ; then
2042 -
2043 - if [[ $UID -eq 0 ]]; then
2044 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
2045 - fi
2046 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2047 -
2048 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
2049 - addpredict /this-dir-does-not-exist/t9.MYI
2050 -
2051 - # Run CTest (test-units)
2052 - cmake-utils_src_test
2053 - retstatus_unit=$?
2054 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
2055 -
2056 - # Ensure that parallel runs don't die
2057 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
2058 -
2059 - # create directories because mysqladmin might right out of order
2060 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
2061 -
2062 - # These are failing in MySQL 5.5 for now and are believed to be
2063 - # false positives:
2064 - #
2065 - # main.information_schema, binlog.binlog_statement_insert_delayed,
2066 - # main.mysqld--help-notwin
2067 - # fails due to USE=-latin1 / utf8 default
2068 - #
2069 - # main.mysql_client_test:
2070 - # segfaults at random under Portage only, suspect resource limits.
2071 - #
2072 - # sys_vars.plugin_dir_basic
2073 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
2074 - # instead of MYSQL_LIBDIR/plugin
2075 - #
2076 - # main.flush_read_lock_kill
2077 - # fails because of unknown system variable 'DEBUG_SYNC'
2078 - #
2079 - # main.openssl_1
2080 - # error message changing
2081 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
2082 - # error: ASN: bad other signature confirmation
2083 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
2084 - # error: error:00000001:lib(0):func(0):reason(1)
2085 - #
2086 -
2087 - for t in main.mysql_client_test \
2088 - binlog.binlog_statement_insert_delayed main.information_schema \
2089 - main.mysqld--help-notwin main.flush_read_lock_kill \
2090 - sys_vars.plugin_dir_basic main.openssl_1 ; do
2091 - mysql-v2_disable_test "$t" "False positives in Gentoo"
2092 - done
2093 -
2094 - # Run mysql tests
2095 - pushd "${TESTDIR}"
2096 -
2097 - # run mysql-test tests
2098 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
2099 - retstatus_tests=$?
2100 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
2101 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2102 -
2103 - popd
2104 -
2105 - # Cleanup is important for these testcases.
2106 - pkill -9 -f "${S}/ndb" 2>/dev/null
2107 - pkill -9 -f "${S}/sql" 2>/dev/null
2108 -
2109 - failures=""
2110 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
2111 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
2112 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2113 -
2114 - [[ -z "$failures" ]] || die "Test failures: $failures"
2115 - einfo "Tests successfully completed"
2116 -
2117 - else
2118 -
2119 - einfo "Skipping server tests due to minimal build."
2120 - fi
2121 -}
2122
2123 diff --git a/dev-db/mysql/mysql-5.5.31.ebuild b/dev-db/mysql/mysql-5.5.31.ebuild
2124 deleted file mode 100644
2125 index ecbc89b..0000000
2126 --- a/dev-db/mysql/mysql-5.5.31.ebuild
2127 +++ /dev/null
2128 @@ -1,129 +0,0 @@
2129 -# Copyright 1999-2013 Gentoo Foundation
2130 -# Distributed under the terms of the GNU General Public License v2
2131 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.31.ebuild,v 1.1 2013/06/03 15:56:10 robbat2 Exp $
2132 -
2133 -EAPI="4"
2134 -
2135 -MY_EXTRAS_VER="20130602-1946Z"
2136 -MY_PV="${PV//_alpha_pre/-m}"
2137 -MY_PV="${MY_PV//_/-}"
2138 -
2139 -# Build type
2140 -BUILD="cmake"
2141 -
2142 -inherit toolchain-funcs mysql-v2
2143 -# only to make repoman happy. it is really set in the eclass
2144 -IUSE="$IUSE"
2145 -
2146 -# Define the mysql-extras source
2147 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
2148 -
2149 -# REMEMBER: also update eclass/mysql*.eclass before committing!
2150 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
2151 -
2152 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
2153 -EPATCH_EXCLUDE=''
2154 -
2155 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
2156 -RDEPEND="${RDEPEND}"
2157 -
2158 -# Please do not add a naive src_unpack to this ebuild
2159 -# If you want to add a single patch, copy the ebuild to an overlay
2160 -# and create your own mysql-extras tarball, looking at 000_index.txt
2161 -
2162 -# Official test instructions:
2163 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
2164 -# FEATURES='test userpriv -usersandbox' \
2165 -# ebuild mysql-X.X.XX.ebuild \
2166 -# digest clean package
2167 -src_test() {
2168 -
2169 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
2170 - local retstatus_unit
2171 - local retstatus_tests
2172 -
2173 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
2174 - # localhost. Also causes weird failures.
2175 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
2176 -
2177 - if ! use "minimal" ; then
2178 -
2179 - if [[ $UID -eq 0 ]]; then
2180 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
2181 - fi
2182 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2183 -
2184 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
2185 - addpredict /this-dir-does-not-exist/t9.MYI
2186 -
2187 - # Run CTest (test-units)
2188 - cmake-utils_src_test
2189 - retstatus_unit=$?
2190 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
2191 -
2192 - # Ensure that parallel runs don't die
2193 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
2194 -
2195 - # create directories because mysqladmin might right out of order
2196 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
2197 -
2198 - # These are failing in MySQL 5.5 for now and are believed to be
2199 - # false positives:
2200 - #
2201 - # main.information_schema, binlog.binlog_statement_insert_delayed,
2202 - # main.mysqld--help-notwin
2203 - # fails due to USE=-latin1 / utf8 default
2204 - #
2205 - # main.mysql_client_test:
2206 - # segfaults at random under Portage only, suspect resource limits.
2207 - #
2208 - # sys_vars.plugin_dir_basic
2209 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
2210 - # instead of MYSQL_LIBDIR/plugin
2211 - #
2212 - # main.flush_read_lock_kill
2213 - # fails because of unknown system variable 'DEBUG_SYNC'
2214 - #
2215 - # main.openssl_1
2216 - # error message changing
2217 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
2218 - # error: ASN: bad other signature confirmation
2219 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
2220 - # error: error:00000001:lib(0):func(0):reason(1)
2221 - #
2222 -
2223 - for t in main.mysql_client_test \
2224 - binlog.binlog_statement_insert_delayed main.information_schema \
2225 - main.mysqld--help-notwin main.flush_read_lock_kill \
2226 - sys_vars.plugin_dir_basic main.openssl_1 ; do
2227 - mysql-v2_disable_test "$t" "False positives in Gentoo"
2228 - done
2229 -
2230 - # Run mysql tests
2231 - pushd "${TESTDIR}"
2232 -
2233 - # run mysql-test tests
2234 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
2235 - retstatus_tests=$?
2236 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
2237 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2238 -
2239 - popd
2240 -
2241 - # Cleanup is important for these testcases.
2242 - pkill -9 -f "${S}/ndb" 2>/dev/null
2243 - pkill -9 -f "${S}/sql" 2>/dev/null
2244 -
2245 - failures=""
2246 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
2247 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
2248 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2249 -
2250 - [[ -z "$failures" ]] || die "Test failures: $failures"
2251 - einfo "Tests successfully completed"
2252 -
2253 - else
2254 -
2255 - einfo "Skipping server tests due to minimal build."
2256 - fi
2257 -}
2258
2259 diff --git a/dev-db/mysql/mysql-5.6.7_rc.ebuild b/dev-db/mysql/mysql-5.6.7_rc.ebuild
2260 deleted file mode 100644
2261 index 9fec557..0000000
2262 --- a/dev-db/mysql/mysql-5.6.7_rc.ebuild
2263 +++ /dev/null
2264 @@ -1,119 +0,0 @@
2265 -# Copyright 1999-2013 Gentoo Foundation
2266 -# Distributed under the terms of the GNU General Public License v2
2267 -# $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 $
2268 -
2269 -EAPI="4"
2270 -
2271 -MY_EXTRAS_VER="live"
2272 -MY_PV="${PV//_alpha_pre/-m}"
2273 -MY_PV="${MY_PV//_/-}"
2274 -
2275 -# Build type
2276 -BUILD="cmake"
2277 -
2278 -inherit toolchain-funcs mysql-v2
2279 -# only to make repoman happy. it is really set in the eclass
2280 -IUSE="$IUSE"
2281 -
2282 -# Define the mysql-extras source
2283 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
2284 -
2285 -# REMEMBER: also update eclass/mysql*.eclass before committing!
2286 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
2287 -
2288 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
2289 -EPATCH_EXCLUDE=''
2290 -
2291 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
2292 -RDEPEND="${RDEPEND}"
2293 -
2294 -# Please do not add a naive src_unpack to this ebuild
2295 -# If you want to add a single patch, copy the ebuild to an overlay
2296 -# and create your own mysql-extras tarball, looking at 000_index.txt
2297 -
2298 -# Official test instructions:
2299 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
2300 -# FEATURES='test userpriv -usersandbox' \
2301 -# ebuild mysql-X.X.XX.ebuild \
2302 -# digest clean package
2303 -src_test() {
2304 -
2305 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
2306 - local retstatus_unit
2307 - local retstatus_tests
2308 -
2309 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
2310 - # localhost. Also causes weird failures.
2311 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
2312 -
2313 - if ! use "minimal" ; then
2314 -
2315 - if [[ $UID -eq 0 ]]; then
2316 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
2317 - fi
2318 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2319 -
2320 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
2321 - addpredict /this-dir-does-not-exist/t9.MYI
2322 -
2323 - # Run CTest (test-units)
2324 - cmake-utils_src_test
2325 - retstatus_unit=$?
2326 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
2327 -
2328 - # Ensure that parallel runs don't die
2329 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
2330 -
2331 - # create directories because mysqladmin might right out of order
2332 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
2333 -
2334 - # These are failing in MySQL 5.5 for now and are believed to be
2335 - # false positives:
2336 - #
2337 - # main.information_schema, binlog.binlog_statement_insert_delayed,
2338 - # main.mysqld--help-notwin
2339 - # fails due to USE=-latin1 / utf8 default
2340 - #
2341 - # main.mysql_client_test:
2342 - # segfaults at random under Portage only, suspect resource limits.
2343 - #
2344 - # sys_vars.plugin_dir_basic
2345 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
2346 - # instead of MYSQL_LIBDIR/plugin
2347 - #
2348 - # main.flush_read_lock_kill
2349 - # fails because of unknown system variable 'DEBUG_SYNC'
2350 - for t in main.mysql_client_test \
2351 - binlog.binlog_statement_insert_delayed main.information_schema \
2352 - main.mysqld--help-notwin; do
2353 - mysql-v2_disable_test "$t" "False positives in Gentoo"
2354 - done
2355 -
2356 - # Run mysql tests
2357 - pushd "${TESTDIR}"
2358 -
2359 - # run mysql-test tests
2360 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
2361 - retstatus_tests=$?
2362 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
2363 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2364 -
2365 - popd
2366 -
2367 - # Cleanup is important for these testcases.
2368 - pkill -9 -f "${S}/ndb" 2>/dev/null
2369 - pkill -9 -f "${S}/sql" 2>/dev/null
2370 -
2371 - failures=""
2372 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
2373 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
2374 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2375 -
2376 - [[ -z "$failures" ]] || die "Test failures: $failures"
2377 - einfo "Tests successfully completed"
2378 -
2379 - else
2380 -
2381 - einfo "Skipping server tests due to minimal build."
2382 - fi
2383 -}
2384
2385 diff --git a/dev-db/mysql/mysql-5.6.9_rc.ebuild b/dev-db/mysql/mysql-5.6.9_rc.ebuild
2386 deleted file mode 100644
2387 index ddba830..0000000
2388 --- a/dev-db/mysql/mysql-5.6.9_rc.ebuild
2389 +++ /dev/null
2390 @@ -1,119 +0,0 @@
2391 -# Copyright 1999-2013 Gentoo Foundation
2392 -# Distributed under the terms of the GNU General Public License v2
2393 -# $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 $
2394 -
2395 -EAPI="4"
2396 -
2397 -MY_EXTRAS_VER="live"
2398 -MY_PV="${PV//_alpha_pre/-m}"
2399 -MY_PV="${MY_PV//_/-}"
2400 -
2401 -# Build type
2402 -BUILD="cmake"
2403 -
2404 -inherit toolchain-funcs mysql-v2
2405 -# only to make repoman happy. it is really set in the eclass
2406 -IUSE="$IUSE"
2407 -
2408 -# Define the mysql-extras source
2409 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
2410 -
2411 -# REMEMBER: also update eclass/mysql*.eclass before committing!
2412 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
2413 -
2414 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
2415 -EPATCH_EXCLUDE=''
2416 -
2417 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
2418 -RDEPEND="${RDEPEND}"
2419 -
2420 -# Please do not add a naive src_unpack to this ebuild
2421 -# If you want to add a single patch, copy the ebuild to an overlay
2422 -# and create your own mysql-extras tarball, looking at 000_index.txt
2423 -
2424 -# Official test instructions:
2425 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
2426 -# FEATURES='test userpriv -usersandbox' \
2427 -# ebuild mysql-X.X.XX.ebuild \
2428 -# digest clean package
2429 -src_test() {
2430 -
2431 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
2432 - local retstatus_unit
2433 - local retstatus_tests
2434 -
2435 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
2436 - # localhost. Also causes weird failures.
2437 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
2438 -
2439 - if ! use "minimal" ; then
2440 -
2441 - if [[ $UID -eq 0 ]]; then
2442 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
2443 - fi
2444 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2445 -
2446 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
2447 - addpredict /this-dir-does-not-exist/t9.MYI
2448 -
2449 - # Run CTest (test-units)
2450 - cmake-utils_src_test
2451 - retstatus_unit=$?
2452 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
2453 -
2454 - # Ensure that parallel runs don't die
2455 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
2456 -
2457 - # create directories because mysqladmin might right out of order
2458 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
2459 -
2460 - # These are failing in MySQL 5.5 for now and are believed to be
2461 - # false positives:
2462 - #
2463 - # main.information_schema, binlog.binlog_statement_insert_delayed,
2464 - # main.mysqld--help-notwin
2465 - # fails due to USE=-latin1 / utf8 default
2466 - #
2467 - # main.mysql_client_test:
2468 - # segfaults at random under Portage only, suspect resource limits.
2469 - #
2470 - # sys_vars.plugin_dir_basic
2471 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
2472 - # instead of MYSQL_LIBDIR/plugin
2473 - #
2474 - # main.flush_read_lock_kill
2475 - # fails because of unknown system variable 'DEBUG_SYNC'
2476 - for t in main.mysql_client_test \
2477 - binlog.binlog_statement_insert_delayed main.information_schema \
2478 - main.mysqld--help-notwin; do
2479 - mysql-v2_disable_test "$t" "False positives in Gentoo"
2480 - done
2481 -
2482 - # Run mysql tests
2483 - pushd "${TESTDIR}"
2484 -
2485 - # run mysql-test tests
2486 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
2487 - retstatus_tests=$?
2488 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
2489 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2490 -
2491 - popd
2492 -
2493 - # Cleanup is important for these testcases.
2494 - pkill -9 -f "${S}/ndb" 2>/dev/null
2495 - pkill -9 -f "${S}/sql" 2>/dev/null
2496 -
2497 - failures=""
2498 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
2499 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
2500 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
2501 -
2502 - [[ -z "$failures" ]] || die "Test failures: $failures"
2503 - einfo "Tests successfully completed"
2504 -
2505 - else
2506 -
2507 - einfo "Skipping server tests due to minimal build."
2508 - fi
2509 -}