summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-24 02:44:35 +0000
committerMike Frysinger <vapier@gentoo.org>2012-12-24 02:44:35 +0000
commit460b704a8a702907327e013f67af8b04ec38d01b (patch)
treef6e451f455f938bec789c110bcde697158dddd1d /sys-process/atop
parentVersion bump. (diff)
downloadgentoo-2-460b704a8a702907327e013f67af8b04ec38d01b.tar.gz
gentoo-2-460b704a8a702907327e013f67af8b04ec38d01b.tar.bz2
gentoo-2-460b704a8a702907327e013f67af8b04ec38d01b.zip
Version bump #439806 by Sebastian Pipping.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-process/atop')
-rw-r--r--sys-process/atop/ChangeLog8
-rw-r--r--sys-process/atop/atop-2.0.2.ebuild39
-rw-r--r--sys-process/atop/files/atop-2.0.2-build.patch20
3 files changed, 66 insertions, 1 deletions
diff --git a/sys-process/atop/ChangeLog b/sys-process/atop/ChangeLog
index 153e3b87e778..d648acf47a9a 100644
--- a/sys-process/atop/ChangeLog
+++ b/sys-process/atop/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-process/atop
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.44 2012/07/28 16:20:40 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.45 2012/12/24 02:44:34 vapier Exp $
+
+*atop-2.0.2 (24 Dec 2012)
+
+ 24 Dec 2012; Mike Frysinger <vapier@gentoo.org> +atop-2.0.2.ebuild,
+ +files/atop-2.0.2-build.patch:
+ Version bump #439806 by Sebastian Pipping.
28 Jul 2012; Anthony G. Basile <blueness@gentoo.org> atop-1.27_p3.ebuild:
Keyword ~mips
diff --git a/sys-process/atop/atop-2.0.2.ebuild b/sys-process/atop/atop-2.0.2.ebuild
new file mode 100644
index 000000000000..d98461fa58cc
--- /dev/null
+++ b/sys-process/atop/atop-2.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-2.0.2.ebuild,v 1.1 2012/12/24 02:44:34 vapier Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_PV=${PV//_p/-}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Resource-specific view of processes"
+HOMEPAGE="http://www.atoptool.nl/"
+SRC_URI="http://www.atoptool.nl/download/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="sys-process/acct"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.2-build.patch
+ tc-export CC
+ cp "${FILESDIR}"/atop.rc atop.init
+ chmod a+rx atop.init
+ sed -i 's: root : :' atop.cron #191926
+}
+
+src_install() {
+ default
+ # useless -${PV} copies ?
+ rm -f "${D}"/usr/bin/atop*-${PV}
+ dodoc "${D}"/etc/cron.d/*
+ rm -r "${D}"/etc/cron.d || die
+}
diff --git a/sys-process/atop/files/atop-2.0.2-build.patch b/sys-process/atop/files/atop-2.0.2-build.patch
new file mode 100644
index 000000000000..c36329c52b3b
--- /dev/null
+++ b/sys-process/atop/files/atop-2.0.2-build.patch
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -15,7 +15,7 @@ ROTPATH = /etc/logrotate.d
+ PMPATH1 = /usr/lib/pm-utils/sleep.d
+ PMPATH2 = /usr/lib64/pm-utils/sleep.d
+
+-CFLAGS += -O2 -I. -Wall # -DHTTPSTATS
++CFLAGS += -I. -Wall # -DHTTPSTATS
+ OBJMOD0 = version.o
+ OBJMOD1 = various.o deviate.o procdbase.o
+ OBJMOD2 = acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o
+@@ -28,7 +28,7 @@
+ all: atop atopsar
+
+ atop: atop.o $(ALLMODS) Makefile
+- $(CC) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
++ $(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
+
+ atopsar: atop
+ ln -sf atop atopsar