From 00697be3ac6bf4a073c3c93c1c07b66803672351 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 19 Jun 2010 12:11:23 +0000 Subject: [PATCH] dev-db/mysql: Bump git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@2268 6952d904-891a-0410-993b-d76249ca496b --- dev-db/mysql/ChangeLog | 3 + dev-db/mysql/Manifest | 4 +- dev-db/mysql/mysql-5.1.48-r1.ebuild | 230 ++++++++++++++++++++++++++++ 3 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 dev-db/mysql/mysql-5.1.48-r1.ebuild diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog index 26ad9ec..f05ddc4 100644 --- a/dev-db/mysql/ChangeLog +++ b/dev-db/mysql/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.488 2009/07/06 19:08:59 robbat2 Exp $ + 19 Jun 2010; Mario Fetka +mysql-5.1.48-r1.ebuild: + Bump + 03 Jun 2010; Mario Fetka Manifest: remove awss3 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest index ec957e8..d82c630 100644 --- a/dev-db/mysql/Manifest +++ b/dev-db/mysql/Manifest @@ -11,6 +11,7 @@ DIST mysql-5.1.43.tar.gz 22319586 RMD160 51aa017edc165f13f2cb696ee210505b8f2a21e DIST mysql-5.1.44.tar.gz 23400457 RMD160 f98d25322893b422ee708d683ee73ec9e17ad40a SHA1 265fbca02b2ef62926e2845d5fdf394298eb3206 SHA256 15dfccb34082a633a3f1793c21c7bf1432bf009a35acef0068885b7b68ecb540 DIST mysql-5.1.45.tar.gz 22457274 RMD160 2fd173ac4484ae7a742f06d8d0cdb1c807c02bba SHA1 2a34650dc1a7e056788882522211d07791e0b352 SHA256 7dc2fabbdd8ab1d2878ee749be9c56ffc9efe970f7f0f094aa94b18b3cd15a72 DIST mysql-5.1.47.tar.gz 23817441 RMD160 ee399fe1ba393c9cd4c19ec43ccea68a6a9f43e3 SHA1 9ea8b2cfedb366b884eaeb37757de1cdbbd85b45 SHA256 b80a2d2bf3b844c4dcd63c36339228fc6787b919e62f4481dba52b07899c53d5 +DIST mysql-5.1.48.tar.gz 23362742 RMD160 783575f5dc4ef004c8256878e6619d23cc33aae4 SHA1 61327d8588a73eb1ca61a91eefad9ce571bac588 SHA256 843c709426d80281800dd5cdf085373f3cf74391b531d9bc07efa5f82de104bd DIST mysql-5.5.1-m2.tar.gz 21459964 RMD160 aa36e78efe6fdbfc020cd1599fa63dd9aa60e91b SHA1 6eb787a884523ea30b4a8b900a928a0caa159e3a SHA256 26e8d98ae2341b8ee292bc173531560011e0150da63f2d873fad191d8dbce081 DIST mysql-extras-20100201-0104Z.tar.bz2 933785 RMD160 7780fcc370d2eb8e48993aaeba480e2ec7785c14 SHA1 ce098829243327c5941a9864a9e0632ae5cee418 SHA256 d06f7d2e6920576392adf0fa544931aa6dcecf45060dac4968ea8d88e84c2f70 DIST mysql-storage-filesystem-0.1.1-gentoo-r7.tar.gz 17099 RMD160 fcc3fe5a9f6d0b4f1b0f2d36969634c7f2701ff7 SHA1 b8e846b18b6b43927d050e9f418a75ac5728e2ba SHA256 0ece3795d61d25f8a61fa62e8add858c05415c4c47acb225f221afea1d7736af @@ -40,6 +41,7 @@ EBUILD mysql-5.1.43-r1.ebuild 6572 RMD160 72a59ef1237801d62cbf98c9b65794c7c4c796 EBUILD mysql-5.1.44.ebuild 6572 RMD160 72a59ef1237801d62cbf98c9b65794c7c4c79644 SHA1 f63844835d90c0663bbcda693a39cc087bf906bd SHA256 c76fe07fa9b4e5aaf8cefb8ac104b7967b890aed33e8e5e4311d13d121e20b98 EBUILD mysql-5.1.45-r2.ebuild 6562 RMD160 1146db64cc50f4584bf3748f39919420d1e5b921 SHA1 2563f861c9555ce8a42cbfca712186f3647b4a88 SHA256 35b20202838abfea710d03d6942f66f11250b418df179cf608d03dbcb039d115 EBUILD mysql-5.1.47-r2.ebuild 7838 RMD160 ff6fb34b2651e2506d3d8146ae52da1f16102bd3 SHA1 97ae6c615998c62eba6443ef91dc829d2ba17336 SHA256 603fb7df3b8568c2992999661d84732d29afc9e6ce2362adae61a595f3177d9a +EBUILD mysql-5.1.48-r1.ebuild 7838 RMD160 ff6fb34b2651e2506d3d8146ae52da1f16102bd3 SHA1 97ae6c615998c62eba6443ef91dc829d2ba17336 SHA256 603fb7df3b8568c2992999661d84732d29afc9e6ce2362adae61a595f3177d9a EBUILD mysql-5.5.1_alpha_pre2-r2.ebuild 7025 RMD160 eef0ca281f2f3a37824e9b10616447b6dd2c3c0d SHA1 d6be9d84f8d9877b5ab962c9e3042cb2ebdb5d66 SHA256 11f589cea18ead1bdd39761b1cd7078936227b692413cbec2f7db25fea855e25 -MISC ChangeLog 96796 RMD160 ca5cbcf6f6b659ad17365dcf77b0b826aed50454 SHA1 f3a77493949bbe4853d98df4250f474887d970d9 SHA256 209f691a3b95e786af5a5339ce4c8c8b88ff658e981d0fbfb5d7debc9fdfb5ce +MISC ChangeLog 96880 RMD160 667c7d93f1f1291247ea15875dfd0a58159a6f0d SHA1 a61e336e4cfd4ec5fa30bbec18059553c6ee83d6 SHA256 21a182ade9fafaf961e9b26587a20878e2eb5bc51a3119e712bf8f0ee792bea1 MISC metadata.xml 918 RMD160 ee023d3ae746d0d29ac387c1c87f3f8dec7c9568 SHA1 10ef755d319f93d02de705b3158f4e73aca28af4 SHA256 046a9880921c49fea8861a819c1afd27fc5a873dea28b80b040da2733e029c47 diff --git a/dev-db/mysql/mysql-5.1.48-r1.ebuild b/dev-db/mysql/mysql-5.1.48-r1.ebuild new file mode 100644 index 0000000..4500252 --- /dev/null +++ b/dev-db/mysql/mysql-5.1.48-r1.ebuild @@ -0,0 +1,230 @@ +# Copyright 1999-2010 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="live" +EAPI=2 + +GO_MYSQL_PATCHES="http://ftp.disconnected-by-peer.at/mysql/go-mysql-patches-1.tar.gz" + +MYSQL_STORAGE="pbxt-1.0.11-2-pre-ga-gentoo-r1 + pbms-0.5.12-beta-gentoo-r3 + revision-0.2-alpha-gentoo-r5 + soliddb-0081-gentoo-r3 + innodb-1.0.6-gentoo-r2 + xtradb-1.0.6-10.1-gentoo-r1 + filesystem-0.1.1-gentoo-r7 + sphinx-0.9.9-gentoo-r3 + spider-2.20-gentoo-r1 + oqgraph-0.7-gentoo-r6" + +inherit toolchain-funcs mysql +# 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. +# This is often broken still +#EPATCH_EXCLUDE='02040_all_embedded-library-shared-5.1.43.patch ' + +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" +RDEPEND="!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='berkdb -cluster embedded extraengine perl ssl community' \ +# FEATURES='test userpriv -usersandbox' \ +# ebuild mysql-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))" + + # archive_gis really sucks a lot, but it's only relevant for the + # USE=extraengines 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)" == "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 issue + # 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}" == "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}" == "5.0.54" ] && \ + [ "${ARCH/x86}" != "${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}" == "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=41066 + [ "${PV}" == "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 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.0.*|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_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.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}" == "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 + + # This fail with XtraDB in place of normal InnoDB + # TODO: test if they are broken with the rest of the Percona patches + if xtradb_patch_available && use xtradb ; then + for t in main.innodb innodb.innodb_bug51378 \ + main.information_schema_db main.mysqlshow \ + main.innodb-autoinc main.innodb_bug21704 \ + main.innodb_bug44369 main.innodb_bug46000 \ + main.index_merge_innodb ; do + mysql_disable_test $t "tests broken in xtradb" + 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 +}