Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging-next-24.05 iteration 3 - 2024-07-30 #331031

Merged
merged 62 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5b3bb36
haskellPackages: Pass ghc-options in generic-builder when cross-compi…
wolfgangwalther Jun 4, 2024
0fae74a
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 12, 2024
36875eb
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 13, 2024
9558ddd
ruby_3_3: 3.3.3 -> 3.3.4
anthonyroussel Jul 12, 2024
4c5a38e
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 14, 2024
97587d8
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 15, 2024
6e2d55f
meson: 1.4.1 -> 1.4.2
alyssais Jul 15, 2024
4a48f4c
systemd: 255.6 -> 255.9
arianvp Jul 15, 2024
4caa91f
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 16, 2024
7c11a98
Merge pull request #327450 from arianvp/systemd-2559
ElvishJerricco Jul 16, 2024
16f191a
Merge pull request #327343 from alyssais/meson-1.4.2
JohnRTitor Jul 16, 2024
4f8be32
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 17, 2024
aaa90d2
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 18, 2024
a1c8a00
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 19, 2024
707fb80
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 20, 2024
7dca698
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 20, 2024
c5e0ce3
gtk3: 3.24.42 -> 3.24.43
LeSuisse Jul 18, 2024
a10cd5b
orc: 0.4.38 -> 0.4.39
r-ryantm Jul 20, 2024
26ef9b6
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 21, 2024
154a0b7
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 21, 2024
be87d43
systemd: re-enable bpf-framework
martinetd Jul 20, 2024
67f94c8
Merge pull request #328606 from NixOS/backport-328259-to-staging-24.05
risicle Jul 21, 2024
85d8ad1
Merge pull request #328663 from NixOS/backport-328556-to-staging-24.05
risicle Jul 21, 2024
36e85df
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 22, 2024
edaf1cb
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 22, 2024
b66b43c
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 23, 2024
0266514
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 23, 2024
af7fd00
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 24, 2024
0f1739b
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 24, 2024
f997721
Merge pull request #328905 from NixOS/backport-328648-to-staging-24.05
nikstur Jul 24, 2024
99892b2
curl: fix CVE-2024-6197
mweinelt Jul 24, 2024
9a6422b
python3Packages.aiosmtpd: 1.4.5 -> 1.4.6
mweinelt Jun 19, 2024
7b530ea
nss: 3.90.2 -> 3.101.1
mweinelt Jun 29, 2024
4f67a6f
Merge pull request #329756 from NixOS/backport-323282-to-staging-24.05
mweinelt Jul 24, 2024
9f9035c
Merge pull request #329732 from risicle/ris-aiosmtpd-1.4.6-r24.05
mweinelt Jul 24, 2024
1696845
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 25, 2024
27e6268
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 25, 2024
9352cc4
python312Packages.aiosmtpd: add some key reverse-dependencies to pass…
risicle Jul 24, 2024
1e1565e
Merge pull request #329966 from NixOS/backport-329755-to-staging-24.05
risicle Jul 25, 2024
7f7fad7
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 26, 2024
83af2e9
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 26, 2024
0c9d5e7
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 27, 2024
5168e23
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 27, 2024
758441e
Merge #326891: ruby_3_3: 3.3.3 -> 3.3.4
vcunat Jul 27, 2024
9a53f23
Merge #329643: curl: fix CVE-2024-6197
vcunat Jul 27, 2024
6b7717b
Merge #321255: haskellPackages: Pass ghc-options in generic-builder w…
vcunat Jul 27, 2024
5cdc534
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 28, 2024
e4a734f
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 28, 2024
339d391
separateDebugInfo: tell rustc not to strip
alyssais Jul 11, 2024
1daaa1f
nss: 3.101.1 -> 3.101.2
mweinelt Jul 24, 2024
687683a
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 29, 2024
7d2d89a
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 29, 2024
3459adb
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 30, 2024
6669a0e
Merge staging-next-24.05 into staging-24.05
github-actions[bot] Jul 30, 2024
baf23a0
Merge #330612: nss: 3.101.1 -> 3.101.2
vcunat Jul 30, 2024
0d3e880
Merge branch 'staging-24.05' into staging-next-24.05
vcunat Jul 30, 2024
bf49565
Merge release-24.05 into staging-next-24.05
github-actions[bot] Jul 31, 2024
0876149
Merge release-24.05 into staging-next-24.05
github-actions[bot] Aug 1, 2024
febc9a2
Merge release-24.05 into staging-next-24.05
github-actions[bot] Aug 2, 2024
22bc999
Merge release-24.05 into staging-next-24.05
github-actions[bot] Aug 3, 2024
d75a7c5
Merge release-24.05 into staging-next-24.05
github-actions[bot] Aug 4, 2024
107d92e
Merge release-24.05 into staging-next-24.05
github-actions[bot] Aug 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/build-support/setup-hooks/separate-debug-info.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export NIX_SET_BUILD_ID=1
export NIX_LDFLAGS+=" --compress-debug-sections=zlib"
export NIX_CFLAGS_COMPILE+=" -ggdb -Wa,--compress-debug-sections"
export NIX_RUSTFLAGS+=" -g"
export NIX_RUSTFLAGS+=" -g -C strip=none"

