Skip to content
Snippets Groups Projects
Commit 2670cc04 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

chore: remove https/ftp hack

Change-Id: Ia7b4d4260687c12ece8c854446ebe14101fda13b
parent 3661115d
No related branches found
No related tags found
No related merge requests found
......@@ -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=(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment