summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-12-16 12:43:38 +0000
committerMarek Szuba <marecki@gentoo.org>2021-12-16 15:48:28 +0000
commit8fe8f6e6ece7aa0c3fc949fa0759ba15f3610d34 (patch)
tree2f0d4e06b6a59b0d391dcce3a3e47b07da2fcf23 /net-libs
parentnet-libs/xrootd: drop 5.1.1-r1, 5.2.0-r1 (diff)
downloadgentoo-8fe8f6e6ece7aa0c3fc949fa0759ba15f3610d34.tar.gz
gentoo-8fe8f6e6ece7aa0c3fc949fa0759ba15f3610d34.tar.bz2
gentoo-8fe8f6e6ece7aa0c3fc949fa0759ba15f3610d34.zip
net-libs/xrootd-ceph: add 5.4.0
Closes: https://bugs.gentoo.org/747445 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/xrootd-ceph/Manifest1
-rw-r--r--net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch11
-rw-r--r--net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild38
3 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 025b6132986f..aaa06ba0cb83 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 1be45c78dd0ec4b20451cfa4a8a579e076e7
DIST xrootd-ceph-5.1.1.tar.gz 81981 BLAKE2B 6f0ddfd2e20c0127223d3d41e614fbefefb8e1ce20ae9a805fc0d01d7c442f0b9b9323ba1761a9b5a160f63bfe1c823384f84c160eb98d316bddc3c1affe2b6c SHA512 fede94cbe614b6c7dced07d1bbe8661706c0e0c98c77cab0a777b62cb7b1a0790ce597bb6764b36b6d2cba9884f23f6d37d54adb5b11cb6d20e32b95a2877ef3
DIST xrootd-ceph-5.2.0.tar.gz 82017 BLAKE2B 604c2c9eae857f05160b3cd853591283c5aebdec2345a810d2454f34bc22768db15f973ca9f672e6522297f939586ca8e996222487e2c1733205159521bf4996 SHA512 fdfe71c9bd087d216c2c4536b130cf90a392032ac8d0ad294b8ee7358449cbdf779f0f5d5aca02062cc04f510678bc6171f3dd29ad1f7aa207617aa3dfbd6f54
DIST xrootd-ceph-5.3.1.tar.gz 82029 BLAKE2B 1946da121e620c68ddafe448f049d4495ec5326cfc0286944cea41cb940ac8982ced939989efddb3879baa694c34f93f75f6e58c00b75c5d385da863daa15154 SHA512 bcf4fc341644e6c4d2c83b4bc913203187385964da3d00d019d69de0e0abd19915a5194713574bb1b8562e80edd3eeefb6fee1762e7c8595b14d13657c237861
+DIST xrootd-ceph-5.4.0.tar.gz 82031 BLAKE2B 5c964597d7b8de3a217c7df58e214d58e1bfdc980f74cfbc571343e7325d61804060e6374912f02a3f73e4df721c87e38860a023de4422b58878915a52aa04b1 SHA512 7b33fc194fe5245de78daa7829dd978c96b1eccd979610e26d60ed0c284e192413192b2b581e5a18de25d6f7f93737598d180b6d5419307156a6abdea44c4b27
diff --git a/net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch b/net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch
new file mode 100644
index 000000000000..f67fb513b455
--- /dev/null
+++ b/net-libs/xrootd-ceph/files/xrootd-ceph-5.4.0_no-werror.patch
@@ -0,0 +1,11 @@
+--- a/cmake/XRootDOSDefs.cmake
++++ b/cmake/XRootDOSDefs.cmake
+@@ -12,7 +12,7 @@
+ #-------------------------------------------------------------------------------
+ if( CMAKE_COMPILER_IS_GNUCXX )
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
+- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
++ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter" )
+ # gcc 4.1 is retarded
+ execute_process( COMMAND ${CMAKE_C_COMPILER} -dumpversion
diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild b/net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild
new file mode 100644
index 000000000000..9267d0cbd7b8
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="xrootd OSS plug-in for interfacing with Ceph storage platform"
+HOMEPAGE="https://xrootd.slac.stanford.edu/"
+SRC_URI="https://github.com/xrootd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=net-libs/xrootd-5.0.0
+ sys-cluster/ceph"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-util/cppunit )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.4.0_no-werror.patch
+)
+
+# xrootd plugins are not intended to be linked with,
+# they are to be loaded at runtime by xrootd,
+# see https://github.com/xrootd/xrootd/issues/447
+QA_SONAME="/usr/lib.*/libXrdCeph.*-$(ver_cut 1)\.so
+ /usr/lib.*/libXrdCephTests\.so"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}