Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/galera/, sys-cluster/galera/files/
Date: Mon, 02 Jan 2023 22:02:23
Message-Id: 1672696894.7cb32b75416d89ad1a11cabfbdca1c95b9031555.soap@gentoo
1 commit: 7cb32b75416d89ad1a11cabfbdca1c95b9031555
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 22:01:34 2023 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 22:01:34 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb32b75
7
8 sys-cluster/galera: drop versions
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-cluster/galera/Manifest | 5 --
13 .../files/galera-25.3.32-respect-cflags.patch | 38 ---------
14 .../files/galera-4.1-strip-extra-cflags.patch | 78 -------------------
15 sys-cluster/galera/galera-25.3.28-r2.ebuild | 81 --------------------
16 sys-cluster/galera/galera-25.3.35.ebuild | 80 -------------------
17 sys-cluster/galera/galera-25.3.37.ebuild | 80 -------------------
18 sys-cluster/galera/galera-26.4.12.ebuild | 87 ---------------------
19 sys-cluster/galera/galera-26.4.8-r1.ebuild | 89 ----------------------
20 8 files changed, 538 deletions(-)
21
22 diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest
23 index d72a32632e3d..25285a706ebd 100644
24 --- a/sys-cluster/galera/Manifest
25 +++ b/sys-cluster/galera/Manifest
26 @@ -1,7 +1,2 @@
27 -DIST galera-25.3.28.tar.gz 3390722 BLAKE2B 4e399b0f00c7303c11622c3807bc8a7b9b3b5c7747175560905b68abb67d557dde752019c313ba1de961ac2970fbf89d277583ee9c55c142cb1822873d7ab611 SHA512 8ff135022e820fc6a1d33ea1fa6e8677702ed7a7fbf460d45c28cdfe287c666949027989c3152311641debf183f3e8062f561c9935e51d3355df8ba087c5d132
28 -DIST galera-25.3.35.tar.gz 1278869 BLAKE2B c5c0cc1d4ad29caf94550a6b96ab9762a97273713b906c4f3e3d9851b90b1028246285e74becc912336edbb6e1a427d9bdd9c31177f3dd899153dbed54cdde92 SHA512 aaa7038cf9e8be57ae1760d259af31bafa8d3c994c46cbb6224231fe3bb63d7bc830a97a2d4833cd24b85a47da2e4c7bfc2a99d73155d6bd6330e4a9dda3083d
29 -DIST galera-25.3.37.tar.gz 1282455 BLAKE2B 1bdaad50cc08839bfaf988f2b4c5da606f08cb3d4ca43ddb27755a312f490e2e45231446c4d72c6da49aaa7ff309da661a92877a80a983c0e1f0d103f5201ee6 SHA512 348fbc100caa267ea93d2e66ed7bfe437c14ec823d31ae1f293b46791e0063f7afb41fd307ff49fa72e6c5880887da755e3782c50bdbc28622ab00020f1feaec
30 DIST galera-26.4.10.tar.gz 1424663 BLAKE2B 6be96cfaffd0af14a511f1f1aeaf2b7c18a3aa05216389e51a90834d9307bcd832005ee5da38acf530d40b2b6c11e62353be5aa4c0f678804808d1f74bbeea38 SHA512 97fd629d9f963459a9bce377ebcd35a5b4f533451f38011a03e440f0ac3ceddcaf45f4001afa8cd523626c03e64f27363e4b2e819d2b637551e579a3add44226
31 -DIST galera-26.4.12.tar.gz 1433269 BLAKE2B f65d1633e2ac5fbb9b2bbd83b9e98741f083e4a5759a74721bb564b6d5987cfc4db2c762aadd0155abe20a4faee6c3f8f25eaed38ad8c4338744990075cad4a1 SHA512 158fc3c367623fbdd7a81b1a391efc9893983805b5673e0b22bc74ad581a68a8789d388e8d98cb2880f1cd15d95d39ee4ce133ad9fc934209e74177fecf6a100
32 DIST galera-26.4.13.tar.gz 1529682 BLAKE2B d7030fd5e3a48ede16f608cca9986de117a54f99cf3d972a5b14623acd84f05f31f5cdbbc3032bf5caa8e0486f418ac07c8f87287bb14a8164507c558876ae61 SHA512 e548048eac5fceb0bea1ae736abc6c488d175bc71a3cfb963675232688392ecb5dcc64ddd8e78ceda40e26b94b806d3c34bd9fc9765ebc047b5a5ce28ff7efea
33 -DIST galera-26.4.8.tar.gz 1423256 BLAKE2B 9925207387b1ff5886bc0313fee3257a166fb7ad4cb4a93c508688e32467b5e048a8643d3ca0b2d190fe89883a9c7f450de10f488f1fb24988d62d9ab823bbd4 SHA512 5a99f733e38dffe648df6e313e82cc16066b81341e057e9fe7c7494327cc33db77bb9368d43c80d8b09ce2df95cd9079ad2fc6ff6a6a441a42c55bbf07947661
34
35 diff --git a/sys-cluster/galera/files/galera-25.3.32-respect-cflags.patch b/sys-cluster/galera/files/galera-25.3.32-respect-cflags.patch
36 deleted file mode 100644
37 index 94c1f829450a..000000000000
38 --- a/sys-cluster/galera/files/galera-25.3.32-respect-cflags.patch
39 +++ /dev/null
40 @@ -1,38 +0,0 @@
41 ---- a/SConstruct
42 -+++ b/SConstruct
43 -@@ -88,7 +88,7 @@ Commandline Options:
44 - build_target = 'all'
45 -
46 - # Optimization level
47 --opt_flags = ' -g -O3 -DNDEBUG'
48 -+opt_flags = ' -DNDEBUG'
49 -
50 - # Architecture (defaults to build host type)
51 - compile_arch = ''
52 -@@ -121,26 +121,6 @@ elif debug_lvl == 3:
53 - if dbug:
54 - opt_flags = opt_flags + ' -DGU_DBUG_ON'
55 -
56 --if sysname == 'sunos':
57 -- compile_arch = ' -mtune=native'
58 --elif x86:
59 -- if bits == 32:
60 -- if machine == 'x86_64':
61 -- compile_arch = ' -mx32'
62 -- else:
63 -- compile_arch = ' -m32 -march=i686'
64 -- if sysname == 'linux':
65 -- link_arch = ' -Wl,-melf_i386'
66 -- else:
67 -- compile_arch = ' -m64'
68 -- if sysname == 'linux':
69 -- link_arch = ' -Wl,-melf_x86_64'
70 -- link_arch = compile_arch + link_arch
71 --elif machine == 's390x':
72 -- compile_arch = ' -mzarch'
73 -- if bits == 32:
74 -- compile_arch += ' -m32'
75 --
76 - boost = int(ARGUMENTS.get('boost', 1))
77 - boost_pool = int(ARGUMENTS.get('boost_pool', 0))
78 - system_asio= int(ARGUMENTS.get('system_asio', 1))
79
80 diff --git a/sys-cluster/galera/files/galera-4.1-strip-extra-cflags.patch b/sys-cluster/galera/files/galera-4.1-strip-extra-cflags.patch
81 deleted file mode 100644
82 index dfa1642c7d7e..000000000000
83 --- a/sys-cluster/galera/files/galera-4.1-strip-extra-cflags.patch
84 +++ /dev/null
85 @@ -1,78 +0,0 @@
86 -diff -aurN a/galerautils/src/SConscript b/galerautils/src/SConscript
87 ---- a/galerautils/src/SConscript 2019-02-25 10:37:25.000000000 -0500
88 -+++ b/galerautils/src/SConscript 2019-03-07 09:51:27.163226469 -0500
89 -@@ -1,4 +1,4 @@
90 --Import('env', 'x86', 'sysname', 'machine')
91 -+Import('env', 'sysname', 'machine')
92 -
93 - libgalerautils_env = env.Clone()
94 -
95 -@@ -39,22 +39,6 @@
96 - crc32c_sources = [ '#/www.evanjones.ca/crc32c.c' ]
97 - crc32c_objs = crc32c_env.SharedObject(crc32c_sources)
98 -
99 --if x86:
100 -- if machine != 'ppc64' and machine != 'ppc64le':
101 -- crc32c_env.Append(CFLAGS = ' -msse4.2')
102 -- if sysname == 'sunos':
103 -- # Ideally we want to simply strip SSE4.2 flag from the resulting
104 -- # crc32.pic.o
105 -- # (see http://ffmpeg.org/pipermail/ffmpeg-user/2013-March/013977.html)
106 -- # but that requires some serious scons-fu, so we just don't
107 -- # compile hardware support in if host CPU does not have it.
108 -- from subprocess import check_call
109 -- try:
110 -- check_call("isainfo -v | grep sse4.2 >/dev/null 2>&1", shell=True);
111 -- except:
112 -- libgalerautils_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE')
113 -- crc32c_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE')
114 --
115 - libgalerautils_env.StaticLibrary('galerautils',
116 - libgalerautils_objs + crc32c_objs)
117 -
118 -diff -aurN a/SConstruct b/SConstruct
119 ---- a/SConstruct 2019-03-07 09:44:38.588841625 -0500
120 -+++ b/SConstruct 2019-03-07 09:50:06.305952407 -0500
121 -@@ -67,7 +67,7 @@
122 - build_target = 'all'
123 -
124 - # Optimization level
125 --opt_flags = ' -g -O3 -DNDEBUG'
126 -+opt_flags = ' -DNDEBUG'
127 -
128 - # Architecture (defaults to build host type)
129 - compile_arch = ''
130 -@@ -120,33 +120,6 @@
131 - if gcov:
132 - opt_flags = opt_flags + ' --coverage -g'
133 -
134 --if sysname == 'sunos':
135 -- compile_arch = ' -mtune=native'
136 --elif x86:
137 -- if bits == 32:
138 -- if machine == 'x86_64':
139 -- compile_arch = ' -mx32'
140 -- else:
141 -- compile_arch = ' -m32 -march=i686'
142 -- if sysname == 'linux':
143 -- link_arch = ' -Wl,-melf_i386'
144 -- else:
145 -- if machine == 'ppc64':
146 -- compile_arch = ' -mtune=native'
147 -- link_arch = ' -Wl,-melf64ppc'
148 -- elif machine == 'ppc64le':
149 -- compile_arch = ' -mtune=native'
150 -- link_arch = ' -Wl,-melf64lppc'
151 -- else:
152 -- compile_arch = ' -m64'
153 -- if sysname == 'linux':
154 -- link_arch = ' -Wl,-melf_x86_64'
155 -- link_arch = compile_arch + link_arch
156 --elif machine == 's390x':
157 -- compile_arch = ' -mzarch'
158 -- if bits == 32:
159 -- compile_arch += ' -m32'
160 --
161 - boost = int(ARGUMENTS.get('boost', 1))
162 - boost_pool = int(ARGUMENTS.get('boost_pool', 0))
163 - system_asio= int(ARGUMENTS.get('system_asio', 1))
164
165 diff --git a/sys-cluster/galera/galera-25.3.28-r2.ebuild b/sys-cluster/galera/galera-25.3.28-r2.ebuild
166 deleted file mode 100644
167 index eb95bef3291d..000000000000
168 --- a/sys-cluster/galera/galera-25.3.28-r2.ebuild
169 +++ /dev/null
170 @@ -1,81 +0,0 @@
171 -# Copyright 1999-2022 Gentoo Authors
172 -# Distributed under the terms of the GNU General Public License v2
173 -
174 -EAPI=7
175 -
176 -PYTHON_COMPAT=( python3_{8..10} )
177 -
178 -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
179 -
180 -DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
181 -HOMEPAGE="https://galeracluster.com"
182 -SRC_URI="http://nyc2.mirrors.digitalocean.com/mariadb/mariadb-10.3.20/${P}/src/${P}.tar.gz"
183 -LICENSE="GPL-2 BSD"
184 -
185 -SLOT="0"
186 -
187 -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 x86"
188 -IUSE="cpu_flags_x86_sse4_2 garbd test"
189 -RESTRICT="!test? ( test )"
190 -
191 -CDEPEND="
192 - dev-libs/openssl:0=
193 - dev-libs/boost:=
194 - "
195 -BDEPEND=">=sys-devel/gcc-4.4"
196 -DEPEND="${BDEPEND}
197 - ${CDEPEND}
198 - dev-libs/check
199 - >=dev-cpp/asio-1.10.1[ssl(+)]
200 - <dev-cpp/asio-1.12.0
201 - "
202 -#Run time only
203 -RDEPEND="${CDEPEND}"
204 -
205 -# Respect {C,LD}FLAGS.
206 -PATCHES=( "${FILESDIR}/galera-4.1-strip-extra-cflags.patch" )
207 -
208 -src_prepare() {
209 - default
210 -
211 - # Remove bundled dev-cpp/asio
212 - rm -r "${S}/asio" || die
213 -
214 - #Remove optional garbd daemon
215 - if ! use garbd ; then
216 - rm -r "${S}/garb" || die
217 - fi
218 -}
219 -
220 -src_configure() {
221 - tc-export CC CXX
222 - # Uses hardware specific code that seems to depend on SSE4.2
223 - if use cpu_flags_x86_sse4_2 ; then
224 - append-cflags -msse4.2
225 - else
226 - append-cflags -DCRC32C_NO_HARDWARE
227 - fi
228 - # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
229 - # and -Wold-style-cast
230 - MYSCONS=(
231 - tests=$(usex test 1 0)
232 - strict_build_flags=0
233 - system_asio=1
234 - )
235 -}
236 -
237 -src_compile() {
238 - escons --warn=no-missing-sconscript "${MYSCONS[@]}"
239 -}
240 -
241 -src_install() {
242 - dodoc scripts/packages/README scripts/packages/README-MySQL
243 - if use garbd ; then
244 - dobin garb/garbd
245 - newconfd "${FILESDIR}/garb.cnf" garbd
246 - newinitd "${FILESDIR}/garb.init" garbd
247 - doman man/garbd.8
248 - fi
249 - exeinto /usr/$(get_libdir)/${PN}
250 - doexe libgalera_smm.so
251 -}
252
253 diff --git a/sys-cluster/galera/galera-25.3.35.ebuild b/sys-cluster/galera/galera-25.3.35.ebuild
254 deleted file mode 100644
255 index cec35cd930c9..000000000000
256 --- a/sys-cluster/galera/galera-25.3.35.ebuild
257 +++ /dev/null
258 @@ -1,80 +0,0 @@
259 -# Copyright 1999-2022 Gentoo Authors
260 -# Distributed under the terms of the GNU General Public License v2
261 -
262 -EAPI=7
263 -
264 -PYTHON_COMPAT=( python3_{8..10} )
265 -
266 -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
267 -
268 -MY_PN="${PN}-3"
269 -MY_P="${MY_PN}-${PV}"
270 -
271 -DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
272 -HOMEPAGE="https://galeracluster.com"
273 -SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz"
274 -LICENSE="GPL-2 BSD"
275 -
276 -SLOT="0"
277 -
278 -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 x86"
279 -IUSE="cpu_flags_x86_sse4_2 garbd test"
280 -RESTRICT="!test? ( test )"
281 -
282 -COMMON_DEPEND="
283 - dev-libs/openssl:0=
284 - dev-libs/boost:=
285 -"
286 -
287 -DEPEND="
288 - ${COMMON_DEPEND}
289 - dev-libs/check
290 - >=dev-cpp/asio-1.10.1[ssl(+)]
291 - <dev-cpp/asio-1.12.0
292 -"
293 -
294 -#Run time only
295 -RDEPEND="${COMMON_DEPEND}"
296 -
297 -# Respect {C,LD}FLAGS.
298 -PATCHES=( "${FILESDIR}/${PN}"-25.3.32-respect-cflags.patch )
299 -
300 -S="${WORKDIR}/${MY_P}"
301 -
302 -src_prepare() {
303 - default
304 - # Remove bundled dev-cpp/asio
305 - rm -r "${S}/asio" || die "Failed to remove bundled asio"
306 - #Remove optional garbd daemon
307 - if ! use garbd ; then
308 - rm -r "${S}/garb" || die "Failed to remove garbd daemon"
309 - fi
310 -}
311 -
312 -src_configure() {
313 - tc-export AR CC CXX OBJDUMP
314 - # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
315 - # and -Wold-style-cast
316 - MYSCONS=(
317 - crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 1)
318 - tests=$(usex test 1 0)
319 - strict_build_flags=0
320 - system_asio=1
321 - )
322 -}
323 -
324 -src_compile() {
325 - escons --warn=no-missing-sconscript "${MYSCONS[@]}"
326 -}
327 -
328 -src_install() {
329 - dodoc scripts/packages/README scripts/packages/README-MySQL
330 - if use garbd ; then
331 - dobin garb/garbd
332 - newconfd "${FILESDIR}/garb.cnf" garbd
333 - newinitd "${FILESDIR}/garb.init" garbd
334 - doman man/garbd.8
335 - fi
336 - exeinto /usr/$(get_libdir)/"${PN}"
337 - doexe libgalera_smm.so
338 -}
339
340 diff --git a/sys-cluster/galera/galera-25.3.37.ebuild b/sys-cluster/galera/galera-25.3.37.ebuild
341 deleted file mode 100644
342 index 16f503054922..000000000000
343 --- a/sys-cluster/galera/galera-25.3.37.ebuild
344 +++ /dev/null
345 @@ -1,80 +0,0 @@
346 -# Copyright 1999-2022 Gentoo Authors
347 -# Distributed under the terms of the GNU General Public License v2
348 -
349 -EAPI=7
350 -
351 -PYTHON_COMPAT=( python3_{8..10} )
352 -
353 -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
354 -
355 -MY_PN="${PN}-3"
356 -MY_P="${MY_PN}-${PV}"
357 -
358 -DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
359 -HOMEPAGE="https://galeracluster.com"
360 -SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz"
361 -LICENSE="GPL-2 BSD"
362 -
363 -SLOT="0"
364 -
365 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
366 -IUSE="cpu_flags_x86_sse4_2 garbd test"
367 -RESTRICT="!test? ( test )"
368 -
369 -COMMON_DEPEND="
370 - dev-libs/openssl:0=
371 - >=dev-libs/boost-1.41:0=
372 -"
373 -
374 -DEPEND="
375 - ${COMMON_DEPEND}
376 - dev-libs/check
377 - >=dev-cpp/asio-1.10.1[ssl(+)]
378 - <dev-cpp/asio-1.12.0
379 -"
380 -
381 -#Run time only
382 -RDEPEND="${COMMON_DEPEND}"
383 -
384 -# Respect {C,LD}FLAGS.
385 -PATCHES=( "${FILESDIR}/${PN}"-25.3.32-respect-cflags.patch )
386 -
387 -S="${WORKDIR}/${MY_P}"
388 -
389 -src_prepare() {
390 - default
391 - # Remove bundled dev-cpp/asio
392 - rm -r "${S}/asio" || die "Failed to remove bundled asio"
393 - #Remove optional garbd daemon
394 - if ! use garbd ; then
395 - rm -r "${S}/garb" || die "Failed to remove garbd daemon"
396 - fi
397 -}
398 -
399 -src_configure() {
400 - tc-export AR CC CXX OBJDUMP
401 - # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
402 - # and -Wold-style-cast
403 - MYSCONS=(
404 - crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 1)
405 - tests=$(usex test 1 0)
406 - strict_build_flags=0
407 - system_asio=1
408 - )
409 -}
410 -
411 -src_compile() {
412 - escons --warn=no-missing-sconscript "${MYSCONS[@]}"
413 -}
414 -
415 -src_install() {
416 - dodoc scripts/packages/README scripts/packages/README-MySQL
417 - if use garbd ; then
418 - dobin garb/garbd
419 - newconfd "${FILESDIR}/garb.cnf" garbd
420 - newinitd "${FILESDIR}/garb.init" garbd
421 - doman man/garbd.8
422 - fi
423 - exeinto /usr/$(get_libdir)/"${PN}"
424 - doexe libgalera_smm.so
425 -}
426
427 diff --git a/sys-cluster/galera/galera-26.4.12.ebuild b/sys-cluster/galera/galera-26.4.12.ebuild
428 deleted file mode 100644
429 index fcede7c434f9..000000000000
430 --- a/sys-cluster/galera/galera-26.4.12.ebuild
431 +++ /dev/null
432 @@ -1,87 +0,0 @@
433 -# Copyright 1999-2022 Gentoo Authors
434 -# Distributed under the terms of the GNU General Public License v2
435 -
436 -EAPI=7
437 -
438 -PYTHON_COMPAT=( python3_{8..10} )
439 -
440 -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
441 -
442 -MY_PN="${PN}-4"
443 -MY_P="${MY_PN}-${PV}"
444 -
445 -DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
446 -HOMEPAGE="https://galeracluster.com"
447 -SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz"
448 -LICENSE="GPL-2 BSD"
449 -
450 -SLOT="0"
451 -
452 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
453 -IUSE="cpu_flags_x86_sse4_2 garbd test"
454 -
455 -# Tests are currently broken, see
456 -# - https://github.com/codership/galera/issues/595
457 -# - https://github.com/codership/galera/issues/596
458 -RESTRICT="test"
459 -
460 -COMMON_DEPEND="
461 - dev-libs/openssl:0=
462 - >=dev-libs/boost-1.41:0=
463 -"
464 -
465 -DEPEND="
466 - ${COMMON_DEPEND}
467 - dev-libs/check
468 - >=dev-cpp/asio-1.10.1[ssl(+)]
469 - <dev-cpp/asio-1.12.0
470 -"
471 -
472 -#Run time only
473 -RDEPEND="${COMMON_DEPEND}"
474 -
475 -# Respect {C,LD}FLAGS.
476 -PATCHES=(
477 - "${FILESDIR}/${PN}"-26.4.6-strip-extra-cflags.patch
478 - "${FILESDIR}/${PN}"-26.4.8-respect-toolchain.patch
479 -)
480 -
481 -S="${WORKDIR}/${MY_P}"
482 -
483 -src_prepare() {
484 - default
485 - # Remove bundled dev-cpp/asio
486 - rm -r "${S}/asio" || die "Failed to remove bundled asio"
487 - #Remove optional garbd daemon
488 - if ! use garbd ; then
489 - rm -r "${S}/garb" || die "Failed to remove garbd daemon"
490 - fi
491 -}
492 -
493 -src_configure() {
494 - tc-export AR CC CXX OBJDUMP
495 - # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
496 - # and -Wold-style-cast
497 - MYSCONS=(
498 - crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 1)
499 - tests=$(usex test 1 0)
500 - strict_build_flags=0
501 - system_asio=1
502 - )
503 -}
504 -
505 -src_compile() {
506 - escons --warn=no-missing-sconscript "${MYSCONS[@]}"
507 -}
508 -
509 -src_install() {
510 - dodoc scripts/packages/README scripts/packages/README-MySQL
511 - if use garbd ; then
512 - dobin garb/garbd
513 - newconfd "${FILESDIR}/garb.cnf" garbd
514 - newinitd "${FILESDIR}/garb.init" garbd
515 - doman man/garbd.8
516 - fi
517 - exeinto /usr/$(get_libdir)/"${PN}"
518 - doexe libgalera_smm.so
519 -}
520
521 diff --git a/sys-cluster/galera/galera-26.4.8-r1.ebuild b/sys-cluster/galera/galera-26.4.8-r1.ebuild
522 deleted file mode 100644
523 index f071a52b10e0..000000000000
524 --- a/sys-cluster/galera/galera-26.4.8-r1.ebuild
525 +++ /dev/null
526 @@ -1,89 +0,0 @@
527 -# Copyright 1999-2022 Gentoo Authors
528 -# Distributed under the terms of the GNU General Public License v2
529 -
530 -EAPI=7
531 -
532 -PYTHON_COMPAT=( python3_{8..10} )
533 -
534 -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
535 -
536 -DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
537 -HOMEPAGE="https://galeracluster.com"
538 -SRC_URI="https://releases.galeracluster.com/galera-4/source/galera-4-${PV}.tar.gz -> ${P}.tar.gz"
539 -LICENSE="GPL-2 BSD"
540 -
541 -SLOT="0"
542 -
543 -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 x86"
544 -IUSE="cpu_flags_x86_sse4_2 garbd test"
545 -
546 -# Tests are currently broken, see
547 -# - https://github.com/codership/galera/issues/595
548 -# - https://github.com/codership/galera/issues/596
549 -RESTRICT="test"
550 -
551 -CDEPEND="
552 - dev-libs/openssl:0=
553 - dev-libs/boost:=
554 - "
555 -
556 -BDEPEND=">=sys-devel/gcc-4.4"
557 -
558 -DEPEND="${BDEPEND}
559 - ${CDEPEND}
560 - dev-libs/check
561 - >=dev-cpp/asio-1.10.1[ssl(+)]
562 - <dev-cpp/asio-1.12.0
563 - "
564 -
565 -#Run time only
566 -RDEPEND="${CDEPEND}"
567 -
568 -# Respect {C,LD}FLAGS.
569 -PATCHES=(
570 - "${FILESDIR}"/${PN}-26.4.6-strip-extra-cflags.patch
571 - "${FILESDIR}"/${PN}-26.4.8-respect-toolchain.patch
572 -)
573 -
574 -S="${WORKDIR}/galera-4-${PV}"
575 -
576 -src_prepare() {
577 - default
578 -
579 - # Remove bundled dev-cpp/asio
580 - rm -r "${S}/asio" || die
581 -
582 - #Remove optional garbd daemon
583 - if ! use garbd ; then
584 - rm -r "${S}/garb" || die
585 - fi
586 -}
587 -
588 -src_configure() {
589 - tc-export AR CC CXX OBJDUMP
590 -
591 - # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
592 - # and -Wold-style-cast
593 - MYSCONS=(
594 - crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 1)
595 - tests=$(usex test 1 0)
596 - strict_build_flags=0
597 - system_asio=1
598 - )
599 -}
600 -
601 -src_compile() {
602 - escons --warn=no-missing-sconscript "${MYSCONS[@]}"
603 -}
604 -
605 -src_install() {
606 - dodoc scripts/packages/README scripts/packages/README-MySQL
607 - if use garbd ; then
608 - dobin garb/garbd
609 - newconfd "${FILESDIR}/garb.cnf" garbd
610 - newinitd "${FILESDIR}/garb.init" garbd
611 - doman man/garbd.8
612 - fi
613 - exeinto /usr/$(get_libdir)/${PN}
614 - doexe libgalera_smm.so
615 -}