[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-03-10 Thread Michał Górny
commit: 160746a1b7f23959aa65f3bd645ab29eafc6ce4f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 10 16:46:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 10 16:46:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160746a1

net-libs/xrootd: Stabilize 5.6.7 x86, #926607

Signed-off-by: Michał Górny  gentoo.org>

 net-libs/xrootd/xrootd-5.6.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.6.7.ebuild 
b/net-libs/xrootd/xrootd-5.6.7.ebuild
index b504f38a8c51..811ec1eac3de 100644
--- a/net-libs/xrootd/xrootd-5.6.7.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.7.ebuild
@@ -22,7 +22,7 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 LICENSE="LGPL-3+"
 
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-03-08 Thread Guilherme Amadio
commit: fdbb4c01c3c73bcf7cde46d1713f9c3dc48045e8
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar  8 21:14:41 2024 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar  8 21:37:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdbb4c01

net-libs/xrootd: add 5.6.9

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.6.9.ebuild | 205 
 2 files changed, 206 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 0abcbb4d6046..80cba32dee34 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
 DIST xrootd-5.6.4.tar.gz 6696858 BLAKE2B 
09e7bcd750f6eac5714eab7eb945a55e939d4ad5310b3bfe90b1322f00064778d179396d9e9a89dc4bafda5ee924054e71c5bfe8474889b31dc3e2bcd24ed4c4
 SHA512 
efa88da2c9e9e55aeab9c4fbec0ec688fbc6ea8e16178bbcbdd534a09609b5c645cafee023fed48495cda8e865210e2fd3ba4830852f157626ecc1995eb55988
 DIST xrootd-5.6.7.tar.gz 6698751 BLAKE2B 
cb702a450b81665b53cf15d5c8df239826148c3cd746db7778b48ae01244257ce4877402c3e07ef6aa5228f9ae97f1b39210ed46ea2c802c35b7c4d8ad6a7fcf
 SHA512 
e7ec8b6eae684f27b5044890c45492f7d9b2b8812a9131ff45db63984869aa62cd85836d71b4100e89a6bb98ee3864062940d4dec0fdb340472df126d6de4d41
+DIST xrootd-5.6.9.tar.gz 6701277 BLAKE2B 
0086455f251879acf2d635ed0ae533dfa2c3e006798df27111d35599f1833ce1342c9eec1f540f3a165376c91233181420635bae5e1cb4d552681d8cfe36d902
 SHA512 
9ba15524451ebe7ee12d689f9c56d85508996285d01885236d396b7742ff6cc03036a6b4bd1424b0e1553cbf382c0954c10cec76fa1a99a7dfff330686bad0cd

diff --git a/net-libs/xrootd/xrootd-5.6.9.ebuild 
b/net-libs/xrootd/xrootd-5.6.9.ebuild
new file mode 100644
index ..e8e1fcff1f3d
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.6.9.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+LICENSE="LGPL-3+"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   http? ( kerberos )
+   macaroons? ( server http )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
+"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   ceph? ( sys-cluster/ceph )
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? (
+   dev-cpp/gtest
+   dev-util/cppunit
+   )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrd.*Tests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_SYSTEM_ISAL=TRUE
+   $(usex python "-DINSTALL_PYTHON_BINDINGS=FALSE" "")
+   -DXRDCEPH_SUBMODULE=$(usex ceph)
+   -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-03-08 Thread Guilherme Amadio
commit: f5926b5684099e3adc4f8f02f8cc4163e97e6573
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar  8 21:07:56 2024 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar  8 21:37:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5926b56

net-libs/xrootd: drop 5.5.5-r1, 5.6.2, 5.6.3-r1

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest   |   3 -
 net-libs/xrootd/xrootd-5.5.5-r1.ebuild | 210 -
 net-libs/xrootd/xrootd-5.6.2.ebuild| 208 
 net-libs/xrootd/xrootd-5.6.3-r1.ebuild | 208 
 4 files changed, 629 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index bd75f824f6e4..0abcbb4d6046 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,6 +1,3 @@
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
-DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
-DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
-DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625
 DIST xrootd-5.6.4.tar.gz 6696858 BLAKE2B 
09e7bcd750f6eac5714eab7eb945a55e939d4ad5310b3bfe90b1322f00064778d179396d9e9a89dc4bafda5ee924054e71c5bfe8474889b31dc3e2bcd24ed4c4
 SHA512 
efa88da2c9e9e55aeab9c4fbec0ec688fbc6ea8e16178bbcbdd534a09609b5c645cafee023fed48495cda8e865210e2fd3ba4830852f157626ecc1995eb55988
 DIST xrootd-5.6.7.tar.gz 6698751 BLAKE2B 
cb702a450b81665b53cf15d5c8df239826148c3cd746db7778b48ae01244257ce4877402c3e07ef6aa5228f9ae97f1b39210ed46ea2c802c35b7c4d8ad6a7fcf
 SHA512 
e7ec8b6eae684f27b5044890c45492f7d9b2b8812a9131ff45db63984869aa62cd85836d71b4100e89a6bb98ee3864062940d4dec0fdb340472df126d6de4d41

diff --git a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
deleted file mode 100644
index b80cac774a68..
--- a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517="setuptools"
-DOCS_BUILDER="doxygen"
-DOCS_DEPEND="
-   media-gfx/graphviz
-   virtual/latex-base
-   python? ( dev-python/sphinx )
-"
-
-inherit cmake docs distutils-r1 systemd
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="https://xrootd.slac.stanford.edu/;
-SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples fuse http kerberos +libxml2 macaroons python readline scitokens 
+server systemd test xrdec"
-
-REQUIRED_USE="
-   http? ( kerberos )
-   macaroons? ( server )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   scitokens? ( server )
-   test? ( server )
-"
-
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:0= )
-   http? (
-   net-misc/curl:=
-   net-libs/davix
-   )
-   kerberos? ( virtual/krb5 )
-   libxml2? ( dev-libs/libxml2:2= )
-   macaroons? ( dev-libs/libmacaroons )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   scitokens? ( dev-cpp/scitokens-cpp )
-   systemd? ( sys-apps/systemd:= )
-   xrdec? ( dev-libs/isa-l )
-"
-DEPEND="${CDEPEND}"
-BDEPEND="
-   python? (
-   ${PYTHON_DEPS}
-   ${DISTUTILS_DEPS}
-   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
-   )
-   test? ( dev-util/cppunit )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
-   "${FILESDIR}"/${PN}-5.4.3-cmake_no_python.patch
-   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.patch
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-03-08 Thread Guilherme Amadio
commit: f66c94f07264fba81d35c2315227cfbc53ba3a56
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar  8 21:09:33 2024 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar  8 21:37:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66c94f0

net-libs/xrootd: fix variable ordering as reported by pkgcheck

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.6.4.ebuild | 7 +++
 net-libs/xrootd/xrootd-5.6.7.ebuild | 5 ++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/net-libs/xrootd/xrootd-5.6.4.ebuild 
b/net-libs/xrootd/xrootd-5.6.4.ebuild
index 6c706c0af73c..e8e1fcff1f3d 100644
--- a/net-libs/xrootd/xrootd-5.6.4.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,13 +18,12 @@ inherit cmake docs distutils-r1 systemd
 
 DESCRIPTION="Extended ROOT remote file server"
 HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 LICENSE="LGPL-3+"
 
-IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
 SLOT="0"
-
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
 
 RESTRICT="!test? ( test )"
 

diff --git a/net-libs/xrootd/xrootd-5.6.7.ebuild 
b/net-libs/xrootd/xrootd-5.6.7.ebuild
index 59d0cd3b3c2e..b504f38a8c51 100644
--- a/net-libs/xrootd/xrootd-5.6.7.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.7.ebuild
@@ -18,13 +18,12 @@ inherit cmake docs distutils-r1 systemd
 
 DESCRIPTION="Extended ROOT remote file server"
 HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 LICENSE="LGPL-3+"
 
-IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
 SLOT="0"
-
 KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
 
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-03-08 Thread Guilherme Amadio
commit: 368fdb666af09a6db55d574370cdb7274e2d76fe
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar  8 21:07:09 2024 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar  8 21:37:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368fdb66

net-libs/xrootd: stabilize 5.6.7 for amd64

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.6.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.6.7.ebuild 
b/net-libs/xrootd/xrootd-5.6.7.ebuild
index a1af68ccd6cf..59d0cd3b3c2e 100644
--- a/net-libs/xrootd/xrootd-5.6.7.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.7.ebuild
@@ -23,7 +23,7 @@ LICENSE="LGPL-3+"
 IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-02-06 Thread Guilherme Amadio
commit: 4ee95a994203c2740eb16105c0191e83711ae2f0
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Feb  6 09:46:17 2024 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Feb  6 10:49:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ee95a99

