diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-31 22:43:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-31 22:43:14 +0000 |
commit | 7323114f21150e9c3714584386134160e2c520cf (patch) | |
tree | b361bee15d0d87cf243bdf778fdfff9e8d7256a8 /net-libs | |
parent | 4856d9d89d9f533d36c415521ddc9c23be3c6033 (diff) |
gentoo auto-resync : 31:01:2025 - 22:43:14
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 30625 -> 30630 bytes | |||
-rw-r--r-- | net-libs/libtlsrpt/Manifest | 4 | ||||
-rw-r--r-- | net-libs/libtlsrpt/libtlsrpt-0.5.0_rc1-r1.ebuild | 1 | ||||
-rw-r--r-- | net-libs/libtlsrpt/libtlsrpt-9999.ebuild | 1 | ||||
-rw-r--r-- | net-libs/qxmpp/Manifest | 2 | ||||
-rw-r--r-- | net-libs/qxmpp/qxmpp-1.9.3.ebuild | 54 | ||||
-rw-r--r-- | net-libs/xrootd/Manifest | 6 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.7.2.ebuild | 15 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.7.3.ebuild | 224 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-9999.ebuild | 26 |
10 files changed, 323 insertions, 10 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 32784c10ff9d..50aad6b281f0 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/libtlsrpt/Manifest b/net-libs/libtlsrpt/Manifest index b17ec02cc9e8..0492ccfcf98f 100644 --- a/net-libs/libtlsrpt/Manifest +++ b/net-libs/libtlsrpt/Manifest @@ -1,4 +1,4 @@ DIST libtlsrpt-0.5.0rc1.tar.gz 360474 BLAKE2B 23bbde2a650a56c6f01282cb470781eb9525dba6759833f664eda6d342b298b264570844a7cd735bfe87d8faeeb23f7e1566b791a253c01c679cf9366f674876 SHA512 05ae62b42bad90d5d84bb9fb72f0b53184fef18aafadc9611e16c21333a3fa090c8fbdb0378364ce87154eb4b6a62a566cbdaae0a7216a8f9fc60058572e2501 -EBUILD libtlsrpt-0.5.0_rc1-r1.ebuild 729 BLAKE2B 8d67a29a8aff7dda2d771196c1cda1322c6316c9209294c6a1eceaab25428c81e23b81276e967807e76c1c166391df5c3370ef29f6f1aab49a3dceacd00441ad SHA512 733154ae5f066d789fde7b543f3ce861e734ac1ee4f536c802b4a8a4b89c0607a0164c6ec2f1e918a1ff95be93229a8ea2028e49ba8ba900cd88d32896086b99 -EBUILD libtlsrpt-9999.ebuild 729 BLAKE2B 8d67a29a8aff7dda2d771196c1cda1322c6316c9209294c6a1eceaab25428c81e23b81276e967807e76c1c166391df5c3370ef29f6f1aab49a3dceacd00441ad SHA512 733154ae5f066d789fde7b543f3ce861e734ac1ee4f536c802b4a8a4b89c0607a0164c6ec2f1e918a1ff95be93229a8ea2028e49ba8ba900cd88d32896086b99 +EBUILD libtlsrpt-0.5.0_rc1-r1.ebuild 699 BLAKE2B c9e62544840799e5a16303bdecfd082cfd35ea499504817a574376956a234700ca9ea9b1ec800f458ff11c05bfde0f0aac8debc6cc02a752e7cc76b4cc70838c SHA512 61c4b717c1754258127066cee68d18f2dbfebce8fb1662aed2d744d66e0bf5a93c5ebc85b77f580b79e3738f6691e459f12cc977660f00bd9184a9b7e45be24c +EBUILD libtlsrpt-9999.ebuild 699 BLAKE2B c9e62544840799e5a16303bdecfd082cfd35ea499504817a574376956a234700ca9ea9b1ec800f458ff11c05bfde0f0aac8debc6cc02a752e7cc76b4cc70838c SHA512 61c4b717c1754258127066cee68d18f2dbfebce8fb1662aed2d744d66e0bf5a93c5ebc85b77f580b79e3738f6691e459f12cc977660f00bd9184a9b7e45be24c MISC metadata.xml 298 BLAKE2B 69177a5203ff83c5fcdc4e825a7e065ac5a4ed5ab8d8b42903628d38a2e9cebddd9a951229598f43874df8830e174a4497fc822142555c48f40686318893f0bb SHA512 d2e1aba7173d041ecda3c7d21cb4b02fba2959c87f0e9fa7051811b0706fe8dbc3e5c9c5611cbff6303bd3016fb2e95c5699bb2b137327292d83d61d647b4b28 diff --git a/net-libs/libtlsrpt/libtlsrpt-0.5.0_rc1-r1.ebuild b/net-libs/libtlsrpt/libtlsrpt-0.5.0_rc1-r1.ebuild index 7f91034e4778..ece22a751879 100644 --- a/net-libs/libtlsrpt/libtlsrpt-0.5.0_rc1-r1.ebuild +++ b/net-libs/libtlsrpt/libtlsrpt-0.5.0_rc1-r1.ebuild @@ -9,7 +9,6 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 MY_P="${PN}${PV/_/}" EGIT_REPO_URI="https://github.com/sys4/${PN}.git" - S="${WORKDIR}/${MY_P}/${PN}" else MY_P="${PN}-${PV/_/}" SRC_URI="https://github.com/sys4/${PN}/releases/download/v${PV/_/}/${MY_P}.tar.gz" diff --git a/net-libs/libtlsrpt/libtlsrpt-9999.ebuild b/net-libs/libtlsrpt/libtlsrpt-9999.ebuild index 7f91034e4778..ece22a751879 100644 --- a/net-libs/libtlsrpt/libtlsrpt-9999.ebuild +++ b/net-libs/libtlsrpt/libtlsrpt-9999.ebuild @@ -9,7 +9,6 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 MY_P="${PN}${PV/_/}" EGIT_REPO_URI="https://github.com/sys4/${PN}.git" - S="${WORKDIR}/${MY_P}/${PN}" else MY_P="${PN}-${PV/_/}" SRC_URI="https://github.com/sys4/${PN}/releases/download/v${PV/_/}/${MY_P}.tar.gz" diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest index 17619b83e397..ad5fb1b93c1c 100644 --- a/net-libs/qxmpp/Manifest +++ b/net-libs/qxmpp/Manifest @@ -1,3 +1,5 @@ DIST qxmpp-1.5.5.tar.gz 606405 BLAKE2B 999dfcaa601f1d79df97febcd63bfcdcce87de9c0e68db6c1253407c89414003f326011a9a5e366031f78ddae084d06f04851ab3f4573ee53c59567770ae0edc SHA512 39774655fdb87dc54f32f7a018d4964c9ff8e9bebedd9cc94e6ad41288bd67365eec524525de09c5a3d2ea274e418fc6d5497ac2c1927946154cadaf7fc0d655 +DIST qxmpp-1.9.3.tar.gz 725634 BLAKE2B 1212596e53ccf92bc83d9676a2e8e6c773b92e40cfa71daccb52da647245a8b0ddef5789c6a1586089fac9aab0560f70853d7db3f570291b0718e0f6f8c3ba09 SHA512 80a81c9d13c8155fc1d219f52c38d0370192acf51f2ebcff52c7ecd1d342e60e188d5eb19a7bc961f9e3bc5aeea77ecc1efd2bbe59e36988954c18bb210285cd EBUILD qxmpp-1.5.5.ebuild 1174 BLAKE2B 36365e9c768bea247e86112d82ccfbbae7363b5839190f22fd1813bdd823431a37e133c9357527058abf8a9d3ff93a20561be87e9128f59d2c52379fdd5195c8 SHA512 8798ae15e52cb18da3126151301f8a6293421c07166f7dd74cddfdde8f52e124b3ee16587b3e4f1fed8318904f138acb2092263ada647638380e0fdfebbc78ac +EBUILD qxmpp-1.9.3.ebuild 1152 BLAKE2B 22afb31e74c6dae46183064e0e24a3ee700c1bf4c8e7167b01bddfcaafa2eacd8d5f9a3e51156321637f2099b812e9d8ba3f1debdcdca2a754976e35dabd209f SHA512 b8c5bb2e868dd8c2075ade660d89a925994e1322215b64872fd22151b92a6dded27073e41af99554c4a207d9e970ead1f0fb586d9faa74843dc4d7fc2ad591b4 MISC metadata.xml 712 BLAKE2B 7e1c78ed48ec7054376fba6babd95594706f7f560cb057fce3dfb4c88ad961fa0f0e0010a156ec487e66268015e6229ee0e2941561377a262b09a1fdc8778b55 SHA512 dc381ed3677ccb1a215215d3e4340b2e696410da368b470d77d0807bf6140907ae8f3a809c2ef33437807b1becd7a14a5240c5b541153765d8b9012a49bc90c2 diff --git a/net-libs/qxmpp/qxmpp-1.9.3.ebuild b/net-libs/qxmpp/qxmpp-1.9.3.ebuild new file mode 100644 index 000000000000..e847bd3c9cc5 --- /dev/null +++ b/net-libs/qxmpp/qxmpp-1.9.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework" +HOMEPAGE="https://github.com/qxmpp-project/qxmpp" +SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gstreamer omemo test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtbase:6[network,ssl,xml] + dev-qt/qt5compat:6 + gstreamer? ( media-libs/gstreamer ) + omemo? ( + app-crypt/qca:2[qt6(+)] + net-libs/libomemo-c + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-text/doxygen ) +" + +src_configure() { + local mycmakeargs=( + -DQT_VERSION_MAJOR=6 + -DBUILD_DOCUMENTATION=$(usex doc) + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTS=$(usex test) + -DBUILD_INTERNAL_TESTS=$(usex test) + -DBUILD_OMEMO=$(usex omemo) + -DWITH_QCA=$(usex omemo) + -DWITH_GSTREAMER=$(usex gstreamer) + ) + + cmake_src_configure +} + +src_test() { + local myctestargs=( + # require network connection, bug #623708 + -E "tst_(qxmpptransfermanager|qxmppiceconnection)" + ) + + cmake_src_test +} diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index cf4f97b8a346..d2c755bb2448 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -7,8 +7,10 @@ AUX xrootd.initd 858 BLAKE2B 306970196c9f69db3f94c095c8518b837f5f4723a1cbae27327 DIST xrootd-5.6.7.tar.gz 6698751 BLAKE2B cb702a450b81665b53cf15d5c8df239826148c3cd746db7778b48ae01244257ce4877402c3e07ef6aa5228f9ae97f1b39210ed46ea2c802c35b7c4d8ad6a7fcf SHA512 e7ec8b6eae684f27b5044890c45492f7d9b2b8812a9131ff45db63984869aa62cd85836d71b4100e89a6bb98ee3864062940d4dec0fdb340472df126d6de4d41 DIST xrootd-5.6.9.tar.gz 6701277 BLAKE2B 0086455f251879acf2d635ed0ae533dfa2c3e006798df27111d35599f1833ce1342c9eec1f540f3a165376c91233181420635bae5e1cb4d552681d8cfe36d902 SHA512 9ba15524451ebe7ee12d689f9c56d85508996285d01885236d396b7742ff6cc03036a6b4bd1424b0e1553cbf382c0954c10cec76fa1a99a7dfff330686bad0cd DIST xrootd-5.7.2.tar.gz 6826940 BLAKE2B 4f2c6cc945c0c7706671a9bcfc9f2ffa5d28d82bdbbc4a865f9e57d3f7afa28b2fe7db74222587eb93c1028aa6644aa14d58acd9989384299d0f0a7a11d51b19 SHA512 a117b2e239695ac243ada3e1a0339d20057645b9e22753c32d44f3949e9ca0eab262397a8264e11293676e512b5cda921392f6ae52b935f93c60ea7247ac4f02 +DIST xrootd-5.7.3.tar.gz 6833395 BLAKE2B 88a30ee71cefc9b18a3d5ebb9268510a36024440cee97fff226a1873b335a191ca26e0c159ab92c150fa82d4609cf50f6bb82e142cf993750a1eaaf316cd6afb SHA512 3e9eb692d1836d5bebd64742fd145b5ffcd1e096f4bf007694dc1a1131118cb752316e291e626743c80af6a576791aa6cca31bd482a47c8774c4a01b2e599f4e EBUILD xrootd-5.6.7.ebuild 4778 BLAKE2B bd32a51bfa26e3568ed49ecb1bff7ff8e4067aecb34025e17cd7cb71ec3e59a8474cebc837874873c584c474b422428929aaecb26c7f32359d23cbbaad7a3ef8 SHA512 ee2fb883150a7aca6315b3832512960d6bc72e3b007ab5a7896cfe29527f219c18bda66b215f8da4885015bd66259a813c92ddcd4b53fa007da37875788f0ee9 EBUILD xrootd-5.6.9.ebuild 4780 BLAKE2B e7020a1334c0e4a97bf26c638da7b00473b80f61951b2717c889c69aa4ebb3ede92a8587255955d058abbbfa4d55da62cd1019989d459002db2a02d29af8514e SHA512 93a2c806fbfb1d3a0b73ec5b770c7130a7617a47a3d1f24530f593df60e2a1f0a71fc54b7d4d81bb67abf67387c10711270f468848208b5faf31be29e0c1c684 -EBUILD xrootd-5.7.2.ebuild 4591 BLAKE2B c7913e81b63e223703b43a4b796cdab8ceb2af23742a37360d5e795ad4897019e2292687a5c820af1742c95dd1cedd62a22b78fe00bf1e6e8c368c5c03a73d3e SHA512 99d0fb3027b9f3ef76380e64ede5083f23454a4415c981a6b9cee0317436d0e3466b2da439a792f2e8484205ab6044f1afad66305b567f9d661d2d0db4a96bc6 -EBUILD xrootd-9999.ebuild 4781 BLAKE2B eca429ed5e20bb72f7508f70f74fc624060b046dc3bb376c20198b1a66a601ff465f8bb1cebe10c7cabf53e70284b543dec17c9e3044ef9c1b6c98c361f23686 SHA512 0edc045747139b388ae0565e316e1fa0b1201f45cbb74d5cacd69b359c1d789a412bcce746515687d38ce798081c566f61fbece50f7ef69f03b8de6d0991201d +EBUILD xrootd-5.7.2.ebuild 5007 BLAKE2B 6509c61420d7eb6f7df1c1c2a82b67f75e8fce29a74d600a1e13d4489439b0f740836a123aa66a1b78fb2dc08c7654f0a0fd8a52abc67531d65d4318053e6e8a SHA512 f95580be9c839e63ac3ec06fed5d26863a7a567d3c957e3369d7f0d3bfc3e3c3c981f5b3833289c310457770b177b2a79aa0afad98d82ab95ad57f7538ee1727 +EBUILD xrootd-5.7.3.ebuild 5310 BLAKE2B d971804d73a94938118da931f62cbe8a4776c77725bbd26fd7427e8710060164caa10348352733a5a9085699325ddf13e0ffc450d5c59acf7dd645028beea194 SHA512 9c73220ef02b5f145eb428af132e4b131af5195cc735ee474abba0d9fc1356604ab76467f02ac9b08714b1326ab6bd1d5bfc71ceb3ca2d36b1ba1a9f9f3af574 +EBUILD xrootd-9999.ebuild 5310 BLAKE2B d971804d73a94938118da931f62cbe8a4776c77725bbd26fd7427e8710060164caa10348352733a5a9085699325ddf13e0ffc450d5c59acf7dd645028beea194 SHA512 9c73220ef02b5f145eb428af132e4b131af5195cc735ee474abba0d9fc1356604ab76467f02ac9b08714b1326ab6bd1d5bfc71ceb3ca2d36b1ba1a9f9f3af574 MISC metadata.xml 1517 BLAKE2B a41f7e485316d636e61611a248b720da1d7d4a66a7faf731d96a299c6dd2c53f20b3ac077c6fbea209b6ff862067d1e32f68a121f9e9edcfe2afdbb30320c733 SHA512 07eb7d082a7a0fd97898a89fa130433ba507d70921de1b700904707bebea566efaefbf2044db2a97a0f931dccc3486a049cdfbf4118ea488de6991918c422b1b diff --git a/net-libs/xrootd/xrootd-5.7.2.ebuild b/net-libs/xrootd/xrootd-5.7.2.ebuild index 8145aad04995..43dd5bf18fcd 100644 --- a/net-libs/xrootd/xrootd-5.7.2.ebuild +++ b/net-libs/xrootd/xrootd-5.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -142,6 +142,19 @@ python_test() { } src_test() { + export CTEST_OUTPUT_ON_FAILURE=1 + + local CMAKE_SKIP_TESTS=( + # bug 937090, these fail on tmpfs, as they require + # a filesystem with extended attributes + XrdCl::LocalFileHandlerTest.XAttrTest + XrdCl::FileTest.XAttrTest + XrdCl::FileCopyTest.ThirdPartyCopyTest + XrdCl::FileCopyTest.NormalCopyTest + XrdCl::FileSystemTest.XAttrTest + XrdCl::WorkflowTest.XAttrWorkflowTest + XrdCl::WorkflowTest.CheckpointTest + ) cmake_src_test # Python tests currently require manual configuration and start-up of an xrootd server. # TODO: get this to run properly. diff --git a/net-libs/xrootd/xrootd-5.7.3.ebuild b/net-libs/xrootd/xrootd-5.7.3.ebuild new file mode 100644 index 000000000000..3c19284b1087 --- /dev/null +++ b/net-libs/xrootd/xrootd-5.7.3.ebuild @@ -0,0 +1,224 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..13} python3_13t ) +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+" + +SLOT="0" +IUSE="ceph examples fuse http kerberos +libxml2 macaroons python readline scitokens +server systemd test xrdec" + +if [[ ${PV} =~ "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xrootd/xrootd.git" +else + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + SRC_URI="https://xrootd.web.cern.ch/download/v${PV}/${P}.tar.gz" +fi + +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + http? ( kerberos ) + macaroons? ( server http ) + python? ( ${PYTHON_REQUIRED_USE} ) + scitokens? ( 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 +" + +# XRootD plugins are not intended to be linked with, +# they are loaded at runtime by the XRootD server. +# See https://github.com/xrootd/xrootd/issues/447 +QA_SONAME="/usr/lib.*/libXrd.*-5\.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") + -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_SERVER_TESTS=$(usex server) + -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() { + export CTEST_OUTPUT_ON_FAILURE=1 + + local CMAKE_SKIP_TESTS=( + # bug 937090, these fail on tmpfs, as they require + # a filesystem with extended attributes + $(usev server ' + XrdCl::LocalFileHandlerTest.XAttrTest + XrdCl::FileTest.XAttrTest + XrdCl::FileCopyTest.ThirdPartyCopyTest + XrdCl::FileCopyTest.NormalCopyTest + XrdCl::FileSystemTest.XAttrTest + XrdCl::WorkflowTest.XAttrWorkflowTest + XrdCl::WorkflowTest.CheckpointTest + ') + # server fails to start due to long path to unix domain socket + $(usev scitokens ' + XRootD::scitokens::setup + XRootD::scitokens::test + XRootD::scitokens::teardown + ') + ) + 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 server && use test; then + rm "${ED}"/usr/bin/xrdshmap || die "Failed to remove test binary ${f} from installed tree" + fi +} diff --git a/net-libs/xrootd/xrootd-9999.ebuild b/net-libs/xrootd/xrootd-9999.ebuild index 0cab5b5e48c7..3c19284b1087 100644 --- a/net-libs/xrootd/xrootd-9999.ebuild +++ b/net-libs/xrootd/xrootd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -147,6 +147,27 @@ python_test() { } src_test() { + export CTEST_OUTPUT_ON_FAILURE=1 + + local CMAKE_SKIP_TESTS=( + # bug 937090, these fail on tmpfs, as they require + # a filesystem with extended attributes + $(usev server ' + XrdCl::LocalFileHandlerTest.XAttrTest + XrdCl::FileTest.XAttrTest + XrdCl::FileCopyTest.ThirdPartyCopyTest + XrdCl::FileCopyTest.NormalCopyTest + XrdCl::FileSystemTest.XAttrTest + XrdCl::WorkflowTest.XAttrWorkflowTest + XrdCl::WorkflowTest.CheckpointTest + ') + # server fails to start due to long path to unix domain socket + $(usev scitokens ' + XRootD::scitokens::setup + XRootD::scitokens::test + XRootD::scitokens::teardown + ') + ) cmake_src_test # Python tests currently require manual configuration and start-up of an xrootd server. # TODO: get this to run properly. @@ -197,8 +218,7 @@ src_install() { fi fi - if use test; then + if use server && use test; then rm "${ED}"/usr/bin/xrdshmap || die "Failed to remove test binary ${f} from installed tree" - rm "${ED}"/usr/$(get_libdir)/libXrd*Test*.so || die "Failed to remove test libraries from installed tree" fi } |