1 |
commit: ac86fadf3b6ac78046cdc64b9d0e2a7f2723e7b0 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 18 18:44:55 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 18 18:44:55 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac86fadf |
7 |
|
8 |
dev-db/mariadb: Version bump for 5.5.58 |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
dev-db/mariadb/Manifest | 1 + |
13 |
dev-db/mariadb/mariadb-5.5.58.ebuild | 123 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 124 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest |
17 |
index 940dc41a02c..fc954d72caf 100644 |
18 |
--- a/dev-db/mariadb/Manifest |
19 |
+++ b/dev-db/mariadb/Manifest |
20 |
@@ -6,6 +6,7 @@ DIST mariadb-10.1.26.tar.gz 61887132 SHA256 ba88b1cb9967dea2909938a34ba89373b162 |
21 |
DIST mariadb-10.1.28.tar.gz 67559689 SHA256 292dc8fff420c4bdaf3a2c3381ec3c99292965db2b09de0d7fec414c00032bbd SHA512 ca10d28f6b966719c7488c2b4ba928b65cbe9dc32ccf2a28d29c4d0c2d46ea1c59c3e339230017b317132dcd216925a71769dfba80a7d6321079c74ac41926d8 WHIRLPOOL d8ff24346a9e8ada4a9ec0ea8fd7657ff4972d43347afb7a9d7725293437ba70e0035c365738084b1e4828344861f000bd963260176524da2188c2c3a1389f67 |
22 |
DIST mariadb-10.2.9.tar.gz 70858881 SHA256 12e0a01c52591ee77cf0f940fe65df024457fa16c70f08c6116048d576096124 SHA512 11ba0913144d7298ffa4c0a0128a3d1525a39b8205ffc580311751cf25a4e86159e46a32d3c8330c4ea028cdd50643eb5381651df654751ca3e4fb3d4698a373 WHIRLPOOL dba0a8dfd5079b314ffc399e116abf8582bdaf51657dfe6e72247ab92da874aca97af4ca27dbcfdca5634c926598a853b7a8ecd8a61fee453c2764085a05b949 |
23 |
DIST mariadb-5.5.57.tar.gz 45783940 SHA256 5dbde98d7e4a5a1721b6cbed7898b2549a88866247951cf586057975c6cea641 SHA512 5d6350abd6f0ba98326633a36bb7ec67525e34e08cbe43f79c9b30bf0b872b0a8f9f0bfd5f3a4c2800a52d25b9c6f3a3a4a62e0f41574153bbf4b881f5347c71 WHIRLPOOL c2af12fb71b3fcc9989cd2208a44dc81401fe1387ae2d03981fd5d00277d480a35f23bdb8f1564f91b4c345bdb18a610b46ee91f47772ba5de1baf8f808eaec3 |
24 |
+DIST mariadb-5.5.58.tar.gz 45784323 SHA256 26fdf8784a51e5d6f7624c0f4528433a6188065dd1bf92ef69e27db6b0a41002 SHA512 c5c8b52c613a1a3f30de2cd1d8e390f8110b0891af78ee2a24ef2c4b7b8c5f2e140970ca89865e8277e7486dbfd0ad01c1fdbf8791c67a9793392247d68fec63 WHIRLPOOL b507f3aaaced5da716de1a131dc4e69ace6f2ccd2ac58614d3d722b46b0b271ab0a452aef03b78d499b961f39a057ece5169f5af6fcce2e840aecd77ebf9295e |
25 |
DIST mysql-extras-20160629-1442Z.tar.bz2 299152 SHA256 c90979db927772468f8b398c640469ff4740f950068e740c04ff60500e714766 SHA512 1de46daf6b4534dadf9d3eff8d5d557778e63b5e04aedb57fe56d3016ba93a9d55d80faee38f77852d23da5169879e4f25b3386abe44ee8d961db7ffc4145715 WHIRLPOOL d8c94e4e43e772307d8d137a28e18991fa24a27b1587ec19ae5bd12c733cc0931e459092de2c43216776e3284c7c416d52030fe20c98a6439388507c5fe5111f |
26 |
DIST mysql-extras-20160721-1526Z.tar.bz2 301788 SHA256 45198f8adb4a61fdd89a5d3c7966ce2fe9241381510e1f7b93e793502a32dfcb SHA512 c7450039780e4e2684c932ba7c291c1de25dd1a64e4c6e88aa13b790768b4100955f36ae4a3bf983569ea23b43be02da6dad3d5985c1163ec9e8aa91f0efd85d WHIRLPOOL becdf0d4d7b8b5a269246d2fcf1bc09c4313046468b264f07394ae9f1de2f736ad3fff8cad35e544df7a3623688050e6fb9635dfea3876ea082d19cf9fe88927 |
27 |
DIST mysql-extras-20170310-1426Z.tar.bz2 307052 SHA256 23f5becec389fc49e7cf0d52c6c914cbc8d7e3fc5851ee38881ee6884ffc5732 SHA512 2dbb3e46f14fbd0be9ee0e3a8ff2e4d5325f9a9be332014ea556283c0bc5f53349952d267d6713fac5b54e3167a66ddd36f18b18b79ca6b68ede399399488157 WHIRLPOOL 9f459d9e58938597e7919b29fc819d87920a51461d274bf87520fe322a67ad8638ef19212855ba8e37507d3b160d29ecad0099f4632f078cc503e1be0f809fb4 |
28 |
|
29 |
diff --git a/dev-db/mariadb/mariadb-5.5.58.ebuild b/dev-db/mariadb/mariadb-5.5.58.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..0619086e848 |
32 |
--- /dev/null |
33 |
+++ b/dev-db/mariadb/mariadb-5.5.58.ebuild |
34 |
@@ -0,0 +1,123 @@ |
35 |
+# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI="5" |
39 |
+MY_EXTRAS_VER="20160721-1526Z" |
40 |
+ |
41 |
+# Build system |
42 |
+BUILD="cmake" |
43 |
+ |
44 |
+inherit toolchain-funcs mysql-v2 |
45 |
+# only to make repoman happy. it is really set in the eclass |
46 |
+IUSE="$IUSE" |
47 |
+ |
48 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
50 |
+ |
51 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
52 |
+EPATCH_EXCLUDE='' |
53 |
+ |
54 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
55 |
+RDEPEND="${RDEPEND}" |
56 |
+SLOT="0/18" |
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 |
+} |