chroot-bash: update to 5.2.21.
This commit is contained in:
parent
a98196bc2b
commit
47370be761
|
@ -1,10 +1,7 @@
|
||||||
# Template file for 'chroot-bash'
|
# Template file for 'chroot-bash'
|
||||||
pkgname=chroot-bash
|
pkgname=chroot-bash
|
||||||
version=5.1.004
|
version=5.2.21
|
||||||
revision=1
|
revision=1
|
||||||
_bash_distver=${version%.*}
|
|
||||||
_bash_patchlevel=${version##*.}
|
|
||||||
_patchprefix="bash${_bash_distver/./}"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# need 'bash_cv_termcap_lib=gnutermcap' in order to force bash to use the
|
# need 'bash_cv_termcap_lib=gnutermcap' in order to force bash to use the
|
||||||
# bundled termcap library when bootstrapping from source on a foreign system
|
# bundled termcap library when bootstrapping from source on a foreign system
|
||||||
|
@ -13,37 +10,15 @@ configure_args="--without-bash-malloc --without-curses
|
||||||
short_desc="GNU Bourne Again Shell -- for xbps-src use"
|
short_desc="GNU Bourne Again Shell -- for xbps-src use"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://www.gnu.org/software/bash/bash.html"
|
homepage="https://www.gnu.org/software/bash/bash.html"
|
||||||
distfiles="${GNU_SITE}/bash/bash-${_bash_distver}.tar.gz"
|
distfiles="${GNU_SITE}/bash/bash-${version}.tar.gz"
|
||||||
|
checksum=c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8
|
||||||
repository=bootstrap
|
repository=bootstrap
|
||||||
|
|
||||||
_url="${GNU_SITE}/bash/bash-${_bash_distver}-patches"
|
|
||||||
for _p in $(seq -w 001 ${_bash_patchlevel}); do
|
|
||||||
distfiles+=" ${_url}/${_patchprefix}-${_p}"
|
|
||||||
skip_extraction+=" ${_patchprefix}-${_p}"
|
|
||||||
done
|
|
||||||
unset _url
|
|
||||||
unset _p
|
|
||||||
|
|
||||||
checksum="cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa
|
|
||||||
ebb07b3dbadd98598f078125d0ae0d699295978a5cdaef6282fe19adef45b5fa
|
|
||||||
15ea6121a801e48e658ceee712ea9b88d4ded022046a6147550790caf04f5dbe
|
|
||||||
22f2cc262f056b22966281babf4b0a2f84cb7dd2223422e5dcd013c3dcbab6b1
|
|
||||||
9aaeb65664ef0d28c0067e47ba5652b518298b3b92d33327d84b98b28d873c86"
|
|
||||||
|
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
provides="bash-${version}_${revision}"
|
provides="bash-${version}_${revision}"
|
||||||
conflicts="bash>=0 dash>=0 busybox>=0 loksh>=0 mksh>=0 oksh>=0 yash>=0"
|
conflicts="bash>=0 dash>=0 busybox>=0 loksh>=0 mksh>=0 oksh>=0 yash>=0"
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
local _p
|
|
||||||
cd ${wrksrc}
|
|
||||||
for _p in $(seq -w 001 ${_bash_patchlevel}); do
|
|
||||||
msg_normal " Applying patch ${_patchprefix}-${_p}.\n"
|
|
||||||
patch -sNp0 -i ${XBPS_SRCDISTDIR}/chroot-bash-$version/${_patchprefix}-${_p}
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
ln -s bash ${DESTDIR}/usr/bin/sh
|
ln -s bash ${DESTDIR}/usr/bin/sh
|
||||||
rm -rf ${DESTDIR}/usr/{lib,share,include} ${DESTDIR}/usr/lib/pkgconfig/bash.pc
|
rm -rf ${DESTDIR}/usr/{lib,share,include} ${DESTDIR}/usr/lib/pkgconfig/bash.pc
|
||||||
|
|
Loading…
Reference in New Issue