diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2011-07-15 11:51:40 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2011-07-15 11:51:40 +0000 |
commit | 4650d38734ab1991ff38222fcb0e103a21552851 (patch) | |
tree | d21edd3222cdb1e9999951cc23595f81393a8ef4 /dev-db | |
parent | Updating license for flash 11 (diff) | |
download | historical-4650d38734ab1991ff38222fcb0e103a21552851.tar.gz historical-4650d38734ab1991ff38222fcb0e103a21552851.tar.bz2 historical-4650d38734ab1991ff38222fcb0e103a21552851.zip |
[dev-db/mariadb] Add 5.1.55 and 5.2.7 bumps from the mysql overlay.
Package-Manager: portage-2.2.0_alpha43/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mariadb/ChangeLog | 11 | ||||
-rw-r--r-- | dev-db/mariadb/Manifest | 30 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-5.1.55.ebuild | 171 | ||||
-rw-r--r-- | dev-db/mariadb/mariadb-5.2.7.ebuild | 171 | ||||
-rw-r--r-- | dev-db/mariadb/metadata.xml | 2 |
5 files changed, 380 insertions, 5 deletions
diff --git a/dev-db/mariadb/ChangeLog b/dev-db/mariadb/ChangeLog index 685bff764735..c87dd181563b 100644 --- a/dev-db/mariadb/ChangeLog +++ b/dev-db/mariadb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/mariadb -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.9 2010/10/07 19:05:47 robbat2 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.10 2011/07/15 11:51:40 jmbsvicetto Exp $ + +*mariadb-5.2.7 (15 Jul 2011) +*mariadb-5.1.55 (15 Jul 2011) + + 15 Jul 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +mariadb-5.1.55.ebuild, +mariadb-5.2.7.ebuild, metadata.xml: + [dev-db/mariadb] Add 5.1.55 and 5.2.7 bumps from the mysql overlay. 07 Oct 2010; Robin H. Johnson <robbat2@gentoo.org> mariadb-5.1.50.ebuild: We need a newer libtool now, bug #339717 comment #3. diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest index f2a6b836873a..e46429f54008 100644 --- a/dev-db/mariadb/Manifest +++ b/dev-db/mariadb/Manifest @@ -1,12 +1,36 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + AUX my.cnf-4.1 4237 RMD160 574a10794b89a26dd4023c8c8bad41963637b134 SHA1 0203a0b2f80c478a5c72a07b6b42f0cd7beaafb9 SHA256 08524ededab93a9f1678c2febf0b837bf0b46cbaf0e649a04f90746ff23e47fe AUX my.cnf-5.1 4201 RMD160 e8ca0bff1ccc68d6995ed2a2fab923fa6390d603 SHA1 094c10068980c63e57b9a8588a3a76044005e15e SHA256 1adcdc79da66e760bc52c71c01bf76a2ee3485096793bdfb5e22d56b9fbf6fd8 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 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 +DIST mysql-extras-20110426-1046Z.tar.bz2 1312102 RMD160 4971583f7f6737c2f0863b3cea38ed3d995036ef SHA1 e614c46a756425ce5e602d1a3cd807b3699ca1cb SHA256 e49636b2527d96bc4fe6d2143b00af47c63202ad999fed332a544aa6b7b1ffa8 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 -MISC ChangeLog 1986 RMD160 f25556ce9a432a06b03f8adb6a0bb94680586e31 SHA1 8a4f8f146e6dba278202dda7748ebeea77800a8b SHA256 7ce02e672e2cd04826744d87e60c9103ff550863cfc7ddb8dccd53528815aa9e -MISC mariadb-5.1.50.ebuild.orig 7464 RMD160 541059a804e5ccd1472827f840038210be31f6a7 SHA1 07a80b3703323f7a298275268f439474336118f4 SHA256 1d54d9795e8d0d7a0a304ed5e1b47b30fd7324538f2ed14b9809e5a1047a1c97 -MISC metadata.xml 1117 RMD160 5954f0167f73957373c9e5d2a7b10c021ce2e1d0 SHA1 81311ffe27c6dc9036c1f4d99e749bf307940258 SHA256 261cc45010335e07dc0ed2ff24ab34ad1df30040648479d3888925bb8734e8d1 +EBUILD mariadb-5.1.55.ebuild 6041 RMD160 b9cfd17d2500e7160cde6a1cccb92648e13c86a8 SHA1 e9680d5a69434b1b53263d81bb59f8fa9b9d0c7b SHA256 5eb823eeba29e70ca50a214adc98223846d4a2cc581b3da2bc15e733c4cb8517 +EBUILD mariadb-5.2.7.ebuild 6003 RMD160 93e72282ec12309262777142fcedeeefce8a2963 SHA1 357aa818b3a45c6580272ca577ca8034d17180a1 SHA256 dd6ffd60246ecdb47da06696cc87e624cdd21c98be3b117370a5583121ef1056 +MISC ChangeLog 2252 RMD160 a0839cec4301c171779427a1d77fcce53c1fec3f SHA1 60cf717593f52ac82fb6e378137620efb0cd133e SHA256 b8bd9520799476cd874308d93ad14e492ed8821a270d90e12d9179b69a0103de +MISC metadata.xml 1270 RMD160 189fad1db7079270ebd91e307bb9bde808007d10 SHA1 4347979f6379d304c7c3b84108fa0c7921243ca1 SHA256 1e9f218218e4775346cb94b39d8b8835755bd09a28fd1fe510ef2bac0f9c1a37 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQIcBAEBCgAGBQJOICltAAoJEC8ZTXQF1qEP8FAQAKSzMbiNoPl0OfFdyVuwvByh +EZSnye+Iogwbcn+BCeMK9W267Qa2mGTfKHEBXcWPpJQZJOMeREqV4SVCaI65Uxkx +hDQSFXArj1pnQJgUuz6IVRB80b/PPJ428DKYRYhVHPM5RE7gwmm3QM/lq4GdBwHk +Jcym9T2/5Q3lRrhRqy+RAJ0xAag6iCBDs2M1Ur6JJYKtFllpx19GROiPRcbEABK7 +8n03bMofDoBDffRcBMP4yIhLAP7tzLnGod+5a+d+DjOkOKgDqhn3gP3QXcTCZP60 +Bd+/mtb5XDkVYpSlogzFjxw2ArymTL60cTNrMz2YfCcc6/vBDTQ1D9Vv/GR1+gE+ +Gii+x7LV4z8EePbElA/BE4HqCl3rz2JfjE35kF9GNcznmYkUFT6jk9aLLrknjRiK +3xDCO9gg2IEcBHmjrL2hZtWs+xwwWjRk5g1Bo3hQRsPpx+sT9q4lbWF7HUFuZE6l +nnaw9sRRnz/2LObtM7x7n60lEnq/UkyW7Lk9n8qx8Iplg/MSBCiiSifsE0s3GjyV +1jquckGSOlPXX/Wd5mKqOEtRDHAkAmNIj2Dipjx6gSfznmXrMVUr479jMOaq4epy +tS+I1fUZKm8pDJ8RtM1HFlIazSc7NR3hsCIl5vO4UMwb+G5UAD+62gUjxgmC1QFL +nJY4f0JCEPwMBHKYitii +=KUZ/ +-----END PGP SIGNATURE----- diff --git a/dev-db/mariadb/mariadb-5.1.55.ebuild b/dev-db/mariadb/mariadb-5.1.55.ebuild new file mode 100644 index 000000000000..de429e9a68b7 --- /dev/null +++ b/dev-db/mariadb/mariadb-5.1.55.ebuild @@ -0,0 +1,171 @@ +# 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.1.55.ebuild,v 1.1 2011/07/15 11:51:40 jmbsvicetto Exp $ + +MY_EXTRAS_VER="20110426-1046Z" +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="~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='' + +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.7.ebuild b/dev-db/mariadb/mariadb-5.2.7.ebuild new file mode 100644 index 000000000000..5e60ba6ebf67 --- /dev/null +++ b/dev-db/mariadb/mariadb-5.2.7.ebuild @@ -0,0 +1,171 @@ +# 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.1 2011/07/15 11:51:40 jmbsvicetto Exp $ + +MY_EXTRAS_VER="20110426-1046Z" +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/metadata.xml b/dev-db/mariadb/metadata.xml index 69a6d33b3305..dbdd247c8691 100644 --- a/dev-db/mariadb/metadata.xml +++ b/dev-db/mariadb/metadata.xml @@ -12,8 +12,10 @@ <flag name='libevent'>Use libevent for connection handling</flag> <flag name='max-idx-128'>Raise the max index per table limit from 64 to 128</flag> <flag name='minimal'>Install client programs only, no server</flag> + <flag name='oqgraph'>Add support for the Open Query GRAPH engine</flag> <flag name='pbxt'>Add experimental support for PBXT storage engine</flag> <flag name='profiling'>Add support for statement profiling (requires USE=community).</flag> + <flag name='sphinx'>Add suport for the sphinx full-text search engine</flag> <flag name='test'>Install upstream testsuites for end use.</flag> </use> </pkgmetadata> |