Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mysql: ChangeLog mysql-5.0.60.ebuild
Date: Thu, 29 May 2008 05:51:11
Message-Id: E1K1b2X-0001qc-4F@stork.gentoo.org
1 robbat2 08/05/29 05:51:05
2
3 Modified: ChangeLog
4 Added: mysql-5.0.60.ebuild
5 Log:
6 Version bump of MySQL finally.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.450 dev-db/mysql/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.450&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.450&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.449&r2=1.450
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v
19 retrieving revision 1.449
20 retrieving revision 1.450
21 diff -p -w -b -B -u -u -r1.449 -r1.450
22 --- ChangeLog 10 Mar 2008 02:58:09 -0000 1.449
23 +++ ChangeLog 29 May 2008 05:51:04 -0000 1.450
24 @@ -1,6 +1,11 @@
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.449 2008/03/10 02:58:09 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.450 2008/05/29 05:51:04 robbat2 Exp $
29 +
30 +*mysql-5.0.60 (29 May 2008)
31 +
32 + 29 May 2008; Robin H. Johnson <robbat2@g.o> +mysql-5.0.60.ebuild:
33 + Version bump of MySQL finally.
34
35 10 Mar 2008; Robin H. Johnson <robbat2@g.o> mysql-4.0.27-r1.ebuild,
36 mysql-4.1.22-r1.ebuild, mysql-4.1.23_alpha20070101-r61.ebuild,
37
38
39
40 1.1 dev-db/mysql/mysql-5.0.60.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.0.60.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.0.60.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mysql-5.0.60.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.60.ebuild,v 1.1 2008/05/29 05:51:04 robbat2 Exp $
50
51 MY_EXTRAS_VER="20080529"
52 SERVER_URI="http://mirror.provenscaling.com/mysql/enterprise/source/5.0/${P}.tar.gz"
53
54 inherit toolchain-funcs mysql
55
56 # REMEMBER: also update eclass/mysql*.eclass before committing!
57 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
58
59 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
60 EPATCH_EXCLUDE=''
61
62 # Please do not add a naive src_unpack to this ebuild
63 # If you want to add a single patch, copy the ebuild to an overlay
64 # and create your own mysql-extras tarball, looking at 000_index.txt
65
66 src_test() {
67 make check || die "make check failed"
68 if ! use "minimal" ; then
69 if ! hasq "userpriv" ${FEATURES} ; then
70 die "Testing with FEATURES=-userpriv is no longer supported by upstream"
71 fi
72 cd "${S}"
73 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
74 local retstatus1
75 local retstatus2
76 local t
77 addpredict /this-dir-does-not-exist/t9.MYI
78
79 # Ensure that parallel runs don't die
80 export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
81
82 # archive_gis really sucks a lot, but it's only relevant for the
83 # USE=extraengines case
84 case ${PV} in
85 5.0.42)
86 mysql_disable_test "archive_gis" "Totally broken in 5.0.42"
87 ;;
88
89 5.0.44|5.0.45|5.0.46|5.0.48|5.0.5[0-6]*)
90 [ "$(tc-endian)" == "big" ] && \
91 mysql_disable_test \
92 "archive_gis" \
93 "Broken in 5.0.44-56 on big-endian boxes only"
94 ;;
95 esac
96
97 # This was a slight testcase breakage when the read_only security issue
98 # was fixed.
99 case ${PV} in
100 5.0.54|5.0.51*)
101 mysql_disable_test \
102 "read_only" \
103 "Broken in 5.0.51-54, output in wrong order"
104 ;;
105 esac
106
107 # Ditto to read_only
108 [ "${PV}" == "5.0.51a" ] && \
109 mysql_disable_test \
110 "view" \
111 "Broken in 5.0.51, output in wrong order"
112
113 # x86-specific, OOM issue with some subselects on low memory servers
114 [ "${PV}" == "5.0.54" ] && \
115 [ "${ARCH/x86}" != "${ARCH}" ] && \
116 mysql_disable_test \
117 "subselect" \
118 "Testcase needs tuning on x86 for oom condition"
119
120 # Broke with the YaSSL security issue that didn't affect Gentoo.
121 [ "${PV}" == "5.0.56" ] && \
122 for t in openssl_1 rpl_openssl rpl_ssl ssl \
123 ssl_8k_key ssl_compress ssl_connect ; do \
124 mysql_disable_test \
125 "$t" \
126 "OpenSSL tests broken on 5.0.56"
127 done
128
129 # create directories because mysqladmin might right out of order
130 mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
131
132 # We run the test protocols seperately
133 make -j1 test-ns force="--force --vardir=${S}/mysql-test/var-ns"
134 retstatus1=$?
135 [[ $retstatus1 -eq 0 ]] || eerror "test-ns failed"
136
137 make -j1 test-ps force="--force --vardir=${S}/mysql-test/var-ps"
138 retstatus2=$?
139 [[ $retstatus2 -eq 0 ]] || eerror "test-ps failed"
140
141 # Cleanup is important for these testcases.
142 pkill -9 -f "${S}/ndb" 2>/dev/null
143 pkill -9 -f "${S}/sql" 2>/dev/null
144 [[ $retstatus1 -eq 0 ]] || die "test-ns failed"
145 [[ $retstatus2 -eq 0 ]] || die "test-ps failed"
146 einfo "Tests successfully completed"
147 else
148 einfo "Skipping server tests due to minimal build."
149 fi
150 }
151
152
153
154 --
155 gentoo-commits@l.g.o mailing list