Gentoo Archives: gentoo-commits

From: "Brian Evans (grknight)" <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mariadb-galera: mariadb-galera-10.0.16.ebuild ChangeLog mariadb-galera-10.0.15.ebuild mariadb-galera-10.0.14.ebuild mariadb-galera-10.0.13.ebuild
Date: Fri, 06 Feb 2015 14:07:41
Message-Id: 20150206140736.309BE112E2@oystercatcher.gentoo.org
1 grknight 15/02/06 14:07:36
2
3 Modified: ChangeLog
4 Added: mariadb-galera-10.0.16.ebuild
5 Removed: mariadb-galera-10.0.15.ebuild
6 mariadb-galera-10.0.14.ebuild
7 mariadb-galera-10.0.13.ebuild
8 Log:
9 Version bump with security fixes; drop old
10
11 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D1F781EFF9F4A3B6)
12
13 Revision Changes Path
14 1.13 dev-db/mariadb-galera/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb-galera/ChangeLog?rev=1.13&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb-galera/ChangeLog?rev=1.13&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb-galera/ChangeLog?r1=1.12&r2=1.13
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-db/mariadb-galera/ChangeLog,v
23 retrieving revision 1.12
24 retrieving revision 1.13
25 diff -u -r1.12 -r1.13
26 --- ChangeLog 28 Jan 2015 17:41:06 -0000 1.12
27 +++ ChangeLog 6 Feb 2015 14:07:36 -0000 1.13
28 @@ -1,6 +1,13 @@
29 # ChangeLog for dev-db/mariadb-galera
30 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb-galera/ChangeLog,v 1.12 2015/01/28 17:41:06 grknight Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb-galera/ChangeLog,v 1.13 2015/02/06 14:07:36 grknight Exp $
33 +
34 +*mariadb-galera-10.0.16 (06 Feb 2015)
35 +
36 + 06 Feb 2015; Brian Evans <grknight@g.o> +mariadb-galera-10.0.16.ebuild,
37 + -mariadb-galera-10.0.13.ebuild, -mariadb-galera-10.0.14.ebuild,
38 + -mariadb-galera-10.0.15.ebuild:
39 + Version bump with security fixes; drop old
40
41 28 Jan 2015; Brian Evans <grknight@g.o> metadata.xml:
42 Drop old USE description
43
44
45
46 1.1 dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild?rev=1.1&content-type=text/plain
50
51 Index: mariadb-galera-10.0.16.ebuild
52 ===================================================================
53 # Copyright 1999-2015 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild,v 1.1 2015/02/06 14:07:36 grknight Exp $
56
57 EAPI="5"
58 MY_EXTRAS_VER="20141215-0144Z"
59 WSREP_REVISION="25"
60
61 inherit toolchain-funcs mysql-multilib
62 # only to make repoman happy. it is really set in the eclass
63 IUSE="$IUSE"
64
65 # REMEMBER: also update eclass/mysql*.eclass before committing!
66 KEYWORDS="~amd64 ~x86"
67
68 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
69 EPATCH_EXCLUDE=''
70
71 DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
72 RDEPEND="${RDEPEND}"
73
74 # Please do not add a naive src_unpack to this ebuild
75 # If you want to add a single patch, copy the ebuild to an overlay
76 # and create your own mysql-extras tarball, looking at 000_index.txt
77
78 # Official test instructions:
79 # USE='-cluster embedded extraengine perl ssl static-libs community' \
80 # FEATURES='test userpriv -usersandbox' \
81 # ebuild mariadb-galera-X.X.XX.ebuild \
82 # digest clean package
83 multilib_src_test() {
84
85 if ! multilib_is_native_abi ; then
86 einfo "Server tests not available on non-native abi".
87 return 0;
88 fi
89
90 local TESTDIR="${BUILD_DIR}/mysql-test"
91 local retstatus_unit
92 local retstatus_tests
93
94 # Bug #213475 - MySQL _will_ object strenously if your machine is named
95 # localhost. Also causes weird failures.
96 [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
97
98 if ! use "minimal" ; then
99
100 if [[ $UID -eq 0 ]]; then
101 die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
102 fi
103 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
104
105 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
106 addpredict /this-dir-does-not-exist/t9.MYI
107
108 # Run CTest (test-units)
109 cmake-utils_src_test
110 retstatus_unit=$?
111 [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
112
113 # Ensure that parallel runs don't die
114 export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
115 # You may set this by hand.
116 # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
117 export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
118
119 # create directories because mysqladmin might right out of order
120 mkdir -p "${T}"/var-tests{,/log}
121
122 # These are failing in MariaDB 10.0 for now and are believed to be
123 # false positives:
124 #
125 # main.information_schema, binlog.binlog_statement_insert_delayed,
126 # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
127 # funcs_1.is_columns_mysql
128 # fails due to USE=-latin1 / utf8 default
129 #
130 # main.mysql_client_test, main.mysql_client_test_nonblock
131 # mina.mysql_client_test_comp:
132 # segfaults at random under Portage only, suspect resource limits.
133 #
134 # wsrep.variables:
135 # Expects the sys-cluster/galera library to be installed and configured
136 #
137 # wsrep.foreign_key:
138 # Issues a configuration deprecation warning which does not affect data
139 #
140
141 for t in main.mysql_client_test main.mysql_client_test_nonblock \
142 main.mysql_client_test_comp \
143 binlog.binlog_statement_insert_delayed main.information_schema \
144 main.mysqld--help wsrep.variables wsrep.foreign_key \
145 funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
146 mysql-multilib_disable_test "$t" "False positives in Gentoo"
147 done
148
149 for t in rpl.rpl_heartbeat_ssl rpl.rpl_ssl rpl.rpl_ssl1 main.ssl_cipher \
150 main.ssl_8k_key main.openssl_6975 main.openssl_1 main.ssl main.ssl_compress \
151 main.ssl_connect; do
152 mysql-multilib_disable_test "$t" "Disabled due to expired certificate"
153 done
154
155 for t in wsrep.binlog_format wsrep.pool_of_threads wsrep.mdev_6832 ; do
156 mysql-multilib_disable_test "$t" "Skipped for MDEV-7544"
157 done
158
159 # Run mysql tests
160 pushd "${TESTDIR}"
161
162 # run mysql-test tests
163 # The PATH addition is required for the galera suite to find the sst scripts
164 # Skipping galera tests for now until MDEV-7544 is resovled
165 WSREP_LOG_DIR="${T}/var-tests/wsrep" \
166 PATH="${BUILD_DIR}/scripts:${PATH}" \
167 perl mysql-test-run.pl --force --vardir="${T}/var-tests" --skip-test=galera
168 retstatus_tests=$?
169 [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
170 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
171
172 popd
173
174 # Cleanup is important for these testcases.
175 pkill -9 -f "${S}/ndb" 2>/dev/null
176 pkill -9 -f "${S}/sql" 2>/dev/null
177
178 failures=""
179 [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
180 [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
181 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
182
183 [[ -z "$failures" ]] || die "Test failures: $failures"
184 einfo "Tests successfully completed"
185 else
186
187 einfo "Skipping server tests due to minimal build."
188 fi
189 }