Skip to content

Commit 68cde06

Browse files
committed
ceph: 19.2.3 -> 20.2.0
* cpp_redis was removed in ceph/ceph@c6ddf86 thus the Alpine ashpool aports patch is removed * boost dep to 1.87 ('required is at least "1.87"' as per CMake output)
1 parent e73414d commit 68cde06

3 files changed

Lines changed: 4 additions & 131 deletions

File tree

pkgs/by-name/ce/ceph/package.nix

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030
# and default to that.
3131
# * The version that Ceph downloads if `-DWITH_SYSTEM_BOOST:BOOL=ON` is not given
3232
# is declared in `cmake/modules/BuildBoost.cmake` line `set(boost_version ...)`.
33-
#
34-
# If you want to upgrade to boost >= 1.86, you need a Ceph version that
35-
# has this PR in:
36-
# https://github.com/ceph/ceph/pull/61312
37-
boost183,
33+
boost187,
3834
bzip2,
3935
cryptsetup,
4036
cunit,
@@ -199,11 +195,11 @@ let
199195

200196
# If you change this, make sure to update:
201197
# * The pinned RocksDB version commit, see comment on `rocksdb` in this file.
202-
version = "19.2.3";
198+
version = "20.2.0";
203199

204200
src = fetchurl {
205201
url = "https://download.ceph.com/tarballs/ceph-${version}.tar.gz";
206-
hash = "sha256-zlgp28C81SZbaFJ4yvQk4ZgYz4K/aZqtcISTO8LscSU=";
202+
hash = "sha256-jeBk1pgx7zJzOVOfIzx47IJ/o1HEDO2amRbwtBdMZoU=";
207203
};
208204

209205
ceph-common =
@@ -241,7 +237,7 @@ let
241237
meta = getMeta "Ceph common module for code shared by manager modules";
242238
};
243239

244-
boost' = boost183.override {
240+
boost' = boost187.override {
245241
enablePython = true;
246242
inherit python;
247243
};
@@ -300,40 +296,6 @@ stdenv.mkDerivation (finalAttrs: {
300296
;
301297

302298
patches = [
303-
./patches/boost-1.85.patch
304-
305-
(fetchpatch2 {
306-
name = "ceph-boost-1.86-uuid.patch";
307-
url = "https://github.com/ceph/ceph/commit/01306208eac492ee0e67bff143fc32d0551a2a6f.patch?full_index=1";
308-
hash = "sha256-OnDrr72inzGXXYxPFQevsRZImSvI0uuqFHqtFU2dPQE=";
309-
})
310-
311-
# See:
312-
# * <https://github.com/boostorg/python/issues/394>
313-
# * <https://aur.archlinux.org/cgit/aur.git/commit/?h=ceph&id=8c5cc7d8deec002f7596b6d0860859a0a718f12b>
314-
# * <https://github.com/ceph/ceph/pull/60999>
315-
./patches/boost-1.86-PyModule.patch
316-
317-
(fetchpatch2 {
318-
name = "ceph-cmake-4.patch";
319-
url = "https://gitlab.alpinelinux.org/ashpool/aports/-/raw/d22b70eafe33c3daabe4eea6913c5be87d9463ad/community/ceph19/cpp_redis.patch";
320-
hash = "sha256-wxPIsYt25CjXhJ6kmr/MXwFD58Sl4y4W+r9jAMND+uw=";
321-
})
322-
323-
# See:
324-
# * <https://github.com/ceph/ceph/pull/55560>
325-
# * <https://github.com/ceph/ceph/pull/60575>
326-
(fetchpatch2 {
327-
name = "ceph-systemd-sans-cluster-name.patch";
328-
url = "https://github.com/ceph/ceph/commit/5659920c7c128cb8d9552580dbe23dd167a56c31.patch?full_index=1";
329-
hash = "sha256-Uch8ZghyTowUvSq0p/RxiVpdG1Yqlww9inpVksO6zyk=";
330-
})
331-
(fetchpatch2 {
332-
name = "ceph-systemd-prefix.patch";
333-
url = "https://github.com/ceph/ceph/commit/9b38df488d7101b02afa834ea518fd52076d582a.patch?full_index=1";
334-
hash = "sha256-VcbJhCGTUdNISBd6P96Mm5M3fFVmZ8r7pMl+srQmnIQ=";
335-
})
336-
337299
# Remove once Ceph supports arrow-cpp >= 20, see:
338300
# * https://tracker.ceph.com/issues/71269
339301
# * https://github.com/NixOS/nixpkgs/issues/406306

pkgs/by-name/ce/ceph/patches/boost-1.85.patch

Lines changed: 0 additions & 69 deletions
This file was deleted.

pkgs/by-name/ce/ceph/patches/boost-1.86-PyModule.patch

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)