Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@×××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb-galera/
Date: Mon, 23 Dec 2013 18:00:35
Message-Id: 1387821580.de3fd560585eac63dc5b37b1dba425e8e0218cfc.grknight.pub@gentoo
1 commit: de3fd560585eac63dc5b37b1dba425e8e0218cfc
2 Author: Brian Evans <grknight <AT> tuffmail <DOT> com>
3 AuthorDate: Mon Dec 23 17:59:40 2013 +0000
4 Commit: Brian Evans <grknight <AT> lavabit <DOT> com>
5 CommitDate: Mon Dec 23 17:59:40 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=de3fd560
7
8 [mariadb-galera] Version bump
9
10 ---
11 dev-db/mariadb-galera/Manifest | 3 +-
12 dev-db/mariadb-galera/mariadb-galera-5.5.29.ebuild | 129 ---------------------
13 ...-5.5.32.ebuild => mariadb-galera-5.5.34.ebuild} | 5 +-
14 dev-db/mariadb-galera/metadata.xml | 2 +-
15 4 files changed, 6 insertions(+), 133 deletions(-)
16
17 diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest
18 index b00e699..44e2cfb 100644
19 --- a/dev-db/mariadb-galera/Manifest
20 +++ b/dev-db/mariadb-galera/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST mariadb-galera-5.5.29.tar.gz 27954645 SHA256 3992ad32cd5324e588942fe8a123bde60fdbe0fa25bebb25baf1dba7c0228e4e SHA512 baa56caa00f20a102cb3803311839713ddda6443431ff399ea464968cde3de5a73ee34e1d04266136a6c026bcdcaf1523bcdd09b36ba9a7ff6bd7862eef0971c WHIRLPOOL e376d0d77851fd3581ab3fe5409a2bc222432acaa0c1a3dc291dd7f649a0a73687d5979a7d8fae094fb2d7c89866ccefbd7f524d4f198c440725680245d80345
23 -DIST mariadb-galera-5.5.32.tar.gz 28052682 SHA256 f1a9ced929e32659012f8d917e69f1b1087b08fc905a7cad53326bfd285526b2 SHA512 66bfd6ca587659b0fdceaa8f7c52c7bdea6e1db67e2dafa0ba58f79878113205eacf3aa717ff74c36a620aa431cb562f10d9305920f85c963596675c04a4bf43 WHIRLPOOL 7bfdf3770fb63245af4612ac58bbb5b19b582e63ad84750960b1b3da68deeb84116cedd0d145724d811b15da800aa11cf838287c82b13b591045f9c887637bba
24 DIST mariadb-galera-5.5.33a.tar.gz 45358838 SHA256 1b49e41e677d95f7a5b548771a81c6430ec6f0ee16e7ee624fb2fe2b278183b8 SHA512 2106909b0a104848eb7c02c8a28d6904268a8a119dea17c37eef3c019f27b1f633a189570460990f86aaaad0bdeb7645ac921e1f0936c95d74a4599c194fd96b WHIRLPOOL 091201d8417dad8522739e4af2b36dbfad248d360ff54aaa2d89143ce377f89eea9e76828d8ce863ebd26af5753471610fd333d5a4e8eef290e248aec75ce4e5
25 +DIST mariadb-galera-5.5.34.tar.gz 45818386 SHA256 ae6ebdb8d0d200e05b9dadc3d4175632c698acb217267e533a685f846f557ad4 SHA512 78498e42f6def630e1b84a3dd948a3b4c590caf34db6a6a57b518cd178571e269393cff366c44ce30ea0cd6aee368dd904d42015fff1545147b41d1a946a2f09 WHIRLPOOL fffd50e3c6b0ad81f9f2ad8fddf7fe99bbc1e11e25850d36beba2a34446bdff67ac740ce6884d4185f71b866fbaab5fe61f6af482e3f739d46a242f0892f7e8a
26 DIST mysql-extras-20130120-0100Z.tar.bz2 1899297 SHA256 56db6daa26070cb10b220cb06e7b4d4a84214932a5a04500ed0e76b938c01776 SHA512 9fc9b21e547ec0e1ae37b288a1ade28b11c03a89129302226c36018cf69842fda95665799ded84f04cccffaf54555acde40bf2ae6e2ea39ec63b3876382af1ba WHIRLPOOL 25f31d91d6004e7472ef6f2ff0d02b9dde9915f56fc84da600145ac09d1d56751c2ef85c897d3b7bacd29b1010b304445517452254a1e9208bc7bfa9c2e9bf2e
27
28 diff --git a/dev-db/mariadb-galera/mariadb-galera-5.5.29.ebuild b/dev-db/mariadb-galera/mariadb-galera-5.5.29.ebuild
29 deleted file mode 100644
30 index a5f04af..0000000
31 --- a/dev-db/mariadb-galera/mariadb-galera-5.5.29.ebuild
32 +++ /dev/null
33 @@ -1,129 +0,0 @@
34 -# Copyright 1999-2013 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Header: $
37 -
38 -EAPI="4"
39 -MY_EXTRAS_VER="20130120-0100Z"
40 -WSREP_REVISION="23"
41 -
42 -# Build system
43 -BUILD="cmake"
44 -
45 -inherit toolchain-funcs mysql-v2
46 -# only to make repoman happy. it is really set in the eclass
47 -IUSE="$IUSE"
48 -
49 -# REMEMBER: also update eclass/mysql*.eclass before committing!
50 -KEYWORDS="~alpha ~amd64 ~arm ~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"
51 -
52 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
53 -EPATCH_EXCLUDE=''
54 -
55 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
56 -RDEPEND="${RDEPEND}"
57 -
58 -# Please do not add a naive src_unpack to this ebuild
59 -# If you want to add a single patch, copy the ebuild to an overlay
60 -# and create your own mysql-extras tarball, looking at 000_index.txt
61 -
62 -# Official test instructions:
63 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
64 -# FEATURES='test userpriv -usersandbox' \
65 -# ebuild mariadb-galera-X.X.XX.ebuild \
66 -# digest clean package
67 -src_test() {
68 -
69 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
70 - local retstatus_unit
71 - local retstatus_tests
72 -
73 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
74 - # localhost. Also causes weird failures.
75 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
76 -
77 - if ! use "minimal" ; then
78 -
79 - if [[ $UID -eq 0 ]]; then
80 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
81 - fi
82 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
83 -
84 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
85 - addpredict /this-dir-does-not-exist/t9.MYI
86 -
87 - # Run CTest (test-units)
88 - cmake-utils_src_test
89 - retstatus_unit=$?
90 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
91 -
92 - # Ensure that parallel runs don't die
93 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
94 -
95 - # create directories because mysqladmin might right out of order
96 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
97 -
98 - # These are failing in MySQL 5.5 for now and are believed to be
99 - # false positives:
100 - #
101 - # main.information_schema, binlog.binlog_statement_insert_delayed,
102 - # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
103 - # funcs_1.is_columns_mysql
104 - # fails due to USE=-latin1 / utf8 default
105 - #
106 - # main.mysql_client_test, main.mysql_client_test_nonblock:
107 - # segfaults at random under Portage only, suspect resource limits.
108 - #
109 - # sys_vars.plugin_dir_basic
110 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
111 - # instead of MYSQL_LIBDIR/plugin
112 - #
113 - # main.flush_read_lock_kill
114 - # fails because of unknown system variable 'DEBUG_SYNC'
115 - #
116 - # main.openssl_1
117 - # error message changing
118 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
119 - # error: ASN: bad other signature confirmation
120 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
121 - # error: error:00000001:lib(0):func(0):reason(1)
122 - #
123 - # plugins.unix_socket
124 - # fails because portage strips out the USER enviornment variable
125 - #
126 -
127 - for t in main.mysql_client_test main.mysql_client_test_nonblock \
128 - binlog.binlog_statement_insert_delayed main.information_schema \
129 - main.mysqld--help main.flush_read_lock_kill \
130 - sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
131 - funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
132 - mysql-v2_disable_test "$t" "False positives in Gentoo"
133 - done
134 -
135 - # Run mysql tests
136 - pushd "${TESTDIR}"
137 -
138 - # run mysql-test tests
139 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
140 - retstatus_tests=$?
141 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
142 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
143 -
144 - popd
145 -
146 - # Cleanup is important for these testcases.
147 - pkill -9 -f "${S}/ndb" 2>/dev/null
148 - pkill -9 -f "${S}/sql" 2>/dev/null
149 -
150 - failures=""
151 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
152 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
153 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
154 -
155 - [[ -z "$failures" ]] || die "Test failures: $failures"
156 - einfo "Tests successfully completed"
157 -
158 - else
159 -
160 - einfo "Skipping server tests due to minimal build."
161 - fi
162 -}
163
164 diff --git a/dev-db/mariadb-galera/mariadb-galera-5.5.32.ebuild b/dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild
165 similarity index 96%
166 rename from dev-db/mariadb-galera/mariadb-galera-5.5.32.ebuild
167 rename to dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild
168 index 19d143f..c704fbb 100644
169 --- a/dev-db/mariadb-galera/mariadb-galera-5.5.32.ebuild
170 +++ b/dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild
171 @@ -3,7 +3,7 @@
172 # $Header: $
173
174 EAPI="4"
175 -MY_EXTRAS_VER="20130120-0100Z"
176 +MY_EXTRAS_VER="live"
177 WSREP_REVISION="23"
178
179 # Build system
180 @@ -62,6 +62,9 @@ src_test() {
181 # create directories because mysqladmin might right out of order
182 mkdir -p "${S}"/mysql-test/var-tests{,/log}
183
184 + # create symlink for the tests to find mysql_tzinfo_to_sql
185 + ln -s "${CMAKE_BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
186 +
187 # These are failing in MySQL 5.5 for now and are believed to be
188 # false positives:
189 #
190
191 diff --git a/dev-db/mariadb-galera/metadata.xml b/dev-db/mariadb-galera/metadata.xml
192 index 6a55540..59e6784 100644
193 --- a/dev-db/mariadb-galera/metadata.xml
194 +++ b/dev-db/mariadb-galera/metadata.xml
195 @@ -17,10 +17,10 @@ dev-db/mariadb
196 <flag name='max-idx-128'>Raise the max index per table limit from 64 to 128</flag>
197 <flag name='minimal'>Install client programs only, no server</flag>
198 <flag name='oqgraph'>Add support for the Open Query GRAPH engine</flag>
199 - <flag name='pbxt'>Add experimental support for PBXT storage engine</flag>
200 <flag name='profiling'>Add support for statement profiling (requires USE=community).</flag>
201 <flag name="systemtap">Build support for profiling and tracing using <pkg>dev-util/systemtap</pkg></flag>
202 <flag name='sphinx'>Add suport for the sphinx full-text search engine</flag>
203 <flag name='test'>Install upstream testsuites for end use.</flag>
204 + <flag name='tokudb'>Add support for TokuDB storage engine</flag>
205 </use>
206 </pkgmetadata>