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/
Date: Thu, 29 Aug 2013 18:04:14
Message-Id: 1377799420.48287d849532a3fb3b0e1b0fbfcb0d36bc4b78d6.grknight.pub@gentoo
1 commit: 48287d849532a3fb3b0e1b0fbfcb0d36bc4b78d6
2 Author: Brian Evans <grknight <AT> lavabit <DOT> com>
3 AuthorDate: Thu Aug 29 18:03:40 2013 +0000
4 Commit: Brian Evans <grknight <AT> lavabit <DOT> com>
5 CommitDate: Thu Aug 29 18:03:40 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=48287d84
7
8 [dev-db/mariadb] Trim old
9
10 Package-Manager: portage-2.2.1
11
12 ---
13 dev-db/mariadb/ChangeLog | 5 +
14 dev-db/mariadb/Manifest | 6 --
15 dev-db/mariadb/mariadb-5.1.66.ebuild | 171 ----------------------------------
16 dev-db/mariadb/mariadb-5.2.13.ebuild | 171 ----------------------------------
17 dev-db/mariadb/mariadb-5.3.11.ebuild | 171 ----------------------------------
18 dev-db/mariadb/mariadb-5.5.28a.ebuild | 128 -------------------------
19 dev-db/mariadb/mariadb-5.5.29.ebuild | 128 -------------------------
20 dev-db/mariadb/mariadb-5.5.30.ebuild | 128 -------------------------
21 8 files changed, 5 insertions(+), 903 deletions(-)
22
23 diff --git a/dev-db/mariadb/ChangeLog b/dev-db/mariadb/ChangeLog
24 index 3ce1db0..59a0328 100644
25 --- a/dev-db/mariadb/ChangeLog
26 +++ b/dev-db/mariadb/ChangeLog
27 @@ -2,6 +2,11 @@
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 # $Header: $
30
31 + 29 Aug 2013; Brian Evans <grknight@××××××××.com> -mariadb-5.1.66.ebuild,
32 + -mariadb-5.2.13.ebuild, -mariadb-5.3.11.ebuild, -mariadb-5.5.28a.ebuild,
33 + -mariadb-5.5.29.ebuild, -mariadb-5.5.30.ebuild:
34 + [dev-db/mariadb] Trim old
35 +
36 *mariadb-5.5.32 (19 Jul 2013)
37
38 19 Jul 2013; Brian Evans <grknight@×××××××.com> +mariadb-5.5.32.ebuild:
39
40 diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest
41 index 5f2de48..38faf2d 100644
42 --- a/dev-db/mariadb/Manifest
43 +++ b/dev-db/mariadb/Manifest
44 @@ -1,15 +1,9 @@
45 DIST mariadb-10.0.1.tar.gz 29144466 SHA256 352fdc396742af642f81c8fd07edb96671e751402029ebc0f1d6aa9903707ee8 SHA512 3853497ec6f76af377bff22d58d1a7de05294748d0a63abebfe53d6d037144992eae830dc1939ef350e47ec652e34fd30ce53dbb603f15cabdd8d21cf13feab5 WHIRLPOOL 38603d48d7852595e06064383326f48f06a2617af786bcd6bd23559653b3efa30513c467ea97e227bfb5f72f701539af88b53fb799040f05818deb25a4c1b18a
46 DIST mariadb-10.0.2.tar.gz 29889802 SHA256 8101fdbfd3130027c5edc4f896b091b6b7851cbd35ec76f9353b6bbed04bf8b9 SHA512 c5f0b6aec37331848f9e5924846d65b163df5f6b64269c120d24ea25a1f650bb33801fa68a0943653be457fd6a5d3a9a636814a4430349c3affcf45635f7cc50 WHIRLPOOL 1c462f20a602c0d7695021d70a0dd85dfa04b566e5bfc1c1d061166aa87bd8037873a2d2127a4498cd6f1352b9bf06412213449673902e4a2ca038d6d921b5c0
47 DIST mariadb-10.0.3.tar.gz 29969048 SHA256 6283ec23a68f4765fea9579b587eb78be013aeb61d04e4d7b63a3f552ffb2c35 SHA512 a371ca441f639e58a5a437abd33ef2fa0d152213add3b7bd708e15e26243efb3c15c3d974c3b72f2c6ee317f09f14299395670d7eba0bf078995b06a034ac7d3 WHIRLPOOL 4933770042ce30b03263a3cabad3a3937cd715629a09183551ded9cf73e652417bc615b1c5defde3344870cc2e42ba400a23c99751e0fe30a920b0a788230a25
48 -DIST mariadb-5.1.66.tar.gz 25017546 SHA256 c11d8e4f6bfcdea8833470a33738e0561da97dd3c63575de2b959008509ae372 SHA512 603e8f571e2446f7596776769633dcf5496f4fdea100c43222efcc74b9c8ed292a0c2944c43f7c216fd2676b59ee18bdbb5d6f38f27627551252ff25d722dce6 WHIRLPOOL 9043e5a0215773f8f7cb8b5265101f019caeb5f73bc5cc3ea2b37a67500fc149395201611cd87c3e131b562a9ad9cdd5672bc6c545cd8e71da983a4a7b6ef737
49 DIST mariadb-5.1.67.tar.gz 25022999 SHA256 33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8 SHA512 de4a531027860c4226ec5e023b6f8573c2eb723bacaeb14279b9609ed033dcb58fc090aef3d9babcd4a4d0817ddf6ef75589c78f63075072d31ad0b7f7c17d7d WHIRLPOOL 22696d27c3a510396c4b86db5f5a4b39bbcde89285a8460b175ef7c40b3b7541fc8f205c0b96da7f94504a7fd14bfe02efb45204efda524a2426cd25e08162ff
50 -DIST mariadb-5.2.13.tar.gz 25459987 SHA256 96887416e097f1d4a7dde70ad404e6b7d26d3d13b5d1a8451e1ea62cdd9b0ca8 SHA512 696bb5f59f25fa31fc35399c99f6f13e37a178b1e9b0155e3cf053b1232a950035132d075b0594ff611f6b59635d49d0800820c2bbd02932d16917e174717f8a WHIRLPOOL 6755eb6a841350eb69668a1679b1cb7ec3d6ac58bb793b07d07353cc1962a82c111920dc7bc8b08056a85beb7f8d371045fdeb31751a44981f7b910d52e3da74
51 DIST mariadb-5.2.14.tar.gz 25469828 SHA256 8ab3db0535ce8728b03a34799da2334c18cff467e01d122293f23aad20613fe5 SHA512 b0aded450355861bf01604ac5bd0012d0d06a699bc83017cdb6b8749ed161aca9fedb733301aab991c521b21f3c8b2fea4867a2fd038379475e720782c02e869 WHIRLPOOL 8c2dd7ee0c1df5696d6b9f5c4387b7f755258a710ac088559f0f9779b27d18e30f32de0d4212015a15b6a83de2abbdd5c4ec811fa87fe2aec547809dc0970607
52 -DIST mariadb-5.3.11.tar.gz 26865690 SHA256 07a766b007c2f2c50680ccde121801208222877bb9311ffc9abf85e2f5e09f3a SHA512 8f501c6c4c3c886ff65c079ebba8e4870ebf8e6b451f35014b6d7cd4f74bf5c23360c271b5ef759b10a491914136213d759b859b1df9ba06d9863d684aa8d8e9 WHIRLPOOL 4b74bc8e4606a5c14e437a57398091d717bd866e179e26ced8054f3b5c6e88548f8e15e9a822f39ff5e81c6d6f90d7d69c5a42549bf81c2eb57f5b0d448ca2c0
53 DIST mariadb-5.3.12.tar.gz 26880808 SHA256 83a4598117cadde2bd7eac4c1398edbc86cc3aa8d3824bbee864d4b568a3a30c SHA512 d53ea48745dad5693fd6a1fd5cf502852f12f8236b8a1fb7f81ad647301d2fd08d4f2944c74de580d0a4136d6c8b49f257124fa1b234ba8f2338f2047435ef94 WHIRLPOOL b9caf1b241262b3b25728769116a94b480ae404ed3d49c8afd6eb4ad6071552e436e4b9483e7f5d0113bc3127eaf04ceaa80d455486e7a92d00820b6b298c460
54 -DIST mariadb-5.5.28a.tar.gz 27844298 SHA256 66c908592763c641f2a1e9fd83f080458a0d3375cda9aaf7700a37877b1e9968 SHA512 49fbbffb68f77e370cb288f7e406389101dd85433f2bbf25f9932d5e22ad6647b5a5f7fa397fa2f2efb5b7f2d860f395224d3188b70ed474373b820b1e708df7 WHIRLPOOL 3575a808b5bd0cf3778fcc81c78a4999abdb0cf82a577ebc4cda77df8db8c54120108d086c598ed40ae9eeb8660874cc8f33f6de2380a2a6fcb5ea70d0a1c727
55 -DIST mariadb-5.5.29.tar.gz 27935253 SHA256 b0e25b5451dbf8e8c8bf243bbd0aeb264db0da2caceafc7e2c9fad77b8d4be74 SHA512 ef3e386a634d1239067d91f6a17941807e62c36cd7f25e80ef43918d30ec0baa3d339ead85df5fc7958a3841d511c716bb873f039afdca49a50a409957b51d83 WHIRLPOOL 6b650c2ae23c6f9211792a2a9f3ddd0636306b7463308ecdc938ea003ee148956eda3fb1a2390ca72f3db1ea5eaabeafd4f26b23aa267766c61a77cf2b82b827
56 -DIST mariadb-5.5.30.tar.gz 27875216 SHA256 64dba5f1819f1d4ebf7ed31d74e4106c981a24b88259995deba3734fb7c4635f SHA512 41d160f71a1c0df3cfaaf864dbcf5aeccbfe3c2c1b0d1316750613d333f5789313606b2e959651e56ab7e26b1054b3ee93dc874ad1d2e43af097390ea960bae4 WHIRLPOOL 3a342de25ee1dbecb7f6ec07d237b830a6aeb24f3db3f90601345694b424236414ade860b589c3158ad207e1ff633e28585a96d463587d93a5e76245553992ff
57 DIST mariadb-5.5.31.tar.gz 27888530 SHA256 70b28e5dca7e9213fd092a669f74a537e7c88e0f670e32628907ce3ebcef2d28 SHA512 2b279852c602eef74456b8ff398e25a35f8dd026d59b62731cc006acbdf9167b3e5c12a5cbb1dd4b3f91c0d837149feb55754181cbb830fcce2fe02e03dadf9e WHIRLPOOL 75f953f33dc6d432364f9d23f2d5daf03ffd4ceff03d1dd0f8395b571209a22c5ef51863f6df071e94e465a3e49cb3c34afb4e0183521aa325867623c7680adb
58 DIST mariadb-5.5.32.tar.gz 27929231 SHA256 cc76d143c60d9f24b551adaf80f694ef9beb4a6a9032c115a06f7b5c5d0ee468 SHA512 246ab7740cfdf5e9908ec437c226102e373824894813345cef7431e7ddc681b3b8081ec22d2c61bbc3e67dbe22a34b08096ffee6952f86c046b5d9fadfd79ba3 WHIRLPOOL 955098e9ea6c8cc23243e6deaef570979d201b504d20e680cf92dc11071373bf0650f6dcd455b9cbd66607659642ab2d20997b39e31d526bf691cf7ed2332742
59 DIST mysql-extras-20121101-2319Z.tar.bz2 1898358 SHA256 ea5da082d3384bde67e005ebc39b78e7caadea80745333fb5a9cf47a4c4e4c5d SHA512 6a49abb1beee012d87ab63071a568ee6d9d8e4ff7a76401b91f5bdc127860d1c504a3877cbadb81536b07afe5ff419c77c793b0fc14ba484f56765d1ca526614 WHIRLPOOL 4bda75a0a9063830b3140bbc3cb12b60fa21289eee2fa476fb286da6318fdf0445a9c6193bd2063aefcd3f4ecc1f8045b30635f0e32014098d0f3dbee86e01fc
60
61 diff --git a/dev-db/mariadb/mariadb-5.1.66.ebuild b/dev-db/mariadb/mariadb-5.1.66.ebuild
62 deleted file mode 100644
63 index c2d4827..0000000
64 --- a/dev-db/mariadb/mariadb-5.1.66.ebuild
65 +++ /dev/null
66 @@ -1,171 +0,0 @@
67 -# Copyright 1999-2013 Gentoo Foundation
68 -# Distributed under the terms of the GNU General Public License v2
69 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.66.ebuild,v 1.1 2013/01/20 02:19:54 robbat2 Exp $
70 -
71 -EAPI="4"
72 -MY_EXTRAS_VER="20121101-2319Z"
73 -
74 -# Build system
75 -BUILD="autotools"
76 -
77 -inherit toolchain-funcs mysql-v2
78 -# only to make repoman happy. it is really set in the eclass
79 -IUSE="$IUSE"
80 -
81 -# REMEMBER: also update eclass/mysql*.eclass before committing!
82 -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"
83 -
84 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
85 -EPATCH_EXCLUDE=''
86 -
87 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
88 -RDEPEND="${RDEPEND}"
89 -
90 -# Please do not add a naive src_unpack to this ebuild
91 -# If you want to add a single patch, copy the ebuild to an overlay
92 -# and create your own mysql-extras tarball, looking at 000_index.txt
93 -src_prepare() {
94 - sed -i \
95 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
96 - "${S}"/unittest/mytap/t/Makefile.am
97 - mysql-v2_src_prepare
98 -}
99 -
100 -# Official test instructions:
101 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
102 -# FEATURES='test userpriv -usersandbox' \
103 -# ebuild mariadb-X.X.XX.ebuild \
104 -# digest clean package
105 -src_test() {
106 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
107 - # localhost. Also causes weird failures.
108 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
109 -
110 - emake check || die "make check failed"
111 - if ! use "minimal" ; then
112 - if [[ $UID -eq 0 ]]; then
113 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
114 - fi
115 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
116 - cd "${S}"
117 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
118 - local retstatus_unit
119 - local retstatus_ns
120 - local retstatus_ps
121 - local t
122 - addpredict /this-dir-does-not-exist/t9.MYI
123 -
124 - # Ensure that parallel runs don't die
125 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
126 -
127 - # The entire 5.0 series has pre-generated SSL certificates, they have
128 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
129 - # The certs really SHOULD be generated for the tests, so that they are
130 - # not expiring like this. We cannot do so ourselves as the tests look
131 - # closely as the cert path data, and we do not have the CA key to regen
132 - # ourselves. Alternatively, upstream should generate them with at least
133 - # 50-year validity.
134 - #
135 - # Known expiry points:
136 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
137 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
138 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
139 - #
140 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
141 - # expired/invalid.
142 - case ${PV} in
143 - 5.1.*|5.4.*|5.5.*)
144 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
145 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
146 - mysql-v2_disable_test \
147 - "$t" \
148 - "These OpenSSL tests break due to expired certificates"
149 - done
150 - ;;
151 - esac
152 -
153 - # These are also failing in MySQL 5.1 for now, and are believed to be
154 - # false positives:
155 - #
156 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
157 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
158 - # fails due to USE=-latin1 / utf8 default
159 - #
160 - # main.mysql_client_test:
161 - # segfaults at random under Portage only, suspect resource limits.
162 - #
163 - # main.not_partition:
164 - # Failure reason unknown at this time, must resolve before package.mask
165 - # removal FIXME
166 - case ${PV} in
167 - 5.1.*|5.2.*|5.4.*|5.5.*)
168 - for t in main.mysql_client_test main.mysql_comments \
169 - main.mysql_upgrade \
170 - main.information_schema \
171 - main.not_partition funcs_1.is_columns_mysql \
172 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
173 - mysql-v2_disable_test "$t" "False positives in Gentoo"
174 - done
175 - ;;
176 - esac
177 -
178 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
179 - # These tests are picking up a 'connect-timeout' config from somewhere,
180 - # which is not valid, and since it does not have 'loose-' in front of
181 - # it, it's causing a failure
182 - case ${PV} in
183 - 5.1.5*|5.4.*|5.5.*|6*)
184 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
185 - mysql-v2_disable_test "$t" \
186 - "False positives in Gentoo: connect-timeout"
187 - done
188 - ;;
189 - esac
190 -
191 - use profiling && use community \
192 - || mysql-v2_disable_test main.profiling \
193 - "Profiling test needs profiling support"
194 -
195 - if [ "${PN}" == "mariadb" ]; then
196 - for t in \
197 - parts.part_supported_sql_func_ndb \
198 - parts.partition_auto_increment_ndb ; do
199 - mysql-v2_disable_test $t "ndb not supported in mariadb"
200 - done
201 - fi
202 -
203 - # create directories because mysqladmin might make out of order
204 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
205 -
206 - # We run the test protocols seperately
207 - emake test-unit
208 - retstatus_unit=$?
209 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
210 -
211 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
212 - retstatus_ns=$?
213 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
214 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
215 -
216 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
217 - retstatus_ps=$?
218 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
219 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
220 -
221 - # TODO:
222 - # When upstream enables the pr and nr testsuites, we need those as well.
223 -
224 - # Cleanup is important for these testcases.
225 - pkill -9 -f "${S}/ndb" 2>/dev/null
226 - pkill -9 -f "${S}/sql" 2>/dev/null
227 - failures=""
228 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
229 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
230 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
231 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
232 - [[ -z "$failures" ]] || die "Test failures: $failures"
233 - einfo "Tests successfully completed"
234 - else
235 - einfo "Skipping server tests due to minimal build."
236 - fi
237 -}
238
239 diff --git a/dev-db/mariadb/mariadb-5.2.13.ebuild b/dev-db/mariadb/mariadb-5.2.13.ebuild
240 deleted file mode 100644
241 index 75532c7..0000000
242 --- a/dev-db/mariadb/mariadb-5.2.13.ebuild
243 +++ /dev/null
244 @@ -1,171 +0,0 @@
245 -# Copyright 1999-2013 Gentoo Foundation
246 -# Distributed under the terms of the GNU General Public License v2
247 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.2.13.ebuild,v 1.1 2013/01/20 02:19:54 robbat2 Exp $
248 -
249 -EAPI="4"
250 -MY_EXTRAS_VER="20121101-2319Z"
251 -
252 -# Build system
253 -BUILD="autotools"
254 -
255 -inherit toolchain-funcs mysql-v2
256 -# only to make repoman happy. it is really set in the eclass
257 -IUSE="$IUSE"
258 -
259 -# REMEMBER: also update eclass/mysql*.eclass before committing!
260 -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"
261 -
262 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
263 -EPATCH_EXCLUDE=''
264 -
265 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
266 -RDEPEND="${RDEPEND}"
267 -
268 -# Please do not add a naive src_unpack to this ebuild
269 -# If you want to add a single patch, copy the ebuild to an overlay
270 -# and create your own mysql-extras tarball, looking at 000_index.txt
271 -src_prepare() {
272 - sed -i \
273 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
274 - "${S}"/unittest/mytap/t/Makefile.am
275 - mysql-v2_src_prepare
276 -}
277 -
278 -# Official test instructions:
279 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
280 -# FEATURES='test userpriv -usersandbox' \
281 -# ebuild mariadb-X.X.XX.ebuild \
282 -# digest clean package
283 -src_test() {
284 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
285 - # localhost. Also causes weird failures.
286 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
287 -
288 - emake check || die "make check failed"
289 - if ! use "minimal" ; then
290 - if [[ $UID -eq 0 ]]; then
291 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
292 - fi
293 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
294 - cd "${S}"
295 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
296 - local retstatus_unit
297 - local retstatus_ns
298 - local retstatus_ps
299 - local t
300 - addpredict /this-dir-does-not-exist/t9.MYI
301 -
302 - # Ensure that parallel runs don't die
303 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
304 -
305 - # The entire 5.0 series has pre-generated SSL certificates, they have
306 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
307 - # The certs really SHOULD be generated for the tests, so that they are
308 - # not expiring like this. We cannot do so ourselves as the tests look
309 - # closely as the cert path data, and we do not have the CA key to regen
310 - # ourselves. Alternatively, upstream should generate them with at least
311 - # 50-year validity.
312 - #
313 - # Known expiry points:
314 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
315 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
316 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
317 - #
318 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
319 - # expired/invalid.
320 - case ${PV} in
321 - 5.1.*|5.4.*|5.5.*)
322 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
323 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
324 - mysql-v2_disable_test \
325 - "$t" \
326 - "These OpenSSL tests break due to expired certificates"
327 - done
328 - ;;
329 - esac
330 -
331 - # These are also failing in MySQL 5.1 for now, and are believed to be
332 - # false positives:
333 - #
334 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
335 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
336 - # fails due to USE=-latin1 / utf8 default
337 - #
338 - # main.mysql_client_test:
339 - # segfaults at random under Portage only, suspect resource limits.
340 - #
341 - # main.not_partition:
342 - # Failure reason unknown at this time, must resolve before package.mask
343 - # removal FIXME
344 - case ${PV} in
345 - 5.1.*|5.2.*|5.4.*|5.5.*)
346 - for t in main.mysql_client_test main.mysql_comments \
347 - main.mysql_upgrade \
348 - main.information_schema \
349 - main.not_partition funcs_1.is_columns_mysql \
350 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
351 - mysql-v2_disable_test "$t" "False positives in Gentoo"
352 - done
353 - ;;
354 - esac
355 -
356 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
357 - # These tests are picking up a 'connect-timeout' config from somewhere,
358 - # which is not valid, and since it does not have 'loose-' in front of
359 - # it, it's causing a failure
360 - case ${PV} in
361 - 5.1.5*|5.4.*|5.5.*|6*)
362 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
363 - mysql-v2_disable_test "$t" \
364 - "False positives in Gentoo: connect-timeout"
365 - done
366 - ;;
367 - esac
368 -
369 - use profiling && use community \
370 - || mysql-v2_disable_test main.profiling \
371 - "Profiling test needs profiling support"
372 -
373 - if [ "${PN}" == "mariadb" ]; then
374 - for t in \
375 - parts.part_supported_sql_func_ndb \
376 - parts.partition_auto_increment_ndb ; do
377 - mysql-v2_disable_test $t "ndb not supported in mariadb"
378 - done
379 - fi
380 -
381 - # create directories because mysqladmin might make out of order
382 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
383 -
384 - # We run the test protocols seperately
385 - emake test-unit
386 - retstatus_unit=$?
387 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
388 -
389 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
390 - retstatus_ns=$?
391 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
392 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
393 -
394 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
395 - retstatus_ps=$?
396 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
397 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
398 -
399 - # TODO:
400 - # When upstream enables the pr and nr testsuites, we need those as well.
401 -
402 - # Cleanup is important for these testcases.
403 - pkill -9 -f "${S}/ndb" 2>/dev/null
404 - pkill -9 -f "${S}/sql" 2>/dev/null
405 - failures=""
406 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
407 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
408 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
409 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
410 - [[ -z "$failures" ]] || die "Test failures: $failures"
411 - einfo "Tests successfully completed"
412 - else
413 - einfo "Skipping server tests due to minimal build."
414 - fi
415 -}
416
417 diff --git a/dev-db/mariadb/mariadb-5.3.11.ebuild b/dev-db/mariadb/mariadb-5.3.11.ebuild
418 deleted file mode 100644
419 index 0e46ac0..0000000
420 --- a/dev-db/mariadb/mariadb-5.3.11.ebuild
421 +++ /dev/null
422 @@ -1,171 +0,0 @@
423 -# Copyright 1999-2013 Gentoo Foundation
424 -# Distributed under the terms of the GNU General Public License v2
425 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.3.11.ebuild,v 1.1 2013/01/20 02:19:54 robbat2 Exp $
426 -
427 -EAPI="4"
428 -MY_EXTRAS_VER="20121101-2319Z"
429 -
430 -# Build system
431 -BUILD="autotools"
432 -
433 -inherit toolchain-funcs mysql-v2
434 -# only to make repoman happy. it is really set in the eclass
435 -IUSE="$IUSE"
436 -
437 -# REMEMBER: also update eclass/mysql*.eclass before committing!
438 -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"
439 -
440 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
441 -EPATCH_EXCLUDE=''
442 -
443 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
444 -RDEPEND="${RDEPEND}"
445 -
446 -# Please do not add a naive src_unpack to this ebuild
447 -# If you want to add a single patch, copy the ebuild to an overlay
448 -# and create your own mysql-extras tarball, looking at 000_index.txt
449 -src_prepare() {
450 - sed -i \
451 - -e '/^noinst_PROGRAMS/s/basic-t//g' \
452 - "${S}"/unittest/mytap/t/Makefile.am
453 - mysql-v2_src_prepare
454 -}
455 -
456 -# Official test instructions:
457 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
458 -# FEATURES='test userpriv -usersandbox' \
459 -# ebuild mariadb-X.X.XX.ebuild \
460 -# digest clean package
461 -src_test() {
462 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
463 - # localhost. Also causes weird failures.
464 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
465 -
466 - emake check || die "make check failed"
467 - if ! use "minimal" ; then
468 - if [[ $UID -eq 0 ]]; then
469 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
470 - fi
471 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
472 - cd "${S}"
473 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
474 - local retstatus_unit
475 - local retstatus_ns
476 - local retstatus_ps
477 - local t
478 - addpredict /this-dir-does-not-exist/t9.MYI
479 -
480 - # Ensure that parallel runs don't die
481 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
482 -
483 - # The entire 5.0 series has pre-generated SSL certificates, they have
484 - # mostly expired now. ${S}/mysql-tests/std-data/*.pem
485 - # The certs really SHOULD be generated for the tests, so that they are
486 - # not expiring like this. We cannot do so ourselves as the tests look
487 - # closely as the cert path data, and we do not have the CA key to regen
488 - # ourselves. Alternatively, upstream should generate them with at least
489 - # 50-year validity.
490 - #
491 - # Known expiry points:
492 - # 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
493 - # 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
494 - # 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
495 - #
496 - # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
497 - # expired/invalid.
498 - case ${PV} in
499 - 5.1.*|5.4.*|5.5.*)
500 - for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
501 - ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
502 - mysql-v2_disable_test \
503 - "$t" \
504 - "These OpenSSL tests break due to expired certificates"
505 - done
506 - ;;
507 - esac
508 -
509 - # These are also failing in MySQL 5.1 for now, and are believed to be
510 - # false positives:
511 - #
512 - # main.mysql_comment, main.mysql_upgrade, main.information_schema,
513 - # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
514 - # fails due to USE=-latin1 / utf8 default
515 - #
516 - # main.mysql_client_test:
517 - # segfaults at random under Portage only, suspect resource limits.
518 - #
519 - # main.not_partition:
520 - # Failure reason unknown at this time, must resolve before package.mask
521 - # removal FIXME
522 - case ${PV} in
523 - 5.1.*|5.2.*|5.4.*|5.5.*)
524 - for t in main.mysql_client_test main.mysql_comments \
525 - main.mysql_upgrade \
526 - main.information_schema \
527 - main.not_partition funcs_1.is_columns_mysql \
528 - funcs_1.is_tables_mysql funcs_1.is_triggers; do
529 - mysql-v2_disable_test "$t" "False positives in Gentoo"
530 - done
531 - ;;
532 - esac
533 -
534 - # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
535 - # These tests are picking up a 'connect-timeout' config from somewhere,
536 - # which is not valid, and since it does not have 'loose-' in front of
537 - # it, it's causing a failure
538 - case ${PV} in
539 - 5.1.5*|5.4.*|5.5.*|6*)
540 - for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
541 - mysql-v2_disable_test "$t" \
542 - "False positives in Gentoo: connect-timeout"
543 - done
544 - ;;
545 - esac
546 -
547 - use profiling && use community \
548 - || mysql-v2_disable_test main.profiling \
549 - "Profiling test needs profiling support"
550 -
551 - if [ "${PN}" == "mariadb" ]; then
552 - for t in \
553 - parts.part_supported_sql_func_ndb \
554 - parts.partition_auto_increment_ndb ; do
555 - mysql-v2_disable_test $t "ndb not supported in mariadb"
556 - done
557 - fi
558 -
559 - # create directories because mysqladmin might make out of order
560 - mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
561 -
562 - # We run the test protocols seperately
563 - emake test-unit
564 - retstatus_unit=$?
565 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
566 -
567 - emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
568 - retstatus_ns=$?
569 - [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
570 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
571 -
572 - emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
573 - retstatus_ps=$?
574 - [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
575 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
576 -
577 - # TODO:
578 - # When upstream enables the pr and nr testsuites, we need those as well.
579 -
580 - # Cleanup is important for these testcases.
581 - pkill -9 -f "${S}/ndb" 2>/dev/null
582 - pkill -9 -f "${S}/sql" 2>/dev/null
583 - failures=""
584 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
585 - [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
586 - [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
587 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
588 - [[ -z "$failures" ]] || die "Test failures: $failures"
589 - einfo "Tests successfully completed"
590 - else
591 - einfo "Skipping server tests due to minimal build."
592 - fi
593 -}
594
595 diff --git a/dev-db/mariadb/mariadb-5.5.28a.ebuild b/dev-db/mariadb/mariadb-5.5.28a.ebuild
596 deleted file mode 100644
597 index 97ff0da..0000000
598 --- a/dev-db/mariadb/mariadb-5.5.28a.ebuild
599 +++ /dev/null
600 @@ -1,128 +0,0 @@
601 -# Copyright 1999-2013 Gentoo Foundation
602 -# Distributed under the terms of the GNU General Public License v2
603 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.28a.ebuild,v 1.1 2013/01/20 02:19:54 robbat2 Exp $
604 -
605 -EAPI="4"
606 -MY_EXTRAS_VER="20130120-0100Z"
607 -
608 -# Build system
609 -BUILD="cmake"
610 -
611 -inherit toolchain-funcs mysql-v2
612 -# only to make repoman happy. it is really set in the eclass
613 -IUSE="$IUSE"
614 -
615 -# REMEMBER: also update eclass/mysql*.eclass before committing!
616 -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"
617 -
618 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
619 -EPATCH_EXCLUDE='20001_all_fix-minimal-build-cmake-mariadb.patch'
620 -
621 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
622 -RDEPEND="${RDEPEND}"
623 -
624 -# Please do not add a naive src_unpack to this ebuild
625 -# If you want to add a single patch, copy the ebuild to an overlay
626 -# and create your own mysql-extras tarball, looking at 000_index.txt
627 -
628 -# Official test instructions:
629 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
630 -# FEATURES='test userpriv -usersandbox' \
631 -# ebuild mariadb-X.X.XX.ebuild \
632 -# digest clean package
633 -src_test() {
634 -
635 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
636 - local retstatus_unit
637 - local retstatus_tests
638 -
639 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
640 - # localhost. Also causes weird failures.
641 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
642 -
643 - if ! use "minimal" ; then
644 -
645 - if [[ $UID -eq 0 ]]; then
646 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
647 - fi
648 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
649 -
650 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
651 - addpredict /this-dir-does-not-exist/t9.MYI
652 -
653 - # Run CTest (test-units)
654 - cmake-utils_src_test
655 - retstatus_unit=$?
656 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
657 -
658 - # Ensure that parallel runs don't die
659 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
660 -
661 - # create directories because mysqladmin might right out of order
662 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
663 -
664 - # These are failing in MySQL 5.5 for now and are believed to be
665 - # false positives:
666 - #
667 - # main.information_schema, binlog.binlog_statement_insert_delayed,
668 - # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
669 - # funcs_1.is_columns_mysql
670 - # fails due to USE=-latin1 / utf8 default
671 - #
672 - # main.mysql_client_test, main.mysql_client_test_nonblock:
673 - # segfaults at random under Portage only, suspect resource limits.
674 - #
675 - # sys_vars.plugin_dir_basic
676 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
677 - # instead of MYSQL_LIBDIR/plugin
678 - #
679 - # main.flush_read_lock_kill
680 - # fails because of unknown system variable 'DEBUG_SYNC'
681 - #
682 - # main.openssl_1
683 - # error message changing
684 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
685 - # error: ASN: bad other signature confirmation
686 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
687 - # error: error:00000001:lib(0):func(0):reason(1)
688 - #
689 - # plugins.unix_socket
690 - # fails because portage strips out the USER enviornment variable
691 - #
692 -
693 - for t in main.mysql_client_test main.mysql_client_test_nonblock \
694 - binlog.binlog_statement_insert_delayed main.information_schema \
695 - main.mysqld--help main.flush_read_lock_kill \
696 - sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
697 - funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
698 - mysql-v2_disable_test "$t" "False positives in Gentoo"
699 - done
700 -
701 - # Run mysql tests
702 - pushd "${TESTDIR}"
703 -
704 - # run mysql-test tests
705 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
706 - retstatus_tests=$?
707 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
708 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
709 -
710 - popd
711 -
712 - # Cleanup is important for these testcases.
713 - pkill -9 -f "${S}/ndb" 2>/dev/null
714 - pkill -9 -f "${S}/sql" 2>/dev/null
715 -
716 - failures=""
717 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
718 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
719 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
720 -
721 - [[ -z "$failures" ]] || die "Test failures: $failures"
722 - einfo "Tests successfully completed"
723 -
724 - else
725 -
726 - einfo "Skipping server tests due to minimal build."
727 - fi
728 -}
729
730 diff --git a/dev-db/mariadb/mariadb-5.5.29.ebuild b/dev-db/mariadb/mariadb-5.5.29.ebuild
731 deleted file mode 100644
732 index 7e94379..0000000
733 --- a/dev-db/mariadb/mariadb-5.5.29.ebuild
734 +++ /dev/null
735 @@ -1,128 +0,0 @@
736 -# Copyright 1999-2013 Gentoo Foundation
737 -# Distributed under the terms of the GNU General Public License v2
738 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.29.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $
739 -
740 -EAPI="4"
741 -MY_EXTRAS_VER="20130120-0100Z"
742 -
743 -# Build system
744 -BUILD="cmake"
745 -
746 -inherit toolchain-funcs mysql-v2
747 -# only to make repoman happy. it is really set in the eclass
748 -IUSE="$IUSE"
749 -
750 -# REMEMBER: also update eclass/mysql*.eclass before committing!
751 -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"
752 -
753 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
754 -EPATCH_EXCLUDE=''
755 -
756 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
757 -RDEPEND="${RDEPEND}"
758 -
759 -# Please do not add a naive src_unpack to this ebuild
760 -# If you want to add a single patch, copy the ebuild to an overlay
761 -# and create your own mysql-extras tarball, looking at 000_index.txt
762 -
763 -# Official test instructions:
764 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
765 -# FEATURES='test userpriv -usersandbox' \
766 -# ebuild mariadb-X.X.XX.ebuild \
767 -# digest clean package
768 -src_test() {
769 -
770 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
771 - local retstatus_unit
772 - local retstatus_tests
773 -
774 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
775 - # localhost. Also causes weird failures.
776 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
777 -
778 - if ! use "minimal" ; then
779 -
780 - if [[ $UID -eq 0 ]]; then
781 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
782 - fi
783 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
784 -
785 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
786 - addpredict /this-dir-does-not-exist/t9.MYI
787 -
788 - # Run CTest (test-units)
789 - cmake-utils_src_test
790 - retstatus_unit=$?
791 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
792 -
793 - # Ensure that parallel runs don't die
794 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
795 -
796 - # create directories because mysqladmin might right out of order
797 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
798 -
799 - # These are failing in MySQL 5.5 for now and are believed to be
800 - # false positives:
801 - #
802 - # main.information_schema, binlog.binlog_statement_insert_delayed,
803 - # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
804 - # funcs_1.is_columns_mysql
805 - # fails due to USE=-latin1 / utf8 default
806 - #
807 - # main.mysql_client_test, main.mysql_client_test_nonblock:
808 - # segfaults at random under Portage only, suspect resource limits.
809 - #
810 - # sys_vars.plugin_dir_basic
811 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
812 - # instead of MYSQL_LIBDIR/plugin
813 - #
814 - # main.flush_read_lock_kill
815 - # fails because of unknown system variable 'DEBUG_SYNC'
816 - #
817 - # main.openssl_1
818 - # error message changing
819 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
820 - # error: ASN: bad other signature confirmation
821 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
822 - # error: error:00000001:lib(0):func(0):reason(1)
823 - #
824 - # plugins.unix_socket
825 - # fails because portage strips out the USER enviornment variable
826 - #
827 -
828 - for t in main.mysql_client_test main.mysql_client_test_nonblock \
829 - binlog.binlog_statement_insert_delayed main.information_schema \
830 - main.mysqld--help main.flush_read_lock_kill \
831 - sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
832 - funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
833 - mysql-v2_disable_test "$t" "False positives in Gentoo"
834 - done
835 -
836 - # Run mysql tests
837 - pushd "${TESTDIR}"
838 -
839 - # run mysql-test tests
840 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
841 - retstatus_tests=$?
842 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
843 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
844 -
845 - popd
846 -
847 - # Cleanup is important for these testcases.
848 - pkill -9 -f "${S}/ndb" 2>/dev/null
849 - pkill -9 -f "${S}/sql" 2>/dev/null
850 -
851 - failures=""
852 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
853 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
854 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
855 -
856 - [[ -z "$failures" ]] || die "Test failures: $failures"
857 - einfo "Tests successfully completed"
858 -
859 - else
860 -
861 - einfo "Skipping server tests due to minimal build."
862 - fi
863 -}
864
865 diff --git a/dev-db/mariadb/mariadb-5.5.30.ebuild b/dev-db/mariadb/mariadb-5.5.30.ebuild
866 deleted file mode 100644
867 index 7e94379..0000000
868 --- a/dev-db/mariadb/mariadb-5.5.30.ebuild
869 +++ /dev/null
870 @@ -1,128 +0,0 @@
871 -# Copyright 1999-2013 Gentoo Foundation
872 -# Distributed under the terms of the GNU General Public License v2
873 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.29.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $
874 -
875 -EAPI="4"
876 -MY_EXTRAS_VER="20130120-0100Z"
877 -
878 -# Build system
879 -BUILD="cmake"
880 -
881 -inherit toolchain-funcs mysql-v2
882 -# only to make repoman happy. it is really set in the eclass
883 -IUSE="$IUSE"
884 -
885 -# REMEMBER: also update eclass/mysql*.eclass before committing!
886 -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"
887 -
888 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
889 -EPATCH_EXCLUDE=''
890 -
891 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
892 -RDEPEND="${RDEPEND}"
893 -
894 -# Please do not add a naive src_unpack to this ebuild
895 -# If you want to add a single patch, copy the ebuild to an overlay
896 -# and create your own mysql-extras tarball, looking at 000_index.txt
897 -
898 -# Official test instructions:
899 -# USE='berkdb -cluster embedded extraengine perl ssl community' \
900 -# FEATURES='test userpriv -usersandbox' \
901 -# ebuild mariadb-X.X.XX.ebuild \
902 -# digest clean package
903 -src_test() {
904 -
905 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
906 - local retstatus_unit
907 - local retstatus_tests
908 -
909 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
910 - # localhost. Also causes weird failures.
911 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
912 -
913 - if ! use "minimal" ; then
914 -
915 - if [[ $UID -eq 0 ]]; then
916 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
917 - fi
918 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
919 -
920 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
921 - addpredict /this-dir-does-not-exist/t9.MYI
922 -
923 - # Run CTest (test-units)
924 - cmake-utils_src_test
925 - retstatus_unit=$?
926 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
927 -
928 - # Ensure that parallel runs don't die
929 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
930 -
931 - # create directories because mysqladmin might right out of order
932 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
933 -
934 - # These are failing in MySQL 5.5 for now and are believed to be
935 - # false positives:
936 - #
937 - # main.information_schema, binlog.binlog_statement_insert_delayed,
938 - # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
939 - # funcs_1.is_columns_mysql
940 - # fails due to USE=-latin1 / utf8 default
941 - #
942 - # main.mysql_client_test, main.mysql_client_test_nonblock:
943 - # segfaults at random under Portage only, suspect resource limits.
944 - #
945 - # sys_vars.plugin_dir_basic
946 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
947 - # instead of MYSQL_LIBDIR/plugin
948 - #
949 - # main.flush_read_lock_kill
950 - # fails because of unknown system variable 'DEBUG_SYNC'
951 - #
952 - # main.openssl_1
953 - # error message changing
954 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
955 - # error: ASN: bad other signature confirmation
956 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
957 - # error: error:00000001:lib(0):func(0):reason(1)
958 - #
959 - # plugins.unix_socket
960 - # fails because portage strips out the USER enviornment variable
961 - #
962 -
963 - for t in main.mysql_client_test main.mysql_client_test_nonblock \
964 - binlog.binlog_statement_insert_delayed main.information_schema \
965 - main.mysqld--help main.flush_read_lock_kill \
966 - sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
967 - funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
968 - mysql-v2_disable_test "$t" "False positives in Gentoo"
969 - done
970 -
971 - # Run mysql tests
972 - pushd "${TESTDIR}"
973 -
974 - # run mysql-test tests
975 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
976 - retstatus_tests=$?
977 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
978 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
979 -
980 - popd
981 -
982 - # Cleanup is important for these testcases.
983 - pkill -9 -f "${S}/ndb" 2>/dev/null
984 - pkill -9 -f "${S}/sql" 2>/dev/null
985 -
986 - failures=""
987 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
988 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
989 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
990 -
991 - [[ -z "$failures" ]] || die "Test failures: $failures"
992 - einfo "Tests successfully completed"
993 -
994 - else
995 -
996 - einfo "Skipping server tests due to minimal build."
997 - fi
998 -}