summaryrefslogtreecommitdiff
path: root/app-arch/libarchive
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-20 01:06:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-20 01:06:10 +0100
commit6f97f3b697516aeae25033ec37234739fff23fbc (patch)
tree06e8fc580948f1ebb56af172dd293763a2d6e478 /app-arch/libarchive
parent60cdf17f0a24ced43a795eb9e096087f59c9d571 (diff)
gentoo auto-resync : 20:07:2023 - 01:06:10
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r--app-arch/libarchive/Manifest3
-rw-r--r--app-arch/libarchive/files/libarchive-3.7.0-f_namemax-fix.patch19
-rw-r--r--app-arch/libarchive/libarchive-3.7.0.ebuild6
3 files changed, 27 insertions, 1 deletions
diff --git a/app-arch/libarchive/Manifest b/app-arch/libarchive/Manifest
index 957979b27c3a..02af6541b30c 100644
--- a/app-arch/libarchive/Manifest
+++ b/app-arch/libarchive/Manifest
@@ -1,7 +1,8 @@
+AUX libarchive-3.7.0-f_namemax-fix.patch 817 BLAKE2B 8241c22b5fd5065bcb9ba2736d38749d851d36b6b9c91ef3e15f654a8d7c5ba56d5eb18ca29119e5b1430418bc5613bb95ea293bacc0f2d08b6dd5c4b4b24881 SHA512 8bedf9b321ad5e5fb28ca7f84967d77b31ac4e131d65788aa49ed4dd4910ccc6a7e86879692c8f85aac18c78019abb5da72678f28ce393b5d5398d2cbaa05436
DIST libarchive-3.6.2.tar.xz 5213196 BLAKE2B 355b5d402e352dee802513485ce7e047af58d6de5b9bf6a49f3fd8d7b94117007598820ac979585c0da79747e8b63b70ab151131182368a11f97a047cf9029d4 SHA512 a12bb6839e13a0be1099f42c650fc90fbfe62d32ce38bcbb4794206d29b2c782ae1115124d0e5f6b9716514213af32b05e4a42eb196447674a5f9a2a32bee043
DIST libarchive-3.6.2.tar.xz.asc 659 BLAKE2B a4b0035ab2bda4129cdf0c99266cd1e5f4772d90de6e348c75958bc803f369d6abea85d9730c6c9a216466b35697faad8d265fb2c285545887eafde27d828887 SHA512 403e5f7dec14d8b1cc01fad5a249e7b7618a7b45bcb3361ea80d67d76b591b12ce97f2c88b23d5486505dd3b34c1f1643e02235a3e5fc5150ee5735946092efe
DIST libarchive-3.7.0.tar.xz 5243356 BLAKE2B 8fb72a0504038c71584c0416c1d747b7f5c82266518704353e7fdf794bd9f9e2dc22b8fa2538fa8d12a3b9776581077040371d25647fe72c02a4ec5f3bb8d950 SHA512 f69ff7fbec7e909b6a03dd5b01c47316f95a277907409c8fba3930bb90d02cd9a329921eada59ca1afc9a19e34de7eb34e9d535bbc8cd98fb586f723bd0fdba8
DIST libarchive-3.7.0.tar.xz.asc 659 BLAKE2B 5bbd535ce100fbfb7ed46f8d7a6957ebb590c07124de4192ae0b777ad3b3950e6406f1ccda97dde5b6e792be00a039621de21665df9989073ebd0a905299eda1 SHA512 eda3a4347fb8d7f78c8e0a73f621a4a731d46cafc2f46ac59cebe39f3ebd29b1c3db21772c2027b30c5c507f5f732c3876e94f319e62156d2a3146e412cad84d
EBUILD libarchive-3.6.2-r1.ebuild 3842 BLAKE2B a50266df8498cdadbe66f1cf4b2ba0f8b697bca8ef1947581450be154609f39852c1128c417e2edccc0f9d015987ef202bb449af7c73bafdc6450564b662ec21 SHA512 356146837ea33ad2b5476b5676c1bc3d08d702c6c65f763472f67e939a671372420113ad9be986692c88984e2b274f5398eba66162a46d5619b46f696872faf8
-EBUILD libarchive-3.7.0.ebuild 4015 BLAKE2B 51e566d9e83bb923452e2eedfbcd961325562a9d01ac2174c7888e0291d64e0b671803b0f3a0f776645956e14fa260872db9cc883b13853f981a032ed7103a36 SHA512 d263b4d85c2fa965e8d299d9f3a045ada361aa760d04bef876923878895a6f4a75bffb3764e0d2d510b8c2a40e8336e6c3741e1eda43d9eb0c464f453dd217fb
+EBUILD libarchive-3.7.0.ebuild 4157 BLAKE2B 94e092769a55560e780c2691c518cec116c3dd5280a0a9e92b6e651847a331ef3309a9c8f347c4bff9b3f9b66babbd325597922c6e4e8404ca3924d670c5cb4e SHA512 002507e47c759a8c11be7773af5c4de58ad0433c0beac6d1544ea47d58c9377936ec69255fdad6015418cb9fbc65861294e5a6284eafd727eef2e058f4411edd
MISC metadata.xml 1224 BLAKE2B 538433528de5543ad8e912ce0d072340be3f6eeefe16320ef48b3c30a35ebdff4a32055edf89f36e4479ab1468c620871fcb5ba91bd66e81798093b4d0345949 SHA512 9f53d623a02334f675c06edea2829ce52e78d85e3894e684ae920a678eb47046393b7a93808c7e1761d30a69faa5986cd4922ae7ef8f1e2ef221de39869bd12b
diff --git a/app-arch/libarchive/files/libarchive-3.7.0-f_namemax-fix.patch b/app-arch/libarchive/files/libarchive-3.7.0-f_namemax-fix.patch
new file mode 100644
index 000000000000..36ed70fca44b
--- /dev/null
+++ b/app-arch/libarchive/files/libarchive-3.7.0-f_namemax-fix.patch
@@ -0,0 +1,19 @@
+From: https://github.com/libarchive/libarchive/commit/bd074c2531e867078788fe8539376c31119e4e55.patch
+From: Wong Hoi Sing Edison <hswong3i@gmail.com>
+Date: Wed, 19 Jul 2023 16:59:32 +0800
+Subject: [PATCH] Replace `svfs.f_namelen` with `svfs.f_namemax` (#1924)
+
+The equivalent for `f_namelen` in struct statvfs is `f_namemax`.
+
+Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
+--- a/libarchive/archive_read_disk_posix.c
++++ b/libarchive/archive_read_disk_posix.c
+@@ -1866,7 +1866,7 @@ setup_current_filesystem(struct archive_read_disk *a)
+ #if defined(USE_READDIR_R)
+ /* Set maximum filename length. */
+ #if defined(HAVE_STATVFS)
+- t->current_filesystem->name_max = svfs.f_namelen;
++ t->current_filesystem->name_max = svfs.f_namemax;
+ #else
+ t->current_filesystem->name_max = sfs.f_namelen;
+ #endif
diff --git a/app-arch/libarchive/libarchive-3.7.0.ebuild b/app-arch/libarchive/libarchive-3.7.0.ebuild
index d6d88d91c98f..0346154a7172 100644
--- a/app-arch/libarchive/libarchive-3.7.0.ebuild
+++ b/app-arch/libarchive/libarchive-3.7.0.ebuild
@@ -46,8 +46,14 @@ DEPEND="${RDEPEND}
"
BDEPEND="
verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 )
+ elibc_musl? ( sys-libs/queue-standalone )
"
+# Bug #910552 Only required for version 3.7.0
+PATCHES=(
+ "${FILESDIR}/${P}-f_namemax-fix.patch"
+)
+
# false positives (checks for libc-defined hash functions)
QA_CONFIG_IMPL_DECL_SKIP=(
SHA256_Init SHA256_Update SHA256_Final