From 02bd4fc53a51720bb94589a89073d199ed750d51 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Apr 26 2019 18:33:07 +0000 Subject: vars/build.vars:ed:${PKG_{SHA256SUM,URL}}: update dead URL. subr/pkg_fetch_extract.subr: extract lzip-compressed tarballs w/ lzip. --- diff --git a/subr/pkg_fetch_extract.subr b/subr/pkg_fetch_extract.subr index 0afa837..111b727 100644 --- a/subr/pkg_fetch_extract.subr +++ b/subr/pkg_fetch_extract.subr @@ -14,6 +14,9 @@ pkg_fetch_extract() { elif [ "${PKG_FNAME##*.tar.}" = "gz" ]\ || [ "${PKG_FNAME##*.t}" = "gz" ]; then gunzip -d < "${BUILD_DLCACHEDIR}/${PKG_FNAME}" | tar -C "${PKG_BASE_DIR}" -xf -; + elif [ "${PKG_FNAME##*.tar.}" = "lz" ]\ + || [ "${PKG_FNAME##*.t}" = "lz" ]; then + lzip -d < "${BUILD_DLCACHEDIR}/${PKG_FNAME}" | tar -C "${PKG_BASE_DIR}" -xf -; elif [ "${PKG_FNAME##*.tar.}" = "xz" ]\ || [ "${PKG_FNAME##*.t}" = "xz" ]; then xz -d < "${BUILD_DLCACHEDIR}/${PKG_FNAME}" | tar -C "${PKG_BASE_DIR}" -xf -; diff --git a/vars/build.vars b/vars/build.vars index dac1f12..dd2a83d 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1035,9 +1035,9 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh"; : ${PKG_DOS2UNIX_CFLAGS_BUILD_EXTRA:=${PACKAGES_CFLAGS_CONFIGURE}}; : ${PKG_DOS2UNIX_IN_TREE:=1}; : ${PKG_DOS2UNIX_INSTALL_FILES:="../dos2unix-${PKG_DOS2UNIX_VERSION}/dos2unix=bin/ ../dos2unix-${PKG_DOS2UNIX_VERSION}/unix2dos=bin/ @dos2unix=bin/mac2unix @unix2dos=bin/unix2mac"}; -: ${PKG_ED_SHA256SUM:=c3521a607b3dfd5d2a087d53a72cdf71970763059c369cb0b330881b8491cd50}; +: ${PKG_ED_SHA256SUM:=f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db}; : ${PKG_ED_VERSION:=1.14.2}; -: ${PKG_ED_URL:=https://fossies.org/linux/privat/ed-${PKG_ED_VERSION}.tar.gz}; +: ${PKG_ED_URL:=https://ftp.gnu.org/gnu/ed/ed-${PKG_ED_VERSION}.tar.lz}; : ${PKG_ED_CONFIGURE_ARGS:="--prefix= CC=${DEFAULT_TARGET}-gcc"}; : ${PKG_FIGLET_SHA256SUM:=bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d}; : ${PKG_FIGLET_VERSION:=2.2.5};