# ChangeLog for sys-devel/gdb
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.109 2007/03/16 17:28:56 yoswink Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.110 2007/03/31 21:46:55 vapier Exp $
+
+*gdb-6.6-r2 (31 Mar 2007)
+
+ 31 Mar 2007; Mike Frysinger <vapier@gentoo.org> +gdb-6.6-r2.ebuild:
+ Fix .gdbinit checks #169609 and add stack overflow checks #144833 by Tavis
+ Ormandy.
16 Mar 2007; Jose Luis Rivero <yoswink@gentoo.org> gdb-6.6.ebuild:
Stable on alpha wrt bug #164336
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX bfd-malloc-wrap.patch 782 RMD160 bf78ccc07532337d43abff34f84346a0dafc158f SHA1 21ebd0dea99f2fd4949bd9afc4045f3846128cec SHA256 be05f1eebc7debae1406bc951eeb44c90e8c3fe9e3c86b52df51584e793e4330
MD5 d3ab2683d88b3cbecb8a9faa439703a1 files/bfd-malloc-wrap.patch 782
RMD160 bf78ccc07532337d43abff34f84346a0dafc158f files/bfd-malloc-wrap.patch 782
DIST gdb-6.5.tar.bz2 14303558 RMD160 ec5138a833d0f67b3e27fde653f1a80dec79b99f SHA1 4ec883314affaecc564fd5980996b4e81119a886 SHA256 0011318d9720781d486c835e88b915f90f2c10e7101d648b64dd4739218d3faf
DIST gdb-6.6-patches-1.0.tar.bz2 9961 RMD160 01c2b749fbd0468a2d91e78c3dac6376d453e128 SHA1 ce5fbba32dc926915f3966996368f1c698262f69 SHA256 745e82cd043ca8a3ca6b45c3c10e1f7670f111b19fbe18276929589dfacfe510
DIST gdb-6.6-patches-1.1.tar.bz2 10749 RMD160 033c9efb72902e255bbf03cf98bee23f2b5e8653 SHA1 65240f3117a8d12a69db5c79e73272582ccb77a5 SHA256 75ac23ad8690c560166920701e0a4f8e2bd8437ca9db35f6a00faf3207d4578e
+DIST gdb-6.6-patches-1.2.tar.bz2 13381 RMD160 abc0cbb182c617e0a2e12eb6551d35659cdcdbd0 SHA1 c69d70d570912bf8d70c3c1ae2a7264d44a16810 SHA256 a0efb262c5a57383ea070d98ee0a67f9de463ba6867b76fab320e4cf5f366b2b
DIST gdb-6.6.tar.bz2 14535755 RMD160 6430798ba47a1913676622db9a73bf2bcfa703be SHA1 744bd0f0740dfe6527036b1dda8fe6a08adbbaeb SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd
DIST gdb_6.3-6.diff.gz 201861 RMD160 9b55f1925a84002e25b4e82aa41abc55d79ac771 SHA1 8e6e1655f40f83d812f9e5a16c8c328def97dbe3 SHA256 9ef1f8a7f0b8c9d539ac93d997901ef34cdad7a5af9594463f51f3cb934b17e9
DIST gdb_init.txt.bz2 6247 RMD160 877e32656cd77f0083cc2506795979884671b7d4 SHA1 5fab02365c535e9c7df3cb541e3e61cf7ff58b01 SHA256 dbd88def6a317eba947a7c37af471d9deb447c4a9906322c1afccd6537f1c724
MD5 426f56ae15b116e04dfd3dedcc9ea5bb gdb-6.6-r1.ebuild 1975
RMD160 4db1481ca78feb1da35c9a8ccfcaa0aaece39439 gdb-6.6-r1.ebuild 1975
SHA256 1c6a1c9c2a2928a9b1dca5730c94d7ac873e46132ac13c30a236bc5b7dc3ad56 gdb-6.6-r1.ebuild 1975
+EBUILD gdb-6.6-r2.ebuild 1975 RMD160 e0f5ef8b40cc493874b4676afde8b522d60b66f5 SHA1 ae1790fc7633226cd19878993a9aab323c9178d2 SHA256 a2a909e15704b15c5e6b8a5c1738a1e542276e87ca9aaf311dede5ec257f5d00
+MD5 030e56ba1a14e769010eb830e2dd30e3 gdb-6.6-r2.ebuild 1975
+RMD160 e0f5ef8b40cc493874b4676afde8b522d60b66f5 gdb-6.6-r2.ebuild 1975
+SHA256 a2a909e15704b15c5e6b8a5c1738a1e542276e87ca9aaf311dede5ec257f5d00 gdb-6.6-r2.ebuild 1975
EBUILD gdb-6.6.ebuild 1963 RMD160 b08bd675705f792c39c84bbef33226d53ca9e0a8 SHA1 bf73a171462001d0c609702f46e00854ddfa5d94 SHA256 479a0200e076064a0c6cd2573dc8a29375903d3112ead36c5e23d182a0ed124c
MD5 b9ec80ab893aad7ef27b545dac52e1ef gdb-6.6.ebuild 1963
RMD160 b08bd675705f792c39c84bbef33226d53ca9e0a8 gdb-6.6.ebuild 1963
SHA256 479a0200e076064a0c6cd2573dc8a29375903d3112ead36c5e23d182a0ed124c gdb-6.6.ebuild 1963
-MISC ChangeLog 15693 RMD160 6d5c425651ba5b7c56c72eec4f4b26b57cc25162 SHA1 61ecdef1d4e455b859e7969b961f86195680b87d SHA256 c8cf3634f89fa739fba2747f9b64607cb9013acfab0f74e00618e67b74ba9dca
-MD5 d426365cf33e56e9743f44fd33d39a35 ChangeLog 15693
-RMD160 6d5c425651ba5b7c56c72eec4f4b26b57cc25162 ChangeLog 15693
-SHA256 c8cf3634f89fa739fba2747f9b64607cb9013acfab0f74e00618e67b74ba9dca ChangeLog 15693
+MISC ChangeLog 15878 RMD160 b77a0cdb65164b7d8f74d13d64d1f48fec8bf3cb SHA1 84c1725ea0b83244b166793a2e432693a4c8ff86 SHA256 63c1d5c86adf4f4717590a39d5678a5f0aab397afd726dd7ef728e76ae386749
+MD5 f2ce40867a36a69f2f65643eabc1bf08 ChangeLog 15878
+RMD160 b77a0cdb65164b7d8f74d13d64d1f48fec8bf3cb ChangeLog 15878
+SHA256 63c1d5c86adf4f4717590a39d5678a5f0aab397afd726dd7ef728e76ae386749 ChangeLog 15878
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
MD5 db8aa66bf79fc356dfa627bfe5bb6f3e files/digest-gdb-6.6-r1 491
RMD160 3e536f7a35c2aabb1db7d9a7d76209b1fdd5a89c files/digest-gdb-6.6-r1 491
SHA256 d3513dc00a21d23a89509c414d36e27af128fd6726884fbbd1040dcbb9e923e4 files/digest-gdb-6.6-r1 491
+MD5 a768ea8738a7204872e0f7a754d165b0 files/digest-gdb-6.6-r2 491
+RMD160 282a27805200653f8baac4b4f5e7c29479e38f20 files/digest-gdb-6.6-r2 491
+SHA256 b3e3a47868f5d39f753f05f13a5cdb422ef938ceddd209750472d4feee181b32 files/digest-gdb-6.6-r2 491
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGDtbu8bi6rjpTunYRApKXAJ4pqtS0H09OQFuq+uTEAC7oykfdMgCg2b5p
+v8rkkImIeACvWj3sVResUZs=
+=GXj1
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.6-r2.ebuild,v 1.1 2007/03/31 21:46:55 vapier Exp $
+
+inherit flag-o-matic eutils
+
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+PATCH_VER="1.2"
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sources.redhat.com/gdb/"
+SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2
+ ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2
+ mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
+IUSE="nls test vanilla"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2"
+DEPEND="${RDEPEND}
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+ strip-linguas -u bfd/po opcodes/po
+}
+
+src_compile() {
+ replace-flags -O? -O2
+ econf \
+ --disable-werror \
+ $(use_enable nls) \
+ || die
+ emake || die
+}
+
+src_test() {
+ make check || ewarn "tests failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ libdir=/nukeme includedir=/nukeme \
+ install || die
+ rm -r "${D}"/nukeme || die
+
+ # Don't install docs when building a cross-gdb
+ if [[ ${CTARGET} != ${CHOST} ]] ; then
+ rm -r "${D}"/usr/share
+ return 0
+ fi
+
+ dodoc README
+ docinto gdb
+ dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \
+ gdb/NEWS gdb/ChangeLog gdb/PROBLEMS
+ docinto sim
+ dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING
+
+ dodoc "${WORKDIR}"/extra/gdbinit.sample
+
+ # Remove shared info pages
+ rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info*
+}
+
+pkg_postinst() {
+ # portage sucks and doesnt unmerge files in /etc
+ rm -vf "${ROOT}"/etc/skel/.gdbinit
+}