bash: use latest tarball with patches.
--HG-- extra : convert_revision : eac96249c7a8464dea1d127647c625742346cb76
This commit is contained in:
parent
08630476d6
commit
8a7d10cfd0
1 changed files with 3 additions and 22 deletions
|
@ -1,18 +1,14 @@
|
|||
# Template build file for 'bash'.
|
||||
pkgname=bash
|
||||
# This matches current version + latest patchlevel
|
||||
bash_distver=3.2
|
||||
bash_patchver=048
|
||||
version=$bash_distver.$bash_patchver
|
||||
wrksrc=$pkgname-$bash_distver
|
||||
distfiles="http://ftp.gnu.org/pub/gnu/bash/$pkgname-$bash_distver.tar.gz"
|
||||
version=3.2.48
|
||||
distfiles="http://ftp.gnu.org/gnu/bash/bash-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--without-bash-malloc --with-curses
|
||||
--bindir=$XBPS_DESTDIR/$pkgname-$version/bin
|
||||
ac_cv_func_working_mktime=yes"
|
||||
short_desc="The GNU Bourne Again Shell"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=26c99025b59e30779300b68adb764f824974d267a4d7cc1b347d14a2393f9fb4
|
||||
checksum=28e9dc561b48a6675dbb30b5875e066d74cfac6a4eb261755dd2d93a38d301c5
|
||||
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
|
||||
|
@ -28,18 +24,3 @@ long_desc="
|
|||
base_chroot=yes
|
||||
build_depends="bison-2.3 ncurses-5.6"
|
||||
run_depends="glibc-2.8 ncurses-5.6"
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
# Apply all patches for current (3.2) version.
|
||||
local URL="http://ftp.gnu.org/gnu/bash/bash-$bash_distver-patches"
|
||||
|
||||
for p in $(seq -w 001 $bash_patchver); do
|
||||
if [ ! -f "$XBPS_SRCDISTDIR/bash32-$p" ]; then
|
||||
msg_normal "Fetching $pkgname-$version patch: bash32-$p."
|
||||
cd $XBPS_SRCDISTDIR && $fetch_cmd $URL/bash32-$p || bye 1
|
||||
fi
|
||||
msg_normal "Applying patch: bash32-$p."
|
||||
cd $wrksrc && patch -s -p0 < $XBPS_SRCDISTDIR/bash32-$p || bye 1
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue