diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-09-07 00:07:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-09-07 00:07:54 +0000 |
commit | dc064da77bfa5ad69629641a6a7eb39e23cb6baa (patch) | |
tree | 34c2ceacdfb5c38db71ef157bcda42be2a096f69 /sys-devel/gdb | |
parent | Version bump via perl-bump experimental tool. (diff) | |
download | historical-dc064da77bfa5ad69629641a6a7eb39e23cb6baa.tar.gz historical-dc064da77bfa5ad69629641a6a7eb39e23cb6baa.tar.bz2 historical-dc064da77bfa5ad69629641a6a7eb39e23cb6baa.zip |
Version bump and sync live ebuilds with release.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/gdb/Manifest | 17 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-7.3.1.ebuild | 145 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-9999.ebuild | 4 |
4 files changed, 164 insertions, 10 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index 19d037384f24..22adbdcec0d8 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.190 2011/09/03 14:54:16 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.191 2011/09/07 00:07:54 vapier Exp $ + +*gdb-7.3.1 (07 Sep 2011) + + 07 Sep 2011; Mike Frysinger <vapier@gentoo.org> +gdb-7.3.1.ebuild, + gdb-9999.ebuild: + Version bump and sync live ebuilds with release. 03 Sep 2011; Fabian Groffen <grobian@gentoo.org> gdb-7.2.ebuild, gdb-7.3.ebuild, gdb-9999.ebuild: diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index 2b5c4fb38924..336efedd64c3 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 DIST gdb-6.6-patches-1.3.tar.bz2 15697 RMD160 b9b8576241c1df2288a2473b606155d1e14b0f0a SHA1 075eb0f1817963d0a1fab400d3183bc8d976a208 SHA256 7911134ce63ede4e1a45488481cf7cdc1b69ab00c8b3a432983344ff95a0051e DIST gdb-6.6.tar.bz2 14535755 RMD160 6430798ba47a1913676622db9a73bf2bcfa703be SHA1 744bd0f0740dfe6527036b1dda8fe6a08adbbaeb SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd @@ -16,6 +16,8 @@ DIST gdb-7.2-patches-1.tar.xz 8908 RMD160 ca1ec5360ef2b575a548a75baeef90c4aec641 DIST gdb-7.2.50.20101117-4.fc15.src.rpm 20026108 RMD160 3a29004cb9806c235ad6cf9107eecf9cf26ebc55 SHA1 0a5c3bc903c77ab07f8813be5484cb0716864577 SHA256 7af3cc31317cc4fcc7530ac23d86baa570309095a7c4e8a7999a830ff6f07ca7 DIST gdb-7.2.tar.bz2 18530613 RMD160 2f2f5eb331593a276f1b7024ac35f7ca1520653d SHA1 cae138dee0c11778c471a1d5e4b09e0ae08f9e9d SHA256 bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0 DIST gdb-7.3-patches-1.tar.xz 8192 RMD160 43af2b58ecb0a72a1c3b1a7d8cda7e52befd0894 SHA1 96fd454e8dc79ddf242d059d0167329e75cf6645 SHA256 9b6cd79b0a769a1c3575830702c151859f1188d162699edaf4779e54dc13b6ed +DIST gdb-7.3.1-patches-1.tar.xz 8196 RMD160 d58126b5855ac129f49d58a2517b12f2b5581d2d SHA1 9365d1e04815958fe7739cbc7b8fbdfe2e3e560e SHA256 ebf99308311469a3fd7ef7b852c0454d3f62fb97394ab391c17e4a34c2364dc3 +DIST gdb-7.3.1.tar.bz2 19500995 RMD160 6350a786b2f60dd46386454ebab0effc67ed169f SHA1 e57f2c7f93536ef54fab728eb733bf2c36550718 SHA256 6d7bff716fde98d03866a1b747c0929ee7dba49bca13e01d975e0b0fa9b33a28 DIST gdb-7.3.tar.bz2 19091650 RMD160 3df9a15e2d276f4f7f30e5d2a7d86a8c63f30a34 SHA1 fefd90275d6decdca00c5c29c533e2ef3d439664 SHA256 f9edc83ed921660b77aa2b2fc168b81639aab0f49a94d4b38f2f01bf51d5d2ba EBUILD gdb-6.6-r2.ebuild 1964 RMD160 522212e7c5fd6fec62365b4d8db0f2b7c7e88f13 SHA1 8ce52c66393e070af15c25e4bf1f7b1c92ad91c3 SHA256 87d757b1eab540d2b36708dcd661faf240638634d83fe94374afa77eb5f8b14c EBUILD gdb-6.7.1-r3.ebuild 2057 RMD160 c0b55697d29010498fba876759fd5761ac30da33 SHA1 97aa63d6901f8ee641f0295d4e7ec3b0f718cf50 SHA256 e19744a4814fd530cde4420f1d24a81ae61c141b7f5f8866a8ae964e0a898b12 @@ -25,14 +27,15 @@ EBUILD gdb-7.0.1.ebuild 2662 RMD160 b0b28b127070a76420944c4b33bed46f73bf79b3 SHA EBUILD gdb-7.1.ebuild 2621 RMD160 11f84a78dbe93023ad5ee5cb726284f84bba8d3b SHA1 288f227938c607bc551e190a80a2e460e2be6e21 SHA256 46ba95a663ac81bfdb61b43f0b19ab05ae6f287fdd49a5174f492fe1cf5aca36 EBUILD gdb-7.2.50.20101117.4.15.ebuild 3089 RMD160 b6ecd83162d74f5977678a1b48625949a2ef897b SHA1 0b73196b1914b7a4aaebc07f96c20ab293bd80bc SHA256 8f4c0108099ddc82cafd77896a1fa1b07a30f0bfec02909d61a84b9b93b070fc EBUILD gdb-7.2.ebuild 3498 RMD160 97d6ae6747660a07b8587d1c9bd92d99fb4261b4 SHA1 60236219e3e25cc8df44735fd45668d0b222e1d1 SHA256 72398724872bd5cd6c5a2b7d5881f8958bcc8958fdbcbb59e2772005cb964817 +EBUILD gdb-7.3.1.ebuild 3780 RMD160 6ba00fafd9d694cc79c676a0904d2a9b6d49f6e7 SHA1 26cbc3dd04b33bff7956e5de651dc6e279e0c1be SHA256 d6ba6613464d98f518bfc97e4f63eab7db71bffef89cf233abb9f3e8e490d9a7 EBUILD gdb-7.3.ebuild 3801 RMD160 59f24f3a7276a440fc4162863d52706febadea9b SHA1 a0a4aa9d51c7e5396d53e40536117b6c86277c30 SHA256 69aa29131061561ec60165e2f65e74a897ae2a5f51799ddce2c048a7a6606855 -EBUILD gdb-9999.ebuild 3779 RMD160 47bd3de46dfa89ff8f3b14f9f97240c0b3646d9a SHA1 a986ce45ea639c77694f121e12ad5fe7a5d76b33 SHA256 58b104a9807fd5d24d86d3716fbdc419461398d74e0f2dd27d6fce8dcb3abd9d -MISC ChangeLog 25389 RMD160 156a897d5057facb70d84273ddfda61ca5af1bb5 SHA1 491867f06f668d4e333f91bbe8918ed57af0e741 SHA256 71a36dc7871d4f580ffe517f3740915273287e1198c2b98cdabbb8ac6aa8b10c +EBUILD gdb-9999.ebuild 3800 RMD160 370b45bb57ab94b9364ba65b5fd0e9b449a580c1 SHA1 6aa3dbd38abba4a1e36c00815a898aaf84c7c2c1 SHA256 51d8a2182dc8ec12fd952e3b891ca725b5e402aa397644c4ab059c4ed62ec7c5 +MISC ChangeLog 25554 RMD160 7f2cc403e57b70f15621f4caf36d5d2d99ab1395 SHA1 bb892a7858e29c17b805478b344178f426c21dd1 SHA256 76c7c4551e28f026a2cb0ae30ac7573d185e8283539cff0568f9efc3a2126e3f MISC metadata.xml 252 RMD160 13550896f405ea2c00c68851097c455b13211ea8 SHA1 66fb63761a7800e71fa8d88244676f588c1e3490 SHA256 2bda98dae8fab414bb0fe138ac6cc256ad1bbdc031937ab18990674fc58f1e9e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (Darwin) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk5iP54ACgkQX3X2B8XHTolG5ACglGVlHSGSyenT/esp2xTocWNW -M8AAoJpNcexJvxSxvC4U+MQL/9R5Xuxh -=0h0w +iF4EAREIAAYFAk5mteUACgkQaC/OocHi7JYQAgEAgguxnIzv8y7vqwTPQH2e8j5O +zqWwF3gDI2AThFSnnvAA/3GgOen9pkN7kUsbq7I5z0Y174dxxpcNufyR1Iq8uUln +=ou1Y -----END PGP SIGNATURE----- diff --git a/sys-devel/gdb/gdb-7.3.1.ebuild b/sys-devel/gdb/gdb-7.3.1.ebuild new file mode 100644 index 000000000000..7ce125d98289 --- /dev/null +++ b/sys-devel/gdb/gdb-7.3.1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.3.1.ebuild,v 1.1 2011/09/07 00:07:54 vapier Exp $ + +EAPI="3" + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +RPM= +MY_PV=${PV} +case ${PV} in +*.*.*.*.*.*) + # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm + inherit versionator rpm + gvcr() { get_version_component_range "$@"; } + MY_PV=$(gvcr 1-4) + RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" + SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" + ;; +*.*.50.*) + # weekly snapshots + SRC_URI="ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" + ;; +9999*) + # live git tree + EGIT_REPO_URI="git://sourceware.org/git/gdb.git" + inherit git-2 + SRC_URI="" + ;; +*) + # Normal upstream release + SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2" + ;; +esac + +PATCH_VER="1" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sourceware.org/gdb/" +SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" + +LICENSE="GPL-2 LGPL-2" +is_cross \ + && SLOT="${CTARGET}" \ + || SLOT="0" +if [[ ${PV} != 9999* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" +fi +IUSE="expat multitarget nls python test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + sys-libs/readline + expat? ( dev-libs/expat ) + python? ( =dev-lang/python-2* )" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/yacc + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec + use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + strip-linguas -u bfd/po opcodes/po +} + +gdb_branding() { + printf "Gentoo ${PV} " + if [[ -n ${PATCH_VER} ]] ; then + printf "p${PATCH_VER}" + else + printf "vanilla" + fi +} + +src_configure() { + strip-unsupported-flags + econf \ + --with-pkgversion="$(gdb_branding)" \ + --with-bugurl='http://bugs.gentoo.org/' \ + --disable-werror \ + --enable-64-bit-bfd \ + --with-system-readline \ + --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug \ + $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) \ + $(use_with expat) \ + $(use_enable nls) \ + $(use multitarget && echo --enable-targets=all) \ + $(use_with python python "${EPREFIX}/usr/bin/python2") +} + +src_test() { + emake check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + {include,lib}dir=/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 "${ED}"/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 + + if [[ -n ${PATCH_VER} ]] ; then + dodoc "${WORKDIR}"/extra/gdbinit.sample + fi + + # Remove shared info pages + rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${ROOT}"/etc/skel/.gdbinit + + if use prefix && [[ ${CHOST} == *-darwin* ]] ; then + ewarn "gdb is unable to get a mach task port when installed by Prefix" + ewarn "Portage, unprivileged. To make gdb fully functional you'll" + ewarn "have to perform the following steps:" + ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" + ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" + fi +} diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild index a6b7bf61b3d9..5b0f34b1ad91 100644 --- a/sys-devel/gdb/gdb-9999.ebuild +++ b/sys-devel/gdb/gdb-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v 1.4 2011/09/03 14:54:16 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v 1.5 2011/09/07 00:07:54 vapier Exp $ EAPI="3" @@ -52,7 +52,7 @@ is_cross \ && SLOT="${CTARGET}" \ || SLOT="0" if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-macos" fi IUSE="expat multitarget nls python test vanilla" |