1 |
grknight 15/05/30 00:49:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-5.5.44.ebuild |
5 |
Log: |
6 |
Version bump on 5.5 series. Only kept for upgrades |
7 |
|
8 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xD1F781EFF9F4A3B6) |
9 |
|
10 |
Revision Changes Path |
11 |
1.739 dev-db/mysql/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.739&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.739&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.738&r2=1.739 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v |
20 |
retrieving revision 1.738 |
21 |
retrieving revision 1.739 |
22 |
diff -u -r1.738 -r1.739 |
23 |
--- ChangeLog 27 May 2015 16:28:53 -0000 1.738 |
24 |
+++ ChangeLog 30 May 2015 00:49:59 -0000 1.739 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-db/mysql |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.738 2015/05/27 16:28:53 grknight Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.739 2015/05/30 00:49:59 grknight Exp $ |
30 |
+ |
31 |
+*mysql-5.5.44 (30 May 2015) |
32 |
+ |
33 |
+ 30 May 2015; Brian Evans <grknight@g.o> +mysql-5.5.44.ebuild: |
34 |
+ Version bump on 5.5 series. Only kept for upgrades |
35 |
|
36 |
27 May 2015; Brian Evans <grknight@g.o> -mysql-5.5.42.ebuild, |
37 |
-mysql-5.6.22.ebuild, -mysql-5.6.23.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/mysql/mysql-5.5.44.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.44.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.44.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mysql-5.5.44.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.44.ebuild,v 1.1 2015/05/30 00:49:59 grknight Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
MY_EXTRAS_VER="20150127-1351Z" |
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://anongit.gentoo.org/proj/mysql-extras.git" |
67 |
|
68 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
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='embedded extraengine perl ssl static-libs community' \ |
83 |
# FEATURES='test userpriv -usersandbox' \ |
84 |
# ebuild mysql-X.X.XX.ebuild \ |
85 |
# digest clean package |
86 |
src_test() { |
87 |
|
88 |
local TESTDIR="${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 |
# Enable parallel testing, auto will try to detect number of cores |
114 |
# You may set this by hand. |
115 |
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
116 |
export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
117 |
|
118 |
# create directories because mysqladmin might right out of order |
119 |
mkdir -p "${T}"/var-tests{,/log} |
120 |
|
121 |
# create symlink for the tests to find mysql_tzinfo_to_sql |
122 |
ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/" |
123 |
|
124 |
# These are failing in MySQL 5.5 for now and are believed to be |
125 |
# false positives: |
126 |
# |
127 |
# main.information_schema, binlog.binlog_statement_insert_delayed, |
128 |
# main.mysqld--help-notwin |
129 |
# fails due to USE=-latin1 / utf8 default |
130 |
# |
131 |
# main.mysql_client_test: |
132 |
# segfaults at random under Portage only, suspect resource limits. |
133 |
# |
134 |
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
135 |
# fails due to bad cleanup of previous tests when run in parallel |
136 |
# The tool is deprecated anyway |
137 |
# Bug 532288 |
138 |
|
139 |
for t in main.mysql_client_test \ |
140 |
binlog.binlog_statement_insert_delayed main.information_schema \ |
141 |
main.mysqld--help-notwin main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do |
142 |
mysql-v2_disable_test "$t" "False positives in Gentoo" |
143 |
done |
144 |
|
145 |
# Run mysql tests |
146 |
pushd "${TESTDIR}" |
147 |
|
148 |
# run mysql-test tests |
149 |
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
150 |
--testcase-timeout=30 |
151 |
retstatus_tests=$? |
152 |
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
153 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
154 |
|
155 |
popd |
156 |
|
157 |
# Cleanup is important for these testcases. |
158 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
159 |
pkill -9 -f "${S}/sql" 2>/dev/null |
160 |
|
161 |
failures="" |
162 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
163 |
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
164 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
165 |
|
166 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
167 |
einfo "Tests successfully completed" |
168 |
|
169 |
else |
170 |
|
171 |
einfo "Skipping server tests due to minimal build." |
172 |
fi |
173 |
} |