commit:     c3bdeaa31c311c2f5f840a2ef5b247c2d54bda9f
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed May  4 22:54:50 2022 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed May  4 23:16:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3bdeaa3

sys-cluster/ceph: Migrate to fuse:3 (bug #838022)

Bug: https://bugs.gentoo.org/838022
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 .../ceph/{ceph-17.2.0.ebuild => ceph-17.2.0-r1.ebuild}      |  3 ++-
 sys-cluster/ceph/files/ceph-17.2.0-fuse3.patch              | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/ceph/ceph-17.2.0.ebuild 
b/sys-cluster/ceph/ceph-17.2.0-r1.ebuild
similarity index 99%
rename from sys-cluster/ceph/ceph-17.2.0.ebuild
rename to sys-cluster/ceph/ceph-17.2.0-r1.ebuild
index 74a067688a6d..59975f6b8e43 100644
--- a/sys-cluster/ceph/ceph-17.2.0.ebuild
+++ b/sys-cluster/ceph/ceph-17.2.0-r1.ebuild
@@ -75,7 +75,7 @@ DEPEND="
        virtual/libcrypt:=
        x11-libs/libpciaccess:=
        babeltrace? ( dev-util/babeltrace )
-       fuse? ( sys-fs/fuse:0= )
+       fuse? ( sys-fs/fuse:3= )
        jemalloc? ( dev-libs/jemalloc:= )
        !jemalloc? ( >=dev-util/google-perftools-2.6.1:= )
        jaeger? (
@@ -212,6 +212,7 @@ PATCHES=(
        "${FILESDIR}/ceph-17.2.0-install-dbstore.patch"
        "${FILESDIR}/ceph-17.2.0-deprecated-boost.patch"
        "${FILESDIR}/ceph-17.2.0-system-opentelemetry.patch"
+       "${FILESDIR}/ceph-17.2.0-fuse3.patch"
 )
 
 check-reqs_export_vars() {

diff --git a/sys-cluster/ceph/files/ceph-17.2.0-fuse3.patch 
b/sys-cluster/ceph/files/ceph-17.2.0-fuse3.patch
new file mode 100644
index 000000000000..59b2be6ffd80
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-17.2.0-fuse3.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e95019cedb2..814c7f4d0b7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -178,7 +178,7 @@ endif()
+ 
+ option(WITH_FUSE "Fuse is here" ON)
+ if(WITH_FUSE)
+-  find_package(FUSE)
++  find_package(FUSE 3.0)
+   set(HAVE_LIBFUSE ${FUSE_FOUND})
+ endif()
+ 

Reply via email to