svn commit: r411247 - in head/sysutils/htop: . files
Kurt Jaeger
pi at FreeBSD.org
Wed Mar 16 21:07:12 UTC 2016
Author: pi
Date: Wed Mar 16 21:07:11 2016
New Revision: 411247
URL: https://svnweb.freebsd.org/changeset/ports/411247
Log:
sysutils/htop: 2.0.0 -> 2.0.1
- Add lsof into RUN_DEPENDS
- fix CPU and memory readings
(thanks to Tim Creech, Hung-Yi Chen, Bernard Spil, Greg V)
- add battery support
(thanks to Greg V)
- Fix crash when emptying a column of meters
- Make Esc key more responsive
Submitted by: Hung-Yi Chen <gaod at hychen.org> (maintainer)
Added:
head/sysutils/htop/files/patch-CRT.c (contents, props changed)
head/sysutils/htop/files/patch-CRT.h (contents, props changed)
Deleted:
head/sysutils/htop/files/patch-freebsd__Battery.c
head/sysutils/htop/files/patch-freebsd__FreeBSDProcessList.c
head/sysutils/htop/pkg-plist
Modified:
head/sysutils/htop/Makefile
head/sysutils/htop/distinfo
Modified: head/sysutils/htop/Makefile
==============================================================================
--- head/sysutils/htop/Makefile Wed Mar 16 20:12:32 2016 (r411246)
+++ head/sysutils/htop/Makefile Wed Mar 16 21:07:11 2016 (r411247)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= htop
-PORTVERSION= 2.0.0
-PORTREVISION= 2
+PORTVERSION= 2.0.1
CATEGORIES= sysutils
MAINTAINER= gaod at hychen.org
@@ -11,6 +10,8 @@ COMMENT= Better top(1) - interactive pro
LICENSE= GPLv2
+RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
+
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lexecinfo
@@ -21,5 +22,9 @@ SHEBANG_LANG= python2
SHEBANG_FILES= scripts/MakeHeader.py
USE_GITHUB= yes
GH_ACCOUNT= hishamhm
+PLIST_FILES= bin/htop \
+ man/man1/htop.1.gz \
+ share/applications/htop.desktop \
+ share/pixmaps/htop.png
.include <bsd.port.mk>
Modified: head/sysutils/htop/distinfo
==============================================================================
--- head/sysutils/htop/distinfo Wed Mar 16 20:12:32 2016 (r411246)
+++ head/sysutils/htop/distinfo Wed Mar 16 21:07:11 2016 (r411247)
@@ -1,2 +1,2 @@
-SHA256 (hishamhm-htop-2.0.0_GH0.tar.gz) = 2522a93792dfee188bfaff23f30332d1173460c95f9869588398e9bdd3a0491b
-SIZE (hishamhm-htop-2.0.0_GH0.tar.gz) = 143353
+SHA256 (hishamhm-htop-2.0.1_GH0.tar.gz) = 636c1e8b703058e793e8d25423af4b74059290ef9e48fa261ba58555069517b5
+SIZE (hishamhm-htop-2.0.1_GH0.tar.gz) = 145463
Added: head/sysutils/htop/files/patch-CRT.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/htop/files/patch-CRT.c Wed Mar 16 21:07:11 2016 (r411247)
@@ -0,0 +1,11 @@
+--- CRT.c.orig 2016-03-07 21:32:06 UTC
++++ CRT.c
+@@ -125,7 +125,7 @@ void CRT_fatalError(const char* note) __
+
+ void CRT_handleSIGSEGV(int sgn);
+
+-#define KEY_ALT(x) KEY_F(60) + (x - 'A')
++#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
+
+ }*/
+
Added: head/sysutils/htop/files/patch-CRT.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/htop/files/patch-CRT.h Wed Mar 16 21:07:11 2016 (r411247)
@@ -0,0 +1,11 @@
+--- CRT.h.orig 2016-03-07 21:32:06 UTC
++++ CRT.h
+@@ -115,7 +115,7 @@ void CRT_fatalError(const char* note) __
+
+ void CRT_handleSIGSEGV(int sgn);
+
+-#define KEY_ALT(x) KEY_F(60) + (x - 'A')
++#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
+
+
+ extern const char *CRT_treeStrAscii[TREE_STR_COUNT];
More information about the svn-ports-head
mailing list