net-libs/xrootd: add 5.6.7, drop 5.6.6

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest | 2 +-
 net-libs/xrootd/{xrootd-5.6.6.ebuild => xrootd-5.6.7.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index ac4af459674c..bd75f824f6e4 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -3,4 +3,4 @@ DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74ab
 DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
 DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625
 DIST xrootd-5.6.4.tar.gz 6696858 BLAKE2B 
09e7bcd750f6eac5714eab7eb945a55e939d4ad5310b3bfe90b1322f00064778d179396d9e9a89dc4bafda5ee924054e71c5bfe8474889b31dc3e2bcd24ed4c4
 SHA512 
efa88da2c9e9e55aeab9c4fbec0ec688fbc6ea8e16178bbcbdd534a09609b5c645cafee023fed48495cda8e865210e2fd3ba4830852f157626ecc1995eb55988
-DIST xrootd-5.6.6.tar.gz 6698407 BLAKE2B 
205918ba9af43a8b276f9a3cdd1e28342205b6ed4bd19fdb56fc79a98c6b4c3701995b8aa690706d7fff8923646923e87f0d63162851aadfeb18146978c46cc6
 SHA512 
b13b91805f238cb06d6893bb41e39df3ab0c77a3096770bbd2ccd6472ed0e292cbcad67b6c8d1966c00056f4ae21a68fc9e24331fd9c2cf56890135151ebf97b
+DIST xrootd-5.6.7.tar.gz 6698751 BLAKE2B 
cb702a450b81665b53cf15d5c8df239826148c3cd746db7778b48ae01244257ce4877402c3e07ef6aa5228f9ae97f1b39210ed46ea2c802c35b7c4d8ad6a7fcf
 SHA512 
e7ec8b6eae684f27b5044890c45492f7d9b2b8812a9131ff45db63984869aa62cd85836d71b4100e89a6bb98ee3864062940d4dec0fdb340472df126d6de4d41

diff --git a/net-libs/xrootd/xrootd-5.6.6.ebuild 
b/net-libs/xrootd/xrootd-5.6.7.ebuild
similarity index 100%
rename from net-libs/xrootd/xrootd-5.6.6.ebuild
rename to net-libs/xrootd/xrootd-5.6.7.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2024-01-25 Thread Guilherme Amadio
commit: 35914bd9c14fb01cc0fe7cb32fb681d05b07c059
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Thu Jan 25 10:46:55 2024 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Thu Jan 25 15:31:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35914bd9

net-libs/xrootd: add 5.6.6

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.6.6.ebuild | 206 
 2 files changed, 207 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 6a95ff6758a4..ac4af459674c 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -3,3 +3,4 @@ DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74ab
 DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
 DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625
 DIST xrootd-5.6.4.tar.gz 6696858 BLAKE2B 
09e7bcd750f6eac5714eab7eb945a55e939d4ad5310b3bfe90b1322f00064778d179396d9e9a89dc4bafda5ee924054e71c5bfe8474889b31dc3e2bcd24ed4c4
 SHA512 
efa88da2c9e9e55aeab9c4fbec0ec688fbc6ea8e16178bbcbdd534a09609b5c645cafee023fed48495cda8e865210e2fd3ba4830852f157626ecc1995eb55988
+DIST xrootd-5.6.6.tar.gz 6698407 BLAKE2B 
205918ba9af43a8b276f9a3cdd1e28342205b6ed4bd19fdb56fc79a98c6b4c3701995b8aa690706d7fff8923646923e87f0d63162851aadfeb18146978c46cc6
 SHA512 
b13b91805f238cb06d6893bb41e39df3ab0c77a3096770bbd2ccd6472ed0e292cbcad67b6c8d1966c00056f4ae21a68fc9e24331fd9c2cf56890135151ebf97b

diff --git a/net-libs/xrootd/xrootd-5.6.6.ebuild 
b/net-libs/xrootd/xrootd-5.6.6.ebuild
new file mode 100644
index ..a1af68ccd6cf
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.6.6.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+LICENSE="LGPL-3+"
+
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   http? ( kerberos )
+   macaroons? ( server http )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
+"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   ceph? ( sys-cluster/ceph )
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? (
+   dev-cpp/gtest
+   dev-util/cppunit
+   )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrd.*Tests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_SYSTEM_ISAL=TRUE
+   $(usex python "-DINSTALL_PYTHON_BINDINGS=FALSE" "")
+   -DXRDCEPH_SUBMODULE=$(usex ceph)
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-12-11 Thread Guilherme Amadio
commit: 7e5083a1e35e50e1eca4cc56ffb86b7bb581af76
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Mon Dec 11 14:31:04 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Mon Dec 11 15:07:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5083a1

net-libs/xrootd: add 5.6.4

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.6.4.ebuild | 206 
 2 files changed, 207 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 46602fe702ea..6a95ff6758a4 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53
 DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
 DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
 DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625
+DIST xrootd-5.6.4.tar.gz 6696858 BLAKE2B 
09e7bcd750f6eac5714eab7eb945a55e939d4ad5310b3bfe90b1322f00064778d179396d9e9a89dc4bafda5ee924054e71c5bfe8474889b31dc3e2bcd24ed4c4
 SHA512 
efa88da2c9e9e55aeab9c4fbec0ec688fbc6ea8e16178bbcbdd534a09609b5c645cafee023fed48495cda8e865210e2fd3ba4830852f157626ecc1995eb55988

diff --git a/net-libs/xrootd/xrootd-5.6.4.ebuild 
b/net-libs/xrootd/xrootd-5.6.4.ebuild
new file mode 100644
index ..6c706c0af73c
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.6.4.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+LICENSE="LGPL-3+"
+
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   http? ( kerberos )
+   macaroons? ( server http )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
+"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   ceph? ( sys-cluster/ceph )
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? (
+   dev-cpp/gtest
+   dev-util/cppunit
+   )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrd.*Tests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_SYSTEM_ISAL=TRUE
+   $(usex python "-DINSTALL_PYTHON_BINDINGS=FALSE" "")
+   -DXRDCEPH_SUBMODULE=$(usex ceph)
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-10-27 Thread Guilherme Amadio
commit: 7cc10e37837177e1e4ea3e2cb8a1c1dd7e087088
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Oct 27 17:21:52 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Oct 27 17:21:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cc10e37

net-libs/xrootd: bring back 5.5.5-r1, used by xrootd-ceph

Note: net-libs/xrootd-ceph is replaced back with net-libs/xrootd[ceph],
  starting with net-libs/xrootd-5.6.0, so it will be last rited soon.

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest   |   1 +
 net-libs/xrootd/xrootd-5.5.5-r1.ebuild | 210 +
 2 files changed, 211 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 27d04d7f36a2..46602fe702ea 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
+DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
 DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
 DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625

diff --git a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
new file mode 100644
index ..b80cac774a68
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
@@ -0,0 +1,210 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples fuse http kerberos +libxml2 macaroons python readline scitokens 
+server systemd test xrdec"
+
+REQUIRED_USE="
+   http? ( kerberos )
+   macaroons? ( server )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
+"
+
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-5.4.3-cmake_no_python.patch
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.patch
+   "${FILESDIR}"/${PN}-5.5-system-isa-l.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+# FIXME: support xrdec - currently only builds against 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2023-10-27 Thread Guilherme Amadio
commit: 297e26122cb1561e7820978ac3e5a8f4f5204944
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Oct 27 15:07:30 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Oct 27 16:29:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297e2612

net-libs/xrootd: install XrdNetPMark.hh header

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch   | 13 +
 .../xrootd/{xrootd-5.6.3.ebuild => xrootd-5.6.3-r1.ebuild}  |  1 +
 2 files changed, 14 insertions(+)

diff --git a/net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch 
b/net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch
new file mode 100644
index ..9731e7da16a5
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch
@@ -0,0 +1,13 @@
+
+ Add XrdNetPMark.hh to set of public headers
+
+--- a/src/XrdHeaders.cmake
 b/src/XrdHeaders.cmake
+@@ -21,6 +21,7 @@ set( XROOTD_PUBLIC_HEADERS
+   XrdNet/XrdNetCmsNotify.hh
+   XrdNet/XrdNetConnect.hh
+   XrdNet/XrdNetOpts.hh
++  XrdNet/XrdNetPMark.hh
+   XrdNet/XrdNetSockAddr.hh
+   XrdNet/XrdNetSocket.hh
+   XrdOuc/XrdOucBuffer.hh

diff --git a/net-libs/xrootd/xrootd-5.6.3.ebuild 
b/net-libs/xrootd/xrootd-5.6.3-r1.ebuild
similarity index 98%
rename from net-libs/xrootd/xrootd-5.6.3.ebuild
rename to net-libs/xrootd/xrootd-5.6.3-r1.ebuild
index 5d7a5ba3b531..52f4603174e4 100644
--- a/net-libs/xrootd/xrootd-5.6.3.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.3-r1.ebuild
@@ -75,6 +75,7 @@ RDEPEND="${CDEPEND}
 PATCHES=(
"${FILESDIR}"/${PN}-4.8.3-crc32.patch
"${FILESDIR}"/${PN}-5.4.3-python_tests_py3.patch
+   "${FILESDIR}"/${PN}-5.6.3-add-pmark-header.patch
 )
 
 # xrootd plugins are not intended to be linked with,



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-10-27 Thread Guilherme Amadio
commit: feeb4fad092618b466abfd32638f40fa74d219a3
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Oct 27 14:52:55 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Oct 27 16:29:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feeb4fad

net-libs/xrootd: drop 5.5.5-r1, 5.6.1

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest   |   2 -
 net-libs/xrootd/xrootd-5.5.5-r1.ebuild | 210 -
 net-libs/xrootd/xrootd-5.6.1.ebuild| 208 
 3 files changed, 420 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 866f07251c1f..27d04d7f36a2 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,3 @@
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
-DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
-DIST xrootd-5.6.1.tar.gz 3278351 BLAKE2B 
e19bddd76e6457593a538707c1904d96a196edebe60cb59dfaff91ce3e0922adb1e83a95f9c4a9fb319071f2548b95c198bfe4b606a0ce3d96f9a1ed4cdcd27e
 SHA512 
dc4881a5122654c6dc54f40c99eb0794c0b493e1bbcb6e8574b82105e7c1a10e4dbc0fffb004e58c90cbe1da813856ea21e31aa07937e0f0bf0f58dc3a9c9752
 DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
 DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625

diff --git a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
deleted file mode 100644
index b80cac774a68..
--- a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517="setuptools"
-DOCS_BUILDER="doxygen"
-DOCS_DEPEND="
-   media-gfx/graphviz
-   virtual/latex-base
-   python? ( dev-python/sphinx )
-"
-
-inherit cmake docs distutils-r1 systemd
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="https://xrootd.slac.stanford.edu/;
-SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples fuse http kerberos +libxml2 macaroons python readline scitokens 
+server systemd test xrdec"
-
-REQUIRED_USE="
-   http? ( kerberos )
-   macaroons? ( server )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   scitokens? ( server )
-   test? ( server )
-"
-
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:0= )
-   http? (
-   net-misc/curl:=
-   net-libs/davix
-   )
-   kerberos? ( virtual/krb5 )
-   libxml2? ( dev-libs/libxml2:2= )
-   macaroons? ( dev-libs/libmacaroons )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   scitokens? ( dev-cpp/scitokens-cpp )
-   systemd? ( sys-apps/systemd:= )
-   xrdec? ( dev-libs/isa-l )
-"
-DEPEND="${CDEPEND}"
-BDEPEND="
-   python? (
-   ${PYTHON_DEPS}
-   ${DISTUTILS_DEPS}
-   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
-   )
-   test? ( dev-util/cppunit )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
-   "${FILESDIR}"/${PN}-5.4.3-cmake_no_python.patch
-   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.patch
-   "${FILESDIR}"/${PN}-5.5-system-isa-l.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.*/libXrd.*-$(ver_cut 1)\.so
-   /usr/lib.*/libXrdClTests\.so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   if use 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-10-27 Thread Guilherme Amadio
commit: e1f793d5df6d0d7f2ae5a76c11208eb3b5e1d06a
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Oct 27 12:43:20 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Oct 27 13:50:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f793d5

net-libs/xrootd: add 5.6.3

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.6.3.ebuild | 207 
 2 files changed, 208 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 694212ed1a2a..866f07251c1f 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53
 DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
 DIST xrootd-5.6.1.tar.gz 3278351 BLAKE2B 
e19bddd76e6457593a538707c1904d96a196edebe60cb59dfaff91ce3e0922adb1e83a95f9c4a9fb319071f2548b95c198bfe4b606a0ce3d96f9a1ed4cdcd27e
 SHA512 
dc4881a5122654c6dc54f40c99eb0794c0b493e1bbcb6e8574b82105e7c1a10e4dbc0fffb004e58c90cbe1da813856ea21e31aa07937e0f0bf0f58dc3a9c9752
 DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394
+DIST xrootd-5.6.3.tar.gz 3257144 BLAKE2B 
6186b20ffca7183ca5325798afacf4aa5b6993cbdc25b4abce7da33129e7ca5c0524efe93431ccf84b3504a84f6dabfca86d0d9ac8a2a592ec2b16519be6d540
 SHA512 
72a875064181225deef57eae89c651696a083896d7bd26099c7dd321097c2b90acef42dc1c4ef55334f0ff9b6d33bf0a82e3c9d92511b69b955fbdadeff4b625

diff --git a/net-libs/xrootd/xrootd-5.6.3.ebuild 
b/net-libs/xrootd/xrootd-5.6.3.ebuild
new file mode 100644
index ..5d7a5ba3b531
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.6.3.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+LICENSE="LGPL-3+"
+
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   http? ( kerberos )
+   macaroons? ( server http )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
+"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   ceph? ( sys-cluster/ceph )
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? (
+   dev-cpp/gtest
+   dev-util/cppunit
+   )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrd.*Tests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_SYSTEM_ISAL=TRUE
+   $(usex python "-DINSTALL_PYTHON_BINDINGS=FALSE" "")
+  

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/files/, net-libs/xrootd/

2023-09-19 Thread Guilherme Amadio
commit: 32b2d14aa76a29f78a3cd80c582f07dd82b62f29
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Mon Sep 18 09:33:11 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Sep 19 06:20:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b2d14a

net-libs/xrootd: version bump to 5.6.2

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest  |   1 +
 net-libs/xrootd/files/xrootd-5.6.2-authfile.patch |  13 ++
 net-libs/xrootd/xrootd-5.6.2.ebuild   | 208 ++
 3 files changed, 222 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index eb7ebc34c68d..694212ed1a2a 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
 DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
 DIST xrootd-5.6.1.tar.gz 3278351 BLAKE2B 
e19bddd76e6457593a538707c1904d96a196edebe60cb59dfaff91ce3e0922adb1e83a95f9c4a9fb319071f2548b95c198bfe4b606a0ce3d96f9a1ed4cdcd27e
 SHA512 
dc4881a5122654c6dc54f40c99eb0794c0b493e1bbcb6e8574b82105e7c1a10e4dbc0fffb004e58c90cbe1da813856ea21e31aa07937e0f0bf0f58dc3a9c9752
+DIST xrootd-5.6.2.tar.gz 3251295 BLAKE2B 
74582fd256279719c40fbee8e053d45ef76709c5077ace43db2f3c3e5f1902245999e25872f18a4c60bf41e5c11bb1a195cd494b00c66dcc19705112909f0170
 SHA512 
53ee1f7eaf5bd61dcc6345be0193679daa76300cd5fc15e54e622e2c05cf5a312d924c6e7fe3bfb91e9d2aff8feeb9faee87259e9c2ff33bb52d1add7ec13394

diff --git a/net-libs/xrootd/files/xrootd-5.6.2-authfile.patch 
b/net-libs/xrootd/files/xrootd-5.6.2-authfile.patch
new file mode 100644
index ..190fddef9781
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-5.6.2-authfile.patch
@@ -0,0 +1,13 @@
+Fix compound id parsing for authfile.
+
+--- a/src/XrdAcc/XrdAccAuthFile.cc
 b/src/XrdAcc/XrdAccAuthFile.cc
+@@ -161,7 +161,7 @@ char XrdAccAuthFile::getID(char **id)
+ // two character specification but only validate the first to be backward
+ // compatible.
+ //
+-   if (strlen(pp) <= 2 || !index("ghoru", *pp))
++   if (strlen(pp) > 2 || !index("ghoru", *pp))
+   {Eroute->Emsg("AuthFile", "Invalid ID sprecifier -", pp);
+flags = (DBflags)(flags | dbError);
+return 0;

diff --git a/net-libs/xrootd/xrootd-5.6.2.ebuild 
b/net-libs/xrootd/xrootd-5.6.2.ebuild
new file mode 100644
index ..baa00445c59b
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.6.2.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+LICENSE="LGPL-3+"
+
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   http? ( kerberos )
+   macaroons? ( server http )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
+"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   ceph? ( sys-cluster/ceph )
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? (
+   dev-cpp/gtest
+   dev-util/cppunit
+   )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-07-11 Thread Guilherme Amadio
commit: d63a47ebb27364f491b10aae259d3a71ee1c310f
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul 11 14:31:36 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul 11 14:31:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63a47eb

net-libs/xrootd: add 5.6.1, drop 5.6.0

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest | 2 +-
 net-libs/xrootd/{xrootd-5.6.0.ebuild => xrootd-5.6.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index f4615951a2ff..eb7ebc34c68d 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,3 @@
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
 DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
-DIST xrootd-5.6.0.tar.gz 3277803 BLAKE2B 
afdad0bd311d670610e230899477364f7be322a87804b4fc21a914d0e4fb7b7b1917d5d00445d2b7568c11e6a80e2a75620979a8031cbd62daf78c525b9da2fb
 SHA512 
98119f51eecc16551c7f69147dd736df2632d77983bb6090c5452cb08faf6413bd1c3a54a8bd158af2ccff404b95e7e0b1ef1b2f65651b9d4a64b2dc5895dd12
+DIST xrootd-5.6.1.tar.gz 3278351 BLAKE2B 
e19bddd76e6457593a538707c1904d96a196edebe60cb59dfaff91ce3e0922adb1e83a95f9c4a9fb319071f2548b95c198bfe4b606a0ce3d96f9a1ed4cdcd27e
 SHA512 
dc4881a5122654c6dc54f40c99eb0794c0b493e1bbcb6e8574b82105e7c1a10e4dbc0fffb004e58c90cbe1da813856ea21e31aa07937e0f0bf0f58dc3a9c9752

diff --git a/net-libs/xrootd/xrootd-5.6.0.ebuild 
b/net-libs/xrootd/xrootd-5.6.1.ebuild
similarity index 100%
rename from net-libs/xrootd/xrootd-5.6.0.ebuild
rename to net-libs/xrootd/xrootd-5.6.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/files/

2023-07-05 Thread Guilherme Amadio
commit: 4dfa90e2f6946e7de82b35d067ae4802ee389d96
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Jul  5 06:31:16 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Jul  5 08:34:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dfa90e2

net-libs/xrootd: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/31754

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Guilherme Amadio  gentoo.org>

 .../xrootd/files/xrootd-5.4.3-no_automagic.patch   | 24 --
 1 file changed, 24 deletions(-)

diff --git a/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch 
b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch
deleted file mode 100644
index d50ea40e1c49..
--- a/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/cmake/XRootDFindLibs.cmake
-+++ b/cmake/XRootDFindLibs.cmake
-@@ -25,15 +25,19 @@
- 
- find_package( TinyXml )
- 
--find_package( LibXml2 )
-+if( ENABLE_LIBXML2 )
-+find_package( LibXml2 REQUIRED )
- if( LIBXML2_FOUND )
-   add_definitions( -DHAVE_XML2 )
- endif()
-+endif()
- 
--find_package( Systemd )
-+if( ENABLE_SYSTEMD )
-+find_package( Systemd REQUIRED )
- if( SYSTEMD_FOUND )
-   add_definitions( -DHAVE_SYSTEMD )
- endif()
-+endif()
- 
- find_package( CURL )
- 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-07-04 Thread Guilherme Amadio
commit: 1f6ab8468450056662c6fdd88c55a4f3b99f3762
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 13:58:23 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 14:00:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6ab846

net-libs/xrootd: conditionally add CMake configure option

The option -DINSTALL_PYTHON_BINDINGS only exists when Python support
is enabled. We need to disble it so that only disutils-r1 installs
the Python bindings.

Closes: https://bugs.gentoo.org/909630
Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.6.0.ebuild 
b/net-libs/xrootd/xrootd-5.6.0.ebuild
index 2b1bbcc41697..f7121d82e57c 100644
--- a/net-libs/xrootd/xrootd-5.6.0.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.0.ebuild
@@ -101,7 +101,7 @@ src_prepare() {
 src_configure() {
local mycmakeargs=(
-DUSE_SYSTEM_ISAL=TRUE
-   -DINSTALL_PYTHON_BINDINGS=FALSE
+   $(usex python "-DINSTALL_PYTHON_BINDINGS=FALSE" "")
-DXRDCEPH_SUBMODULE=$(usex ceph)
-DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
-DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex systemd "no" "yes")



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-07-04 Thread Guilherme Amadio
commit: 54e0d407c54e6e78df0106b72f00df2b71917847
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 13:41:46 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 13:50:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e0d407

net-libs/xrootd: disable installation of Python bindings by CMake

Closes: https://bugs.gentoo.org/909573

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.6.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-libs/xrootd/xrootd-5.6.0.ebuild 
b/net-libs/xrootd/xrootd-5.6.0.ebuild
index dd92b0da08dc..2b1bbcc41697 100644
--- a/net-libs/xrootd/xrootd-5.6.0.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.0.ebuild
@@ -101,6 +101,7 @@ src_prepare() {
 src_configure() {
local mycmakeargs=(
-DUSE_SYSTEM_ISAL=TRUE
+   -DINSTALL_PYTHON_BINDINGS=FALSE
-DXRDCEPH_SUBMODULE=$(usex ceph)
-DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
-DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex systemd "no" "yes")



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-07-04 Thread Guilherme Amadio
commit: 5192f4d844bc7d2afe55abf31a107578a11a05f6
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 07:12:37 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 07:14:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5192f4d8

net-libs/xrootd-ceph: stabilize 5.5.4 for amd64

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild
index ef04b6db3238..bea7bc8efad1 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/xrootd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~amd64-linux"
+KEYWORDS="amd64 ~amd64-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-07-04 Thread Guilherme Amadio
commit: 19057cf5e7403a490a28dc016a56eebf90e3ad0c
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 07:14:28 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 07:14:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19057cf5

net-libs/xrootd: drop 5.4.3, 5.4.3-r2

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest   |   1 -
 net-libs/xrootd/xrootd-5.4.3-r2.ebuild | 187 -
 net-libs/xrootd/xrootd-5.4.3.ebuild| 133 ---
 3 files changed, 321 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index a30f0d140c96..f4615951a2ff 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,4 +1,3 @@
-DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
 DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
 DIST xrootd-5.6.0.tar.gz 3277803 BLAKE2B 
afdad0bd311d670610e230899477364f7be322a87804b4fc21a914d0e4fb7b7b1917d5d00445d2b7568c11e6a80e2a75620979a8031cbd62daf78c525b9da2fb
 SHA512 
98119f51eecc16551c7f69147dd736df2632d77983bb6090c5452cb08faf6413bd1c3a54a8bd158af2ccff404b95e7e0b1ef1b2f65651b9d4a64b2dc5895dd12

diff --git a/net-libs/xrootd/xrootd-5.4.3-r2.ebuild 
b/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
deleted file mode 100644
index fd1b2bdf0993..
--- a/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517="setuptools"
-
-inherit cmake distutils-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="https://xrootd.slac.stanford.edu/;
-SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test"
-
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:0= )
-   http? ( net-misc/curl:= )
-   kerberos? ( virtual/krb5 )
-   libxml2? ( dev-libs/libxml2:2= )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${CDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen[dot]
-   virtual/latex-base
-   python? ( dev-python/sphinx )
-   )
-   python? (
-   ${PYTHON_DEPS}
-   ${DISTUTILS_DEPS}
-   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
-   )
-   test? ( dev-util/cppunit )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-REQUIRED_USE="
-   http? ( kerberos )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( server )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
-   "${FILESDIR}"/${PN}-5.4.3-no_automagic.patch
-   "${FILESDIR}"/${PN}-5.4.3-cmake_no_python.patch
-   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
-   /usr/lib.*/libXrdClTests\.so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   if use python; then
-   pushd "${S}"/bindings/python > /dev/null || die
-   distutils-r1_src_prepare
-   popd > /dev/null || die
-   fi
-}
-
-# FIXME: support xrdec - currently only builds against bundled isa-l
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_FUSE=$(usex fuse)
-   -DENABLE_HTTP=$(usex http)
-   -DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_LIBXML2=$(usex libxml2)
-   -DENABLE_PYTHON=$(usex python)
-   -DENABLE_READLINE=$(usex readline)
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-07-04 Thread Guilherme Amadio
commit: 9a379a5de2ee6c63be0d8285003b26f616bfe521
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 07:11:48 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 07:14:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a379a5d

net-libs/xrootd: stabilize 5.5.4-r1 for amd64

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.5.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.5.4-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
index 543ccf619b46..4857db5da8b7 100644
--- a/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
+++ b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-07-04 Thread Guilherme Amadio
commit: 448a3ec950e76342573cd6f1721cbadce07c4fbc
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 07:05:52 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 07:14:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448a3ec9

net-libs/xrootd: merge duplicate REQUIRED_USE added by mistake

Closes: https://bugs.gentoo.org/909428
Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.5.5-r1.ebuild | 12 +---
 net-libs/xrootd/xrootd-5.6.0.ebuild| 16 +++-
 2 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
index 7b7be06008c8..b80cac774a68 100644
--- a/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
+++ b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
@@ -26,8 +26,11 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples fuse http kerberos +libxml2 macaroons python readline scitokens 
+server systemd test xrdec"
 
 REQUIRED_USE="
-   macaroons? ( server )
-   scitokens? ( server )
+   http? ( kerberos )
+   macaroons? ( server )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
 "
 
 RESTRICT="!test? ( test )"
@@ -63,11 +66,6 @@ BDEPEND="
 RDEPEND="${CDEPEND}
dev-lang/perl
 "
-REQUIRED_USE="
-   http? ( kerberos )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( server )
-"
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.8.3-crc32.patch

diff --git a/net-libs/xrootd/xrootd-5.6.0.ebuild 
b/net-libs/xrootd/xrootd-5.6.0.ebuild
index eb7a9c37b3a2..dd92b0da08dc 100644
--- a/net-libs/xrootd/xrootd-5.6.0.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.0.ebuild
@@ -26,13 +26,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 
+RESTRICT="!test? ( test )"
+
 REQUIRED_USE="
-   macaroons? ( server http )
-   scitokens? ( server )
+   http? ( kerberos )
+   macaroons? ( server http )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   scitokens? ( server )
+   test? ( server )
 "
 
-RESTRICT="!test? ( test )"
-
 CDEPEND="acct-group/xrootd
acct-user/xrootd
dev-libs/openssl:0=
@@ -68,11 +71,6 @@ BDEPEND="
 RDEPEND="${CDEPEND}
dev-lang/perl
 "
-REQUIRED_USE="
-   http? ( kerberos )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( server )
-"
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.8.3-crc32.patch



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-07-04 Thread Guilherme Amadio
commit: 66c14cb9a72b00a6ad8163330da5af6e99561cad
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jul  4 07:13:06 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jul  4 07:14:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c14cb9

net-libs/xrootd-ceph: drop 5.4.3

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 -
 net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild | 38 ---
 2 files changed, 39 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 5f20ce7df6ad..c6fee4687bdd 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,2 @@
-DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3
 DIST xrootd-ceph-5.5.4.tar.gz 82015 BLAKE2B 
cfd2ec0151bfb7113954a7bab4f522984b0692700a2cd141c7039418d528693bf45e65308395a8eacf4e1a5b34389fc3c0b83f0575af132730103376bc8e07fc
 SHA512 
59cc73505e8cb8ec9e43b30f3773872458257c3c463919337ef97e77de928378803719300f191877d54c1d67dbf45b54aa115ebc9bbac0f64acf51f4e7c23cc5
 DIST xrootd-ceph-5.5.5.tar.gz 82015 BLAKE2B 
ddc9f2e54d698b7974a768da9f528dbdbcf0990836acfaf3d51996630388e68ce3e8c35b5f5849331f4479c5d4df93b890e857afb31a0eac1e7fd950bb196fca
 SHA512 
0795a72c48275eb3f7ced96395536b1965f2422927e77c89e91acc3d0066d3bbafeddb378d3780d4b979e4c6308abd93a3a8bd759607562f5b1d263f99927414

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
deleted file mode 100644
index d976d23d575f..
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2022 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/refs/tags/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-${PV}
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-06-30 Thread Guilherme Amadio
commit: 77ba17724d256bd32d3f7a3f4bf6618e8511afca
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Jun 30 17:45:42 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Jun 30 17:45:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ba1772

net-libs/xrootd: update metadata.xml

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index 3b614243b413..45b738d5359a 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -17,6 +17,7 @@
 xrootd/xrootd
   
   
+Enable suport for sys-cluster/ceph (XrdCeph 
plugin)
 Enable the sys-fs/fuse filesystem 
driver
 Enable http protocol support
 Use dev-libs/libxml2 for XML parsing 
(preferred) instead of bundled tinyxml



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-06-30 Thread Guilherme Amadio
commit: da307758171440ff3173fcfe221f77ce1d465e3e
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Jun 30 16:24:44 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Jun 30 16:24:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da307758

net-libs/xrootd: add 5.6.0

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.6.0.ebuild | 209 
 2 files changed, 210 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 00b69e31c314..a30f0d140c96 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
 DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba
+DIST xrootd-5.6.0.tar.gz 3277803 BLAKE2B 
afdad0bd311d670610e230899477364f7be322a87804b4fc21a914d0e4fb7b7b1917d5d00445d2b7568c11e6a80e2a75620979a8031cbd62daf78c525b9da2fb
 SHA512 
98119f51eecc16551c7f69147dd736df2632d77983bb6090c5452cb08faf6413bd1c3a54a8bd158af2ccff404b95e7e0b1ef1b2f65651b9d4a64b2dc5895dd12

diff --git a/net-libs/xrootd/xrootd-5.6.0.ebuild 
b/net-libs/xrootd/xrootd-5.6.0.ebuild
new file mode 100644
index ..eb7a9c37b3a2
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.6.0.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1 systemd
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+LICENSE="LGPL-3+"
+
+IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline 
scitokens +server systemd test xrdec"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+REQUIRED_USE="
+   macaroons? ( server http )
+   scitokens? ( server )
+"
+
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   ceph? ( sys-cluster/ceph )
+   fuse? ( sys-fs/fuse:0= )
+   http? (
+   net-misc/curl:=
+   net-libs/davix
+   )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
+   systemd? ( sys-apps/systemd:= )
+   xrdec? ( dev-libs/isa-l )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? (
+   dev-cpp/gtest
+   dev-util/cppunit
+   )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( server )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrd.*Tests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_SYSTEM_ISAL=TRUE
+   -DXRDCEPH_SUBMODULE=$(usex ceph)
+  

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-06-08 Thread Guilherme Amadio
commit: f2e4bbc44ec1f90456cf73a2c96daffe607a2a4f
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Thu Jun  8 11:57:46 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Thu Jun  8 11:58:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e4bbc4

net-libs/xrootd: add support for macaroons and scitokens

Closes: https://bugs.gentoo.org/834109

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/metadata.xml|  2 ++
 .../xrootd/{xrootd-5.5.5.ebuild => xrootd-5.5.5-r1.ebuild}  | 13 ++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index 16c259164057..3b614243b413 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -20,6 +20,8 @@
 Enable the sys-fs/fuse filesystem 
driver
 Enable http protocol support
 Use dev-libs/libxml2 for XML parsing 
(preferred) instead of bundled tinyxml
+Enable support for macaroons with 
dev-libs/libmacaroons
+Enable support for scitokens with 
dev-cpp/scitokens-cpp
 Install xrootd server and related plug-ins
 Enable erasure coding support (XrdEc plugin) with 
dev-libs/isa-l
   

diff --git a/net-libs/xrootd/xrootd-5.5.5.ebuild 
b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
similarity index 93%
rename from net-libs/xrootd/xrootd-5.5.5.ebuild
rename to net-libs/xrootd/xrootd-5.5.5-r1.ebuild
index 9137e1925da2..7b7be06008c8 100644
--- a/net-libs/xrootd/xrootd-5.5.5.ebuild
+++ b/net-libs/xrootd/xrootd-5.5.5-r1.ebuild
@@ -23,7 +23,12 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test xrdec"
+IUSE="examples fuse http kerberos +libxml2 macaroons python readline scitokens 
+server systemd test xrdec"
+
+REQUIRED_USE="
+   macaroons? ( server )
+   scitokens? ( server )
+"
 
 RESTRICT="!test? ( test )"
 
@@ -39,8 +44,10 @@ CDEPEND="acct-group/xrootd
)
kerberos? ( virtual/krb5 )
libxml2? ( dev-libs/libxml2:2= )
+   macaroons? ( dev-libs/libmacaroons )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
+   scitokens? ( dev-cpp/scitokens-cpp )
systemd? ( sys-apps/systemd:= )
xrdec? ( dev-libs/isa-l )
 "
@@ -98,10 +105,10 @@ src_configure() {
-DENABLE_FUSE=$(usex fuse)
-DENABLE_HTTP=$(usex http)
-DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_MACAROONS=no
+   -DENABLE_MACAROONS=$(usex macaroons)
-DENABLE_PYTHON=$(usex python)
-DENABLE_READLINE=$(usex readline)
-   -DENABLE_SCITOKENS=no
+   -DENABLE_SCITOKENS=$(usex scitokens)
-DENABLE_TESTS=$(usex test)
-DENABLE_VOMS=no
-DENABLE_XRDCL=yes



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-06-07 Thread Guilherme Amadio
commit: ea3f45dbfee3720e513784d98e562ae575c8f7cb
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed May 31 09:04:21 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Jun  7 06:27:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3f45db

net-libs/xrootd-ceph: add 5.5.5

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild | 38 +++
 2 files changed, 39 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 71ecab39fd55..5f20ce7df6ad 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3
 DIST xrootd-ceph-5.5.4.tar.gz 82015 BLAKE2B 
cfd2ec0151bfb7113954a7bab4f522984b0692700a2cd141c7039418d528693bf45e65308395a8eacf4e1a5b34389fc3c0b83f0575af132730103376bc8e07fc
 SHA512 
59cc73505e8cb8ec9e43b30f3773872458257c3c463919337ef97e77de928378803719300f191877d54c1d67dbf45b54aa115ebc9bbac0f64acf51f4e7c23cc5
+DIST xrootd-ceph-5.5.5.tar.gz 82015 BLAKE2B 
ddc9f2e54d698b7974a768da9f528dbdbcf0990836acfaf3d51996630388e68ce3e8c35b5f5849331f4479c5d4df93b890e857afb31a0eac1e7fd950bb196fca
 SHA512 
0795a72c48275eb3f7ced96395536b1965f2422927e77c89e91acc3d0066d3bbafeddb378d3780d4b979e4c6308abd93a3a8bd759607562f5b1d263f99927414

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild
new file mode 100644
index ..ef04b6db3238
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.5.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 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/refs/tags/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-${PV}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/files/, net-libs/xrootd/

2023-05-17 Thread Guilherme Amadio
commit: bc0d43f4a79a0cd693c54d478f6572e8f7c9efd7
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Mon May 15 13:03:56 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed May 17 14:58:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc0d43f4

net-libs/xrootd: add 5.5.5

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest   |   1 +
 .../xrootd/files/xrootd-5.5-system-isa-l.patch | 286 +
 net-libs/xrootd/metadata.xml   |   1 +
 net-libs/xrootd/xrootd-5.5.5.ebuild| 205 +++
 4 files changed, 493 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index c6298f5fa708..00b69e31c314 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd
+DIST xrootd-5.5.5.tar.gz 3243062 BLAKE2B 
697dbd9d42e3fd9c6d2cf86a1c120e3752e74abbae2cf69be4c20292c568ad2f20fbea9320a2e22c04b53232d32915f9f7ea08c0e93117e8e72f181d5b642044
 SHA512 
864b4fe686c0a618a2672b624b7c5a00a4e87b4bd97842f8e25666b48a23f01e7d91d926013e9f435fb439a9c464ebbca8818720ec6c067c04d0603d1381cdba

diff --git a/net-libs/xrootd/files/xrootd-5.5-system-isa-l.patch 
b/net-libs/xrootd/files/xrootd-5.5-system-isa-l.patch
new file mode 100644
index ..4ab928aed7bb
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-5.5-system-isa-l.patch
@@ -0,0 +1,286 @@
+commit fb01136cc18af34447d9438827cc736f720e4c24
+Author: Guilherme Amadio 
+Date:   Fri Nov 11 17:33:00 2022 +0100
+
+[CMake] Adapt build system to be able to use pre-installed isa-l
+
+diff --git a/cmake/XRootDDefaults.cmake b/cmake/XRootDDefaults.cmake
+index 5c25975bb..1bef0cce3 100644
+--- a/cmake/XRootDDefaults.cmake
 b/cmake/XRootDDefaults.cmake
+@@ -33,4 +33,5 @@ option( ENABLE_XRDCLHTTP "Enable xrdcl-http plugin."
+ cmake_dependent_option( ENABLE_SCITOKENS "Enable SciTokens plugin." TRUE "NOT 
XRDCL_ONLY" FALSE )
+ cmake_dependent_option( ENABLE_MACAROONS "Enable Macaroons plugin." TRUE "NOT 
XRDCL_ONLY" FALSE )
+ option( FORCE_ENABLED"Fail build if enabled components cannot be built."  
FALSE )
++cmake_dependent_option( USE_SYSTEM_ISAL  "Use isa-l installed in the system" 
FALSE "ENABLE_XRDEC" FALSE )
+ define_default( XRD_PYTHON_REQ_VERSION 3 )
+diff --git a/src/XrdCl/CMakeLists.txt b/src/XrdCl/CMakeLists.txt
+index fb43d1f1b..32d3ccb4e 100644
+--- a/src/XrdCl/CMakeLists.txt
 b/src/XrdCl/CMakeLists.txt
+@@ -28,8 +28,6 @@ endif()
+ # XrdEc sources
+ 
#---
+ if( BUILD_XRDEC )
+-  link_directories( ${ISAL_LIBDIR} )
+-  include_directories( ${ISAL_INCDIR} )
+   set( XrdEcSources
+${CMAKE_SOURCE_DIR}/src/XrdEc/XrdEcRedundancyProvider.cc
+${CMAKE_SOURCE_DIR}/src/XrdEc/XrdEcUtilities.cc
+@@ -37,7 +35,6 @@ if( BUILD_XRDEC )
+${CMAKE_SOURCE_DIR}/src/XrdEc/XrdEcReader.cc
+XrdClEcHandler.cc
+   )
+-  set( ISAL_LIB isal )
+   add_compile_definitions( WITH_XRDEC )
+ endif()
+ 
+@@ -119,19 +116,17 @@ target_link_libraries(
+   ${ZLIB_LIBRARIES}
+   ${EXTRA_LIBS}
+   ${CMAKE_DL_LIBS}
+-  ${OPENSSL_LIBRARIES}
+-  ${ISAL_LIB})
++  ${OPENSSL_LIBRARIES})
+ 
+ set_target_properties(
+   XrdCl
+   PROPERTIES
+-  INTERFACE_LINK_LIBRARIES ""
+-  LINK_INTERFACE_LIBRARIES ""
+   VERSION   ${XRD_CL_VERSION}
+   SOVERSION ${XRD_CL_SOVERSION} )
+ 
+ if( BUILD_XRDEC )
+-  add_dependencies( XrdCl isa-l )
++  target_include_directories(XrdCl PUBLIC ${ISAL_INCLUDE_DIRS})
++  target_link_libraries(XrdCl ${ISAL_LIBRARIES})
+ endif()
+ 
+ 
#---
+diff --git a/src/XrdEc/CMakeLists.txt b/src/XrdEc/CMakeLists.txt
+index 43aa3ff5e..53754340c 100644
+--- a/src/XrdEc/CMakeLists.txt
 b/src/XrdEc/CMakeLists.txt
+@@ -1,9 +1,6 @@
+ include( XRootDCommon )
+ include( ExternalProject )
+ 
+-link_directories( ${ISAL_LIBDIR} )
+-include_directories( ${ISAL_INCDIR} )
+-
+ 
#---
+ # The XrdEc shared library
+ 
#---
+@@ -27,19 +24,14 @@ add_library(
+ target_link_libraries(
+   XrdEc
+   XrdCl
+-  isal
+ )
+ 
+ set_target_properties(
+   XrdEc
+   PROPERTIES
+-  

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-05-17 Thread Guilherme Amadio
commit: 8e52ac653e3b977c73551ed2d660cffa25b99fe3
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Mon May 15 13:05:39 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed May 17 14:58:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e52ac65

net-libs/xrootd: add github upstream metadata

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index dae43a78f13c..1073a8452a26 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -13,6 +13,9 @@
   It is usually used with sci-physics/root and its PROOF
   facilities for cluster computing in high energy physics.
   
+  
+xrootd/xrootd
+  
   
 Enable the sys-fs/fuse filesystem 
driver
 Enable http protocol support



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-05-11 Thread Sam James
commit: dcd53eca2009a43a2d103bb4bf569dd6ad518c76
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 10:59:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 11:00:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd53eca

net-libs/xrootd: Stabilize 5.5.4-r1 x86, #906127

Signed-off-by: Sam James  gentoo.org>

 net-libs/xrootd/xrootd-5.5.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.5.4-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
index ea3bc8cea605..543ccf619b46 100644
--- a/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
+++ b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-04-08 Thread Marek Szuba
commit: 86813c042dcd3f5455497fbdfe7e766164e0ac30
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Apr  8 20:09:48 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Apr  8 20:56:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86813c04

net-libs/xrootd: drop 5.4.3-r1, 5.5.0, 5.5.2, 5.5.4

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest   |   2 -
 net-libs/xrootd/metadata.xml   |   1 -
 net-libs/xrootd/xrootd-5.4.3-r1.ebuild | 135 -
 net-libs/xrootd/xrootd-5.5.0.ebuild| 134 
 net-libs/xrootd/xrootd-5.5.2.ebuild| 135 -
 net-libs/xrootd/xrootd-5.5.4.ebuild| 135 -
 6 files changed, 542 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 3ce361e43dff..c6298f5fa708 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,4 +1,2 @@
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
-DIST xrootd-5.5.0.tar.gz 3227490 BLAKE2B 
3d9c0ab859f95d6e651ae98dc132ade389f9981a20c738798bc2079a5470d766cd882df326359ccd4777389e15bf064537e6d4f7f653fbb5fe251b019b4ca5fd
 SHA512 
d13d76be54eacc097363cd1c06448f87bffdd32c81eaad12b4c3321be31c7b221ef34b1bf5da50ee5128d9682e13dc670554317c29c13607c246c781a1fefffe
-DIST xrootd-5.5.2.tar.gz 3236018 BLAKE2B 
033a9698b60d839fb683aab22172d3cbd6e0d8041b64270a8c3045f0504d3ef7941ad439dcaf85fa16303cb1e2dfcecbbf7d2de1145ef3f1ae96c5099b08fe2b
 SHA512 
7e8691d8df5dd0047702d9a4785b1fc3c5487210044de7f448e555cf89d170feee16899419fbc45d09d95751129b04c262600ab81f33703f5a28bef789071f3d
 DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index 9305cd64fd69..dae43a78f13c 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -18,6 +18,5 @@
 Enable http protocol support
 Use dev-libs/libxml2 for XML parsing 
(preferred) instead of bundled tinyxml
 Install xrootd server and related plug-ins
-Install additional components useful for testing 
xrootd
   
 

diff --git a/net-libs/xrootd/xrootd-5.4.3-r1.ebuild 
b/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
deleted file mode 100644
index 744c2fed9672..
--- a/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Upstream does not support the building of Python bindings
-# via CMake for more than one implementation at a time.
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="https://xrootd.slac.stanford.edu/;
-SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test-suite"
-
-# No actual build-time test suite
-RESTRICT="test"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:0= )
-   http? ( net-misc/curl:= )
-   kerberos? ( virtual/krb5 )
-   libxml2? ( dev-libs/libxml2:2= )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd:= )
-   test-suite? ( dev-util/cppunit )
-"
-DEPEND="${CDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen[dot]
-   virtual/latex-base
-   python? ( dev-python/sphinx )
-   )
-   python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-REQUIRED_USE="
-   http? ( kerberos )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test-suite? ( server )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
-   "${FILESDIR}"/${PN}-5.4.3-no_automagic.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.*/libXrd.*-$(ver_cut 1)\.so
-   /usr/lib.*/libXrdClTests\.so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-# FIXME: support xrdec - currently only builds against bundled isa-l
-src_configure() {
-   local 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-04-08 Thread Marek Szuba
commit: 222a063bb53094f1da370667f3b48bdc2d59ef2a
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Apr  8 20:07:49 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Apr  8 20:56:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222a063b

net-libs/xrootd: fix regressions introduced between 5.4.3-r2 and 5.5.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/xrootd-5.5.4-r1.ebuild | 190 +
 1 file changed, 190 insertions(+)

diff --git a/net-libs/xrootd/xrootd-5.5.4-r1.ebuild 
b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
new file mode 100644
index ..ea3bc8cea605
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517="setuptools"
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs distutils-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test"
+
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   net-libs/davix
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:0= )
+   http? ( net-misc/curl:= )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   ${DISTUTILS_DEPS}
+   test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( server )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-5.4.3-cmake_no_python.patch
+   "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   if use python; then
+   pushd "${S}"/bindings/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
+   -DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex systemd "no" "yes")
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_MACAROONS=no
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_SCITOKENS=no
+   -DENABLE_TESTS=$(usex test)
+   -DENABLE_VOMS=no
+   -DFORCE_ENABLED=yes
+   -DXRDCL_ONLY=$(usex server "no" "yes")
+   )
+   cmake_src_configure
+
+   if use python; then
+   pushd "${BUILD_DIR}"/bindings/python > /dev/null || die
+   distutils-r1_src_configure
+   popd > /dev/null || die
+   fi
+}
+
+src_compile() {
+   cmake_src_compile
+   if use python; then
+   pushd "${BUILD_DIR}"/bindings/python > /dev/null || die
+   distutils-r1_src_compile
+   popd > /dev/null || die
+   fi
+
+   docs_compile
+   # secondary documentation for python bindings
+   if use python && use doc; then
+   emake -C bindings/python/docs html
+   fi
+}
+
+python_test() {
+   epytest
+}
+
+src_test() {
+   pushd "${BUILD_DIR}/tests" > /dev/null || die
+   # There are more tests but since these are ones currently run by 
upstream in their CI,
+   # let's follow their example.
+   ./common/test-runner ./XrdClTests/libXrdClTests.so "All 
Tests/UtilsTest/" || die
+   ./common/test-runner ./XrdClTests/libXrdClTests.so "All 
Tests/SocketTest/" || die
+   ./common/test-runner ./XrdClTests/libXrdClTests.so "All 
Tests/PollerTest/" || die
+   popd > /dev/null || die
+
+   # Python tests currently require 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-04-08 Thread Marek Szuba
commit: 34524082b979253ce20fe50039e9e2fe7b29d2e4
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Apr  8 20:10:08 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Apr  8 20:56:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34524082

net-libs/xrootd-ceph: drop 5.5.2

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 -
 net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild | 38 ---
 2 files changed, 39 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 652f1fa9402d..71ecab39fd55 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,2 @@
 DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3
-DIST xrootd-ceph-5.5.2.tar.gz 82023 BLAKE2B 
50976230f0832b7065cf73c2eaf57e4455788ce3d10b471183ce6735befd88791952702cc25dcc53a54b6458f75a9c816cc420e610e95485c0fa9c9027ae47f5
 SHA512 
cfa425d84ba065b92868f493f3dd72597bcfddbcc4a5d91cd75b440b4adce2a8cebfe448bd9747a07717819862bb231829d6ffbffeb6cc80e3491e8bb36c274a
 DIST xrootd-ceph-5.5.4.tar.gz 82015 BLAKE2B 
cfd2ec0151bfb7113954a7bab4f522984b0692700a2cd141c7039418d528693bf45e65308395a8eacf4e1a5b34389fc3c0b83f0575af132730103376bc8e07fc
 SHA512 
59cc73505e8cb8ec9e43b30f3773872458257c3c463919337ef97e77de928378803719300f191877d54c1d67dbf45b54aa115ebc9bbac0f64acf51f4e7c23cc5

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild
deleted file mode 100644
index ef04b6db3238..
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2023 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/refs/tags/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-${PV}
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-04-08 Thread Marek Szuba
commit: 7c4d629828e81b18329f1944e544600d8407df2a
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Apr  8 20:43:44 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Apr  8 20:56:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c4d6298

net-libs/xrootd: fix typo

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/xrootd-5.4.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.4.3-r2.ebuild 
b/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
index 5b19756c4d84..fd1b2bdf0993 100644
--- a/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
+++ b/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP571="setuptools"
+DISTUTILS_USE_PEP517="setuptools"
 
 inherit cmake distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-03-24 Thread Guilherme Amadio
commit: fcfd50c23a43bd299e8d218aad070bfc3fa57d32
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar 24 14:45:34 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar 24 15:38:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcfd50c2

net-libs/xrootd: add 5.5.4

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.5.4.ebuild | 135 
 2 files changed, 136 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 394f2fb87567..3ce361e43dff 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
 DIST xrootd-5.5.0.tar.gz 3227490 BLAKE2B 
3d9c0ab859f95d6e651ae98dc132ade389f9981a20c738798bc2079a5470d766cd882df326359ccd4777389e15bf064537e6d4f7f653fbb5fe251b019b4ca5fd
 SHA512 
d13d76be54eacc097363cd1c06448f87bffdd32c81eaad12b4c3321be31c7b221ef34b1bf5da50ee5128d9682e13dc670554317c29c13607c246c781a1fefffe
 DIST xrootd-5.5.2.tar.gz 3236018 BLAKE2B 
033a9698b60d839fb683aab22172d3cbd6e0d8041b64270a8c3045f0504d3ef7941ad439dcaf85fa16303cb1e2dfcecbbf7d2de1145ef3f1ae96c5099b08fe2b
 SHA512 
7e8691d8df5dd0047702d9a4785b1fc3c5487210044de7f448e555cf89d170feee16899419fbc45d09d95751129b04c262600ab81f33703f5a28bef789071f3d
+DIST xrootd-5.5.4.tar.gz 3241021 BLAKE2B 
505890ab7dbd0530d3c42390c9a6858cf0c8b53d42631b3bed615cb9b7c4d738bb791d26e625b010fef79f57291eb8bcd653ec629d240df92d37c12c973210f8
 SHA512 
1bf8fec3e20950e1dfbb5a7914c2f2b1d7d1fc1ce6b419dda129bb6cfb083ae674a14732b7b7330dee2287635749d91f8ee7e16badd71c723d189a1a44c309dd

diff --git a/net-libs/xrootd/xrootd-5.5.4.ebuild 
b/net-libs/xrootd/xrootd-5.5.4.ebuild
new file mode 100644
index ..aabea613b0cf
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.5.4.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   net-libs/davix
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:0= )
+   http? ( net-misc/curl:= )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( server )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_MACAROONS=no
+   -DENABLE_SCITOKENS=no
+   -DENABLE_TESTS=$(usex test)
+   -DENABLE_VOMS=no
+   -DFORCE_ENABLED=yes
+   -DPIP_OPTIONS="--ignore-installed" # bug 861452
+   -DXRDCL_ONLY=$(usex server "no" "yes")
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   docs_compile
+
+   # secondary documentation for python bindings
+   if use python && use doc; 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-03-24 Thread Guilherme Amadio
commit: 4ab55e71e22861af754ffb43199133615a1a4711
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Mar 24 14:45:58 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Mar 24 15:38:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab55e71

net-libs/xrootd-ceph: add 5.5.4

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild | 38 +++
 2 files changed, 39 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 701846da04d5..652f1fa9402d 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3
 DIST xrootd-ceph-5.5.2.tar.gz 82023 BLAKE2B 
50976230f0832b7065cf73c2eaf57e4455788ce3d10b471183ce6735befd88791952702cc25dcc53a54b6458f75a9c816cc420e610e95485c0fa9c9027ae47f5
 SHA512 
cfa425d84ba065b92868f493f3dd72597bcfddbcc4a5d91cd75b440b4adce2a8cebfe448bd9747a07717819862bb231829d6ffbffeb6cc80e3491e8bb36c274a
+DIST xrootd-ceph-5.5.4.tar.gz 82015 BLAKE2B 
cfd2ec0151bfb7113954a7bab4f522984b0692700a2cd141c7039418d528693bf45e65308395a8eacf4e1a5b34389fc3c0b83f0575af132730103376bc8e07fc
 SHA512 
59cc73505e8cb8ec9e43b30f3773872458257c3c463919337ef97e77de928378803719300f191877d54c1d67dbf45b54aa115ebc9bbac0f64acf51f4e7c23cc5

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild
new file mode 100644
index ..ef04b6db3238
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.5.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 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/refs/tags/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-${PV}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-02-15 Thread Guilherme Amadio
commit: 49b71c6963359de1c3d2cc2bb3b929011239cf4d
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed Feb 15 14:58:03 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Feb 15 14:58:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b71c69

net-libs/xrootd-ceph: add 5.5.2

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild | 38 +++
 2 files changed, 39 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 5f78eef2dbf7..701846da04d5 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1 +1,2 @@
 DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3
+DIST xrootd-ceph-5.5.2.tar.gz 82023 BLAKE2B 
50976230f0832b7065cf73c2eaf57e4455788ce3d10b471183ce6735befd88791952702cc25dcc53a54b6458f75a9c816cc420e610e95485c0fa9c9027ae47f5
 SHA512 
cfa425d84ba065b92868f493f3dd72597bcfddbcc4a5d91cd75b440b4adce2a8cebfe448bd9747a07717819862bb231829d6ffbffeb6cc80e3491e8bb36c274a

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild
new file mode 100644
index ..ef04b6db3238
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.5.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 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/refs/tags/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-${PV}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2023-02-15 Thread Guilherme Amadio
commit: 933c5534fed474dd48661bceccf5b84ebea52b2e
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed Feb 15 14:57:03 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Feb 15 14:57:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=933c5534

net-libs/xrootd-ceph: add remote-id to metadata.xml

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd-ceph/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-libs/xrootd-ceph/metadata.xml 
b/net-libs/xrootd-ceph/metadata.xml
index 1ca52bb0ad68..0465b587dd37 100644
--- a/net-libs/xrootd-ceph/metadata.xml
+++ b/net-libs/xrootd-ceph/metadata.xml
@@ -10,4 +10,7 @@
sys-cluster/ceph. Until its version 4.10.0 it used 
to part
of net-libs/xrootd itself.

+   
+   xrootd/xrootd-ceph
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2023-02-07 Thread Guilherme Amadio
commit: 593ceb6051f5654ff40b9f1a2ee2c9dd8df6cec8
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Feb  7 13:19:03 2023 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Feb  7 13:54:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593ceb60

net-libs/xrootd: version bump to 5.5.2

Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.5.2.ebuild | 135 
 2 files changed, 136 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 1515cb9abb1e..394f2fb87567 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
 DIST xrootd-5.5.0.tar.gz 3227490 BLAKE2B 
3d9c0ab859f95d6e651ae98dc132ade389f9981a20c738798bc2079a5470d766cd882df326359ccd4777389e15bf064537e6d4f7f653fbb5fe251b019b4ca5fd
 SHA512 
d13d76be54eacc097363cd1c06448f87bffdd32c81eaad12b4c3321be31c7b221ef34b1bf5da50ee5128d9682e13dc670554317c29c13607c246c781a1fefffe
+DIST xrootd-5.5.2.tar.gz 3236018 BLAKE2B 
033a9698b60d839fb683aab22172d3cbd6e0d8041b64270a8c3045f0504d3ef7941ad439dcaf85fa16303cb1e2dfcecbbf7d2de1145ef3f1ae96c5099b08fe2b
 SHA512 
7e8691d8df5dd0047702d9a4785b1fc3c5487210044de7f448e555cf89d170feee16899419fbc45d09d95751129b04c262600ab81f33703f5a28bef789071f3d

diff --git a/net-libs/xrootd/xrootd-5.5.2.ebuild 
b/net-libs/xrootd/xrootd-5.5.2.ebuild
new file mode 100644
index ..aabea613b0cf
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.5.2.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   net-libs/davix
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:0= )
+   http? ( net-misc/curl:= )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( server )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_MACAROONS=no
+   -DENABLE_SCITOKENS=no
+   -DENABLE_TESTS=$(usex test)
+   -DENABLE_VOMS=no
+   -DFORCE_ENABLED=yes
+   -DPIP_OPTIONS="--ignore-installed" # bug 861452
+   -DXRDCL_ONLY=$(usex server "no" "yes")
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   docs_compile
+
+   # secondary documentation for python bindings
+   if use python && use doc; then
+   emake -C bindings/python/docs html
+   fi
+}
+
+src_install() {
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${ED}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-10-18 Thread Andrew Ammerlaan
commit: 9805bb723391d4741041e8f32faffc60289d7a4a
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Oct 18 15:00:40 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Oct 18 15:01:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9805bb72

net-libs/xrootd: add 5.5.0

Closes: https://bugs.gentoo.org/877555
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.5.0.ebuild | 134 
 2 files changed, 135 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 82d24fcfcf67..1515cb9abb1e 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1 +1,2 @@
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72
+DIST xrootd-5.5.0.tar.gz 3227490 BLAKE2B 
3d9c0ab859f95d6e651ae98dc132ade389f9981a20c738798bc2079a5470d766cd882df326359ccd4777389e15bf064537e6d4f7f653fbb5fe251b019b4ca5fd
 SHA512 
d13d76be54eacc097363cd1c06448f87bffdd32c81eaad12b4c3321be31c7b221ef34b1bf5da50ee5128d9682e13dc670554317c29c13607c246c781a1fefffe

diff --git a/net-libs/xrootd/xrootd-5.5.0.ebuild 
b/net-libs/xrootd/xrootd-5.5.0.ebuild
new file mode 100644
index ..53f8a65ef85d
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.5.0.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+PYTHON_COMPAT=( python3_{8..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   media-gfx/graphviz
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+"
+
+inherit cmake docs python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples fuse http kerberos +libxml2 python readline +server systemd 
test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   net-libs/davix
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:0= )
+   http? ( net-misc/curl:= )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( server )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-5.4.3-no_automagic.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_LIBXML2=$(usex libxml2)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   -DENABLE_VOMS=no
+   -DFORCE_ENABLED=yes
+   -DPIP_OPTIONS="--ignore-installed" # bug 861452
+   -DXRDCL_ONLY=$(usex server "no" "yes")
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   docs_compile
+
+   # secondary documentation for python bindings
+   if use python && use doc; then
+   emake -C bindings/python/docs html
+   fi
+}
+
+src_install() {
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${ED}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   if use server; then
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-09-07 Thread Marek Szuba
commit: 51e27b02d555d31977600d44ce26b6aa04d1987a
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Sep  7 12:25:36 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Sep  7 12:26:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e27b02

net-libs/xrootd: run native tests at build time instead of just installing them

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/xrootd-5.4.3-r2.ebuild | 30 ++
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/net-libs/xrootd/xrootd-5.4.3-r2.ebuild 
b/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
index e0c005ecfcb9..835ba9ab3318 100644
--- a/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
+++ b/net-libs/xrootd/xrootd-5.4.3-r2.ebuild
@@ -16,11 +16,9 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test test-suite"
+IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test"
 
-# Python tests currently require manual configuration and start-up of an 
xrootd server.
-# No actual build-time test suite for native code.
-RESTRICT="test"
+RESTRICT="!test? ( test )"
 
 CDEPEND="acct-group/xrootd
acct-user/xrootd
@@ -34,7 +32,6 @@ CDEPEND="acct-group/xrootd
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
systemd? ( sys-apps/systemd:= )
-   test-suite? ( dev-util/cppunit )
 "
 DEPEND="${CDEPEND}"
 BDEPEND="
@@ -48,6 +45,7 @@ BDEPEND="
${DISTUTILS_DEPS}
test? ( >=dev-python/pytest-7.1.2[${PYTHON_USEDEP}] )
)
+   test? ( dev-util/cppunit )
 "
 RDEPEND="${CDEPEND}
dev-lang/perl
@@ -56,7 +54,6 @@ REQUIRED_USE="
http? ( kerberos )
python? ( ${PYTHON_REQUIRED_USE} )
test? ( server )
-   test-suite? ( server )
 "
 
 PATCHES=(
@@ -95,7 +92,7 @@ src_configure() {
-DENABLE_LIBXML2=$(usex libxml2)
-DENABLE_PYTHON=$(usex python)
-DENABLE_READLINE=$(usex readline)
-   -DENABLE_TESTS=$(usex test-suite)
+   -DENABLE_TESTS=$(usex test)
-DENABLE_VOMS=no
-DFORCE_ENABLED=yes
-DXRDCL_ONLY=$(usex server "no" "yes")
@@ -129,7 +126,17 @@ python_test() {
 }
 
 src_test() {
-   use python && distutils-r1_src_test
+   pushd "${BUILD_DIR}/tests" > /dev/null || die
+   # There are more tests but since these are ones currently run by 
upstream in their CI,
+   # let's follow their example.
+   ./common/test-runner ./XrdClTests/libXrdClTests.so "All 
Tests/UtilsTest/" || die
+   ./common/test-runner ./XrdClTests/libXrdClTests.so "All 
Tests/SocketTest/" || die
+   ./common/test-runner ./XrdClTests/libXrdClTests.so "All 
Tests/PollerTest/" || die
+   popd > /dev/null || die
+
+   # Python tests currently require manual configuration and start-up of 
an xrootd server.
+   # TODO: get this to run properly.
+   #use python && distutils-r1_src_test
 }
 
 src_install() {
@@ -170,4 +177,11 @@ src_install() {
dodoc -r bindings/python/examples
fi
fi
+
+   if use test; then
+   for f in test-runner xrdshmap; do
+   rm "${ED}"/usr/bin/${f} || die "Failed to remove test 
helper ${f} from installed tree"
+   done
+   rm "${ED}"/usr/$(get_libdir)/libXrdClTest*.so || die "Failed to 
remove test libraries from installed tree"
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2022-09-07 Thread Marek Szuba
commit: b18c65f6d5aca4149c87c62e2b82d529adebadda
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Sep  7 11:40:14 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Sep  7 12:26:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b18c65f6

net-libs/xrootd: use distutils-r1 to handle Python bindings

Now we can finally install the bindings for multiple Python implementations!

Signed-off-by: Marek Szuba  gentoo.org>

 .../files/xrootd-5.4.3-cmake_no_python.patch   |  15 ++
 .../files/xrootd-5.4.3-python_tests_py3.patch  | 169 
 net-libs/xrootd/xrootd-5.4.3-r2.ebuild | 173 +
 3 files changed, 357 insertions(+)

diff --git a/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch 
b/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch
new file mode 100644
index ..04607cdd7b04
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch
@@ -0,0 +1,15 @@
+--- a/bindings/python/CMakeLists.txt
 b/bindings/python/CMakeLists.txt
+@@ -32,6 +32,7 @@
+ 
+ configure_file(${SETUP_PY_IN} ${SETUP_PY})
+ 
++if (0)
+ string(FIND "${PIP_OPTIONS}" "--prefix" PIP_OPTIONS_PREFIX_POSITION)
+ if( "${PIP_OPTIONS_PREFIX_POSITION}" EQUAL "-1" )
+   string(APPEND PIP_OPTIONS " --prefix 
\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}")
+@@ -100,3 +101,4 @@
+   )"
+   )
+ endif()
++endif()

diff --git a/net-libs/xrootd/files/xrootd-5.4.3-python_tests_py3.patch 
b/net-libs/xrootd/files/xrootd-5.4.3-python_tests_py3.patch
new file mode 100644
index ..e20e45309e39
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-5.4.3-python_tests_py3.patch
@@ -0,0 +1,169 @@
+--- a/bindings/python/tests/test_copy.py
 b/bindings/python/tests/test_copy.py
+@@ -61,15 +61,15 @@
+ 
+ class TestProgressHandler(object):
+   def begin(self, id, total, source, target):
+-print '+++ begin(): %d, total: %d' % (id, total)
+-print '+++ source: %s' % source
+-print '+++ target: %s' % target
++print('+++ begin(): %d, total: %d' % (id, total))
++print('+++ source: %s' % source)
++print('+++ target: %s' % target)
+ 
+   def end(self, jobId, status):
+-print '+++ end(): jobId: %s, status: %s'  % (jobId, status)
++print('+++ end(): jobId: %s, status: %s'  % (jobId, status))
+ 
+   def update(self, jobId, processed, total):
+-print '+++ update(): jobid: %s, processed: %d, total: %d' % (jobId, 
processed, total)
++print('+++ update(): jobid: %s, processed: %d, total: %d' % (jobId, 
processed, total))
+ 
+ def test_copy_progress_handler():
+   c = client.CopyProcess()
+--- a/bindings/python/tests/test_file.py
 b/bindings/python/tests/test_file.py
+@@ -289,9 +289,9 @@
+   for i, l in enumerate(lines):
+ total += len(l)
+ if l != pylines[i]:
+-  print '!', total, i
+-  print '+ py: %r' % pylines[i]
+-  print '+ me: %r' % l
++  print('!', total, i)
++  print('+ py: %r' % pylines[i])
++  print('+ me: %r' % l)
+   break
+ if pylines[i].endswith('\n'):
+   assert l.endswith('\n')
+--- a/bindings/python/tests/test_filesystem.py
 b/bindings/python/tests/test_filesystem.py
+@@ -37,20 +37,20 @@
+   status, response = f.open(smallfile, OpenFlags.NEW)
+ 
+   for func, args, hasReturnObject in funcspecs:
+-  async(func, args, hasReturnObject)
++  run_async(func, args, hasReturnObject)
+ 
+ def sync(func, args, hasReturnObject):
+   status, response = func(*args)
+-  print status
++  print(status)
+   assert status.ok
+   if hasReturnObject:
+-  print response
++  print(response)
+   assert response
+ 
+-def async(func, args, hasReturnObject):
++def run_async(func, args, hasReturnObject):
+   handler = AsyncResponseHandler()
+   status = func(callback=handler, *args)
+-  print status
++  print(status)
+   assert status.ok
+   status, response, hostlist = handler.wait()
+ 
+@@ -60,7 +60,7 @@
+ 
+   for host in hostlist:
+ assert host.url
+-print host.url
++print(host.url)
+ 
+   if hasReturnObject:
+ assert response
+@@ -79,7 +79,7 @@
+ 
+   try:
+ os.remove('/tmp/eggs')
+-  except OSError, __:
++  except OSError as __:
+ pass
+ 
+ def test_locate_sync():
+@@ -127,7 +127,7 @@
+ 
+   for item in response:
+ assert item.name
+-print item.statinfo
++print(item.statinfo)
+ assert item.statinfo
+ assert item.hostaddr
+ 
+@@ -143,11 +143,11 @@
+   assert status.ok
+ 
+   for h in hostlist:
+-print h.url
++print(h.url)
+ 
+   for item in response:
+ assert item.name
+-print item.statinfo
++print(item.statinfo)
+ assert item.statinfo
+ assert item.hostaddr
+ 
+@@ -158,7 +158,7 @@
+   status, response = c.query(QueryCode.STATS, 'a')
+   assert status.ok
+   assert response
+-  print response
++  print(response)
+ 
+ def test_query_async():
+   c = client.FileSystem(SERVER_URL)
+@@ -169,7 +169,7 @@
+   status, response, hostlist = 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-09-02 Thread Marek Szuba
commit: cc651686afe763c72eaf2bd0fb122e624e134275
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep  2 10:24:50 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep  2 10:52:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc651686

net-libs/xrootd: drop 5.0.3-r1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest   |   1 -
 net-libs/xrootd/xrootd-5.0.3-r1.ebuild | 117 -
 2 files changed, 118 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index bb0210d32398..82d24fcfcf67 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1 @@
-DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72

diff --git a/net-libs/xrootd/xrootd-5.0.3-r1.ebuild 
b/net-libs/xrootd/xrootd-5.0.3-r1.ebuild
deleted file mode 100644
index 63d03a9265a8..
--- a/net-libs/xrootd/xrootd-5.0.3-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-# Upstream does not support the building of Python bindings
-# via CMake for more than one implementation at a time.
-inherit cmake python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:= )
-   kerberos? ( virtual/krb5 )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   ssl? ( https://github.com/xrootd/xrootd/issues/447
-QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1)\.so
-   /usr/lib.*/libXrdClTests\.so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CRYPTO=$(usex ssl)
-   -DENABLE_FUSE=$(usex fuse)
-   -DENABLE_HTTP=$(usex http)
-   -DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_PYTHON=$(usex python)
-   -DENABLE_READLINE=$(usex readline)
-   -DENABLE_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   if use doc; then
-   doxygen Doxyfile || die
-   if use python; then
-   emake -C bindings/python/docs html
-   fi
-   fi
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doxydoc/html/. )
-   dodoc docs/ReleaseNotes.txt
-   cmake_src_install
-   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
-
-   # base configs
-   insinto /etc/xrootd
-   doins packaging/common/*.cfg
-
-   fowners root:xrootd /etc/xrootd
-   keepdir /var/log/xrootd
-   fowners xrootd:xrootd /var/log/xrootd
-
-   local i
-   for i in cmsd frm_purged frm_xfrd xrootd; do
-   newinitd "${FILESDIR}"/${i}.initd ${i}
-   done
-   # all daemons MUST use single master config file
-   newconfd "${FILESDIR}"/xrootd.confd xrootd
-
-   if use python; then
-   python_optimize "${D}/$(python_get_sitedir)"
-
-   if use doc; then
-   docinto python
-   docompress -x "/usr/share/doc/${PF}/python/html"
-   dodoc -r bindings/python/docs/build/html
-   fi
-   if use examples; then
-   docinto python
-   dodoc -r bindings/python/examples
-   fi
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2022-09-02 Thread Marek Szuba
commit: 6053e1fa66d0d7c8b5debc7c5a8c527b3d8ce9ee
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep  2 10:25:25 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep  2 10:52:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6053e1fa

net-libs/xrootd-ceph: drop 5.0.3

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 -
 net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild | 36 ---
 2 files changed, 37 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 630aacfc52f5..5f78eef2dbf7 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1 @@
-DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
 DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
deleted file mode 100644
index fe49b3f4f5c1..
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 )"
-
-# 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)
-   # As of 5.0.3 the default plug-in version is still 4.
-   -DPLUGIN_VERSION=$(ver_cut 1)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-08-23 Thread Guilherme Amadio
commit: 769b1f2e6faabebc6d0900142cf6d671db1e9ed3
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Aug 23 11:41:12 2022 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Aug 23 11:43:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=769b1f2e

net-libs/xrootd: fix bug 861452

Closes: https://bugs.gentoo.org/861452
Package-Manager: Portage-3.0.34, Repoman-3.0.3
Signed-off-by: Guilherme Amadio  gentoo.org>

 net-libs/xrootd/xrootd-5.4.3-r1.ebuild | 1 +
 net-libs/xrootd/xrootd-5.4.3.ebuild| 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-libs/xrootd/xrootd-5.4.3-r1.ebuild 
b/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
index abceb452f877..9b62d8a641ab 100644
--- a/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
+++ b/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
@@ -80,6 +80,7 @@ src_configure() {
-DENABLE_TESTS=$(usex test-suite)
-DENABLE_VOMS=no
-DFORCE_ENABLED=yes
+   -DPIP_OPTIONS="--ignore-installed" # bug 861452
-DXRDCL_ONLY=$(usex server "no" "yes")
)
cmake_src_configure

diff --git a/net-libs/xrootd/xrootd-5.4.3.ebuild 
b/net-libs/xrootd/xrootd-5.4.3.ebuild
index 5d3e0c8f0c89..9d1c8446daf8 100644
--- a/net-libs/xrootd/xrootd-5.4.3.ebuild
+++ b/net-libs/xrootd/xrootd-5.4.3.ebuild
@@ -78,6 +78,7 @@ src_configure() {
-DENABLE_TESTS=$(usex test)
-DENABLE_VOMS=no
-DFORCE_ENABLED=yes
+   -DPIP_OPTIONS="--ignore-installed" # bug 861452
-DXRDCL_ONLY=$(usex server "no" "yes")
)
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2022-07-30 Thread Marek Szuba
commit: e33825fb0256ad952aa9dd01e5ac48e373be772d
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul 30 15:27:23 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul 30 15:27:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33825fb

net-libs/xrootd-ceph: stabilize 5.4.3 for amd64

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
index 67129ba3bde5..d976d23d575f 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/xrootd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~amd64-linux"
+KEYWORDS="amd64 ~amd64-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-07-30 Thread Marek Szuba
commit: f57637acd44dfa122a6fda5da401eaec2b1da615
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul 30 15:26:57 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul 30 15:26:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57637ac

net-libs/xrootd: stabilize 5.4.3 for amd64

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/xrootd-5.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.4.3.ebuild 
b/net-libs/xrootd/xrootd-5.4.3.ebuild
index 453660aff968..5d3e0c8f0c89 100644
--- a/net-libs/xrootd/xrootd-5.4.3.ebuild
+++ b/net-libs/xrootd/xrootd-5.4.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-07-27 Thread Marek Szuba
commit: 985f3a812a4cc9d5350bd8f116702af7a9141eb5
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 27 08:08:50 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 27 08:17:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985f3a81

net-libs/xrootd: different USE flag for the test suite

The test suite xrootd comes with is a run-time one, nothing was actually
run by src_tests but it installs additional components.

Closes: https://bugs.gentoo.org/851156
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/metadata.xml   |   1 +
 net-libs/xrootd/xrootd-5.4.3-r1.ebuild | 134 +
 2 files changed, 135 insertions(+)

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index a8b5e8a0921c..6ce87563fdb9 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -18,5 +18,6 @@
 Enable http protocol support
 Use dev-libs/libxml2 for XML parsing 
(preferred) instead of bundled tinyxml
 Install xrootd server and related plug-ins
+Install additional components useful for testing 
xrootd
   
 

diff --git a/net-libs/xrootd/xrootd-5.4.3-r1.ebuild 
b/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
new file mode 100644
index ..abceb452f877
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.4.3-r1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test-suite"
+
+# No actual build-time test suite
+RESTRICT="test"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:0= )
+   http? ( net-misc/curl:= )
+   kerberos? ( virtual/krb5 )
+   libxml2? ( dev-libs/libxml2:2= )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd:= )
+   test-suite? ( dev-util/cppunit )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   virtual/latex-base
+   python? ( dev-python/sphinx )
+   )
+   python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test-suite? ( server )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-5.4.3-no_automagic.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_LIBXML2=$(usex libxml2)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test-suite)
+   -DENABLE_VOMS=no
+   -DFORCE_ENABLED=yes
+   -DXRDCL_ONLY=$(usex server "no" "yes")
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   if use server; then
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd "${FILESDIR}"/xrootd.confd xrootd
+   fi
+
+   if use python; then
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2022-07-27 Thread Sam James
commit: 6edda0bfbac506577dda176658d4c12a0864aa28
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 27 08:10:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 27 08:10:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edda0bf

net-libs/xrootd: Stabilize 5.4.3 x86, #861413

Signed-off-by: Sam James  gentoo.org>

 net-libs/xrootd/xrootd-5.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.4.3.ebuild 
b/net-libs/xrootd/xrootd-5.4.3.ebuild
index a8edf6912fda..453660aff968 100644
--- a/net-libs/xrootd/xrootd-5.4.3.ebuild
+++ b/net-libs/xrootd/xrootd-5.4.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd 
test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2022-06-10 Thread Marek Szuba
commit: b6989bd50f3a7d466f68969049d2388720d6f183
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 10 13:22:15 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 10 15:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6989bd5

net-libs/xrootd: add 5.4.3, drop 5.3.1 and 5.4.0

Disables several cases of dependency automagic present upstream build
scripts, and limits FUSE support to slot 0 (it doesn't work with, or
indeed detect, fuse-3 yet).

Furthermore, dev-libs/openssl is now a mandatory dependency - although
it is nominally (and only nominally, see Bug #822684) still possible
to disable the building of XrdCrypto in CMake, calls to OpenSSL functions
are now present elsewhere in xrootd code as well.

Closes: https://bugs.gentoo.org/822684
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest   |   3 +-
 .../xrootd/files/xrootd-5.4.3-no_automagic.patch   |  24 +
 net-libs/xrootd/metadata.xml   |   1 +
 net-libs/xrootd/xrootd-5.3.1.ebuild| 117 -
 .../{xrootd-5.4.0.ebuild => xrootd-5.4.3.ebuild}   |  27 +++--
 5 files changed, 43 insertions(+), 129 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 882c4506b26e..bb0210d32398 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,2 @@
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
-DIST xrootd-5.3.1.tar.gz 2957788 BLAKE2B 
6669ce4811e6c65ef17f06ae219e19e1f12027f4f9b620ad447df53ac437b30ce6425dc783a0ac7e4557d18ab562c266ac2497d93e93a2058fe5bd4aa7bc1d42
 SHA512 
a65436fe649233bb28123d9529d496c11b4ff40ba5490cbcbb32ff5379e555cfd684fad350c784c80e70056bb5d2e9701a80543c7f4a8ceb11e935aea01800b3
-DIST xrootd-5.4.0.tar.gz 3225065 BLAKE2B 
cda6b14fae4c4c8d34367fa3ff448c02bf3ecda9c6bb4029d3a6b53370a57445ac25de77d5324dd4dab8c92cda77490efdbb862e4db6b926e19ad3363278f046
 SHA512 
59f93db433f0e88439d5edfffb75d7813bae253e50c390fe8c43ef924bc36f5f4a56db9b00a44013c60c4b4bd5a0accaff2a8ca793fe37e59dc77dd8ab8f6837
+DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B 
ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a
 SHA512 
189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72

diff --git a/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch 
b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch
new file mode 100644
index ..d50ea40e1c49
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch
@@ -0,0 +1,24 @@
+--- a/cmake/XRootDFindLibs.cmake
 b/cmake/XRootDFindLibs.cmake
+@@ -25,15 +25,19 @@
+ 
+ find_package( TinyXml )
+ 
+-find_package( LibXml2 )
++if( ENABLE_LIBXML2 )
++find_package( LibXml2 REQUIRED )
+ if( LIBXML2_FOUND )
+   add_definitions( -DHAVE_XML2 )
+ endif()
++endif()
+ 
+-find_package( Systemd )
++if( ENABLE_SYSTEMD )
++find_package( Systemd REQUIRED )
+ if( SYSTEMD_FOUND )
+   add_definitions( -DHAVE_SYSTEMD )
+ endif()
++endif()
+ 
+ find_package( CURL )
+ 

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index a911c7c2e75c..a8b5e8a0921c 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -16,6 +16,7 @@
   
 Enable the sys-fs/fuse filesystem 
driver
 Enable http protocol support
+Use dev-libs/libxml2 for XML parsing 
(preferred) instead of bundled tinyxml
 Install xrootd server and related plug-ins
   
 

diff --git a/net-libs/xrootd/xrootd-5.3.1.ebuild 
b/net-libs/xrootd/xrootd-5.3.1.ebuild
deleted file mode 100644
index a33ccf3fde4d..
--- a/net-libs/xrootd/xrootd-5.3.1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-# Upstream does not support the building of Python bindings
-# via CMake for more than one implementation at a time.
-inherit cmake python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:= )
-   kerberos? ( virtual/krb5 )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   ssl? ( https://github.com/xrootd/xrootd/issues/447

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2022-06-10 Thread Marek Szuba
commit: f0139f1eff7f215107c7afb50ed14622cc1d21f8
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 10 14:47:53 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 10 15:25:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0139f1e

net-libs/xrootd-ceph: add 5.4.3, drop 5.3.1 and 5.4.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  3 +-
 net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild  | 34 --
 ...-ceph-5.4.0.ebuild => xrootd-ceph-5.4.3.ebuild} |  6 ++--
 3 files changed, 4 insertions(+), 39 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 9e090fad3083..630aacfc52f5 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,2 @@
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
-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
+DIST xrootd-ceph-5.4.3.tar.gz 82057 BLAKE2B 
3ca2a812e6a55d696c1336b28114e9d4ec46c18d764ab8966533e150bb7e3a040c58a957c73adfd4f79038b82ebafcc3b09eae2d7b06aba41e36ce94c36ac3fe
 SHA512 
b1065cf55d3918eef5083ebd1737139a761a28e4cc41cd2b796e2a0157d7a86850e643cecd89aeef89419485397676ac7040df5a5e2e9f7405d26320dbe1c9e3

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild
deleted file mode 100644
index 01734365262d..
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# 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 )"
-
-# 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
-}

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
similarity index 83%
rename from net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild
rename to net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
index 9267d0cbd7b8..67129ba3bde5 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ 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"
+SRC_URI="https://github.com/xrootd/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="LGPL-3+"
 SLOT="0"
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~amd64-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND=">=net-libs/xrootd-5.0.0
+DEPEND="~net-libs/xrootd-${PV}
sys-cluster/ceph"
 RDEPEND="${DEPEND}"
 BDEPEND="test? ( dev-util/cppunit )"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-12-16 Thread Marek Szuba
commit: 65dc5ec07f876fd5db4eb16518af88f15c7e465e
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 16 12:32:42 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 16 15:48:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65dc5ec0

net-libs/xrootd: block OpenSSL-3.0

Upstream is aware of the issue and is actively working on it, however as
of mid-December 2021 none of the releases support new OpenSSL.

Bug: https://bugs.gentoo.org/806388
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/xrootd-5.0.3-r1.ebuild | 2 +-
 net-libs/xrootd/xrootd-5.1.1-r1.ebuild | 2 +-
 net-libs/xrootd/xrootd-5.2.0-r1.ebuild | 2 +-
 net-libs/xrootd/xrootd-5.3.1.ebuild| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-libs/xrootd/xrootd-5.0.3-r1.ebuild 
b/net-libs/xrootd/xrootd-5.0.3-r1.ebuild
index 260b6f8047ba..63d03a9265a8 100644
--- a/net-libs/xrootd/xrootd-5.0.3-r1.ebuild
+++ b/net-libs/xrootd/xrootd-5.0.3-r1.ebuild
@@ -27,7 +27,7 @@ CDEPEND="acct-group/xrootd
kerberos? ( virtual/krb5 )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
-   ssl? ( dev-libs/openssl:0= )
+   ssl? ( 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/files/, net-libs/xrootd-ceph/

2021-12-16 Thread Marek Szuba
commit: 8fe8f6e6ece7aa0c3fc949fa0759ba15f3610d34
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 16 12:43:38 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 16 15:48:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe8f6e6

net-libs/xrootd-ceph: add 5.4.0

Closes: https://bugs.gentoo.org/747445
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  1 +
 .../files/xrootd-ceph-5.4.0_no-werror.patch| 11 +++
 net-libs/xrootd-ceph/xrootd-ceph-5.4.0.ebuild  | 38 ++
 3 files changed, 50 insertions(+)

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 ..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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-12-16 Thread Marek Szuba
commit: 1e61795a540fbd5d0cbb784cf4d969eda67a892b
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 16 12:37:37 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 16 15:48:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e61795a

net-libs/xrootd: drop 5.1.1-r1, 5.2.0-r1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest   |   2 -
 net-libs/xrootd/xrootd-5.1.1-r1.ebuild | 117 -
 net-libs/xrootd/xrootd-5.2.0-r1.ebuild | 117 -
 3 files changed, 236 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 9d0af636c386..882c4506b26e 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,3 @@
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
-DIST xrootd-5.1.1.tar.gz 2869346 BLAKE2B 
daad5f4e1253dce7d83d144aabbbd24afca9affafc6643b8e7124c68ff8651a3a15ed1b40680a40b737411132ccd0b697d4cacfcdd2bd64d5b5640875684c464
 SHA512 
aee5373f2064eaa489abc7a560ca61b98f824e8f0b3665dbea82e0362a91a3b4f9e6457d0a304692ae58619ef7c16333a8c69a69d282bd48948a968dd4a06e4f
-DIST xrootd-5.2.0.tar.gz 2935040 BLAKE2B 
1aa58ea188faef3e3691e77b08529d14e0bf04c18127b8b8ae6a7154700af67b1d900b64cf4f505b90963e2925e32935d4bcf9d1d913ba0973713b5c69301dd2
 SHA512 
cfd41d2e678ad339677abb62f329828de368ea5af9c9103722b75bcbb0812a2f1695986ca953651e2418fc839d7a50072635b806c9292aeaff702e269bbc11da
 DIST xrootd-5.3.1.tar.gz 2957788 BLAKE2B 
6669ce4811e6c65ef17f06ae219e19e1f12027f4f9b620ad447df53ac437b30ce6425dc783a0ac7e4557d18ab562c266ac2497d93e93a2058fe5bd4aa7bc1d42
 SHA512 
a65436fe649233bb28123d9529d496c11b4ff40ba5490cbcbb32ff5379e555cfd684fad350c784c80e70056bb5d2e9701a80543c7f4a8ceb11e935aea01800b3
 DIST xrootd-5.4.0.tar.gz 3225065 BLAKE2B 
cda6b14fae4c4c8d34367fa3ff448c02bf3ecda9c6bb4029d3a6b53370a57445ac25de77d5324dd4dab8c92cda77490efdbb862e4db6b926e19ad3363278f046
 SHA512 
59f93db433f0e88439d5edfffb75d7813bae253e50c390fe8c43ef924bc36f5f4a56db9b00a44013c60c4b4bd5a0accaff2a8ca793fe37e59dc77dd8ab8f6837

diff --git a/net-libs/xrootd/xrootd-5.1.1-r1.ebuild 
b/net-libs/xrootd/xrootd-5.1.1-r1.ebuild
deleted file mode 100644
index b997510b59ab..
--- a/net-libs/xrootd/xrootd-5.1.1-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-# Upstream does not support the building of Python bindings
-# via CMake for more than one implementation at a time.
-inherit cmake python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   sys-libs/zlib
-   virtual/libcrypt:=
-   fuse? ( sys-fs/fuse:= )
-   kerberos? ( virtual/krb5 )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   ssl? ( https://github.com/xrootd/xrootd/issues/447
-QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1)\.so
-   /usr/lib.*/libXrdClTests\.so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CRYPTO=$(usex ssl)
-   -DENABLE_FUSE=$(usex fuse)
-   -DENABLE_HTTP=$(usex http)
-   -DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_PYTHON=$(usex python)
-   -DENABLE_READLINE=$(usex readline)
-   -DENABLE_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   if use doc; then
-   doxygen Doxyfile || die
-   if use python; then
-   emake -C bindings/python/docs html
-   fi
-   fi
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doxydoc/html/. )
-   dodoc docs/ReleaseNotes.txt
-   cmake_src_install
-   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
-
-   # base configs
-   insinto /etc/xrootd
-   doins packaging/common/*.cfg
-
-   fowners root:xrootd /etc/xrootd
-   keepdir /var/log/xrootd
-   fowners xrootd:xrootd /var/log/xrootd
-
-   local i
-   for i in cmsd frm_purged frm_xfrd xrootd; do
-   newinitd "${FILESDIR}"/${i}.initd ${i}
-   done
-   # all daemons MUST use single master config file
-   newconfd "${FILESDIR}"/xrootd.confd xrootd
-
-   if use python; then
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-12-16 Thread Marek Szuba
commit: cce0e7c564e13513046fc16d4156f8517fa76a88
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 16 12:35:27 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 16 15:48:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce0e7c5

net-libs/xrootd: add 5.4.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/metadata.xml|   3 +-
 net-libs/xrootd/xrootd-5.4.0.ebuild | 125 
 3 files changed, 128 insertions(+), 1 deletion(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index fa1e42cc0cca..9d0af636c386 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba5
 DIST xrootd-5.1.1.tar.gz 2869346 BLAKE2B 
daad5f4e1253dce7d83d144aabbbd24afca9affafc6643b8e7124c68ff8651a3a15ed1b40680a40b737411132ccd0b697d4cacfcdd2bd64d5b5640875684c464
 SHA512 
aee5373f2064eaa489abc7a560ca61b98f824e8f0b3665dbea82e0362a91a3b4f9e6457d0a304692ae58619ef7c16333a8c69a69d282bd48948a968dd4a06e4f
 DIST xrootd-5.2.0.tar.gz 2935040 BLAKE2B 
1aa58ea188faef3e3691e77b08529d14e0bf04c18127b8b8ae6a7154700af67b1d900b64cf4f505b90963e2925e32935d4bcf9d1d913ba0973713b5c69301dd2
 SHA512 
cfd41d2e678ad339677abb62f329828de368ea5af9c9103722b75bcbb0812a2f1695986ca953651e2418fc839d7a50072635b806c9292aeaff702e269bbc11da
 DIST xrootd-5.3.1.tar.gz 2957788 BLAKE2B 
6669ce4811e6c65ef17f06ae219e19e1f12027f4f9b620ad447df53ac437b30ce6425dc783a0ac7e4557d18ab562c266ac2497d93e93a2058fe5bd4aa7bc1d42
 SHA512 
a65436fe649233bb28123d9529d496c11b4ff40ba5490cbcbb32ff5379e555cfd684fad350c784c80e70056bb5d2e9701a80543c7f4a8ceb11e935aea01800b3
+DIST xrootd-5.4.0.tar.gz 3225065 BLAKE2B 
cda6b14fae4c4c8d34367fa3ff448c02bf3ecda9c6bb4029d3a6b53370a57445ac25de77d5324dd4dab8c92cda77490efdbb862e4db6b926e19ad3363278f046
 SHA512 
59f93db433f0e88439d5edfffb75d7813bae253e50c390fe8c43ef924bc36f5f4a56db9b00a44013c60c4b4bd5a0accaff2a8ca793fe37e59dc77dd8ab8f6837

diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index 07427db64e20..a911c7c2e75c 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -9,12 +9,13 @@
   XROOTD software framework is a fully generic suite for fast, low latency
   and scalable data access, which can serve natively any kind of data,
   organized as a hierarchical filesystem-like namespace, based on the
-  concept of directory. 
+  concept of directory.
   It is usually used with sci-physics/root and its PROOF
   facilities for cluster computing in high energy physics.
 
   
 Enable the sys-fs/fuse filesystem 
driver
 Enable http protocol support
+Install xrootd server and related plug-ins
   
 

diff --git a/net-libs/xrootd/xrootd-5.4.0.ebuild 
b/net-libs/xrootd/xrootd-5.4.0.ebuild
new file mode 100644
index ..b13ed2e2e71d
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.4.0.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="https://xrootd.slac.stanford.edu/;
+SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline +server ssl systemd test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( https://github.com/xrootd/xrootd/issues/447
+QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+# FIXME: no systemd automagic!
+# FIXME: support xrdec - currently only builds against bundled isa-l
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   -DXRDCL_ONLY=$(usex server "no" "yes")
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-12-16 Thread Marek Szuba
commit: 803e8cac94f4e73f2560caa0777a19cfe58d9a4f
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec 16 12:44:14 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec 16 15:48:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803e8cac

net-libs/xrootd-ceph: drop 5.1.1, 5.2.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  2 --
 net-libs/xrootd-ceph/xrootd-ceph-5.1.1.ebuild | 36 ---
 net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild | 34 -
 3 files changed, 72 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index aaa06ba0cb83..9e090fad3083 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,5 +1,3 @@
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
-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/xrootd-ceph-5.1.1.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.1.1.ebuild
deleted file mode 100644
index bdacb70cc802..
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.1.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 )"
-
-# 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)
-   # As of 5.0.3 the default plug-in version is still 4.
-   -DPLUGIN_VERSION=$(ver_cut 1)
-   )
-   cmake_src_configure
-}

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild
deleted file mode 100644
index a9f500fa3351..
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 )"
-
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-09-17 Thread Marek Szuba
commit: 646bce5443940ac9fe01a74775516e45494dc2b8
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 17 15:57:29 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 17 15:58:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646bce54

net-libs/xrootd: add 5.3.1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.3.1.ebuild | 117 
 2 files changed, 118 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 3fb6eed8878..fa1e42cc0cc 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
 DIST xrootd-5.1.1.tar.gz 2869346 BLAKE2B 
daad5f4e1253dce7d83d144aabbbd24afca9affafc6643b8e7124c68ff8651a3a15ed1b40680a40b737411132ccd0b697d4cacfcdd2bd64d5b5640875684c464
 SHA512 
aee5373f2064eaa489abc7a560ca61b98f824e8f0b3665dbea82e0362a91a3b4f9e6457d0a304692ae58619ef7c16333a8c69a69d282bd48948a968dd4a06e4f
 DIST xrootd-5.2.0.tar.gz 2935040 BLAKE2B 
1aa58ea188faef3e3691e77b08529d14e0bf04c18127b8b8ae6a7154700af67b1d900b64cf4f505b90963e2925e32935d4bcf9d1d913ba0973713b5c69301dd2
 SHA512 
cfd41d2e678ad339677abb62f329828de368ea5af9c9103722b75bcbb0812a2f1695986ca953651e2418fc839d7a50072635b806c9292aeaff702e269bbc11da
+DIST xrootd-5.3.1.tar.gz 2957788 BLAKE2B 
6669ce4811e6c65ef17f06ae219e19e1f12027f4f9b620ad447df53ac437b30ce6425dc783a0ac7e4557d18ab562c266ac2497d93e93a2058fe5bd4aa7bc1d42
 SHA512 
a65436fe649233bb28123d9529d496c11b4ff40ba5490cbcbb32ff5379e555cfd684fad350c784c80e70056bb5d2e9701a80543c7f4a8ceb11e935aea01800b3

diff --git a/net-libs/xrootd/xrootd-5.3.1.ebuild 
b/net-libs/xrootd/xrootd-5.3.1.ebuild
new file mode 100644
index 000..7f1abe069f4
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.3.1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   virtual/libcrypt:=
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-09-17 Thread Marek Szuba
commit: 7ef0199c5332dbf3200f3b05f8d2d658fbada6af
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 17 15:57:59 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 17 15:58:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef0199c

net-libs/xrootd-ceph: add 5.3.1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild | 34 +++
 2 files changed, 35 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index bcadc83b008..025b6132986 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
 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

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild
new file mode 100644
index 000..01734365262
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.3.1.ebuild
@@ -0,0 +1,34 @@
+# 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 )"
+
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-05-27 Thread Marek Szuba
commit: efe34132146cb68df1e37988b0a24915eb7f6046
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 27 13:47:26 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 27 13:47:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe34132

net-libs/xrootd-ceph: add 5.2.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild | 34 +++
 2 files changed, 35 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 0f19e0831f7..bcadc83b008 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
 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

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild
new file mode 100644
index 000..a9f500fa335
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-05-27 Thread Marek Szuba
commit: e264a36401d270ba9143833f80e88bc29a72a0fc
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 27 11:34:46 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 27 13:47:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e264a364

net-libs/xrootd: add 5.2.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.2.0.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index d8590e860d5..3fb6eed8878 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
 DIST xrootd-5.1.1.tar.gz 2869346 BLAKE2B 
daad5f4e1253dce7d83d144aabbbd24afca9affafc6643b8e7124c68ff8651a3a15ed1b40680a40b737411132ccd0b697d4cacfcdd2bd64d5b5640875684c464
 SHA512 
aee5373f2064eaa489abc7a560ca61b98f824e8f0b3665dbea82e0362a91a3b4f9e6457d0a304692ae58619ef7c16333a8c69a69d282bd48948a968dd4a06e4f
+DIST xrootd-5.2.0.tar.gz 2935040 BLAKE2B 
1aa58ea188faef3e3691e77b08529d14e0bf04c18127b8b8ae6a7154700af67b1d900b64cf4f505b90963e2925e32935d4bcf9d1d913ba0973713b5c69301dd2
 SHA512 
cfd41d2e678ad339677abb62f329828de368ea5af9c9103722b75bcbb0812a2f1695986ca953651e2418fc839d7a50072635b806c9292aeaff702e269bbc11da

diff --git a/net-libs/xrootd/xrootd-5.2.0.ebuild 
b/net-libs/xrootd/xrootd-5.2.0.ebuild
new file mode 100644
index 000..e5ab9108cfa
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.2.0.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd "${FILESDIR}"/xrootd.confd xrootd
+
+   if use python; then
+   python_optimize "${D}/$(python_get_sitedir)"
+
+   if use doc; then
+   docinto python
+   docompress -x "/usr/share/doc/${PF}/python/html"
+   dodoc -r 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-03-12 Thread Marek Szuba
commit: 7ccd66413aba108b0a7b6fa4c744197e4813d1e2
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Mar 12 11:43:53 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Mar 12 16:12:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccd6641

net-libs/xrootd: bump to 5.1.1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest | 2 +-
 net-libs/xrootd/{xrootd-5.1.0.ebuild => xrootd-5.1.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index b0da9372de2..d8590e860d5 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1,2 @@
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
-DIST xrootd-5.1.0.tar.gz 2862622 BLAKE2B 
cb166adcd60b263f7fbed22033fe362ed5b32b7a05c76ff2d8a5ab25d730673d0c5d22bc41816083c84c3f14832cca34d801738594c7b58dcebbea9882a7df37
 SHA512 
f9bb293433e16b86d3395f29cf23f10a4a5447b367aa762219559278b3f75402892be85e0ca914762bfe892ad0dcc05bcfc64ac1ad0316c5855586141b537bad
+DIST xrootd-5.1.1.tar.gz 2869346 BLAKE2B 
daad5f4e1253dce7d83d144aabbbd24afca9affafc6643b8e7124c68ff8651a3a15ed1b40680a40b737411132ccd0b697d4cacfcdd2bd64d5b5640875684c464
 SHA512 
aee5373f2064eaa489abc7a560ca61b98f824e8f0b3665dbea82e0362a91a3b4f9e6457d0a304692ae58619ef7c16333a8c69a69d282bd48948a968dd4a06e4f

diff --git a/net-libs/xrootd/xrootd-5.1.0.ebuild 
b/net-libs/xrootd/xrootd-5.1.1.ebuild
similarity index 100%
rename from net-libs/xrootd/xrootd-5.1.0.ebuild
rename to net-libs/xrootd/xrootd-5.1.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-03-12 Thread Marek Szuba
commit: c9a3f35c1e452ac537da5200f42059b3cd48f775
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Mar 12 11:44:59 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Mar 12 16:12:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a3f35c

net-libs/xrootd-ceph: bump to 5.1.1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest   | 2 +-
 .../xrootd-ceph/{xrootd-ceph-5.1.0.ebuild => xrootd-ceph-5.1.1.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index c43c4637593..0f19e0831f7 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,2 @@
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
-DIST xrootd-ceph-5.1.0.tar.gz 81939 BLAKE2B 
607fe5d31369c88402d7ed993fde3f058f873defe97900f2b7909a3630f6927efeb98c08acd31be68ec7d6b997464f6d3cea5da5d08a3e84570ff670861a50f8
 SHA512 
cc05a00684bde5ee9adfe61f261393a177d21569f4570d41fbaf65d1276dbc18829d1b532ec10df93a1a60d25fb2de54078b4bf1cb30ab383d4af92178147ee1
+DIST xrootd-ceph-5.1.1.tar.gz 81981 BLAKE2B 
6f0ddfd2e20c0127223d3d41e614fbefefb8e1ce20ae9a805fc0d01d7c442f0b9b9323ba1761a9b5a160f63bfe1c823384f84c160eb98d316bddc3c1affe2b6c
 SHA512 
fede94cbe614b6c7dced07d1bbe8661706c0e0c98c77cab0a777b62cb7b1a0790ce597bb6764b36b6d2cba9884f23f6d37d54adb5b11cb6d20e32b95a2877ef3

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.1.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.1.1.ebuild
similarity index 100%
rename from net-libs/xrootd-ceph/xrootd-ceph-5.1.0.ebuild
rename to net-libs/xrootd-ceph/xrootd-ceph-5.1.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-03-05 Thread Andreas Sturmlechner
commit: 368cfc9f318bc8da47165b3a5b759658c81913c3
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Mar  4 10:50:23 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Mar  5 09:09:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368cfc9f

net-libs/xrootd-ceph: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/19761
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  3 ---
 net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild | 24 -
 net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild | 24 -
 net-libs/xrootd-ceph/xrootd-ceph-5.0.2.ebuild  | 36 --
 4 files changed, 87 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 6c0aa9eeb5f..c43c4637593 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,5 +1,2 @@
-DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
-DIST xrootd-ceph-4.12.5.tar.gz 81838 BLAKE2B 
a61a814741abd04723755122606eef4544769d5cbe3828977617384a8eaddcfae4591f1ac2515020f300feff5cb11b7af362c15719313085e0f76b5157ab862c
 SHA512 
db0fe7f8713ddf91ce200b364d460206ecf2a08153fb561a99e0780db84ad9d716f9f9fbc3994258e9269fce08d16326c4473bdae200c644cbf4d3bd1144a6eb
-DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
 DIST xrootd-ceph-5.1.0.tar.gz 81939 BLAKE2B 
607fe5d31369c88402d7ed993fde3f058f873defe97900f2b7909a3630f6927efeb98c08acd31be68ec7d6b997464f6d3cea5da5d08a3e84570ff670861a50f8
 SHA512 
cc05a00684bde5ee9adfe61f261393a177d21569f4570d41fbaf65d1276dbc18829d1b532ec10df93a1a60d25fb2de54078b4bf1cb30ab383d4af92178147ee1

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild
deleted file mode 100644
index 9936f476eb3..000
--- a/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-DEPEND="net-libs/xrootd
-   !https://github.com/xrootd/xrootd/issues/447
-QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1).so"

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild
deleted file mode 100644
index f701427b94c..000
--- a/net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-DEPEND="net-libs/xrootd
-   !https://github.com/xrootd/xrootd/issues/447
-QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1).so"

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.2.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.2.ebuild
deleted file mode 100644
index f38a421f486..000
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.0.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 )"
-
-# xrootd plugins are not intended to be linked with,
-# they are 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2021-03-04 Thread Andreas Sturmlechner
commit: 2ba83dd16022c0208803b2098e44c1958d37af5f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Mar  4 23:12:23 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Mar  4 23:39:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba83dd1

net-libs/xrootd: Drop 4.12.4, 4.12.5, 5.0.2

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/xrootd/Manifest   |   3 -
 .../files/xrootd-4.12.4-http_secret_leakage.patch  |  41 
 net-libs/xrootd/xrootd-4.12.4.ebuild   | 117 -
 net-libs/xrootd/xrootd-4.12.5.ebuild   | 117 -
 net-libs/xrootd/xrootd-5.0.2.ebuild| 116 
 5 files changed, 394 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 3d44fe265d5..b0da9372de2 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,2 @@
-DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b
 SHA512 
8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364
-DIST xrootd-4.12.5.tar.gz 2580794 BLAKE2B 
217abb8ad332b3eb0cbe2289f4fa7c31abce7c3122ef8d23f409a3a03b7691f0e8a1939a42c831774e6902bf0f3242a2583bbf010478a66f5a2e634008799c5b
 SHA512 
c252866ccdc4465c9ffe3f5cb4bb83a2a70e775db5ff3a55bcd8ac70c72d280ea41fb31501f30550d8ac61b6d474ce602e0ee8a02485f1f2722617aeb25aff0d
-DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
 DIST xrootd-5.1.0.tar.gz 2862622 BLAKE2B 
cb166adcd60b263f7fbed22033fe362ed5b32b7a05c76ff2d8a5ab25d730673d0c5d22bc41816083c84c3f14832cca34d801738594c7b58dcebbea9882a7df37
 SHA512 
f9bb293433e16b86d3395f29cf23f10a4a5447b367aa762219559278b3f75402892be85e0ca914762bfe892ad0dcc05bcfc64ac1ad0316c5855586141b537bad

diff --git a/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch 
b/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch
deleted file mode 100644
index 953c6aa3b2b..000
--- a/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Backported from 5.0.2. Not quite sure if xrootd-4 is actually vulnerable
-to this - but just in case.
-
-From fff97c2dc6703dc1ba8b28b1bf67eeb278ff3e22 Mon Sep 17 00:00:00 2001
-From: Andrew Hanushevsky 
-Date: Wed, 2 Sep 2020 23:13:52 -0700
-Subject: [PATCH] [HTTP] Prevent secret key leakage if specified in the config
- file.
-

- src/XrdHttp/XrdHttpProtocol.cc | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/XrdHttp/XrdHttpProtocol.cc b/src/XrdHttp/XrdHttpProtocol.cc
-index 66b89df20ed..5f50f2aeadd 100644
 a/src/XrdHttp/XrdHttpProtocol.cc
-+++ b/src/XrdHttp/XrdHttpProtocol.cc
-@@ -1986,6 +1986,7 @@ int XrdHttpProtocol::xsslcafile(XrdOucStream & Config) {
- 
- int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) {
-   char *val;
-+  bool inFile = false;
- 
-   // Get the path
-   //
-@@ -2001,6 +2002,7 @@ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) {
-   // otherwise, the token itself is the secretkey
-   if (val[0] == '/') {
- struct stat st;
-+inFile = true;
- if ( stat(val, ) ) {
-   eDest.Emsg("Config", errno, "stat shared secret key file", val);
-   return 1;
-@@ -2059,6 +2061,7 @@ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) {
-   // Record the path
-   if (secretkey) free(secretkey);
-   secretkey = strdup(val);
-+  if (!inFile) Config.noEcho();
- 
-   return 0;
- }

diff --git a/net-libs/xrootd/xrootd-4.12.4.ebuild 
b/net-libs/xrootd/xrootd-4.12.4.ebuild
deleted file mode 100644
index bd57f9288dc..000
--- a/net-libs/xrootd/xrootd-4.12.4.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-03-04 Thread Agostino Sarubbo
commit: d898a81ffe0379cdd3a614839356ca71fc09382f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar  4 10:40:56 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar  4 10:40:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d898a81f

net-libs/xrootd: amd64 stable wrt bug #771333

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd/xrootd-5.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-5.0.3.ebuild 
b/net-libs/xrootd/xrootd-5.0.3.ebuild
index e675df9e658..74ef8fe1863 100644
--- a/net-libs/xrootd/xrootd-5.0.3.ebuild
+++ b/net-libs/xrootd/xrootd-5.0.3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos python readline ssl test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-03-04 Thread Agostino Sarubbo
commit: a70cdf95af534a790f866c72accc71bdbd7b42aa
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar  4 10:41:00 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar  4 10:41:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a70cdf95

net-libs/xrootd-ceph: amd64 stable wrt bug #771333

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
index 873a3d79a05..fe49b3f4f5c 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/xrootd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="LGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~amd64-linux"
+KEYWORDS="amd64 ~amd64-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-03-01 Thread Thomas Deutschmann
commit: c73310c8b038ef89d062496f03addd6286097a9c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Mar  1 17:17:44 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Mar  1 17:17:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c73310c8

net-libs/xrootd: x86 stable (bug #771333)

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-libs/xrootd/xrootd-5.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/xrootd/xrootd-5.0.3.ebuild 
b/net-libs/xrootd/xrootd-5.0.3.ebuild
index b96f560be94..e675df9e658 100644
--- a/net-libs/xrootd/xrootd-5.0.3.ebuild
+++ b/net-libs/xrootd/xrootd-5.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos python readline ssl test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2021-02-25 Thread Marek Szuba
commit: e5b4fe1d6efbe616476e9dbf81625f47eb0a834b
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Feb 25 15:34:10 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Feb 25 15:34:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b4fe1d

net-libs/xrootd-ceph: bump to 5.1.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.1.0.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index dad746f70d0..6c0aa9eeb5f 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65
 DIST xrootd-ceph-4.12.5.tar.gz 81838 BLAKE2B 
a61a814741abd04723755122606eef4544769d5cbe3828977617384a8eaddcfae4591f1ac2515020f300feff5cb11b7af362c15719313085e0f76b5157ab862c
 SHA512 
db0fe7f8713ddf91ce200b364d460206ecf2a08153fb561a99e0780db84ad9d716f9f9fbc3994258e9269fce08d16326c4473bdae200c644cbf4d3bd1144a6eb
 DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5
 DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9
+DIST xrootd-ceph-5.1.0.tar.gz 81939 BLAKE2B 
607fe5d31369c88402d7ed993fde3f058f873defe97900f2b7909a3630f6927efeb98c08acd31be68ec7d6b997464f6d3cea5da5d08a3e84570ff670861a50f8
 SHA512 
cc05a00684bde5ee9adfe61f261393a177d21569f4570d41fbaf65d1276dbc18829d1b532ec10df93a1a60d25fb2de54078b4bf1cb30ab383d4af92178147ee1

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.1.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.1.0.ebuild
new file mode 100644
index 000..bdacb70cc80
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+# 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)
+   # As of 5.0.3 the default plug-in version is still 4.
+   -DPLUGIN_VERSION=$(ver_cut 1)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2021-02-25 Thread Marek Szuba
commit: c3dc71f1ada3ce6853c92f24cd44704d2cdff79b
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Feb 25 15:32:53 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Feb 25 15:34:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3dc71f1

net-libs/xrootd: bump to 5.1.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.1.0.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index dbc6b015338..3d44fe265d5 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1d
 DIST xrootd-4.12.5.tar.gz 2580794 BLAKE2B 
217abb8ad332b3eb0cbe2289f4fa7c31abce7c3122ef8d23f409a3a03b7691f0e8a1939a42c831774e6902bf0f3242a2583bbf010478a66f5a2e634008799c5b
 SHA512 
c252866ccdc4465c9ffe3f5cb4bb83a2a70e775db5ff3a55bcd8ac70c72d280ea41fb31501f30550d8ac61b6d474ce602e0ee8a02485f1f2722617aeb25aff0d
 DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255
 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0
+DIST xrootd-5.1.0.tar.gz 2862622 BLAKE2B 
cb166adcd60b263f7fbed22033fe362ed5b32b7a05c76ff2d8a5ab25d730673d0c5d22bc41816083c84c3f14832cca34d801738594c7b58dcebbea9882a7df37
 SHA512 
f9bb293433e16b86d3395f29cf23f10a4a5447b367aa762219559278b3f75402892be85e0ca914762bfe892ad0dcc05bcfc64ac1ad0316c5855586141b537bad

diff --git a/net-libs/xrootd/xrootd-5.1.0.ebuild 
b/net-libs/xrootd/xrootd-5.1.0.ebuild
new file mode 100644
index 000..1aeb46c6bf1
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.1.0.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-11-12 Thread Marek Szuba
commit: 15f942dff31661453ade0c3c0c296258631a6d58
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 12 09:24:40 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 12 09:25:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f942df

net-libs/xrootd: bump to 5.0.3

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.0.3.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 92ba6cb9b3f..dbc6b015338 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b
 SHA512 
8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364
 DIST xrootd-4.12.5.tar.gz 2580794 BLAKE2B 
217abb8ad332b3eb0cbe2289f4fa7c31abce7c3122ef8d23f409a3a03b7691f0e8a1939a42c831774e6902bf0f3242a2583bbf010478a66f5a2e634008799c5b
 SHA512 
c252866ccdc4465c9ffe3f5cb4bb83a2a70e775db5ff3a55bcd8ac70c72d280ea41fb31501f30550d8ac61b6d474ce602e0ee8a02485f1f2722617aeb25aff0d
 DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255
+DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 
1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375c39577eed9e450eb
 SHA512 
e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0

diff --git a/net-libs/xrootd/xrootd-5.0.3.ebuild 
b/net-libs/xrootd/xrootd-5.0.3.ebuild
new file mode 100644
index 000..b96f560be94
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.0.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-11-12 Thread Marek Szuba
commit: 58542f1b48848918f361ebb52231f33b34a45cd6
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 12 09:25:15 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 12 09:25:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58542f1b

net-libs/xrootd-ceph: bump to 5.0.3

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 9fb9002c184..dad746f70d0 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
 DIST xrootd-ceph-4.12.5.tar.gz 81838 BLAKE2B 
a61a814741abd04723755122606eef4544769d5cbe3828977617384a8eaddcfae4591f1ac2515020f300feff5cb11b7af362c15719313085e0f76b5157ab862c
 SHA512 
db0fe7f8713ddf91ce200b364d460206ecf2a08153fb561a99e0780db84ad9d716f9f9fbc3994258e9269fce08d16326c4473bdae200c644cbf4d3bd1144a6eb
 DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5
+DIST xrootd-ceph-5.0.3.tar.gz 81835 BLAKE2B 
1be45c78dd0ec4b20451cfa4a8a579e076e718509a47fa04027207c12e48decefb9f82749cc15cae3cad75d97485fe0a7d6582cdcc0739bd222bc1d97b6b
 SHA512 
3338a0ab0446e4c7ee3d232f5cce8f93c49e040b4792aa52f9dcf6f27f6767e6ffbaff17eb30a87c5b3ff713e1b0c4edb24d8d116c91351c4ed0c13963f80fc9

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
new file mode 100644
index 000..873a3d79a05
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.0.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+# 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)
+   # As of 5.0.3 the default plug-in version is still 4.
+   -DPLUGIN_VERSION=$(ver_cut 1)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-10-16 Thread Marek Szuba
commit: be3374178eeb9686cefd7025fec3e7fef2b0f18a
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Oct 16 10:51:01 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Oct 16 10:59:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be337417

net-libs/xrootd-ceph: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  1 -
 net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild | 24 
 2 files changed, 25 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 43e153a5bb1..e6681210dc7 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,2 @@
-DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
 DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
 DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
deleted file mode 100644
index 9936f476eb3..000
--- a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-DEPEND="net-libs/xrootd
-   !https://github.com/xrootd/xrootd/issues/447
-QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1).so"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-10-16 Thread Marek Szuba
commit: 529ce44c7bd7b6eb666a6a0ef4014f4d917f29ec
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Oct 16 10:58:34 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Oct 16 10:59:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529ce44c

net-libs/xrootd-ceph: bump to 4.12.5

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild | 24 
 2 files changed, 25 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index e6681210dc7..9fb9002c184 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
+DIST xrootd-ceph-4.12.5.tar.gz 81838 BLAKE2B 
a61a814741abd04723755122606eef4544769d5cbe3828977617384a8eaddcfae4591f1ac2515020f300feff5cb11b7af362c15719313085e0f76b5157ab862c
 SHA512 
db0fe7f8713ddf91ce200b364d460206ecf2a08153fb561a99e0780db84ad9d716f9f9fbc3994258e9269fce08d16326c4473bdae200c644cbf4d3bd1144a6eb
 DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild
new file mode 100644
index 000..f701427b94c
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-4.12.5.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+DEPEND="net-libs/xrootd
+   !https://github.com/xrootd/xrootd/issues/447
+QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1).so"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-10-16 Thread Marek Szuba
commit: 4291d4bcd51c78bf03671a9d2e7b7d9d1e5b49a8
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Oct 16 10:57:13 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Oct 16 10:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4291d4bc

net-libs/xrootd: bump to 4.12.5

Bugfix release.

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest |   1 +
 net-libs/xrootd/xrootd-4.12.5.ebuild | 117 +++
 2 files changed, 118 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index cd7117a12cf..92ba6cb9b3f 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b
 SHA512 
8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364
+DIST xrootd-4.12.5.tar.gz 2580794 BLAKE2B 
217abb8ad332b3eb0cbe2289f4fa7c31abce7c3122ef8d23f409a3a03b7691f0e8a1939a42c831774e6902bf0f3242a2583bbf010478a66f5a2e634008799c5b
 SHA512 
c252866ccdc4465c9ffe3f5cb4bb83a2a70e775db5ff3a55bcd8ac70c72d280ea41fb31501f30550d8ac61b6d474ce602e0ee8a02485f1f2722617aeb25aff0d
 DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255

diff --git a/net-libs/xrootd/xrootd-4.12.5.ebuild 
b/net-libs/xrootd/xrootd-4.12.5.ebuild
new file mode 100644
index 000..105a4611edc
--- /dev/null
+++ b/net-libs/xrootd/xrootd-4.12.5.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-4.12.4-http_secret_leakage.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.*/libXrd.*-$(ver_cut 1).so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake-utils_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd "${FILESDIR}"/xrootd.confd xrootd
+
+   if use python; then
+   python_optimize "${D}/$(python_get_sitedir)"
+
+   if use doc; then
+   docinto python
+   docompress -x "/usr/share/doc/${PF}/python/html"
+   dodoc -r 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-10-16 Thread Marek Szuba
commit: 059cc5d6a7a5a6748dff01ce355c47dde1ccde69
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Oct 16 10:49:59 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Oct 16 10:59:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=059cc5d6

net-libs/xrootd: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest |   1 -
 net-libs/xrootd/xrootd-4.12.0.ebuild | 113 ---
 2 files changed, 114 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index c553b4791b2..cd7117a12cf 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,2 @@
-DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b
 SHA512 
8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364
 DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255

diff --git a/net-libs/xrootd/xrootd-4.12.0.ebuild 
b/net-libs/xrootd/xrootd-4.12.0.ebuild
deleted file mode 100644
index 3974f5488b2..000
--- a/net-libs/xrootd/xrootd-4.12.0.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   sys-libs/zlib
-   fuse? ( sys-fs/fuse:= )
-   kerberos? ( virtual/krb5 )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${CDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen[dot]
-   python? ( dev-python/sphinx )
-   )
-   test? ( dev-util/cppunit )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-REQUIRED_USE="
-   http? ( kerberos ssl )
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1).so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CRYPTO=$(usex ssl)
-   -DENABLE_FUSE=$(usex fuse)
-   -DENABLE_HTTP=$(usex http)
-   -DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_PYTHON=$(usex python)
-   -DENABLE_READLINE=$(usex readline)
-   -DENABLE_TESTS=$(usex test)
-   )
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-   if use doc; then
-   doxygen Doxyfile || die
-   if use python; then
-   emake -C bindings/python/docs html
-   fi
-   fi
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doxydoc/html/. )
-   dodoc docs/ReleaseNotes.txt
-   cmake-utils_src_install
-   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
-
-   # base configs
-   insinto /etc/xrootd
-   doins packaging/common/*.cfg
-
-   fowners root:xrootd /etc/xrootd
-   keepdir /var/log/xrootd
-   fowners xrootd:xrootd /var/log/xrootd
-
-   local i
-   for i in cmsd frm_purged frm_xfrd xrootd; do
-   newinitd "${FILESDIR}"/${i}.initd ${i}
-   done
-   # all daemons MUST use single master config file
-   newconfd "${FILESDIR}"/xrootd.confd xrootd
-
-   if use python; then
-   python_optimize "${D}/$(python_get_sitedir)"
-
-   if use doc; then
-   docinto python
-   docompress -x "/usr/share/doc/${PF}/python/html"
-   dodoc -r bindings/python/docs/build/html
-   fi
-   if use examples; then
-   docinto python
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-10-09 Thread Agostino Sarubbo
commit: d50d69b1cb9bc70657ca0422e6fe14cfd13997ae
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Oct  9 11:12:04 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Oct  9 11:12:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50d69b1

net-libs/xrootd: amd64 stable wrt bug #743391

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd/xrootd-4.12.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-4.12.4.ebuild 
b/net-libs/xrootd/xrootd-4.12.4.ebuild
index 8c12b39a021..89ccb0b9265 100644
--- a/net-libs/xrootd/xrootd-4.12.4.ebuild
+++ b/net-libs/xrootd/xrootd-4.12.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos python readline ssl test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-10-09 Thread Agostino Sarubbo
commit: f26126d57048e3fd9ac541a51b3ff6bdb2f1682f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Oct  9 11:12:11 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Oct  9 11:12:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26126d5

net-libs/xrootd-ceph: amd64 stable wrt bug #743391

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild
index f701427b94c..9936f476eb3 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/xrootd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="LGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~amd64-linux"
+KEYWORDS="amd64 ~amd64-linux"
 
 DEPEND="net-libs/xrootd
!

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-09-18 Thread Marek Szuba
commit: 03abf35bfb546c2bfcc56e176f74c6cfb725b79e
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 18 17:51:35 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 18 17:51:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03abf35b

net-libs/xrootd-ceph: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 -
 net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild | 36 ---
 2 files changed, 37 deletions(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 3ebe5df95c6..43e153a5bb1 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,4 +1,3 @@
 DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
 DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
-DIST xrootd-ceph-5.0.0.tar.gz 80615 BLAKE2B 
dd37dd2c76d59c8e1fe672fd9a573af8197f0f93a64e1ea1a2b02fca6be66c163c54f999089d397715135d0e209cc0b570f6d381b9f3c472a1e7316e22a03d46
 SHA512 
12215876bd73d59217909390595d128d03e12eed82d130ccec3b88c02620dbeb3e028e4d8101121778df5a804de1cc66bc485aa3073455ab5ef88d8ac158550f
 DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild
deleted file mode 100644
index f38a421f486..000
--- a/net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 )"
-
-# 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)
-   # As of 5.0.0 the default plug-in version is still 4.
-   -DPLUGIN_VERSION=$(ver_cut 1)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-09-18 Thread Marek Szuba
commit: 94e5582211f2123c707950727d460f142ea9c91c
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 18 17:49:08 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 18 17:49:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94e55822

net-libs/xrootd-ceph: bump to 5.0.2

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest   | 2 +-
 .../xrootd-ceph/{xrootd-ceph-5.0.1.ebuild => xrootd-ceph-5.0.2.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 93913352122..3ebe5df95c6 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,4 +1,4 @@
 DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
 DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
 DIST xrootd-ceph-5.0.0.tar.gz 80615 BLAKE2B 
dd37dd2c76d59c8e1fe672fd9a573af8197f0f93a64e1ea1a2b02fca6be66c163c54f999089d397715135d0e209cc0b570f6d381b9f3c472a1e7316e22a03d46
 SHA512 
12215876bd73d59217909390595d128d03e12eed82d130ccec3b88c02620dbeb3e028e4d8101121778df5a804de1cc66bc485aa3073455ab5ef88d8ac158550f
-DIST xrootd-ceph-5.0.1.tar.gz 80620 BLAKE2B 
e36e07a5dd8cc5035986774e76a231734c7d8e0584cecc941cc41045dddedde75173d83f9a55525069f83fefd50af9bab93d038a40c19f06b158ca45cbfa3a1e
 SHA512 
8e00cba70b2cea1a5a83041df1b5c18ba3ec9dc801bdffd5cb14dbdffd02a3230b58603523a2ae0995a4685343bcb3d1ad8afbdf9a345104c7e29de3717509a2
+DIST xrootd-ceph-5.0.2.tar.gz 81255 BLAKE2B 
529d2c361cc7660cdbb481cdbae1fbf4cd706f29df868c645775b96efa7efaaecd9ea8b7d915c15b5ff78ad1395bb8271a3f1c1105ea0b42dced77efa33acaa7
 SHA512 
9f8de694a9a864ee0a963bb47c603d2cd3a77b4e13efacdd7f35674016358ce3b0a3fc5850098a29774749f54fa82db12c0e56b55d814873c124d9e19c7c23c5

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.1.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.2.ebuild
similarity index 100%
rename from net-libs/xrootd-ceph/xrootd-ceph-5.0.1.ebuild
rename to net-libs/xrootd-ceph/xrootd-ceph-5.0.2.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-09-18 Thread Marek Szuba
commit: 3db80ff763450278cc2ae3391e1be8bc2fd11b7e
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 18 17:47:24 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 18 17:47:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db80ff7

net-libs/xrootd-ceph: bump to 4.12.4

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest   | 2 +-
 .../{xrootd-ceph-4.12.3.ebuild => xrootd-ceph-4.12.4.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 871244c0bd5..93913352122 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,4 +1,4 @@
 DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
-DIST xrootd-ceph-4.12.3.tar.gz 80615 BLAKE2B 
d7040be47fe3f9283036f1d56f509860c6a56f29f68835d1469f3ee48377dd90e1c76b28c65b1dab24b64e00083368e1242bd4988f15b6b9df50a0c7715d9f00
 SHA512 
8df64c33b97cb9d92bc0a962c34c82d789551d76a3450b56125f2924357ee46c51513f992809357a217890d1d261144a92ee1b95f075b2c8081d4646402467b0
+DIST xrootd-ceph-4.12.4.tar.gz 81253 BLAKE2B 
0b3d0e347e02b6948550c44487e0edb1c65075407b444b6242fb3e647e3fe91ff2d03ca10f13b5ae05ffa931eaf0b73a75055999a55b74ec20d8e6b853865f67
 SHA512 
cd793d18f6162a98f50f605177aae1421227226540fe3e632adae3632c053e78f3b53b1e09f6f60a9c64a5a5e5d019aceaf1ab1c11dde81e5c36512b47ac0ac9
 DIST xrootd-ceph-5.0.0.tar.gz 80615 BLAKE2B 
dd37dd2c76d59c8e1fe672fd9a573af8197f0f93a64e1ea1a2b02fca6be66c163c54f999089d397715135d0e209cc0b570f6d381b9f3c472a1e7316e22a03d46
 SHA512 
12215876bd73d59217909390595d128d03e12eed82d130ccec3b88c02620dbeb3e028e4d8101121778df5a804de1cc66bc485aa3073455ab5ef88d8ac158550f
 DIST xrootd-ceph-5.0.1.tar.gz 80620 BLAKE2B 
e36e07a5dd8cc5035986774e76a231734c7d8e0584cecc941cc41045dddedde75173d83f9a55525069f83fefd50af9bab93d038a40c19f06b158ca45cbfa3a1e
 SHA512 
8e00cba70b2cea1a5a83041df1b5c18ba3ec9dc801bdffd5cb14dbdffd02a3230b58603523a2ae0995a4685343bcb3d1ad8afbdf9a345104c7e29de3717509a2

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild
similarity index 100%
rename from net-libs/xrootd-ceph/xrootd-ceph-4.12.3.ebuild
rename to net-libs/xrootd-ceph/xrootd-ceph-4.12.4.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2020-09-18 Thread Marek Szuba
commit: 4a0003172e29b7c7d16a8dbffb7065c2cb1d72a2
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 18 17:38:21 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 18 17:43:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a000317

net-libs/xrootd: bump to 4.12.4

Also includes the http-key-leakage patch backported from 5.0.2.

Bug: https://bugs.gentoo.org/743391
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest   |  2 +-
 .../files/xrootd-4.12.4-http_secret_leakage.patch  | 41 ++
 .../{xrootd-4.12.3.ebuild => xrootd-4.12.4.ebuild} |  8 +++--
 3 files changed, 48 insertions(+), 3 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index afebf6d2494..0ac03ed45ac 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,5 @@
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
-DIST xrootd-4.12.3.tar.gz 2574996 BLAKE2B 
1ba6ecdee473fbe1f6367459dfe8324f38e2d72aa64ed349ccdcaa7616a3d70f0b647d2eac6babbcc0e1b673ff44a050c05f23e80fb89161f121fa6dd3484311
 SHA512 
e4f4ad744a71a7fc69a16f2114b6d5962ddf0b22bd86f7eb19703313d55242813f13be1a1f23c541b966674bdb4854f955843322525f37bc83647e8f2fbe076d
+DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b
 SHA512 
8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364
 DIST xrootd-5.0.0.tar.gz 2754256 BLAKE2B 
c80a38ede3263ae669181f2173f6ee2bb0a347dc973cecc9dedf00867041190f7bceb7f475696e8cd3921c57d4c197b73ee57b29c9e78a027393ca61dca1b6d3
 SHA512 
75b69d3da2a6e477edbf5588afd943a91a2e1e86fcc98afc34d964c9231fc0224b4eec82336e9a7d5bd8bd0cd5c20e442ee37b8f6239f417b05efdf39038d93c
 DIST xrootd-5.0.1.tar.gz 2759931 BLAKE2B 
2bc76f660f7fb3c9202c37dc10f099f2bd06868b00c43e6015ebb0d9cf3edf8ac777f76c1f71d0f1f4b252cedd62c9aa74a449cb5f369492a5ee63813bb7924f
 SHA512 
95e0fe97f66a320999d4c2dd2ac5be4e2ba7779f220aa521e4882925d5e9262c34991f0ecbd3c2449b97977ff4cdbdcd9477ed780d1a6dbf8fbd3f547b4932ba
 DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255

diff --git a/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch 
b/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch
new file mode 100644
index 000..953c6aa3b2b
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch
@@ -0,0 +1,41 @@
+Backported from 5.0.2. Not quite sure if xrootd-4 is actually vulnerable
+to this - but just in case.
+
+From fff97c2dc6703dc1ba8b28b1bf67eeb278ff3e22 Mon Sep 17 00:00:00 2001
+From: Andrew Hanushevsky 
+Date: Wed, 2 Sep 2020 23:13:52 -0700
+Subject: [PATCH] [HTTP] Prevent secret key leakage if specified in the config
+ file.
+
+---
+ src/XrdHttp/XrdHttpProtocol.cc | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/XrdHttp/XrdHttpProtocol.cc b/src/XrdHttp/XrdHttpProtocol.cc
+index 66b89df20ed..5f50f2aeadd 100644
+--- a/src/XrdHttp/XrdHttpProtocol.cc
 b/src/XrdHttp/XrdHttpProtocol.cc
+@@ -1986,6 +1986,7 @@ int XrdHttpProtocol::xsslcafile(XrdOucStream & Config) {
+ 
+ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) {
+   char *val;
++  bool inFile = false;
+ 
+   // Get the path
+   //
+@@ -2001,6 +2002,7 @@ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) {
+   // otherwise, the token itself is the secretkey
+   if (val[0] == '/') {
+ struct stat st;
++inFile = true;
+ if ( stat(val, ) ) {
+   eDest.Emsg("Config", errno, "stat shared secret key file", val);
+   return 1;
+@@ -2059,6 +2061,7 @@ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) {
+   // Record the path
+   if (secretkey) free(secretkey);
+   secretkey = strdup(val);
++  if (!inFile) Config.noEcho();
+ 
+   return 0;
+ }

diff --git a/net-libs/xrootd/xrootd-4.12.3.ebuild 
b/net-libs/xrootd/xrootd-4.12.4.ebuild
similarity index 92%
rename from net-libs/xrootd/xrootd-4.12.3.ebuild
rename to net-libs/xrootd/xrootd-4.12.4.ebuild
index 17545ef3217..105a4611edc 100644
--- a/net-libs/xrootd/xrootd-4.12.3.ebuild
+++ b/net-libs/xrootd/xrootd-4.12.4.ebuild
@@ -42,12 +42,16 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
 "
 
-PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.8.3-crc32.patch
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-09-18 Thread Marek Szuba
commit: 0c29254e32859af457652108a47db8060cc325ce
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 18 17:40:41 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 18 17:43:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c29254e

net-libs/xrootd: remove old

Bug: https://bugs.gentoo.org/743391
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   2 -
 net-libs/xrootd/xrootd-5.0.0.ebuild | 116 
 net-libs/xrootd/xrootd-5.0.1.ebuild | 116 
 3 files changed, 234 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 0ac03ed45ac..c553b4791b2 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,3 @@
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.12.4.tar.gz 2577360 BLAKE2B 
f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b
 SHA512 
8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364
-DIST xrootd-5.0.0.tar.gz 2754256 BLAKE2B 
c80a38ede3263ae669181f2173f6ee2bb0a347dc973cecc9dedf00867041190f7bceb7f475696e8cd3921c57d4c197b73ee57b29c9e78a027393ca61dca1b6d3
 SHA512 
75b69d3da2a6e477edbf5588afd943a91a2e1e86fcc98afc34d964c9231fc0224b4eec82336e9a7d5bd8bd0cd5c20e442ee37b8f6239f417b05efdf39038d93c
-DIST xrootd-5.0.1.tar.gz 2759931 BLAKE2B 
2bc76f660f7fb3c9202c37dc10f099f2bd06868b00c43e6015ebb0d9cf3edf8ac777f76c1f71d0f1f4b252cedd62c9aa74a449cb5f369492a5ee63813bb7924f
 SHA512 
95e0fe97f66a320999d4c2dd2ac5be4e2ba7779f220aa521e4882925d5e9262c34991f0ecbd3c2449b97977ff4cdbdcd9477ed780d1a6dbf8fbd3f547b4932ba
 DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255

diff --git a/net-libs/xrootd/xrootd-5.0.0.ebuild 
b/net-libs/xrootd/xrootd-5.0.0.ebuild
deleted file mode 100644
index b96f560be94..000
--- a/net-libs/xrootd/xrootd-5.0.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-# Upstream does not support the building of Python bindings
-# via CMake for more than one implementation at a time.
-inherit cmake python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="acct-group/xrootd
-   acct-user/xrootd
-   sys-libs/zlib
-   fuse? ( sys-fs/fuse:= )
-   kerberos? ( virtual/krb5 )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${CDEPEND}"
-BDEPEND="
-   doc? (
-   app-doc/doxygen[dot]
-   python? ( dev-python/sphinx )
-   )
-   test? ( dev-util/cppunit )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-REQUIRED_USE="
-   http? ( kerberos ssl )
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
-   /usr/lib.*/libXrdClTests\.so"
-
-pkg_setup() {
-   use python && python_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CRYPTO=$(usex ssl)
-   -DENABLE_FUSE=$(usex fuse)
-   -DENABLE_HTTP=$(usex http)
-   -DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_PYTHON=$(usex python)
-   -DENABLE_READLINE=$(usex readline)
-   -DENABLE_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   if use doc; then
-   doxygen Doxyfile || die
-   if use python; then
-   emake -C bindings/python/docs html
-   fi
-   fi
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doxydoc/html/. )
-   dodoc docs/ReleaseNotes.txt
-   cmake_src_install
-   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
-
-   # base 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-09-18 Thread Marek Szuba
commit: 6b4d25e3bdef5c85035f5c2c6b631eee30e4733c
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 18 17:18:34 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 18 17:43:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4d25e3

net-libs/xrootd: bump to 5.0.2

Among other things, this fixes potential secret-key leakage in HTTP
mode.

Bug: https://bugs.gentoo.org/743391
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.0.2.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 09415fd4e67..afebf6d2494 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -2,3 +2,4 @@ DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34
 DIST xrootd-4.12.3.tar.gz 2574996 BLAKE2B 
1ba6ecdee473fbe1f6367459dfe8324f38e2d72aa64ed349ccdcaa7616a3d70f0b647d2eac6babbcc0e1b673ff44a050c05f23e80fb89161f121fa6dd3484311
 SHA512 
e4f4ad744a71a7fc69a16f2114b6d5962ddf0b22bd86f7eb19703313d55242813f13be1a1f23c541b966674bdb4854f955843322525f37bc83647e8f2fbe076d
 DIST xrootd-5.0.0.tar.gz 2754256 BLAKE2B 
c80a38ede3263ae669181f2173f6ee2bb0a347dc973cecc9dedf00867041190f7bceb7f475696e8cd3921c57d4c197b73ee57b29c9e78a027393ca61dca1b6d3
 SHA512 
75b69d3da2a6e477edbf5588afd943a91a2e1e86fcc98afc34d964c9231fc0224b4eec82336e9a7d5bd8bd0cd5c20e442ee37b8f6239f417b05efdf39038d93c
 DIST xrootd-5.0.1.tar.gz 2759931 BLAKE2B 
