Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/htop: htop-1.0.3.ebuild metadata.xml ChangeLog htop-1.0.2-r1.ebuild htop-1.0.1-r1.ebuild htop-1.0.1.ebuild
Date: Fri, 02 May 2014 23:05:43
Message-Id: 20140502230538.98CBF2004C@flycatcher.gentoo.org
1 idl0r 14/05/02 23:05:38
2
3 Modified: metadata.xml ChangeLog
4 Added: htop-1.0.3.ebuild
5 Removed: htop-1.0.2-r1.ebuild htop-1.0.1-r1.ebuild
6 htop-1.0.1.ebuild
7 Log:
8 Version bump, bug 508954. Cleanup
9
10 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B427ABC8)
11
12 Revision Changes Path
13 1.13 sys-process/htop/metadata.xml
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/metadata.xml?rev=1.13&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/metadata.xml?rev=1.13&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/metadata.xml?r1=1.12&r2=1.13
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-process/htop/metadata.xml,v
22 retrieving revision 1.12
23 retrieving revision 1.13
24 diff -u -r1.12 -r1.13
25 --- metadata.xml 3 May 2013 19:37:22 -0000 1.12
26 +++ metadata.xml 2 May 2014 23:05:38 -0000 1.13
27 @@ -1,15 +1,16 @@
28 <?xml version="1.0" encoding="UTF-8"?>
29 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
30 <pkgmetadata>
31 - <maintainer>
32 - <email>idl0r@g.o</email>
33 - <name>Christian Ruppert</name>
34 - </maintainer>
35 - <use>
36 - <flag name="openvz">Enable openvz support</flag>
37 - <flag name="vserver">Enable vserver support</flag>
38 - </use>
39 - <longdescription>
40 + <maintainer>
41 + <email>idl0r@g.o</email>
42 + <name>Christian Ruppert</name>
43 + </maintainer>
44 + <use>
45 + <flag name="oom">Add column to track the OOM-killer score of processes</flag>
46 + <flag name="openvz">Enable openvz support</flag>
47 + <flag name="vserver">Enable vserver support</flag>
48 + </use>
49 + <longdescription>
50 htop is an interactive process viewer for Linux. It aims to be a 'better top':
51 you can scroll the process list vertically and horizontally, and select a
52 process to be killed with the arrow keys instead of by typing its process id.
53
54
55
56 1.141 sys-process/htop/ChangeLog
57
58 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/ChangeLog?rev=1.141&view=markup
59 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/ChangeLog?rev=1.141&content-type=text/plain
60 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/ChangeLog?r1=1.140&r2=1.141
61
62 Index: ChangeLog
63 ===================================================================
64 RCS file: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v
65 retrieving revision 1.140
66 retrieving revision 1.141
67 diff -u -r1.140 -r1.141
68 --- ChangeLog 3 Feb 2014 16:43:30 -0000 1.140
69 +++ ChangeLog 2 May 2014 23:05:38 -0000 1.141
70 @@ -1,6 +1,13 @@
71 # ChangeLog for sys-process/htop
72 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
73 -# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.140 2014/02/03 16:43:30 jlec Exp $
74 +# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.141 2014/05/02 23:05:38 idl0r Exp $
75 +
76 +*htop-1.0.3 (02 May 2014)
77 +
78 + 02 May 2014; Christian Ruppert <idl0r@g.o> -htop-1.0.1.ebuild,
79 + -htop-1.0.1-r1.ebuild, -htop-1.0.2-r1.ebuild, +htop-1.0.3.ebuild,
80 + metadata.xml:
81 + Version bump, bug 508954. Cleanup
82
83 03 Feb 2014; Justin Lecher <jlec@g.o> htop-1.0.1.ebuild,
84 htop-1.0.1-r1.ebuild, htop-1.0.2.ebuild, htop-1.0.2-r1.ebuild,
85
86
87
88 1.1 sys-process/htop/htop-1.0.3.ebuild
89
90 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/htop-1.0.3.ebuild?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/htop/htop-1.0.3.ebuild?rev=1.1&content-type=text/plain
92
93 Index: htop-1.0.3.ebuild
94 ===================================================================
95 # Copyright 1999-2014 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 # $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-1.0.3.ebuild,v 1.1 2014/05/02 23:05:38 idl0r Exp $
98
99 EAPI=5
100
101 PYTHON_COMPAT=( python{2_6,2_7} )
102
103 AUTOTOOLS_AUTORECONF=true
104
105 inherit autotools-utils linux-info python-any-r1
106
107 DESCRIPTION="interactive process viewer"
108 HOMEPAGE="http://hisham.hm/htop/"
109 SRC_URI="http://hisham.hm/htop/releases/${PV}/${P}.tar.gz"
110
111 LICENSE="BSD GPL-2"
112 SLOT="0"
113 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
114 IUSE="kernel_FreeBSD kernel_linux oom openvz unicode vserver"
115
116 RDEPEND="sys-libs/ncurses[unicode?]"
117 DEPEND="${RDEPEND}"
118
119 DOCS=( ChangeLog README )
120
121 CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS"
122
123 # config.h problems
124 AUTOTOOLS_IN_SOURCE_BUILD=1
125
126 pkg_setup() {
127 if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f ${ROOT}/compat/linux/proc/meminfo ]]; then
128 echo
129 eerror "htop requires linprocfs mounted at /compat/linux/proc to build and function."
130 eerror "To mount it, type:"
131 [ -d /compat/linux/proc ] || eerror "mkdir -p /compat/linux/proc"
132 eerror "mount -t linprocfs none /compat/linux/proc"
133 eerror "Alternatively, place this information into /etc/fstab"
134 echo
135 die "htop needs /compat/linux/proc mounted"
136 fi
137
138 if ! has_version sys-process/lsof; then
139 ewarn "To use lsof features in htop(what processes are accessing"
140 ewarn "what files), you must have sys-process/lsof installed."
141 fi
142
143 python-any-r1_pkg_setup
144 linux-info_pkg_setup
145 }
146
147 src_prepare() {
148 rm missing || die
149
150 sed \
151 -e '1c\#!'"${EPREFIX}"'/usr/bin/python' \
152 -i scripts/MakeHeader.py || die
153
154 autotools-utils_src_prepare
155 }
156
157 src_configure() {
158 [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971
159
160 local myeconfargs=()
161
162 use kernel_FreeBSD && myeconfargs+=( --with-proc=/compat/linux/proc )
163
164 myeconfargs+=(
165 $(use_enable openvz)
166 $(use_enable kernel_linux cgroup)
167 $(use_enable vserver)
168 $(use_enable unicode)
169 $(use_enable oom)
170 --enable-taskstats
171 )
172 autotools-utils_src_configure
173 }