1 |
robbat2 12/11/02 00:19:23 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mariadb-5.5.28.ebuild |
5 |
Log: |
6 |
Copy from overlay. |
7 |
|
8 |
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-db/mariadb/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mariadb/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -p -w -b -B -u -u -r1.3 -r1.4 |
23 |
--- metadata.xml 18 Apr 2012 02:14:09 -0000 1.3 |
24 |
+++ metadata.xml 2 Nov 2012 00:19:23 -0000 1.4 |
25 |
@@ -13,6 +13,7 @@ dev-db/mariadb |
26 |
<flag name='community'>Enables the community features from upstream.</flag> |
27 |
<flag name='embedded'>Build embedded server (libmysqld)</flag> |
28 |
<flag name='extraengine'>Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)</flag> |
29 |
+ <flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations.</flag> |
30 |
<flag name='latin1'>Use LATIN1 encoding instead of UTF8</flag> |
31 |
<flag name='libevent'>Use libevent for connection handling</flag> |
32 |
<flag name='max-idx-128'>Raise the max index per table limit from 64 to 128</flag> |
33 |
|
34 |
|
35 |
|
36 |
1.19 dev-db/mariadb/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.19&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.19&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?r1=1.18&r2=1.19 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v |
45 |
retrieving revision 1.18 |
46 |
retrieving revision 1.19 |
47 |
diff -p -w -b -B -u -u -r1.18 -r1.19 |
48 |
--- ChangeLog 9 May 2012 06:50:24 -0000 1.18 |
49 |
+++ ChangeLog 2 Nov 2012 00:19:23 -0000 1.19 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for dev-db/mariadb |
52 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.18 2012/05/09 06:50:24 zmedico Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.19 2012/11/02 00:19:23 robbat2 Exp $ |
55 |
+ |
56 |
+*mariadb-5.5.28 (02 Nov 2012) |
57 |
+ |
58 |
+ 02 Nov 2012; Robin H. Johnson <robbat2@g.o> +mariadb-5.5.28.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Copy from overlay. |
61 |
|
62 |
09 May 2012; Zac Medico <zmedico@g.o> mariadb-5.1.62.ebuild, |
63 |
mariadb-5.2.12.ebuild, mariadb-5.3.6.ebuild, mariadb-5.5.23.ebuild: |
64 |
|
65 |
|
66 |
|
67 |
1.1 dev-db/mariadb/mariadb-5.5.28.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-5.5.28.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-5.5.28.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: mariadb-5.5.28.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2012 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.28.ebuild,v 1.1 2012/11/02 00:19:23 robbat2 Exp $ |
77 |
|
78 |
EAPI="4" |
79 |
MY_EXTRAS_VER="20120906-1344Z" |
80 |
|
81 |
# Build system |
82 |
BUILD="cmake" |
83 |
|
84 |
inherit toolchain-funcs mysql-v2 |
85 |
# only to make repoman happy. it is really set in the eclass |
86 |
IUSE="$IUSE" |
87 |
|
88 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
89 |
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" |
90 |
|
91 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
92 |
EPATCH_EXCLUDE='' |
93 |
|
94 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
95 |
RDEPEND="${RDEPEND}" |
96 |
|
97 |
# Please do not add a naive src_unpack to this ebuild |
98 |
# If you want to add a single patch, copy the ebuild to an overlay |
99 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
100 |
src_prepare() { |
101 |
sed -i \ |
102 |
-e '/^noinst_PROGRAMS/s/basic-t//g' \ |
103 |
"${S}"/unittest/mytap/t/Makefile.am |
104 |
mysql-v2_src_prepare |
105 |
} |
106 |
|
107 |
# Official test instructions: |
108 |
# USE='berkdb -cluster embedded extraengine perl ssl community' \ |
109 |
# FEATURES='test userpriv -usersandbox' \ |
110 |
# ebuild mariadb-X.X.XX.ebuild \ |
111 |
# digest clean package |
112 |
src_test() { |
113 |
|
114 |
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
115 |
local retstatus_unit |
116 |
local retstatus_tests |
117 |
|
118 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
119 |
# localhost. Also causes weird failures. |
120 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
121 |
|
122 |
if ! use "minimal" ; then |
123 |
|
124 |
if [[ $UID -eq 0 ]]; then |
125 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
126 |
fi |
127 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
128 |
|
129 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
130 |
addpredict /this-dir-does-not-exist/t9.MYI |
131 |
|
132 |
# Run CTest (test-units) |
133 |
cmake-utils_src_test |
134 |
retstatus_unit=$? |
135 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
136 |
|
137 |
# Ensure that parallel runs don't die |
138 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
139 |
|
140 |
# create directories because mysqladmin might right out of order |
141 |
mkdir -p "${S}"/mysql-test/var-{tests}{,/log} |
142 |
|
143 |
# These are failing in MySQL 5.5 for now and are believed to be |
144 |
# false positives: |
145 |
# |
146 |
# main.information_schema, binlog.binlog_statement_insert_delayed, |
147 |
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
148 |
# funcs_1.is_columns_mysql |
149 |
# fails due to USE=-latin1 / utf8 default |
150 |
# |
151 |
# main.mysql_client_test, main.mysql_client_test_nonblock: |
152 |
# segfaults at random under Portage only, suspect resource limits. |
153 |
# |
154 |
# sys_vars.plugin_dir_basic |
155 |
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin |
156 |
# instead of MYSQL_LIBDIR/plugin |
157 |
# |
158 |
# main.flush_read_lock_kill |
159 |
# fails because of unknown system variable 'DEBUG_SYNC' |
160 |
# |
161 |
# main.openssl_1 |
162 |
# error message changing |
163 |
# -mysqltest: Could not open connection 'default': 2026 SSL connection |
164 |
# error: ASN: bad other signature confirmation |
165 |
# +mysqltest: Could not open connection 'default': 2026 SSL connection |
166 |
# error: error:00000001:lib(0):func(0):reason(1) |
167 |
# |
168 |
# plugins.unix_socket |
169 |
# fails because portage strips out the USER enviornment variable |
170 |
# |
171 |
|
172 |
for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
173 |
binlog.binlog_statement_insert_delayed main.information_schema \ |
174 |
main.mysqld--help main.flush_read_lock_kill \ |
175 |
sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \ |
176 |
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
177 |
mysql-v2_disable_test "$t" "False positives in Gentoo" |
178 |
done |
179 |
|
180 |
# Run mysql tests |
181 |
pushd "${TESTDIR}" |
182 |
|
183 |
# run mysql-test tests |
184 |
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
185 |
retstatus_tests=$? |
186 |
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
187 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
188 |
|
189 |
popd |
190 |
|
191 |
# Cleanup is important for these testcases. |
192 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
193 |
pkill -9 -f "${S}/sql" 2>/dev/null |
194 |
|
195 |
failures="" |
196 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
197 |
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
198 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
199 |
|
200 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
201 |
einfo "Tests successfully completed" |
202 |
|
203 |
else |
204 |
|
205 |
einfo "Skipping server tests due to minimal build." |
206 |
fi |
207 |
} |