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.54.ebuild
Date: Tue, 15 Jan 2008 15:30:42
Message-Id: E1JEnkM-00071t-PA@stork.gentoo.org
1 robbat2 08/01/15 15:30:38
2
3 Modified: ChangeLog
4 Added: mysql-5.0.54.ebuild
5 Log:
6 Add MySQL-5.0.54 to the tree. Unlike some of the intervening releases, this one actually works and passes both the testsuite and my own tests.
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.437 dev-db/mysql/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.437&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.437&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.436&r2=1.437
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v
19 retrieving revision 1.436
20 retrieving revision 1.437
21 diff -p -w -b -B -u -u -r1.436 -r1.437
22 --- ChangeLog 18 Nov 2007 13:50:41 -0000 1.436
23 +++ ChangeLog 15 Jan 2008 15:30:38 -0000 1.437
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-db/mysql
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.436 2007/11/18 13:50:41 corsair Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.437 2008/01/15 15:30:38 robbat2 Exp $
30 +
31 +*mysql-5.0.54 (15 Jan 2008)
32 +
33 + 15 Jan 2008; Robin H. Johnson <robbat2@g.o> +mysql-5.0.54.ebuild:
34 + Add MySQL-5.0.54 to the tree. Unlike some of the intervening releases, this
35 + one actually works and passes both the testsuite and my own tests.
36
37 18 Nov 2007; Markus Rothe <corsair@g.o> mysql-5.0.44-r2.ebuild:
38 Stable on ppc64; bug #198988
39
40
41
42 1.1 dev-db/mysql/mysql-5.0.54.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.0.54.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.0.54.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mysql-5.0.54.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.54.ebuild,v 1.1 2008/01/15 15:30:38 robbat2 Exp $
52
53 MY_EXTRAS_VER="20080115"
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 src_test() {
65 make check || die "make check failed"
66 if ! use "minimal" ; then
67 if ! hasq "userpriv" ${FEATURES} ; then
68 die "Testing with FEATURES=-userpriv is no longer supported by upstream"
69 fi
70 cd "${S}"
71 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
72 local retstatus1
73 local retstatus2
74 local t
75 addpredict /this-dir-does-not-exist/t9.MYI
76
77 # mysqladmin start before dir creation
78 mkdir -p "${S}"/mysql-test/var{,/log}
79
80 # Ensure that parallel runs don't die
81 export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
82
83 case ${PV} in
84 5.0.42)
85 mysql_disable_test "archive_gis" "Broken in 5.0.42" ;;
86
87 5.0.44|5.0.45|5.0.46|5.0.48|5.0.50|5.0.52|5.0.54)
88 [ "$(tc-endian)" == "big" ] && \
89 mysql_disable_test "archive_gis" "Broken in 5.0.44-54 on big-endian boxes only" ;;
90
91 esac
92
93 # We run the test protocols seperately
94 make -j1 test-ns force=--force
95 retstatus1=$?
96 [[ $retstatus1 -eq 0 ]] || eerror "test-ns failed"
97
98 make -j1 test-ps force=--force
99 retstatus2=$?
100 [[ $retstatus2 -eq 0 ]] || eerror "test-ps failed"
101
102 # Cleanup is important for these testcases.
103 pkill -9 -f "${S}/ndb" 2>/dev/null
104 pkill -9 -f "${S}/sql" 2>/dev/null
105 [[ $retstatus1 -eq 0 ]] || die "test-ns failed"
106 [[ $retstatus2 -eq 0 ]] || die "test-ps failed"
107 else
108 einfo "Skipping server tests due to minimal build."
109 fi
110 }
111
112
113
114 --
115 gentoo-commits@l.g.o mailing list