diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2012-01-06 20:27:23 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2012-01-06 20:27:23 +0000 |
commit | 90807d9458e419368e25cc878df771ffd9cf196f (patch) | |
tree | 1abee8be3ea45cb5e7eec63cd23f45a54ff3ccf2 /dev-db | |
parent | Use gnulib fall back for old crusty installs #397573 by Mark Wagner. (diff) | |
download | historical-90807d9458e419368e25cc878df771ffd9cf196f.tar.gz historical-90807d9458e419368e25cc878df771ffd9cf196f.tar.bz2 historical-90807d9458e419368e25cc878df771ffd9cf196f.zip |
[dev-db/mariadb] Bumped EAPI to 4 on ebuilds inheriting the mysql-v2 eclass as I'm going to push the overlay eclasses with prefix support.
Dropped old 5.2 series versions.
Package-Manager: portage-2.2.0_alpha83/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mariadb/ChangeLog | 11 | ||||
-rw-r--r-- | dev-db/mariadb/Manifest | 36 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-5.1.55.ebuild | 6 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-5.2.7.ebuild | 171 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-5.2.8.ebuild | 171 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-5.2.9.ebuild | 6 |
6 files changed, 31 insertions, 370 deletions
diff --git a/dev-db/mariadb/ChangeLog b/dev-db/mariadb/ChangeLog index 636ce962df7d..45d8d6b11b09 100644 --- a/dev-db/mariadb/ChangeLog +++ b/dev-db/mariadb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/mariadb -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.13 2011/09/30 02:53:07 jmbsvicetto Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.14 2012/01/06 20:27:23 jmbsvicetto Exp $ + + 06 Jan 2012; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + mariadb-5.1.55.ebuild, -mariadb-5.2.7.ebuild, -mariadb-5.2.8.ebuild, + mariadb-5.2.9.ebuild: + [dev-db/mariadb] Bumped EAPI to 4 on ebuilds inheriting the mysql-v2 eclass + as I'm going to push the overlay eclasses with prefix support. + Dropped old 5.2 series versions. *mariadb-5.2.9 (30 Sep 2011) diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index e76c3fd7db8f..d2cb65cee3a3 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -6,8 +6,6 @@ AUX my.cnf-5.1 4201 RMD160 e8ca0bff1ccc68d6995ed2a2fab923fa6390d603 SHA1 094c100 DIST mariadb-5.1.42.tar.gz 21616693 RMD160 13e1d578aa135aaefadd9bd2eb00f7e0c7e236a3 SHA1 c6082203eea91a4efb95a11d06fccc4215a465a4 SHA256 f93dbf85ad03fe1928738e5552b8a7f911a0c3f2d644784a355a8f1b8fc2c29b DIST mariadb-5.1.50.tar.gz 24567591 RMD160 d143e06ea847aab33922749d1e29548354df8f87 SHA1 0f314a6f396192b364d81feb7732ea2544153ffb SHA256 7d2a42374d05de28180985e8f4de98c2133ea1c7e39d8ccb9c12a4323704a5e7 DIST mariadb-5.1.55.tar.gz 24613002 RMD160 e3d46d15b472616f07bd22a9a72107029af1f05b SHA1 789452c8a63c58692fcc4f16f45dc1b3e5d6cfe2 SHA256 df031b2f7dcc92a36da3a76b346034c286e5cb77d8f634e3030543b54f8c052b -DIST mariadb-5.2.7.tar.gz 25099195 RMD160 3a5a70d65e9bf8f2898b18c49381f64362cb5452 SHA1 851bc49ca146c23bf1faa1a4657e343fa18eedbc SHA256 77dbdc387d1ed2054d888cb28723673a71f4f10b9e62b6229714d823da3fe1c3 -DIST mariadb-5.2.8.tar.gz 25105533 RMD160 13d74d1690ff39ae3b7169ebd795ca58ba5754a6 SHA1 21dc153e9163b6c8fc407df26c91219d711a11da SHA256 60880cf3e96f063069154bd45757c48f4289620031d3b6a046cb9629a424fb5e DIST mariadb-5.2.9.tar.gz 25107185 RMD160 23f89e13ec9b9f731f42ba65f40ea07ad21a4471 SHA1 da87cdc4d3f76cbbe059684175461e18972f323b SHA256 6ef38be1d6f1fe7b1b99b9d6ddf5ac46cd7d0c05cb2a5088a7ec294e62fbd611 DIST mysql-extras-20100324-0235Z.tar.bz2 1054397 RMD160 7c0800f08ca96cd6dbdd812cb7a922d96077361c SHA1 bf77a1e759bfc1bff1ba0914a5701543de4d953f SHA256 6345de31176cbc69b13e92a4d459432c54a82fcd5f54350c4280287da9b3b0c1 DIST mysql-extras-20101006-0004Z.tar.bz2 1251792 RMD160 ee333704688e4e9f07f5e7fb68961d3ffaff0755 SHA1 c1633295abb7f3d2ff463938f85e1bc8ed708b4f SHA256 a42c4988a25113bef5cc727fb24c994502f4d02469246ff839f8ea2a08c07bb7 @@ -16,26 +14,24 @@ DIST mysql-extras-20110819-0415Z.tar.bz2 1734262 RMD160 88ba7cd1ccc35b2fb526257e EBUILD mariadb-5.1.42-r1.ebuild 7043 RMD160 ef55fd190c48aaa0b2597452d7db8a22cb597b55 SHA1 63925f4f435727b79cae843683e6784742cdc90b SHA256 94f99be1581672223ae9c85ff60a1d516ef33364ed4722fdeb45d2eb1b1e251c EBUILD mariadb-5.1.42.ebuild 7040 RMD160 8cf51c7b0b5e568abc8281c04717c1a0ad498822 SHA1 252da7c7c0fc8060257e696d2eefe93268302ea3 SHA256 229f8a1aeb5df8e5bf9b546e0b25e57629e0f09732f41d08544c15385f82104c EBUILD mariadb-5.1.50.ebuild 7538 RMD160 1c0cfff5ad2233f2d1301f5f12af9553732ff75f SHA1 fead3ab77d46669d0153adbed8e332fd07a10112 SHA256 1c329df855c180b0eefccf9e04811df6bd10311527689765402ed46239ac5b5b -EBUILD mariadb-5.1.55.ebuild 6041 RMD160 b9cfd17d2500e7160cde6a1cccb92648e13c86a8 SHA1 e9680d5a69434b1b53263d81bb59f8fa9b9d0c7b SHA256 5eb823eeba29e70ca50a214adc98223846d4a2cc581b3da2bc15e733c4cb8517 -EBUILD mariadb-5.2.7.ebuild 6003 RMD160 83935160307449104e5c85e6a8554f3d900fe1da SHA1 ab167467573b63492fabbf4da740c232ff6d9c12 SHA256 f5a19b793564446b2ac578800eb014d95ad683def25e6c9ba4de2bcef8068c62 -EBUILD mariadb-5.2.8.ebuild 6003 RMD160 21b5740ecf79ab7ae9dc5dd1df2aa8fbd2383327 SHA1 40340a06dbcbb4b0a1647d0be38cb0883d98053e SHA256 78e441eeda08268dcaafbf40f77ee7aeefaf3532866bce9f356ef83641c0d323 -EBUILD mariadb-5.2.9.ebuild 6003 RMD160 17b654aed9042885edb76605779743ab6847277e SHA1 669173b00e39b5e195f957cc838386c42fb249fe SHA256 e607738aa08119a3cd6e3a7d744450ab0c1125f0417871500f88396371684b1f -MISC ChangeLog 2756 RMD160 88bb819e6d4d67959758fd5549571c3fad85800b SHA1 ec032c398edd824c3d9ae7338b538dc0908a9355 SHA256 5234aa7be93cdcc97d4a8d1c467d4e8900ab080ddbaa7b905dedfb791541da76 +EBUILD mariadb-5.1.55.ebuild 6041 RMD160 95281c1b9329fd9dae1629a0f20af0ee9c5eb05f SHA1 f9b4da1181e79239e335aca879f60aff0b91f530 SHA256 4a3582eb88dbc6526029e360b0b4515d188af392a408c8e042e257785012c35a +EBUILD mariadb-5.2.9.ebuild 6003 RMD160 3cd347466f0061afd8a87cc4ef6436ad5d04d3a9 SHA1 3498a631c9f1dc4e8eb389598f04ff92402d07d6 SHA256 308e29f21bdd069da899c690779d62f2c309ef7c1503e2aeea1c50285b6818ab +MISC ChangeLog 3097 RMD160 e13b12c5d0417f3fb944b226da81887701528c54 SHA1 568203c123d93ff4611cd01ed4f6b161d98e0bda SHA256 4e9820baf2c494ae96ef2e3a2cffae913241974e37645221804cd66373c21503 MISC metadata.xml 1270 RMD160 189fad1db7079270ebd91e307bb9bde808007d10 SHA1 4347979f6379d304c7c3b84108fa0c7921243ca1 SHA256 1e9f218218e4775346cb94b39d8b8835755bd09a28fd1fe510ef2bac0f9c1a37 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQIcBAEBAgAGBQJOhS7iAAoJEC8ZTXQF1qEPUF4P/39zIr6a1qKUVMb/ZdcWP6Xj -DQOJC+vIY9YJGn547pPJESj9BuRxXTaaxGyU2xu3nuhNwger3WO4lx73qu94Kkhd -9Xw+KbwiBVFaYUB8nCl+MyvPRTrWdEYHyemNMVV3Qpm4jr5MwbzU5pXq3Fr+FVv7 -SkYRVHbJmuxpfK4RT6CvPPLW/9Hzk0dKeLJskTnYUEjDZrpkTziDJC6iYvcEqN0X -q3qUH/UIFofYvwSzddR3YnVLRPHX1HLsvTqpP4BBWepYadH2oGhTpwGz1TLw4f4a -cYxx9/70rZsBzb0ipQMLGFiq4wNLy8ClldY6JI+XPI0a5Yds38XGaz5aSy8cFc1C -1scTARkcU3ruUZbgV67mBtxmt/vwNS6RO8zHyxzsqtr61Hoq7gOnCOVBA7QtKA7e -B9mLV8pIVUahBiuX6wrFkDIKQZBwFsI+akSc1jDzgM2gQLNg3frcKdV7PW/6stgd -+WqBznpa1bldWE/PSIddNPLXtyiqEA/9AU3QFIi10+/Eedn3yl536IOtSbrVddbF -s9yo4H9RB1DKIbKnqbrDaRCd3+kHhsLAoax1ZL/B1WjHnjRLoBlJD1s99miPE5oS -qKUcYF1Cx1dBDMAbT4eQVNtxZQa4avrlGr4ENgmDZoM5iJndUpLlAxasULzCyEI0 -0T7kBAOpGGQSeV623FDR -=O7jx +iQIcBAEBAgAGBQJPB1i7AAoJEC8ZTXQF1qEPtTwQAMRt8jQUaVqqvJBdNnHkrwKL +D//SabZ+Ow3nxHu5y9d+o+5jkm6gBwBLEHAQbgq1ZNw2qSV9hIM4tadySE/Lg474 +5rRUW0jUHNcONVbp0B3gdCfU5AATqzym5DxmrkqlaSrFryr6jJMq46rWSMmpQ8sh +SG1mtcO0f2bJOGnFjeiSn6n1RDtcIa+qFHYXkGS+ZBRDXem2UUMtace3shtJHMmt +bOZbEnDTXY3MD8f9MdYPimdfsh1O/WZ4Kcd11hCSFXd6rgacJh9ZVJfd/xKD3vuz +rtdaluPMM5PzkPBWwhu8eZUwpa81/vgl8UWZbKY0rk1fhBucY+H5rHduiXkhC5Ok +FF3Aq95nyPoB4f33Jzr2VJ8aYKkemwF33l64+yrX48rgLfJZm84fuNJGbLtD0tC9 +W9YRFwK7DIqiMoxvn14OsXCtPjQMVXMOfqpWNpGhyLoYDpNMN6lRByiXb9PS8X/b +59sVjexbik9mIoZD5vd3oj34PHgIXW4MAaPcFo27PUsfXXViHZ/qdPOcvdVuKOgt +qD4GeFrMpICzc904AD7bZQGyREJ3aU777oZVTUrjdF2nENP09BiOOFvwA6mpLHW5 +KN8rlOJ4w8QpCqLzIPTNP3OJApTEAJ3QWPC7DLE4gwWBvgtS6Bvrw2Dmg7OdpNt2 +fmZ5b6LBl7iqutXKN4Yo +=hJYx -----END PGP SIGNATURE----- diff --git a/dev-db/mariadb/mariadb-5.1.55.ebuild b/dev-db/mariadb/mariadb-5.1.55.ebuild index de429e9a68b7..7f9927c2207d 100644 --- a/dev-db/mariadb/mariadb-5.1.55.ebuild +++ b/dev-db/mariadb/mariadb-5.1.55.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.55.ebuild,v 1.1 2011/07/15 11:51:40 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.55.ebuild,v 1.2 2012/01/06 20:27:23 jmbsvicetto Exp $ MY_EXTRAS_VER="20110426-1046Z" -EAPI="2" +EAPI="4" # Build system BUILD="autotools" diff --git a/dev-db/mariadb/mariadb-5.2.7.ebuild b/dev-db/mariadb/mariadb-5.2.7.ebuild deleted file mode 100644 index 1acbdd46bd8e..000000000000 --- a/dev-db/mariadb/mariadb-5.2.7.ebuild +++ /dev/null @@ -1,171 +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/mariadb/mariadb-5.2.7.ebuild,v 1.2 2011/08/19 15:47:28 jmbsvicetto Exp $ - -MY_EXTRAS_VER="20110819-0415Z" -EAPI="2" - -# Build system -BUILD="autotools" - -inherit toolchain-funcs mysql-v2 -# only to make repoman happy. it is really set in the eclass -IUSE="$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS="~amd64 ~s390 ~sh ~x86 ~sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these. -EPATCH_EXCLUDE='' - -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" -RDEPEND="${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='berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES='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}" == "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=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - 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="$((${RANDOM} % 100))" - - # 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 regen - # ourselves. Alternatively, upstream should generate them with at least - # 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.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ - 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=-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.mask - # removal FIXME - case ${PV} in - 5.1.*|5.2.*|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}" == "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=$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" - retstatus_ns=$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" - retstatus_ps=$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as well. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures="" - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - [[ -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.8.ebuild b/dev-db/mariadb/mariadb-5.2.8.ebuild deleted file mode 100644 index a80dcfcf4b2c..000000000000 --- a/dev-db/mariadb/mariadb-5.2.8.ebuild +++ /dev/null @@ -1,171 +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/mariadb/mariadb-5.2.8.ebuild,v 1.1 2011/08/19 15:49:18 jmbsvicetto Exp $ - -MY_EXTRAS_VER="20110819-0415Z" -EAPI="2" - -# Build system -BUILD="autotools" - -inherit toolchain-funcs mysql-v2 -# only to make repoman happy. it is really set in the eclass -IUSE="$IUSE" - -# REMEMBER: also update eclass/mysql*.eclass before committing! -KEYWORDS="~amd64 ~s390 ~sh ~x86 ~sparc-fbsd ~x86-fbsd" - -# When MY_EXTRAS is bumped, the index should be revised to exclude these. -EPATCH_EXCLUDE='' - -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" -RDEPEND="${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='berkdb -cluster embedded extraengine perl ssl community' \ -# FEATURES='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}" == "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=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." - fi - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - 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="$((${RANDOM} % 100))" - - # 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 regen - # ourselves. Alternatively, upstream should generate them with at least - # 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.1.*|5.4.*|5.5.*) - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ - 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=-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.mask - # removal FIXME - case ${PV} in - 5.1.*|5.2.*|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}" == "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=$? - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" - - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" - retstatus_ns=$? - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" - retstatus_ps=$? - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - - # TODO: - # When upstream enables the pr and nr testsuites, we need those as well. - - # Cleanup is important for these testcases. - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - failures="" - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" - [[ -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.9.ebuild b/dev-db/mariadb/mariadb-5.2.9.ebuild index 33925c09da88..44b115c08837 100644 --- a/dev-db/mariadb/mariadb-5.2.9.ebuild +++ b/dev-db/mariadb/mariadb-5.2.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.2.9.ebuild,v 1.1 2011/09/30 02:53:07 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.2.9.ebuild,v 1.2 2012/01/06 20:27:23 jmbsvicetto Exp $ MY_EXTRAS_VER="20110819-0415Z" -EAPI="2" +EAPI="4" # Build system BUILD="autotools" |