From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qk0no-0000fs-Dg for garchives@archives.gentoo.org; Thu, 21 Jul 2011 21:29:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0D4B21C100; Thu, 21 Jul 2011 21:28:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6EB4721C100 for ; Thu, 21 Jul 2011 21:28:51 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C5E21BC011 for ; Thu, 21 Jul 2011 21:28:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id ACD978003D for ; Thu, 21 Jul 2011 21:28:49 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb/ X-VCS-Repository: proj/mysql X-VCS-Files: dev-db/mariadb/ChangeLog dev-db/mariadb/Manifest dev-db/mariadb/mariadb-5.1.42-r1.ebuild dev-db/mariadb/mariadb-5.1.50-r1.ebuild dev-db/mariadb/mariadb-5.1.50.ebuild dev-db/mariadb/mariadb-5.1.53.ebuild dev-db/mariadb/mariadb-5.2.4.ebuild dev-db/mariadb/mariadb-5.2.5.ebuild dev-db/mariadb/mariadb-5.2.6.ebuild X-VCS-Directories: dev-db/mariadb/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: d0f84a5801f2610e21a5cc48a26e47db84631d83 Date: Thu, 21 Jul 2011 21:28:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9878c78b368344e99abb67dde4d68b00 commit: d0f84a5801f2610e21a5cc48a26e47db84631d83 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) ge= ntoo org> AuthorDate: Thu Jul 21 21:28:41 2011 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org= > CommitDate: Thu Jul 21 21:28:41 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D= commit;h=3Dd0f84a58 Dropped old versions of mariadb from the overlay. (Portage version: 2.2.0_alpha45/git/Linux x86_64, signed Manifest commit = with key BB0E6E98) --- dev-db/mariadb/ChangeLog | 6 + dev-db/mariadb/Manifest | 44 ++---- dev-db/mariadb/mariadb-5.1.42-r1.ebuild | 204 -------------------------= --- dev-db/mariadb/mariadb-5.1.50-r1.ebuild | 222 -------------------------= ----- dev-db/mariadb/mariadb-5.1.50.ebuild | 222 -------------------------= ----- dev-db/mariadb/mariadb-5.1.53.ebuild | 222 -------------------------= ----- dev-db/mariadb/mariadb-5.2.4.ebuild | 223 -------------------------= ----- dev-db/mariadb/mariadb-5.2.5.ebuild | 226 -------------------------= ------ dev-db/mariadb/mariadb-5.2.6.ebuild | 226 -------------------------= ------ 9 files changed, 21 insertions(+), 1574 deletions(-) diff --git a/dev-db/mariadb/ChangeLog b/dev-db/mariadb/ChangeLog index 520f62d..4952d1d 100644 --- a/dev-db/mariadb/ChangeLog +++ b/dev-db/mariadb/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 21 Jul 2011; Jorge Manuel B. S. Vicetto + -mariadb-5.1.42-r1.ebuild, -mariadb-5.1.50.ebuild, -mariadb-5.1.50-r1.= ebuild, + -mariadb-5.1.53.ebuild, -mariadb-5.2.4.ebuild, -mariadb-5.2.5.ebuild, + -mariadb-5.2.6.ebuild: + Dropped old versions of mariadb from the overlay. + 14 Jul 2011; Jorge Manuel B. S. Vicetto mariadb-5.1.55.ebuild: [dev-db/mariadb-5.1.55] Sync the ebuild from the mariadb-5.2.7 ebuild. diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index 136cedd..098af7c 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -1,43 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 =20 AUX my.cnf-4.1 4235 RMD160 ca04e2e667322e99c29be59064c7a6ecaa4e1e4c SHA1= babc79984b2e2d3def93ac0c13cd2fc5c690212a SHA256 908a4883116e4f323510c468= fd22c5765f8a2adce0344859fc212b7209a3a6c7 AUX my.cnf-5.1 4193 RMD160 38b438457f32e0f0eeac2fd7991bb5cea7290c31 SHA1= 08ed81d2a187be4ab77fbc5d8818b06226a55a8a SHA256 9668a147c27630bcf30239e4= faed7a749d113db285fd2b96d1d337d2b3a77ea4 -DIST mariadb-5.1.42.tar.gz 21616693 RMD160 13e1d578aa135aaefadd9bd2eb00f= 7e0c7e236a3 SHA1 c6082203eea91a4efb95a11d06fccc4215a465a4 SHA256 f93dbf85= ad03fe1928738e5552b8a7f911a0c3f2d644784a355a8f1b8fc2c29b -DIST mariadb-5.1.50.tar.gz 24567591 RMD160 d143e06ea847aab33922749d1e295= 48354df8f87 SHA1 0f314a6f396192b364d81feb7732ea2544153ffb SHA256 7d2a4237= 4d05de28180985e8f4de98c2133ea1c7e39d8ccb9c12a4323704a5e7 -DIST mariadb-5.1.53.tar.gz 24658055 RMD160 ed019ab1d60c33f23339ecd1a4ffd= 9f8838d9f8b SHA1 d7b2a931a754dea71d35bce6f0fde172dc8e5c9c SHA256 bfe4388b= 1fbfb463e35e7a7e7ade4e6f04c65bd2c27451effe5c4e55989c1be5 DIST mariadb-5.1.55.tar.gz 24613002 RMD160 e3d46d15b472616f07bd22a9a7210= 7029af1f05b SHA1 789452c8a63c58692fcc4f16f45dc1b3e5d6cfe2 SHA256 df031b2f= 7dcc92a36da3a76b346034c286e5cb77d8f634e3030543b54f8c052b -DIST mariadb-5.2.4.tar.gz 24964617 RMD160 86cd7ae572b2a53193231d500f419d= 4612874f3a SHA1 ddfb9373ce437ee7bffe680a7ce76d56edab1245 SHA256 1aadddbe8= e6d230ad16173b812d24801c493fe96c82d6bb36541e0138e5025dc -DIST mariadb-5.2.5.tar.gz 24925585 RMD160 520f1f3c238db171fdbe9bff5d5b59= a063edca85 SHA1 9d58166f2ef258785beaa3645d378ea461bd63f0 SHA256 1e137f23d= 8bf430beeed01aed8b3beecff3a7d65ec4bfd291bfcf6668f21c5a1 -DIST mariadb-5.2.6.tar.gz 25086148 RMD160 878a4d92c004289bac608758875449= 713b06015b SHA1 618b3abda320b66497c589709caba3936c26433c SHA256 4cf77b797= 8328e54ce58a2a8c3380e38d8a0039fd2e29d5fa148adbb6b4134c0 DIST mariadb-5.2.7.tar.gz 25099195 RMD160 3a5a70d65e9bf8f2898b18c49381f6= 4362cb5452 SHA1 851bc49ca146c23bf1faa1a4657e343fa18eedbc SHA256 77dbdc387= d1ed2054d888cb28723673a71f4f10b9e62b6229714d823da3fe1c3 -DIST mysql-extras-20101006-0004Z.tar.bz2 1251792 RMD160 ee333704688e4e9f= 07f5e7fb68961d3ffaff0755 SHA1 c1633295abb7f3d2ff463938f85e1bc8ed708b4f SH= A256 a42c4988a25113bef5cc727fb24c994502f4d02469246ff839f8ea2a08c07bb7 DIST mysql-extras-20110426-1046Z.tar.bz2 1312102 RMD160 4971583f7f6737c2= f0863b3cea38ed3d995036ef SHA1 e614c46a756425ce5e602d1a3cd807b3699ca1cb SH= A256 e49636b2527d96bc4fe6d2143b00af47c63202ad999fed332a544aa6b7b1ffa8 -EBUILD mariadb-5.1.42-r1.ebuild 6923 RMD160 1b333ae1f3479ddd5f20dca1c7e3= f09f026f7563 SHA1 bd961bd2496f834ad03fc1ba045d6e37b042568d SHA256 ca42b49= 4a3506bffae6cab303b83902c92a751a3bbd656c6ff7aae3944fa3187 -EBUILD mariadb-5.1.50-r1.ebuild 7453 RMD160 eba70431a2d88bfbdedd80a4c5fe= a2581e942cf9 SHA1 658fd4ac333cce08aff47d59af6a9e707e50e544 SHA256 4a17553= ae8871ac13c648bbaddb2b3987d9d47ecf49327e1a800e570299c821f -EBUILD mariadb-5.1.50.ebuild 7463 RMD160 425aa469fcf1fd64dce731932083f8f= 600dbfd44 SHA1 f8614940cd516febbfbc15695558ddf22d7ba95d SHA256 93202988ba= 7d514b424664ede5dba9dab318e79197be5481a4fb199547f74bc5 -EBUILD mariadb-5.1.53.ebuild 7453 RMD160 eba70431a2d88bfbdedd80a4c5fea25= 81e942cf9 SHA1 658fd4ac333cce08aff47d59af6a9e707e50e544 SHA256 4a17553ae8= 871ac13c648bbaddb2b3987d9d47ecf49327e1a800e570299c821f EBUILD mariadb-5.1.55.ebuild 6034 RMD160 3ed5380f73b48e83fbd5acb354a91e2= eb7115745 SHA1 1c319648ce162c384d7114e5362144520c30a9ed SHA256 a944dfeb9d= 0efb9bdee3c78755fe6bb6533f550d5126c70d1ba1c88fb96dc550 -EBUILD mariadb-5.2.4.ebuild 7474 RMD160 bcba6db8e171446da195260eee350858= 9dc628e8 SHA1 5d3d46bfdfa7de23d127edece173a5d0d050c159 SHA256 90f1bb336f0= 66aa9bd6a61edde2e16b78ffe4c2cec97fbaa8feda60ff9d3ba35 -EBUILD mariadb-5.2.5.ebuild 7515 RMD160 38cb1a044b1ff070f099e2b978d5fe16= 13add604 SHA1 048dcb1fec506c1ddb77a3dc021b342eb51378f7 SHA256 e0f0dbe8d13= 58ffd197793ea3ce803547d5fdfcc8b2c7b65a18414521466953c -EBUILD mariadb-5.2.6.ebuild 7515 RMD160 38cb1a044b1ff070f099e2b978d5fe16= 13add604 SHA1 048dcb1fec506c1ddb77a3dc021b342eb51378f7 SHA256 e0f0dbe8d13= 58ffd197793ea3ce803547d5fdfcc8b2c7b65a18414521466953c EBUILD mariadb-5.2.7.ebuild 5901 RMD160 056b6bdb6064e5dae224b5671568196f= 65f5e34a SHA1 64abe85e4b59255ab728eedd3ea7a4f3e728dd3f SHA256 e52526c53b6= 4bfec59dc53dfa7080806fad641e1086ae602232e81b981c413e3 -MISC ChangeLog 2825 RMD160 35effd70f7d7997b97d8a0ad53d8e40665c0a207 SHA1= 7ff80b3b933ac18d00642fa045755a76bb27304a SHA256 528b83f353cead56fe884998= 2a006a5f6c499553232e5ea4d64363db5da31021 +MISC ChangeLog 3122 RMD160 698b002b0e4633c0c98446739b88b2ce3f3f0ddf SHA1= b2440b2b4627cc8c2ffcc21f1ea6bd355c494ab2 SHA256 bf0385cf2b87c12c336b5982= 0234d19f18bbcff52c84ee4aa82f8b9b638fdb8b MISC metadata.xml 1270 RMD160 189fad1db7079270ebd91e307bb9bde808007d10 S= HA1 4347979f6379d304c7c3b84108fa0c7921243ca1 SHA256 1e9f218218e4775346cb9= 4b39d8b8835755bd09a28fd1fe510ef2bac0f9c1a37 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) =20 -iQIcBAEBCgAGBQJOHm1TAAoJEC8ZTXQF1qEPZ5AQAKsaEPUjGjunZR8inQz6tmu6 -0f+Xe2gAFn2FHx7fvgycFCs6Ud0iP+G61V2k53vmMwjha14cR+b98A0MOek4nsQa -DZq3h5mo4q7ZJz28Jn9ggqbswK79UVyuxs4VuiMvCnKYSP6BIQ5LmhFdFfkhim24 -Gp1Ge3c5hbBwT5BxTulAZtd7Gsj0X9IbH1XQv+5fv1cLoAluPZVfRo/X/itfg5Qp -/U3JJhnqAwnHIgCtObSnQjDZ50+OiQ2z5YlEy2qNZq6nNiEUJcBbfRkwll+wooPT -J1qquHk9HoJj0vB8rKfTpH6CbpUyaAwmW22L1GAdfx/mNLxiU+A7DDHOXB676DHw -EnL/nwhAeGX4jzotrmr1bq3/Bg7H78P+eQ+hqEE06xOXcKf2UncEAIdiIHY31Cxl -j+Mkxb9ag+rv7uVauSzw0CAN25uq6NYjTKuoUA8lFZjdTumBasp1jPBbyMlaiOcP -cd7B50ykJ3ATHdLoxLKf17JVv9sYmaaazBJEfZmy/4Wuc0jd967QTtDZgOCESIm8 -1s+Xpe4bvdmBFO0Q61Zh1u9dZe9SYQE3FsGX2fDwUdx6oDgHgbAA01OtjsWIz7Mu -dN4v7V6dQ/8qIEgWHo+O/eWXkXeyAThx+5zSKsWzcowUA+POZWi4ofu6fYxzB6ie -HJEx8sdJ81A+UjMaRTz/ -=3DVyRN +iQIcBAEBAgAGBQJOKJoJAAoJEC8ZTXQF1qEPW90QANpv1rPR/6+VLGSWXfB9pqwm +DtAhUpSa+kH+N4jU/ux7TFVo2+oKEqdzCRTfN1IGYKV1x198Q/emU8ZnhsfiH5Is +xSBSYA4/MnR66Wd7J4U3UC4aZTt17URwTT8sOylnqDYB8PPT2+Ve6ODvt80bMTnW +eB3O1QbkObYvm890NGrqlCEtaSAlESlYVa9D/XfiUurPn2Mi8VI4e6Cw4hbgk3/A +vXjd6kENBvdDgv5TM+h7fCvkTR+mF8q4W5gszirrAZOzhI0CkZRf6pY5sgmgk/QM +S8DSNIQgq+269ZBS2J2N8RbYEHMZw3t19TRKtJe93rn49/fQA28FgsuqzqtEf8eq +hde2cQazxEPGe5yN3aGyEnzFi8AtTnM1r7P7A0eG4tt5EgotBKDgOnpH1WyvAmEd +qpb88HQlje9UdEuZ+usiS9fU0RU+YGwqk5wF63UPcKUrT2kFDh8a0yfUWced8Yqp +Q7XHSW1dJbGIKTBxuaGlA/hw5dAmWrdEcwWO+g02eMpZfEvg0o3PbsFUXIJdK4mV +Eh7jq/BnnvXHqrgvemeO0Pzh0h9/qvHJrnCiLy8PC5kJJR/M8bXJaRsTlTCzAvev +G0xY+1eXVDi7QKRjy+1yVd0vEndYZImp9xwijp47ykS0epKgIaNZ5BieTkOTyPNI +Temmk1C56eMplB+PaOoF +=3DjQgJ -----END PGP SIGNATURE----- diff --git a/dev-db/mariadb/mariadb-5.1.42-r1.ebuild b/dev-db/mariadb/mar= iadb-5.1.42-r1.ebuild deleted file mode 100644 index e35a1fe..0000000 --- a/dev-db/mariadb/mariadb-5.1.42-r1.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"live" -EAPI=3D2 - -inherit toolchain-funcs mysql -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~= sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" -RDEPEND=3D"!media-sound/amarok[embedded]" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - use profiling && use community \ - || mysql_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mariadb/mariadb-5.1.50-r1.ebuild b/dev-db/mariadb/mar= iadb-5.1.50-r1.ebuild deleted file mode 100644 index 8103c94..0000000 --- a/dev-db/mariadb/mariadb-5.1.50-r1.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"live" -EAPI=3D2 - -inherit toolchain-funcs mysql -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~= sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt -src_prepare() { - sed -i \ - -e '/^noinst_PROGRAMS/s/basic-t//g' \ - "${S}"/unittest/mytap/t/Makefile.am - mysql_src_prepare -} - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. - # These tests are picking up a 'connect-timeout' config from somewhere= , - # which is not valid, and since it does not have 'loose-' in front of - # it, it's causing a failure - case ${PV} in - 5.1.5*|5.4.*|5.5.*|6*) - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do - mysql_disable_test "$t" \ - "False positives in Gentoo: connect-timeout" - done - ;; - esac - - use profiling && use community \ - || mysql_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mariadb/mariadb-5.1.50.ebuild b/dev-db/mariadb/mariad= b-5.1.50.ebuild deleted file mode 100644 index 65d9af2..0000000 --- a/dev-db/mariadb/mariadb-5.1.50.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"20101006-0004Z" -EAPI=3D2 - -inherit toolchain-funcs mysql -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~= sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt -src_prepare() { - sed -i \ - -e '/^noinst_PROGRAMS/s/basic-t//g' \ - "${S}"/unittest/mytap/t/Makefile.am - mysql_src_prepare -} - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. - # These tests are picking up a 'connect-timeout' config from somewhere= , - # which is not valid, and since it does not have 'loose-' in front of - # it, it's causing a failure - case ${PV} in - 5.1.5*|5.4.*|5.5.*|6*) - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do - mysql_disable_test "$t" \ - "False positives in Gentoo: connect-timeout" - done - ;; - esac - - use profiling && use community \ - || mysql_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mariadb/mariadb-5.1.53.ebuild b/dev-db/mariadb/mariad= b-5.1.53.ebuild deleted file mode 100644 index 8103c94..0000000 --- a/dev-db/mariadb/mariadb-5.1.53.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"live" -EAPI=3D2 - -inherit toolchain-funcs mysql -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~= sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt -src_prepare() { - sed -i \ - -e '/^noinst_PROGRAMS/s/basic-t//g' \ - "${S}"/unittest/mytap/t/Makefile.am - mysql_src_prepare -} - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. - # These tests are picking up a 'connect-timeout' config from somewhere= , - # which is not valid, and since it does not have 'loose-' in front of - # it, it's causing a failure - case ${PV} in - 5.1.5*|5.4.*|5.5.*|6*) - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do - mysql_disable_test "$t" \ - "False positives in Gentoo: connect-timeout" - done - ;; - esac - - use profiling && use community \ - || mysql_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mariadb/mariadb-5.2.4.ebuild b/dev-db/mariadb/mariadb= -5.2.4.ebuild deleted file mode 100644 index 7072fb0..0000000 --- a/dev-db/mariadb/mariadb-5.2.4.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"live" -EAPI=3D2 - -inherit toolchain-funcs mysql -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~= sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" -RDEPEND=3D"${RDEPEND}" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt -src_prepare() { - sed -i \ - -e '/^noinst_PROGRAMS/s/basic-t//g' \ - "${S}"/unittest/mytap/t/Makefile.am - mysql_src_prepare -} - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. - # These tests are picking up a 'connect-timeout' config from somewhere= , - # which is not valid, and since it does not have 'loose-' in front of - # it, it's causing a failure - case ${PV} in - 5.1.5*|5.4.*|5.5.*|6*) - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do - mysql_disable_test "$t" \ - "False positives in Gentoo: connect-timeout" - done - ;; - esac - - use profiling && use community \ - || mysql_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mariadb/mariadb-5.2.5.ebuild b/dev-db/mariadb/mariadb= -5.2.5.ebuild deleted file mode 100644 index bb2acbb..0000000 --- a/dev-db/mariadb/mariadb-5.2.5.ebuild +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"live" -EAPI=3D"2" - -# Build system -BUILD=3D"autotools" - -inherit toolchain-funcs mysql-v2 -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~amd64 ~s390 ~sh ~x86 ~sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" -RDEPEND=3D"${RDEPEND}" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt -src_prepare() { - sed -i \ - -e '/^noinst_PROGRAMS/s/basic-t//g' \ - "${S}"/unittest/mytap/t/Makefile.am - mysql-v2_src_prepare -} - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql-v2_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql-v2_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql-v2_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql-v2_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql-v2_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql-v2_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql-v2_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql-v2_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. - # These tests are picking up a 'connect-timeout' config from somewhere= , - # which is not valid, and since it does not have 'loose-' in front of - # it, it's causing a failure - case ${PV} in - 5.1.5*|5.4.*|5.5.*|6*) - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do - mysql-v2_disable_test "$t" \ - "False positives in Gentoo: connect-timeout" - done - ;; - esac - - use profiling && use community \ - || mysql-v2_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql-v2_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mariadb/mariadb-5.2.6.ebuild b/dev-db/mariadb/mariadb= -5.2.6.ebuild deleted file mode 100644 index bb2acbb..0000000 --- a/dev-db/mariadb/mariadb-5.2.6.ebuild +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.84-r1.ebuild,v= 1.7 2009/11/09 18:00:20 fauli Exp $ - -MY_EXTRAS_VER=3D"live" -EAPI=3D"2" - -# Build system -BUILD=3D"autotools" - -inherit toolchain-funcs mysql-v2 -# only to make repoman happy. it is really set in the eclass -IUSE=3D"$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS=3D"~amd64 ~s390 ~sh ~x86 ~sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these= . -EPATCH_EXCLUDE=3D'' - -DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )" -RDEPEND=3D"${RDEPEND}" - -# Please do not add a naive src_unpack to this ebuild -# If you want to add a single patch, copy the ebuild to an overlay -# and create your own mysql-extras tarball, looking at 000_index.txt -src_prepare() { - sed -i \ - -e '/^noinst_PROGRAMS/s/basic-t//g' \ - "${S}"/unittest/mytap/t/Makefile.am - mysql-v2_src_prepare -} - -# Official test instructions: -# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES=3D'test userpriv -usersandbox' \ -# ebuild mariadb-X.X.XX.ebuild \ -# digest clean package -src_test() { - # Bug #213475 - MySQL _will_ object strenously if your machine is named - # localhost. Also causes weird failures. - [[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be= named localhost" - - emake check || die "make check failed" - if ! use "minimal" ; then - if [[ $UID -eq 0 ]]; then - die "Testing with FEATURES=3D-userpriv is no longer supported by upst= ream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus_unit - local retstatus_ns - local retstatus_ps - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # Ensure that parallel runs don't die - export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))" - - # archive_gis really sucks a lot, but it's only relevant for the - # USE=3Dextraengines case - case ${PV} in - 5.0.42) - mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42" - ;; - - 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) - [ "$(tc-endian)" =3D=3D "big" ] && \ - mysql-v2_disable_test \ - "archive_gis" \ - "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" - ;; - esac - - # This was a slight testcase breakage when the read_only security issu= e - # was fixed. - case ${PV} in - 5.0.54|5.0.51*) - mysql-v2_disable_test \ - "read_only" \ - "Broken in 5.0.51-54, output in wrong order" - ;; - esac - - # Ditto to read_only - [ "${PV}" =3D=3D "5.0.51a" ] && \ - mysql-v2_disable_test \ - "view" \ - "Broken in 5.0.51, output in wrong order" - - # x86-specific, OOM issue with some subselects on low memory servers - [ "${PV}" =3D=3D "5.0.54" ] && \ - [ "${ARCH/x86}" !=3D "${ARCH}" ] && \ - mysql-v2_disable_test \ - "subselect" \ - "Testcase needs tuning on x86 for oom condition" - - # Broke with the YaSSL security issue that didn't affect Gentoo. - [ "${PV}" =3D=3D "5.0.56" ] && \ - for t in openssl_1 rpl_openssl rpl_ssl ssl \ - ssl_8k_key ssl_compress ssl_connect ; do \ - mysql-v2_disable_test \ - "$t" \ - "OpenSSL tests broken on 5.0.56" - done - - # New test was broken in first time - # Upstream bug 41066 - # http://bugs.mysql.com/bug.php?id=3D41066 - [ "${PV}" =3D=3D "5.0.72" ] && \ - mysql-v2_disable_test \ - "status2" \ - "Broken in 5.0.72, new test is broken, upstream bug #41066" - - # The entire 5.0 series has pre-generated SSL certificates, they have - # mostly expired now. ${S}/mysql-tests/std-data/*.pem - # The certs really SHOULD be generated for the tests, so that they are - # not expiring like this. We cannot do so ourselves as the tests look - # closely as the cert path data, and we do not have the CA key to rege= n - # ourselves. Alternatively, upstream should generate them with at leas= t - # 50-year validity. - # - # Known expiry points: - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 - # - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be - # expired/invalid. - case ${PV} in - 5.0.*|5.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k= ey \ - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ - mysql-v2_disable_test \ - "$t" \ - "These OpenSSL tests break due to expired certificates" - done - ;; - esac - - # These are also failing in MySQL 5.1 for now, and are believed to be - # false positives: - # - # main.mysql_comment, main.mysql_upgrade, main.information_schema, - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers= : - # fails due to USE=3D-latin1 / utf8 default - # - # main.mysql_client_test: - # segfaults at random under Portage only, suspect resource limits. - # - # main.not_partition: - # Failure reason unknown at this time, must resolve before package.mas= k - # removal FIXME - case ${PV} in - 5.1.*|5.4.*|5.5.*) - for t in main.mysql_client_test main.mysql_comments \ - main.mysql_upgrade \ - main.information_schema \ - main.not_partition funcs_1.is_columns_mysql \ - funcs_1.is_tables_mysql funcs_1.is_triggers; do - mysql-v2_disable_test "$t" "False positives in Gentoo" - done - ;; - esac - - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto. - # These tests are picking up a 'connect-timeout' config from somewhere= , - # which is not valid, and since it does not have 'loose-' in front of - # it, it's causing a failure - case ${PV} in - 5.1.5*|5.4.*|5.5.*|6*) - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do - mysql-v2_disable_test "$t" \ - "False positives in Gentoo: connect-timeout" - done - ;; - esac - - use profiling && use community \ - || mysql-v2_disable_test main.profiling \ - "Profiling test needs profiling support" - - if [ "${PN}" =3D=3D "mariadb" ]; then - for t in \ - parts.part_supported_sql_func_ndb \ - parts.partition_auto_increment_ndb ; do - mysql-v2_disable_test $t "ndb not supported in mariadb" - done - fi - - # create directories because mysqladmin might make out of order - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} - - # We run the test protocols seperately - emake test-unit - retstatus_unit=3D$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns" - retstatus_ns=3D$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps" - retstatus_ps=3D$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as wel= l. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures=3D"" - [[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES= =3Dusersandbox" - [[ -z "$failures" ]] || die "Test failures: $failures" - einfo "Tests successfully completed" - else - einfo "Skipping server tests due to minimal build." - fi -}