Update URLs

This commit is contained in:
zenith432 2018-06-15 20:47:17 +00:00
parent e702e99b8d
commit ef404c007c
5 changed files with 12 additions and 12 deletions

View File

@ -22,7 +22,7 @@ if [[ "$(uname)" == Darwin ]] && [[ ! -x "$TOOLCHAIN_DIR"/cross/bin/x86_64-clove
echo -n b
fi
echo "uilding it"
./build_gcc6.sh
./build_gcc8.sh
echo "Continuing..."
fi
@ -31,9 +31,9 @@ fi
# here we can change source versions of tools
# Always use current Version when building, will auto compile newest STABLE version.
#
nasmcheck=$(curl -Is http://downuptime.net/nasm.us.html | grep HTTP | cut -d ' ' -f2)
nasmcheck=$(curl -Is https://downuptime.net/nasm.us.html | grep HTTP | cut -d ' ' -f2)
if [ "$nasmcheck" == 200 ]; then
nasmVersInfo=$(curl -s -f http://www.nasm.us | grep "/releasebuilds/")
nasmVersInfo=$(curl -s -f https://www.nasm.us | grep "/releasebuilds/")
if [ "${nasmVersInfo:158:1}" == "." ]; then
verLen=7
else
@ -49,7 +49,7 @@ fi
# here we can change source versions of tools
# Always use current Version when building, will auto compile newest STABLE version.
#
acpicacheck=$(curl -Is http://downuptime.net/acpica.us.html | grep HTTP | cut -d ' ' -f2)
acpicacheck=$(curl -Is https://downuptime.net/acpica.us.html | grep HTTP | cut -d ' ' -f2)
if [ $acpicacheck == 200 ]; then
acpicaVersInfo=$(curl -s -f https://acpica.org/downloads/ | grep 'The current release of ACPICA is version <strong>')
export acpicaVers="${acpicaVersInfo:191:8}"
@ -191,10 +191,10 @@ if [ ! -f ${PREFIX}/bin/iasl ]; then
echo
fi
cd ${DIR_DOWNLOADS}
tarball="nasm-${NASM_VERSION}.tar.bz2"
tarball="nasm-${NASM_VERSION}.tar.xz"
if [[ ! -f "$tarball" ]]; then
echoc "Status: $tarball not found." red
curl -f -o download.tmp --remote-name http://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/$tarball || exit 1
curl -f -o download.tmp --remote-name https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/$tarball || exit 1
mv download.tmp $tarball
fi

View File

@ -257,7 +257,7 @@ CompileLibs () {
rm -rf "${DIR_BUILD}/$ARCH-mpfr"
mkdir -p "${DIR_BUILD}/$ARCH-mpfr" && cd "${DIR_BUILD}/$ARCH-mpfr"
curl -L http://www.mpfr.org/${MPFR_VERSION}/allpatches | patch -N -Z -p1 --directory="${MPFR_DIR}"
curl -L https://www.mpfr.org/${MPFR_VERSION}/allpatches | patch -N -Z -p1 --directory="${MPFR_DIR}"
echo "- ${MPFR_VERSION} configure..."
"${MPFR_DIR}"/configure --prefix=$PREFIX --with-gmp=$PREFIX > $DIR_LOGS/mpfr.$ARCH.configure.log.txt 2>&1
echo "- ${MPFR_VERSION} make..."

View File

@ -176,7 +176,7 @@ DownloadSource () {
if [[ ! -f ${DIR_DOWNLOADS}/gcc-${GCC_VERSION}.tar.bz2 ]]; then
echo "Status: gcc-${GCC_VERSION} not found."
curl -f -o download.tmp --remote-name http://mirrors.kernel.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2 || exit 1
curl -f -o download.tmp --remote-name https://mirrors.kernel.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2 || exit 1
mv download.tmp gcc-${GCC_VERSION}.tar.bz2
fi
}

View File

@ -182,7 +182,7 @@ DownloadSource () {
if [[ ! -f ${DIR_DOWNLOADS}/gcc-${GCC_VERSION}.tar.bz2 ]]; then
echo "Status: gcc-${GCC_VERSION} not found."
curl -f -o download.tmp --remote-name http://mirrors.kernel.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2 || exit 1
curl -f -o download.tmp --remote-name https://mirrors.kernel.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2 || exit 1
mv download.tmp gcc-${GCC_VERSION}.tar.bz2
fi
}

View File

@ -92,10 +92,10 @@ fnDownloadGettext ()
# Function: Download gettext source
{
cd "$DIR_DOWNLOADS"
local tarball="${GETTEXT_VERSION}.tar.gz"
local tarball="${GETTEXT_VERSION}.tar.xz"
if [[ ! -f "$tarball" ]]; then
echo "Status: $tarball not found."
curl -f -o download.tmp --remote-name http://ftp.gnu.org/pub/gnu/gettext/$tarball || exit 1
curl -f -o download.tmp --remote-name ftp://ftp.gnu.org/pub/gnu/gettext/$tarball || exit 1
mv download.tmp $tarball
fi
}
@ -160,7 +160,7 @@ fnCompileGettext ()
export BUILD_GETTEXT_DIR=$DIR_BUILD/gettext
# Extract the tarball
local GETTEXT_DIR=$(fnExtract "${GETTEXT_VERSION}.tar.gz")
local GETTEXT_DIR=$(fnExtract "${GETTEXT_VERSION}.tar.xz")
# Gettext build
local cmd logfile