1 |
commit: 19d929a863f776b07bdfd3157cf3df3ab3757a22 |
2 |
Author: layman <layman <AT> localhost> |
3 |
AuthorDate: Wed Jun 3 17:19:42 2015 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 3 17:19:42 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mysql.git/commit/?id=19d929a8 |
7 |
|
8 |
Version bump for mysql-5.6.25 |
9 |
|
10 |
dev-db/mysql/Manifest | 1 + |
11 |
dev-db/mysql/mysql-5.6.25.ebuild | 153 +++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 154 insertions(+) |
13 |
|
14 |
diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest |
15 |
index b000248..2033863 100644 |
16 |
--- a/dev-db/mysql/Manifest |
17 |
+++ b/dev-db/mysql/Manifest |
18 |
@@ -5,6 +5,7 @@ DIST mysql-5.1.73.tar.gz 24023347 SHA256 05ebe21305408b24407d14b77607a3e5ffa3c30 |
19 |
DIST mysql-5.5.43.tar.gz 21784417 SHA256 43d3df79e5c839a2749deb6e056a4589e49c903e09034c18653ec56e6e4774cd SHA512 b14506ac45fa4c69a6b7bbf64b2c3e59516b1fca3e0cce97e9712c09abecbf50071a60fc09f3e009d8591bf0d7352f28479cd8cb5445008ee146735897878b52 WHIRLPOOL 93e77045f4c4b188db38912ec6709bfee1ee0e0b7bf4cadfbeede8aef701d1f0cbf238e02d82013ceabe13df952e4f08c75bd3ad7504790677dc5a5ec4844fea |
20 |
DIST mysql-5.5.44.tar.gz 21789766 SHA256 85f05b257db39e63c82ff4b5ce4e0c6d2b07560b5fc1646d47d7ae48eab3e5de SHA512 05707b96c3e0d39ca103d965640aa1a9461a513f788fc7f2acce4b3933ec578b3d66df53955b0dff1b6c9e5acd98441cfe1df5b3154a1058293babc39c26dad5 WHIRLPOOL 870d9728c78f6732fcd6f95e62833a769c937c96298a39bb023b33a9138552e254d2a3f6285d8f4f0b740de9d7397fa1a0987234a0a4dfa13c787fc068053d78 |
21 |
DIST mysql-5.6.24.tar.gz 33178592 SHA256 37e27305b67d76883c5902dce59c89d596beee9dca7dbadd4a2e117f8101dfeb SHA512 cb4c27f67aad02e2120edb9dfaffa623d8ddb5861ee77055553c50cce76cbfe0a1e473e01cef3cf86b6362c719e1db18e69808a0e4e457f879a37297f14b9fd7 WHIRLPOOL 26e51a1c48d04c2f24f8914beb84bcd8122ecc569b922d001c05271c3b7dc3339652272e27169001c762356c6fffa9ba88a6ccd8b2235e41063b5948e1dd2011 |
22 |
+DIST mysql-5.6.25.tar.gz 33203321 SHA256 15079c0b83d33a092649cbdf402c9225bcd3f33e87388407be5cdbf1432c7fbd SHA512 cd15180281b015a29d5a9f12bafd5878ecb8ca68ada2e0d016916d77f606592b4b9a8e4a3728fc0d90326bcdda26fdd371fc731ca524f06bd06cc3b19ae93243 WHIRLPOOL 68932bcbec0e58aade1c00fe00651ecac1003e80e5cd29298c23a79190df76390c7f16a29fcb5bff9ad63e721f53978d5d727a0ae9c5df0eb97a002a4c3e4194 |
23 |
DIST mysql-5.7.6-m16.tar.gz 47330399 SHA256 bba884fba916eea6cdaa3880af826c6f3b516f80319f35b1be6d4d3ea9c9d42d SHA512 1b5cfedc4e18dcc6ca722e6339f593e5d26131c3e582b9b3bc8905bb9e005feb9f5af620e85cf6e57bead07ee306fe490a2d04e7c8e2fa349d947c718776c57e WHIRLPOOL 48a804191825ad2927f99c540d477a71d5882f65e14fafa94cfaffc320a752f81e613ff2b05ebc61a16474e3466b037d79f0ddf57b7ba2afc3a5d9ae7ad345cc |
24 |
DIST mysql-5.7.7-rc.tar.gz 47772644 SHA256 1f3069670ff6f1453a6b9ad569485977036c0d91a7267f15934e71ee1c7f8ff0 SHA512 443c74b6c5a5845a0ae3be054aa69970b49f5e71941316e80c680c416f0a0d06596ca6e314ffda7e735775e2eeb2414bbe11ea964a84593d9433ca6961cb257c WHIRLPOOL 29d4586e889fe426ff5f07d2a5d727db7165266f7f02910b1737d4f882b95fcb5b156c01f52b8f5bbb80c021d0e408a87ca032503f74a64fee2e90af43d98ec5 |
25 |
DIST mysql-extras-20070105.tar.bz2 50005 SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 SHA512 65e8fd1f9cc71083dbcfaffc331171e0d7deedbd784e416a4b629139f71cc102a84fa62c2d9e48310a18571ef7f06153911ee75c5d7bb6ba88807c287e7cbf34 WHIRLPOOL 3f858fbed6f57ffac863c29bef09a658e3d9f57cf4c6b5c62537973ae44f217344a8592ad311b14b1e7e8d475434b3c69339a8d2873c498ba712ff6f5e128cec |
26 |
|
27 |
diff --git a/dev-db/mysql/mysql-5.6.25.ebuild b/dev-db/mysql/mysql-5.6.25.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..731106a |
30 |
--- /dev/null |
31 |
+++ b/dev-db/mysql/mysql-5.6.25.ebuild |
32 |
@@ -0,0 +1,153 @@ |
33 |
+# Copyright 1999-2015 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.6.25.ebuild,v 1.1 2015/06/01 16:18:23 grknight Exp $ |
36 |
+ |
37 |
+EAPI="5" |
38 |
+ |
39 |
+MY_EXTRAS_VER="20150410-1944Z" |
40 |
+MY_PV="${PV//_alpha_pre/-m}" |
41 |
+MY_PV="${MY_PV//_/-}" |
42 |
+ |
43 |
+inherit toolchain-funcs mysql-multilib |
44 |
+# only to make repoman happy. it is really set in the eclass |
45 |
+IUSE="$IUSE" |
46 |
+ |
47 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
48 |
+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" |
49 |
+ |
50 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
51 |
+EPATCH_EXCLUDE='' |
52 |
+ |
53 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
54 |
+RDEPEND="${RDEPEND}" |
55 |
+ |
56 |
+# Please do not add a naive src_unpack to this ebuild |
57 |
+# If you want to add a single patch, copy the ebuild to an overlay |
58 |
+# and create your own mysql-extras tarball, looking at 000_index.txt |
59 |
+ |
60 |
+# Official test instructions: |
61 |
+# USE='embedded extraengine perl ssl static-libs community' \ |
62 |
+# FEATURES='test userpriv -usersandbox' \ |
63 |
+# ebuild mysql-X.X.XX.ebuild \ |
64 |
+# digest clean package |
65 |
+multilib_src_test() { |
66 |
+ |
67 |
+ if ! multilib_is_native_abi ; then |
68 |
+ einfo "Server tests not available on non-native abi". |
69 |
+ return 0; |
70 |
+ fi |
71 |
+ |
72 |
+ local TESTDIR="${BUILD_DIR}/mysql-test" |
73 |
+ local retstatus_unit |
74 |
+ local retstatus_tests |
75 |
+ |
76 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
77 |
+ # localhost. Also causes weird failures. |
78 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
79 |
+ |
80 |
+ if ! use "minimal" ; then |
81 |
+ |
82 |
+ if [[ $UID -eq 0 ]]; then |
83 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
84 |
+ fi |
85 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
86 |
+ |
87 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
88 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
89 |
+ |
90 |
+ # Run CTest (test-units) |
91 |
+ cmake-utils_src_test |
92 |
+ retstatus_unit=$? |
93 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
94 |
+ |
95 |
+ # Ensure that parallel runs don't die |
96 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
97 |
+ # Enable parallel testing, auto will try to detect number of cores |
98 |
+ # You may set this by hand. |
99 |
+ # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
100 |
+ export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
101 |
+ |
102 |
+ # create directories because mysqladmin might right out of order |
103 |
+ mkdir -p "${T}"/var-tests{,/log} |
104 |
+ |
105 |
+ # create symlink for the tests to find mysql_tzinfo_to_sql |
106 |
+ ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/" |
107 |
+ |
108 |
+ # These are failing in MySQL 5.5/5.6 for now and are believed to be |
109 |
+ # false positives: |
110 |
+ # |
111 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
112 |
+ # funcs_1.is_triggers funcs_1.is_tables_mysql, |
113 |
+ # funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter, |
114 |
+ # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt, |
115 |
+ # mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql |
116 |
+ # perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter |
117 |
+ # fails due to USE=-latin1 / utf8 default |
118 |
+ # |
119 |
+ # main.mysql_client_test: |
120 |
+ # segfaults at random under Portage only, suspect resource limits. |
121 |
+ # |
122 |
+ # rpl.rpl_plugin_load |
123 |
+ # fails due to included file not listed in expected result |
124 |
+ # appears to be poor planning |
125 |
+ # |
126 |
+ # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
127 |
+ # fails due to bad cleanup of previous tests when run in parallel |
128 |
+ # The tool is deprecated anyway |
129 |
+ # Bug 532288 |
130 |
+ for t in \ |
131 |
+ binlog.binlog_mysqlbinlog_filter \ |
132 |
+ binlog.binlog_statement_insert_delayed \ |
133 |
+ funcs_1.is_columns_mysql \ |
134 |
+ funcs_1.is_tables_mysql \ |
135 |
+ funcs_1.is_triggers \ |
136 |
+ main.information_schema \ |
137 |
+ main.mysql_client_test \ |
138 |
+ main.mysqld--help-notwin \ |
139 |
+ perfschema.binlog_edge_mix \ |
140 |
+ perfschema.binlog_edge_stmt \ |
141 |
+ rpl.rpl_plugin_load \ |
142 |
+ main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
143 |
+ ; do |
144 |
+ mysql-multilib_disable_test "$t" "False positives in Gentoo" |
145 |
+ done |
146 |
+ |
147 |
+ if ! use extraengine ; then |
148 |
+ # bug 401673, 530766 |
149 |
+ for t in federated.federated_plugin ; do |
150 |
+ mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)" |
151 |
+ done |
152 |
+ fi |
153 |
+ |
154 |
+ # Run mysql tests |
155 |
+ pushd "${TESTDIR}" |
156 |
+ |
157 |
+ # Set file limits higher so tests run |
158 |
+ ulimit -n 3000 |
159 |
+ |
160 |
+ # run mysql-test tests |
161 |
+ perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
162 |
+ --suite-timeout=5000 |
163 |
+ retstatus_tests=$? |
164 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
165 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
166 |
+ |
167 |
+ popd |
168 |
+ |
169 |
+ # Cleanup is important for these testcases. |
170 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
171 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
172 |
+ |
173 |
+ failures="" |
174 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
175 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
176 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
177 |
+ |
178 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
179 |
+ einfo "Tests successfully completed" |
180 |
+ |
181 |
+ else |
182 |
+ |
183 |
+ einfo "Skipping server tests due to minimal build." |
184 |
+ fi |
185 |
+} |