Skip to content

Commit

Permalink
CI: Download OpenSSL from GitHub instead of openssl.org
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed Aug 4, 2024
1 parent dfa7158 commit e4418d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/fetch-sources
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ for item in "$@"; do

case "$name" in
openssl)
base_url='https://www.openssl.org/source'
ver=$(scrape_latest_version "$base_url/" "openssl-($ver_regex)\." 'openssl')
url="$base_url/$name-$ver.tar.gz"
tag=$(github_latest_version_tag openssl/openssl 'openssl-([0-9]+\.)+[0-9]+')
ver=$(echo "$tag" | grep -o 'openssl-[0-9].*')
url="https://github.com/openssl/openssl/releases/download/$tag/${name#*/}-$ver.tar.gz"
;;
pcre)
base_url='https://sourceforge.net/projects/pcre'
Expand Down

0 comments on commit e4418d7

Please sign in to comment.