diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-06-21 06:45:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-06-21 06:45:18 +0000 |
commit | a5b78e1abfbb49dfb2e76df409875ef02dd946f4 (patch) | |
tree | b1ab3065d18f18280584d0134a3afe41785a2a0f /sys-devel/gdb | |
parent | correct email address of Ken (diff) | |
download | historical-a5b78e1abfbb49dfb2e76df409875ef02dd946f4.tar.gz historical-a5b78e1abfbb49dfb2e76df409875ef02dd946f4.tar.bz2 historical-a5b78e1abfbb49dfb2e76df409875ef02dd946f4.zip |
Add some PIE patches #223533 by Magnus Granberg.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25 x86_64
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb/Manifest | 12 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-6.8-r1.ebuild | 86 |
3 files changed, 99 insertions, 6 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index ae4e0fb6ac5e..a56cabdb9518 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.142 2008/04/07 00:27:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.143 2008/06/21 06:45:18 vapier Exp $ + +*gdb-6.8-r1 (21 Jun 2008) + + 21 Jun 2008; Mike Frysinger <vapier@gentoo.org> +gdb-6.8-r1.ebuild: + Add some PIE patches #223533 by Magnus Granberg. 07 Apr 2008; Mike Frysinger <vapier@gentoo.org> gdb-6.8.ebuild: Workaround build failure with USE=multitarget #216368. diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index 7c8ff67ea24c..78b5e7914c83 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -10,6 +10,7 @@ DIST gdb-6.7.1-patches-1.3.tar.bz2 109192 RMD160 412c8ef3a4dd2073bd56b01d762af8c DIST gdb-6.7.1.tar.bz2 15080950 RMD160 c5ae709aefe75094c8d08341bfb882b490ddb2a2 SHA1 4ecfb5896d511111d9a5d91e937501caa9d33ced SHA256 f98cec38420f4f1ce3da2f16e6045f086d24dfcf05996b2d74f8620691442f62 DIST gdb-6.7.tar.bz2 15073550 RMD160 f0986444276aab71812de18a68d985c69bff053a SHA1 ae382e15bae724040612bab463f1df911ce0056e SHA256 ee9426b4e63414de2435a46f5f3f764fc2a343b9bc764de04e8652ab68c095b5 DIST gdb-6.8-patches-1.2.tar.lzma 99050 RMD160 788ce6d9ec97c5edb6d1e662fa0b49347bda063e SHA1 f9b2f9c1ad2832d5507f8f1b2acfe150382531f6 SHA256 140631a0bb19516eb3ff7045d7e8f8dadc1e3e717bdb39dbc7a8907470179534 +DIST gdb-6.8-patches-1.3.tar.lzma 122576 RMD160 aa6551a41e8116c8006fd17c00852ef1c5ef45c2 SHA1 6bbe3c4938ec11f88cecf47c0edca46d9e8dd359 SHA256 428deff35788ab4e7938eb978df7ea97e29d3947a50cfbbc982c9c0257d526ab DIST gdb-6.8.tar.bz2 15581509 RMD160 23fc9442290b6383ce8f943ef1eb117fa06e79fb SHA1 ba1394d59dd84a1dd3a83322bd82c799596f0bcf SHA256 eedffd586bf41cf2ae2f77e6819545d6eb1e5062052320a27332fdfaaebdf818 EBUILD gdb-6.6-r2.ebuild 1965 RMD160 dd9796c54dd064da5320890ae75b5daeb990966e SHA1 3fa16ab607a198a45df1c97a89ce014428e67cc0 SHA256 8616917d220910323743342822761795e29ee199e77fc7602ca9483e7e7d1e37 EBUILD gdb-6.7.1-r1.ebuild 2019 RMD160 2e6672ba901b1604da827f3ea144e0eee2017905 SHA1 41320faec8433881937795fc57d981dd0ea0f91f SHA256 900f1d97aa84d90c05f27feecac357da51b460982aa1c80da639c8d43db99c77 @@ -17,13 +18,14 @@ EBUILD gdb-6.7.1-r2.ebuild 2059 RMD160 d0ee80f1e74c86e984b39d39bb863fe9bd76372e EBUILD gdb-6.7.1-r3.ebuild 2057 RMD160 c0b55697d29010498fba876759fd5761ac30da33 SHA1 97aa63d6901f8ee641f0295d4e7ec3b0f718cf50 SHA256 e19744a4814fd530cde4420f1d24a81ae61c141b7f5f8866a8ae964e0a898b12 EBUILD gdb-6.7.1.ebuild 2006 RMD160 71ca5f9acbf6e910e7a35fdca3cf5cf3eed91200 SHA1 9f1a771042a178e04a1d91802dc4053a7f0a08f9 SHA256 779f8edfe16bf839cc7dea920e843047357910705d9a0e2f548d824fe801c7a2 EBUILD gdb-6.7.ebuild 2014 RMD160 b23a09a5d0d773d0b6e2404fd585561ee2925f48 SHA1 6520d8ece4ce1c3268c2f4cf0486c753ffb2c54c SHA256 b3d686f0ce7d5e3033b0239b4a45a984238df54cbb79593783369524ae088df6 +EBUILD gdb-6.8-r1.ebuild 2151 RMD160 e73f856bcb1d40fe402eb808e758dc262b1811c5 SHA1 3f23e2528f300b2e3dde22c721f28882ecb91b3c SHA256 b8f8b61c0459b50f3143031b7786a0394018b50daacf7934ebf48eca1268a9f7 EBUILD gdb-6.8.ebuild 2148 RMD160 79fc382fdfb90a2f9a5748c872db88839ab757bc SHA1 f461383d362a70e27078c8d745a8f87b2b669465 SHA256 339cd1cb813668c95551496284974003dc246beca8b830d23f3915ff45891953 -MISC ChangeLog 19477 RMD160 721f1d26da924fd2ec49718b587471be14fbe924 SHA1 0ad509acffe1383f5f9063a32768bdd90f2ae8d6 SHA256 00a44c4b9efbb201b12f294a1c1eb468cbee98e2e3bef0941d6f8b5b7d280a75 +MISC ChangeLog 19626 RMD160 8b72255f5a99fe1992ba58b0c2b90f256cbc8fa8 SHA1 9d2204c1d456e1343f1f40bcf3e2c20da9363032 SHA256 ad00eec6e826b8d3d7b1e9043ea849b180b5b200c587fe680ec86ca0a32c52f0 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v2.0.9 (GNU/Linux) -iD8DBQFH+qjBj9hvisErhMIRAqS/AKCHJ83OMq3dJWcJEhV1gkQ1wor6/ACgqXfI -ExLvPYIzcdZBrGjfq1U65ZY= -=z23w +iEYEARECAAYFAkhco4QACgkQ67wieSYcaxfnawCgsteogDRj3DcMY+g444lEEpfh +hQkAnAuQrx6egIx3+LX7/+Sfw6mgMc+q +=v+i/ -----END PGP SIGNATURE----- diff --git a/sys-devel/gdb/gdb-6.8-r1.ebuild b/sys-devel/gdb/gdb-6.8-r1.ebuild new file mode 100644 index 000000000000..e76bfc14f329 --- /dev/null +++ b/sys-devel/gdb/gdb-6.8-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.8-r1.ebuild,v 1.1 2008/06/21 06:45:18 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.3" +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.lzma" + +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="multitarget nls test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + sys-libs/readline" +DEPEND="${RDEPEND} + app-arch/lzma-utils + 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() { + strip-unsupported-flags + econf \ + --disable-werror \ + --with-system-readline \ + $(use_enable nls) \ + $(use multitarget && echo --enable-targets=all) \ + || die + emake || die +} + +src_test() { + make check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + 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 +} |