1 |
commit: b8ea75c437126ce9b3455e017e0f7c70c8bd101c |
2 |
Author: Axel Burri <axel <AT> tty0 <DOT> ch> |
3 |
AuthorDate: Mon Oct 28 20:47:49 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 29 00:05:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ea75c4 |
7 |
|
8 |
app-backup/btrbk: add USE=+mbuffer |
9 |
|
10 |
mbuffer is not a strict dependency: on many it is only used by btrbk if |
11 |
progress-bar and/or buffering/limiting is enabled. |
12 |
Closes: https://github.com/gentoo/gentoo/pull/13480 |
13 |
|
14 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
15 |
|
16 |
app-backup/btrbk/btrbk-0.29.0.ebuild | 4 ++-- |
17 |
app-backup/btrbk/btrbk-9999.ebuild | 4 ++-- |
18 |
app-backup/btrbk/metadata.xml | 1 + |
19 |
3 files changed, 5 insertions(+), 4 deletions(-) |
20 |
|
21 |
diff --git a/app-backup/btrbk/btrbk-0.29.0.ebuild b/app-backup/btrbk/btrbk-0.29.0.ebuild |
22 |
index c9ddf6a8d10..7b91fc51e8b 100644 |
23 |
--- a/app-backup/btrbk/btrbk-0.29.0.ebuild |
24 |
+++ b/app-backup/btrbk/btrbk-0.29.0.ebuild |
25 |
@@ -19,13 +19,13 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" |
26 |
HOMEPAGE="https://digint.ch/btrbk/" |
27 |
LICENSE="GPL-3+" |
28 |
SLOT="0" |
29 |
-IUSE="+doc" |
30 |
+IUSE="+mbuffer +doc" |
31 |
|
32 |
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" |
33 |
|
34 |
RDEPEND="dev-lang/perl |
35 |
net-misc/openssh |
36 |
- >=sys-block/mbuffer-20180505 |
37 |
+ mbuffer? ( >=sys-block/mbuffer-20180505 ) |
38 |
>=sys-fs/btrfs-progs-4.12" |
39 |
|
40 |
src_compile() { |
41 |
|
42 |
diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild |
43 |
index c9ddf6a8d10..7b91fc51e8b 100644 |
44 |
--- a/app-backup/btrbk/btrbk-9999.ebuild |
45 |
+++ b/app-backup/btrbk/btrbk-9999.ebuild |
46 |
@@ -19,13 +19,13 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" |
47 |
HOMEPAGE="https://digint.ch/btrbk/" |
48 |
LICENSE="GPL-3+" |
49 |
SLOT="0" |
50 |
-IUSE="+doc" |
51 |
+IUSE="+mbuffer +doc" |
52 |
|
53 |
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" |
54 |
|
55 |
RDEPEND="dev-lang/perl |
56 |
net-misc/openssh |
57 |
- >=sys-block/mbuffer-20180505 |
58 |
+ mbuffer? ( >=sys-block/mbuffer-20180505 ) |
59 |
>=sys-fs/btrfs-progs-4.12" |
60 |
|
61 |
src_compile() { |
62 |
|
63 |
diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml |
64 |
index d5e883ce662..73a2d8bc134 100644 |
65 |
--- a/app-backup/btrbk/metadata.xml |
66 |
+++ b/app-backup/btrbk/metadata.xml |
67 |
@@ -24,5 +24,6 @@ |
68 |
</upstream> |
69 |
<use> |
70 |
<flag name='pv'>Use sys-apps/pv to enable progress bar functionality</flag> |
71 |
+ <flag name='mbuffer'>Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality</flag> |
72 |
</use> |
73 |
</pkgmetadata> |