2bc76f660f7fb3c9202c37dc10f099f2bd06868b00c43e6015ebb0d9cf3edf8ac777f76c1f71d0f1f4b252cedd62c9aa74a449cb5f369492a5ee63813bb7924f
 SHA512 
95e0fe97f66a320999d4c2dd2ac5be4e2ba7779f220aa521e4882925d5e9262c34991f0ecbd3c2449b97977ff4cdbdcd9477ed780d1a6dbf8fbd3f547b4932ba
+DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 
35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17
 SHA512 
e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255

diff --git a/net-libs/xrootd/xrootd-5.0.2.ebuild 
b/net-libs/xrootd/xrootd-5.0.2.ebuild
new file mode 100644
index 000..b96f560be94
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.0.2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-08-24 Thread Marek Szuba
commit: f88280b7ce6325fda3c925ca476828cb4f502574
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 24 12:59:12 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 24 17:07:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f88280b7

net-libs/xrootd-ceph: bump to 5.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.0.1.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 8d09d984f60..871244c0bd5 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
 DIST xrootd-ceph-4.12.3.tar.gz 80615 BLAKE2B 
d7040be47fe3f9283036f1d56f509860c6a56f29f68835d1469f3ee48377dd90e1c76b28c65b1dab24b64e00083368e1242bd4988f15b6b9df50a0c7715d9f00
 SHA512 
