From f3f8b31be54280c6ef0b5f95ab85604aba3dff30 Mon Sep 17 00:00:00 2001 From: iarspider Date: Wed, 7 Dec 2022 21:06:38 +0100 Subject: XRootD: add checksum + patch for 5.5.1 (#34209) * Update package.py * Add full_index to patch URL * Update var/spack/repos/builtin/packages/xrootd/package.py * Restore list_url Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> --- var/spack/repos/builtin/packages/xrootd/package.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/xrootd/package.py b/var/spack/repos/builtin/packages/xrootd/package.py index 6d09fae06c..5267d9b17b 100644 --- a/var/spack/repos/builtin/packages/xrootd/package.py +++ b/var/spack/repos/builtin/packages/xrootd/package.py @@ -12,9 +12,10 @@ class Xrootd(CMakePackage): tolerant access to data repositories of many kinds.""" homepage = "http://xrootd.org" - url = "http://xrootd.org/download/v5.3.1/xrootd-5.3.1.tar.gz" + url = "https://xrootd.slac.stanford.edu/download/v5.5.1/xrootd-5.5.1.tar.gz" list_url = "https://xrootd.slac.stanford.edu/dload.html" + version("5.5.1", sha256="3556d5afcae20ed9a12c89229d515492f6c6f94f829a3d537f5880fcd2fa77e4") version("5.3.2", sha256="e8371fb9e86769bece74b9b9d67cb695023cd6a20a1199386fddd9ed840b0875") version("5.3.1", sha256="7ea3a112ae9d8915eb3a06616141e5a0ee366ce9a5e4d92407b846b37704ee98") version("5.1.0", sha256="c639536f1bdc5b6b365e807f3337ed2d41012cd3df608d40e91ed05f1c568b6d") @@ -81,6 +82,12 @@ class Xrootd(CMakePackage): extends("python", when="+python") patch("python-support.patch", level=1, when="@:4.8+python") + # https://github.com/xrootd/xrootd/pull/1805 + patch( + "https://patch-diff.githubusercontent.com/raw/xrootd/xrootd/pull/1805.patch?full_index=1", + sha256="2655e2d609d80bf9c9ab58557f4f6940408a1af9c686e7aa214ac0348c89c8fa", + when="@5.5.1", + ) # do not use systemd patch("no-systemd.patch") -- cgit v1.2.3-70-g09d2