Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mariadb/
Date: Mon, 31 Oct 2016 12:52:14
Message-Id: 1477918310.9e87a8e0abaa8e40b11481fbd5b79ee5424e0681.grknight@gentoo
1 commit: 9e87a8e0abaa8e40b11481fbd5b79ee5424e0681
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 12:51:50 2016 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 12:51:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e87a8e0
7
8 dev-db/mariadb: Version bump for 5.5.53
9
10 Package-Manager: portage-2.3.2
11
12 dev-db/mariadb/Manifest | 1 +
13 dev-db/mariadb/mariadb-5.5.53.ebuild | 123 +++++++++++++++++++++++++++++++++++
14 2 files changed, 124 insertions(+)
15
16 diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest
17 index d518e37..022107c 100644
18 --- a/dev-db/mariadb/Manifest
19 +++ b/dev-db/mariadb/Manifest
20 @@ -3,6 +3,7 @@ DIST mariadb-10.0.28.tar.gz 63297461 SHA256 0a5033d56f1c5403df7fabd519ccbdc4da30
21 DIST mariadb-10.1.17.tar.gz 61158134 SHA256 4ca45ac5e34418761868115ebc8c068d511fed08e283b2cac52559d63ba4aab5 SHA512 900f019ec7544e315c98aea3647988f6ec257822b116c8a986851db678dd0bf71018dde1d0c90adeaa713af12348344ffc54c292a64869d9565f3f906599396d WHIRLPOOL e2e4d1294bc64c37d6916dc291d33769fd05c591697efba27fff79cb4debc76cf7a5eaf6e63a9ce3a12c22653ffc9d25082eb5a03f4f402b7395b91cb9ea415d
22 DIST mariadb-10.2.1.tar.gz 55721519 SHA256 90b7a17f3372c92c12dff084b37fcca8c4cf8106f4dcabd35fadc8efbaa348a2 SHA512 3dde348e4bba2b6837e0a0671e9ec944aa494e4a01ebb4704e067cc8fe71865aef685f4ce368e9a81c5adeb1e8cc4f3a1b4067193a4b1ffc1fc567bf79a0b4ff WHIRLPOOL cbf33b7f6fb131a834367214ff4ab49bbda8aebb6e6fe449c7be2648934bcdab79c50a043907c07603f51892041701be59ff45984db43e302b2174f6fd40bc31
23 DIST mariadb-5.5.52.tar.gz 45745859 SHA256 e142f9459507b97c5848042863b313ce70750118446bb4e35e5c07fe66007293 SHA512 76d1c1209aa8b56d6562907cb224d0be4f6bccd46e30d16dfb57f19fee1c60dcba21d8388c70674cac0a09e11361e1c5296d1e79d2ba9edc16bc4f9c7a7733eb WHIRLPOOL 4030f24f9d79fded7eb51a9c84b590f81a58ae07797322a6b6f5c3f6c84ea86975eceeb03922c38acf0bcd18769c8a0759624822e570d7301fc950cffc283631
24 +DIST mariadb-5.5.53.tar.gz 45739935 SHA256 4517296f5686af83c3f67bd9183ca1038c73a9c6c5e680389d167f72c644124e SHA512 43d98de3d392a7598265752433a1443432dd5029ebef22a7b20816194c65a14c480df064cb36875af414b47d994d31f6431c49d6b5988021f314d9518c8af90d WHIRLPOOL f9fa83d709689f1e2aba116d4c16bc2f1226d4cf1fc74b5b7f6a73d0647aa796bd3e92ff8bcd3e62f41d480e8c56ee1f10e765dd5c320a6385e6a3ecfb0f03da
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-20160818-1822Z.tar.bz2 302657 SHA256 7e4f42ea0754af120d2ad6b4a3e40dd9bd5a769913ac141453a2c53419bd6c05 SHA512 19bd509fd1a37c537ae28919516406735cdf3d3fbc66583f765b64b3d296bd041cf2bc2291004b7274604a2fda3cb399141d6c672ae5d6f8aced3d019ac81826 WHIRLPOOL 46b4e3c7f415b2de1440aa9d190805dfbc49a8f4a6ed26be5e4bb3e3e9553885cc7e7e13c83c49fadf71a6081bb8fd9d28d5f4d8372540c89a649f2d913fdd9b
28
29 diff --git a/dev-db/mariadb/mariadb-5.5.53.ebuild b/dev-db/mariadb/mariadb-5.5.53.ebuild
30 new file mode 100644
31 index 00000000..e22d98f
32 --- /dev/null
33 +++ b/dev-db/mariadb/mariadb-5.5.53.ebuild
34 @@ -0,0 +1,123 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI="5"
40 +MY_EXTRAS_VER="20160721-1526Z"
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 +}