libarchive: 3.8.0 -> 3.8.1 (#413493)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-17 06:31:02 +02:00
committed by GitHub
+2 -18
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
acl,
attr,
autoreconfHook,
@@ -33,30 +32,15 @@
assert xarSupport -> libxml2 != null;
stdenv.mkDerivation (finalAttrs: {
pname = "libarchive";
version = "3.8.0";
version = "3.8.1";
src = fetchFromGitHub {
owner = "libarchive";
repo = "libarchive";
rev = "v${finalAttrs.version}";
hash = "sha256-nL2p2h+U25fhQQjbj16yhxhU8xEEuhNynIx7SNzl6Mo=";
hash = "sha256-KN5SvQ+/g/OOa+hntMX3D8p5IEWO0smke5WK+DwrOH0=";
};
patches = [
# Remove in next release
#
# Fixes macOS metadata file handling when reading certain tarballs
# (e.g, bsdtar-produced tar containing a file with xattrs whose name is exactly 99 bytes long)
# <https://github.com/libarchive/libarchive/pull/2636>
#
# This also fixes test_copy in the test suite.
(fetchpatch {
name = "reset-header-state-after-mac-metadata.patch";
url = "https://github.com/libarchive/libarchive/commit/5bb36db5e19aecabccec8f351ec22f8c3a8695f0.patch";
hash = "sha256-eNGSunYZ5b0TrkBUtOO7MYGXc+SEn1Sxm8MYyI+4JsQ=";
})
];
outputs = [
"out"
"lib"