chroot-bash: update to 4.4.018
Use patches from srcpkgs/bash/files.
This commit is contained in:
parent
e5e12e1209
commit
b5697ad500
1 changed files with 3 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'chroot-bash'.
|
||||
pkgname=chroot-bash
|
||||
_bash_distver=4.4
|
||||
_bash_patchlevel=012
|
||||
_bash_patchlevel=018
|
||||
version=${_bash_distver}.${_bash_patchlevel}
|
||||
revision=1
|
||||
wrksrc="bash-${_bash_distver}"
|
||||
|
@ -19,22 +19,11 @@ provides="bash-${version}_${revision}"
|
|||
conflicts="bash>=0 dash>=0"
|
||||
|
||||
pre_configure() {
|
||||
local url="${GNU_SITE}/bash/bash-${_bash_distver}-patches"
|
||||
local ver=$(echo ${_bash_distver}|sed "s|\.||g")
|
||||
|
||||
if [ "${_bash_patchlevel}" -gt 000 ]; then
|
||||
for p in $(seq -w 001 ${_bash_patchlevel}); do
|
||||
if [ -f bash${ver}-${p} ]; then
|
||||
continue
|
||||
fi
|
||||
msg_normal " Fetching ${url}/bash${ver}-$p ...\n"
|
||||
$XBPS_FETCH_CMD ${url}/bash${ver}-$p
|
||||
done
|
||||
fi
|
||||
local ver=${_bash_distver//./} p
|
||||
cd ${wrksrc}
|
||||
for p in $(seq -w 001 ${_bash_patchlevel}); do
|
||||
patch -sNp0 -i bash${ver}-${p}
|
||||
msg_normal " Applying patch bash${ver}-$p.\n"
|
||||
patch -sNp0 -i ${XBPS_SRCPKGDIR}/bash/files/bash${ver}-${p}
|
||||
done
|
||||
}
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue