Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/
Date: Sun, 27 Oct 2019 17:11:26
Message-Id: 1572196276.e579b8f0f365f663bc64c53ad70d282763d09aa3.mgorny@gentoo
1 commit: e579b8f0f365f663bc64c53ad70d282763d09aa3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 27 13:28:26 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 27 17:11:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e579b8f0
7
8 app-arch/libarchive: Add explicit flag for blake2 (libb2)
9
10 Closes: https://bugs.gentoo.org/698254
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12 Closes: https://github.com/gentoo/gentoo/pull/13466
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 app-arch/libarchive/libarchive-3.4.0.ebuild | 4 +++-
16 app-arch/libarchive/metadata.xml | 3 +++
17 2 files changed, 6 insertions(+), 1 deletion(-)
18
19 diff --git a/app-arch/libarchive/libarchive-3.4.0.ebuild b/app-arch/libarchive/libarchive-3.4.0.ebuild
20 index ded576e7b67..136aaa944c9 100644
21 --- a/app-arch/libarchive/libarchive-3.4.0.ebuild
22 +++ b/app-arch/libarchive/libarchive-3.4.0.ebuild
23 @@ -11,10 +11,11 @@ SRC_URI="https://www.libarchive.org/downloads/${P}.tar.gz"
24 LICENSE="BSD BSD-2 BSD-4 public-domain"
25 SLOT="0/13"
26 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
27 -IUSE="acl +bzip2 +e2fsprogs expat +iconv kernel_linux libressl lz4 +lzma lzo nettle static-libs +threads xattr +zlib zstd"
28 +IUSE="acl blake2 +bzip2 +e2fsprogs expat +iconv kernel_linux libressl lz4 +lzma lzo nettle static-libs +threads xattr +zlib zstd"
29
30 RDEPEND="
31 acl? ( virtual/acl[${MULTILIB_USEDEP}] )
32 + blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] )
33 bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
34 expat? ( dev-libs/expat[${MULTILIB_USEDEP}] )
35 !expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
36 @@ -57,6 +58,7 @@ multilib_src_configure() {
37 $(use_enable acl)
38 $(use_enable static-libs static)
39 $(use_enable xattr)
40 + $(use_with blake2 libb2)
41 $(use_with bzip2 bz2lib)
42 $(use_with expat)
43 $(use_with !expat xml2)
44
45 diff --git a/app-arch/libarchive/metadata.xml b/app-arch/libarchive/metadata.xml
46 index 1da101e8d49..82253c34ca0 100644
47 --- a/app-arch/libarchive/metadata.xml
48 +++ b/app-arch/libarchive/metadata.xml
49 @@ -9,6 +9,9 @@
50 C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats.
51 </longdescription>
52 <use>
53 + <flag name="blake2">
54 + Enable Blake2 hash support via <pkg>app-crypt/libb2</pkg>.
55 + </flag>
56 <flag name="bzip2">
57 Allow accessing bzip2-compressed archives through libbz2 (which
58 comes with <pkg>app-arch/bzip2</pkg>). This only affects