bash: update to 5.1.4

This commit is contained in:
Leonid Pliushch 2021-01-07 13:57:54 +02:00
parent 896ad3a3c9
commit 96a05a7dfd
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -3,9 +3,8 @@ TERMUX_PKG_DESCRIPTION="A sh-compatible shell that incorporates useful features
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_MAINTAINER="@termux"
_MAIN_VERSION=5.1 _MAIN_VERSION=5.1
_PATCH_VERSION=0 _PATCH_VERSION=4
TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION} TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION}
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/bash/bash-${_MAIN_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/bash/bash-${_MAIN_VERSION}.tar.gz
TERMUX_PKG_SHA256=cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa TERMUX_PKG_SHA256=cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa
TERMUX_PKG_DEPENDS="libandroid-support, libiconv, ncurses, readline (>= 8.0), termux-tools" TERMUX_PKG_DEPENDS="libandroid-support, libiconv, ncurses, readline (>= 8.0), termux-tools"
@ -38,7 +37,10 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/bashbug.1 bin/bashbug"
termux_step_pre_configure() { termux_step_pre_configure() {
declare -A PATCH_CHECKSUMS declare -A PATCH_CHECKSUMS
#PATCH_CHECKSUMS[001]= PATCH_CHECKSUMS[001]=ebb07b3dbadd98598f078125d0ae0d699295978a5cdaef6282fe19adef45b5fa
PATCH_CHECKSUMS[002]=15ea6121a801e48e658ceee712ea9b88d4ded022046a6147550790caf04f5dbe
PATCH_CHECKSUMS[003]=22f2cc262f056b22966281babf4b0a2f84cb7dd2223422e5dcd013c3dcbab6b1
PATCH_CHECKSUMS[004]=9aaeb65664ef0d28c0067e47ba5652b518298b3b92d33327d84b98b28d873c86
for PATCH_NUM in $(seq -f '%03g' ${_PATCH_VERSION}); do for PATCH_NUM in $(seq -f '%03g' ${_PATCH_VERSION}); do
PATCHFILE=$TERMUX_PKG_CACHEDIR/bash_patch_${PATCH_NUM}.patch PATCHFILE=$TERMUX_PKG_CACHEDIR/bash_patch_${PATCH_NUM}.patch