From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/
Date: Fri, 26 Apr 2024 18:55:14 +0000 (UTC) [thread overview]
Message-ID: <1714157709.5a55418cf5f7ae785d7e6ece421131283e5e4eda.mgorny@gentoo> (raw)
commit: 5a55418cf5f7ae785d7e6ece421131283e5e4eda
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 18:54:01 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 18:55:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a55418c
app-arch/libarchive: Bump to 3.7.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-arch/libarchive/Manifest | 2 +
app-arch/libarchive/libarchive-3.7.4.ebuild | 176 ++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/app-arch/libarchive/Manifest b/app-arch/libarchive/Manifest
index 441ef7e81de2..2baf43a36402 100644
--- a/app-arch/libarchive/Manifest
+++ b/app-arch/libarchive/Manifest
@@ -2,3 +2,5 @@ DIST libarchive-3.7.2.tar.xz 5237056 BLAKE2B 7221db4811a965ee61d879a260348036362
DIST libarchive-3.7.2.tar.xz.asc 659 BLAKE2B 7141baf007b89b7ee38ec817b648cef5efb4d694953fcd49f6ed2dc95cf4da2d9259262b9eb4f01ff5d4ecee1257b266a8c6687a8e8ef8790121048229f1ad22 SHA512 c2ce850088245d7723720737d74d1cc1819984d01b3f9e4ed96b0757f4c6d6d511b78792181a12400c563632d74edcd0c2c3a4b7527cba40ada7ef74488078fc
DIST libarchive-3.7.3.tar.xz 5428992 BLAKE2B c53672c8cdbe8f406f00bf4fc6b36e4dffcd23a33909dbec6ef06b86dceefc6062840eff629ba3bd19c36121720e16a8ba10dfa1a35ebed186cc92eb144f55d0 SHA512 984e7c61010b9555bafe54d5f52ff2d089e28afe5cea3a14615e2aca8539075293789d18f17f8915882ec328bcbdca7b3d1536d6dc19620ca226e8b6d802ef63
DIST libarchive-3.7.3.tar.xz.asc 659 BLAKE2B bfe18e36ef2e96ad46ab2cd1236701b4b80f41ebb840681c1baf7eac72f38444cc0619645fac17d3acdda6553b294483d87f0a92d9575138d117934e838d85d2 SHA512 9f340b41fc9db34f1c4e0823d559b666196d3031249e05981cfb43a401aa8a85710f14ba1cc784ab3ca367439e4c485668dffe7020f38f50b3ed35810df504a1
+DIST libarchive-3.7.4.tar.xz 5417660 BLAKE2B 128f72235da61e112201046c0cfe62a8c580cf73b426c4cfe270ae913356f6ad430ba33a663dcd617b082c7baf45ada8d1c9928c45fea16fd57e8020693a60bc SHA512 84bc346ba15861ab10aa54a3d687de955178e4efbe12bf3a49a467181e7f819673949f131f4c8338de8ed6e319a8565af376e5a540380bda08e60dffbc7c8686
+DIST libarchive-3.7.4.tar.xz.asc 659 BLAKE2B 77e705194f6e9a9f97da0ac43c9b3157e1a8a490d26da34079e4ef3f2bcf98d6f6e95567e110287fab0ec26d3fc27e5bbeff7569c9ca138de2caf47af737c6d0 SHA512 82caa18a78661ea717ce93cdcb0806eed48450c20fb4d45cb4c33001f2d4d0fb5a791552acbb24ad8c41772e1d0b66c76c9cb86946bc862109721a0c986f5331
diff --git a/app-arch/libarchive/libarchive-3.7.4.ebuild b/app-arch/libarchive/libarchive-3.7.4.ebuild
new file mode 100644
index 000000000000..4e1429fdc70c
--- /dev/null
+++ b/app-arch/libarchive/libarchive-3.7.4.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit libtool multilib-minimal toolchain-funcs verify-sig
+
+DESCRIPTION="Multi-format archive and compression library"
+HOMEPAGE="
+ https://www.libarchive.org/
+ https://github.com/libarchive/libarchive/
+"
+SRC_URI="
+ https://www.libarchive.de/downloads/${P}.tar.xz
+ verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc )
+"
+
+LICENSE="BSD BSD-2 BSD-4 public-domain"
+SLOT="0/13"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="
+ acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle
+ static-libs test xattr +zstd
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ sys-libs/zlib[${MULTILIB_USEDEP}]
+ acl? ( virtual/acl[${MULTILIB_USEDEP}] )
+ blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] )
+ bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
+ expat? ( dev-libs/expat[${MULTILIB_USEDEP}] )
+ !expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
+ iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+ kernel_linux? (
+ xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] )
+ )
+ dev-libs/openssl:0=[${MULTILIB_USEDEP}]
+ lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
+ lzma? ( >=app-arch/xz-utils-5.2.5-r1[${MULTILIB_USEDEP}] )
+ lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] )
+ nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] )
+ zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? (
+ virtual/os-headers
+ e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
+ )
+ test? (
+ app-arch/lrzip
+ app-arch/lz4
+ app-arch/lzip
+ app-arch/lzop
+ app-arch/xz-utils
+ app-arch/zstd
+ lzma? ( app-arch/xz-utils[extra-filters(+)] )
+ )
+"
+BDEPEND="
+ verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 )
+ elibc_musl? ( sys-libs/queue-standalone )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libarchive.org.asc
+
+# false positives (checks for libc-defined hash functions)
+QA_CONFIG_IMPL_DECL_SKIP=(
+ SHA256_Init SHA256_Update SHA256_Final
+ SHA384_Init SHA384_Update SHA384_Final
+ SHA512_Init SHA512_Update SHA512_Final
+)
+
+PATCHES=(
+ # https://github.com/libarchive/libarchive/issues/2069
+ # (we can simply update the command since we don't support old lrzip)
+ "${FILESDIR}/${PN}-3.7.2-lrzip.patch"
+)
+
+src_prepare() {
+ default
+
+ # Needed for flags to be respected w/ LTO
+ elibtoolize
+}
+
+multilib_src_configure() {
+ export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
+
+ local myconf=(
+ $(use_enable acl)
+ $(use_enable static-libs static)
+ $(use_enable xattr)
+ $(use_with blake2 libb2)
+ $(use_with bzip2 bz2lib)
+ $(use_with expat)
+ $(use_with !expat xml2)
+ $(use_with iconv)
+ $(use_with lz4)
+ $(use_with lzma)
+ $(use_with lzo lzo2)
+ $(use_with nettle)
+ --with-zlib
+ $(use_with zstd)
+
+ # Windows-specific
+ --without-cng
+ )
+ if multilib_is_native_abi ; then
+ myconf+=(
+ --enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
+ --enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
+ --enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
+ --enable-bsdunzip="$(tc-is-static-only && echo static || echo shared)"
+ )
+ else
+ myconf+=(
+ --disable-bsdcat
+ --disable-bsdcpio
+ --disable-bsdtar
+ --disable-bsdunzip
+ )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi ; then
+ emake
+ else
+ emake libarchive.la
+ fi
+}
+
+src_test() {
+ mkdir -p "${T}"/bin || die
+ # tests fail when lbzip2[symlink] is used in place of ref bunzip2
+ ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die
+ # workaround lrzip broken on 32-bit arches with >= 10 threads
+ # https://bugs.gentoo.org/927766
+ cat > "${T}"/bin/lrzip <<-EOF || die
+ #!/bin/sh
+ exec "$(type -P lrzip)" -p1 "\${@}"
+ EOF
+ chmod +x "${T}/bin/lrzip" || die
+ local -x PATH=${T}/bin:${PATH}
+ multilib-minimal_src_test
+}
+
+multilib_src_test() {
+ # sandbox is breaking long symlink behavior
+ local -x SANDBOX_ON=0
+ local -x LD_PRELOAD=
+ # some locales trigger different output that breaks tests
+ local -x LC_ALL=C.UTF-8
+ emake check
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi ; then
+ emake DESTDIR="${D}" install
+ else
+ local install_targets=(
+ install-includeHEADERS
+ install-libLTLIBRARIES
+ install-pkgconfigDATA
+ )
+ emake DESTDIR="${D}" "${install_targets[@]}"
+ fi
+
+ # Libs.private: should be used from libarchive.pc instead
+ find "${ED}" -type f -name "*.la" -delete || die
+ # https://github.com/libarchive/libarchive/issues/1766
+ sed -e '/Requires\.private/s:iconv::' \
+ -i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die
+}
next reply other threads:[~2024-04-26 18:55 UTC|newest]
Thread overview: 254+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-26 18:55 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-03 4:40 [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/ Sam James
2024-11-02 12:28 Arthur Zamarin
2024-11-02 9:51 Arthur Zamarin
2024-11-02 7:52 Sam James
2024-11-02 7:52 Sam James
2024-11-02 7:52 Sam James
2024-11-02 7:52 Sam James
2024-10-30 22:09 Sam James
2024-10-13 14:58 Michał Górny
2024-09-24 17:51 Sam James
2024-09-24 7:10 Arthur Zamarin
2024-09-24 7:09 Arthur Zamarin
2024-09-24 7:08 Arthur Zamarin
2024-09-24 7:08 Arthur Zamarin
2024-09-24 6:18 Sam James
2024-09-24 6:14 Sam James
2024-09-24 5:32 Michał Górny
2024-09-23 10:55 Sam James
2024-09-18 9:37 Arthur Zamarin
2024-09-18 9:37 Arthur Zamarin
2024-09-18 6:36 Arthur Zamarin
2024-09-18 6:36 Arthur Zamarin
2024-09-18 6:36 Arthur Zamarin
2024-09-18 6:36 Arthur Zamarin
2024-06-15 8:15 Michał Górny
2024-05-25 17:31 Arthur Zamarin
2024-05-22 11:40 Michał Górny
2024-05-22 11:40 Michał Górny
2024-05-22 9:22 Michał Górny
2024-05-22 9:22 Michał Górny
2024-05-22 9:10 Michał Górny
2024-05-22 9:10 Michał Górny
2024-05-11 15:19 Sam James
2024-04-27 8:04 Arthur Zamarin
2024-04-27 8:04 Arthur Zamarin
2024-04-27 7:40 Michał Górny
2024-04-27 7:40 Michał Górny
2024-04-27 7:40 Michał Górny
2024-04-27 7:40 Michał Górny
2024-04-27 6:53 Michał Górny
2024-04-17 6:54 Sam James
2024-04-10 4:16 Ionen Wolkens
2024-04-09 6:01 Michał Górny
2024-03-26 20:17 Ionen Wolkens
2024-03-26 20:17 Ionen Wolkens
2024-03-25 15:21 Michał Górny
2024-03-09 20:24 Sam James
2024-02-29 7:15 Sam James
2024-02-17 12:26 Jakov Smolić
2024-02-17 9:55 Arthur Zamarin
2024-02-17 6:10 Michał Górny
2024-02-16 12:11 Michał Górny
2023-12-15 11:17 Michał Górny
2023-12-15 11:12 Arthur Zamarin
2023-12-02 17:26 Arthur Zamarin
2023-12-02 11:48 Arthur Zamarin
2023-12-02 11:01 Arthur Zamarin
2023-12-02 10:43 Michał Górny
2023-12-02 10:21 Arthur Zamarin
2023-12-02 10:15 Arthur Zamarin
2023-12-02 10:14 Arthur Zamarin
2023-08-02 22:08 Sam James
2023-08-02 15:11 Sam James
2023-08-01 19:42 Arthur Zamarin
2023-07-30 16:57 Sam James
2023-07-30 12:46 Sam James
2023-07-30 12:46 Sam James
2023-07-30 8:55 Sam James
2023-07-30 3:14 Michał Górny
2023-07-19 8:06 Michał Górny
2023-05-30 13:55 Fabian Groffen
2023-04-08 18:05 Arthur Zamarin
2023-04-08 17:51 Arthur Zamarin
2023-04-08 17:45 Arthur Zamarin
2023-04-08 17:42 Arthur Zamarin
2023-04-08 17:40 Arthur Zamarin
2023-04-08 17:39 Arthur Zamarin
2023-04-08 17:31 Arthur Zamarin
2023-04-08 16:59 Arthur Zamarin
2023-02-28 17:08 Michał Górny
2023-02-28 16:36 Michał Górny
2023-02-28 16:36 Michał Górny
2022-12-09 16:31 Michał Górny
2022-12-09 16:31 Michał Górny
2022-09-04 12:25 Michał Górny
2022-04-29 7:59 WANG Xuerui
2022-04-16 19:35 Sam James
2022-04-16 15:48 Michał Górny
2022-04-16 4:54 Arthur Zamarin
2022-04-16 4:54 Arthur Zamarin
2022-04-16 4:47 Arthur Zamarin
2022-04-14 8:11 Agostino Sarubbo
2022-04-14 8:10 Agostino Sarubbo
2022-04-14 8:09 Agostino Sarubbo
2022-04-09 17:57 Agostino Sarubbo
2022-04-09 17:56 Agostino Sarubbo
2022-04-08 14:27 Michał Górny
2022-03-26 19:11 Arthur Zamarin
2022-03-25 7:48 Agostino Sarubbo
2022-03-25 7:47 Agostino Sarubbo
2022-03-25 7:46 Agostino Sarubbo
2022-03-24 19:03 Jakov Smolić
2022-03-24 19:03 Jakov Smolić
2022-03-24 19:03 Jakov Smolić
2022-03-24 18:07 Michał Górny
2022-02-12 10:20 Michał Górny
2022-02-11 12:25 Sam James
2022-02-10 0:42 Sam James
2022-02-09 14:14 Michał Górny
2022-02-09 6:53 Agostino Sarubbo
2022-02-09 1:25 Sam James
2022-02-09 1:23 Sam James
2022-02-08 18:31 Arthur Zamarin
2022-02-08 17:57 Sam James
2022-02-08 17:55 Sam James
2022-02-08 10:05 Michał Górny
2021-09-21 19:11 Michał Górny
2021-09-21 17:44 Sam James
2021-09-07 2:51 Sam James
2021-09-01 9:33 Agostino Sarubbo
2021-08-27 20:04 Sam James
2021-08-27 20:04 Sam James
2021-08-27 5:12 Agostino Sarubbo
2021-08-27 5:10 Agostino Sarubbo
2021-08-23 6:07 Michał Górny
2021-07-16 22:11 David Seifert
2021-04-30 11:28 Mikle Kolyada
2021-01-17 15:06 Michał Górny
2021-01-17 11:41 Sergei Trofimovich
2021-01-15 0:01 Sam James
2021-01-14 23:59 Sam James
2021-01-12 22:37 Sam James
2021-01-12 18:15 Sam James
2021-01-11 17:34 Sergei Trofimovich
2021-01-11 15:23 Michał Górny
2021-01-11 8:01 Sam James
2021-01-10 14:26 Sam James
2021-01-10 12:42 Sam James
2021-01-06 12:52 Fabian Groffen
2020-12-27 13:34 Fabian Groffen
2020-12-26 8:26 Michał Górny
2020-12-01 11:29 Michał Górny
2020-08-05 15:18 Michał Górny
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 14:06 Agostino Sarubbo
2020-08-05 14:04 Agostino Sarubbo
2020-08-05 14:02 Agostino Sarubbo
2020-08-04 15:11 Sam James
2020-08-03 16:34 Sergei Trofimovich
2020-08-01 9:14 Sergei Trofimovich
2020-07-31 19:34 Sam James
2020-05-20 9:30 Michał Górny
2020-05-20 9:30 Michał Górny
2020-03-05 12:49 Agostino Sarubbo
2020-03-02 11:34 Sergei Trofimovich
2020-02-26 16:32 Sergei Trofimovich
2020-02-24 12:50 Agostino Sarubbo
2020-02-24 11:43 Agostino Sarubbo
2020-02-24 11:28 Agostino Sarubbo
2020-02-24 9:02 Agostino Sarubbo
2020-02-22 14:19 Sergei Trofimovich
2020-02-22 12:20 Mart Raudsepp
2020-02-21 15:57 Agostino Sarubbo
2020-02-21 10:08 Michał Górny
2020-02-12 5:55 Michał Górny
2020-01-27 19:36 Michał Górny
2019-11-22 9:37 Mikle Kolyada
2019-11-22 9:37 Mikle Kolyada
2019-11-22 9:37 Mikle Kolyada
2019-11-14 11:55 Agostino Sarubbo
2019-11-12 15:08 Agostino Sarubbo
2019-11-12 7:25 Sergei Trofimovich
2019-11-08 8:35 Mikle Kolyada
2019-11-06 20:11 Sergei Trofimovich
2019-11-05 9:27 Agostino Sarubbo
2019-11-05 8:24 Agostino Sarubbo
2019-11-05 0:54 Aaron Bauman
2019-10-27 17:11 Michał Górny
2019-10-12 12:03 Michał Górny
2019-08-30 8:14 Lars Wendler
2019-07-29 14:51 Mikle Kolyada
2019-07-29 14:51 Mikle Kolyada
2019-06-04 18:51 Agostino Sarubbo
2019-05-26 7:04 Sergei Trofimovich
2019-05-14 8:08 Sergei Trofimovich
2019-05-13 0:38 Thomas Deutschmann
2019-05-12 22:08 Anthony G. Basile
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-05-12 21:48 Sergei Trofimovich
2019-05-12 18:13 Aaron Bauman
2019-02-19 12:27 Louis Sautier
2019-01-22 14:10 Michał Górny
2019-01-22 14:10 Michał Górny
2019-01-22 13:37 Michał Górny
2019-01-22 13:37 Michał Górny
2018-09-15 21:32 Lars Wendler
2018-06-28 14:47 Mikle Kolyada
2018-04-30 17:44 Mikle Kolyada
2018-03-02 20:35 Mart Raudsepp
2018-03-02 19:19 Michał Górny
2017-10-15 13:20 Sergei Trofimovich
2017-07-18 8:09 Lars Wendler
2017-07-18 8:09 Lars Wendler
2017-06-08 5:07 Markus Meier
2017-06-06 11:31 Agostino Sarubbo
2017-03-01 13:05 Michael Weber
2017-02-28 14:59 Lars Wendler
2017-02-24 10:35 Lars Wendler
2017-02-24 10:35 Lars Wendler
2017-02-18 12:05 Jeroen Roovers
2017-02-16 18:47 Michael Weber
2017-02-15 17:51 Markus Meier
2017-02-15 14:23 Tobias Klausmann
2017-02-14 15:39 Agostino Sarubbo
2017-02-13 11:13 Agostino Sarubbo
2017-01-15 9:31 Aaron Bauman
2017-01-01 9:56 Fabian Groffen
2016-12-26 16:50 Jeroen Roovers
2016-12-25 22:00 Fabian Groffen
2016-12-25 16:58 Fabian Groffen
2016-12-25 15:47 Fabian Groffen
2016-12-20 9:44 Agostino Sarubbo
2016-11-29 17:41 Markus Meier
2016-11-23 13:12 Tobias Klausmann
2016-11-21 12:43 Agostino Sarubbo
2016-11-21 12:42 Agostino Sarubbo
2016-10-31 22:39 Lars Wendler
2016-09-29 13:28 Agostino Sarubbo
2016-09-29 12:35 Agostino Sarubbo
2016-09-29 9:35 Agostino Sarubbo
2016-08-05 18:33 NP Hardass
2016-07-27 20:26 Markus Meier
2016-07-26 17:56 NP Hardass
2016-07-18 8:50 Agostino Sarubbo
2016-07-18 8:50 Agostino Sarubbo
2016-07-17 19:37 Jeroen Roovers
2016-07-17 11:52 Tobias Klausmann
2016-07-05 20:07 NP Hardass
2016-07-02 8:12 Fabian Groffen
2016-07-02 0:04 William Hubbs
2016-05-11 4:45 NP Hardass
2016-05-11 4:02 NP Hardass
2016-04-11 13:47 Agostino Sarubbo
2016-04-11 13:46 Agostino Sarubbo
2016-03-31 9:25 Agostino Sarubbo
2016-03-30 8:34 Agostino Sarubbo
2016-03-30 8:30 Agostino Sarubbo
2016-03-29 10:18 Agostino Sarubbo
2016-03-29 10:17 Agostino Sarubbo
2016-03-29 2:26 NP Hardass
2016-03-21 21:48 Anthony G. Basile
2015-09-20 13:02 Julian Ospald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1714157709.5a55418cf5f7ae785d7e6ece421131283e5e4eda.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox