1 |
grknight 15/02/09 20:06:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: percona-server-5.6.22.72.0.ebuild |
5 |
Removed: percona-server-5.6.21.70.1.ebuild |
6 |
Log: |
7 |
Version bump; remove old |
8 |
|
9 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D1F781EFF9F4A3B6) |
10 |
|
11 |
Revision Changes Path |
12 |
1.13 dev-db/percona-server/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/ChangeLog?rev=1.13&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/ChangeLog?rev=1.13&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/ChangeLog?r1=1.12&r2=1.13 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/percona-server/ChangeLog,v |
21 |
retrieving revision 1.12 |
22 |
retrieving revision 1.13 |
23 |
diff -u -r1.12 -r1.13 |
24 |
--- ChangeLog 28 Jan 2015 17:40:03 -0000 1.12 |
25 |
+++ ChangeLog 9 Feb 2015 20:06:49 -0000 1.13 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-db/percona-server |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/ChangeLog,v 1.12 2015/01/28 17:40:03 grknight Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/ChangeLog,v 1.13 2015/02/09 20:06:49 grknight Exp $ |
31 |
+ |
32 |
+*percona-server-5.6.22.72.0 (09 Feb 2015) |
33 |
+ |
34 |
+ 09 Feb 2015; Brian Evans <grknight@g.o> |
35 |
+ +percona-server-5.6.22.72.0.ebuild, -percona-server-5.6.21.70.1.ebuild: |
36 |
+ Version bump; remove old |
37 |
|
38 |
28 Jan 2015; Brian Evans <grknight@g.o> metadata.xml: |
39 |
Drop old USE description |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-db/percona-server/percona-server-5.6.22.72.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/percona-server-5.6.22.72.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/percona-server-5.6.22.72.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: percona-server-5.6.22.72.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/percona-server-5.6.22.72.0.ebuild,v 1.1 2015/02/09 20:06:49 grknight Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
MY_EXTRAS_VER="20150113-1853Z" |
56 |
|
57 |
inherit toolchain-funcs mysql-multilib |
58 |
# only to make repoman happy. it is really set in the eclass |
59 |
IUSE="$IUSE" |
60 |
|
61 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
63 |
|
64 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
65 |
EPATCH_EXCLUDE='' |
66 |
|
67 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
68 |
RDEPEND="${RDEPEND}" |
69 |
|
70 |
# Please do not add a naive src_unpack to this ebuild |
71 |
# If you want to add a single patch, copy the ebuild to an overlay |
72 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
73 |
|
74 |
# Official test instructions: |
75 |
# USE='extraengine perl ssl static-libs community' \ |
76 |
# FEATURES='test userpriv -usersandbox' \ |
77 |
# ebuild percona-server-X.X.XX.ebuild \ |
78 |
# digest clean package |
79 |
multilib_src_test() { |
80 |
|
81 |
if ! multilib_is_native_abi ; then |
82 |
einfo "Server tests not available on non-native abi". |
83 |
return 0; |
84 |
fi |
85 |
|
86 |
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
87 |
local retstatus_unit |
88 |
local retstatus_tests |
89 |
|
90 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
91 |
# localhost. Also causes weird failures. |
92 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
93 |
|
94 |
if ! use "minimal" ; then |
95 |
|
96 |
if [[ $UID -eq 0 ]]; then |
97 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
98 |
fi |
99 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
100 |
|
101 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
102 |
addpredict /this-dir-does-not-exist/t9.MYI |
103 |
|
104 |
# Run CTest (test-units) |
105 |
cmake-utils_src_test |
106 |
retstatus_unit=$? |
107 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
108 |
|
109 |
# Ensure that parallel runs don't die |
110 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
111 |
# Enable parallel testing, auto will try to detect number of cores |
112 |
# You may set this by hand. |
113 |
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
114 |
export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
115 |
|
116 |
# create directories because mysqladmin might right out of order |
117 |
mkdir -p "${T}"/var-tests{,/log} |
118 |
|
119 |
# These are failing in Percona 5.6 for now and are believed to be |
120 |
# false positives: |
121 |
# |
122 |
# main.information_schema, binlog.binlog_statement_insert_delayed, |
123 |
# main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter |
124 |
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt |
125 |
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers |
126 |
# fails due to USE=-latin1 / utf8 default |
127 |
# |
128 |
# main.mysql_client_test: |
129 |
# segfaults at random under Portage only, suspect resource limits. |
130 |
# |
131 |
# main.percona_bug1289599 |
132 |
# Looks to be a syntax error in the test file itself |
133 |
# |
134 |
# main.variables main.myisam main.merge_recover |
135 |
# fails due to ulimit not able to open enough files (needs 5000) |
136 |
# |
137 |
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
138 |
# Called with bad parameters should be reported upstream |
139 |
|
140 |
for t in main.mysql_client_test \ |
141 |
binlog.binlog_statement_insert_delayed main.information_schema \ |
142 |
main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \ |
143 |
perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \ |
144 |
funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \ |
145 |
main.variables main.myisam main.merge_recover \ |
146 |
main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do |
147 |
mysql-multilib_disable_test "$t" "False positives in Gentoo" |
148 |
done |
149 |
|
150 |
# Run mysql tests |
151 |
pushd "${TESTDIR}" |
152 |
|
153 |
# Set file limits higher so tests run |
154 |
ulimit -n 3000 |
155 |
|
156 |
# run mysql-test tests |
157 |
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
158 |
--testcase-timeout=30 |
159 |
retstatus_tests=$? |
160 |
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
161 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
162 |
|
163 |
popd |
164 |
|
165 |
# Cleanup is important for these testcases. |
166 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
167 |
pkill -9 -f "${S}/sql" 2>/dev/null |
168 |
|
169 |
failures="" |
170 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
171 |
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
172 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
173 |
|
174 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
175 |
einfo "Tests successfully completed" |
176 |
|
177 |
else |
178 |
|
179 |
einfo "Skipping server tests due to minimal build." |
180 |
fi |
181 |
} |