summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-30 19:43:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-30 19:43:35 +0100
commitb7efdd771aad99c9a6509a5f85a80a1f7cfd55f3 (patch)
tree02f9d01894c5e75c1d01e1c85038384cb6d1da64 /net-libs
parente2e7cc7d880b593b2bc94bf648dff853c97225f2 (diff)
gentoo auto-resync : 30:06:2023 - 19:43:35
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/Manifest.gzbin32618 -> 32613 bytes
-rw-r--r--net-libs/freaklabs-chibiarduino/Manifest6
-rw-r--r--net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-1.0.8_p20190329.ebuild5
-rw-r--r--net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-9999.ebuild5
-rw-r--r--net-libs/freaklabs-chibiarduino/metadata.xml3
-rw-r--r--net-libs/libmicrodns/Manifest4
-rw-r--r--net-libs/libmicrodns/libmicrodns-0.1.2.ebuild6
-rw-r--r--net-libs/libmicrodns/libmicrodns-9999.ebuild6
-rw-r--r--net-libs/xrootd/Manifest4
-rw-r--r--net-libs/xrootd/metadata.xml1
-rw-r--r--net-libs/xrootd/xrootd-5.6.0.ebuild209
11 files changed, 225 insertions, 24 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index 90d61a6ce558..d1e220f89f35 100644
--- a/net-libs/Manifest.gz
+++ b/net-libs/Manifest.gz
Binary files differ
diff --git a/net-libs/freaklabs-chibiarduino/Manifest b/net-libs/freaklabs-chibiarduino/Manifest
index 6a2d52d2d546..a3cce666eb02 100644
--- a/net-libs/freaklabs-chibiarduino/Manifest
+++ b/net-libs/freaklabs-chibiarduino/Manifest
@@ -1,4 +1,4 @@
DIST freaklabs-chibiarduino-1.0.8_p20190329.tar.gz 242125 BLAKE2B d2d19c55409da9fc360180df13260ee374521e9765c81b3b17c227a07d3d2376ce5d8f915a55659e520cc2b1999efb75cde690a7264d659f23728b3b8e1ac8bb SHA512 913964a8ec9091835746ee13a0316210b4e914f07e15f1837290334219d10d983f32246cefc25bfef95a1adf2e20cd665f52eaa5801ce19da064d7fc72e069ad
-EBUILD freaklabs-chibiarduino-1.0.8_p20190329.ebuild 1099 BLAKE2B c1977913c1141fff623b9e0244eacc85372a95b9b660dcedc9e4a5db8f9d6e574ff4ec00f9a696665ca135479e7bc8f3b4b86e83dfe2407dd8fb388b954224da SHA512 ad18d0082de330397227bf3a3150ecb85cb37f9faf8e974550bd70f764a0ef0ca0ad65c632002f4158cf1a3af206f4bf50cad614bb2b242f234454a5c70d7597
-EBUILD freaklabs-chibiarduino-9999.ebuild 1099 BLAKE2B c1977913c1141fff623b9e0244eacc85372a95b9b660dcedc9e4a5db8f9d6e574ff4ec00f9a696665ca135479e7bc8f3b4b86e83dfe2407dd8fb388b954224da SHA512 ad18d0082de330397227bf3a3150ecb85cb37f9faf8e974550bd70f764a0ef0ca0ad65c632002f4158cf1a3af206f4bf50cad614bb2b242f234454a5c70d7597
-MISC metadata.xml 347 BLAKE2B 33862cc5620773462b41c6f5fd328442d0a40d36e101beb980103d0ea844a243f4a8e966667024017851a04c9cd7814da69e685021ed8ab4f4156b6aacdc2021 SHA512 9f1cadb43bece73ce1e93eedbe516c98cc51c9fa2ddd1f83eefcd59ed9b1bf2513027e7bdd008ed9dd5e61fe79d453c70b6f2156a52b962bda211006e2162bf2
+EBUILD freaklabs-chibiarduino-1.0.8_p20190329.ebuild 1063 BLAKE2B 90a3902a2d90f512ba84118fa4139d74cce4285bdaee38436d4541b8cd07105e2eb7bbc902141a16ee9a5a0e8845fc0d756d5bc130c0f9f9eb3fb149a5f908f8 SHA512 dbac5645985d3cc08c5bd79390b8fd76bac2d884f517157c8ae1a2441115ea6abbeb5fdd463deac0f5422a08d98dcbc4f5e112a6ea7cc12a70832f18fcf5aa0d
+EBUILD freaklabs-chibiarduino-9999.ebuild 1063 BLAKE2B 90a3902a2d90f512ba84118fa4139d74cce4285bdaee38436d4541b8cd07105e2eb7bbc902141a16ee9a5a0e8845fc0d756d5bc130c0f9f9eb3fb149a5f908f8 SHA512 dbac5645985d3cc08c5bd79390b8fd76bac2d884f517157c8ae1a2441115ea6abbeb5fdd463deac0f5422a08d98dcbc4f5e112a6ea7cc12a70832f18fcf5aa0d
+MISC metadata.xml 434 BLAKE2B e2f994cb3fe8fbc640c6f0d453ded515d118f3b9b9807ab97d364cdd2ebb3c6618f1d5733661daedf5018347e5aadf0bbfa62f0d6276ccbbad3875666501d091 SHA512 def8a11ae4a95e20345676dd9850e36df2f8e50ba00f741045112a6d126c3eb460ba7c4792eeb98c64d16e80747cda50d2852f1da00a34437ef878555cada9c5
diff --git a/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-1.0.8_p20190329.ebuild b/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-1.0.8_p20190329.ebuild
index 98bfbc4cad3b..139c106994ea 100644
--- a/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-1.0.8_p20190329.ebuild
+++ b/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-1.0.8_p20190329.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,9 +20,6 @@ LICENSE="BSD"
SLOT="0"
IUSE="+promisc"
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
PDEPEND="dev-embedded/arduino
dev-embedded/freaklabs-boards"
diff --git a/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-9999.ebuild b/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-9999.ebuild
index 98bfbc4cad3b..139c106994ea 100644
--- a/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-9999.ebuild
+++ b/net-libs/freaklabs-chibiarduino/freaklabs-chibiarduino-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,9 +20,6 @@ LICENSE="BSD"
SLOT="0"
IUSE="+promisc"
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
PDEPEND="dev-embedded/arduino
dev-embedded/freaklabs-boards"
diff --git a/net-libs/freaklabs-chibiarduino/metadata.xml b/net-libs/freaklabs-chibiarduino/metadata.xml
index 976a133320d8..51aab496fab4 100644
--- a/net-libs/freaklabs-chibiarduino/metadata.xml
+++ b/net-libs/freaklabs-chibiarduino/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="promisc">Enable promisc in the config file for packet sniffing</flag>
</use>
+ <upstream>
+ <remote-id type="github">freaklabs/chibiArduino</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/net-libs/libmicrodns/Manifest b/net-libs/libmicrodns/Manifest
index 5c0c1d0a1646..6d66485ac646 100644
--- a/net-libs/libmicrodns/Manifest
+++ b/net-libs/libmicrodns/Manifest
@@ -1,4 +1,4 @@
DIST microdns-0.1.2.tar.xz 49420 BLAKE2B 247a82c3bb038487390ba967387e9d4cec638ee5315290387c5b8863afbd45cc0700a3ee6c0308db253a161b5c1d345f77808de96df3f31bfaa2ff74e8fa3c05 SHA512 a6b15c65c74560fdba8973c63ffae9cdde4445f54196bb2d7d6348f6c15f8f162ef0a4e91b969ea3f2a60c701c3cc72799fcfba2fbf08c37f71ba8d5e3409702
-EBUILD libmicrodns-0.1.2.ebuild 739 BLAKE2B 71ffec4c753ad91307ae1cb9aaac1e9787d7b5c7f48e990d6b1e8bbf52d4ca001129c7d0304e591654507ad3ff095ed50d91749b0a5a28f2e207efc54d8b7e38 SHA512 b3d658b8da8c3e7d3204d8ae715389ba18c8611b0be5ea41831ac79c72a7c3bac0eafd6b919e06ab858f91395fc2d497f237b247e0b5f4a742c4194d18240dff
-EBUILD libmicrodns-9999.ebuild 744 BLAKE2B 00a4d4c71093b0dc58251fed455af9bab699242fe0088af3b2105fc47bb424bd126809d5e51250b5666bc989dd6e63bef9d47232c396c70c9ee5ba7b069a02dd SHA512 7e9ecb5dc7fad5ad7b95612d061c959c19cb1bff4ca75f473fd302fa2b6b24ec052a756bba5f2768f7bb6f7c4d45aacfb0da8861c2386cf2678de6da011bac36
+EBUILD libmicrodns-0.1.2.ebuild 697 BLAKE2B 55ddb8252a091d04220bafc621bc8372c0889af4d871bd91a28f530268c5556b078a1794ace5408881e13ee27ffebe51c61bb20e0821669f72a08a96d5e7d564 SHA512 513205c31d900d803c11ff97d67cd944ae2bf0d01b229fefe350e85c4b6148bdaae11cab0736de4dda8d73d4d85d706080fa28c505a0dfaa3670b2e5e68c818f
+EBUILD libmicrodns-9999.ebuild 702 BLAKE2B 450e158c3a29a2aae07524991544e20e0f32f21a384b6adf1fe41a0e906d9a7b25e464a4cda3fac3fad1d3d8d3e99abf98b13f132ab8b36f3055b1bcbece848c SHA512 d6be2b918b1eb3656648ecfabab89b5ebd841ec3d2cdf9898ab17535e9c7de638dca67aeb58cbcc0f47e6528cdf1f819aca8fafa51673c3ae6003ccdadf4fcb8
MISC metadata.xml 254 BLAKE2B 4f83405f0c5f776131825e94db2344f42dbcae710a30024d85374b3d0a3945f711c4f45f85f30a3b09eed0775dd38be7e73c2cc27016cbf2203e0ebef6addf41 SHA512 1df82bee3f7e4594a26a409efeda2283088993cafd502ccc7bf68fc73b2c857b1d61268a0a32933ef99f413d9541e8473e69969805240855da97ebdec9601f99
diff --git a/net-libs/libmicrodns/libmicrodns-0.1.2.ebuild b/net-libs/libmicrodns/libmicrodns-0.1.2.ebuild
index 78aed926297f..f49bd4643610 100644
--- a/net-libs/libmicrodns/libmicrodns-0.1.2.ebuild
+++ b/net-libs/libmicrodns/libmicrodns-0.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,10 +22,6 @@ SLOT="0"
IUSE="examples test"
RESTRICT="!test? ( test )"
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
src_configure() {
local emesonargs=(
$(meson_feature examples)
diff --git a/net-libs/libmicrodns/libmicrodns-9999.ebuild b/net-libs/libmicrodns/libmicrodns-9999.ebuild
index 8c8df3daedfd..a32f68efe0d1 100644
--- a/net-libs/libmicrodns/libmicrodns-9999.ebuild
+++ b/net-libs/libmicrodns/libmicrodns-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,10 +22,6 @@ SLOT="0"
IUSE="examples test"
RESTRICT="!test? ( test )"
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
src_configure() {
local emesonargs=(
$(meson_feature examples)
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 5a56027db322..e1cdc148dd9f 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -11,8 +11,10 @@ AUX xrootd.initd 858 BLAKE2B 306970196c9f69db3f94c095c8518b837f5f4723a1cbae27327
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
EBUILD xrootd-5.4.3-r2.ebuild 4627 BLAKE2B c3820362346a32f41c9a9afe447854211af4a2015e3e0950b98e18e6346ec9ec7528ae3ec7cef8be29dbaf069a9188dce4fad2a31023c87cb82cef709dc03c03 SHA512 705bd4e6189c67a0b7f31dc96241b086145268a13113826292ab6b00fdf739c497c67cb00033f5f42181f51dcc0476bf816fc5daf2dbace16d14c989fecd8589
EBUILD xrootd-5.4.3.ebuild 3186 BLAKE2B 39211730f3cf2da1f616c3cb88e0fbe5449b534fdb9612c47f919537162fb1cb14e4a225feeeed6b51428ae51c7550d31a875b71a0c1b5b3ee3b12e2cd474f26 SHA512 3ab16277df556260c833c1a60cb47c964ffefa7cef623aba61038d73be6959f2dbae41f2ccef28e95274472d0995a840347128fb38d4e5d8f171af709d8267f2
EBUILD xrootd-5.5.4-r1.ebuild 4747 BLAKE2B b998c253caf6335c65a071d9ad58b3481e24c697ba53506d38751284561f3fdd89f89f9b42d30789b168d8bc83ed6d96b0d12fed781cb6ee61c1751f142f2ac9 SHA512 064dad4eb4c39910149ad0a9a98519ae44e93038a000f9df4d5f8e4981267d681994bf033a75dfb711ae504368ac76c3852dcfeae3b3aae04874eafa203e724c
EBUILD xrootd-5.5.5-r1.ebuild 5323 BLAKE2B 7f447697571190745567e5e6225e4694d399e62d2e18b5a13a27af2859a9e87d899264bb8592d955410deef91c511879b8d84cebd8446afab4e537898564e3da SHA512 fd2ce0e94e4be67261d519ecf1c3aef653d1965f4a664f563a7554f51f56ecd4a84946abcabdf5bf50363ab29ccdcd305ec21aadb51b96ae5b062f99c4069a9e
-MISC metadata.xml 1425 BLAKE2B 6bd0a688dd2a671d6e8086896d10b2aa05b2e033b21c60bb7c622ad1f07d982777a9848317d2ba43dad5ac0e0973419c2df5ed30948ec1441c7ee1cd0d8959da SHA512 f1e8720586dbceb895562a3ecfdc059aa840b4a9fbc49f0e51dd1e886e7f1fa13b79db4d1cb487f66e06232e9f4ade043e967ec387d315ad8a05e28244640d65
+EBUILD xrootd-5.6.0.ebuild 4854 BLAKE2B ee28e0c0726c871f96f22169858afbae4d517a24fa0727e5acbbea5010cfc0e0f6e02e0d5206e975fc53061ef0b23a210563baf1e03878af938efe35eb88848e SHA512 aa45bb21389728c4670e3f6775778bff967732561e7b1f659976b59ad4cd13695460fbf5fef1fb6fe5e450e9fe726a19d5825e94754e1e8d31ab004abd682ee5
+MISC metadata.xml 1517 BLAKE2B a41f7e485316d636e61611a248b720da1d7d4a66a7faf731d96a299c6dd2c53f20b3ac077c6fbea209b6ff862067d1e32f68a121f9e9edcfe2afdbb30320c733 SHA512 07eb7d082a7a0fd97898a89fa130433ba507d70921de1b700904707bebea566efaefbf2044db2a97a0f931dccc3486a049cdfbf4118ea488de6991918c422b1b
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 @@
<remote-id type="github">xrootd/xrootd</remote-id>
</upstream>
<use>
+ <flag name="ceph">Enable suport for <pkg>sys-cluster/ceph</pkg> (XrdCeph plugin)</flag>
<flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag>
<flag name="http">Enable http protocol support</flag>
<flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> for XML parsing (preferred) instead of bundled tinyxml</flag>
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 000000000000..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)
+ -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=$(usex macaroons)
+ -DENABLE_PYTHON=$(usex python)
+ -DENABLE_READLINE=$(usex readline)
+ -DENABLE_SCITOKENS=$(usex scitokens)
+ -DENABLE_TESTS=$(usex test)
+ -DENABLE_VOMS=no
+ -DENABLE_XRDCL=yes
+ -DENABLE_XRDCLHTTP=$(usex http)
+ -DENABLE_XRDEC=$(usex xrdec)
+ -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() {
+ cmake_src_test
+ # 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() {
+ dodoc docs/ReleaseNotes.txt
+ cmake_src_install
+ find "${ED}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die
+
+ 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
+
+ if use systemd; then
+ systemd_dounit packaging/common/*.{service,socket}
+ fi
+ fi
+
+ # base configs
+ insinto /etc/xrootd
+ doins packaging/common/*.cfg
+
+ keepdir /etc/xrootd/config.d
+ keepdir /var/log/xrootd
+
+ fowners -R xrootd:xrootd /etc/xrootd
+ fowners -R xrootd:xrootd /var/log/xrootd
+
+ if use python; then
+ pushd "${BUILD_DIR}"/bindings/python > /dev/null || die
+ distutils-r1_src_install
+ popd > /dev/null || die
+
+ 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
+
+ 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)/libXrd*Test*.so || die "Failed to remove test libraries from installed tree"
+ fi
+}