libapparmor: 4.1.0 -> 4.1.1

Release Notes: https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.1
Diff: https://gitlab.com/apparmor/apparmor/-/commits/v4.1.1

Contains partial fixes for musl, some improvements to test coverage,
and a couple minor fixes to oversights in the 4.1.0 release.
This commit is contained in:
Grimmauld
2025-06-10 20:10:05 +02:00
parent d665fb722a
commit 05fb388ea7
+2 -14
View File
@@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitLab,
fetchpatch2,
autoreconfHook,
autoconf-archive,
pkg-config,
@@ -33,27 +32,16 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libapparmor";
version = "4.1.0";
version = "4.1.1";
src = fetchFromGitLab {
owner = "apparmor";
repo = "apparmor";
tag = "v${finalAttrs.version}";
hash = "sha256-oj6mGw/gvoRGpJqw72Lk6LJuurg8efjiV1pvZYbXz6A=";
hash = "sha256-f9FgowlV4lZKKuddGCirqbajhIGyTUQc7IFHSvqY6eQ=";
};
sourceRoot = "${finalAttrs.src.name}/libraries/libapparmor";
patches = [
# avoid creating non-reproducible pycache in check phase
# https://gitlab.com/apparmor/apparmor/-/merge_requests/1697
# remove on next release
(fetchpatch2 {
url = "https://gitlab.com/apparmor/apparmor/-/commit/b50ee983522f0efb5920676db545ae25b2e8998d.patch";
hash = "sha256-AXl0osJHX4uUGppiOuHjpvlSRChqGyRCqv+8TYoLYMk=";
stripLen = 2;
})
];
postPatch = ''
substituteInPlace swig/perl/Makefile.am \
--replace-fail install_vendor install_site