summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 21:30:00 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-06 22:55:14 +0100
commit917c688b69ccd109023d8f2c22dd76aad7e14841 (patch)
tree96c2798893bc569a920848dccba4925d43937905 /dev-db/xtrabackup-bin
parentdev-db/sqlitebrowser: Remove old (diff)
downloadgentoo-917c688b69ccd109023d8f2c22dd76aad7e14841.tar.gz
gentoo-917c688b69ccd109023d8f2c22dd76aad7e14841.tar.bz2
gentoo-917c688b69ccd109023d8f2c22dd76aad7e14841.zip
[QA] dev-db/xtrabackup-bin: Fix global-scope 'use' call, #566528
Diffstat (limited to 'dev-db/xtrabackup-bin')
-rw-r--r--dev-db/xtrabackup-bin/xtrabackup-bin-2.1.9.ebuild14
-rw-r--r--dev-db/xtrabackup-bin/xtrabackup-bin-2.2.12.ebuild14
-rw-r--r--dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild14
3 files changed, 27 insertions, 15 deletions
diff --git a/dev-db/xtrabackup-bin/xtrabackup-bin-2.1.9.ebuild b/dev-db/xtrabackup-bin/xtrabackup-bin-2.1.9.ebuild
index 555e2aa3cdf..9c9125cc2ba 100644
--- a/dev-db/xtrabackup-bin/xtrabackup-bin-2.1.9.ebuild
+++ b/dev-db/xtrabackup-bin/xtrabackup-bin-2.1.9.ebuild
@@ -33,11 +33,15 @@ RDEPEND="dev-libs/libaio
dev-libs/libgpg-error
dev-perl/DBD-mysql"
-if use amd64; then
- S="${WORKDIR}/${MY_P}-Linux-x86_64"
-elif use x86; then
- S="${WORKDIR}/${MY_P}-Linux-i686"
-fi
+src_unpack() {
+ default
+
+ if use amd64; then
+ S="${WORKDIR}/${MY_P}-Linux-x86_64"
+ elif use x86; then
+ S="${WORKDIR}/${MY_P}-Linux-i686"
+ fi
+}
src_prepare() {
# bug 501904 - CVE-2014-2029
diff --git a/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.12.ebuild b/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.12.ebuild
index c31eec49530..8cd30efb424 100644
--- a/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.12.ebuild
+++ b/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.12.ebuild
@@ -32,11 +32,15 @@ RDEPEND="dev-libs/libaio
dev-perl/DBD-mysql
sys-libs/zlib"
-if use amd64; then
- S="${WORKDIR}/${MY_P}-Linux-x86_64"
-elif use x86; then
- S="${WORKDIR}/${MY_P}-Linux-i686"
-fi
+src_unpack() {
+ default
+
+ if use amd64; then
+ S="${WORKDIR}/${MY_P}-Linux-x86_64"
+ elif use x86; then
+ S="${WORKDIR}/${MY_P}-Linux-i686"
+ fi
+}
src_prepare() {
# bug 501904 - CVE-2014-2029
diff --git a/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild b/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild
index 90b93295569..0b845e28f2e 100644
--- a/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild
+++ b/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild
@@ -34,11 +34,15 @@ RDEPEND="dev-libs/libaio
dev-perl/DBD-mysql
sys-libs/zlib"
-if use amd64; then
- S="${WORKDIR}/${MY_P}-Linux-x86_64"
-elif use x86; then
- S="${WORKDIR}/${MY_P}-Linux-i686"
-fi
+src_unpack() {
+ default
+
+ if use amd64; then
+ S="${WORKDIR}/${MY_P}-Linux-x86_64"
+ elif use x86; then
+ S="${WORKDIR}/${MY_P}-Linux-i686"
+ fi
+}
src_prepare() {
# bug 501904 - CVE-2014-2029