Gentoo Archives: gentoo-commits

From: "Brian Evans (grknight)" <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mariadb: mariadb-5.5.43.ebuild ChangeLog mariadb-5.5.41.ebuild mariadb-5.5.42.ebuild
Date: Fri, 01 May 2015 02:57:49
Message-Id: 20150501025739.DC02A9A9@oystercatcher.gentoo.org
1 grknight 15/05/01 02:57:38
2
3 Modified: ChangeLog
4 Added: mariadb-5.5.43.ebuild
5 Removed: mariadb-5.5.41.ebuild mariadb-5.5.42.ebuild
6 Log:
7 Version bump for 5.5 series; remove vulnerable 5.5 versions wrt bug 546724
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xD1F781EFF9F4A3B6)
10
11 Revision Changes Path
12 1.102 dev-db/mariadb/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.102&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.102&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?r1=1.101&r2=1.102
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v
21 retrieving revision 1.101
22 retrieving revision 1.102
23 diff -u -r1.101 -r1.102
24 --- ChangeLog 25 Mar 2015 18:22:33 -0000 1.101
25 +++ ChangeLog 1 May 2015 02:57:38 -0000 1.102
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-db/mariadb
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.101 2015/03/25 18:22:33 grknight Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.102 2015/05/01 02:57:38 grknight Exp $
31 +
32 +*mariadb-5.5.43 (01 May 2015)
33 +
34 + 01 May 2015; Brian Evans <grknight@g.o> +mariadb-5.5.43.ebuild,
35 + -mariadb-5.5.41.ebuild, -mariadb-5.5.42.ebuild:
36 + Version bump for 5.5 series; remove vulnerable 5.5 versions wrt bug 546724
37
38 25 Mar 2015; Brian Evans <grknight@g.o> mariadb-10.0.17.ebuild:
39 Add additional ~arm64 keyword to latest version
40
41
42
43 1.1 dev-db/mariadb/mariadb-5.5.43.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-5.5.43.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-5.5.43.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mariadb-5.5.43.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.43.ebuild,v 1.1 2015/05/01 02:57:38 grknight Exp $
53
54 EAPI="5"
55 MY_EXTRAS_VER="20141215-0144Z"
56
57 # Build system
58 BUILD="cmake"
59
60 inherit toolchain-funcs mysql-v2
61 # only to make repoman happy. it is really set in the eclass
62 IUSE="$IUSE"
63
64 # REMEMBER: also update eclass/mysql*.eclass before committing!
65 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"
66
67 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
68 EPATCH_EXCLUDE=''
69
70 DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
71 RDEPEND="${RDEPEND}"
72
73 # Please do not add a naive src_unpack to this ebuild
74 # If you want to add a single patch, copy the ebuild to an overlay
75 # and create your own mysql-extras tarball, looking at 000_index.txt
76
77 # Official test instructions:
78 # USE='embedded extraengine perl ssl static-libs community' \
79 # FEATURES='test userpriv -usersandbox' \
80 # ebuild mariadb-X.X.XX.ebuild \
81 # digest clean package
82 src_test() {
83
84 local TESTDIR="${BUILD_DIR}/mysql-test"
85 local retstatus_unit
86 local retstatus_tests
87
88 # Bug #213475 - MySQL _will_ object strenously if your machine is named
89 # localhost. Also causes weird failures.
90 [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
91
92 if ! use "minimal" ; then
93
94 if [[ $UID -eq 0 ]]; then
95 die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
96 fi
97 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
98
99 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
100 addpredict /this-dir-does-not-exist/t9.MYI
101
102 # Run CTest (test-units)
103 cmake-utils_src_test
104 retstatus_unit=$?
105 [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
106
107 # Ensure that parallel runs don't die
108 export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
109 # Enable parallel testing, auto will try to detect number of cores
110 # You may set this by hand.
111 # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
112 export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
113
114 # create directories because mysqladmin might right out of order
115 mkdir -p "${T}"/var-tests{,/log}
116
117 # create symlink for the tests to find the replace util
118 ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/"
119
120 # These are failing in MariaDB 5.5 for now and are believed to be
121 # false positives:
122 #
123 # main.information_schema, binlog.binlog_statement_insert_delayed,
124 # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
125 # funcs_1.is_columns_mysql
126 # fails due to USE=-latin1 / utf8 default
127 #
128 # main.mysql_client_test, main.mysql_client_test_nonblock:
129 # segfaults at random under Portage only, suspect resource limits.
130 #
131
132 for t in main.mysql_client_test main.mysql_client_test_nonblock \
133 binlog.binlog_statement_insert_delayed main.information_schema \
134 main.mysqld--help \
135 funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
136 mysql-v2_disable_test "$t" "False positives in Gentoo"
137 done
138
139 # Run mysql tests
140 pushd "${TESTDIR}"
141
142 # run mysql-test tests
143 perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
144 --testcase-timeout=30
145 retstatus_tests=$?
146 [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
147 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
148
149 popd
150
151 # Cleanup is important for these testcases.
152 pkill -9 -f "${S}/ndb" 2>/dev/null
153 pkill -9 -f "${S}/sql" 2>/dev/null
154
155 failures=""
156 [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
157 [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
158 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
159
160 [[ -z "$failures" ]] || die "Test failures: $failures"
161 einfo "Tests successfully completed"
162
163 else
164
165 einfo "Skipping server tests due to minimal build."
166 fi
167 }