summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-05-03 18:46:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-05-03 18:46:02 +0000
commit80a314f458bab9a7947e72badf60cb7891196a22 (patch)
treed52c5fa3c228cbe3c0cbd98fa1f5f1ee9ee4e392 /sys-process
parentFix bug 312513, xinerama automagic, thanks for Andreas K. Huettel (diff)
downloadhistorical-80a314f458bab9a7947e72badf60cb7891196a22.tar.gz
historical-80a314f458bab9a7947e72badf60cb7891196a22.tar.bz2
historical-80a314f458bab9a7947e72badf60cb7891196a22.zip
Experimental USE flags openvz and vserver wrt #291091.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/htop/ChangeLog8
-rw-r--r--sys-process/htop/Manifest5
-rw-r--r--sys-process/htop/htop-0.8.3-r1.ebuild53
-rw-r--r--sys-process/htop/metadata.xml4
4 files changed, 67 insertions, 3 deletions
diff --git a/sys-process/htop/ChangeLog b/sys-process/htop/ChangeLog
index 62a5e7ea8442..398da463c712 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.82 2010/04/30 21:48:09 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.83 2010/05/03 18:46:02 ssuominen Exp $
+
+*htop-0.8.3-r1 (03 May 2010)
+
+ 03 May 2010; Samuli Suominen <ssuominen@gentoo.org> +htop-0.8.3-r1.ebuild,
+ metadata.xml:
+ Experimental USE flags openvz and vserver wrt #291091.
30 Apr 2010; Jeremy Olexa <darkside@gentoo.org> htop-0.8.3.ebuild:
Bump to EAPI3, add prefix keywords as tested in overlay. Implicit approval
diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest
index 4cac0fbf2b5b..7afb33f5a67c 100644
--- a/sys-process/htop/Manifest
+++ b/sys-process/htop/Manifest
@@ -1,5 +1,6 @@
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
+EBUILD htop-0.8.3-r1.ebuild 1500 RMD160 b0c7ad327c109b3a0a389708c28c9dc5e55fba7a SHA1 6c786f0972734dd1750e6e78d39b5680ac265b7c SHA256 2d882d25c5152fa3e7956415c3fc6a4dfd64b1a3a05f4cd3b18733febdec655b
EBUILD htop-0.8.3.ebuild 1420 RMD160 0042b776cf820285a05877dd17c7b9b880def990 SHA1 f03c9eafba62f0f6df8b4c1e8c81c93475d2adcb SHA256 1febde9f5f5ca973016c353d44bfe1210540217a50fd16c4d8c07f42f3e8e31a
-MISC ChangeLog 11297 RMD160 000c0aaf353ad2fa74563aa84a3d8df31af6623c SHA1 acd0b3bce72b51eb1f550555fbded3d46562c893 SHA256 dc3023767133171846b14c7158736ae09aacff468e483047d3648e619942f40c
-MISC metadata.xml 616 RMD160 52898a5ac22473500d88749a14d898db9de3758d SHA1 a58a9e1991505e7f06f0fe143b67d988117b4bf0 SHA256 31daa90560dc05ee309c3606f1d66cd267b77b45045d4b33939f503fa9fdcee8
+MISC ChangeLog 11479 RMD160 f46e27a50e914199da7b5284bd2122501cf0f439 SHA1 b9da9507c540ebb0d5010541feeaeedcfe974a61 SHA256 51d53c41c07fe6391914675214156ece213f5fcf8f6763cb8a510c06a7478de6
+MISC metadata.xml 731 RMD160 d570b7328b298625c018582584370a6ee3119efb SHA1 118c7ac2edde5fe6b8dab12e39e676c4211dcf5a SHA256 08db1d4306a2ef93e0cd5770a0e6c692d974ab975e8c2ff7903ef1eac17918b7
diff --git a/sys-process/htop/htop-0.8.3-r1.ebuild b/sys-process/htop/htop-0.8.3-r1.ebuild
new file mode 100644
index 000000000000..4f6f51216848
--- /dev/null
+++ b/sys-process/htop/htop-0.8.3-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.3-r1.ebuild,v 1.1 2010/05/03 18:46:02 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="debug openvz 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() {
+ epatch "${FILESDIR}"/${PN}-0.8.1-non-printable-char-filter.patch
+}
+
+src_configure() {
+ useq debug && append-flags -DDEBUG
+
+ econf \
+ $(use_enable openvz) \
+ $(use_enable vserver) \
+ --enable-taskstats \
+ --enable-unicode
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README ChangeLog TODO || die
+ rmdir "${ED}"/usr/{include,$(get_libdir)} || die
+}
diff --git a/sys-process/htop/metadata.xml b/sys-process/htop/metadata.xml
index f4d7f1e13821..e5995e2681d6 100644
--- a/sys-process/htop/metadata.xml
+++ b/sys-process/htop/metadata.xml
@@ -10,6 +10,10 @@
<email>ssuominen@gentoo.org</email>
<name>Samuli Suominen</name>
</maintainer>
+<use>
+ <flag name="openvz">Enable openvz support</flag>
+ <flag name="vserver">Enable vserver support</flag>
+</use>
<longdescription>
htop is an interactive process viewer for Linux. It aims to be a 'better top':
you can scroll the process list vertically and horizontally, and select a