curl: 8.6.0 -> 8.7.1

Fixes CVE-2024-2466, CVE-2024-2398, CVE-2024-2379 and CVE-2024-2004.

Changes:
https://curl.se/changes.html#8_7_1

+4 -3
+4 -3
pkgs/tools/networking/curl/default.nix
··· 49 50 stdenv.mkDerivation (finalAttrs: { 51 pname = "curl"; 52 - version = "8.6.0"; 53 54 src = fetchurl { 55 urls = [ 56 "https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.xz" 57 "https://github.com/curl/curl/releases/download/curl-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}/curl-${finalAttrs.version}.tar.xz" 58 ]; 59 - hash = "sha256-PM1V2Rr5UWU534BiX4GMc03G8uz5utozx2dl6ZEh2xU="; 60 }; 61 62 postPatch = '' ··· 196 # nginx-http3 = useThisCurl nixosTests.nginx-http3; 197 nginx-http3 = nixosTests.nginx-http3; 198 pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 199 static = pkgsStatic.curl; 200 } // lib.optionalAttrs (!stdenv.isDarwin) { 201 fetchpatch = tests.fetchpatch.simple.override { fetchpatch = (fetchpatch.override { fetchurl = useThisCurl fetchurl; }) // { version = 1; }; }; ··· 210 maintainers = with maintainers; [ lovek323 ]; 211 platforms = platforms.all; 212 # Fails to link against static brotli or gss 213 - broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport); 214 pkgConfigModules = [ "libcurl" ]; 215 mainProgram = "curl"; 216 };
··· 49 50 stdenv.mkDerivation (finalAttrs: { 51 pname = "curl"; 52 + version = "8.7.1"; 53 54 src = fetchurl { 55 urls = [ 56 "https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.xz" 57 "https://github.com/curl/curl/releases/download/curl-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}/curl-${finalAttrs.version}.tar.xz" 58 ]; 59 + hash = "sha256-b+oqrGpGEPvQQAr7C83b5yWKZMY/H2jlhV68DGWXEM0="; 60 }; 61 62 postPatch = '' ··· 196 # nginx-http3 = useThisCurl nixosTests.nginx-http3; 197 nginx-http3 = nixosTests.nginx-http3; 198 pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 199 + } // lib.optionalAttrs (stdenv.hostPlatform.system != "x86_64-darwin") { 200 static = pkgsStatic.curl; 201 } // lib.optionalAttrs (!stdenv.isDarwin) { 202 fetchpatch = tests.fetchpatch.simple.override { fetchpatch = (fetchpatch.override { fetchurl = useThisCurl fetchurl; }) // { version = 1; }; }; ··· 211 maintainers = with maintainers; [ lovek323 ]; 212 platforms = platforms.all; 213 # Fails to link against static brotli or gss 214 + broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport || stdenv.hostPlatform.system == "x86_64-darwin"); 215 pkgConfigModules = [ "libcurl" ]; 216 mainProgram = "curl"; 217 };