Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
Date: Tue, 27 Dec 2011 07:16:06
Message-Id: 134509b12b21e08137cead741ea34f4342ec5558.robbat2@gentoo
1 commit: 134509b12b21e08137cead741ea34f4342ec5558
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 17 21:25:20 2011 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 17 21:25:20 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=134509b1
7
8 Bump.
9
10 (Portage version: 2.2.0_alpha79/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 dev-db/mysql/Manifest | 2 +
14 dev-db/mysql/mysql-5.5.19.ebuild | 129 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 131 insertions(+), 0 deletions(-)
16
17 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
18 index f7f88e1..cc2dcb4 100644
19 --- a/dev-db/mysql/Manifest
20 +++ b/dev-db/mysql/Manifest
21 @@ -14,6 +14,7 @@ DIST mysql-5.5.15.tar.gz 23774015 RMD160 536bdcc576583b2ca5b937c1db237dab0245323
22 DIST mysql-5.5.16.tar.gz 23816508 RMD160 c1581d56b3bf254077c709375e7ae48a21748be1 SHA1 1a3372f9179bfc21cba0005c339a72f8e1458483 SHA256 38a88d5f3a4e0ab1c6722662a2c858c63fd98f0925691400282cb23f1ea29b70
23 DIST mysql-5.5.17.tar.gz 24213337 RMD160 6bf00da1df03e869e3cc6c18cd03d5634838688e SHA1 de32ea3c3bb1b9cce49230425c27e12a78f80533 SHA256 8b3c66d7ddb2c5b5fcda28964c1fcd83128d1d48efd7fb2b23338819a50911f1
24 DIST mysql-5.5.18.tar.gz 24264064 RMD160 5a10dac0d875cf23e6990e46965f547299c0d6cb SHA1 c85f4c082026f88f9354e47e6dc35a505cc89d18 SHA256 874bc84df5602a6d2af013b97deda63376cb0c7b1ad98169087e979d0320f9db
25 +DIST mysql-5.5.19.tar.gz 24296942 RMD160 cae5bbea6d527ffb899eeeced8fc411375c285ae SHA1 f6a3b5fb5a10f8110fd85463e1a25fb314e60c24 SHA256 7f3643b378101de19205d133e6fb5ce03d8394e183f4e9ac2b0de59ba57fc34f
26 DIST mysql-5.6.2-m5.tar.gz 26137314 RMD160 e333a001e087b9fdf179c4e9f6a1927f2bd0fc6d SHA1 6b82c973b2c203909357e7100741b6030426fa67 SHA256 84b4f83b3eeff43fb9a282c03a252ee3ace1cea43ddebdfeb0ea940a687e427f
27 DIST mysql-extras-20110713-0702Z.tar.bz2 1723462 RMD160 24127c9d9bd053259fb1d9793b944d4447c21cae SHA1 4d03151f26af1ad522e1f0f0ed5eddebd665fc5c SHA256 2b0e1ce0bf5a2bcb543e631f27bf1d6bcb15da0a966112dfe64b2591945cd605
28 DIST mysql-extras-20110721-0450Z.tar.bz2 1734716 RMD160 346bdcd46c5b3ec8f839274c078fd6625f981de0 SHA1 d98382e15808b9c54a8d6563483a8ab3de59aa55 SHA256 354c270c777b4c9b5afad1f5dcdcf400989273779fafa726c70d05277bb74a37
29 @@ -31,6 +32,7 @@ EBUILD mysql-5.5.15.ebuild 3916 RMD160 c477eb7200fa7444aaaaa48699477a858d3de95f
30 EBUILD mysql-5.5.16.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5
31 EBUILD mysql-5.5.17.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5
32 EBUILD mysql-5.5.18.ebuild 3916 RMD160 76009aec549974e273045b775534658c28546d46 SHA1 8b64e7397234a413ad32f08fff412c35fa878847 SHA256 74326b102935a0d0f7feb630e6b3e1372177a0d4e3aa506ef3becb9a5155c8e5
33 +EBUILD mysql-5.5.19.ebuild 4234 RMD160 24933ce6a8d4e778ae1c06eac4804068714b610f SHA1 dcf95ba85ad7ea27421adabbfd73b8e4e51c611a SHA256 31a9962b85f68baf3ff780f56a006a1e3293d304452b33afff0e24a66e032e01
34 EBUILD mysql-5.6.2_alpha_pre5.ebuild 3851 RMD160 acdea00ab14deb95ba74704627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f308eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd
35 MISC ChangeLog 8322 RMD160 946cac6c3c96d484ae7ce578cc8f7d43637267b6 SHA1 b62a0b6ca82d6237b206676b998214e366b1ad9d SHA256 b97b798bdbb527c482da48c933d6eb2a7fcdd3d380c57ec6ce64c349d9b79771
36 MISC metadata.xml 1144 RMD160 2e8b432149e8467becaf1e52884437a80d31673d SHA1 b516bc717f95725fe9e6486b6101f42e42007909 SHA256 e84ceb0d15ac0384c33c6a6451ccf4902f7c2aa9d227b931c12c25695e4b62a2
37
38 diff --git a/dev-db/mysql/mysql-5.5.19.ebuild b/dev-db/mysql/mysql-5.5.19.ebuild
39 new file mode 100644
40 index 0000000..896d901
41 --- /dev/null
42 +++ b/dev-db/mysql/mysql-5.5.19.ebuild
43 @@ -0,0 +1,129 @@
44 +# Copyright 1999-2011 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.14.ebuild,v 1.2 2011/07/14 03:58:44 jmbsvicetto Exp $
47 +
48 +EAPI="4"
49 +
50 +MY_EXTRAS_VER="20110713-0702Z"
51 +MY_PV="${PV//_alpha_pre/-m}"
52 +MY_PV="${MY_PV//_/-}"
53 +
54 +# Build type
55 +BUILD="cmake"
56 +
57 +inherit toolchain-funcs mysql-v2
58 +# only to make repoman happy. it is really set in the eclass
59 +IUSE="$IUSE"
60 +
61 +# Define the mysql-extras source
62 +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
63 +
64 +# REMEMBER: also update eclass/mysql*.eclass before committing!
65 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
66 +
67 +# When MY_EXTRAS is bumped, the index should be revised to exclude these.
68 +EPATCH_EXCLUDE=''
69 +
70 +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
71 +RDEPEND="${RDEPEND}"
72 +
73 +# Please do not add a naive src_unpack to this ebuild
74 +# If you want to add a single patch, copy the ebuild to an overlay
75 +# and create your own mysql-extras tarball, looking at 000_index.txt
76 +
77 +# Official test instructions:
78 +# USE='berkdb -cluster embedded extraengine perl ssl community' \
79 +# FEATURES='test userpriv -usersandbox' \
80 +# ebuild mysql-X.X.XX.ebuild \
81 +# digest clean package
82 +src_test() {
83 +
84 + local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
85 + local retstatus_unit
86 + local retstatus_tests
87 +
88 + # Bug #213475 - MySQL _will_ object strenously if your machine is named
89 + # localhost. Also causes weird failures.
90 + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
91 +
92 + if ! use "minimal" ; then
93 +
94 + if [[ $UID -eq 0 ]]; then
95 + die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
96 + fi
97 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
98 +
99 + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
100 + addpredict /this-dir-does-not-exist/t9.MYI
101 +
102 + # Run CTest (test-units)
103 + cmake-utils_src_test
104 + retstatus_unit=$?
105 + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
106 +
107 + # Ensure that parallel runs don't die
108 + export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
109 +
110 + # create directories because mysqladmin might right out of order
111 + mkdir -p "${S}"/mysql-test/var-{tests}{,/log}
112 +
113 + # These are failing in MySQL 5.5 for now and are believed to be
114 + # false positives:
115 + #
116 + # main.information_schema, binlog.binlog_statement_insert_delayed,
117 + # main.mysqld--help-notwin
118 + # fails due to USE=-latin1 / utf8 default
119 + #
120 + # main.mysql_client_test:
121 + # segfaults at random under Portage only, suspect resource limits.
122 + #
123 + # sys_vars.plugin_dir_basic
124 + # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
125 + # instead of MYSQL_LIBDIR/plugin
126 + #
127 + # main.flush_read_lock_kill
128 + # fails because of unknown system variable 'DEBUG_SYNC'
129 + #
130 + # main.openssl_1
131 + # error message changing
132 + # -mysqltest: Could not open connection 'default': 2026 SSL connection
133 + # error: ASN: bad other signature confirmation
134 + # +mysqltest: Could not open connection 'default': 2026 SSL connection
135 + # error: error:00000001:lib(0):func(0):reason(1)
136 + #
137 +
138 + for t in main.mysql_client_test \
139 + binlog.binlog_statement_insert_delayed main.information_schema \
140 + main.mysqld--help-notwin main.flush_read_lock_kill \
141 + sys_vars.plugin_dir_basic main.openssl_1 ; 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="${S}/mysql-test/var-tests"
150 + retstatus_tests=$?
151 + [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
152 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
153 +
154 + popd
155 +
156 + # Cleanup is important for these testcases.
157 + pkill -9 -f "${S}/ndb" 2>/dev/null
158 + pkill -9 -f "${S}/sql" 2>/dev/null
159 +
160 + failures=""
161 + [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
162 + [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
163 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
164 +
165 + [[ -z "$failures" ]] || die "Test failures: $failures"
166 + einfo "Tests successfully completed"
167 +
168 + else
169 +
170 + einfo "Skipping server tests due to minimal build."
171 + fi
172 +}