summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-01-09 14:48:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-01-09 14:48:11 +0000
commit6306b6e8607ed903afc1ed6a06637f1a5e1f5255 (patch)
tree5f2be702e5e8ee063bf3d661705bd362bb5c5442 /sys-process
parentFix for Prefix, marked ~amd64-linux (diff)
downloadhistorical-6306b6e8607ed903afc1ed6a06637f1a5e1f5255.tar.gz
historical-6306b6e8607ed903afc1ed6a06637f1a5e1f5255.tar.bz2
historical-6306b6e8607ed903afc1ed6a06637f1a5e1f5255.zip
Version bump.
Package-Manager: portage-2.2.0_alpha13/cvs/Linux x86_64
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/htop/ChangeLog10
-rw-r--r--sys-process/htop/Manifest6
-rw-r--r--sys-process/htop/htop-0.9.ebuild54
-rw-r--r--sys-process/htop/metadata.xml1
4 files changed, 67 insertions, 4 deletions
diff --git a/sys-process/htop/ChangeLog b/sys-process/htop/ChangeLog
index 24cbf689be78..03a3b8b76353 100644
--- a/sys-process/htop/ChangeLog
+++ b/sys-process/htop/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-process/htop
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.85 2010/09/03 19:00:35 grobian Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.86 2011/01/09 14:48:11 ssuominen Exp $
+
+*htop-0.9 (09 Jan 2011)
+
+ 09 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> +htop-0.9.ebuild,
+ metadata.xml:
+ Version bump.
03 Sep 2010; Fabian Groffen <grobian@gentoo.org> htop-0.8.3-r1.ebuild:
Fix shebang of a buildscript, for Prefix. Bug #335195
diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest
index c2bb2fa91ccc..72452d592acf 100644
--- a/sys-process/htop/Manifest
+++ b/sys-process/htop/Manifest
@@ -1,6 +1,8 @@
AUX htop-0.8.1-non-printable-char-filter.patch 576 RMD160 eb716cf0a079b4a06aa60c763c2b3ecb138aa82e SHA1 1ade154e42525b3e04210eb7375e1543ed6d87f5 SHA256 e4ff4eb727b9baae514589ec99d08f3c9f5160618dae493fcacca92473de68a7
DIST htop-0.8.3.tar.gz 428061 RMD160 ac1707c2f27ac1c6576601765bda4335e49d6aea SHA1 2a0bf90f160b3d019e26712c94db612d6ff9a429 SHA256 f03bac8999c57c399cbf4332831bcce905d0393d0f97f7e32a1407b48890dd9d
+DIST htop-0.9.tar.gz 418767 RMD160 ac0ef275e8ad5a27e5f35fa03800b15ef0966cfe SHA1 d755bff386c260c06162d50113794722e98e9200 SHA256 4de65c38e1886bccd30ed692b30eb9bf195240680781bfe1eaf5faf84ee6fbfd
EBUILD htop-0.8.3-r1.ebuild 1593 RMD160 d8dbb5fe98ec7986457f779a32cd40c37b1b488c SHA1 21a40786638847577aa5394cf27454c879df6200 SHA256 11bb1066286176252b689efb2a22cde78dda3767e61402b3f5834c4357606989
EBUILD htop-0.8.3.ebuild 1420 RMD160 0042b776cf820285a05877dd17c7b9b880def990 SHA1 f03c9eafba62f0f6df8b4c1e8c81c93475d2adcb SHA256 1febde9f5f5ca973016c353d44bfe1210540217a50fd16c4d8c07f42f3e8e31a
-MISC ChangeLog 11714 RMD160 cc995a7d1bd4251853216bcb73febf9142d4728e SHA1 ce578224922b638b3ae73f7e1d7a5c6f5f06288d SHA256 300eed08bd535b50680dd4414eeadb71a355817e83e9aec804525a051d792be7
-MISC metadata.xml 637 RMD160 1334d42159a61292ef79ff979e20cf3742d6c40f SHA1 41aedcdb713c5c6403bd64fd6d8a52b7bc20e388 SHA256 d3e5b20b75ddbd652c574d2c5cbd999bdaf24e93df0d0dcf6ee6d63fcf78775d
+EBUILD htop-0.9.ebuild 1499 RMD160 430141f9fb2778901bc015768b9c1cd5e651b2d8 SHA1 caa056a7955703da95a8b8ada2419cd35445e0fe SHA256 26aa5644c7b0a4e2f59cd8fd6a03ff73700977d86bf827a9893b72957ebe63e1
+MISC ChangeLog 11846 RMD160 1fb1ef6111708d981bcab5776186438a7d9fd45a SHA1 3c79120f1484a7c157f71b29f80551417744dfbd SHA256 8711fb1dedcb632d7e80512ff87f42b60d4ad2cd5ef1938a4dbe6dce6877ee76
+MISC metadata.xml 687 RMD160 a3987e016cf571adbe594c518669f2e482ffa7d0 SHA1 97e11651433e986b9fb0e8133cf61d9b07bcbf17 SHA256 2deda24f9603f077bc3f05f90c0899ed7878c9a38f005a762ce2c1a1650dc81d
diff --git a/sys-process/htop/htop-0.9.ebuild b/sys-process/htop/htop-0.9.ebuild
new file mode 100644
index 000000000000..a343bcc6f7b7
--- /dev/null
+++ b/sys-process/htop/htop-0.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.9.ebuild,v 1.1 2011/01/09 14:48:11 ssuominen Exp $
+
+EAPI=3
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="interactive process viewer"
+HOMEPAGE="http://htop.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE="cgroup debug openvz unicode vserver"
+
+DEPEND="sys-libs/ncurses[unicode?]"
+
+pkg_setup() {
+ if use elibc_FreeBSD && ! [[ -f ${ROOT}/proc/stat && -f ${ROOT}/proc/meminfo ]]; then
+ eerror
+ eerror "htop needs /proc mounted to compile and work, to mount it type"
+ eerror "mount -t linprocfs none /proc"
+ eerror "or uncomment the example in /etc/fstab"
+ eerror
+ die "htop needs /proc mounted"
+ fi
+
+ if ! has_version sys-process/lsof; then
+ ewarn "To use lsof features in htop(what processes are accessing"
+ ewarn "what files), you must have sys-process/lsof installed."
+ fi
+}
+
+src_prepare() {
+ sed -i -e '1c\#!'"${EPREFIX}"'/usr/bin/python' \
+ scripts/MakeHeader.py || die
+}
+
+src_configure() {
+ useq debug && append-flags -DDEBUG
+
+ econf \
+ $(use_enable openvz) \
+ $(use_enable cgroup) \
+ $(use_enable vserver) \
+ $(use_enable unicode) \
+ --enable-taskstats
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README TODO
+}
diff --git a/sys-process/htop/metadata.xml b/sys-process/htop/metadata.xml
index f2f336b03473..e3235292f9f1 100644
--- a/sys-process/htop/metadata.xml
+++ b/sys-process/htop/metadata.xml
@@ -7,6 +7,7 @@
<name>Thomas Anderson</name>
</maintainer>
<use>
+ <flag name="cgroup">Enable cgroup support</flag>
<flag name="openvz">Enable openvz support</flag>
<flag name="vserver">Enable vserver support</flag>
</use>