From 90359f23a8cf1a998b2692a14de1058e309007a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 10 Jun 2016 18:25:09 +0000 Subject: Followup to <02dfe37d917ebb0d4b8476ccf37081bdf7eeb31a>: - Remove SourceForge support in fetch(). - Download zsh-5.2.tar.xz from a non-SF mirror. --- build.subr | 4 ---- build.vars | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/build.subr b/build.subr index d4fed1bd..5093b3e0 100644 --- a/build.subr +++ b/build.subr @@ -181,10 +181,6 @@ fetch() { _f_url="${1}"; _f_sha256sum_src="${2}"; _f_url_dst="$(get_basename "${_f_url}")"; rm_if_exists ${_f_url_dst}; - if match_any "${_f_url}" "/downloads.sourceforge.net/" ; then - _f_url="$(wget ${WGET_ARGS} "${_f_url}" -qO- |\ - sed -n '/class="direct-download"/s,^.*href="\([^"]\+\)".*$,\1,p')"; - fi; wget ${WGET_ARGS} -O ${_f_url_dst} "${_f_url}"; if [ -n "${_f_sha256sum_src}" ]; then _f_sha256sum_dst="$(compare_hash ${_f_url_dst} ${_f_sha256sum_src})"; diff --git a/build.vars b/build.vars index 2dd8a2bb..32e9791e 100644 --- a/build.vars +++ b/build.vars @@ -335,7 +335,7 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; : ${PKG_XZ_LIBFILES_FIX:=1}; : ${PKG_ZSH_VERSION:=5.2}; : ${PKG_ZSH_SHA256SUM:=f17916320ffaa844bbd7ce48ceeb5945fc5f3eff64b149b4229bbfbdf3795a9d}; -: ${PKG_ZSH_URL:="http://downloads.sourceforge.net/project/zsh/zsh/${PKG_ZSH_VERSION}/zsh-${PKG_ZSH_VERSION}.tar.xz"}; +: ${PKG_ZSH_URL:="https://fourdots.com/mirror/zsh/zsh-${PKG_ZSH_VERSION}.tar.xz"}; : ${PKG_ZSH_FNAME:=zsh-${PKG_ZSH_VERSION}.tar.xz}; : ${PKG_DALIST_URL:=${GITROOT_HEAD}/dalist}; -- cgit v1.2.3