1 |
robbat2 13/06/03 15:56:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-5.5.31.ebuild |
5 |
Log: |
6 |
Bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.650 dev-db/mysql/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.650&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.650&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.649&r2=1.650 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v |
20 |
retrieving revision 1.649 |
21 |
retrieving revision 1.650 |
22 |
diff -p -w -b -B -u -u -r1.649 -r1.650 |
23 |
--- ChangeLog 2 Jun 2013 19:48:56 -0000 1.649 |
24 |
+++ ChangeLog 3 Jun 2013 15:56:10 -0000 1.650 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-db/mysql |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.649 2013/06/02 19:48:56 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.650 2013/06/03 15:56:10 robbat2 Exp $ |
30 |
+ |
31 |
+*mysql-5.5.31 (03 Jun 2013) |
32 |
+ |
33 |
+ 03 Jun 2013; Robin H. Johnson <robbat2@g.o> +mysql-5.5.31.ebuild: |
34 |
+ Bump. |
35 |
|
36 |
*mysql-5.1.69 (02 Jun 2013) |
37 |
*mysql-5.1.68 (02 Jun 2013) |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/mysql/mysql-5.5.31.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.31.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.31.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mysql-5.5.31.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.5.31.ebuild,v 1.1 2013/06/03 15:56:10 robbat2 Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
MY_EXTRAS_VER="20130602-1946Z" |
55 |
MY_PV="${PV//_alpha_pre/-m}" |
56 |
MY_PV="${MY_PV//_/-}" |
57 |
|
58 |
# Build type |
59 |
BUILD="cmake" |
60 |
|
61 |
inherit toolchain-funcs mysql-v2 |
62 |
# only to make repoman happy. it is really set in the eclass |
63 |
IUSE="$IUSE" |
64 |
|
65 |
# Define the mysql-extras source |
66 |
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
67 |
|
68 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
70 |
|
71 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
72 |
EPATCH_EXCLUDE='' |
73 |
|
74 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
75 |
RDEPEND="${RDEPEND}" |
76 |
|
77 |
# Please do not add a naive src_unpack to this ebuild |
78 |
# If you want to add a single patch, copy the ebuild to an overlay |
79 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
80 |
|
81 |
# Official test instructions: |
82 |
# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
83 |
# FEATURES='test userpriv -usersandbox' \ |
84 |
# ebuild mysql-X.X.XX.ebuild \ |
85 |
# digest clean package |
86 |
src_test() { |
87 |
|
88 |
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
89 |
local retstatus_unit |
90 |
local retstatus_tests |
91 |
|
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 |
if ! use "minimal" ; then |
97 |
|
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 |
|
103 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
104 |
addpredict /this-dir-does-not-exist/t9.MYI |
105 |
|
106 |
# Run CTest (test-units) |
107 |
cmake-utils_src_test |
108 |
retstatus_unit=$? |
109 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
110 |
|
111 |
# Ensure that parallel runs don't die |
112 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
113 |
|
114 |
# create directories because mysqladmin might right out of order |
115 |
mkdir -p "${S}"/mysql-test/var-tests{,/log} |
116 |
|
117 |
# These are failing in MySQL 5.5 for now and are believed to be |
118 |
# false positives: |
119 |
# |
120 |
# main.information_schema, binlog.binlog_statement_insert_delayed, |
121 |
# main.mysqld--help-notwin |
122 |
# fails due to USE=-latin1 / utf8 default |
123 |
# |
124 |
# main.mysql_client_test: |
125 |
# segfaults at random under Portage only, suspect resource limits. |
126 |
# |
127 |
# sys_vars.plugin_dir_basic |
128 |
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
129 |
# instead of MYSQL_LIBDIR/plugin |
130 |
# |
131 |
# main.flush_read_lock_kill |
132 |
# fails because of unknown system variable 'DEBUG_SYNC' |
133 |
# |
134 |
# main.openssl_1 |
135 |
# error message changing |
136 |
# -mysqltest: Could not open connection 'default': 2026 SSL connection |
137 |
# error: ASN: bad other signature confirmation |
138 |
# +mysqltest: Could not open connection 'default': 2026 SSL connection |
139 |
# error: error:00000001:lib(0):func(0):reason(1) |
140 |
# |
141 |
|
142 |
for t in main.mysql_client_test \ |
143 |
binlog.binlog_statement_insert_delayed main.information_schema \ |
144 |
main.mysqld--help-notwin main.flush_read_lock_kill \ |
145 |
sys_vars.plugin_dir_basic main.openssl_1 ; do |
146 |
mysql-v2_disable_test "$t" "False positives in Gentoo" |
147 |
done |
148 |
|
149 |
# Run mysql tests |
150 |
pushd "${TESTDIR}" |
151 |
|
152 |
# run mysql-test tests |
153 |
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
154 |
retstatus_tests=$? |
155 |
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
156 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
157 |
|
158 |
popd |
159 |
|
160 |
# Cleanup is important for these testcases. |
161 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
162 |
pkill -9 -f "${S}/sql" 2>/dev/null |
163 |
|
164 |
failures="" |
165 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
166 |
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
167 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
168 |
|
169 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
170 |
einfo "Tests successfully completed" |
171 |
|
172 |
else |
173 |
|
174 |
einfo "Skipping server tests due to minimal build." |
175 |
fi |
176 |
} |