diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-10 18:25:09 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-10 18:25:09 +0000 |
commit | 90359f23a8cf1a998b2692a14de1058e309007a8 (patch) | |
tree | 8edac57b5131c0eedb2ab5315c7b00acd8cb23d9 | |
parent | d01de9cc432a1ce405a57de53e2d5d0bf1df32e0 (diff) | |
download | midipix_build-90359f23a8cf1a998b2692a14de1058e309007a8.tar.bz2 midipix_build-90359f23a8cf1a998b2692a14de1058e309007a8.tar.xz |
Followup to <02dfe37d917ebb0d4b8476ccf37081bdf7eeb31a>:
- Remove SourceForge support in fetch().
- Download zsh-5.2.tar.xz from a non-SF mirror.
-rw-r--r-- | build.subr | 4 | ||||
-rw-r--r-- | build.vars | 2 |
2 files changed, 1 insertions, 5 deletions
@@ -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})"; @@ -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}; |