fixupOutputHooks+=(_separateDebugInfo)

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/me/meson/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ let
in
python3.pkgs.buildPythonApplication rec {
pname = "meson";
version = "1.4.1";
version = "1.4.2";

src = fetchFromGitHub {
owner = "mesonbuild";
repo = "meson";
rev = "refs/tags/${version}";
hash = "sha256-RBE4AUF5fymUA87JEDWtpUFXmVPFzdhZgDI7/kscTx4=";
hash = "sha256-IdhvhQHf4fEUmJo8CqvUCiyvH/55C+h+eCmOWhM/1ig=";
};

patches = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/orc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
inherit (lib) optional optionals;
in stdenv.mkDerivation rec {
pname = "orc";
version = "0.4.38";
version = "0.4.39";

src = fetchurl {
url = "https://gstreamer.freedesktop.org/src/orc/${pname}-${version}.tar.xz";
sha256 = "sha256-pVqY1HclZ6o/rtj7hNVAw9t36roW0+LhCwRPvJIoZo0=";
sha256 = "sha256-M+0jh/Sbgl+hucOwBy4F8lkUG4lUdK0IWuURQ9MEDMA=";
};

postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
Expand Down
5 changes: 1 addition & 4 deletions pkgs/development/haskell-modules/generic-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ let

makeGhcOptions = opts: lib.concatStringsSep " " (map (opt: "--ghc-option=${opt}") opts);

crossCabalFlagsString =
lib.optionalString isCross (" " + lib.concatStringsSep " " crossCabalFlags);

buildFlagsString = optionalString (buildFlags != []) (" " + concatStringsSep " " buildFlags);

defaultConfigureFlags = [
Expand Down Expand Up @@ -590,7 +587,7 @@ stdenv.mkDerivation ({
find dist/build -exec touch -d '1970-01-01T00:00:00Z' {} +
''
+ ''
${setupCommand} build ${buildTarget}${crossCabalFlagsString}${buildFlagsString}
${setupCommand} build ${buildTarget}${buildFlagsString}
runHook postBuild
'';

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/ruby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ in {
};

ruby_3_3 = generic {
version = rubyVersion "3" "3" "3" "";
hash = "sha256-g8BbIXfunDNbYxspuMB3tHcBZtAvpSfzqfakDRPzzOI=";
version = rubyVersion "3" "3" "4" "";
hash = "sha256-/mow+X1U4Cl2jy3fSSNpnEFs28Om6W2z4tVxbH25ajQ=";
cargoHash = "sha256-GeelTMRFIyvz1QS2L+Q3KAnyQy7jc0ejhx3TdEFVEbk=";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/gtk/3.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ in

stdenv.mkDerivation (finalAttrs: {
pname = "gtk+3";
version = "3.24.42";
version = "3.24.43";

outputs = [ "out" "dev" ] ++ lib.optional withIntrospection "devdoc";
outputBin = "dev";
Expand All @@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
inherit (finalAttrs) version;
in fetchurl {
url = "mirror://gnome/sources/gtk+/${lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
sha256 = "sha256-UPifYVCS1N0Bu9dZcZ+L04Dl8Un2/XipRyXi3hEjd+I=";
hash = "sha256-fgTwZIUVA0uAa3SuXXdNh8/7GiqWxGjLW+R21Rvy88c=";
};

patches = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/nss/esr.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./generic.nix {
version = "3.90.2";
hash = "sha256-4r/LhKilkSeEhw/rl2IRAn5xMJ74W5ACg7fX0e4GQxA=";
version = "3.101.2";
hash = "sha256-i5K47pzQYOiD4vFHBN6VeqXEdPBOM7U1oSK0qSi2M2Y=";
}
4 changes: 0 additions & 4 deletions pkgs/development/libraries/nss/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ stdenv.mkDerivation rec {
# Based on http://patch-tracker.debian.org/patch/series/dl/nss/2:3.15.4-1/85_security_load.patch
./85_security_load_3.85+.patch
./fix-cross-compilation.patch
] ++ lib.optionals (lib.versionOlder version "3.91") [
# https://bugzilla.mozilla.org/show_bug.cgi?id=1836925
# https://phabricator.services.mozilla.com/D180068
./remove-c25519-support.patch
];

postPatch = ''
Expand Down
69 changes: 0 additions & 69 deletions pkgs/development/libraries/nss/remove-c25519-support.patch

This file was deleted.

12 changes: 10 additions & 2 deletions pkgs/development/python-modules/aiosmtpd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@
pythonOlder,
setuptools,
typing-extensions,

# for passthru.tests
django,
aiosmtplib,
}:

buildPythonPackage rec {
pname = "aiosmtpd";
version = "1.4.5";
version = "1.4.6";
pyproject = true;

disabled = pythonOlder "3.6";
Expand All @@ -22,7 +26,7 @@ buildPythonPackage rec {
owner = "aio-libs";
repo = "aiosmtpd";
rev = "refs/tags/v${version}";
hash = "sha256-8nQ4BVSLYgZHRGkbujy/olV/+GABlkDhe5wef3hyQpQ=";
hash = "sha256-Ih/xbWM9O/fFQiZezydlPlIr36fLRc2lLgdfxD5Jviw=";
};

nativeBuildInputs = [ setuptools ];
Expand All @@ -49,6 +53,10 @@ buildPythonPackage rec {

pythonImportsCheck = [ "aiosmtpd" ];

passthru.tests = {
inherit django aiosmtplib;
};

meta = with lib; {
description = "Asyncio based SMTP server";
mainProgram = "aiosmtpd";
Expand Down
7 changes: 4 additions & 3 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ assert withBootloader -> withEfi;
let
wantCurl = withRemote || withImportd;
wantGcrypt = withResolved || withImportd;
version = "255.6";
version = "255.9";

# Use the command below to update `releaseTimestamp` on every (major) version
# change. More details in the commentary at mesonFlags.
Expand All @@ -197,7 +197,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "systemd";
repo = "systemd-stable";
rev = "v${version}";
hash = "sha256-ah0678iNfy0c5NhHhjn0roY6RoM8OE0hWyEt+qEGKRQ=";
hash = "sha256-fnMvBYyMRQrP2x//8ntGTSwoHOtFk2TQ4S5fwcsSLDU=";
};

# On major changes, or when otherwise required, you *must* :
Expand Down Expand Up @@ -411,7 +411,8 @@ stdenv.mkDerivation (finalAttrs: {
hardeningDisable = [
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523
"trivialautovarinit"
];
# breaks clang -target bpf; should be fixed to filter target?
] ++ (lib.optional withLibBPF "zerocallusedregs");

nativeBuildInputs =
[
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
freeing stack buffer in utf8asn1str
https://curl.se/docs/CVE-2024-6197.html

From 8718ae9a4f4d4803530a3253a074021d612a85d4 Mon Sep 17 00:00:00 2001
From: z2_ <[email protected]>
Date: Fri, 28 Jun 2024 14:45:47 +0200
Subject: [PATCH] x509asn1: remove superfluous free()

(cherry picked from commit 3a537a4db9e65e545ec45b1b5d5575ee09a2569d)
---
lib/vtls/x509asn1.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/lib/vtls/x509asn1.c b/lib/vtls/x509asn1.c
index da079361d..2ccf6327a 100644
--- a/lib/vtls/x509asn1.c
+++ b/lib/vtls/x509asn1.c
@@ -389,7 +389,6 @@ utf8asn1str(struct dynbuf *to, int type, const char *from, const char *end)
if(wc >= 0x00000800) {
if(wc >= 0x00010000) {
if(wc >= 0x00200000) {
- free(buf);
/* Invalid char. size for target encoding. */
return CURLE_WEIRD_SERVER_REPLY;
}
--
2.45.2

5 changes: 4 additions & 1 deletion pkgs/tools/networking/curl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,13 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-b+oqrGpGEPvQQAr7C83b5yWKZMY/H2jlhV68DGWXEM0=";
};

patches = lib.optionals (lib.versionOlder finalAttrs.version "8.7.2") [
patches = [
# https://github.com/curl/curl/pull/13219
# https://github.com/newsboat/newsboat/issues/2728
./8.7.1-compression-fix.patch

# https://curl.se/docs/CVE-2024-6197.html
./0001-x509asn1-remove-superfluous-free.patch
];

postPatch = ''
Expand Down