summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/Manifest.gzbin30671 -> 30674 bytes
-rw-r--r--net-libs/libktorrent/Manifest2
-rw-r--r--net-libs/libktorrent/libktorrent-24.12.0.ebuild66
-rw-r--r--net-libs/libquotient/Manifest2
-rw-r--r--net-libs/libquotient/libquotient-0.9.0.ebuild53
-rw-r--r--net-libs/xrootd/Manifest1
-rw-r--r--net-libs/xrootd/xrootd-9999.ebuild204
7 files changed, 273 insertions, 55 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index 306bc8215a92..81494cbc9d1b 100644
--- a/net-libs/Manifest.gz
+++ b/net-libs/Manifest.gz
Binary files differ
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index efe759f24a3b..99ccb3543598 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,3 +1,5 @@
DIST libktorrent-24.08.3.tar.xz 605900 BLAKE2B 8b74457f67618616d49524a660b04d9cdccded54e92995f5c4d8a1c407f2ed587e29a613b7b51130cf0716138ce0d9f850b2caeb68d456155fd94aaa9918429b SHA512 0cb5aac161ba7afa4ab9e5f4f2c82ec0b38b6ab587c4f46c6ea277f4b9add72b9eecdbf47b10274400df2ff5508a8696d504ef1488ed16be6092ab01af627d17
+DIST libktorrent-24.12.0.tar.xz 604588 BLAKE2B d1462698e158002fa3ef14fcfbb64d468a9c115e5a9f9191b2be9a292ccbb0290870ad2bfffd409cb9b357d3ed5060036019d8bf46cb0c6c8159e3040c8ba1a4 SHA512 85f64892620274cbd2e9844e17356532e2965c2239eb4f3433f06ca3a418a89b77e7d10e109db573e6dd7f18fd3b7474382da9a67911df12eb151eb9d877433d
EBUILD libktorrent-24.08.3-r1.ebuild 1544 BLAKE2B 50cbfb372b11d250b08a16b3138510f2a51056ce78e292e29a26415a2e93c469f6d8447abd07c97548eaa4733fba6015d218125f04d27a3f957affb625d009f9 SHA512 ccb1482343362fc013ec545f7089952654e3275e0417faf9bb1914ace11a03fd25dc38ab04eca9d28718388ff363c5370a38aa55c99409bf394e5adcb748d7d5
+EBUILD libktorrent-24.12.0.ebuild 1549 BLAKE2B 712c165102498617461dbe61531851a1cc60f1a1f5d735ee90b4ac937bbd1eea27fdef35d7accf2d4814fd0871a3ef431cd5208f58ca298f7669c92b27c33aaf SHA512 2a8494af61403ef1dd34b9691ac484324980ddab4945bcb9f5f65e60ae482f595ddceb1da1bc7c1bf6d438de7999caf000e090afedeca2b58576c2edb0503fa5
MISC metadata.xml 437 BLAKE2B 8ac69481391440cea557fd4f73a0efd8589901947206825d50ed48cc45e30097af0bd313f6e62f5bfb520390c73e0f6702a68986bd204111c56b89dee6cbd4a7 SHA512 7296fdb5183c30a415c039c69a48fab62d79bcc94abc82dfa1ccc7b153861a036b9ae9f56fcc555e6fe735bf9c750da6d1c902761af57cd716f2320fc15a930f
diff --git a/net-libs/libktorrent/libktorrent-24.12.0.ebuild b/net-libs/libktorrent/libktorrent-24.12.0.ebuild
new file mode 100644
index 000000000000..e1af1d58ad59
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-24.12.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent"
+
+LICENSE="GPL-2+"
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="xfs"
+
+COMMON_DEPEND="
+ >=app-crypt/qca-2.3.7:2[qt6(+)]
+ >=dev-libs/gmp-6.0.0a:0=
+ dev-libs/libgcrypt:0=
+ >=dev-qt/qtbase-${QTMIN}:6[network,xml]
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/solid-${KFMIN}:6
+ xfs? ( sys-fs/xfsprogs )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.71
+"
+RDEPEND="${COMMON_DEPEND}
+ !dev-libs/botan[gmp(-)]
+"
+BDEPEND="sys-devel/gettext"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this
+ sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+ CMakeLists.txt || die
+ sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+ KTorrent6Config.cmake.in || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_XFS=$(usex xfs)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # failing network tests
+ local myctestargs=(
+ -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
+ )
+ ecm_src_test
+}
diff --git a/net-libs/libquotient/Manifest b/net-libs/libquotient/Manifest
index dbd693e1e968..eadf258f65ff 100644
--- a/net-libs/libquotient/Manifest
+++ b/net-libs/libquotient/Manifest
@@ -1,9 +1,7 @@
AUX libquotient-0.8.0-no-android.patch 993 BLAKE2B 119a902b67ac0c101a84217e52f3438f83c474322d75b9ccc5fa8a2375bbf55c8910da65b6b7eac645eef840fa69e356343bc78fac88d14582fca395867050f7 SHA512 be757da77733eec67111c5e5f96c6459018aabbe863abdfbc7029e548b75f52f7a2754ee6eb93eaea6d08d7a2978ea9470585192ba95186358b02ec1df9f6f10
AUX libquotient-0.8.0-no-tests.patch 1215 BLAKE2B 4749dfb1b6e2be0f59b83a73092e7b4191458ad7220faefe0db71846d3d5fcbd59eb4adfcf97c0d779bc074fb0ccd1faef8eccfc44e4ad53750f79da6524b7dc SHA512 2923d0cec567378e1ddd9c7a50667a28bb79cdf871ce328b6db1ee0eb457b6c7d1a376b7659cb92f13483c29baa4991f410b3c5c478c881f80443a7eb4003b7f
DIST libquotient-0.8.2.tar.gz 744095 BLAKE2B c33016e4eda22e0a363f06ab4545d17010519b8d778566c1bae29e4c7d6563280f4ce3c1235f7d75f55ce4a8971ef5ce23e45f1d3a0edc043e23857d805a824f SHA512 3d971439f8a89609930ca1648f6cf1bdb59f3ad492af1a15a7f8a13d06c81bd5bfffa1dd732ef5156fab8a9ea2ba3e98376bf76511db17bdeee17641a772b762
-DIST libquotient-0.9.0.tar.gz 771510 BLAKE2B 27e3ac3f8b5cad43a722b805c523bbe6663205fad2a4dfe3a7a1eead67d0a909ba4b6d25398bdde7d005d8935f1dd0c40e00f1038f7604b7f49059a121cc9d9b SHA512 7be9c25f4232ea0640f974db95ed67f5f91caaaa883a81fd14b732df4a0cdc8af0569110d641a246d7c8b021726d3086f75d1df836d3a6e5dff3b82b28a2f50e
DIST libquotient-0.9.1.tar.gz 772882 BLAKE2B f43da0833baa1242f29fb7ed1dd1065b673497d8e2d8358b60d67da0fef8f382ac3fdda8cdc9ed0ac67b5cd423527ef418d0a574fd30e46fe9337214509b1dc2 SHA512 f998b187a1168381c7868400fec73f68ab95af29d1d648921a507fac8782f8c69fd8aab7916466ad9d6b85edadf5168659d7b78a876daa30798891d84afcfa5a
EBUILD libquotient-0.8.2-r1.ebuild 1259 BLAKE2B 2dd080c2123cbf68e5b8f4a47072e28fc922e2fd0f7bedcf3a12ffe43d7bdc395c6dc9a23789bae2f34271f8fcb0a23fa490856fc20f8fb7f06d946db414e4bf SHA512 e693f5ac759fb02cc7628462e0774e22d5f4ef3be0a72c90919a76ca06f59f21967efbf41e2353e95d42f8e416272962b4803e8d9433339e841899292a5e002f
-EBUILD libquotient-0.9.0.ebuild 1185 BLAKE2B 6abed1236d0ea10df95d8262dfe5aa5b64f44f5bb94091805af409d0fd87a62d3587da292aa099e238719df4d8a48d6a5fbac4c7fa01022e77e3a67b760ef144 SHA512 7777eb41e4f460f100251cfc5d9133d07e850ded7241c4439def90f18459f7ffd669e62057dd6d7923e1cb87c485bb0625f7ad8557f1b91ec991ca44ffe73d53
EBUILD libquotient-0.9.1.ebuild 1185 BLAKE2B 6abed1236d0ea10df95d8262dfe5aa5b64f44f5bb94091805af409d0fd87a62d3587da292aa099e238719df4d8a48d6a5fbac4c7fa01022e77e3a67b760ef144 SHA512 7777eb41e4f460f100251cfc5d9133d07e850ded7241c4439def90f18459f7ffd669e62057dd6d7923e1cb87c485bb0625f7ad8557f1b91ec991ca44ffe73d53
MISC metadata.xml 338 BLAKE2B 84af57de6f4faeb65a9a9bd272a29e6cb4491e8eff3d79c4704566baa4af7cfa2f9c6c14a52a0a44e8751848b9e89f30807a6d0c304eb28d8b2cb9f43f0b37c5 SHA512 f93f27e29f09f8e6e6c0038a403990260c8998213c8248c2acbfc1f7e76faa07c296d4b30214c746f30d42b37d636be92720e692280098d4d72d3d542b5004aa
diff --git a/net-libs/libquotient/libquotient-0.9.0.ebuild b/net-libs/libquotient/libquotient-0.9.0.ebuild
deleted file mode 100644
index 92551379487e..000000000000
--- a/net-libs/libquotient/libquotient-0.9.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Qt-based SDK to develop applications for Matrix"
-HOMEPAGE="https://github.com/quotient-im/libQuotient"
-SRC_URI="https://github.com/quotient-im/libQuotient/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/libQuotient-${PV}"
-
-LICENSE="LGPL-2+"
-SLOT="0/${PV}" # FIXME: check soname on next version bump
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/olm
- dev-libs/openssl:=
- >=dev-libs/qtkeychain-0.14.2:=[qt6(+)]
- >=dev-qt/qtbase-6.4:6=[gui,network,sql,ssl]
- >=dev-qt/qtmultimedia-6.4:6
-"
-DEPEND="${RDEPEND}
- test? ( >=dev-qt/qtbase-6.4:6[concurrent] )
-"
-
-# downstream patch
-PATCHES=( "${FILESDIR}"/${PN}-0.8.0-no-android.patch )
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
- )
-
- use test && mycmakeargs+=(
- -DQuotient_INSTALL_TESTS=OFF
- )
- cmake_src_configure
-}
-
-src_test() {
- # https://github.com/quotient-im/libQuotient/issues/435
- # testolmaccount requires network connection/server set up
- local myctestargs=(
- -j1
- -E "(testolmaccount)"
- )
- cmake_src_test
-}
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index d0e451335154..cf4f97b8a346 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -10,4 +10,5 @@ DIST xrootd-5.7.2.tar.gz 6826940 BLAKE2B 4f2c6cc945c0c7706671a9bcfc9f2ffa5d28d82
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
MISC metadata.xml 1517 BLAKE2B a41f7e485316d636e61611a248b720da1d7d4a66a7faf731d96a299c6dd2c53f20b3ac077c6fbea209b6ff862067d1e32f68a121f9e9edcfe2afdbb30320c733 SHA512 07eb7d082a7a0fd97898a89fa130433ba507d70921de1b700904707bebea566efaefbf2044db2a97a0f931dccc3486a049cdfbf4118ea488de6991918c422b1b
diff --git a/net-libs/xrootd/xrootd-9999.ebuild b/net-libs/xrootd/xrootd-9999.ebuild
new file mode 100644
index 000000000000..0cab5b5e48c7
--- /dev/null
+++ b/net-libs/xrootd/xrootd-9999.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2024 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() {
+ 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
+ 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
+}