From a03b2fe2d845ae950995bf1c5255da420cbd92d2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 6 Feb 2024 11:42:16 +0000 Subject: gentoo auto-resync : 06:02:2024 - 11:42:15 --- net-libs/Manifest.gz | Bin 31814 -> 31802 bytes net-libs/ldns/Manifest | 9 +- net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch | 101 ++++++++++++ net-libs/ldns/ldns-1.8.0-r4.ebuild | 114 ------------- net-libs/ldns/ldns-1.8.1.ebuild | 87 ---------- net-libs/ldns/ldns-1.8.3-r2.ebuild | 91 +++++++++++ net-libs/ldns/ldns-1.8.3.ebuild | 90 ----------- net-libs/ldns/metadata.xml | 7 - net-libs/libtirpc/Manifest | 2 +- net-libs/libtirpc/libtirpc-1.3.4-r1.ebuild | 2 +- net-libs/xrootd/Manifest | 4 +- net-libs/xrootd/xrootd-5.6.6.ebuild | 206 ------------------------ net-libs/xrootd/xrootd-5.6.7.ebuild | 206 ++++++++++++++++++++++++ 13 files changed, 405 insertions(+), 514 deletions(-) create mode 100644 net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch delete mode 100644 net-libs/ldns/ldns-1.8.0-r4.ebuild delete mode 100644 net-libs/ldns/ldns-1.8.1.ebuild create mode 100644 net-libs/ldns/ldns-1.8.3-r2.ebuild delete mode 100644 net-libs/ldns/ldns-1.8.3.ebuild delete mode 100644 net-libs/xrootd/xrootd-5.6.6.ebuild create mode 100644 net-libs/xrootd/xrootd-5.6.7.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index 3add504fda69..fd40cf38490a 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest index 283a78e16901..6a94e675d995 100644 --- a/net-libs/ldns/Manifest +++ b/net-libs/ldns/Manifest @@ -1,11 +1,8 @@ AUX ldns-1.8.1-pkgconfig.patch 273 BLAKE2B 8605665fa76e2493efa4d773742e84a7b1df81cec4b8695a00c3eb4e10b915b4fd4d483f40fa61d14f7303d7f344e3602daecad42491c4de81a9bb0a03e4f896 SHA512 017e0ba07ab348a809852f567ad6c9fc5c0dd3ede9fcc24c53da96d2bfaa2e8e5662eb566818813c19ee19799c4ad6b11e8f5007d1f1fac8b5eb3b05424ec5a0 AUX ldns-1.8.3-configure-strict.patch 3873 BLAKE2B bf4ae24f786a34e43833d1ce1b7650db32f49ce272340c26887d920b20a5a951a5e4ee1a1d8e8efea96e60ae1e009f7261402fc59a6283dba893182782c0fd14 SHA512 a6bd3fc5a38ad7d0cd95cea36f61ff3e40978c953aa723f769442e43aa829ca8787f33ad086254af391b1b68a99402a61dcbcb3f9e86c8c17357a88ce0f082f5 AUX ldns-1.8.3-docs.patch 3940 BLAKE2B bf0823b32dcf5935fdccee131aa52f597a229c8df9575e3018cc733eba050c56ebc79049d064775fc599ca28e92ee5da67d784209faf8a9d30ebd72586cc1b7e SHA512 88ea628be7bd188e7ed95a5d41f8ca39d1e8d576bfd5ea59cdb3f1f4319fbb435889e50aa150a50ef8ee4a4e572d2352432aab50832769b6729ad588e7b67c86 -DIST ldns-1.8.0.tar.gz 1283220 BLAKE2B f916a8c76d788ac7c52aea8bfe675ad4c614a0c6fb011b61f5a27d4a5dc1a2adb33b5c6992b4813b3758c9b7cceab1c77f8c1d66baaa4de993f23888bce69df1 SHA512 54b306160bb7fd76d181f4be0a13134017f6f98ae96e0c954409f31f262e9dbe611c4b76fb6dff47bb6155c652ed8d026b52a50dfcf611e54d9c204b314c4fd6 -DIST ldns-1.8.1.tar.gz 1284971 BLAKE2B ae01ef32571fe3996ddd41f911815239abb704ea1dee479fa612bfd701ca369222ab709923f014662248988cb4452a75bc5debad47d2b0386dc59169b353e6a3 SHA512 600f8e221716742caf439a425008827aef1814fc1d9e751f8f492d0235ff45ca48df90abba17979bac9f4485947bb9fe8102924d9cebe6cb56d5b788e1c4bd14 +AUX ldns-1.8.3-swig-4.2.0.patch 2935 BLAKE2B 15626ba3f3835bc9e3f86a639177eb6ceb8acb23cccd273dab771f7a5faad72312585da0360d19da0bc62440bbc930279ae56a26d9f2d66d4a6d070e0071d066 SHA512 3de12a7524e0c090a4f5d5e9a6770de811eadd9ac492b674ccd706cd826d13f1adf5c1b4474a11ba1d449562fed34b27ad4800e43da09d3c74ae267dc4a01e82 DIST ldns-1.8.3.tar.gz 1299856 BLAKE2B 2250445da3beec76c96fbb5cbc00f8d6a5bb6ed5867da7f23511d46ac73d6101303eb6ad85def426b7f9287f6a629a95117bcfa6eb46b775d07ed84048162c7f SHA512 c318747bd975ade389d048680b80495fb083b46507d8dcea7d4d42c75823f56a35b438dcc5320803d39583e5a1e515a51686f7f9010c061a6e8199e1a5505ae9 -EBUILD ldns-1.8.0-r4.ebuild 2971 BLAKE2B d2b95b97029f2aa651c2686fbe880fcf78ee1bca76065da6c6b215fa89d6fe0c6c31face129a85ff60669c9baaf2d578f0f9485642ea1c6d8dd15df3ed8d593e SHA512 624610ce9274dcb8ed81e4645d4571af67bce77f623245fc0c212c395d58762b3e091b2532ecf51db96716fea94799a04e4c026a2cbe86c2040c37cd48cf673a -EBUILD ldns-1.8.1.ebuild 1843 BLAKE2B e8a701f4a4b3928fa7df6018bd263a0fe64184278badfb640f87ef2e1b5f4c1a2449866080f5849561429fe0164db103d014c9d6a2295d37502584bee4564d4d SHA512 0a76c332c61e0adc75d556714fec3ce7cc1ed2f43832a8bb373463b7c4e6e99a4825c6743a58e8a6acc35d2b367d3263e81583da381e0e7d9b1be13c7ec8dfa4 EBUILD ldns-1.8.3-r1.ebuild 1943 BLAKE2B d37692bced21132fb8da0c52219641fe340a10bc8e63c1e756fa04765fb6fa5bc621973f029c3c291bc296daec6e322ea0dc33896e59dd0f324ddbeae6f31b16 SHA512 7a612d4b5a1dbbb833059529905b94ec272f0bde71fe60295ab54a52be37f17909fcaa5e0752de6f5e453ef568c07cda32d4bfa453caaecfad55f9068dc793c5 -EBUILD ldns-1.8.3.ebuild 1950 BLAKE2B 84a5d557237f3125a7a20962e3c80b5c4a10656318e8e0ef32e9ec6ac404cbcc7d10d0b8b22950743a8fa7a37a364123d99a24d0bbaba2caae3af134c08d7a35 SHA512 0c116e51495bc8e54869e38da1a9e5865f32ebc0fd377873ae1acb62f8efac873554240ba68168eda0c9c5dc3b90877a1bce2f3995c96daa468fa4dfae103b3d -MISC metadata.xml 933 BLAKE2B 4382e8d75f379211e781a0309b483105cbdba740cbd473b29d6b892351d3a5d270487c759ba7a1f5bcad448222cb1c24ef8257cd089c54ce9df0523ff708888a SHA512 395c02c568874e3d22434431f5e72dd98a647455ec0587723cb447c4d5a2fb468256bb35aff2c74b8255203d21f4d844f5a4ad426037eeb907d67ffedeb6d74e +EBUILD ldns-1.8.3-r2.ebuild 1996 BLAKE2B e5dbca6c36a8a230a51482b1c1b7db3b25d27ab51416fb9350d8d8d61fedbc299289c36b3415c9238e386f16b4fc8ff640367f03554d945bfce9a2fd81eae32f SHA512 976894604aed6d47baabceed8a0185312daa589ce9ec7b433dff899462b181fdc6120c4cef490e03c78ca445cb3ba51d43d1dd92d5c34bb885f23437c6b369b0 +MISC metadata.xml 616 BLAKE2B 17f79a6324d889cc626bb3fceef622a45f112587618bad54422503d7a43914c46a03563f5e0b8d9d170e25c2e77666325607e485d421853359cbae13e7f00b34 SHA512 a764ec840b5dc9cc90c5952b93e2e226914c9eaca52f18f0c4f4d7d128bd1b2bc1eea9e699720d37b2c041fb6b01e0b298ac7f000ed72f0a7e0e2dce733febff diff --git a/net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch b/net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch new file mode 100644 index 000000000000..8165371d53bb --- /dev/null +++ b/net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch @@ -0,0 +1,101 @@ +https://bugs.gentoo.org/921302 +https://github.com/NLnetLabs/ldns/pull/232 +https://github.com/NLnetLabs/ldns/pull/233 + +From daf38095763f758c77be538da25c267dc5cb73c8 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Fri, 26 Jan 2024 11:30:39 +0100 +Subject: [PATCH] SWIG_Python_str_AsChar removal in SWIG 4.2.0 + +The replacement, SWIG_PyUnicode_AsUTF8AndSize, has different +memory management requirements. +--- + contrib/python/ldns_rdf.i | 21 +++++++++++++++++++-- + 1 file changed, 19 insertions(+), 2 deletions(-) + +diff --git a/contrib/python/ldns_rdf.i b/contrib/python/ldns_rdf.i +index 5d7448fd..60daf1a7 100644 +--- a/contrib/python/ldns_rdf.i ++++ b/contrib/python/ldns_rdf.i +@@ -56,7 +56,11 @@ + */ + %typemap(arginit, noblock=1) const ldns_rdf * + { ++#if SWIG_VERSION >= 0x040200 ++ PyObject *$1_bytes = NULL; ++#else + char *$1_str = NULL; ++#endif + } + + /* +@@ -66,11 +70,17 @@ + %typemap(in, noblock=1) const ldns_rdf * (void* argp, $1_ltype tmp = 0, int res) + { + if (Python_str_Check($input)) { ++ const char *argstr; ++#if SWIG_VERSION >= 0x040200 ++ argstr = SWIG_PyUnicode_AsUTF8AndSize($input, NULL, &$1_bytes); ++#else + $1_str = SWIG_Python_str_AsChar($input); +- if ($1_str == NULL) { ++ argstr = $1_str; ++#endif ++ if (argstr == NULL) { + %argument_fail(SWIG_TypeError, "char *", $symname, $argnum); + } +- tmp = ldns_dname_new_frm_str($1_str); ++ tmp = ldns_dname_new_frm_str(argstr); + if (tmp == NULL) { + %argument_fail(SWIG_TypeError, "char *", $symname, $argnum); + } +@@ -90,10 +100,17 @@ + */ + %typemap(freearg, noblock=1) const ldns_rdf * + { ++#if SWIG_VERSION >= 0x040200 ++ if ($1_bytes != NULL) { ++ /* Is not NULL only when a conversion form string occurred. */ ++ Py_XDECREF($1_bytes); ++ } ++#else + if ($1_str != NULL) { + /* Is not NULL only when a conversion form string occurred. */ + SWIG_Python_str_DelForPy3($1_str); /* Is a empty macro for Python < 3. */ + } ++#endif + } + + %nodefaultctor ldns_struct_rdf; /* No default constructor. */ + +From f91f61e10be595a6a46845112aaed7da24551bf9 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Fri, 26 Jan 2024 11:57:03 +0100 +Subject: [PATCH] 32-bit compatibility for Python SWIG bindings + +The ssize_t type can be int instead of long, and the pointer +types are incompatible. +--- + contrib/python/ldns.i | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/contrib/python/ldns.i b/contrib/python/ldns.i +index 881ba5e85..b4a740820 100644 +--- a/contrib/python/ldns.i ++++ b/contrib/python/ldns.i +@@ -99,12 +99,14 @@ + %typemap(in, noblock=1) (ssize_t) + { + int $1_res = 0; +- $1_res = SWIG_AsVal_long($input, &$1); ++ long val; ++ $1_res = SWIG_AsVal_long($input, &val); + if (!SWIG_IsOK($1_res)) { + SWIG_exception_fail(SWIG_ArgError($1_res), "in method '" + "$symname" "', argument " "$argnum" " of type '" + "$type""'"); + } ++ $1 = val; + } + + diff --git a/net-libs/ldns/ldns-1.8.0-r4.ebuild b/net-libs/ldns/ldns-1.8.0-r4.ebuild deleted file mode 100644 index d1d069aba919..000000000000 --- a/net-libs/ldns/ldns-1.8.0-r4.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{9,10} ) -inherit python-single-r1 autotools multilib-minimal - -DESCRIPTION="A library with the aim to simplify DNS programming in C" -HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" -SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+dane doc +ecdsa ed25519 ed448 examples gost python static-libs vim-syntax" - -# configure will die if ecdsa is enabled and ssl is not -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMON_DEPEND=" - python? ( ${PYTHON_DEPS} ) - >=dev-libs/openssl-1.0.1e:0=[${MULTILIB_USEDEP}] - examples? ( net-libs/libpcap ) -" -DEPEND="${COMMON_DEPEND} - python? ( dev-lang/swig ) - doc? ( app-text/doxygen ) -" -RDEPEND="${COMMON_DEPEND} - !=openssl-1.1.0 required for dane-ta - if has_version " - - Enable DNS-based Authentication of Named Entities (DANE) support - Enable ECDSA support - Enable ED25519 support - Enable ED448 support - Enable GOST support - NLnetLabs/ldns diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest index d32632ff1a62..581e07cce99b 100644 --- a/net-libs/libtirpc/Manifest +++ b/net-libs/libtirpc/Manifest @@ -3,6 +3,6 @@ DIST libtirpc-1.3.3.tar.bz2 562812 BLAKE2B e229869b05103d912b677f78648dce1f7fa76 DIST libtirpc-1.3.4.tar.bz2 563292 BLAKE2B 33371e83e9f54e9d6d434b75d3a95bedefce63050846483471e302b1fbb3b63a18db90b652050c43e1c6e42b03e34bafb2fb6ae89787f05af0cf747319825424 SHA512 004e61b5853717324790c46cda5ff227d525909f189194ae72a1ec8f476ca35d7f4c1f03c0fbc690c1696d60a212675b09246dbe627fdbf1a9a47f5664e82b00 DIST libtirpc-glibc-nfs.tar.xz 8948 BLAKE2B 7316623d9f2b6928e296137fe2bf6794b208d549c2ffba9e4a35b47f7b04bf023798a09f38c02d039debf6adc466d7689cf3c8274d71a22eaff08729642c0a28 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba EBUILD libtirpc-1.3.3.ebuild 1876 BLAKE2B a7c43b9aa8f21bfdb9027ecba79d820707cb5e0ac11e6a3c468e8b719ffaedfee0b3c30cb3019cb53047d53dac07cdeb5ac243d4d9aa3e5d9d557fea480f6cfd SHA512 400edb880e669a5267228e40abc275925ca92c6a34b3dc1524f8177668d330bbeae0df3c8943c11e454976fd505cd9e960118c94db048335160dc9e3ad6fc960 -EBUILD libtirpc-1.3.4-r1.ebuild 1619 BLAKE2B e33d072fdc42f3372c6b213c1e24a98247844a76ca605ce55fcd58f8f0b16ee9cd6362fe23d8685337cae04f3f25b28c8868cb8057439bdab293540fbbbebe1c SHA512 0abb40aa85b2fb6751096f6e40ee3f6def4517586278be26944c538f98ca347bd23c7d30deb0cdcf34f0c3effe5cffdfb0ca15a51a9ef75a60f65ae19255b660 +EBUILD libtirpc-1.3.4-r1.ebuild 1612 BLAKE2B de8c809bde1669d0cdaf9703b5925825e2769f2b8920e85072ad8c27b06f66bf86cfaff696e5c61b9fadf0627fc2cb73e088448a790ea96ef8329799798f97a6 SHA512 bcf2fdc4a3834ed0b02c6a60f465012ff1f2b8f84c24da453def223209e06559ea4dc2fbe7b59a2aadf45f8c66f8216fecd75ff13a4a7e7bb0e67d4026eb3790 EBUILD libtirpc-1.3.4.ebuild 1828 BLAKE2B b4fee49e97ccf2d8c7f3cbad073b1588e20f06878192ad6f17185d00cb339f59e6e5185ce3367d21155a3dc2b94bfb36e74b09bc8891192e01241a9326c9d633 SHA512 a8b986563663f4814c2f156b711acbfc039b56850ddea7e0a4a650498a328547ce396a3a19223ccf773fac2f9ed6e08c53c5884b9fd79c3ab51e99b7dca47eb4 MISC metadata.xml 405 BLAKE2B 3006391cb2dac9927f450164f2705d31c35172560ddb436edb76f6c56efc2915a63d57e5be8835801b3b4bbe77526cdaf681b49c4fa43285549b7f0707af4814 SHA512 63489cba710ba40c334508406bf10c28ddc2133cd3eab86afde1670e3d4bb126d0e77abb45c99fd7b6abd438a9e7cc5a10b6742563be51601c7945c87419c928 diff --git a/net-libs/libtirpc/libtirpc-1.3.4-r1.ebuild b/net-libs/libtirpc/libtirpc-1.3.4-r1.ebuild index 8942db187989..b3df2631d4bd 100644 --- a/net-libs/libtirpc/libtirpc-1.3.4-r1.ebuild +++ b/net-libs/libtirpc/libtirpc-1.3.4-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI=" LICENSE="BSD BSD-2 BSD-4 LGPL-2.1+" SLOT="0/3" # subslot matches SONAME major -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="kerberos static-libs" RDEPEND="kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )" diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index bddece4e1507..818903afdc89 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -14,11 +14,11 @@ 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 EBUILD xrootd-5.5.4-r1.ebuild 4746 BLAKE2B 5cfbe7356851b74425a46ab3d1c591c850c7f2da41ba81c8986da8c7bc9d6c847d28711e6c20137b6d71f84b02cf3d12753c8d25fec76723aea001e9232fd4bd SHA512 dafc868aa612174b9fe080ed7897afe030c72b5f2dd40467812db64667d5473740a61fb095e6d70764245f54ff9ba9787c8fd5bb7505eb46915ce6fb01f518eb EBUILD xrootd-5.5.5-r1.ebuild 5304 BLAKE2B 73260c8b04723a4b9703158b5ae4c7bddd5c993cb37edde61403a93dc455c794696c655d9ece0ddb80b50f960a7eff1ebc37d7e225c3a3067418b1270c597197 SHA512 3e5e7bbdaea81ad0d114856e4288c1a97519e7c88358ccbbae78f15d2a724f016b54a0706d51ddadac966fb3a8b5e44f973d6178dfacad5f10a134d16d1070cc EBUILD xrootd-5.6.2.ebuild 4862 BLAKE2B a5440552a8dc1c3fc13ac583962fc14166a3bb46a937f01f85ceadc488dac412de9fa4571c6f45c04f07f307a43d5c8ee4b9757ce867f569a422b9db1d3c7006 SHA512 f11c37bfe1ef915aee79cff2b5cc385f8acc4eedfe5eea38ed8815880f04e41ff734f010fb425734a33a0cdabafa9c330983a9dacf74f581f1a40707999c9e25 EBUILD xrootd-5.6.3-r1.ebuild 4870 BLAKE2B c9970f477da4506b0cf8cab29706a33142c16620ebd96aa764b592683d6c1fff524dfe7fbefe68eaada23d57eb829772c3c318263e4cad83d045c47672d85f0b SHA512 50c7213e0bf171ccc1fd83204578e997a4e6d36f2cb6607d153e85f87f873b16a56d65e8c45e76c587129eb6f4dbe5b2b8cfb83c401e2d5ea0e9729f73a6a9fb EBUILD xrootd-5.6.4.ebuild 4781 BLAKE2B b178da03d35ea7666555f63a47b4fe2566d24e67fd2abcbcaf8a74fde2fccd9725deae7c1c6ceb398aca7ef67ec2d699c8e2f3268a7a2d28200a7541992f7f18 SHA512 e5b0695360389f526b8ade88d3d93186c841aa98da800ed9ac6864cfa8a93e5e339a13a5324e86e73bce4ef28bc38b69aab33490802ef6bd8b4a406c77779b24 -EBUILD xrootd-5.6.6.ebuild 4781 BLAKE2B b9078439746dbadd6da421e6b57f9e93249225ca91530c216262b23ff2dbf15497e30ad8633f296f92b0eaf5b4a2d8ab6cc4f0d768f638563d7a011ffad4e9e9 SHA512 79d570ad0cac34fed83a0e0a113fb533f90dd36b10f2c626556c8e8114990bd3ad2ba5ae85a681194030dd023997ea6b1121198850ac476d951eba8359d6179f +EBUILD xrootd-5.6.7.ebuild 4781 BLAKE2B b9078439746dbadd6da421e6b57f9e93249225ca91530c216262b23ff2dbf15497e30ad8633f296f92b0eaf5b4a2d8ab6cc4f0d768f638563d7a011ffad4e9e9 SHA512 79d570ad0cac34fed83a0e0a113fb533f90dd36b10f2c626556c8e8114990bd3ad2ba5ae85a681194030dd023997ea6b1121198850ac476d951eba8359d6179f MISC metadata.xml 1517 BLAKE2B a41f7e485316d636e61611a248b720da1d7d4a66a7faf731d96a299c6dd2c53f20b3ac077c6fbea209b6ff862067d1e32f68a121f9e9edcfe2afdbb30320c733 SHA512 07eb7d082a7a0fd97898a89fa130433ba507d70921de1b700904707bebea566efaefbf2044db2a97a0f931dccc3486a049cdfbf4118ea488de6991918c422b1b diff --git a/net-libs/xrootd/xrootd-5.6.6.ebuild b/net-libs/xrootd/xrootd-5.6.6.ebuild deleted file mode 100644 index a1af68ccd6cf..000000000000 --- a/net-libs/xrootd/xrootd-5.6.6.ebuild +++ /dev/null @@ -1,206 +0,0 @@ -# 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) - -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 -} diff --git a/net-libs/xrootd/xrootd-5.6.7.ebuild b/net-libs/xrootd/xrootd-5.6.7.ebuild new file mode 100644 index 000000000000..a1af68ccd6cf --- /dev/null +++ b/net-libs/xrootd/xrootd-5.6.7.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) + -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 +} -- cgit v1.2.3