From 6e2e0153b07d8909715b6d2dcae52b2f9c6bad56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Tue, 29 Jul 2025 19:38:24 +0000 Subject: [PATCH] ceph: 19.2.2 -> 19.2.3 * Removed upstream applied patches. * libnbd became a new required dependency: https://github.com/ceph/ceph/commit/5a2c11c579f9a3516c8b532f9d2a79ba2990e03e --- pkgs/tools/filesystems/ceph/default.nix | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix index 6fbfbde63fc0..944a97bff76e 100644 --- a/pkgs/tools/filesystems/ceph/default.nix +++ b/pkgs/tools/filesystems/ceph/default.nix @@ -50,6 +50,7 @@ kmod, libcap, libcap_ng, + libnbd, libnl, libxml2, lmdb, @@ -360,10 +361,10 @@ let ); inherit (ceph-python-env.python) sitePackages; - version = "19.2.2"; + version = "19.2.3"; src = fetchurl { url = "https://download.ceph.com/tarballs/ceph-${version}.tar.gz"; - hash = "sha256-7FD9LJs25VzUCRIBm01Cm3ss1YLTN9YLwPZnHSMd8rs="; + hash = "sha256-zlgp28C81SZbaFJ4yvQk4ZgYz4K/aZqtcISTO8LscSU="; }; in rec { @@ -372,14 +373,6 @@ rec { inherit src version; patches = [ - (fetchpatch2 { - name = "ceph-s3select-arrow-18-compat.patch"; - url = "https://github.com/ceph/s3select/commit/f333ec82e6e8a3f7eb9ba1041d1442b2c7cd0f05.patch"; - hash = "sha256-21fi5tMIs/JmuhwPYMWtampv/aqAe+EoPAXZLJlOvgo="; - stripLen = 1; - extraPrefix = "src/s3select/"; - }) - ./boost-1.85.patch (fetchpatch2 { @@ -393,14 +386,6 @@ rec { # * # * ./boost-1.86-PyModule.patch - - # TODO: Remove with Ceph >= 19.2.3 - (fetchpatch2 { - name = "ceph-squid-client-disallow-unprivileged-users-to-escalate-root-privileges.patch"; - url = "https://github.com/ceph/ceph/commit/380da5049e8ea7c35f34022fba24d3e2d4db6dd8.patch?full_index=1"; - hash = "sha256-hVJ1v/n2YCJLusw+DEyK12MG73sJ/ccwbSc+2pLRxvw="; - }) - ]; nativeBuildInputs = [ @@ -441,6 +426,7 @@ rec { gtest icu libcap + libnbd libnl libxml2 lmdb