Version bump.
authorMike Frysinger <vapier@gentoo.org>
Tue, 31 Oct 2006 20:21:03 +0000 (20:21 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 31 Oct 2006 20:21:03 +0000 (20:21 +0000)
Package-Manager: portage-2.1.2_rc1-r1

app-shells/bash/ChangeLog
app-shells/bash/Manifest
app-shells/bash/bash-3.2_p3.ebuild [new file with mode: 0644]
app-shells/bash/files/digest-bash-3.2_p3 [new file with mode: 0644]

index d87e09e02f22fbad80855e4bcaf521d9da3300a8..09eb509614271a6454d6b28abc66d8ab55265fa5 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-shells/bash
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.121 2006/10/18 16:49:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.122 2006/10/31 20:21:03 vapier Exp $
+
+*bash-3.2_p3 (31 Oct 2006)
+
+  31 Oct 2006; Mike Frysinger <vapier@gentoo.org> +bash-3.2_p3.ebuild:
+  Version bump.
 
 *bash-3.2_p1 (18 Oct 2006)
 
index 9223489b4ff590b82de100a0d9e3d625ad1b266b..159b3dcf0c654454f64b4a3a8bd0d7fd0bcc8c9a 100644 (file)
@@ -251,6 +251,8 @@ DIST bash31-015 3089 RMD160 1c2203711e26acf8f7e7bc51f05c2827b03f8eb9 SHA1 e22f24
 DIST bash31-016 1295 RMD160 b474ec209cc59f8e9d2616eed9327c96cf3cc606 SHA1 7f4629b94464f53e98786e4a2d38f2b02566bb05 SHA256 2438b71c7fadf2971141e6854d317804e143d86eefd6d7b4479d62afd385ebad
 DIST bash31-017 3640 RMD160 838038cd5f70234504bb6d29741c48e15ca20d59 SHA1 652a02f90011a167fec6e23a46bbdf9338bc9a7c SHA256 8fb3ac54b9536ad1ba829f229f1ab906ab2af005f2bfa733f2687245e1569407
 DIST bash32-001 1539 RMD160 633f6eb6b2b48345234c442b835abb94d10e0dad SHA1 cec2d4b62abf3361a22fb9a53242b8a27a38fe02 SHA256 beda60ce6186fafa36cd0a98db9ced42cff68daee4342cca73167fb0f2f43eaa
+DIST bash32-002 1524 RMD160 5d0f0dab859197784b15c683d54e7a505a8434c3 SHA1 a6a7265161c828959f489c229b275d6039b75c21 SHA256 a0ca49a3c47678ad074c990bdc871fcec680749b7f04f2def6527f04c589c40a
+DIST bash32-003 4599 RMD160 efdcb4f8d6c800b5a3dab7bae37f95861bf186d8 SHA1 e982f3f4bc846b79aa31ff938e44c4e54b244aa2 SHA256 7ec9e5e7e402e43b12bfd3a9237f4f171029fc7f58e59335abf3ccb455a5a84d
 DIST readline51-001 2042 RMD160 93dd36106f68682c4dc73a9b1ecf62bf7943fae4 SHA1 2d369ad65a8751d0a9721002c06e139afe35265b SHA256 2c9786b231a454504c3f38361af6fd74e61789bc1009eba5fb2447b5a3ac5774
 EBUILD bash-2.05b-r11.ebuild 3408 RMD160 67bd104beb601e5cbf46d13bcd61e0b28c7590dc SHA1 6967480341932c50ed79c1d04e30d11abf2f8793 SHA256 672433e5a5364a9ea5dd226936e95af752a972be152a885b7141757ed1cdf8a6
 MD5 1b20b4f87ce25d15dad8e6333d4fd716 bash-2.05b-r11.ebuild 3408
@@ -268,26 +270,22 @@ EBUILD bash-3.0-r14.ebuild 4733 RMD160 05cb9f38faa1c321dcf03f52f959e459a69265f6
 MD5 b9e9d65af4b321ef366f64f47bc5a37d bash-3.0-r14.ebuild 4733
 RMD160 05cb9f38faa1c321dcf03f52f959e459a69265f6 bash-3.0-r14.ebuild 4733
 SHA256 158a757431cdd4fdc8fc265aeea0e594f1a10c47b65d5f6a4634a8394b60a4df bash-3.0-r14.ebuild 4733
-EBUILD bash-3.1_p14.ebuild 4473 RMD160 efbf38672058e0f0fa3ea544bb8d524d7a8bd4ac SHA1 84e88da4488a1c56fb953cccaf8a6fea6b68be5d SHA256 252ecabdeea797d97ad984d3bebb0c76da7c6675c131dd06fc05eb60e76155ba
-MD5 b15bf6a92e7bfb5ee68948dbc5885d6d bash-3.1_p14.ebuild 4473
-RMD160 efbf38672058e0f0fa3ea544bb8d524d7a8bd4ac bash-3.1_p14.ebuild 4473
-SHA256 252ecabdeea797d97ad984d3bebb0c76da7c6675c131dd06fc05eb60e76155ba bash-3.1_p14.ebuild 4473
 EBUILD bash-3.1_p16.ebuild 4566 RMD160 860abfc418e2a48acc10f1457138fc2f7f22d065 SHA1 efbb277a394e050672bef380af670e548a50d4c3 SHA256 bd47cb1bcf18a950588e9f0c20039d02e5aa3afcabec541c8ad7b9de451ef833
 MD5 c55c94a7e6554872b40e0f390c797246 bash-3.1_p16.ebuild 4566
 RMD160 860abfc418e2a48acc10f1457138fc2f7f22d065 bash-3.1_p16.ebuild 4566
 SHA256 bd47cb1bcf18a950588e9f0c20039d02e5aa3afcabec541c8ad7b9de451ef833 bash-3.1_p16.ebuild 4566
-EBUILD bash-3.1_p17.ebuild 4613 RMD160 b4ef8e6d8dd77f5b04b0e78250f196675da5957c SHA1 88dbc4d1b841ded1b3941d1e308f83381587749e SHA256 77f86fd7dd0850bb8927d4ff9de6e466e6cf29095a8ac99d1909a9ff1b61b159
-MD5 3a1c832e95b27e2e237656b3f649ac6a bash-3.1_p17.ebuild 4613
-RMD160 b4ef8e6d8dd77f5b04b0e78250f196675da5957c bash-3.1_p17.ebuild 4613
-SHA256 77f86fd7dd0850bb8927d4ff9de6e466e6cf29095a8ac99d1909a9ff1b61b159 bash-3.1_p17.ebuild 4613
-EBUILD bash-3.2_p1.ebuild 4248 RMD160 c937844787cd4f9da2c48755649246416f7e0803 SHA1 1ee148be84fc690e0026bc01dec0475bf7989bab SHA256 f1dab2d12a0a9fdb05aaabde497726a3cd1651c9d3729a4952702f7ed3c55230
-MD5 67ca94855a900ff2f93c53d483b26cf8 bash-3.2_p1.ebuild 4248
-RMD160 c937844787cd4f9da2c48755649246416f7e0803 bash-3.2_p1.ebuild 4248
-SHA256 f1dab2d12a0a9fdb05aaabde497726a3cd1651c9d3729a4952702f7ed3c55230 bash-3.2_p1.ebuild 4248
-MISC ChangeLog 21826 RMD160 8aef894ef94d5d0ddfb67c860d1eb9bad5d67735 SHA1 71aeaf04c58afb14657362fd329f4819205751e7 SHA256 502ea97254d42c8633cee84916ea457d4b7be581a3697bb0168edbaffe0373bf
-MD5 4e1bb7afe8a5e2bea5e4661eb16afa03 ChangeLog 21826
-RMD160 8aef894ef94d5d0ddfb67c860d1eb9bad5d67735 ChangeLog 21826
-SHA256 502ea97254d42c8633cee84916ea457d4b7be581a3697bb0168edbaffe0373bf ChangeLog 21826
+EBUILD bash-3.1_p17.ebuild 4610 RMD160 5c71218ace9af0a8a0fb0bb8310d0dda3a90c64b SHA1 a13310f9dffd6da95f0cfd5f777e81e3b9adc440 SHA256 02a4e2c4eabff6e2000dcbe9bdaf3e07b4ae1bbe7e8b58acb54a65a49580f106
+MD5 c9b138b86d97c90211249adbec0eef36 bash-3.1_p17.ebuild 4610
+RMD160 5c71218ace9af0a8a0fb0bb8310d0dda3a90c64b bash-3.1_p17.ebuild 4610
+SHA256 02a4e2c4eabff6e2000dcbe9bdaf3e07b4ae1bbe7e8b58acb54a65a49580f106 bash-3.1_p17.ebuild 4610
+EBUILD bash-3.2_p3.ebuild 4248 RMD160 3707de16293cac08df10223fa9aec9d75c1cd954 SHA1 f3f0001d06d359b9a7e5ec08d0d623b1e604700b SHA256 799a7ac9872cc7d5f698a0d23b5b28b7e0c32f9609eda37b0b05e85ec09eee7f
+MD5 cfda041aac324995058c30585ec65b05 bash-3.2_p3.ebuild 4248
+RMD160 3707de16293cac08df10223fa9aec9d75c1cd954 bash-3.2_p3.ebuild 4248
+SHA256 799a7ac9872cc7d5f698a0d23b5b28b7e0c32f9609eda37b0b05e85ec09eee7f bash-3.2_p3.ebuild 4248
+MISC ChangeLog 21942 RMD160 736acad7676f0da8ddec4700f410370e79359252 SHA1 794a9ab960abd6224576854249cbb55ec9ed2171 SHA256 acb50c21f243e8995b525a96b952a64ebd84a3b2323ed733890a820e6919169b
+MD5 cfda5612947d1b931d675da1540044fe ChangeLog 21942
+RMD160 736acad7676f0da8ddec4700f410370e79359252 ChangeLog 21942
+SHA256 acb50c21f243e8995b525a96b952a64ebd84a3b2323ed733890a820e6919169b ChangeLog 21942
 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -304,22 +302,19 @@ SHA256 c744a3871ecd201262595823e251ce8d342b8de376acc015dd2921b63e1a9a88 files/di
 MD5 cb97d431d4a544bf4dae4873d123595f files/digest-bash-3.0-r14 3509
 RMD160 ef230bf5d631a4cc31b90bb2641bf4c66dc93a22 files/digest-bash-3.0-r14 3509
 SHA256 c744a3871ecd201262595823e251ce8d342b8de376acc015dd2921b63e1a9a88 files/digest-bash-3.0-r14 3509
-MD5 d492dc54a0f089f3d4bd310516327f06 files/digest-bash-3.1_p14 3316
-RMD160 93cd86a051f2818212a390d65aa56bcf32025f75 files/digest-bash-3.1_p14 3316
-SHA256 f3dffb939483861b740269b57a9eb14cead9b57d0cf62c5a282e0198fa5e501f files/digest-bash-3.1_p14 3316
 MD5 bf563f8e698193be3be716076ba30dc5 files/digest-bash-3.1_p16 3726
 RMD160 29f6419c76863a78b875ac61fb957053d0b47956 files/digest-bash-3.1_p16 3726
 SHA256 1a25ed9d1fa648442a32e3bc60706b427718809325cf030c5acc5ea51aecc443 files/digest-bash-3.1_p16 3726
 MD5 341b816c5acf74ac16bf443d156e9719 files/digest-bash-3.1_p17 3931
 RMD160 607c556f7fd1528c64beb33828d95a31e22077ab files/digest-bash-3.1_p17 3931
 SHA256 04f2452aacb4b2e69a683d9ee5b2a9a04f3c9d0ef9b5bb0f28ec88b48db25bf6 files/digest-bash-3.1_p17 3931
-MD5 625884429cab6ded2bca358acfaf3934 files/digest-bash-3.2_p1 434
-RMD160 20bd6fdcd4fd6932f7f7f5520679a8c06658249f files/digest-bash-3.2_p1 434
-SHA256 730154741ebbad3b5b9ce82a9b0f7dd203cb7ac3e46dc3449ad058021aa8e8a5 files/digest-bash-3.2_p1 434
+MD5 909936773e67d56ae38fa84149f0fbae files/digest-bash-3.2_p3 844
+RMD160 396b589727085fd24005c38218db7b5efde0e441 files/digest-bash-3.2_p3 844
+SHA256 7b93927d14beca57fecb969ee45e6fa0d53b6e3b1f86b5f4be32372df8142df4 files/digest-bash-3.2_p3 844
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFNls9amhnQswr0vIRAo/eAJ9SkxvAztUgb2FNgo2BY0B4d0l3WQCeJsms
-fTF+Og8lJPITGCvQUxJx4TE=
-=r9rW
+iD8DBQFFR7A4amhnQswr0vIRAuGYAKCGQIcnQub5U7+50OlKPqRDPlq3XwCfT94f
+VBYu3ZGBNOe9yY5LDiehO+c=
+=5fYs
 -----END PGP SIGNATURE-----
diff --git a/app-shells/bash/bash-3.2_p3.ebuild b/app-shells/bash/bash-3.2_p3.ebuild
new file mode 100644 (file)
index 0000000..58d18a8
--- /dev/null
@@ -0,0 +1,140 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p3.ebuild,v 1.1 2006/10/31 20:21:03 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-3.1-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+READLINE_VER=5.2
+READLINE_PLEVEL=0
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
+# Hit the GNU mirrors before hitting Chet's site
+#              printf 'mirror://gnu/bash/bash-%s-patches/bash%s-%03d\n' \
+#                      ${MY_PV} ${MY_PV/\.} ${i}
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz
+       ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz
+       $(for ((i=1; i<=PLEVEL; i++)); do
+               printf 'ftp://ftp.cwru.edu/pub/bash/bash-%s-patches/bash%s-%03d\n' \
+                       ${MY_PV} ${MY_PV/\.} ${i}
+       done)
+       $(for ((i=1; i<=READLINE_PLEVEL; i++)); do
+               printf 'ftp://ftp.cwru.edu/pub/bash/readline-%s-patches/readline%s-%03d\n' \
+                       ${READLINE_VER} ${READLINE_VER/\.} ${i}
+               printf 'mirror://gnu/bash/readline-%s-patches/readline%s-%03d\n' \
+                       ${READLINE_VER} ${READLINE_VER/\.} ${i}
+       done)"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="afs bashlogger nls vanilla"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+       unpack ${MY_P}.tar.gz
+       cd "${S}"
+       epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
+
+       # Include official patches
+       local i
+       for ((i=1; i<=PLEVEL; i++)); do
+               epatch "${DISTDIR}"/${PN}${MY_PV/\.}-$(printf '%03d' ${i})
+       done
+       cd lib/readline
+       for ((i=1; i<=READLINE_PLEVEL; i++)); do
+               epatch "${DISTDIR}"/readline${READLINE_VER/\.}-$(printf '%03d' ${i})
+       done
+       cd ../..
+
+       if ! use vanilla ; then
+               epatch "${FILESDIR}"/${PN}-3.2-ulimit.patch
+               # Don't barf on handled signals in scripts
+               epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
+               epatch "${FILESDIR}"/${PN}-3.2-dev-fd-test-as-user.patch #131875
+               # Log bash commands to syslog #91327
+               if use bashlogger ; then
+                       echo
+                       ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
+                       ewarn "This will log ALL output you enter into the shell, you have been warned."
+                       ebeep
+                       epause
+                       epatch "${FILESDIR}"/${PN}-3.1-bash-logger.patch
+               fi
+       fi
+
+       epatch "${FILESDIR}"/${PN}-3.0-configs.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.
+       #myconf="${myconf} $(use_with !readline installed-readline)"
+       myconf="${myconf} --without-installed-readline"
+
+       # Don't even think about building this statically without
+       # reading Bug 7714 first.  If you still build it statically,
+       # don't come crying to use with bugs ;).
+       #use static && export LDFLAGS="${LDFLAGS} -static"
+       use nls || myconf="${myconf} --disable-nls"
+
+       # Force linking with system curses ... the bundled termcap lib
+       # sucks bad compared to ncurses
+       myconf="${myconf} --with-curses"
+
+       econf \
+               $(use_with afs) \
+               --disable-profiling \
+               --without-gnu-malloc \
+               ${myconf} || die
+       emake -j1 || die "make failed"  # see bug 102426
+}
+
+src_install() {
+       einstall || die
+
+       dodir /bin
+       mv "${D}"/usr/bin/bash "${D}"/bin/
+       [[ ${USERLAND} != "BSD" ]] && dosym bash /bin/sh
+       dosym bash /bin/rbash
+
+       insinto /etc/bash
+       doins "${FILESDIR}"/{bashrc,bash_logout}
+       insinto /etc/skel
+       for f in bash{_logout,_profile,rc} ; do
+               newins "${FILESDIR}"/dot-${f} .${f}
+       done
+
+       sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
+       sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
+
+       doman doc/*.1
+       dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+       dosym bash.info.gz /usr/share/info/bashref.info.gz
+}
+
+pkg_preinst() {
+       if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
+               mkdir -p "${ROOT}"/etc/bash
+               mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
+       fi
+
+       # our bash_logout is just a place holder so dont
+       # force users to go through etc-update all the time
+       if [[ -e ${ROOT}/etc/bash/bash_logout ]] ; then
+               rm -f "${D}"/etc/bash/bash_logout
+       fi
+}
diff --git a/app-shells/bash/files/digest-bash-3.2_p3 b/app-shells/bash/files/digest-bash-3.2_p3
new file mode 100644 (file)
index 0000000..e81ab95
--- /dev/null
@@ -0,0 +1,12 @@
+MD5 00bfa16d58e034e3c2aa27f390390d30 bash-3.2.tar.gz 2529838
+RMD160 a73f790817d98be375a36def567737498e33aaf1 bash-3.2.tar.gz 2529838
+SHA256 26c99025b59e30779300b68adb764f824974d267a4d7cc1b347d14a2393f9fb4 bash-3.2.tar.gz 2529838
+MD5 d8e10c754f477e3f3a581af566b89301 bash32-001 1539
+RMD160 633f6eb6b2b48345234c442b835abb94d10e0dad bash32-001 1539
+SHA256 beda60ce6186fafa36cd0a98db9ced42cff68daee4342cca73167fb0f2f43eaa bash32-001 1539
+MD5 d38a5288b2f0ea6c9ac76b66cc74ef7d bash32-002 1524
+RMD160 5d0f0dab859197784b15c683d54e7a505a8434c3 bash32-002 1524
+SHA256 a0ca49a3c47678ad074c990bdc871fcec680749b7f04f2def6527f04c589c40a bash32-002 1524
+MD5 0b90d37911827d8cb95f3b4353cc225e bash32-003 4599
+RMD160 efdcb4f8d6c800b5a3dab7bae37f95861bf186d8 bash32-003 4599
+SHA256 7ec9e5e7e402e43b12bfd3a9237f4f171029fc7f58e59335abf3ccb455a5a84d bash32-003 4599