From 05fb388ea76b1b42426f2d7b81e82cd097f66aae Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Tue, 10 Jun 2025 20:10:05 +0200 Subject: [PATCH] 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. --- pkgs/by-name/li/libapparmor/package.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/li/libapparmor/package.nix b/pkgs/by-name/li/libapparmor/package.nix index 37f941e3dac6..caba93785756 100644 --- a/pkgs/by-name/li/libapparmor/package.nix +++ b/pkgs/by-name/li/libapparmor/package.nix @@ -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