bash: update to 4.0.028 (applying all current official patches).
--HG-- extra : convert_revision : 0b18bea0e6484ce9c84a908e4f9ff6a8bb6ea849
This commit is contained in:
parent
bca1fd8b47
commit
79ab7f755e
1 changed files with 20 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
|||
# Template build file for 'bash'.
|
||||
pkgname=bash
|
||||
version=4.0
|
||||
revision=2
|
||||
distfiles="http://ftp.gnu.org/gnu/bash/bash-$version.tar.gz"
|
||||
bash_patchlevel=028
|
||||
bash_distver=4.0
|
||||
version=${bash_distver}.${bash_patchlevel}
|
||||
wrksrc=${pkgname}-${bash_distver}
|
||||
distfiles="http://ftp.gnu.org/gnu/bash/bash-${bash_distver}.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--without-bash-malloc --with-curses --bindir=/bin
|
||||
--enable-array-variables --enable-brace-expansion --enable-casemod-attributes
|
||||
|
@ -37,3 +39,18 @@ Add_dependency build ncurses
|
|||
Add_dependency build texinfo
|
||||
Add_dependency run ncurses-libs
|
||||
Add_dependency run coreutils
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
if [ "${bash_patchlevel}" -gt 000 ]; then
|
||||
for p in $(seq -w 001 ${bash_patchlevel}); do
|
||||
[ -f ${XBPS_SRCDISTDIR}/bash40-${p} ] && continue
|
||||
wget http://ftp.gnu.org/gnu/bash/bash-4.0-patches/bash40-$p
|
||||
done
|
||||
fi
|
||||
cd ${wrksrc}
|
||||
for p in $(seq -w 001 ${bash_patchlevel}); do
|
||||
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/bash40-${p} && \
|
||||
msg_normal "Applying patch bash40-$p."
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue