From: | "Sebastian Pipping (sping)" <sping@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-process/atop: ChangeLog atop-1.26-r1.ebuild |
Date: | Mon, 09 Jan 2012 21:46:10 |
Message-Id: | 20120109214556.21E212004B@flycatcher.gentoo.org |
1 | sping 12/01/09 21:45:56 |
2 | |
3 | Modified: ChangeLog |
4 | Added: atop-1.26-r1.ebuild |
5 | Log: |
6 | sys-process/atop: 1.26-r1 |
7 | |
8 | (Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.37 sys-process/atop/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/ChangeLog?rev=1.37&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/ChangeLog?rev=1.37&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/ChangeLog?r1=1.36&r2=1.37 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v |
20 | retrieving revision 1.36 |
21 | retrieving revision 1.37 |
22 | diff -u -r1.36 -r1.37 |
23 | --- ChangeLog 13 Dec 2010 10:25:36 -0000 1.36 |
24 | +++ ChangeLog 9 Jan 2012 21:45:56 -0000 1.37 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-process/atop |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.36 2010/12/13 10:25:36 vapier Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.37 2012/01/09 21:45:56 sping Exp $ |
31 | + |
32 | +*atop-1.26-r1 (09 Jan 2012) |
33 | + |
34 | + 09 Jan 2012; Sebastian Pipping <sping@g.o> +atop-1.26-r1.ebuild, |
35 | + +files/atop-1.26-cve-2011-3618.patch: |
36 | + Integrate custom patch for CVE-2011-3618 (bug #363887) |
37 | |
38 | *atop-1.26 (13 Dec 2010) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sys-process/atop/atop-1.26-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/atop-1.26-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/atop-1.26-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: atop-1.26-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-1.26-r1.ebuild,v 1.1 2012/01/09 21:45:56 sping Exp $ |
53 | |
54 | EAPI="3" |
55 | |
56 | inherit eutils toolchain-funcs |
57 | |
58 | DESCRIPTION="Resource-specific view of processes" |
59 | HOMEPAGE="http://www.atoptool.nl/" |
60 | SRC_URI="http://www.atoptool.nl/download/${P}.tar.gz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86" |
65 | IUSE="" |
66 | |
67 | DEPEND="sys-process/acct" |
68 | |
69 | src_prepare() { |
70 | sed -i \ |
71 | -e '/^CFLAGS/s: = -O : += :' \ |
72 | -e '/^LDFLAGS/s: = : += :' \ |
73 | -e 's:\<cc\>:$(CC):' \ |
74 | Makefile |
75 | tc-export CC |
76 | cp "${FILESDIR}"/atop.rc atop.init |
77 | chmod a+rx atop.init |
78 | sed -i 's: root : :' atop.cron #191926 |
79 | |
80 | epatch "${FILESDIR}"/${P}-cve-2011-3618.patch # bug 363887 |
81 | } |
82 | |
83 | src_install() { |
84 | emake DESTDIR="${D}" INIPATH=/etc/init.d install || die |
85 | # useless -${PV} copies ? |
86 | rm -f "${D}"/usr/bin/atop*-${PV} |
87 | dodoc README "${D}"/etc/cron.d/* |
88 | rm -r "${D}"/etc/cron.d || die |
89 | } |