summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build.subr4
-rw-r--r--build.vars2
2 files changed, 1 insertions, 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};