summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-07-09 14:41:19 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-07-09 14:41:19 +0000
commit9ad6b569031fbabd405dba5ddbf42bfc6ee3d621 (patch)
treef3afa13fa3c764ca2d6abda72fc543e1cb7a5e91 /app-shells
parentsome new official patches, apply without modification (diff)
downloadhistorical-9ad6b569031fbabd405dba5ddbf42bfc6ee3d621.tar.gz
historical-9ad6b569031fbabd405dba5ddbf42bfc6ee3d621.tar.bz2
historical-9ad6b569031fbabd405dba5ddbf42bfc6ee3d621.zip
some new official patches, apply without modification
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/Manifest4
-rw-r--r--app-shells/bash/bash-2.05b-r6.ebuild86
-rw-r--r--app-shells/bash/files/digest-bash-2.05b-r68
3 files changed, 96 insertions, 2 deletions
diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest
index 95407d0860d5..f68f97a6215a 100644
--- a/app-shells/bash/Manifest
+++ b/app-shells/bash/Manifest
@@ -1,8 +1,8 @@
MD5 ba1233983751e50700241a6495306378 bash-2.05a-r3.ebuild 1917
MD5 93337728b7ccae58e9f17f611a2a03f6 bash-2.05b-r4.ebuild 1867
-MD5 b510372131e3ba2d907211a8b4f1eddf bash-2.05b-r6.ebuild 2034
+MD5 490223ad15cb1af236cebc4534c7498a bash-2.05b-r6.ebuild 2035
MD5 31f9be8380509135728cb39c2c0fb8b4 bash-2.05b-r3.ebuild 1759
-MD5 cafe66b395d0a593cc50580b82a6852f ChangeLog 4545
+MD5 8a312513fd341b0bad0bc2af86cc87c7 ChangeLog 4635
MD5 db9ff37920acfcb1105ea016c99f88bc bash-2.05b-r5.ebuild 2050
MD5 582fb9ed0ca44627978ce6836a5000dc files/config-top.h.diff 487
MD5 555c6b4000bd9d5557f5627530e13ec4 files/digest-bash-2.05a-r3 63
diff --git a/app-shells/bash/bash-2.05b-r6.ebuild b/app-shells/bash/bash-2.05b-r6.ebuild
new file mode 100644
index 000000000000..7ec8a3e20c24
--- /dev/null
+++ b/app-shells/bash/bash-2.05b-r6.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-2.05b-r6.ebuild,v 1.1 2003/07/09 14:41:10 taviso Exp $
+
+inherit eutils flag-o-matic
+
+# Official patches
+PLEVEL="x002 x003 x004 x005 x006 x007"
+
+DESCRIPTION="The standard GNU Bourne again shell"
+SRC_URI="ftp://ftp.gnu.org/gnu/bash/${P}.tar.gz
+ mirror://gentoo/${P}-gentoo.diff.bz2
+ ${PLEVEL//x/ftp://ftp.gnu.org/gnu/bash/bash-${PV}-patches/bash${PV/\.}-}"
+HOMEPAGE="http://www.gnu.org/software/bash/bash.html"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~alpha"
+IUSE="nls build"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ cd ${S}
+ epatch ${DISTDIR}/${P}-gentoo.diff.bz2
+
+ for x in ${PLEVEL//x}
+ do
+ epatch ${DISTDIR}/${PN}${PV/\.}-${x}
+ done
+
+ # Remove autoconf dependency
+ cp Makefile.in Makefile.in.orig
+ sed -e "/&& autoconf/d" Makefile.in.orig > Makefile.in
+
+ # Readline is slow with multibyte locale, bug #19762
+ epatch ${FILESDIR}/${P}-multibyte-locale.patch
+ # Segfault on empty herestring
+ epatch ${FILESDIR}/${P}-empty-herestring.patch
+}
+
+src_compile() {
+
+ filter-flags -malign-double
+
+ local myconf=""
+
+ # Always use the buildin readline, else if we update readline
+ # bash gets borked as readline is usually not binary compadible
+ # between minor versions.
+ #
+ # Martin Schlemmer <azarah@gentoo.org> (1 Sep 2002)
+ #use readline && myconf="--with-installed-readline"
+ #use static && export LDFLAGS="${LDFLAGS} -static"
+ use nls || myconf="${myconf} --disable-nls"
+
+ econf \
+ --disable-profiling \
+ --with-curses \
+ --without-gnu-malloc \
+ ${myconf} || die
+
+ make || die
+}
+
+src_install() {
+ einstall || die
+
+ dodir /bin
+ mv ${D}/usr/bin/bash ${D}/bin
+ dosym bash /bin/sh
+
+ use build \
+ && rm -rf ${D}/usr \
+ || ( \
+ doman doc/*.1
+ dodoc README NEWS AUTHORS CHANGES COMPAT COPYING Y2K
+ dodoc doc/FAQ doc/INTRO
+
+ ebegin "creating info symlink"
+ dosym bash.info.gz /usr/share/info/bashref.info.gz
+ eend $?
+ )
+}
diff --git a/app-shells/bash/files/digest-bash-2.05b-r6 b/app-shells/bash/files/digest-bash-2.05b-r6
new file mode 100644
index 000000000000..cda4481c8b5e
--- /dev/null
+++ b/app-shells/bash/files/digest-bash-2.05b-r6
@@ -0,0 +1,8 @@
+MD5 5238251b4926d778dfe162f6ce729733 bash-2.05b.tar.gz 1956216
+MD5 acac0949285525a5920d80f2aa4668de bash-2.05b-gentoo.diff.bz2 2744
+MD5 2957bbe5f6db1830d649d1071baba63c bash205b-002 755
+MD5 2828e78563927b806246e2b4806ee0f5 bash205b-003 2356
+MD5 6bf89831209ba6d208943d2ebaa7fe3a bash205b-004 1110
+MD5 311b7f0e3dabec51767bfabe6afd4ded bash205b-005 2217
+MD5 f8a86d0a66b51080f3fbc5cc34ef1a06 bash205b-006 3155
+MD5 37d2acecc9146883f9b331c03b274f21 bash205b-007 1072