htop is an enhanced version of top, the interactive process viewer,
which can display the list of processes in a tree form.
Comparison between 'htop' and 'top'
* In 'htop' you can scroll the list vertically and horizontally
to see all processes and full command lines.
* In 'top' you are subject to a delay for each unassigned
key you press (especially annoying when multi-key escape
sequences are triggered by accident).
* 'htop' starts faster ('top' seems to collect data for a while
before displaying anything).
* In 'htop' you don't need to type the process number to
kill a process, in 'top' you do.
* In 'htop' you don't need to type the process number or
the priority value to renice a process, in 'top' you do.
* In 'htop' you can kill multiple processes at once.
* 'top' is older, hence, more tested.
===> The following configuration options are available for htop-3.5.3:
LSOF=off: LiSt Open Files utility support
===> Use 'make config' to modify these settings
sysutils/htop: simplify Makefile
This change cleans up the Makefile to follow Porter's Handbook guidance.
Here is the rationale for each change:
* As per
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github,
ports are urged to move to using Github releases instead of git tags.
This change replaces USE_GITHUB with MASTER_SITES to statically point
to htop release tarballs. This also requires the addition of USES=tar:xz
* Remove USES=autoreconf because the release tarball doesn't need to run it
* Remove USES=compiler:c11 since upstream https://github.com/htop-dev/htop
states that a C99 compiler is needed.
* Add USES=desktop-file-utils as the port installs htop.desktop
* htop does not exist in the official NVD CPE dictionary, so as per
https://docs.freebsd.org/en/books/porters-handbook/book/#uses-cpe, we
should "not ever make up CPE data." Thus, USES=cpe is removed until an
entry is contributed to the CPE dictionary
* USES={libtool,localbase,pkgconfig,python:build,shebangfix} are not
necessary for a successful build and run with the GH release tarball.
* GNU_CONFIGURE_MANPREFIX was unnecessary since default value in
Mk/bsd.port.mk is same ${PREFIX}/share
PR: 280820
Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer)
sysutils/htop: Remove unnecessary USES
The .desktop file provided by the port does not contain MimeType in it so
remove USES=desktop-file-utils
Reported by: eduardo@
sysutils/htop: update to 3.3.0
ChangeLog: https://github.com/htop-dev/htop/blob/3.3.0/ChangeLog
* Multiple refactorings and code improvements
* Shorten docker container IDs to 12 characters
* Settings: preserve empty header
* Fix execlp() argument without pointer cast
* OpenFilesScreen: Make column sizing dynamic for file size, offset and inode
* Add support for "truss" (FreeBSD equivalent of "strace")
* Darwin: add NetworkIOMeter support
* HeaderLayout: add "3 columns - 40/30/30", "... 30/40/30" & "... 30/30/40"
* Meter: use correct unicode characters for digit '9'
* Note in manual re default memory units of KiB
* Add column for process container name
(Only the first 15 lines of the commit message are shown above )
sysutils/htop: memory shows 16.0Z of memory
Cherry pick patch that fixes the issue since it wasn't included in the 3.2.2
release by upstream.
PR: 269494
Reviewed by: mbeis@xs4all.nl
sysutils/htop: update to 3.2.2
This fixes a problem with memory showing 16.0Z of memory
PR: 269494
Reported by: mbeis@xs4all.nl
MFH: 2023Q1 (bugfix release)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
sysutils/htop: Disable LSOF option by default
This commit should ensure that we have a htop package for 13.0-RELEASE
on non-x86 archs. When sysutils/lsof fails to build (and that
happens often enough) htop is skipped and we no longer have a package
for it. lsof is only used for htop's "list open files" view.
PR: 252279
sysutils/htop: Fix build with -fno-common
Fix the build of sysutils/htop with -fno-common, which is the default in
llvm 11 (and gcc 10)
PR: 248823
Submitted by: Yasuhiro KIMURA
MFH: 2020Q3 (iplicit, -fno-common fixes, ok by joenum)
sysutils/htop: Fix memory display in the header
On amd64 it works correctly, but it breaks on powerpc, due to using
types with the wrong size when requesting various sysctls.
PR: 234357
Submitted by: tobik
Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer timeout, 2 weeks)
sysutils/htop: Update to 2.2.0
Among other changes this fixes a regression where trying to kill a
process with htop terminates htop and leads to the error message
"htop: No such file or directory".
Changes: https://github.com/hishamhm/htop/compare/2.1.0-26-g697f5bb...2.2.0
PR: 227115
Submitted by: tobik
Reported by: Philipp Engel <kidon@posteo.de>
Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer timeout, 2 weeks)
sysutils/htop: Update to 2.1.0-26
Port changes:
* Changed to DISTVERSION
* Added to USES
* Added SHEBANG_FILES
* Removed LIBS (not needed)
* Replaced WWW with the https version
Maintainer insisted on updating to the current version.
PR: 225232
Submitted by: Hung-Yi Chen <gaod@hychen.org> (maintainer)
Approved by: tcberner (mentor, implicit)
sysutils/htop: Add a new default LSOF option
htop only requires lsof for its open files view. Move the lsof run
dependency to an option so that it can be removed by users.
While here
- Add LICENSE_FILE
- Follow http://htop.sourceforge.net/ redirect to
http://hisham.hm/htop/ and update WWW
PR: 224241
Approved by: gaod@hychen.org (maintainer timeout, 2 weeks)
Python is never actually used in the build here, so remove the dependency
and the associated shebangfix.
PR: 215959
Approved by: maintainer (Hung-Yi Chen)
sysutils/htop: Update to 2.0.2
- Update to new release 2.0.2
- Remove patches now included upstream
PR: 211285
Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer)
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@hychen.org> (maintainer)
Remove no longer needed NOT_FOR_ARCHS restriction: previously it made sense
because linprocfs itself is not very portable. Since r408696 the port does
not depend linprocfs and should work everywhere.
Tested on: powerpc
sysutils/htop: some fixes
- re-enable kernel threads
- update to very recent version
- switch to github for distfiles
PR: 194738
Approved by: Hung-Ti Chen <gaod@hychen.org> (maintainer timeout)
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
- Remove leading indefinite article from COMMENT
- Convert to new LIB_DEPENDS format
- Convert to new options helper
- Fix USE_PYTHON_BUILD
- Support STAGEDIR
Approved by: portmgr (blanket)
Fix pkg-message instructions.
Change package message so that the fstab line includes the late option so that
it doesn't fail to boot if /usr is on a different partition.
PR: ports/178690
Submitted by: swills
Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer)
Add a new macro to deal with conflict between ncurses from base and ncurses from
ports.
If a ports is linked against ncurses from base or from the ports, it should then
add:
USE_NCURSES=yes
it is also possible to specify the hard dependency on the ports ncurses or one
the base one adding the following macros:
WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes
PR: ports/155269
Submitted by: me
Reviwed by: pav@
Approved by: portmgr (pav@)
Exp-run by: portmgr (pav@)
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
- New port htop
htop is an enhanced version of top, the interactive process viewer,
which can display the list of processes in a tree form.
PR: ports/115873
Submitted by: Tony Shadwick <tshadwick@oss-solutions.com> (maintainer)
Approved by: sat (mentor)