8df64c33b97cb9d92bc0a962c34c82d789551d76a3450b56125f2924357ee46c51513f992809357a217890d1d261144a92ee1b95f075b2c8081d4646402467b0
 DIST xrootd-ceph-5.0.0.tar.gz 80615 BLAKE2B 
dd37dd2c76d59c8e1fe672fd9a573af8197f0f93a64e1ea1a2b02fca6be66c163c54f999089d397715135d0e209cc0b570f6d381b9f3c472a1e7316e22a03d46
 SHA512 
12215876bd73d59217909390595d128d03e12eed82d130ccec3b88c02620dbeb3e028e4d8101121778df5a804de1cc66bc485aa3073455ab5ef88d8ac158550f
+DIST xrootd-ceph-5.0.1.tar.gz 80620 BLAKE2B 
e36e07a5dd8cc5035986774e76a231734c7d8e0584cecc941cc41045dddedde75173d83f9a55525069f83fefd50af9bab93d038a40c19f06b158ca45cbfa3a1e
 SHA512 
8e00cba70b2cea1a5a83041df1b5c18ba3ec9dc801bdffd5cb14dbdffd02a3230b58603523a2ae0995a4685343bcb3d1ad8afbdf9a345104c7e29de3717509a2

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.1.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.1.ebuild
new file mode 100644
index 000..f38a421f486
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+# 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)
+   # As of 5.0.0 the default plug-in version is still 4.
+   -DPLUGIN_VERSION=$(ver_cut 1)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-08-24 Thread Marek Szuba
commit: 862ed3c99a7abdd2c8f4abe887714626ff442e23
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 24 12:42:36 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 24 17:07:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=862ed3c9

