To our bash maintainers- it would be cool if you could rebuild bash sometime with these changes, as adding the provides=('sh') line will really help me down the road when I am trying to make Arch a bit more shell-agnostic. I have another patch coming shortly (to the ML) that will make a lot of base packages depend on sh instead of bash when that is possible. Of course, the rebuild can wait until the next patch level bump, but just know that these changes have been made. -Dan On Nov 25, 2007 9:37 PM, Dan McGee <dan@archlinux.org> wrote:
Date: Sunday, November 25, 2007 @ 22:37:58 Author: dan Path: /home/cvs-core/core/base/bash
Modified: PKGBUILD (1.49 -> 1.50)
Add provides=('sh') to bash, as scripts may only need sh and not a full-blown bash. Also verbose-ify the sh link.
----------+ PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Index: core/base/bash/PKGBUILD diff -u core/base/bash/PKGBUILD:1.49 core/base/bash/PKGBUILD:1.50 --- core/base/bash/PKGBUILD:1.49 Thu Nov 15 18:53:12 2007 +++ core/base/bash/PKGBUILD Sun Nov 25 22:37:58 2007 @@ -1,4 +1,4 @@ -# $Id: PKGBUILD,v 1.49 2007/11/15 23:53:12 daniel Exp $ +# $Id: PKGBUILD,v 1.50 2007/11/26 03:37:58 dan Exp $ # Maintainer: Aaron Griffin <aaron@archlinux.org>
pkgname=bash @@ -12,6 +12,7 @@ groups=('base') backup=(etc/profile etc/skel/.bashrc etc/skel/.bash_profile) depends=('readline>=5.2') +provides=('sh') source=(ftp://ftp.cwru.edu/pub/bash/bash-3.2.tar.gz bash-noinfo.patch profile @@ -66,7 +67,10 @@ rm bin/bashbug usr/man/man1/bashbug.1
install -v -D -m644 ${startdir}/src/profile etc/profile - ln -sf bash bin/sh + + # for now, bash is our default /bin/sh + cd ${startdir}/pkg/bin + ln -s bash sh
mkdir -p $startdir/pkg/etc/skel/ install -D -m644 $startdir/src/bashrc $startdir/pkg/etc/skel/.bashrc
_______________________________________________ arch-commits mailing list arch-commits@archlinux.org http://archlinux.org/mailman/listinfo/arch-commits