bash: update to 4.1.002.

--HG--
extra : convert_revision : 83b7c24dab710a98e3d5fcaa9747856c84ececce
This commit is contained in:
Juan RP 2010-01-25 07:27:35 +01:00
parent 0dcef5604d
commit ec166bfce5
1 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'bash'.
pkgname=bash
bash_patchlevel=035
bash_distver=4.0
bash_patchlevel=002
bash_distver=4.1
version=${bash_distver}.${bash_patchlevel}
wrksrc=${pkgname}-${bash_distver}
distfiles="http://ftp.gnu.org/gnu/bash/bash-${bash_distver}.tar.gz"
@ -17,7 +17,7 @@ configure_args="--without-bash-malloc --with-curses --bindir=/bin
ac_cv_func_working_mktime=yes"
short_desc="The GNU Bourne Again Shell"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9793d394f640a95030c77d5ac989724afe196921956db741bcaf141801c50518
checksum=3f627124a83c6d34db503a923e20710d370573a29dd5d11d6f116d1aee7be1da
long_desc="
Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
@ -41,18 +41,18 @@ Add_dependency run coreutils
pre_configure()
{
local url="http://ftp.gnu.org/gnu/bash/bash-4.0-patches"
local url="http://ftp.gnu.org/gnu/bash/bash-4.1-patches"
if [ "${bash_patchlevel}" -gt 000 ]; then
cd ${XBPS_SRCDISTDIR} || return 1
for p in $(seq -w 001 ${bash_patchlevel}); do
[ -f ${XBPS_SRCDISTDIR}/bash40-${p} ] && continue
$XBPS_FETCH_CMD ${url}/bash40-$p
[ -f ${XBPS_SRCDISTDIR}/bash41-${p} ] && continue
$XBPS_FETCH_CMD ${url}/bash41-$p
done
fi
cd ${wrksrc}
for p in $(seq -w 001 ${bash_patchlevel}); do
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/bash40-${p} && \
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/bash41-${p} && \
msg_normal "Applying patch bash40-$p."
done
}