net-libs/xrootd: bump to 5.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.0.1.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 1468396eec7..09415fd4e67 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.12.3.tar.gz 2574996 BLAKE2B 
1ba6ecdee473fbe1f6367459dfe8324f38e2d72aa64ed349ccdcaa7616a3d70f0b647d2eac6babbcc0e1b673ff44a050c05f23e80fb89161f121fa6dd3484311
 SHA512 
e4f4ad744a71a7fc69a16f2114b6d5962ddf0b22bd86f7eb19703313d55242813f13be1a1f23c541b966674bdb4854f955843322525f37bc83647e8f2fbe076d
 DIST xrootd-5.0.0.tar.gz 2754256 BLAKE2B 
c80a38ede3263ae669181f2173f6ee2bb0a347dc973cecc9dedf00867041190f7bceb7f475696e8cd3921c57d4c197b73ee57b29c9e78a027393ca61dca1b6d3
 SHA512 
75b69d3da2a6e477edbf5588afd943a91a2e1e86fcc98afc34d964c9231fc0224b4eec82336e9a7d5bd8bd0cd5c20e442ee37b8f6239f417b05efdf39038d93c
+DIST xrootd-5.0.1.tar.gz 2759931 BLAKE2B 
2bc76f660f7fb3c9202c37dc10f099f2bd06868b00c43e6015ebb0d9cf3edf8ac777f76c1f71d0f1f4b252cedd62c9aa74a449cb5f369492a5ee63813bb7924f
 SHA512 
95e0fe97f66a320999d4c2dd2ac5be4e2ba7779f220aa521e4882925d5e9262c34991f0ecbd3c2449b97977ff4cdbdcd9477ed780d1a6dbf8fbd3f547b4932ba

diff --git a/net-libs/xrootd/xrootd-5.0.1.ebuild 
b/net-libs/xrootd/xrootd-5.0.1.ebuild
new file mode 100644
index 000..b96f560be94
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.0.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-08-02 Thread Michał Górny
commit: 47c3c0bb46af06b8a7819ea682bf46509cde2758
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug  2 11:55:25 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug  2 12:02:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c3c0bb

net-libs/xrootd: Remove py2.7

Signed-off-by: Michał Górny  gentoo.org>

 net-libs/xrootd/xrootd-4.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-4.12.0.ebuild 
b/net-libs/xrootd/xrootd-4.12.0.ebuild
index 414f5edd4dc..3974f5488b2 100644
--- a/net-libs/xrootd/xrootd-4.12.0.ebuild
+++ b/net-libs/xrootd/xrootd-4.12.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit cmake-utils python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-07-08 Thread Marek Szuba
commit: 6f331c64b66482d619980b34389798d33ea04f7d
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul  8 14:43:54 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul  8 14:46:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f331c64

net-libs/xrootd-ceph: bump to 5.0.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index ccf5c92d389..8d09d984f60 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
 DIST xrootd-ceph-4.12.3.tar.gz 80615 BLAKE2B 
d7040be47fe3f9283036f1d56f509860c6a56f29f68835d1469f3ee48377dd90e1c76b28c65b1dab24b64e00083368e1242bd4988f15b6b9df50a0c7715d9f00
 SHA512 
8df64c33b97cb9d92bc0a962c34c82d789551d76a3450b56125f2924357ee46c51513f992809357a217890d1d261144a92ee1b95f075b2c8081d4646402467b0
+DIST xrootd-ceph-5.0.0.tar.gz 80615 BLAKE2B 
dd37dd2c76d59c8e1fe672fd9a573af8197f0f93a64e1ea1a2b02fca6be66c163c54f999089d397715135d0e209cc0b570f6d381b9f3c472a1e7316e22a03d46
 SHA512 
12215876bd73d59217909390595d128d03e12eed82d130ccec3b88c02620dbeb3e028e4d8101121778df5a804de1cc66bc485aa3073455ab5ef88d8ac158550f

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild
new file mode 100644
index 000..f38a421f486
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-5.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )"
+
+# 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)
+   # As of 5.0.0 the default plug-in version is still 4.
+   -DPLUGIN_VERSION=$(ver_cut 1)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-07-08 Thread Marek Szuba
commit: 37bd9307e7cb7104a1f12fb17f903e047026535a
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul  8 12:53:56 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul  8 12:56:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bd9307

net-libs/xrootd: bump to 5.0.0

Tested with USE="python python_single_target_pypy3" as well and it
does *not* work, the ebuild emerges without errors but no Python
bindings are installed.

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest|   1 +
 net-libs/xrootd/xrootd-5.0.0.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index ed8b0fab993..1468396eec7 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,2 +1,3 @@
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.12.3.tar.gz 2574996 BLAKE2B 
1ba6ecdee473fbe1f6367459dfe8324f38e2d72aa64ed349ccdcaa7616a3d70f0b647d2eac6babbcc0e1b673ff44a050c05f23e80fb89161f121fa6dd3484311
 SHA512 
e4f4ad744a71a7fc69a16f2114b6d5962ddf0b22bd86f7eb19703313d55242813f13be1a1f23c541b966674bdb4854f955843322525f37bc83647e8f2fbe076d
+DIST xrootd-5.0.0.tar.gz 2754256 BLAKE2B 
c80a38ede3263ae669181f2173f6ee2bb0a347dc973cecc9dedf00867041190f7bceb7f475696e8cd3921c57d4c197b73ee57b29c9e78a027393ca61dca1b6d3
 SHA512 
75b69d3da2a6e477edbf5588afd943a91a2e1e86fcc98afc34d964c9231fc0224b4eec82336e9a7d5bd8bd0cd5c20e442ee37b8f6239f417b05efdf39038d93c

diff --git a/net-libs/xrootd/xrootd-5.0.0.ebuild 
b/net-libs/xrootd/xrootd-5.0.0.ebuild
new file mode 100644
index 000..b96f560be94
--- /dev/null
+++ b/net-libs/xrootd/xrootd-5.0.0.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+# Upstream does not support the building of Python bindings
+# via CMake for more than one implementation at a time.
+inherit cmake python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1)\.so
+   /usr/lib.*/libXrdClTests\.so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd "${FILESDIR}"/xrootd.confd xrootd
+
+   if use python; then
+   python_optimize "${D}/$(python_get_sitedir)"
+
+   if use doc; then
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-06-26 Thread Marek Szuba
commit: bf5dcb3d89abeaf0511c0181045ac758a09d37fe
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 26 11:05:23 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 26 11:05:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5dcb3d

net-libs/xrootd-4.12.3: drop python2_7 support

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/xrootd-4.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-4.12.3.ebuild 
b/net-libs/xrootd/xrootd-4.12.3.ebuild
index 6acdc5a472e..17545ef3217 100644
--- a/net-libs/xrootd/xrootd-4.12.3.ebuild
+++ b/net-libs/xrootd/xrootd-4.12.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit cmake-utils python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2020-06-26 Thread Marek Szuba
commit: 32a8f1cee1e0281b2818a7c8b8fbaff32a46f401
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 26 10:59:45 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 26 11:00:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a8f1ce

net-libs/xrootd: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest   |   3 -
 .../files/xrootd-4.8.3-Werror_only_Debug.patch |  22 
 net-libs/xrootd/metadata.xml   |   1 -
 net-libs/xrootd/xrootd-4.11.1.ebuild   | 113 ---
 net-libs/xrootd/xrootd-4.12.1.ebuild   | 113 ---
 net-libs/xrootd/xrootd-4.8.3.ebuild| 119 -
 6 files changed, 371 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index cfbf0bc738c..ed8b0fab993 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,2 @@
-DIST xrootd-4.11.1.tar.gz 2549971 BLAKE2B 
e131769291d33d2198c4afdedd0d9f9a0eac9459654277763554d2dfba211b7123f3d0dfc90fe365c7f4da2590d9bec6daf994ee7ae241897aa10b4500362c3c
 SHA512 
7853de40d40f28177f70a18f17ee99f83c8b6c6ddf0b5e7ef64df83c5457bad11e6249c75f985c207c3292fab73a2181730ce9c8bf11979535a566c5364de8a1
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
-DIST xrootd-4.12.1.tar.gz 2564202 BLAKE2B 
df6334884d12ea68d98f5e8d1c83bb44d9a7d9232f1350323beff8de3815fd24711a90b5180824c9a9fd3f9e4f45ad3448bb32cde57efd646343bf2fd202237e
 SHA512 
8d5c7029ccad8cb898ff41671e6f360154549df926b1fb5e7747503bed477f7bf1daec7addbc5a832b76f0f5c40ef8fdcda708907389fa790c3b87a944af4d93
 DIST xrootd-4.12.3.tar.gz 2574996 BLAKE2B 
1ba6ecdee473fbe1f6367459dfe8324f38e2d72aa64ed349ccdcaa7616a3d70f0b647d2eac6babbcc0e1b673ff44a050c05f23e80fb89161f121fa6dd3484311
 SHA512 
e4f4ad744a71a7fc69a16f2114b6d5962ddf0b22bd86f7eb19703313d55242813f13be1a1f23c541b966674bdb4854f955843322525f37bc83647e8f2fbe076d
-DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 
1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe
 SHA512 
6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911

diff --git a/net-libs/xrootd/files/xrootd-4.8.3-Werror_only_Debug.patch 
b/net-libs/xrootd/files/xrootd-4.8.3-Werror_only_Debug.patch
deleted file mode 100644
index 2f0a64b13fd..000
--- a/net-libs/xrootd/files/xrootd-4.8.3-Werror_only_Debug.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Only set -Werror - which among other things prevents xrootd-4.8.3 from being
-compiled with gcc-9 - either in debug mode or when explicitly requested.
-Backport of the change made upstream in 4.10.
 a/cmake/XRootDOSDefs.cmake
-+++ b/cmake/XRootDOSDefs.cmake
-@@ -26,7 +26,15 @@
- 
#---
- if( CMAKE_COMPILER_IS_GNUCXX )
-   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x" )
--  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
-+  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
-+  
#-
-+  # Set -Werror only for Debug (or undefined) build type or if we have been
-+  # explicitly asked to do so
-+  
#-
-+  if( ( CMAKE_BUILD_TYPE STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL ""
-+OR FORCE_WERROR ) )
-+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror" )
-+  endif()
-   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/metadata.xml b/net-libs/xrootd/metadata.xml
index ecd16e038b9..b961d03874b 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -16,6 +16,5 @@
   
 Enable the sys-fs/fuse filesystem 
driver
 Enable http protocol support
-Enable rados block device support via 
sys-cluster/ceph
   
 

diff --git a/net-libs/xrootd/xrootd-4.11.1.ebuild 
b/net-libs/xrootd/xrootd-4.11.1.ebuild
deleted file mode 100644
index 735dfba0810..000
--- a/net-libs/xrootd/xrootd-4.11.1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
-
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-06-25 Thread Agostino Sarubbo
commit: 0efd9ab47f67d7c03a5acf31180d6cb26df40a77
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 25 06:59:49 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 25 06:59:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0efd9ab4

net-libs/xrootd-ceph: amd64 stable wrt bug #728784

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
index f701427b94c..9936f476eb3 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/xrootd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="LGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~amd64-linux"
+KEYWORDS="amd64 ~amd64-linux"
 
 DEPEND="net-libs/xrootd
!

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-06-25 Thread Agostino Sarubbo
commit: 467d158093183f9486312f0c28cd7bdb1e83a8eb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 25 06:59:45 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 25 06:59:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467d1580

net-libs/xrootd: amd64 stable wrt bug #728784

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd/xrootd-4.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-4.12.0.ebuild 
b/net-libs/xrootd/xrootd-4.12.0.ebuild
index 4bc5e96d5a3..414f5edd4dc 100644
--- a/net-libs/xrootd/xrootd-4.12.0.ebuild
+++ b/net-libs/xrootd/xrootd-4.12.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos python readline ssl test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-06-21 Thread Agostino Sarubbo
commit: 51b3b52a2bbddc23c4fcc22f8b16984f98d9b55b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 21 17:13:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 21 17:13:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b3b52a

net-libs/xrootd: x86 stable wrt bug #728784

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/xrootd/xrootd-4.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd/xrootd-4.12.0.ebuild 
b/net-libs/xrootd/xrootd-4.12.0.ebuild
index 6acdc5a472e..4bc5e96d5a3 100644
--- a/net-libs/xrootd/xrootd-4.12.0.ebuild
+++ b/net-libs/xrootd/xrootd-4.12.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fuse http kerberos python readline ssl test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-06-19 Thread Marek Szuba
commit: 12c68a2825964f8132c88ef2cb425440c16e13b1
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 19 15:14:48 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 19 16:12:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c68a28

net-libs/xrootd-ceph: bump to 4.12.3

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  1 +
 net-libs/xrootd-ceph/xrootd-ceph-4.12.3.ebuild | 24 
 2 files changed, 25 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
index 24eab4063e3..ccf5c92d389 100644
--- a/net-libs/xrootd-ceph/Manifest
+++ b/net-libs/xrootd-ceph/Manifest
@@ -1 +1,2 @@
 DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34
+DIST xrootd-ceph-4.12.3.tar.gz 80615 BLAKE2B 
d7040be47fe3f9283036f1d56f509860c6a56f29f68835d1469f3ee48377dd90e1c76b28c65b1dab24b64e00083368e1242bd4988f15b6b9df50a0c7715d9f00
 SHA512 
8df64c33b97cb9d92bc0a962c34c82d789551d76a3450b56125f2924357ee46c51513f992809357a217890d1d261144a92ee1b95f075b2c8081d4646402467b0

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.3.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.3.ebuild
new file mode 100644
index 000..f701427b94c
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-4.12.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+DEPEND="net-libs/xrootd
+   !https://github.com/xrootd/xrootd/issues/447
+QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1).so"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-06-19 Thread Marek Szuba
commit: 039d3b0a10dbb627b3cc07f6a6a676b757f92ff4
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 19 15:13:36 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 19 16:11:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039d3b0a

net-libs/xrootd: bump to 4.12.3

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest |   1 +
 net-libs/xrootd/xrootd-4.12.3.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 61aee4cf44d..cfbf0bc738c 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,4 +1,5 @@
 DIST xrootd-4.11.1.tar.gz 2549971 BLAKE2B 
e131769291d33d2198c4afdedd0d9f9a0eac9459654277763554d2dfba211b7123f3d0dfc90fe365c7f4da2590d9bec6daf994ee7ae241897aa10b4500362c3c
 SHA512 
7853de40d40f28177f70a18f17ee99f83c8b6c6ddf0b5e7ef64df83c5457bad11e6249c75f985c207c3292fab73a2181730ce9c8bf11979535a566c5364de8a1
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.12.1.tar.gz 2564202 BLAKE2B 
df6334884d12ea68d98f5e8d1c83bb44d9a7d9232f1350323beff8de3815fd24711a90b5180824c9a9fd3f9e4f45ad3448bb32cde57efd646343bf2fd202237e
 SHA512 
8d5c7029ccad8cb898ff41671e6f360154549df926b1fb5e7747503bed477f7bf1daec7addbc5a832b76f0f5c40ef8fdcda708907389fa790c3b87a944af4d93
+DIST xrootd-4.12.3.tar.gz 2574996 BLAKE2B 
1ba6ecdee473fbe1f6367459dfe8324f38e2d72aa64ed349ccdcaa7616a3d70f0b647d2eac6babbcc0e1b673ff44a050c05f23e80fb89161f121fa6dd3484311
 SHA512 
e4f4ad744a71a7fc69a16f2114b6d5962ddf0b22bd86f7eb19703313d55242813f13be1a1f23c541b966674bdb4854f955843322525f37bc83647e8f2fbe076d
 DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 
1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe
 SHA512 
6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911

diff --git a/net-libs/xrootd/xrootd-4.12.3.ebuild 
b/net-libs/xrootd/xrootd-4.12.3.ebuild
new file mode 100644
index 000..6acdc5a472e
--- /dev/null
+++ b/net-libs/xrootd/xrootd-4.12.3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1).so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake-utils_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-05-14 Thread Marek Szuba
commit: 9d4e659d447d875308c9a82218912be29148
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 14 10:56:36 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 14 17:04:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4e659d

net-libs/xrootd: bump to 4.12.1

Bugfix release fixing a problem with Grid-related authentication
present in 4.12.0.

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest |   1 +
 net-libs/xrootd/xrootd-4.12.1.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 45d3d07ef45..61aee4cf44d 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,3 +1,4 @@
 DIST xrootd-4.11.1.tar.gz 2549971 BLAKE2B 
e131769291d33d2198c4afdedd0d9f9a0eac9459654277763554d2dfba211b7123f3d0dfc90fe365c7f4da2590d9bec6daf994ee7ae241897aa10b4500362c3c
 SHA512 
7853de40d40f28177f70a18f17ee99f83c8b6c6ddf0b5e7ef64df83c5457bad11e6249c75f985c207c3292fab73a2181730ce9c8bf11979535a566c5364de8a1
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
+DIST xrootd-4.12.1.tar.gz 2564202 BLAKE2B 
df6334884d12ea68d98f5e8d1c83bb44d9a7d9232f1350323beff8de3815fd24711a90b5180824c9a9fd3f9e4f45ad3448bb32cde57efd646343bf2fd202237e
 SHA512 
8d5c7029ccad8cb898ff41671e6f360154549df926b1fb5e7747503bed477f7bf1daec7addbc5a832b76f0f5c40ef8fdcda708907389fa790c3b87a944af4d93
 DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 
1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe
 SHA512 
6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911

diff --git a/net-libs/xrootd/xrootd-4.12.1.ebuild 
b/net-libs/xrootd/xrootd-4.12.1.ebuild
new file mode 100644
index 000..6acdc5a472e
--- /dev/null
+++ b/net-libs/xrootd/xrootd-4.12.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1).so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake-utils_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in cmsd frm_purged frm_xfrd xrootd; do
+   newinitd "${FILESDIR}"/${i}.initd ${i}
+   done
+   # all daemons MUST use single master config file
+   newconfd "${FILESDIR}"/xrootd.confd xrootd
+
+   if use 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-05-08 Thread Marek Szuba
commit: 1de5f4d9353ecedf0527adc121d1065520678239
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri May  8 21:07:05 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri May  8 21:07:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de5f4d9

net-libs/xrootd-ceph: remove x86 from keywords

sys-cluster/ceph no longer supports x86. I really should read pkgcheck
output more carefully.

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
index 867190e4408..f701427b94c 100644
--- a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
+++ b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/xrootd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="LGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~amd64-linux"
 
 DEPEND="net-libs/xrootd
!

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd-ceph/

2020-05-08 Thread Marek Szuba
commit: fcf660f89dc8bb14d39e8b1d601f41dcbfdb1ada
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri May  8 21:00:22 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri May  8 21:03:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf660f8

net-libs/xrootd-ceph: not-quite-new package

This used to be part of net-libs/xrootd but got split into a separate
upstream package before version 4.10.0. Seeing as the code in question
has been in the tree before (still is in fact, we've still got 4.8.4),
let this package directly inherit the keywords, as well as the
maintainer, of xrootd itself.

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd-ceph/Manifest  |  1 +
 net-libs/xrootd-ceph/metadata.xml  | 13 +
 net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild | 24 
 3 files changed, 38 insertions(+)

diff --git a/net-libs/xrootd-ceph/Manifest b/net-libs/xrootd-ceph/Manifest
new file mode 100644
index 000..24eab4063e3
--- /dev/null
+++ b/net-libs/xrootd-ceph/Manifest
@@ -0,0 +1 @@
+DIST xrootd-ceph-4.12.0.tar.gz 80601 BLAKE2B 
05e31ec3a03d50f36f7ef368705ca8ad064d1d9da4fc3815aaf96ce358da07348aaea264d82884da2782cf7c1069b584269fff9f2a3140057b2d4d2929639f77
 SHA512 
de55cc923bad3629de6428dbc4e7c7e2cb802512f03f49bcfc79f12221828cd9702f1c9a1bc28b599dce801c937146cf381dfd589c85f4f5721c4fbf13f6ad34

diff --git a/net-libs/xrootd-ceph/metadata.xml 
b/net-libs/xrootd-ceph/metadata.xml
new file mode 100644
index 000..65cbb7c9f14
--- /dev/null
+++ b/net-libs/xrootd-ceph/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+   
+   This XROOTD plug-in allows it to interface with rados block 
devices via
+   sys-cluster/ceph. Until its version 4.10.0 it used 
to part
+   of net-libs/xrootd itself.
+   
+

diff --git a/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild 
b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
new file mode 100644
index 000..867190e4408
--- /dev/null
+++ b/net-libs/xrootd-ceph/xrootd-ceph-4.12.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="net-libs/xrootd
+   !https://github.com/xrootd/xrootd/issues/447
+QA_SONAME="/usr/lib.*/libXrd.*-$(ver_cut 1).so"



[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-05-08 Thread Marek Szuba
commit: 34c095e79303d7c8195d0b6dba4a6a20cc83f889
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri May  8 20:55:34 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri May  8 21:03:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c095e7

net-libs/xrootd: bump to 4.12.0

Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest |   1 +
 net-libs/xrootd/xrootd-4.12.0.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index c776a8f373b..734b98b5f8b 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,4 +1,5 @@
 DIST xrootd-4.10.1.tar.gz 2532982 BLAKE2B 
79cc334c631060e9be48c4f443837065e786f49513e535150f7490a9a5a17ec91f4f5dd054b0f15cb6b60ecfc18a1447e28825dc7d6665ef59004ab11665f9e2
 SHA512 
49234db532292c6ef04d455a1a6a5d1ff4d6705c088d5c2571602f444cb9bf03699e63a12ba962a6d3a8b9cc9f43635889ec33976840326a8301c81da7099397
 DIST xrootd-4.11.1.tar.gz 2549971 BLAKE2B 
e131769291d33d2198c4afdedd0d9f9a0eac9459654277763554d2dfba211b7123f3d0dfc90fe365c7f4da2590d9bec6daf994ee7ae241897aa10b4500362c3c
 SHA512 
7853de40d40f28177f70a18f17ee99f83c8b6c6ddf0b5e7ef64df83c5457bad11e6249c75f985c207c3292fab73a2181730ce9c8bf11979535a566c5364de8a1
+DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 
1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe
 SHA512 
6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911
 DIST xrootd-4.9.0.tar.gz 2517614 BLAKE2B 
5f1ce6f599fdf5b1f9b4fa078d9b306be241757f95e9b5e9bc0a6f06450a21315778428d8c1d1ffd28ef0841bc50fca387036740bb707d9a96b7f07e94e15540
 SHA512 
a956262a8adae4c9cb9a91275d4207943cf43251fc61ade111c91152c62baf06c1cbdf1d659c6d792703045a4c2a82bac732220ecfd2fa707e445d6fc66ee047

diff --git a/net-libs/xrootd/xrootd-4.12.0.ebuild 
b/net-libs/xrootd/xrootd-4.12.0.ebuild
new file mode 100644
index 000..6acdc5a472e
--- /dev/null
+++ b/net-libs/xrootd/xrootd-4.12.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/;
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fuse http kerberos python readline ssl test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="acct-group/xrootd
+   acct-user/xrootd
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:= )
+   kerberos? ( virtual/krb5 )
+   python? ( ${PYTHON_DEPS} )
+   readline? ( sys-libs/readline:0= )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+   doc? (
+   app-doc/doxygen[dot]
+   python? ( dev-python/sphinx )
+   )
+   test? ( dev-util/cppunit )
+"
+RDEPEND="${CDEPEND}
+   dev-lang/perl
+"
+REQUIRED_USE="
+   http? ( kerberos ssl )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd.*-$(ver_cut 1).so"
+
+pkg_setup() {
+   use python && python_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_CRYPTO=$(usex ssl)
+   -DENABLE_FUSE=$(usex fuse)
+   -DENABLE_HTTP=$(usex http)
+   -DENABLE_KRB5=$(usex kerberos)
+   -DENABLE_PYTHON=$(usex python)
+   -DENABLE_READLINE=$(usex readline)
+   -DENABLE_TESTS=$(usex test)
+   )
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc; then
+   doxygen Doxyfile || die
+   if use python; then
+   emake -C bindings/python/docs html
+   fi
+   fi
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doxydoc/html/. )
+   dodoc docs/ReleaseNotes.txt
+   cmake-utils_src_install
+   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+   # base configs
+   insinto /etc/xrootd
+   doins packaging/common/*.cfg
+
+   fowners root:xrootd /etc/xrootd
+   keepdir /var/log/xrootd
+   fowners xrootd:xrootd /var/log/xrootd
+
+   local i
+   for i in 

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/

2020-05-08 Thread Marek Szuba
commit: ee6c97e10165304b54724b9dd72a7638e2858ab7
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri May  8 20:58:46 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri May  8 21:03:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6c97e1

net-libs/xrootd: remove old

Closes: https://bugs.gentoo.org/682354
Signed-off-by: Marek Szuba  gentoo.org>

 net-libs/xrootd/Manifest |   2 -
 net-libs/xrootd/xrootd-4.10.1.ebuild | 113 -
 net-libs/xrootd/xrootd-4.9.0.ebuild  | 119 ---
 3 files changed, 234 deletions(-)

diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 734b98b5f8b..45d3d07ef45 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1,5 +1,3 @@
-DIST xrootd-4.10.1.tar.gz 2532982 BLAKE2B 
79cc334c631060e9be48c4f443837065e786f49513e535150f7490a9a5a17ec91f4f5dd054b0f15cb6b60ecfc18a1447e28825dc7d6665ef59004ab11665f9e2
 SHA512 
49234db532292c6ef04d455a1a6a5d1ff4d6705c088d5c2571602f444cb9bf03699e63a12ba962a6d3a8b9cc9f43635889ec33976840326a8301c81da7099397
 DIST xrootd-4.11.1.tar.gz 2549971 BLAKE2B 
e131769291d33d2198c4afdedd0d9f9a0eac9459654277763554d2dfba211b7123f3d0dfc90fe365c7f4da2590d9bec6daf994ee7ae241897aa10b4500362c3c
 SHA512 
7853de40d40f28177f70a18f17ee99f83c8b6c6ddf0b5e7ef64df83c5457bad11e6249c75f985c207c3292fab73a2181730ce9c8bf11979535a566c5364de8a1
 DIST xrootd-4.12.0.tar.gz 2564041 BLAKE2B 
6ea9c379aa482c81279168baa3e1381e880d34014fb3516c96961da64d54faf649295f024313ece445df9a62b6b5c818b7aa8a987025d3cd969188de072648c9
 SHA512 
5338c4fb5461918473dd4f41f4d29fae09a8fc6a9e2d8f00bb74d929dc5396fef73643462d1a4f1ba71ffe5cf92a1695a167ca3a766c674a9377dcf99aaa1778
 DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 
1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe
 SHA512 
6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911
-DIST xrootd-4.9.0.tar.gz 2517614 BLAKE2B 
5f1ce6f599fdf5b1f9b4fa078d9b306be241757f95e9b5e9bc0a6f06450a21315778428d8c1d1ffd28ef0841bc50fca387036740bb707d9a96b7f07e94e15540
 SHA512 
a956262a8adae4c9cb9a91275d4207943cf43251fc61ade111c91152c62baf06c1cbdf1d659c6d792703045a4c2a82bac732220ecfd2fa707e445d6fc66ee047

diff --git a/net-libs/xrootd/xrootd-4.10.1.ebuild 
b/net-libs/xrootd/xrootd-4.10.1.ebuild
deleted file mode 100644
index bdfdc4d7200..000
--- a/net-libs/xrootd/xrootd-4.10.1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
-
-inherit cmake-utils python-single-r1 user
-
-DESCRIPTION="Extended ROOT remote file server"
-HOMEPAGE="http://xrootd.org/;
-SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fuse http kerberos python readline ssl test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-   sys-libs/zlib
-   fuse? ( sys-fs/fuse:= )
-   kerberos? ( virtual/krb5 )
-   python? ( ${PYTHON_DEPS} )
-   readline? ( sys-libs/readline:0= )
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${CDEPEND}
-   doc? (
-   app-doc/doxygen[dot]
-   python? ( dev-python/sphinx )
-   )
-   test? ( dev-util/cppunit )
-"
-RDEPEND="${CDEPEND}
-   dev-lang/perl
-"
-REQUIRED_USE="
-   http? ( kerberos ssl )
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.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.*/libXrd*-4.so"
-
-pkg_setup() {
-   enewgroup xrootd
-   enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd
-   use python && python_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_CRYPTO=$(usex ssl)
-   -DENABLE_FUSE=$(usex fuse)
-   -DENABLE_HTTP=$(usex http)
-   -DENABLE_KRB5=$(usex kerberos)
-   -DENABLE_PYTHON=$(usex python)
-   -DENABLE_READLINE=$(usex readline)
-   -DENABLE_TESTS=$(usex test)
-   )
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-   if use doc; then
-   doxygen Doxyfile || die
-   if use python; then
-   emake -C bindings/python/docs html
-   fi
-   fi
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doxydoc/html/. )
-   dodoc docs/ReleaseNotes.txt
-   cmake-utils_src_install
-   find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
-
-   # base configs
-   insinto /etc/xrootd
-   doins packaging/common/*.cfg
-
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/, net-libs/xrootd/files/

2019-12-29 Thread Marek Szuba
commit: 77ec8e9ee23def7148efe1cc1c7c49c3f9b895b3
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Dec 29 23:17:24 2019 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Dec 29 23:17:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ec8e9e

net-libs/xrootd: do not set -Werror in normal builds

Backported to 4.8 and 4.9 from 4.10. Should allow these versions to
build under gcc-9.

Closes: https://bugs.gentoo.org/703412
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/xrootd-4.8.3-Werror_only_Debug.patch | 22 ++
 net-libs/xrootd/xrootd-4.8.3.ebuild|  5 -
 net-libs/xrootd/xrootd-4.9.0.ebuild|  5 -
 3 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/net-libs/xrootd/files/xrootd-4.8.3-Werror_only_Debug.patch 
b/net-libs/xrootd/files/xrootd-4.8.3-Werror_only_Debug.patch
new file mode 100644
index 000..2f0a64b13fd
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-4.8.3-Werror_only_Debug.patch
@@ -0,0 +1,22 @@
+Only set -Werror - which among other things prevents xrootd-4.8.3 from being
+compiled with gcc-9 - either in debug mode or when explicitly requested.
+Backport of the change made upstream in 4.10.
+--- a/cmake/XRootDOSDefs.cmake
 b/cmake/XRootDOSDefs.cmake
+@@ -26,7 +26,15 @@
+ 
#---
+ if( CMAKE_COMPILER_IS_GNUCXX )
+   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x" )
+-  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
++  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
++  
#-
++  # Set -Werror only for Debug (or undefined) build type or if we have been
++  # explicitly asked to do so
++  
#-
++  if( ( CMAKE_BUILD_TYPE STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL ""
++OR FORCE_WERROR ) )
++set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror" )
++  endif()
+   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/xrootd-4.8.3.ebuild 
b/net-libs/xrootd/xrootd-4.8.3.ebuild
index 90f82f05b9a..df36a3d6213 100644
--- a/net-libs/xrootd/xrootd-4.8.3.ebuild
+++ b/net-libs/xrootd/xrootd-4.8.3.ebuild
@@ -42,7 +42,10 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
 "
 
-PATCHES=( "${FILESDIR}"/${P}-crc32.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-crc32.patch
+   "${FILESDIR}"/${PN}-4.8.3-Werror_only_Debug.patch
+)
 
 # xrootd plugins are not intended to be linked with,
 # they are to be loaded at runtime by xrootd,

diff --git a/net-libs/xrootd/xrootd-4.9.0.ebuild 
b/net-libs/xrootd/xrootd-4.9.0.ebuild
index f42a32f1833..55c0653ee3b 100644
--- a/net-libs/xrootd/xrootd-4.9.0.ebuild
+++ b/net-libs/xrootd/xrootd-4.9.0.ebuild
@@ -42,7 +42,10 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
 "
 
-PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.patch )
+PATCHES=(
+   "${FILESDIR}"/xrootd-4.8.3-crc32.patch
+   "${FILESDIR}"/${PN}-4.8.3-Werror_only_Debug.patch
+)
 
 # xrootd plugins are not intended to be linked with,
 # they are to be loaded at runtime by xrootd,



  1   2   >