Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/unixtop: ChangeLog unixtop-3.8_beta1-r2.ebuild
Date: Mon, 25 Jan 2010 18:36:58
Message-Id: E1NZTnu-0006Mm-GV@stork.gentoo.org
1 grobian 10/01/25 18:36:50
2
3 Modified: ChangeLog
4 Added: unixtop-3.8_beta1-r2.ebuild
5 Log:
6 Add patch for top crashing when high thread-id's are involved, thanks calculuspenguin for the pointer in bug #302142
7 (Portage version: 2.2.00.15200-prefix/cvs/Darwin powerpc)
8
9 Revision Changes Path
10 1.3 sys-process/unixtop/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/unixtop/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/unixtop/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/unixtop/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/unixtop/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 15 Jan 2010 19:55:39 -0000 1.2
23 +++ ChangeLog 25 Jan 2010 18:36:49 -0000 1.3
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sys-process/unixtop
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/unixtop/ChangeLog,v 1.2 2010/01/15 19:55:39 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-process/unixtop/ChangeLog,v 1.3 2010/01/25 18:36:49 grobian Exp $
29 +
30 +*unixtop-3.8_beta1-r2 (25 Jan 2010)
31 +
32 + 25 Jan 2010; Fabian Groffen <grobian@g.o>
33 + +unixtop-3.8_beta1-r2.ebuild,
34 + +files/unixtop-3.8_beta1-high-threadid-crash.patch:
35 + Add patch for top crashing when high thread-id's are involved, thanks
36 + calculuspenguin for the pointer in bug #302142
37
38 15 Jan 2010; Ulrich Mueller <ulm@g.o> unixtop-3.8_beta1-r1.ebuild:
39 LICENSE is identical with BSD, bug 301123.
40
41
42
43 1.1 sys-process/unixtop/unixtop-3.8_beta1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/unixtop/unixtop-3.8_beta1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/unixtop/unixtop-3.8_beta1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: unixtop-3.8_beta1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-process/unixtop/unixtop-3.8_beta1-r2.ebuild,v 1.1 2010/01/25 18:36:49 grobian Exp $
53
54 inherit eutils autotools
55
56 DESCRIPTION="top for UNIX systems"
57 HOMEPAGE="http://unixtop.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/unixtop/top-${PV/_/}.tar.bz2"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
63 IUSE=""
64
65 RDEPEND="sys-libs/ncurses"
66 DEPEND="${RDEPEND}"
67
68 S=${WORKDIR}/top-${PV/_/}
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 epatch "${FILESDIR}"/${P}-ncurses.patch
74 epatch "${FILESDIR}"/${P}-no-AX-macros.patch
75 epatch "${FILESDIR}"/${P}-renice-segfault.patch
76 epatch "${FILESDIR}"/${P}-memleak-fix.patch
77 epatch "${FILESDIR}"/${P}-high-threadid-crash.patch
78 eautoreconf
79 }
80
81 src_compile() {
82 local myconf=
83
84 # don't do bi-arch cruft on hosts that support that, such as Solaris
85 export enable_dualarch=no
86
87 # configure demands an override because on OSX this is "experimental"
88 [[ ${CHOST} == *-darwin* ]] && myconf="${myconf} --with-module=macosx"
89
90 econf ${myconf} || die
91 emake || die
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install
96 dodoc README FAQ Y2K
97 }