1 |
commit: 4d4e9dc3d077c6e59325c3a4cae0f9d2039c7ff7 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 24 01:14:37 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 24 01:14:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4e9dc3 |
7 |
|
8 |
dev-db/mariadb: Version bump for 5.5.60 |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
dev-db/mariadb/Manifest | 1 + |
13 |
dev-db/mariadb/mariadb-5.5.60.ebuild | 124 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 125 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest |
17 |
index e499d406009..017375d265e 100644 |
18 |
--- a/dev-db/mariadb/Manifest |
19 |
+++ b/dev-db/mariadb/Manifest |
20 |
@@ -10,6 +10,7 @@ DIST mariadb-10.2.13.tar.gz 72591913 BLAKE2B 5abc3fefc5b02f099254b8a3a832a207939 |
21 |
DIST mariadb-10.2.14.tar.gz 72607526 BLAKE2B ca0c73e30e15265a7a1599d9bd4b64e030aaf92fcdbe18fda39eaf071c88c90b32a16ea5d9c63130e3853572a30a0c5870e6389e6dcb2a3eb690311cdb9bde3c SHA512 12195cc8c7a97619024d6b8b37558a43f4f543efff257a7a3dbb10e8a6e064ec2f0740554cf50cc83576b74ba355cf00f3c99855bc2bcf68b90c1fa90c850026 |
22 |
DIST mariadb-10.3.5.tar.gz 70945381 BLAKE2B 10f5f08a64b3d046f8255a5ea9bb1661b7a88d130b0a89b41c8f98abbe3c04cc13154e1ad6c012ef97a396f055ca5d748998f1e7d6dc89ca73a3b61f70749457 SHA512 e7f2ffd38da4e4dbd214bc97e30216682b6f8ca368bcbd5717fb408a6110f26da4472cd7ac0d288c817eb9c6426a063cff8d582e03fe8a1219c0d70508e5a004 |
23 |
DIST mariadb-5.5.59.tar.gz 45804920 BLAKE2B e24792cb5427e2c3254e83cfa355b8cf4350bc488b2477daa4ef4ee41d3c33c7d0b124eb9a615ccbccec693313fd83e3f13f633cc08ea725b78b179cc813f809 SHA512 facebe62cb9b55518fe669b65f939974aa33c308983c4c3ab6897fb500ec10aa407489e936e56d1269ea5e533655c4be8d0b5d78b3eeb3882ce1b96113a66afe |
24 |
+DIST mariadb-5.5.60.tar.gz 45822878 BLAKE2B 150a2d7108db2db18d66b56d961b05f8746f744e9453e341fde21f93bd846a3091a44c5df3baed6774d0ad12b8dc806b9bfdd177b4149f5be9d37af2a298f807 SHA512 eacf6ec57d46b00701b5038a67745174060d592b0e425466149c9a1b6dc1ac0659a36e57e82bf7e9f7865d8eac3dd50d0737630bd6220002d168b5b574437e4c |
25 |
DIST mysql-extras-20160721-1526Z.tar.bz2 301788 BLAKE2B 23ef75d0122e9e18382f708a86c61624e0437fad593b7f02ccb2b3939d710404e18e3b70617ed400e5f6947d3a92d2867a5f7d98bf61597442e99989f60ca4f7 SHA512 c7450039780e4e2684c932ba7c291c1de25dd1a64e4c6e88aa13b790768b4100955f36ae4a3bf983569ea23b43be02da6dad3d5985c1163ec9e8aa91f0efd85d |
26 |
DIST mysql-extras-20170310-1426Z.tar.bz2 307052 BLAKE2B 2c364678301c97ae5c88551a78caa633377f20dd45ce3e43516f8909f7bfa1b3ed5b115dd314540e7ea96f4232f7265d8fc50099da51934a0e38561bbeff84e4 SHA512 2dbb3e46f14fbd0be9ee0e3a8ff2e4d5325f9a9be332014ea556283c0bc5f53349952d267d6713fac5b54e3167a66ddd36f18b18b79ca6b68ede399399488157 |
27 |
DIST mysql-extras-20170316-1355Z.tar.bz2 308933 BLAKE2B e515f5926a0cbba86fdaaa9295e9d1f7d5f36e401f73de0d9d3c837a7f2d2a4f48c8a1bb5dadefad73a1aa676c9c5aee3571342d594644918cfca2861f2ba253 SHA512 5bf7938bfa5989da85216fbca4575397fc05c83e1afac76bd6c0b338a876caf37194f53a2a933d6f69eb31727ca005be617e53a8fdd0a95d8f1f68684c4ba68c |
28 |
|
29 |
diff --git a/dev-db/mariadb/mariadb-5.5.60.ebuild b/dev-db/mariadb/mariadb-5.5.60.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..84fdbafdf4a |
32 |
--- /dev/null |
33 |
+++ b/dev-db/mariadb/mariadb-5.5.60.ebuild |
34 |
@@ -0,0 +1,124 @@ |
35 |
+# Copyright 1999-2018 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 ~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 |
+ ssl? ( !>=dev-libs/openssl-1.1 )" |
56 |
+RDEPEND="${RDEPEND}" |
57 |
+SLOT="0/18" |
58 |
+ |
59 |
+# Please do not add a naive src_unpack to this ebuild |
60 |
+# If you want to add a single patch, copy the ebuild to an overlay |
61 |
+# and create your own mysql-extras tarball, looking at 000_index.txt |
62 |
+ |
63 |
+# Official test instructions: |
64 |
+# USE='extraengine perl ssl static-libs community' \ |
65 |
+# FEATURES='test userpriv -usersandbox' \ |
66 |
+# ebuild mariadb-X.X.XX.ebuild \ |
67 |
+# digest clean package |
68 |
+src_test() { |
69 |
+ |
70 |
+ local TESTDIR="${BUILD_DIR}/mysql-test" |
71 |
+ local retstatus_unit |
72 |
+ local retstatus_tests |
73 |
+ |
74 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
75 |
+ # localhost. Also causes weird failures. |
76 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
77 |
+ |
78 |
+ if ! use "minimal" ; then |
79 |
+ |
80 |
+ if [[ $UID -eq 0 ]]; then |
81 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
82 |
+ fi |
83 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
84 |
+ |
85 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
86 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
87 |
+ |
88 |
+ # Run CTest (test-units) |
89 |
+ cmake-utils_src_test |
90 |
+ retstatus_unit=$? |
91 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
92 |
+ |
93 |
+ # Ensure that parallel runs don't die |
94 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
95 |
+ # Enable parallel testing, auto will try to detect number of cores |
96 |
+ # You may set this by hand. |
97 |
+ # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
98 |
+ export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
99 |
+ |
100 |
+ # create directories because mysqladmin might right out of order |
101 |
+ mkdir -p "${T}"/var-tests{,/log} |
102 |
+ |
103 |
+ # create symlink for the tests to find the replace util |
104 |
+ ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/" |
105 |
+ |
106 |
+ # These are failing in MariaDB 5.5 for now and are believed to be |
107 |
+ # false positives: |
108 |
+ # |
109 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
110 |
+ # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
111 |
+ # funcs_1.is_columns_mysql |
112 |
+ # fails due to USE=-latin1 / utf8 default |
113 |
+ # |
114 |
+ # main.mysql_client_test, main.mysql_client_test_nonblock: |
115 |
+ # segfaults at random under Portage only, suspect resource limits. |
116 |
+ # |
117 |
+ # archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
118 |
+ # fails due to bad cleanup of previous tests when run in parallel |
119 |
+ # The tool is deprecated anyway |
120 |
+ # Bug 532288 |
121 |
+ |
122 |
+ for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
123 |
+ binlog.binlog_statement_insert_delayed main.information_schema \ |
124 |
+ main.mysqld--help \ |
125 |
+ archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
126 |
+ funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
127 |
+ mysql-v2_disable_test "$t" "False positives in Gentoo" |
128 |
+ done |
129 |
+ |
130 |
+ # Run mysql tests |
131 |
+ pushd "${TESTDIR}" |
132 |
+ |
133 |
+ # run mysql-test tests |
134 |
+ perl mysql-test-run.pl --force --vardir="${T}/var-tests" \ |
135 |
+ --testcase-timeout=30 |
136 |
+ retstatus_tests=$? |
137 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
138 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
139 |
+ |
140 |
+ popd |
141 |
+ |
142 |
+ # Cleanup is important for these testcases. |
143 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
144 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
145 |
+ |
146 |
+ failures="" |
147 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
148 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
149 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
150 |
+ |
151 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
152 |
+ einfo "Tests successfully completed" |
153 |
+ |
154 |
+ else |
155 |
+ |
156 |
+ einfo "Skipping server tests due to minimal build." |
157 |
+ fi |
158 |
+} |