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: Tue, 27 Dec 2016 16:12:03
Message-Id: 1482855105.8fa47fa66a3f4276d6951e9827ab1b40b437d389.grknight@gentoo
1 commit: 8fa47fa66a3f4276d6951e9827ab1b40b437d389
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 27 16:11:45 2016 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 27 16:11:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa47fa6
7
8 dev-db/mariadb: Drop security vulnerable version
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-db/mariadb/Manifest | 1 -
13 dev-db/mariadb/mariadb-5.5.53.ebuild | 123 -----------------------------------
14 2 files changed, 124 deletions(-)
15
16 diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest
17 index 410c0e8..586e4f2 100644
18 --- a/dev-db/mariadb/Manifest
19 +++ b/dev-db/mariadb/Manifest
20 @@ -2,7 +2,6 @@ DIST mariadb-10.0.28.tar.gz 63297461 SHA256 0a5033d56f1c5403df7fabd519ccbdc4da30
21 DIST mariadb-10.1.19.tar.gz 61222929 SHA256 5b9373f314e2d1727422fb3795bcf50c1c59005129b35b6cadafae5663251a81 SHA512 28fb7178b71ec287f91f06ec0939ec877097ed21ff96b013c139a9584ccffbc9fc8694707e0d3c44cd61da33b54311116f858d31931ba289cdb22776c872f285 WHIRLPOOL 8e24d87054ccabde4873a4faae5c9ce82aa5f84c1afd39c9152e9bff6aadc7bc73b5532e7944173fc9ea2ce1bd13d68122deb941718819c617d8b1daee974a3b
22 DIST mariadb-10.1.20.tar.gz 61312731 SHA256 c24e83f24d674d9912319f9e9422f093c8ca6be1721a4380cbd74792b89ba0b9 SHA512 926067a30e54354f6482e28152694e747f4deb8b4ba6d054e089955b45f98f628ea8cca4cfbc12f6220fa6b8b6f2ba9fef7c23c09cb82b23f370acdd32a9e892 WHIRLPOOL ff7d3e180ab6e1a546d0e7c0517ec9138ce0dabf1768fe1270a018446c0a5727017ef94e2495295237d54ac21690c96ca7fce0d9f3f416584ce75b38470314b4
23 DIST mariadb-10.2.1.tar.gz 55721519 SHA256 90b7a17f3372c92c12dff084b37fcca8c4cf8106f4dcabd35fadc8efbaa348a2 SHA512 3dde348e4bba2b6837e0a0671e9ec944aa494e4a01ebb4704e067cc8fe71865aef685f4ce368e9a81c5adeb1e8cc4f3a1b4067193a4b1ffc1fc567bf79a0b4ff WHIRLPOOL cbf33b7f6fb131a834367214ff4ab49bbda8aebb6e6fe449c7be2648934bcdab79c50a043907c07603f51892041701be59ff45984db43e302b2174f6fd40bc31
24 -DIST mariadb-5.5.53.tar.gz 45739935 SHA256 4517296f5686af83c3f67bd9183ca1038c73a9c6c5e680389d167f72c644124e SHA512 43d98de3d392a7598265752433a1443432dd5029ebef22a7b20816194c65a14c480df064cb36875af414b47d994d31f6431c49d6b5988021f314d9518c8af90d WHIRLPOOL f9fa83d709689f1e2aba116d4c16bc2f1226d4cf1fc74b5b7f6a73d0647aa796bd3e92ff8bcd3e62f41d480e8c56ee1f10e765dd5c320a6385e6a3ecfb0f03da
25 DIST mariadb-5.5.54.tar.gz 45765936 SHA256 54405ad9beff02339819eb73c59b4bf25f58a2c5abffbf17e81c4940a893538c SHA512 fe1ff7545989e542f777c201774eaeead906f864277bb1a98bcd06c50b97816a56cb70e83e6fd4517e8d8887ae237eb9cc75e27ab473a2e7a8f154882fc9e2a3 WHIRLPOOL 6f37cf5675eae31347c77d1444e17e70d35d91932251efb0f772de6d36f7b74c797d92be2fec99dc803b18f99ea8dc5a55170e76c91b72b20b74797e99092bfe
26 DIST mysql-extras-20160629-1442Z.tar.bz2 299152 SHA256 c90979db927772468f8b398c640469ff4740f950068e740c04ff60500e714766 SHA512 1de46daf6b4534dadf9d3eff8d5d557778e63b5e04aedb57fe56d3016ba93a9d55d80faee38f77852d23da5169879e4f25b3386abe44ee8d961db7ffc4145715 WHIRLPOOL d8c94e4e43e772307d8d137a28e18991fa24a27b1587ec19ae5bd12c733cc0931e459092de2c43216776e3284c7c416d52030fe20c98a6439388507c5fe5111f
27 DIST mysql-extras-20160721-1526Z.tar.bz2 301788 SHA256 45198f8adb4a61fdd89a5d3c7966ce2fe9241381510e1f7b93e793502a32dfcb SHA512 c7450039780e4e2684c932ba7c291c1de25dd1a64e4c6e88aa13b790768b4100955f36ae4a3bf983569ea23b43be02da6dad3d5985c1163ec9e8aa91f0efd85d WHIRLPOOL becdf0d4d7b8b5a269246d2fcf1bc09c4313046468b264f07394ae9f1de2f736ad3fff8cad35e544df7a3623688050e6fb9635dfea3876ea082d19cf9fe88927
28
29 diff --git a/dev-db/mariadb/mariadb-5.5.53.ebuild b/dev-db/mariadb/mariadb-5.5.53.ebuild
30 deleted file mode 100644
31 index e22d98f..00000000
32 --- a/dev-db/mariadb/mariadb-5.5.53.ebuild
33 +++ /dev/null
34 @@ -1,123 +0,0 @@
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 -}