From 2670cc0460e53c653f6d8240c49bf9ed46dc90aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de> Date: Wed, 14 Aug 2024 12:05:24 +0200 Subject: [PATCH] chore: remove https/ftp hack Change-Id: Ia7b4d4260687c12ece8c854446ebe14101fda13b --- lib/yashchiki/fetch.sh | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/lib/yashchiki/fetch.sh b/lib/yashchiki/fetch.sh index e06fdf03..9c6c7fe1 100755 --- a/lib/yashchiki/fetch.sh +++ b/lib/yashchiki/fetch.sh @@ -140,29 +140,6 @@ if (( $(cat "${tmpfiles_concretize_err[@]}" | wc -l) > 0 )); then fi fi -# --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- -#################### -# WORKAROUND START # -#################### -# Switch to http for ftpmirror.gnu.org - -# The https-version of ftpmirror.gnu.org sometimes redirects to old -# servers that have no secure (according to curl) SSL versions available, -# leading to the following error: - -# ``` -# curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol -# ``` - -# Since we are downloading public software and can verify its contents via -# hashes, there is no benefit of using https -> fall back to http. - -find "${MY_SPACK_FOLDER}/var/spack/repos" -type f -print0 \ - | xargs -0 sed -i "s|https://ftpmirror.gnu.org|http://ftpmirror.gnu.org|g" -################## -# WORKAROUND END # -################## -# --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- # now fetch everything that is needed in order packages_to_fetch=( -- GitLab