1 |
commit: f5b77e77b2b050172c66999091c41b8b1fdf7065 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 13:32:35 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 13:32:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b77e77 |
7 |
|
8 |
dev-db/mariadb: Drop sst-xtrabackup from 10.3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/677674 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
13 |
|
14 |
dev-db/mariadb/mariadb-10.3.13.ebuild | 15 ++++++++++----- |
15 |
1 file changed, 10 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/dev-db/mariadb/mariadb-10.3.13.ebuild b/dev-db/mariadb/mariadb-10.3.13.ebuild |
18 |
index 809bf7c23eb..8d049d3508e 100644 |
19 |
--- a/dev-db/mariadb/mariadb-10.3.13.ebuild |
20 |
+++ b/dev-db/mariadb/mariadb-10.3.13.ebuild |
21 |
@@ -31,7 +31,7 @@ SLOT="0/${SUBSLOT:-0}" |
22 |
IUSE="+backup bindist client-libs cracklib debug extraengine galera innodb-lz4 |
23 |
innodb-lzo innodb-snappy jdbc jemalloc kerberos latin1 libressl mroonga |
24 |
numa odbc oqgraph pam +perl profiling rocksdb selinux +server sphinx |
25 |
- sst-rsync sst-mariabackup sst-xtrabackup static systemd systemtap tcmalloc |
26 |
+ sst-rsync sst-mariabackup static systemd systemtap tcmalloc |
27 |
test tokudb xml yassl" |
28 |
|
29 |
# Tests always fail when libressl is enabled due to hard-coded ciphers in the tests |
30 |
@@ -124,7 +124,6 @@ RDEPEND="selinux? ( sec-policy/selinux-mysql ) |
31 |
=sys-cluster/galera-25* |
32 |
sst-rsync? ( sys-process/lsof ) |
33 |
sst-mariabackup? ( net-misc/socat[ssl] ) |
34 |
- sst-xtrabackup? ( net-misc/socat[ssl] ) |
35 |
) ) |
36 |
perl? ( !dev-db/mytop |
37 |
virtual/perl-Getopt-Long |
38 |
@@ -135,10 +134,8 @@ RDEPEND="selinux? ( sec-policy/selinux-mysql ) |
39 |
" |
40 |
# For other stuff to bring us in |
41 |
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL |
42 |
-# percona-xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed |
43 |
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 ) |
44 |
- server? ( ~virtual/mysql-5.6[static=] |
45 |
- galera? ( sst-xtrabackup? ( || ( >=dev-db/percona-xtrabackup-bin-2.2.4 dev-db/percona-xtrabackup ) ) ) )" |
46 |
+ server? ( ~virtual/mysql-5.6[static=] )" |
47 |
|
48 |
pkg_setup() { |
49 |
if [[ ${MERGE_TYPE} != binary ]] ; then |
50 |
@@ -583,6 +580,14 @@ src_install() { |
51 |
if [[ -L "${ED}/usr/bin/wsrep_sst_rsync_wan" ]] && ! use galera ; then |
52 |
rm "${ED}/usr/bin/wsrep_sst_rsync_wan" || die |
53 |
fi |
54 |
+ |
55 |
+ # Remove broken SST scripts that are incompatible |
56 |
+ local scriptremove |
57 |
+ for scriptremove in wsrep_sst_xtrabackup wsrep_sst_xtrabackup-v2 ; do |
58 |
+ if [[ -e "${ED}/usr/bin/${scriptremove}" ]] ; then |
59 |
+ rm "${ED}/usr/bin/${scriptremove}" || die |
60 |
+ fi |
61 |
+ done |
62 |
} |
63 |
|
64 |
# Official test instructions: |