Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
Date: Fri, 06 Feb 2015 14:10:39
Message-Id: 1423074716.f64d76047a9c1d9fae42861540ce7769bd09b45f.grknight@gentoo
1 commit: f64d76047a9c1d9fae42861540ce7769bd09b45f
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 4 18:31:56 2015 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 4 18:31:56 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=f64d7604
7
8 Version bump
9
10 ---
11 dev-db/mysql/Manifest | 2 +
12 dev-db/mysql/mysql-5.6.23.ebuild | 153 +++++++++++++++++++++++++++++++++++++++
13 2 files changed, 155 insertions(+)
14
15 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
16 index 9bb6c27..2a6873e 100644
17 --- a/dev-db/mysql/Manifest
18 +++ b/dev-db/mysql/Manifest
19 @@ -4,6 +4,7 @@ DIST mysql-5.0.96.tar.gz 22686667 SHA256 43853814775158aa1650f483530a7dde1539575
20 DIST mysql-5.1.73.tar.gz 24023347 SHA256 05ebe21305408b24407d14b77607a3e5ffa3c300e03f1359d3066f301989dcb5 SHA512 2e3651ebc1370dad7e01158cdd99133ed3f90c985114766b6282d58b743ae7bce16db797e82819fa5bbc2fa53d89811fd76b278c7459338288e7957634a8c3ff WHIRLPOOL f47c3fe1cd98b8ca2163646c760bd9763c65eab0591b31fe30a8c55c72c8b10d7b549b394493695cf98f50999364409ef8158661141277e6d99b011835aef942
21 DIST mysql-5.5.41.tar.gz 21768300 SHA256 ec642fc5be5ea03b24a0c5189204675fb3794dee772314ace650623c1c994844 SHA512 4c4e9658175e1f5de218527045d7d43f880a16c0069725e6c9f9873538b5ede39e4024fc9983e42c04d59a7bece7a3505d154eabbaa230c0dd456c46ff4982b8 WHIRLPOOL 37ef2709b489db62beb745d3b39bf6e6ebe97e98ea6f5630fa4a74cf865d048a222b19995eff71c6146b15cb28f4dd7edf1567ddf6dbef606f964149dad37ccc
22 DIST mysql-5.6.22.tar.gz 33115516 SHA256 c4d2dfabb20a8e26e8437dff41f366520001eb031ffd77fbfcde70d0073fc9f6 SHA512 11b4a1b34ff4bb63d7cdbc1134947772b2c30715b1e3d3fba2ed9c5102f0bde14a708561b2d463014eca64f5fb415a54a0e1656d48f118b403e66d83b98f5b82 WHIRLPOOL a85db903ce1bc542ac87d832d2d0d84cd4c8a75f5feae435d0a9c5ce26f792b7d30c0113764315e8df0e74a899ee2c02233e3b193b42a98daf46ed52b5ccc9cd
23 +DIST mysql-5.6.23.tar.gz 33115859 SHA256 3bd21af06a9304e372daba41fa5612bb54ac1bc05a4349b3160d0cda972ac098 SHA512 ac648550934ac6ddcb0cbc93731c2d913288dff53ada665f161d14c46e16f2a8ad8d09106a2718e8412f859ea9cf038d04e4c6f5fbea6e4424f9373ddccf4da3 WHIRLPOOL ae315cc7a60408cc050a7941b3c16cf169554b5a67fe4ce23a9b183cb551168f2ec3817e28cf0aa24b619ddc1b638bd926cfcf9c2e0755b2acbf1b82548b2581
24 DIST mysql-5.7.4-m14.tar.gz 44115280 SHA256 3c6b29641b50c6622db31e3067e4b9ed542f620b55f44372f398040219349732 SHA512 7dea15db9a08a4b94272babd5d5d45ddf8a0bf932291d37c90c5f49962b2d2e732c37d3aeaecc445631d7c8a1ee9717e8561c1b2abf4f52d853ce2a06a715c1b WHIRLPOOL 6738a6fbc1a71b6f8244ad5fbaa76facf55ec0cda6b78f5895f693f0b780582e89bab297e54bd16a17b6c8e88dcb3760f5d78ed2f776c769e7117991b50b153c
25 DIST mysql-5.7.5-m15.tar.gz 46527024 SHA256 8f45d0a66952101a2c8490e833024f758aa4c6dce9ebc125ab8b472a72edc781 SHA512 301398a73d0c30afb2fe5628bde0e01d83daaacc2a0bedd323a4860680ae412f36fdd6a7146a78aeb0b0fa1d4394f5c5557ea2c891833c18179fb2490a35c339 WHIRLPOOL 32e181732b7c7a37fd830b9df92736e669decab681f6e9dbf0c6894d9b925dd09538cba4ddf3754e9e3c10baf0840aca9bf57332cdf15751555edbaff573027d
26 DIST mysql-extras-20070105.tar.bz2 50005 SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 SHA512 65e8fd1f9cc71083dbcfaffc331171e0d7deedbd784e416a4b629139f71cc102a84fa62c2d9e48310a18571ef7f06153911ee75c5d7bb6ba88807c287e7cbf34 WHIRLPOOL 3f858fbed6f57ffac863c29bef09a658e3d9f57cf4c6b5c62537973ae44f217344a8592ad311b14b1e7e8d475434b3c69339a8d2873c498ba712ff6f5e128cec
27 @@ -12,5 +13,6 @@ DIST mysql-extras-20120401-2131Z.tar.bz2 1835097 SHA256 95e531799ed267c566da8b07
28 DIST mysql-extras-20140424-1043Z.tar.bz2 1493352 SHA256 75b8de752f11559e3900fd96c3ca6113bd083a69b08bd66b2c24bacfb9b8b88c SHA512 d1324efd88be8b9e7b6ef61cfaf497b51a02e0825a8cb240ee6869b0875f4f18170d9952567c995f73f9a57b98a91f6e91878bc9efe87f99e0b20053ce5a376a WHIRLPOOL 2982ca88af7926f7fbcf68e0f3f289c0b33e8c929de3db1679c4debf8fa1f74e809361e968ac94949dce405d4a4e494ebdf447e9208eb9cfc39c5677454ed77e
29 DIST mysql-extras-20140514-0124Z.tar.bz2 1493742 SHA256 0cdda9f8587532375274510a8a1f8fe5e80f10cfdf851a01074109803f7ee4cf SHA512 7a798809809b35a515a3475be5f1a96547d495592c83c4cf5c79fb07ceb45a04000da8922d051004c0f2d944f92ca47b75ad08d06a8dccca2ae9f94778d31a7e WHIRLPOOL 371446d80cd9fa22a28eeecde8d18c9c3ca76db9bc57a4ab2073ed0fc1d19a70a06a33cb92257a671849e4bad8bfb9f235272ee1221c7c21ce5f45bc900a59cc
30 DIST mysql-extras-20141203-2105Z.tar.bz2 1494317 SHA256 cec9fe6873563840e9520ec9f02d06e1262748847be45a9aeaaa841f7ed4b4dc SHA512 958b410d7905d7911a69288ba9a9ebb1d80ff38281506e18400652b15895eb3926d9679fd245a54f4f7cdb688ed9940f21b1b4634239dbc1a1db19ac3918921a WHIRLPOOL baf70684826f393723bd3877813d9415c15b847ffd71757535a12106bff4fcf343cca37e166d45be06eca0425d249dc600bc752ab5e27e02ead3897952ceb169
31 +DIST mysql-extras-20150127-1351Z.tar.bz2 1494648 SHA256 74497659f1fb3b0cb620e38a911cf2e59a084149dd175199eb7cf4be18b4c328 SHA512 886e42697b3b0a90d8542bafaf3a7ccedf075f9f0065fec995bf58f645edff3a5d62f29be1cfa2e01d002d6382ee02279832cea8c21db6a774c2567c75ab6a35 WHIRLPOOL 9ddb5ccd914a6a6a19741ff93df78534d2273cf918f24af427c018b7c4f424a90d9f57f167633c48e2fa4102a4fae0873fd6dec7529839f229af855cbddf82d4
32 DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 SHA256 71ff3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12 SHA512 fa238303f06e0a9adfb10bd5a2e1d2e4850d2c17a350af3874cbff099d6e47b7c555d750c584d06a3ca87c1eb1e9301a9619d8d9a4cffb7fd0169b2b3a63c80c WHIRLPOOL 05cdd39f6f5dafff2def0062a00a24eff6cf6d8754f622b133365cef47cd6b828df5500ac407359d0793a75dd239ec1e49a13d2400a01ddf8b4cef7466e86962
33 DIST percona-xtradb-1.0.6-10.tar.gz 1676716 SHA256 e3aa818f13cf669412e59ad194eae8eada7a857bf7a4260e4bb41cab4d7ae39c SHA512 72e4b656b22a0420e6f5935dc28060e5c50fbeb48c6d1ae430579d9ccef8042fdd4dde128cc977b903de6221f7021e8c87ea29fe6a8a8c74edb84bf54ab889f3 WHIRLPOOL a916879be315498da27c60992efa4d19e91305b81242925e161547f3fb97a820256e1d07863e9e007ef843af54cd087ce5ac47d5ed1b70862da6cd5a9d81eccf
34
35 diff --git a/dev-db/mysql/mysql-5.6.23.ebuild b/dev-db/mysql/mysql-5.6.23.ebuild
36 new file mode 100644
37 index 0000000..f2e172e
38 --- /dev/null
39 +++ b/dev-db/mysql/mysql-5.6.23.ebuild
40 @@ -0,0 +1,153 @@
41 +# Copyright 1999-2015 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.6.23.ebuild,v 1.1 2015/02/04 18:30:31 grknight Exp $
44 +
45 +EAPI="5"
46 +
47 +MY_EXTRAS_VER="20150127-1351Z"
48 +MY_PV="${PV//_alpha_pre/-m}"
49 +MY_PV="${MY_PV//_/-}"
50 +
51 +inherit toolchain-funcs mysql-multilib
52 +# only to make repoman happy. it is really set in the eclass
53 +IUSE="$IUSE"
54 +
55 +# REMEMBER: also update eclass/mysql*.eclass before committing!
56 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
57 +
58 +# When MY_EXTRAS is bumped, the index should be revised to exclude these.
59 +EPATCH_EXCLUDE=''
60 +
61 +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
62 +RDEPEND="${RDEPEND}"
63 +
64 +# Please do not add a naive src_unpack to this ebuild
65 +# If you want to add a single patch, copy the ebuild to an overlay
66 +# and create your own mysql-extras tarball, looking at 000_index.txt
67 +
68 +# Official test instructions:
69 +# USE='-cluster embedded extraengine perl ssl static-libs community' \
70 +# FEATURES='test userpriv -usersandbox' \
71 +# ebuild mysql-X.X.XX.ebuild \
72 +# digest clean package
73 +multilib_src_test() {
74 +
75 + if ! multilib_is_native_abi ; then
76 + einfo "Server tests not available on non-native abi".
77 + return 0;
78 + fi
79 +
80 + local TESTDIR="${BUILD_DIR}/mysql-test"
81 + local retstatus_unit
82 + local retstatus_tests
83 +
84 + # Bug #213475 - MySQL _will_ object strenously if your machine is named
85 + # localhost. Also causes weird failures.
86 + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
87 +
88 + if ! use "minimal" ; then
89 +
90 + if [[ $UID -eq 0 ]]; then
91 + die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
92 + fi
93 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
94 +
95 + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
96 + addpredict /this-dir-does-not-exist/t9.MYI
97 +
98 + # Run CTest (test-units)
99 + cmake-utils_src_test
100 + retstatus_unit=$?
101 + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
102 +
103 + # Ensure that parallel runs don't die
104 + export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
105 + # Enable parallel testing, auto will try to detect number of cores
106 + # You may set this by hand.
107 + # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
108 + export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
109 +
110 + # create directories because mysqladmin might right out of order
111 + mkdir -p "${T}"/var-tests{,/log}
112 +
113 + # create symlink for the tests to find mysql_tzinfo_to_sql
114 + ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
115 +
116 + # These are failing in MySQL 5.5/5.6 for now and are believed to be
117 + # false positives:
118 + #
119 + # main.information_schema, binlog.binlog_statement_insert_delayed,
120 + # funcs_1.is_triggers funcs_1.is_tables_mysql,
121 + # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
122 + # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
123 + # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
124 + # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
125 + # fails due to USE=-latin1 / utf8 default
126 + #
127 + # main.mysql_client_test:
128 + # segfaults at random under Portage only, suspect resource limits.
129 + #
130 + # rpl.rpl_plugin_load
131 + # fails due to included file not listed in expected result
132 + # appears to be poor planning
133 + #
134 + # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
135 + # fails due to bad cleanup of previous tests when run in parallel
136 + # The tool is deprecated anyway
137 + # Bug 532288
138 + for t in \
139 + binlog.binlog_mysqlbinlog_filter \
140 + binlog.binlog_statement_insert_delayed \
141 + funcs_1.is_columns_mysql \
142 + funcs_1.is_tables_mysql \
143 + funcs_1.is_triggers \
144 + main.information_schema \
145 + main.mysql_client_test \
146 + main.mysqld--help-notwin \
147 + perfschema.binlog_edge_mix \
148 + perfschema.binlog_edge_stmt \
149 + rpl.rpl_plugin_load \
150 + main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
151 + ; do
152 + mysql-multilib_disable_test "$t" "False positives in Gentoo"
153 + done
154 +
155 + if ! use extraengine ; then
156 + # bug 401673, 530766
157 + for t in federated.federated_plugin ; do
158 + mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
159 + done
160 + fi
161 +
162 + # Run mysql tests
163 + pushd "${TESTDIR}"
164 +
165 + # Set file limits higher so tests run
166 + ulimit -n 3000
167 +
168 + # run mysql-test tests
169 + perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
170 + --suite-timeout=5000
171 + retstatus_tests=$?
172 + [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
173 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
174 +
175 + popd
176 +
177 + # Cleanup is important for these testcases.
178 + pkill -9 -f "${S}/ndb" 2>/dev/null
179 + pkill -9 -f "${S}/sql" 2>/dev/null
180 +
181 + failures=""
182 + [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
183 + [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
184 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
185 +
186 + [[ -z "$failures" ]] || die "Test failures: $failures"
187 + einfo "Tests successfully completed"
188 +
189 + else
190 +
191 + einfo "Skipping server tests due to minimal build."
192 + fi
193 +}