summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-09-16 10:27:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-09-16 10:27:34 +0000
commite729047fdea6c4d6e4415f8ff485ef6922675597 (patch)
tree038b0d556c1a086fa9d0817de8b15e1ddf480786 /dev-util
parentVersion bump, cleaning old versions (diff)
downloadhistorical-e729047fdea6c4d6e4415f8ff485ef6922675597.tar.gz
historical-e729047fdea6c4d6e4415f8ff485ef6922675597.tar.bz2
historical-e729047fdea6c4d6e4415f8ff485ef6922675597.zip
Version bump, and block newer gdb versions.
Package-Manager: portage-2.2_rc82/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gdbserver/ChangeLog10
-rw-r--r--dev-util/gdbserver/Manifest15
-rw-r--r--dev-util/gdbserver/gdbserver-7.0.ebuild6
-rw-r--r--dev-util/gdbserver/gdbserver-7.2.ebuild68
4 files changed, 89 insertions, 10 deletions
diff --git a/dev-util/gdbserver/ChangeLog b/dev-util/gdbserver/ChangeLog
index 280ed2d200e0..ab20d5a8bcae 100644
--- a/dev-util/gdbserver/ChangeLog
+++ b/dev-util/gdbserver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/gdbserver
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/ChangeLog,v 1.1 2009/12/16 23:06:34 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/ChangeLog,v 1.2 2010/09/16 10:27:34 flameeyes Exp $
+
+*gdbserver-7.2 (16 Sep 2010)
+
+ 16 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ gdbserver-7.0.ebuild, +gdbserver-7.2.ebuild:
+ Version bump, and block newer gdb versions.
*gdbserver-7.0 (16 Dec 2009)
diff --git a/dev-util/gdbserver/Manifest b/dev-util/gdbserver/Manifest
index 1136d745617c..90e895a94d9d 100644
--- a/dev-util/gdbserver/Manifest
+++ b/dev-util/gdbserver/Manifest
@@ -3,13 +3,16 @@ Hash: SHA1
DIST gdb-7.0-patches-1.tar.lzma 10490 RMD160 84055872431d63052d0e1dea0fe0207121663cb1 SHA1 084edd4810732c3e2a09b2760306bae4a3d1459e SHA256 02139587efc8d01041c76a5b453f5d533ecc85d5980d45d7cd432aa80bc5e8ab
DIST gdb-7.0.tar.bz2 17604459 RMD160 a66d9c8d0aae72bbc9b6564139a95f548e3aa26d SHA1 8aed621b7ddb8c82b6ff213b56c028787db90582 SHA256 c750c695c8029da60688fc6584207fd1ea741a6b9e79e4ad03715bfbc2113ecd
-EBUILD gdbserver-7.0.ebuild 1746 RMD160 5952c86e0ec4e20491df35ee38a53548bc05b4d3 SHA1 db77ed5d31d946c385aef6ccec79ac958b9b4965 SHA256 bf9083c4a63d4cdaf35758a4d6839f67ecfd3da5adab0785c40dfe01642d14e9
-MISC ChangeLog 496 RMD160 1f177b16da43b40fc33f3c3a85a70bc77524525f SHA1 18ab22fcd26e05515aef9581c5eb97e5df56c8e0 SHA256 b644530fb3c5c5aa8b2136a51012c4c9da247e56fd71ccf5e034da2575c27237
+DIST gdb-7.2-patches-1.tar.xz 8908 RMD160 ca1ec5360ef2b575a548a75baeef90c4aec64138 SHA1 d91b1aa7d743cfbf98d1c72f6015dfa7b856fb86 SHA256 c091d46b869aec70ea507d93936d85e134002766808e38cc29d0a6f1f4898fab
+DIST gdb-7.2.tar.bz2 18530613 RMD160 2f2f5eb331593a276f1b7024ac35f7ca1520653d SHA1 cae138dee0c11778c471a1d5e4b09e0ae08f9e9d SHA256 bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0
+EBUILD gdbserver-7.0.ebuild 1789 RMD160 30bf7d71da0b2c5bdbc575173708ba4461d9b9d7 SHA1 7f8c3d4bb3df643629d8916049a95eeaccc31922 SHA256 90b3e84a4116c469356f09aa268ab21964ec2e1b3a720a74c9b2d8109d7e4767
+EBUILD gdbserver-7.2.ebuild 1744 RMD160 7c89a5ad48d3cfa67b3e1949b7c6c24dcffe683e SHA1 b1b2af0eb1143d9176a54f27b1080253f59bb669 SHA256 15f3f1c574b8ab823738ac106faac4764383648b94165d297701befbf380acef
+MISC ChangeLog 676 RMD160 10b054f07bb6ce68c3fb25153d7af971b5b0a7d4 SHA1 4f53d066eb45e267edf12f0db37fabde86595c69 SHA256 f3ed571dbd925f4461254672270a20e038b9eab7d49870281a277366237a54aa
MISC metadata.xml 235 RMD160 5a2732098c402f7b75c0631caf28b2f5c4c666f6 SHA1 9835dd713f593151a88b64eb119b4db7bd71bf52 SHA256 70b3f07ee9dd717a9daf832fc7ec44430733d90713f3504aaeaf6b5dcefe9176
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkspZ/sACgkQAiZjviIA2XixQACghN8Ge5IhF2k4AtJjgIPfHDUM
-exAAn3AZuXYa8tWksczrqEj3f39vcGhK
-=gDTm
+iEYEARECAAYFAkyR8TsACgkQAiZjviIA2XiqzQCgpB2T/DLA5hr8Zt1KKQBreb35
+mvsAoJjIk/hvEmHLyxg+oJfB7iDQkWZA
+=e23H
-----END PGP SIGNATURE-----
diff --git a/dev-util/gdbserver/gdbserver-7.0.ebuild b/dev-util/gdbserver/gdbserver-7.0.ebuild
index 501d86d53853..6e0511bf34ab 100644
--- a/dev-util/gdbserver/gdbserver-7.0.ebuild
+++ b/dev-util/gdbserver/gdbserver-7.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/gdbserver-7.0.ebuild,v 1.1 2009/12/16 23:06:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/gdbserver-7.0.ebuild,v 1.2 2010/09/16 10:27:34 flameeyes Exp $
inherit eutils flag-o-matic
@@ -24,6 +24,8 @@ SLOT="0"
RDEPEND=""
DEPEND="${RDEPEND}
${PATCH_VER:+!vanilla? ( || ( app-arch/xz-utils app-arch/lzma-utils ) )}"
+RDEPEND="${RDEPEND}
+ !>=sys-devel/gdb-7.2"
S="${WORKDIR}/${MY_P}/gdb/gdbserver"
diff --git a/dev-util/gdbserver/gdbserver-7.2.ebuild b/dev-util/gdbserver/gdbserver-7.2.ebuild
new file mode 100644
index 000000000000..a0875642068f
--- /dev/null
+++ b/dev-util/gdbserver/gdbserver-7.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/gdbserver-7.2.ebuild,v 1.1 2010/09/16 10:27:34 flameeyes Exp $
+
+EAPI=3
+
+inherit eutils flag-o-matic
+
+PATCH_VER="1"
+
+MY_P="gdb-${PV}"
+
+PATCH_VER="1"
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sources.redhat.com/gdb/"
+SRC_URI="http://ftp.gnu.org/gnu/gdb/${MY_P}.tar.bz2
+ ftp://sources.redhat.com/pub/gdb/releases/${MY_P}.tar.bz2
+ ${PATCH_VER:+!vanilla? ( mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz )}"
+
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64"
+IUSE="${PATCH_VER:+vanilla}"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ ${PATCH_VER:+!vanilla? ( app-arch/xz-utils )}"
+RDEPEND="${RDEPEND}
+ !>=sys-devel/gdb-7.2"
+
+S="${WORKDIR}/${MY_P}/gdb/gdbserver"
+
+src_prepare() {
+ cd "${WORKDIR}"/${MY_P}
+ use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+}
+
+gdb_branding() {
+ printf "Gentoo ${PV} "
+ if [[ -n ${PATCH_VER} ]] && ! use vanilla; 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/'
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README || die
+}
+
+pkg_postinst() {
+ elog "To attach to a gdbserver instance you're going to need the expat"
+ elog "USE flag for gdb to be enabled on the debug host (not the target)"
+ elog "otherwise it will fail to properly attach."
+ elog ""
+ elog "Remember that to cross-debug a target with a different architecture"
+ elog "you need a gdb for the same target, which gets installed with the"
+ elog "sys-devel/crossdev package and the --ex-gdb flag."
+}