1 |
robbat2 10/11/04 18:49:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-5.1.52.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.556 dev-db/mysql/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.556&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.556&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.555&r2=1.556 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v |
20 |
retrieving revision 1.555 |
21 |
retrieving revision 1.556 |
22 |
diff -p -w -b -B -u -u -r1.555 -r1.556 |
23 |
--- ChangeLog 4 Nov 2010 16:05:32 -0000 1.555 |
24 |
+++ ChangeLog 4 Nov 2010 18:49:45 -0000 1.556 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-db/mysql |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.555 2010/11/04 16:05:32 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.556 2010/11/04 18:49:45 robbat2 Exp $ |
30 |
+ |
31 |
+*mysql-5.1.52 (04 Nov 2010) |
32 |
+ |
33 |
+ 04 Nov 2010; Robin H. Johnson <robbat2@g.o> +mysql-5.1.52.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
04 Nov 2010; Jeroen Roovers <jer@g.o> mysql-5.1.51.ebuild: |
37 |
Stable for HPPA (bug #339717). |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/mysql/mysql-5.1.52.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.1.52.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.1.52.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mysql-5.1.52.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.52.ebuild,v 1.1 2010/11/04 18:49:45 robbat2 Exp $ |
51 |
|
52 |
MY_EXTRAS_VER="20101104-1842Z" |
53 |
EAPI=2 |
54 |
|
55 |
# PBXT |
56 |
PBXT_VERSION='1.0.11-6-pre-ga' |
57 |
# XtraDB |
58 |
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10' |
59 |
|
60 |
inherit toolchain-funcs mysql |
61 |
# only to make repoman happy. it is really set in the eclass |
62 |
IUSE="$IUSE" |
63 |
|
64 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-macos ~x86-solaris" |
66 |
|
67 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
68 |
# This is often broken still |
69 |
EPATCH_EXCLUDE='' |
70 |
|
71 |
# Most of these are in the eclass |
72 |
RDEPEND="" |
73 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
74 |
>=sys-devel/libtool-2.2.10" |
75 |
|
76 |
# Please do not add a naive src_unpack to this ebuild |
77 |
# If you want to add a single patch, copy the ebuild to an overlay |
78 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
79 |
src_prepare() { |
80 |
sed -i \ |
81 |
-e '/^noinst_PROGRAMS/s/basic-t//g' \ |
82 |
"${S}"/unittest/mytap/t/Makefile.am |
83 |
mysql_src_prepare |
84 |
} |
85 |
|
86 |
# Official test instructions: |
87 |
# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
88 |
# FEATURES='test userpriv -usersandbox' \ |
89 |
# ebuild mysql-X.X.XX.ebuild \ |
90 |
# digest clean package |
91 |
src_test() { |
92 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
93 |
# localhost. Also causes weird failures. |
94 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
95 |
|
96 |
emake check || die "make check failed" |
97 |
if ! use "minimal" ; then |
98 |
if [[ $UID -eq 0 ]]; then |
99 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
100 |
fi |
101 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
102 |
cd "${S}" |
103 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
104 |
local retstatus_unit |
105 |
local retstatus_ns |
106 |
local retstatus_ps |
107 |
local t |
108 |
addpredict /this-dir-does-not-exist/t9.MYI |
109 |
|
110 |
# Ensure that parallel runs don't die |
111 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
112 |
|
113 |
# archive_gis really sucks a lot, but it's only relevant for the |
114 |
# USE=extraengines case |
115 |
case ${PV} in |
116 |
5.0.42) |
117 |
mysql_disable_test "archive_gis" "Totally broken in 5.0.42" |
118 |
;; |
119 |
|
120 |
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
121 |
[ "$(tc-endian)" == "big" ] && \ |
122 |
mysql_disable_test \ |
123 |
"archive_gis" \ |
124 |
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
125 |
;; |
126 |
esac |
127 |
|
128 |
# This was a slight testcase breakage when the read_only security issue |
129 |
# was fixed. |
130 |
case ${PV} in |
131 |
5.0.54|5.0.51*) |
132 |
mysql_disable_test \ |
133 |
"read_only" \ |
134 |
"Broken in 5.0.51-54, output in wrong order" |
135 |
;; |
136 |
esac |
137 |
|
138 |
# Ditto to read_only |
139 |
[ "${PV}" == "5.0.51a" ] && \ |
140 |
mysql_disable_test \ |
141 |
"view" \ |
142 |
"Broken in 5.0.51, output in wrong order" |
143 |
|
144 |
# x86-specific, OOM issue with some subselects on low memory servers |
145 |
[ "${PV}" == "5.0.54" ] && \ |
146 |
[ "${ARCH/x86}" != "${ARCH}" ] && \ |
147 |
mysql_disable_test \ |
148 |
"subselect" \ |
149 |
"Testcase needs tuning on x86 for oom condition" |
150 |
|
151 |
# Broke with the YaSSL security issue that didn't affect Gentoo. |
152 |
[ "${PV}" == "5.0.56" ] && \ |
153 |
for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
154 |
ssl_8k_key ssl_compress ssl_connect ; do \ |
155 |
mysql_disable_test \ |
156 |
"$t" \ |
157 |
"OpenSSL tests broken on 5.0.56" |
158 |
done |
159 |
|
160 |
# New test was broken in first time |
161 |
# Upstream bug 41066 |
162 |
# http://bugs.mysql.com/bug.php?id=41066 |
163 |
[ "${PV}" == "5.0.72" ] && \ |
164 |
mysql_disable_test \ |
165 |
"status2" \ |
166 |
"Broken in 5.0.72, new test is broken, upstream bug #41066" |
167 |
|
168 |
# The entire 5.0 series has pre-generated SSL certificates, they have |
169 |
# mostly expired now. ${S}/mysql-tests/std-data/*.pem |
170 |
# The certs really SHOULD be generated for the tests, so that they are |
171 |
# not expiring like this. We cannot do so ourselves as the tests look |
172 |
# closely as the cert path data, and we do not have the CA key to regen |
173 |
# ourselves. Alternatively, upstream should generate them with at least |
174 |
# 50-year validity. |
175 |
# |
176 |
# Known expiry points: |
177 |
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
178 |
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
179 |
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
180 |
# |
181 |
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
182 |
# expired/invalid. |
183 |
case ${PV} in |
184 |
5.0.*|5.1.*|5.4.*|5.5.*) |
185 |
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
186 |
ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \ |
187 |
mysql_disable_test \ |
188 |
"$t" \ |
189 |
"These OpenSSL tests break due to expired certificates" |
190 |
done |
191 |
;; |
192 |
esac |
193 |
|
194 |
# These are also failing in MySQL 5.1 for now, and are believed to be |
195 |
# false positives: |
196 |
# |
197 |
# main.mysql_comment, main.mysql_upgrade, main.information_schema, |
198 |
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers: |
199 |
# fails due to USE=-latin1 / utf8 default |
200 |
# |
201 |
# main.mysql_client_test: |
202 |
# segfaults at random under Portage only, suspect resource limits. |
203 |
# |
204 |
# main.not_partition: |
205 |
# Failure reason unknown at this time, must resolve before package.mask |
206 |
# removal FIXME |
207 |
case ${PV} in |
208 |
5.1.*|5.4.*|5.5.*) |
209 |
for t in main.mysql_client_test main.mysql_comments \ |
210 |
main.mysql_upgrade \ |
211 |
main.information_schema \ |
212 |
main.not_partition funcs_1.is_columns_mysql \ |
213 |
funcs_1.is_tables_mysql funcs_1.is_triggers; do |
214 |
mysql_disable_test "$t" "False positives in Gentoo" |
215 |
done |
216 |
;; |
217 |
esac |
218 |
|
219 |
# New failures in 5.1.50/5.1.51, reported by jmbsvicetto. |
220 |
# These tests are picking up a 'connect-timeout' config from somewhere, |
221 |
# which is not valid, and since it does not have 'loose-' in front of |
222 |
# it, it's causing a failure |
223 |
case ${PV} in |
224 |
5.1.5*|5.4.*|5.5.*|6*) |
225 |
for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do |
226 |
mysql_disable_test "$t" \ |
227 |
"False positives in Gentoo: connect-timeout" |
228 |
done |
229 |
;; |
230 |
esac |
231 |
|
232 |
use profiling && use community \ |
233 |
|| mysql_disable_test main.profiling \ |
234 |
"Profiling test needs profiling support" |
235 |
|
236 |
if [ "${PN}" == "mariadb" ]; then |
237 |
for t in \ |
238 |
parts.part_supported_sql_func_ndb \ |
239 |
parts.partition_auto_increment_ndb ; do |
240 |
mysql_disable_test $t "ndb not supported in mariadb" |
241 |
done |
242 |
fi |
243 |
|
244 |
# This fail with XtraDB in place of normal InnoDB |
245 |
# TODO: test if they are broken with the rest of the Percona patches |
246 |
if xtradb_patch_available && use xtradb ; then |
247 |
for t in main.innodb innodb.innodb_bug51378 \ |
248 |
main.information_schema_db main.mysqlshow \ |
249 |
main.innodb-autoinc main.innodb_bug21704 \ |
250 |
main.innodb_bug44369 main.innodb_bug46000 \ |
251 |
main.index_merge_innodb \ |
252 |
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \ |
253 |
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \ |
254 |
innodb.innodb_bug21704 innodb.innodb_bug44369 \ |
255 |
innodb.innodb_bug46000 innodb.innodb_bug48024 \ |
256 |
innodb.innodb_bug49164 innodb.innodb_bug51920 \ |
257 |
innodb.innodb_bug54044 \ |
258 |
; do |
259 |
mysql_disable_test $t "tests broken in xtradb" |
260 |
done |
261 |
fi |
262 |
|
263 |
# bug 332565 |
264 |
if ! use extraengine ; then |
265 |
for t in main.range ; do |
266 |
mysql_disable_test $t "Test $t requires USE=extraengine" |
267 |
done |
268 |
fi |
269 |
|
270 |
# create directories because mysqladmin might make out of order |
271 |
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
272 |
|
273 |
# We run the test protocols seperately |
274 |
emake test-unit |
275 |
retstatus_unit=$? |
276 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
277 |
|
278 |
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
279 |
retstatus_ns=$? |
280 |
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
281 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
282 |
|
283 |
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
284 |
retstatus_ps=$? |
285 |
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
286 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
287 |
|
288 |
# TODO: |
289 |
# When upstream enables the pr and nr testsuites, we need those as well. |
290 |
|
291 |
# Cleanup is important for these testcases. |
292 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
293 |
pkill -9 -f "${S}/sql" 2>/dev/null |
294 |
failures="" |
295 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
296 |
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
297 |
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
298 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
299 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
300 |
einfo "Tests successfully completed" |
301 |
else |
302 |
einfo "Skipping server tests due to minimal build." |
303 |
fi |
304 |
} |