mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
bash: update to patch level 007 (Bond, James Bond).
This commit is contained in:
parent
90e89e4553
commit
d7618b0eec
1 changed files with 11 additions and 11 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template build file for 'bash'.
|
# Template build file for 'bash'.
|
||||||
pkgname=bash
|
pkgname=bash
|
||||||
bash_patchlevel=005
|
_bash_patchlevel=007
|
||||||
bash_distver=4.1
|
_bash_distver=4.1
|
||||||
version=${bash_distver}.${bash_patchlevel}
|
version=${_bash_distver}.${_bash_patchlevel}
|
||||||
wrksrc=${pkgname}-${bash_distver}
|
wrksrc=${pkgname}-${_bash_distver}
|
||||||
distfiles="http://ftp.gnu.org/gnu/bash/bash-${bash_distver}.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--without-bash-malloc --with-curses --bindir=/bin
|
configure_args="--without-bash-malloc --with-curses --bindir=/bin
|
||||||
--enable-array-variables --enable-brace-expansion --enable-casemod-attributes
|
--enable-array-variables --enable-brace-expansion --enable-casemod-attributes
|
||||||
|
@ -34,24 +34,24 @@ base_chroot=yes
|
||||||
register_shell="/bin/bash"
|
register_shell="/bin/bash"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency build ncurses
|
|
||||||
Add_dependency run ncurses-libs
|
Add_dependency run ncurses-libs
|
||||||
Add_dependency run coreutils
|
Add_dependency run coreutils
|
||||||
|
Add_dependency build ncurses-devel
|
||||||
|
|
||||||
pre_configure()
|
pre_configure()
|
||||||
{
|
{
|
||||||
local url="http://ftp.gnu.org/gnu/bash/bash-4.1-patches"
|
local url="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}-patches"
|
||||||
|
|
||||||
if [ "${bash_patchlevel}" -gt 000 ]; then
|
if [ "${_bash_patchlevel}" -gt 000 ]; then
|
||||||
cd ${XBPS_SRCDISTDIR} || return 1
|
cd ${XBPS_SRCDISTDIR} || return 1
|
||||||
for p in $(seq -w 001 ${bash_patchlevel}); do
|
for p in $(seq -w 001 ${_bash_patchlevel}); do
|
||||||
[ -f ${XBPS_SRCDISTDIR}/bash41-${p} ] && continue
|
[ -f ${XBPS_SRCDISTDIR}/bash41-${p} ] && continue
|
||||||
$XBPS_FETCH_CMD ${url}/bash41-$p
|
$XBPS_FETCH_CMD ${url}/bash41-$p
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
for p in $(seq -w 001 ${bash_patchlevel}); do
|
for p in $(seq -w 001 ${_bash_patchlevel}); do
|
||||||
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/bash41-${p} && \
|
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/bash41-${p} && \
|
||||||
msg_normal "Applying patch bash40-$p."
|
msg_normal "Applying patch bash41-$p."
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue