1 |
commit: 3f03bc236371ef9c9bcd5a16364c1e846112167e |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 23 17:46:40 2015 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 23 17:46:40 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f03bc23 |
7 |
|
8 |
dev-db/mariadb: Version bump for 5.5.47 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-db/mariadb/Manifest | 1 + |
13 |
dev-db/mariadb/mariadb-5.5.47.ebuild | 123 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 124 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest |
17 |
index 062c057..389f89b 100644 |
18 |
--- a/dev-db/mariadb/Manifest |
19 |
+++ b/dev-db/mariadb/Manifest |
20 |
@@ -3,6 +3,7 @@ DIST mariadb-10.0.22.tar.gz 56252325 SHA256 9e17f4aaccb7069a874555cca254974d0f01 |
21 |
DIST mariadb-10.0.23.tar.gz 57394548 SHA256 156eed69892834be66736aebe0a17a76d5031fd1c2f481a82228ff33bb7ba274 SHA512 c3b6d33efeb720bcffc3c20191726671c5c9ec96da0539d9a4df34051a16770e8fef07ee43efdd79e76be50b0e007519325d39b000de3843a8c6af3671e989a3 WHIRLPOOL 2de6816353c4d0873a038255dadd296433709b55cf794021f5107e8e5657afb98dadebc89e8d93747a105d70b03b9c02edae47be8986d206240d2d894fd83c8e |
22 |
DIST mariadb-10.1.9.tar.gz 53998448 SHA256 8e9c5826722cedb4209bf06ae61069664513149479a6634e3d8115961edfe110 SHA512 0a271f2b169c569f65c222e83fcfeebc621c73ade76af4293ca4739f51c2fee2e34b1128d18339e6f1864dee7b9aed83ac15085325d477dc412e3fb2a4716b55 WHIRLPOOL be48eda5e8b2d711a711c77912e9b9b81ad343a4ec9a96f81a48ac9e35ebe001bcabc4ea3074ccfa418f35767b89aeb3f8037b5a15c006699384e80bb8eb89c5 |
23 |
DIST mariadb-5.5.46.tar.gz 45683962 SHA256 45b66b7adc87cad32e553df1d5211e5b6426b78a3bc318a5ccde088bf93e6e10 SHA512 91e5d3d46da9932fdd80125abf77cea411158e04212ae6dea1aa7a9260626c9dfded967af7173a152f488f38c35ff423fcba4098fa337814956c6fa8719c6080 WHIRLPOOL 7da1dc60dca37605c56291544b6d0dfc09a7a76c139b14d1277980d079251d02389efdbde56d23402d659e9c0830fd7ab7998833e1b5fcd33dcab436ea21b74c |
24 |
+DIST mariadb-5.5.47.tar.gz 45705343 SHA256 62b9378677433461d2a79b1ebe3182ba249994eb0cff2054ae8de8f646364209 SHA512 76359229448abec40100c916d69eab0d8e37bd480025edbacb70b7bfe965151953bfc8c9b36f6645e9c4b5ede8d970886373b6a069abf8e0026059cac1b09d76 WHIRLPOOL ce3548d2eec369be96ea373438c1cf586bdff536e8b61116b110ccc39ab412a46423353f4cddd6d816e93b43c707f40a3bb5b97349fa709fe2c86f484f54f62a |
25 |
DIST mysql-extras-20141215-0144Z.tar.bz2 1494767 SHA256 4757043858110654d52b0e6dccab064987ab5db8ae4ae99863cf86df0b90f947 SHA512 7a9b733d09f44b1faff19a496a3e820e444b339838665e6f37c4fddc8f2ad67e805082d598c4edc06fda9364f9906e4cf95520552f72d6b6df34413f38e7a2ed WHIRLPOOL 99ea6890a5faf097b941707538b68f62390e1a49ee662a87c27435a317a9a3f37f00802e72f86b52993b3d1674b57645db0f7e73379ab88fbc1d0ef791cf4326 |
26 |
DIST mysql-extras-20150509-1847Z.tar.bz2 1494301 SHA256 de9c9fbb67998604cb3c0409842e4601646c8ad17f2aa301f55ffd4aed7a483d SHA512 f87d96ab8c35236d4453182c49f87f6e703af9dc217916546e4dd7368caa18a2340c9063decd96c22251d1097d7e2cac58bef30e6ff75c23aedf8926dbc3d3b4 WHIRLPOOL f60297c8ee1dfd9867ed6b29a8b04a002f23bc36b1e8d9b5db30e1e454a49fe06ffc37b10d934b11235364eecdc62beb50ce24690ab3d07a50056357906fa0fa |
27 |
DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22 |
28 |
|
29 |
diff --git a/dev-db/mariadb/mariadb-5.5.47.ebuild b/dev-db/mariadb/mariadb-5.5.47.ebuild |
30 |
new file mode 100644 |
31 |
index 0000000..0700185 |
32 |
--- /dev/null |
33 |
+++ b/dev-db/mariadb/mariadb-5.5.47.ebuild |
34 |
@@ -0,0 +1,123 @@ |
35 |
+# Copyright 1999-2015 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI="5" |
40 |
+MY_EXTRAS_VER="20150509-1847Z" |
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 ~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" |
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='embedded extraengine perl ssl static-libs community' \ |
64 |
+# FEATURES='test userpriv -usersandbox' \ |
65 |
+# ebuild mariadb-X.X.XX.ebuild \ |
66 |
+# digest clean package |
67 |
+src_test() { |
68 |
+ |
69 |
+ local TESTDIR="${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 |
+ # Enable parallel testing, auto will try to detect number of cores |
95 |
+ # You may set this by hand. |
96 |
+ # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
97 |
+ export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
98 |
+ |
99 |
+ # create directories because mysqladmin might right out of order |
100 |
+ mkdir -p "${T}"/var-tests{,/log} |
101 |
+ |
102 |
+ # create symlink for the tests to find the replace util |
103 |
+ ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/" |
104 |
+ |
105 |
+ # These are failing in MariaDB 5.5 for now and are believed to be |
106 |
+ # false positives: |
107 |
+ # |
108 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
109 |
+ # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
110 |
+ # funcs_1.is_columns_mysql |
111 |
+ # fails due to USE=-latin1 / utf8 default |
112 |
+ # |
113 |
+ # main.mysql_client_test, main.mysql_client_test_nonblock: |
114 |
+ # segfaults at random under Portage only, suspect resource limits. |
115 |
+ # |
116 |
+ # archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
117 |
+ # fails due to bad cleanup of previous tests when run in parallel |
118 |
+ # The tool is deprecated anyway |
119 |
+ # Bug 532288 |
120 |
+ |
121 |
+ for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
122 |
+ binlog.binlog_statement_insert_delayed main.information_schema \ |
123 |
+ main.mysqld--help \ |
124 |
+ archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
125 |
+ funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
126 |
+ mysql-v2_disable_test "$t" "False positives in Gentoo" |
127 |
+ done |
128 |
+ |
129 |
+ # Run mysql tests |
130 |
+ pushd "${TESTDIR}" |
131 |
+ |
132 |
+ # run mysql-test tests |
133 |
+ perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
134 |
+ --testcase-timeout=30 |
135 |
+ retstatus_tests=$? |
136 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
137 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
138 |
+ |
139 |
+ popd |
140 |
+ |
141 |
+ # Cleanup is important for these testcases. |
142 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
143 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
144 |
+ |
145 |
+ failures="" |
146 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
147 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
148 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
149 |
+ |
150 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
151 |
+ einfo "Tests successfully completed" |
152 |
+ |
153 |
+ else |
154 |
+ |
155 |
+ einfo "Skipping server tests due to minimal build." |
156 |
+ fi |
157 |
+} |