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