Update package version to 5.3.8
This commit is contained in:
@@ -1,12 +1,41 @@
|
|||||||
name: bash
|
name: bash
|
||||||
description: The Bourne-Again Shell
|
description: The Bourne-Again Shell
|
||||||
version: 5.3.3
|
version: 5.3.8
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://www.gnu.org/software/bash/
|
url: https://www.gnu.org/software/bash/
|
||||||
license: GPL3-or-later
|
license: GPL3-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
keep: ["etc/bashrc","etc/profile","etc/skel/.bash_profile","etc/skel/.bashrc"]
|
|
||||||
depends: ["glibc","readline"]
|
|
||||||
optional_depends: ["bash-completion"]
|
|
||||||
provides: ["sh"]
|
|
||||||
type: source
|
type: source
|
||||||
|
keep:
|
||||||
|
- etc/bashrc
|
||||||
|
- etc/profile
|
||||||
|
- etc/skel/.bash_profile
|
||||||
|
- etc/skel/.bashrc
|
||||||
|
depends:
|
||||||
|
- glibc
|
||||||
|
- readline
|
||||||
|
optional_depends:
|
||||||
|
- bash-completion
|
||||||
|
provides:
|
||||||
|
- sh
|
||||||
|
downloads:
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-${BPM_PKG_VERSION%.*}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-001
|
||||||
|
checksum: 1f608434364af86b9b45c8b0ea3fb3b165fb830d27697e6cdfc7ac17dee3287f
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-002
|
||||||
|
checksum: e385548a00130765ec7938a56fbdca52447ab41fabc95a25f19ade527e282001
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-003
|
||||||
|
checksum: f245d9c7dc3f5a20d84b53d249334747940936f09dc97e1dcb89fc3ab37d60ed
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-004
|
||||||
|
checksum: 9591d245045529f32f0812f94180b9d9ce9023f5a765c039b852e5dfc99747d0
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-005
|
||||||
|
checksum: cca1ef52dbbf433bc98e33269b64b2c814028efe2538be1e2c9a377da90bc99d
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-006
|
||||||
|
checksum: 29119addefed8eff91ae37fd51822c31780ee30d4a28376e96002706c995ff10
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-007
|
||||||
|
checksum: c0976bbfffa1453c7cfdd62058f206a318568ff2d690f5d4fa048793fa3eb299
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/bash/bash-5.3-patches/bash53-008
|
||||||
|
checksum: 097cd723cbfb8907674ac32214063a3fd85282657ec5b4e544d2c0f719653fb4
|
||||||
|
|||||||
@@ -2,21 +2,11 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://ftpmirror.gnu.org/gnu/bash/bash-${BPM_PKG_VERSION%.*}.tar.gz"
|
|
||||||
DOWNLOAD_PATCH_BASE="https://ftpmirror.gnu.org/gnu/bash/bash-${BPM_PKG_VERSION%.*}-patches/bash$(echo ${BPM_PKG_VERSION%.*} | tr -d '.')"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
# Download and apply patches
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
for patch in $(seq "${BPM_PKG_VERSION##*.}"); do
|
# Apply official patches
|
||||||
wget -O "${patch}.patch" "${DOWNLOAD_PATCH_BASE}-$(printf '%03d' ${patch})"
|
for _patch in "$BPM_WORKDIR"/bash53-*; do
|
||||||
patch -Np0 -i "${patch}.patch"
|
patch -Np0 -i "$_patch"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user