summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Burri <axel@tty0.ch>2019-10-28 21:47:49 +0100
committerCraig Andrews <candrews@gentoo.org>2019-10-28 20:05:16 -0400
commitb8ea75c437126ce9b3455e017e0f7c70c8bd101c (patch)
tree9299baa454c6587d4d72eb5b8c59a6a30d9a7562
parentsys-libs/binutils-libs: drop texinfo from DEPENDs, bug #622652 (diff)
downloadgentoo-b8ea75c437126ce9b3455e017e0f7c70c8bd101c.tar.gz
gentoo-b8ea75c437126ce9b3455e017e0f7c70c8bd101c.tar.bz2
gentoo-b8ea75c437126ce9b3455e017e0f7c70c8bd101c.zip
app-backup/btrbk: add USE=+mbuffer
mbuffer is not a strict dependency: on many it is only used by btrbk if progress-bar and/or buffering/limiting is enabled. Closes: https://github.com/gentoo/gentoo/pull/13480 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--app-backup/btrbk/btrbk-0.29.0.ebuild4
-rw-r--r--app-backup/btrbk/btrbk-9999.ebuild4
-rw-r--r--app-backup/btrbk/metadata.xml1
3 files changed, 5 insertions, 4 deletions
diff --git a/app-backup/btrbk/btrbk-0.29.0.ebuild b/app-backup/btrbk/btrbk-0.29.0.ebuild
index c9ddf6a8d10f..7b91fc51e8b7 100644
--- a/app-backup/btrbk/btrbk-0.29.0.ebuild
+++ b/app-backup/btrbk/btrbk-0.29.0.ebuild
@@ -19,13 +19,13 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
HOMEPAGE="https://digint.ch/btrbk/"
LICENSE="GPL-3+"
SLOT="0"
-IUSE="+doc"
+IUSE="+mbuffer +doc"
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
RDEPEND="dev-lang/perl
net-misc/openssh
- >=sys-block/mbuffer-20180505
+ mbuffer? ( >=sys-block/mbuffer-20180505 )
>=sys-fs/btrfs-progs-4.12"
src_compile() {
diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild
index c9ddf6a8d10f..7b91fc51e8b7 100644
--- a/app-backup/btrbk/btrbk-9999.ebuild
+++ b/app-backup/btrbk/btrbk-9999.ebuild
@@ -19,13 +19,13 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
HOMEPAGE="https://digint.ch/btrbk/"
LICENSE="GPL-3+"
SLOT="0"
-IUSE="+doc"
+IUSE="+mbuffer +doc"
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
RDEPEND="dev-lang/perl
net-misc/openssh
- >=sys-block/mbuffer-20180505
+ mbuffer? ( >=sys-block/mbuffer-20180505 )
>=sys-fs/btrfs-progs-4.12"
src_compile() {
diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml
index d5e883ce6629..73a2d8bc134d 100644
--- a/app-backup/btrbk/metadata.xml
+++ b/app-backup/btrbk/metadata.xml
@@ -24,5 +24,6 @@
</upstream>
<use>
<flag name='pv'>Use sys-apps/pv to enable progress bar functionality</flag>
+ <flag name='mbuffer'>Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality</flag>
</use>
</pkgmetadata>