1 |
commit: fee1916629d700f3490e031f155e1c658c61363a |
2 |
Author: Brian Evans <grknight <AT> tuffmail <DOT> com> |
3 |
AuthorDate: Fri Jan 24 14:16:54 2014 +0000 |
4 |
Commit: Brian Evans <grknight <AT> lavabit <DOT> com> |
5 |
CommitDate: Fri Jan 24 14:16:54 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=fee19166 |
7 |
|
8 |
[percona-server] Version bumps for 5.5 and 5.6 series |
9 |
|
10 |
--- |
11 |
dev-db/percona-server/Manifest | 3 + |
12 |
.../percona-server-5.5.35.33.0.ebuild | 132 ++++++++++++++++++++ |
13 |
.../percona-server-5.6.15.63.0.ebuild | 137 +++++++++++++++++++++ |
14 |
3 files changed, 272 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/percona-server/Manifest b/dev-db/percona-server/Manifest |
17 |
index 5f647c0..a49f041 100644 |
18 |
--- a/dev-db/percona-server/Manifest |
19 |
+++ b/dev-db/percona-server/Manifest |
20 |
@@ -1,6 +1,9 @@ |
21 |
DIST Percona-Server-5.5.30-rel30.2.tar.gz 22567579 SHA256 260b90a85cd6099b6ab2bbc483e9df651525dccd2f8cac1c32cf5b71c0de1ad4 SHA512 eb12ff70715e0dda4f04554f3b065c0a1fced6519d30698c3b934a7294a65f00281508f145886bb51008f29eae27db6ae0d5bb6d7beffdb107ee0494e5a15dce WHIRLPOOL 8e9534e3c0904dce7774eff3d9c6387cb22f681a23b9dabcd5fa3980b49b6b99c32fbe8f4d607595846b307491694c43f2b763c0e77c58e5b16ffef39babacc3 |
22 |
DIST Percona-Server-5.5.33-rel31.1.tar.gz 22538385 SHA256 2039ae974d0973b765a4cdc7ffa1dc75ebd93540769fb134b3a8dc521dfc0b3a SHA512 2b2aa04ce7f2ed23cd1f4752453d95a42d06e4c855330edb3606c2c03a274d96cab3c8c1b9e278b18d331090108dbfa9cc5e2789a87eee4a2935712ac612d187 WHIRLPOOL fd74b29d17b91118733c1dc1bd620694474508f850c5657bab7f064296c99246fd08ba79f6d403512652a8d2ac771a49e09a5b134ec8a564da70ce15f70b802d |
23 |
DIST Percona-Server-5.5.34-rel32.0.tar.gz 22579884 SHA256 775931aba537dea4fcd4ff6d37f2f30ce24921c79cef17f0c9c595222f95a741 SHA512 46e6526444550e89831fbb96b54fb91a77a0495cb804b082ef6e4d9af5ad89b0c982356d76c7a30a6a481ff4e7c51098e953914fdee84f5577ff989f9a82bac4 WHIRLPOOL 05b639a3d9421437e99c799168ddd214ae513992b2820850a038222b7e1cd9ee30b479026aea1ea0c6c274d0d641adb5040b98d94c29c3764be5dc4ec10cd14d |
24 |
+DIST Percona-Server-5.5.35-rel33.0.tar.gz 22465700 SHA256 ffa9335fc6ee204b13c5d6ebe32709f2b5bc930665e8000db1864555a02049b8 SHA512 230e51c1dd9bf6e502ad392de8f976e43690449b460739d4c3d19d22a15e52243a3f09785bdab3f9406418c5acf12f6e1ddeeedc5006e0e665bfb4b6fe90bebb WHIRLPOOL cd6ccdeca0cc9f714fe5dbe49262b140213369f4faec1348f70a4ddc8d513fb92b889a7d6fa7730515bbbd0e6c87a7198943ce03a27905ae4ec7f55af1077eb4 |
25 |
DIST Percona-Server-5.6.13-rc60.5.tar.gz 33213326 SHA256 90de6997d2d20e37aa7d7e240ad310a446c5c85ae55cd4146bf6b17ffd5bb0a5 SHA512 212ea07a2ebc2f743ff49768770495c954e58eaafcf8d8be9b7ba1d9ca7600865d098cb779bf3ca6f0aa49ab9f2f62b44156c7d704dca25e87be40800bd4bab4 WHIRLPOOL 85a957fef0b8f93e705d1eb4c7a545d042620032c6937f47d4468520ec5755e907a5efa58fa143e6f0f239c66a1f4ae4a80ae9133f0db05ddd9ba98a6aaa1c18 |
26 |
DIST Percona-Server-5.6.13-rel61.0.tar.gz 33401056 SHA256 6fa6c240f08c3aedacbefe31559128d239c7f18089c5bba64136698bd64910c8 SHA512 7499bdc1c40fe7902412043ab7d815c97696dfaf0357681ac103f59b3a2294de4b244a9b821029b1be0ae0a1f6b27a22dd4a00c670e5b9bdb2be93250cbea846 WHIRLPOOL 9d14b2e12997797fe1f6207497b495ff82c2070d7eb146b62ac38176a3bc9302f4679afc37e4aeeae253cfb798f6ea61ea489bb10a51c11494be05674c46619f |
27 |
DIST Percona-Server-5.6.14-rel62.0.tar.gz 33386914 SHA256 69edc04585e72ac94c32598221c0762704e75190c2abe4fa680ad42ce202e280 SHA512 d79379ec3ecb8f962bd9a7be893b3d6ac1b35f0414e919056884410c0d14ec793993a9bb8f9929b81e4db2392c2de6e5742d84207c9c2d8dcd7c184da3a8c093 WHIRLPOOL e595dfa47de77a84082acb74496a3db708f155e58452117824bf86110353f84b8ae3f5fa2a120203b30e4cb7d11f079344b3e32b83d710eec3b059575bab7fd2 |
28 |
+DIST Percona-Server-5.6.15-rel63.0.tar.gz 33371236 SHA256 0d433310c374025e4aae05038b1542a5c90b35d01842c5b9718dcc0ed66ea0cc SHA512 52828d666694cac2872b2a7e002d1619a5bd96dcf8bc770de13121d014e8d0f6ac81a6ce16fec3736953eefd195f802ca1933c3da0a907502954d3c05689affb WHIRLPOOL 19f580351c135270d351b9b34d5bc6a1c69f36ed5191bbe28da378c0cfe8dc93da486db5bdf3615092b0cbf284871e3c02af4cad4389b15c50365ef919cb9cf2 |
29 |
+DIST mysql-extras-20140121-1138Z.tar.bz2 1493430 SHA256 c04953c41fc559018491a26acfce4fb509e26b0d07e8ecef0d5e5f5c1c416862 SHA512 7fafdc52803044605e0c86f18503b258a949eadd1da71d3e7fae1571329ed869f577bff971da373767db56538c1a9feb864ad5451d1628958f0285a401d0886f WHIRLPOOL e3ab7c61d7b647669201417867237ce8e566dd59c42394add571814491fa59e89969ad9a3bd9a7399fb9cf8689b3a4e535fcc2a0bab32d44e45a24cb4526405a |
30 |
|
31 |
diff --git a/dev-db/percona-server/percona-server-5.5.35.33.0.ebuild b/dev-db/percona-server/percona-server-5.5.35.33.0.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..010f6e8 |
34 |
--- /dev/null |
35 |
+++ b/dev-db/percona-server/percona-server-5.5.35.33.0.ebuild |
36 |
@@ -0,0 +1,132 @@ |
37 |
+# Copyright 1999-2014 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Header: $ |
40 |
+ |
41 |
+EAPI="4" |
42 |
+ |
43 |
+MY_EXTRAS_VER="live" |
44 |
+MY_PV="${PV//_alpha_pre/-m}" |
45 |
+MY_PV="${MY_PV//_/-}" |
46 |
+ |
47 |
+# Build type |
48 |
+BUILD="cmake" |
49 |
+ |
50 |
+inherit toolchain-funcs mysql-v2 |
51 |
+# only to make repoman happy. it is really set in the eclass |
52 |
+IUSE="$IUSE" |
53 |
+ |
54 |
+# Define the mysql-extras source |
55 |
+EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
56 |
+ |
57 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
58 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
59 |
+ |
60 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
61 |
+EPATCH_EXCLUDE='' |
62 |
+ |
63 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
64 |
+RDEPEND="${RDEPEND}" |
65 |
+ |
66 |
+# Please do not add a naive src_unpack to this ebuild |
67 |
+# If you want to add a single patch, copy the ebuild to an overlay |
68 |
+# and create your own mysql-extras tarball, looking at 000_index.txt |
69 |
+ |
70 |
+# Official test instructions: |
71 |
+# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
72 |
+# FEATURES='test userpriv -usersandbox' \ |
73 |
+# ebuild percona-server-X.X.XX.ebuild \ |
74 |
+# digest clean package |
75 |
+src_test() { |
76 |
+ |
77 |
+ local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
78 |
+ local retstatus_unit |
79 |
+ local retstatus_tests |
80 |
+ |
81 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
82 |
+ # localhost. Also causes weird failures. |
83 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
84 |
+ |
85 |
+ if ! use "minimal" ; then |
86 |
+ |
87 |
+ if [[ $UID -eq 0 ]]; then |
88 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
89 |
+ fi |
90 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
91 |
+ |
92 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
93 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
94 |
+ |
95 |
+ # Run CTest (test-units) |
96 |
+ cmake-utils_src_test |
97 |
+ retstatus_unit=$? |
98 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
99 |
+ |
100 |
+ # Ensure that parallel runs don't die |
101 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
102 |
+ |
103 |
+ # create directories because mysqladmin might right out of order |
104 |
+ mkdir -p "${S}"/mysql-test/var-tests{,/log} |
105 |
+ |
106 |
+ # These are failing in MySQL 5.5 for now and are believed to be |
107 |
+ # false positives: |
108 |
+ # |
109 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
110 |
+ # main.mysqld--help-notwin |
111 |
+ # fails due to USE=-latin1 / utf8 default |
112 |
+ # |
113 |
+ # main.mysql_client_test: |
114 |
+ # segfaults at random under Portage only, suspect resource limits. |
115 |
+ # |
116 |
+ # sys_vars.plugin_dir_basic |
117 |
+ # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
118 |
+ # instead of MYSQL_LIBDIR/plugin |
119 |
+ # |
120 |
+ # main.flush_read_lock_kill |
121 |
+ # fails because of unknown system variable 'DEBUG_SYNC' |
122 |
+ # |
123 |
+ # main.openssl_1 |
124 |
+ # error message changing |
125 |
+ # -mysqltest: Could not open connection 'default': 2026 SSL connection |
126 |
+ # error: ASN: bad other signature confirmation |
127 |
+ # +mysqltest: Could not open connection 'default': 2026 SSL connection |
128 |
+ # error: error:00000001:lib(0):func(0):reason(1) |
129 |
+ # |
130 |
+ # main.file_contents |
131 |
+ # Fails finding a BZR revision number from a text file. |
132 |
+ # This is an information only test and not needed in Gentoo |
133 |
+ |
134 |
+ for t in main.mysql_client_test \ |
135 |
+ binlog.binlog_statement_insert_delayed main.information_schema \ |
136 |
+ main.mysqld--help-notwin main.flush_read_lock_kill \ |
137 |
+ sys_vars.plugin_dir_basic main.openssl_1 main.file_contents ; do |
138 |
+ mysql-v2_disable_test "$t" "False positives in Gentoo" |
139 |
+ done |
140 |
+ |
141 |
+ # Run mysql tests |
142 |
+ pushd "${TESTDIR}" |
143 |
+ |
144 |
+ # run mysql-test tests |
145 |
+ perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
146 |
+ retstatus_tests=$? |
147 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
148 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
149 |
+ |
150 |
+ popd |
151 |
+ |
152 |
+ # Cleanup is important for these testcases. |
153 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
154 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
155 |
+ |
156 |
+ failures="" |
157 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
158 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
159 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
160 |
+ |
161 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
162 |
+ einfo "Tests successfully completed" |
163 |
+ |
164 |
+ else |
165 |
+ |
166 |
+ einfo "Skipping server tests due to minimal build." |
167 |
+ fi |
168 |
+} |
169 |
|
170 |
diff --git a/dev-db/percona-server/percona-server-5.6.15.63.0.ebuild b/dev-db/percona-server/percona-server-5.6.15.63.0.ebuild |
171 |
new file mode 100644 |
172 |
index 0000000..6a7c079 |
173 |
--- /dev/null |
174 |
+++ b/dev-db/percona-server/percona-server-5.6.15.63.0.ebuild |
175 |
@@ -0,0 +1,137 @@ |
176 |
+# Copyright 1999-2014 Gentoo Foundation |
177 |
+# Distributed under the terms of the GNU General Public License v2 |
178 |
+# $Header: $ |
179 |
+ |
180 |
+EAPI="4" |
181 |
+ |
182 |
+MY_EXTRAS_VER="20140121-1138Z" |
183 |
+MY_PV="${PV//_alpha_pre/-m}" |
184 |
+MY_PV="${MY_PV//_/-}" |
185 |
+ |
186 |
+# Build type |
187 |
+BUILD="cmake" |
188 |
+ |
189 |
+inherit toolchain-funcs mysql-v2 |
190 |
+# only to make repoman happy. it is really set in the eclass |
191 |
+IUSE="$IUSE" |
192 |
+ |
193 |
+# Define the mysql-extras source |
194 |
+EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
195 |
+ |
196 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
197 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
198 |
+ |
199 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
200 |
+EPATCH_EXCLUDE='' |
201 |
+ |
202 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
203 |
+RDEPEND="${RDEPEND}" |
204 |
+ |
205 |
+# Please do not add a naive src_unpack to this ebuild |
206 |
+# If you want to add a single patch, copy the ebuild to an overlay |
207 |
+# and create your own mysql-extras tarball, looking at 000_index.txt |
208 |
+ |
209 |
+# Official test instructions: |
210 |
+# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
211 |
+# FEATURES='test userpriv -usersandbox' \ |
212 |
+# ebuild percona-server-X.X.XX.ebuild \ |
213 |
+# digest clean package |
214 |
+src_test() { |
215 |
+ |
216 |
+ local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
217 |
+ local retstatus_unit |
218 |
+ local retstatus_tests |
219 |
+ |
220 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
221 |
+ # localhost. Also causes weird failures. |
222 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
223 |
+ |
224 |
+ if ! use "minimal" ; then |
225 |
+ |
226 |
+ if [[ $UID -eq 0 ]]; then |
227 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
228 |
+ fi |
229 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
230 |
+ |
231 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
232 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
233 |
+ |
234 |
+ # Run CTest (test-units) |
235 |
+ cmake-utils_src_test |
236 |
+ retstatus_unit=$? |
237 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
238 |
+ |
239 |
+ # Ensure that parallel runs don't die |
240 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
241 |
+ |
242 |
+ # create directories because mysqladmin might right out of order |
243 |
+ mkdir -p "${S}"/mysql-test/var-tests{,/log} |
244 |
+ |
245 |
+ # These are failing in MySQL 5.5 for now and are believed to be |
246 |
+ # false positives: |
247 |
+ # |
248 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
249 |
+ # main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter |
250 |
+ # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt |
251 |
+ # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers |
252 |
+ # fails due to USE=-latin1 / utf8 default |
253 |
+ # |
254 |
+ # main.mysql_client_test: |
255 |
+ # segfaults at random under Portage only, suspect resource limits. |
256 |
+ # |
257 |
+ # sys_vars.plugin_dir_basic |
258 |
+ # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
259 |
+ # instead of MYSQL_LIBDIR/plugin |
260 |
+ # |
261 |
+ # main.flush_read_lock_kill |
262 |
+ # fails because of unknown system variable 'DEBUG_SYNC' |
263 |
+ # |
264 |
+ # main.openssl_1 |
265 |
+ # error message changing |
266 |
+ # -mysqltest: Could not open connection 'default': 2026 SSL connection |
267 |
+ # error: ASN: bad other signature confirmation |
268 |
+ # +mysqltest: Could not open connection 'default': 2026 SSL connection |
269 |
+ # error: error:00000001:lib(0):func(0):reason(1) |
270 |
+ # |
271 |
+ # main.file_contents |
272 |
+ # Fails finding a BZR revision number from a text file. |
273 |
+ # This is an information only test and not needed in Gentoo |
274 |
+ |
275 |
+ for t in main.mysql_client_test \ |
276 |
+ binlog.binlog_statement_insert_delayed main.information_schema \ |
277 |
+ main.mysqld--help-notwin main.flush_read_lock_kill \ |
278 |
+ sys_vars.plugin_dir_basic main.openssl_1 binlog.binlog_mysqlbinlog_filter \ |
279 |
+ perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \ |
280 |
+ funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \ |
281 |
+ main.file_contents; do |
282 |
+ mysql-v2_disable_test "$t" "False positives in Gentoo" |
283 |
+ done |
284 |
+ |
285 |
+ # Run mysql tests |
286 |
+ pushd "${TESTDIR}" |
287 |
+ |
288 |
+ # run mysql-test tests |
289 |
+ perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
290 |
+ retstatus_tests=$? |
291 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
292 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
293 |
+ |
294 |
+ popd |
295 |
+ |
296 |
+ # Cleanup is important for these testcases. |
297 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
298 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
299 |
+ |
300 |
+ failures="" |
301 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
302 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
303 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
304 |
+ |
305 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
306 |
+ einfo "Tests successfully completed" |
307 |
+ |
308 |
+ else |
309 |
+ |
310 |
+ einfo "Skipping server tests due to minimal build." |
311 |
+ fi |
312 |
+} |