Skip to content

Commit

Permalink
htop: Update to 2.2.0.
Browse files Browse the repository at this point in the history
What's new in htop 2.2.0:

  * Solaris/Illumos/OpenIndiana support (thanks to Guy M. Broome)
  * -t/--tree flag for starting in tree-view mode (thanks to Daniel Flanagan)
  * macOS: detects High Sierra version to avoid OS bug (thanks to Pierre
    Malhaire)
  * OpenBSD: read battery data (thanks to @nerd972)
  * Various automake and build improvements (thanks to Kang-Che Sung)
  * Check for pkg-config when building with --enable-delayacct (thanks to
    @florian2833z for the report)
  * Avoid some bashisms in configure script (thanks to Jesin)
  * Use CFLAGS from ncurses*-config if present (thanks to Michael Klein)
  * Header generator supports non-UTF-8 environments (thanks to @volkov-am)
  * Linux: changed detection of kernel threads
  * Collapse current subtree pressing Backspace
  * BUGFIX: fix behavior of SYSCR column (thanks to Marc Kleine-Budde)
  * BUGFIX: obtain exit code of lsof correctly (thanks to @wangqr)
  * BUGFIX: fix crash with particular keycodes (thanks to Wellington Torrejais
    da Silva for the report)
  * BUGFIX: fix issue with small terminals (thanks to Daniel Elf for the report)
  * BUGFIX: fix terminal color issues (thanks to Kang-Che Sung for the report)
  * BUGFIX: preserve LDFLAGS when building (thanks to Lance Frederickson for
    the report)
  * BUGFIX: fixed overflow for systems with >= 100 signals

What's new in htop 2.1.0:

 * Linux: Delay accounting metrics (thanks to André Carvalho)
 * DragonFly BSD support (thanks to Diederik de Groot)
 * Support for real-time signals (thanks to Kang-Che Sung)
 * 'c' key now works with threads as well
 * Session column renamed from SESN to SID (thanks to Kamyar Rasta)
 * Improved UI for meter style selection (thanks to Kang-Che Sung)
 * Improved code for constructing process tree (thanks to wangqr)
 * Compile-time option to disable setuid
 * Error checking of various standard library operations
 * Replacement of sprintf with snprintf (thanks to Tomasz Kramkowski)
 * Linux: performance improvements in battery meter
 * Linux: update process TTY device
 * Linux: add support for sorting TASK_IDLE (thanks to Vladimir Panteleev)
 * Linux: add upper-bound to running process counter (thanks to Lucas Correia
   Villa Real)
 * BUGFIX: avoid crash when battery is removed (thanks to Jan Chren)
 * BUGFIX: macOS: fix infinite loop in tree view (thanks to Wataru Ashihara)
  • Loading branch information
jperkin committed Nov 5, 2018
1 parent 33d96b7 commit 357a37c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 65 deletions.
25 changes: 5 additions & 20 deletions sysutils/htop/Makefile
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
# $NetBSD: Makefile,v 1.16 2017/11/24 02:06:13 maya Exp $
# $NetBSD: Makefile,v 1.17 2018/11/05 12:19:23 jperkin Exp $

DISTNAME= htop-2.0.2
DISTNAME= htop-2.2.0
CATEGORIES= sysutils
MASTER_SITES= http://hisham.hm/htop/releases/${PKGVERSION_NOREV}/
PKGREVISION= 1

MAINTAINER= [email protected]
HOMEPAGE= http://hisham.hm/htop/
COMMENT= Enhanced version of top utility
LICENSE= gnu-gpl-v2

USE_TOOLS+= automake aclocal autoheader autoconf
GNU_CONFIGURE= yes
USE_NCURSES= yes # uses ncurses mouse definitions

USE_LIBTOOL= yes

pre-configure:
set -e; cd ${WRKSRC}; \
aclocal; \
autoconf; \
automake

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS" && exists(/system/lxproc)
ONLY_FOR_PLATFORM+= SunOS-*-*
CONFIGURE_ARGS+= --with-proc=/system/lxproc
.endif
USE_NCURSES= yes # uses ncurses mouse definitions

REPLACE_PYTHON+= scripts/MakeHeader.py
CONFIGURE_ENV+= ac_cv_file__proc_stat=yes ac_cv_file__proc_meminfo=yes
CONFIGURE_ENV+= ac_cv_file__proc_meminfo=yes
CONFIGURE_ENV+= ac_cv_file__proc_stat=yes

.include "../../lang/python/application.mk"
.include "../../devel/ncursesw/buildlink3.mk"
Expand Down
13 changes: 6 additions & 7 deletions sysutils/htop/distinfo
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
$NetBSD: distinfo,v 1.11 2017/11/24 02:06:13 maya Exp $
$NetBSD: distinfo,v 1.12 2018/11/05 12:19:23 jperkin Exp $

SHA1 (htop-2.0.2.tar.gz) = 201f793f13dce2448e36047079875b9bd5bba75a
RMD160 (htop-2.0.2.tar.gz) = af17b9f7e1744e2db4d6a28c95cdfb9536343786
SHA512 (htop-2.0.2.tar.gz) = 1c9bf71a36c56b301667aa6d03756fc757fbcb63e848d9581d10db3df6193cdeb00e55ceb6e2392794ac03ea034b04459a8fe550b3ac2318cd86263a74c78cda
Size (htop-2.0.2.tar.gz) = 476364 bytes
SHA1 (patch-TraceScreen.c) = 85f9e26c9a2ddf1e1b4df7010194a43bf622b2ea
SHA1 (patch-configure.ac) = 87557f0b0027462f244cd0c9e14739d10bbfc010
SHA1 (htop-2.2.0.tar.gz) = 5da790e6addf495edc4d8ed7d69d1f0de085c7ad
RMD160 (htop-2.2.0.tar.gz) = 4d89c35c22c5e6377d374af0e0ff68610b22c79f
SHA512 (htop-2.2.0.tar.gz) = ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e
Size (htop-2.2.0.tar.gz) = 308109 bytes
SHA1 (patch-configure) = b7205e0d3466d89be4ab4fb29676091c05b599b1
SHA1 (patch-linux_Platform.c) = d37f4f5116023fa8d8f58f6b925e4f86e9748cea
14 changes: 0 additions & 14 deletions sysutils/htop/patches/patch-TraceScreen.c

This file was deleted.

15 changes: 15 additions & 0 deletions sysutils/htop/patches/patch-configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-configure,v 1.1 2018/11/05 12:19:23 jperkin Exp $

Pretend NetBSD is Linux.

--- configure.orig 2018-04-10 13:43:15.000000000 +0000
+++ configure
@@ -4523,7 +4523,7 @@ $as_echo "$ac_cv_safe_to_define___extens
# Checks for platform.
# ----------------------------------------------------------------------
case "$target_os" in
-linux*|gnu*)
+linux*|gnu*|*netbsd*)
my_htop_platform=linux
;;
freebsd*|kfreebsd*)
24 changes: 0 additions & 24 deletions sysutils/htop/patches/patch-configure.ac

This file was deleted.

0 comments on commit 357a37c

Please sign in to comment.