1 |
robbat2 08/11/29 04:41:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-5.0.72.ebuild |
5 |
Log: |
6 |
Version bump, but -r1 to follow shortly with patches, just here for debugging. |
7 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6-00007-ged31348 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.474 dev-db/mysql/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.474&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.474&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.473&r2=1.474 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v |
19 |
retrieving revision 1.473 |
20 |
retrieving revision 1.474 |
21 |
diff -p -w -b -B -u -u -r1.473 -r1.474 |
22 |
--- ChangeLog 29 Nov 2008 02:32:17 -0000 1.473 |
23 |
+++ ChangeLog 29 Nov 2008 04:41:37 -0000 1.474 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-db/mysql |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.473 2008/11/29 02:32:17 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.474 2008/11/29 04:41:37 robbat2 Exp $ |
29 |
+ |
30 |
+*mysql-5.0.72 (29 Nov 2008) |
31 |
+ |
32 |
+ 29 Nov 2008; Robin H. Johnson <robbat2@g.o> +mysql-5.0.72.ebuild: |
33 |
+ Version bump, but -r1 to follow shortly with patches, just here for |
34 |
+ debugging. |
35 |
|
36 |
29 Nov 2008; Robin H. Johnson <robbat2@g.o> mysql-5.0.70.ebuild: |
37 |
Move the hostname==localhost check from pkg_setup to pkg_config and |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/mysql/mysql-5.0.72.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.0.72.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.0.72.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mysql-5.0.72.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 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.0.72.ebuild,v 1.1 2008/11/29 04:41:37 robbat2 Exp $ |
51 |
|
52 |
MY_EXTRAS_VER="20080601" |
53 |
SERVER_URI="http://mirror.provenscaling.com/mysql/enterprise/source/5.0/${P}.tar.gz" |
54 |
|
55 |
inherit toolchain-funcs mysql |
56 |
# only to make repoman happy. it is really set in the eclass |
57 |
IUSE="$IUSE" |
58 |
|
59 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
61 |
|
62 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
63 |
EPATCH_EXCLUDE='' |
64 |
|
65 |
# Please do not add a naive src_unpack to this ebuild |
66 |
# If you want to add a single patch, copy the ebuild to an overlay |
67 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
68 |
|
69 |
src_test() { |
70 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
71 |
# localhost. Also causes weird failures. |
72 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
73 |
|
74 |
emake check || die "make check failed" |
75 |
if ! use "minimal" ; then |
76 |
if [[ $UID -eq 0 ]]; then |
77 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
78 |
fi |
79 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
80 |
cd "${S}" |
81 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
82 |
local retstatus1 |
83 |
local retstatus2 |
84 |
local t |
85 |
addpredict /this-dir-does-not-exist/t9.MYI |
86 |
|
87 |
# Ensure that parallel runs don't die |
88 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
89 |
|
90 |
# archive_gis really sucks a lot, but it's only relevant for the |
91 |
# USE=extraengines case |
92 |
case ${PV} in |
93 |
5.0.42) |
94 |
mysql_disable_test "archive_gis" "Totally broken in 5.0.42" |
95 |
;; |
96 |
|
97 |
5.0.4[3-9]|5.0.[56]*|5.0.70) |
98 |
[ "$(tc-endian)" == "big" ] && \ |
99 |
mysql_disable_test \ |
100 |
"archive_gis" \ |
101 |
"Broken in 5.0.43-70 on big-endian boxes only" |
102 |
;; |
103 |
esac |
104 |
|
105 |
# This was a slight testcase breakage when the read_only security issue |
106 |
# was fixed. |
107 |
case ${PV} in |
108 |
5.0.54|5.0.51*) |
109 |
mysql_disable_test \ |
110 |
"read_only" \ |
111 |
"Broken in 5.0.51-54, output in wrong order" |
112 |
;; |
113 |
esac |
114 |
|
115 |
# Ditto to read_only |
116 |
[ "${PV}" == "5.0.51a" ] && \ |
117 |
mysql_disable_test \ |
118 |
"view" \ |
119 |
"Broken in 5.0.51, output in wrong order" |
120 |
|
121 |
# x86-specific, OOM issue with some subselects on low memory servers |
122 |
[ "${PV}" == "5.0.54" ] && \ |
123 |
[ "${ARCH/x86}" != "${ARCH}" ] && \ |
124 |
mysql_disable_test \ |
125 |
"subselect" \ |
126 |
"Testcase needs tuning on x86 for oom condition" |
127 |
|
128 |
# Broke with the YaSSL security issue that didn't affect Gentoo. |
129 |
[ "${PV}" == "5.0.56" ] && \ |
130 |
for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
131 |
ssl_8k_key ssl_compress ssl_connect ; do \ |
132 |
mysql_disable_test \ |
133 |
"$t" \ |
134 |
"OpenSSL tests broken on 5.0.56" |
135 |
done |
136 |
|
137 |
# New test was broken in first time |
138 |
# Upstream bug 41066 |
139 |
# http://bugs.mysql.com/bug.php?id=41066 |
140 |
[ "${PV}" == "5.0.72" ] && \ |
141 |
mysql_disable_test \ |
142 |
"status2" \ |
143 |
"Broken in 5.0.72, new test is broken, upstream bug #41066" |
144 |
|
145 |
# create directories because mysqladmin might right out of order |
146 |
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
147 |
|
148 |
# We run the test protocols seperately |
149 |
make -j1 test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
150 |
retstatus1=$? |
151 |
[[ $retstatus1 -eq 0 ]] || eerror "test-ns failed" |
152 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
153 |
|
154 |
make -j1 test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
155 |
retstatus2=$? |
156 |
[[ $retstatus2 -eq 0 ]] || eerror "test-ps failed" |
157 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
158 |
|
159 |
# Cleanup is important for these testcases. |
160 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
161 |
pkill -9 -f "${S}/sql" 2>/dev/null |
162 |
failures="" |
163 |
[[ $retstatus1 -eq 0 ]] || failures="test-ns" |
164 |
[[ $retstatus2 -eq 0 ]] || failures="${failures} test-ps" |
165 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
166 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
167 |
einfo "Tests successfully completed" |
168 |
else |
169 |
einfo "Skipping server tests due to minimal build." |
170 |
fi |
171 |
} |