0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00
Thomas Gerbet 2025-05-16 01:49:19 +02:00
parent b21c2d0de4
commit e50edd162b

View file

@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchurl, fetchurl,
fetchpatch,
autoreconfHook, autoreconfHook,
dbus, dbus,
file, file,
@ -78,7 +79,20 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-ElfOvjJ+eQC34rhMD7MwqpCBXkVYmM0vlB9DCO0r47w="; hash = "sha256-ElfOvjJ+eQC34rhMD7MwqpCBXkVYmM0vlB9DCO0r47w=";
}; };
patches = optionals stdenv.hostPlatform.isMusl [ patches =
[
(fetchpatch {
name = "CVE-2025-32366.patch";
url = "https://git.kernel.org/pub/scm/network/connman/connman.git/patch/?id=8d3be0285f1d4667bfe85dba555c663eb3d704b4";
hash = "sha256-kPb4pZVWvnvTUcpc4wRc8x/pMUTXGIywj3w8IYKRTBs=";
})
(fetchpatch {
name = "CVE-2025-32743.patch";
url = "https://git.kernel.org/pub/scm/network/connman/connman.git/patch/?id=d90b911f6760959bdf1393c39fe8d1118315490f";
hash = "sha256-odkjYC/iM6dTIJx2WM/KKotXdTtgv8NMFNJMzx5+YU4=";
})
]
++ optionals stdenv.hostPlatform.isMusl [
# Fix Musl build by avoiding a Glibc-only API. # Fix Musl build by avoiding a Glibc-only API.
(fetchurl { (fetchurl {
url = "https://git.alpinelinux.org/aports/plain/community/connman/libresolv.patch?id=e393ea84386878cbde3cccadd36a30396e357d1e"; url = "https://git.alpinelinux.org/aports/plain/community/connman/libresolv.patch?id=e393ea84386878cbde3cccadd36a30396e357d1e";