From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/gdbserver: gdbserver-7.3.1.ebuild ChangeLog |
Date: | Wed, 21 Dec 2011 21:27:06 |
Message-Id: | 20111221212655.2B9EB2004B@flycatcher.gentoo.org |
1 | flameeyes 11/12/21 21:26:55 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gdbserver-7.3.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.3 dev-util/gdbserver/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbserver/ChangeLog?rev=1.3&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbserver/ChangeLog?rev=1.3&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbserver/ChangeLog?r1=1.2&r2=1.3 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-util/gdbserver/ChangeLog,v |
20 | retrieving revision 1.2 |
21 | retrieving revision 1.3 |
22 | diff -u -r1.2 -r1.3 |
23 | --- ChangeLog 16 Sep 2010 10:27:34 -0000 1.2 |
24 | +++ ChangeLog 21 Dec 2011 21:26:54 -0000 1.3 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-util/gdbserver |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/ChangeLog,v 1.2 2010/09/16 10:27:34 flameeyes Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/ChangeLog,v 1.3 2011/12/21 21:26:54 flameeyes Exp $ |
31 | + |
32 | +*gdbserver-7.3.1 (21 Dec 2011) |
33 | + |
34 | + 21 Dec 2011; Diego E. Pettenò <flameeyes@g.o> +gdbserver-7.3.1.ebuild: |
35 | + Version bump. |
36 | |
37 | *gdbserver-7.2 (16 Sep 2010) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-util/gdbserver/gdbserver-7.3.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbserver/gdbserver-7.3.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbserver/gdbserver-7.3.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gdbserver-7.3.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-util/gdbserver/gdbserver-7.3.1.ebuild,v 1.1 2011/12/21 21:26:54 flameeyes Exp $ |
52 | |
53 | EAPI=3 |
54 | |
55 | inherit eutils flag-o-matic |
56 | |
57 | PATCH_VER="2" |
58 | |
59 | MY_P="gdb-${PV}" |
60 | |
61 | PATCH_VER="1" |
62 | DESCRIPTION="GNU debugger" |
63 | HOMEPAGE="http://sources.redhat.com/gdb/" |
64 | SRC_URI="http://ftp.gnu.org/gnu/gdb/${MY_P}.tar.bz2 |
65 | ftp://sources.redhat.com/pub/gdb/releases/${MY_P}.tar.bz2 |
66 | ${PATCH_VER:+!vanilla? ( mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz )}" |
67 | |
68 | LICENSE="GPL-2" |
69 | |
70 | KEYWORDS="~amd64" |
71 | IUSE="${PATCH_VER:+vanilla}" |
72 | SLOT="0" |
73 | |
74 | RDEPEND="" |
75 | DEPEND="${RDEPEND} |
76 | ${PATCH_VER:+!vanilla? ( app-arch/xz-utils )}" |
77 | RDEPEND="${RDEPEND} |
78 | !>=sys-devel/gdb-7.2" |
79 | |
80 | S="${WORKDIR}/${MY_P}/gdb/gdbserver" |
81 | |
82 | src_prepare() { |
83 | cd "${WORKDIR}"/${MY_P} |
84 | use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
85 | } |
86 | |
87 | gdb_branding() { |
88 | printf "Gentoo ${PV} " |
89 | if [[ -n ${PATCH_VER} ]] && ! use vanilla; then |
90 | printf "p${PATCH_VER}" |
91 | else |
92 | printf "vanilla" |
93 | fi |
94 | } |
95 | |
96 | src_configure() { |
97 | strip-unsupported-flags |
98 | econf \ |
99 | --disable-werror \ |
100 | --with-pkgversion="$(gdb_branding)" \ |
101 | --with-bugurl='http://bugs.gentoo.org/' |
102 | } |
103 | |
104 | src_install() { |
105 | emake DESTDIR="${D}" install || die |
106 | dodoc ChangeLog README || die |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | elog "To attach to a gdbserver instance you're going to need the expat" |
111 | elog "USE flag for gdb to be enabled on the debug host (not the target)" |
112 | elog "otherwise it will fail to properly attach." |
113 | elog "" |
114 | elog "Remember that to cross-debug a target with a different architecture" |
115 | elog "you need a gdb for the same target, which gets installed with the" |
116 | elog "sys-devel/crossdev package and the --ex-gdb flag." |
117 | } |