diff options
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 7 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-4.8.3-crc32.patch | 58 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch | 15 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-5.5-system-isa-l.patch | 286 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-5.6.2-authfile.patch | 13 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch | 13 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.5.4-r1.ebuild | 190 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.5.5-r1.ebuild | 210 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.6.3-r1.ebuild | 208 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.6.7.ebuild | 7 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.6.9.ebuild (renamed from net-libs/xrootd/xrootd-5.6.4.ebuild) | 7 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.7.0.ebuild (renamed from net-libs/xrootd/xrootd-5.6.2.ebuild) | 12 |
12 files changed, 12 insertions, 1014 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index bd75f824f6e4..f9c6d0e80d00 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 +DIST xrootd-5.6.9.tar.gz 6701277 BLAKE2B 0086455f251879acf2d635ed0ae533dfa2c3e006798df27111d35599f1833ce1342c9eec1f540f3a165376c91233181420635bae5e1cb4d552681d8cfe36d902 SHA512 9ba15524451ebe7ee12d689f9c56d85508996285d01885236d396b7742ff6cc03036a6b4bd1424b0e1553cbf382c0954c10cec76fa1a99a7dfff330686bad0cd +DIST xrootd-5.7.0.tar.gz 6807467 BLAKE2B c309bf363baddeecd2e6fa0b33f16154a6297a779d2b08bf2a92e44765f92c32917568c2f3aa8961a24f1e6598e521112daba68ec303d01cb1d6e40fc2b31d2a SHA512 2103d453e8d655a19c58beb050158b08f6e36ce5d1a6cc9181881af3cae06938222a00af5cad102d1e2df4408d61ea364e54a0d2d41c71f1f2e07641a618effe diff --git a/net-libs/xrootd/files/xrootd-4.8.3-crc32.patch b/net-libs/xrootd/files/xrootd-4.8.3-crc32.patch deleted file mode 100644 index 9f27c4369880..000000000000 --- a/net-libs/xrootd/files/xrootd-4.8.3-crc32.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 64f81b7fad227097f5e135d25a5574cfecf4d50d Mon Sep 17 00:00:00 2001 -From: Guilherme Amadio <amadio@cern.ch> -Date: Fri, 18 May 2018 11:30:58 +0200 -Subject: [PATCH] Remove declarations of crc32 and adler32 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -These break compilation with the error below: - -xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc: - In function ‘int DoA32(const char*)’: -xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc:418:34: - error: expected initializer before ‘OF’ -ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); - ^^ ---- - src/XrdSsi/XrdSsiShMam.cc | 2 +- - tests/XrdSsiTests/XrdShMap.cc | 3 --- - 2 files changed, 1 insertion(+), 4 deletions(-) - -diff --git a/src/XrdSsi/XrdSsiShMam.cc b/src/XrdSsi/XrdSsiShMam.cc -index 013dc855..a4803d71 100644 ---- a/src/XrdSsi/XrdSsiShMam.cc -+++ b/src/XrdSsi/XrdSsiShMam.cc -@@ -882,7 +882,7 @@ bool XrdSsiShMam::GetItem(void *data, const char *key, int hash) - /******************************************************************************/ - - int XrdSsiShMam::HashVal(const char *key) --{ ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); -+{ - uLong crc; - int hval, klen = strlen(key); - -diff --git a/tests/XrdSsiTests/XrdShMap.cc b/tests/XrdSsiTests/XrdShMap.cc -index bb642ac3..860fa7ad 100644 ---- a/tests/XrdSsiTests/XrdShMap.cc -+++ b/tests/XrdSsiTests/XrdShMap.cc -@@ -415,7 +415,6 @@ void Explain(const char *what) - - int DoA32(const char *buff) - { -- ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); - uLong adler = adler32(0L, Z_NULL, 0); - - // Check for ID request now -@@ -438,8 +437,6 @@ int DoA32(const char *buff) - - int DoC32(const char *buff) - { -- ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); -- - // Check for ID request now - // - if (!buff) {int myID; memcpy(&myID, "c32 ", sizeof(int)); return myID;} --- -2.17.0 - 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 deleted file mode 100644 index 04607cdd7b04..000000000000 --- a/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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.5-system-isa-l.patch b/net-libs/xrootd/files/xrootd-5.5-system-isa-l.patch deleted file mode 100644 index 4ab928aed7bb..000000000000 --- a/net-libs/xrootd/files/xrootd-5.5-system-isa-l.patch +++ /dev/null @@ -1,286 +0,0 @@ -commit fb01136cc18af34447d9438827cc736f720e4c24 -Author: Guilherme Amadio <amadio@cern.ch> -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 -- INTERFACE_LINK_LIBRARIES "" -- LINK_INTERFACE_LIBRARIES "" - VERSION ${XRD_EC_VERSION} - SOVERSION ${XRD_EC_SOVERSION} ) - --add_dependencies( XrdEc isa-l ) -- - #------------------------------------------------------------------------------ - # Install XrdEc library - #------------------------------------------------------------------------------ -diff --git a/src/XrdEc/XrdEcObjCfg.hh b/src/XrdEc/XrdEcObjCfg.hh -index 3978b1c77..24fb99429 100644 ---- a/src/XrdEc/XrdEcObjCfg.hh -+++ b/src/XrdEc/XrdEcObjCfg.hh -@@ -10,7 +10,7 @@ - - #include "XrdOuc/XrdOucCRC32C.hh" - --#include "isa-l/crc.h" -+#include <isa-l/crc.h> - - #include <cstdlib> - #include <string> -diff --git a/src/XrdEc/XrdEcRedundancyProvider.cc b/src/XrdEc/XrdEcRedundancyProvider.cc -index 47f48a431..c41232aee 100644 ---- a/src/XrdEc/XrdEcRedundancyProvider.cc -+++ b/src/XrdEc/XrdEcRedundancyProvider.cc -@@ -15,7 +15,7 @@ - - #include "XrdEc/XrdEcRedundancyProvider.hh" - --#include "isa-l/isa-l.h" -+#include <isa-l.h> - #include <cstring> - #include <sstream> - #include <algorithm> -diff --git a/src/XrdIsal.cmake b/src/XrdIsal.cmake -index fe819f495..f110df69d 100644 ---- a/src/XrdIsal.cmake -+++ b/src/XrdIsal.cmake -@@ -1,57 +1,47 @@ --include( XRootDCommon ) --include( ExternalProject ) -+if(USE_SYSTEM_ISAL) -+ find_package(isal REQUIRED) -+endif() -+ -+if(ISAL_FOUND) -+ return() -+endif() - - #------------------------------------------------------------------------------- - # Build isa-l - #------------------------------------------------------------------------------- - --set(MAKEOPTIONS "") --if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i386" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686") -- set(MAKEOPTIONS "arch=32") --endif() -+include(ExternalProject) -+include(FindPackageHandleStandardArgs) - --#EXECUTE_PROCESS( --# COMMAND git ls-remote --tags https://github.com/01org/isa-l --# COMMAND awk "{print $2}" --# COMMAND grep -v {} --# COMMAND awk -F "/" "{print $3}" --# COMMAND tail -1 --# OUTPUT_VARIABLE ISAL_VERSION --#) -+set(ISAL_VERSION v2.30.0) -+message(STATUS "Building ISAL: ${ISAL_VERSION}") - --set( ISAL_VERSION v2.30.0 ) --MESSAGE( STATUS "Building ISAL: ${ISAL_VERSION}" ) -+set(ISAL_ROOT "${CMAKE_BINARY_DIR}/isa-l") -+set(ISAL_LIBRARY "${ISAL_ROOT}/.libs/libisal.a") -+set(ISAL_INCLUDE_DIRS "${ISAL_ROOT}") - --set( ISAL_BUILDDIR "${CMAKE_BINARY_DIR}/isal/build" CACHE INTERNAL "" ) --set( ISAL_INCDIR "${CMAKE_BINARY_DIR}/isal/include" CACHE INTERNAL "" ) --set( ISAL_LIBDIR "${CMAKE_BINARY_DIR}/isal/lib" CACHE INTERNAL "" ) -- --set( ISAL_HEADERS -- ${ISAL_BUILDDIR}/include/crc64.h -- ${ISAL_BUILDDIR}/include/crc.h -- ${ISAL_BUILDDIR}/include/erasure_code.h -- ${ISAL_BUILDDIR}/include/gf_vect_mul.h -- ${ISAL_BUILDDIR}/include/igzip_lib.h -- ${ISAL_BUILDDIR}/include/mem_routines.h -- ${ISAL_BUILDDIR}/include/multibinary.asm -- ${ISAL_BUILDDIR}/include/raid.h -- ${ISAL_BUILDDIR}/include/reg_sizes.asm -- ${ISAL_BUILDDIR}/include/test.h -- ${ISAL_BUILDDIR}/include/types.h -+ExternalProject_add(isa-l -+ URL https://github.com/intel/isa-l/archive/refs/tags/${ISAL_VERSION}.tar.gz -+ URL_HASH SHA256=bcf592c04fdfa19e723d2adf53d3e0f4efd5b956bb618fed54a1108d76a6eb56 -+ SOURCE_DIR ${CMAKE_BINARY_DIR}/isa-l -+ BUILD_IN_SOURCE 1 -+ CONFIGURE_COMMAND ./autogen.sh COMMAND ./configure --with-pic -+ BUILD_COMMAND make -j ${CMAKE_BUILD_PARALLEL_LEVEL} -+ INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory ${ISAL_ROOT}/include ${ISAL_ROOT}/isa-l -+ BUILD_BYPRODUCTS ${ISAL_LIBRARY} ${ISAL_INCLUDE_DIRS} - ) - --ExternalProject_add( -- isa-l -- SOURCE_DIR ${ISAL_BUILDDIR} -- BUILD_IN_SOURCE 1 -- GIT_REPOSITORY https://github.com/01org/isa-l.git -- GIT_TAG ${ISAL_VERSION} -- CONFIGURE_COMMAND ./autogen.sh COMMAND ./configure --with-pic -- BUILD_COMMAND make ${MAKEOPTIONS} -- INSTALL_COMMAND mkdir -p ${ISAL_INCDIR}/isa-l -- COMMAND mkdir -p ${ISAL_LIBDIR} -- COMMAND cp ${ISAL_HEADERS} ${ISAL_INCDIR}/isa-l -- COMMAND cp ${ISAL_BUILDDIR}/isa-l.h ${ISAL_INCDIR}/isa-l -- COMMAND cp ${ISAL_BUILDDIR}/.libs/libisal.a ${ISAL_LIBDIR}/ -+add_library(isal STATIC IMPORTED) -+ -+set(ISAL_LIBRARIES isal) -+add_dependencies(isal isa-l) -+ -+set_target_properties(isal -+ PROPERTIES -+ IMPORTED_LOCATION "${ISAL_LIBRARY}" -+ INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${ISAL_INCLUDE_DIRS}>" - ) - -+# Emulate what happens when find_package(isal) succeeds -+find_package_handle_standard_args(isal -+ REQUIRED_VARS ISAL_INCLUDE_DIRS ISAL_LIBRARIES VERSION_VAR ISAL_VERSION) - --- -commit f702ed624f9d57fb155ebf9c28b11def766da1da -Author: Guilherme Amadio <amadio@cern.ch> -Date: Fri Nov 11 15:35:15 2022 +0100 - - [CMake] Add a CMake find module for isa-l - -diff --git a/cmake/Findisal.cmake b/cmake/Findisal.cmake -new file mode 100644 -index 000000000..06468f993 ---- /dev/null -+++ b/cmake/Findisal.cmake -@@ -0,0 +1,55 @@ -+#.rst: -+# Findisal -+# --------- -+# -+# Find Intelligent Storage Acceleration Library. -+# -+# Result Variables -+# ^^^^^^^^^^^^^^^^ -+# -+# This module defines the following variables: -+# -+# :: -+# -+# ISAL_FOUND - True if isa-l is found. -+# ISAL_INCLUDE_DIRS - Where to find isa-l.h -+# ISAL_LIBRARIES - Where to find libisal.so -+# -+# :: -+# -+# ISAL_VERSION - The version of ISAL found (x.y.z) -+# ISAL_VERSION_MAJOR - The major version of isa-l -+# ISAL_VERSION_MINOR - The minor version of isa-l -+# ISAL_VERSION_PATCH - The patch version of isa-l -+ -+foreach(var ISAL_FOUND ISAL_INCLUDE_DIR ISAL_ISAL_LIBRARY ISAL_LIBRARIES) -+ unset(${var} CACHE) -+endforeach() -+ -+find_path(ISAL_INCLUDE_DIR NAME isa-l.h PATH_SUFFIXES include) -+ -+if(NOT ISAL_LIBRARY) -+ find_library(ISAL_LIBRARY NAMES isal PATH_SUFFIXES lib) -+endif() -+ -+mark_as_advanced(ISAL_INCLUDE_DIR) -+ -+if(ISAL_INCLUDE_DIR AND EXISTS "${ISAL_INCLUDE_DIR}/isa-l.h") -+ file(STRINGS "${ISAL_INCLUDE_DIR}/isa-l.h" ISAL_H REGEX "^#define ISAL_[A-Z_]+[ ]+[0-9]+.*$") -+ string(REGEX REPLACE ".+ISAL_MAJOR_VERSION[ ]+([0-9]+).*$" "\\1" ISAL_VERSION_MAJOR "${ISAL_H}") -+ string(REGEX REPLACE ".+ISAL_MINOR_VERSION[ ]+([0-9]+).*$" "\\1" ISAL_VERSION_MINOR "${ISAL_H}") -+ string(REGEX REPLACE ".+ISAL_PATCH_VERSION[ ]+([0-9]+).*$" "\\1" ISAL_VERSION_PATCH "${ISAL_H}") -+ set(ISAL_VERSION "${ISAL_VERSION_MAJOR}.${ISAL_VERSION_MINOR}.${ISAL_VERSION_PATCH}") -+endif() -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(isal -+ REQUIRED_VARS ISAL_LIBRARY ISAL_INCLUDE_DIR VERSION_VAR ISAL_VERSION) -+ -+if(ISAL_FOUND) -+ set(ISAL_INCLUDE_DIRS "${ISAL_INCLUDE_DIR}") -+ -+ if(NOT ISAL_LIBRARIES) -+ set(ISAL_LIBRARIES ${ISAL_LIBRARY}) -+ endif() -+endif() diff --git a/net-libs/xrootd/files/xrootd-5.6.2-authfile.patch b/net-libs/xrootd/files/xrootd-5.6.2-authfile.patch deleted file mode 100644 index 190fddef9781..000000000000 --- a/net-libs/xrootd/files/xrootd-5.6.2-authfile.patch +++ /dev/null @@ -1,13 +0,0 @@ -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/files/xrootd-5.6.3-add-pmark-header.patch b/net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch deleted file mode 100644 index 9731e7da16a5..000000000000 --- a/net-libs/xrootd/files/xrootd-5.6.3-add-pmark-header.patch +++ /dev/null @@ -1,13 +0,0 @@ - - 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.5.4-r1.ebuild b/net-libs/xrootd/xrootd-5.5.4-r1.ebuild deleted file mode 100644 index 4857db5da8b7..000000000000 --- a/net-libs/xrootd/xrootd-5.5.4-r1.ebuild +++ /dev/null @@ -1,190 +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" -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 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 - - # 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 - 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)/libXrdClTest*.so || die "Failed to remove test libraries from installed tree" - fi -} 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..000000000000 --- 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 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 - -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() { - pushd "${BUILD_DIR}/tests" > /dev/null || die - # There are more tests but, they require a docker environment with various containers. - # The tests below are the ones which do not require a server to be running. - ./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() { - 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.3-r1.ebuild b/net-libs/xrootd/xrootd-5.6.3-r1.ebuild deleted file mode 100644 index 52f4603174e4..000000000000 --- a/net-libs/xrootd/xrootd-5.6.3-r1.ebuild +++ /dev/null @@ -1,208 +0,0 @@ -# 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 - "${FILESDIR}"/${PN}-5.6.3-add-pmark-header.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 index a1af68ccd6cf..811ec1eac3de 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" +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 )" diff --git a/net-libs/xrootd/xrootd-5.6.4.ebuild b/net-libs/xrootd/xrootd-5.6.9.ebuild index 6c706c0af73c..e8e1fcff1f3d 100644 --- a/net-libs/xrootd/xrootd-5.6.4.ebuild +++ b/net-libs/xrootd/xrootd-5.6.9.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.2.ebuild b/net-libs/xrootd/xrootd-5.7.0.ebuild index baa00445c59b..d4a3879112c0 100644 --- a/net-libs/xrootd/xrootd-5.6.2.ebuild +++ b/net-libs/xrootd/xrootd-5.7.0.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 )" @@ -73,9 +72,7 @@ RDEPEND="${CDEPEND} " PATCHES=( - "${FILESDIR}"/${PN}-4.8.3-crc32.patch "${FILESDIR}"/${PN}-5.4.3-python_tests_py3.patch - "${FILESDIR}"/${PN}-5.6.2-authfile.patch ) # xrootd plugins are not intended to be linked with, @@ -200,9 +197,8 @@ src_install() { fi if use test; then - for f in test-runner xrdshmap; do + for f in 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 } |