Merge pull request #173268 from DeterminateSystems/podman

[21.11] podman: add patch for CVE-2022-27649
This commit is contained in:
adisbladis
2022-05-16 22:21:35 +08:00
committed by GitHub

View File

@@ -13,6 +13,7 @@
, systemd
, go-md2man
, nixosTests
, fetchpatch
}:
buildGoModule rec {
@@ -26,6 +27,15 @@ buildGoModule rec {
sha256 = "sha256-SZHonZdUTJisFMjvUBst1HErvKWEcYZYhK++G+S4sEg=";
};
patches = [
# Fix for capabilities bug: https://github.com/advisories/GHSA-qvf8-p83w-v58j
(fetchpatch {
name = "CVE-2022-27649.patch";
url = "https://github.com/containers/podman/commit/aafa80918a245edcbdaceb1191d749570f1872d0.patch";
sha256 = "sha256-d/5PGQ8yjLaE+6Sqo8p0yHe+mbrENFsbsaDXOF7cMsU=";
})
];
vendorSha256 = null;
doCheck = false;