Commit graph

56 commits

Author SHA1 Message Date
Tobias Kortkamp
f0fb84fac4 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)
2019-01-08 15:30:14 +00:00
Tobias Kortkamp
df9fb5e3bc 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)
2018-05-05 00:29:42 +00:00
Yuri Victorovich
a7bbd2fb92 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)
2018-03-05 05:07:55 +00:00
Tobias Kortkamp
3731c0940a 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)
2017-12-25 04:45:32 +00:00
Mathieu Arnold
cb9a2b582c Cleanup after removal of libexecinfo from ports.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:57 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Adam Weinberger
c54c046c94 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)
2017-01-11 14:14:54 +00:00
Bernard Spil
b738a2237c 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)
2016-07-23 17:50:27 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Kurt Jaeger
6ec4e815d0 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)
2016-03-16 21:07:11 +00:00
Alexey Dokuchaev
ae4f6275d0 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
2016-03-02 10:08:09 +00:00
Cy Schubert
ece5a55f16 Make CPU% display the same as ps and top do.
MEM% displays 0.0. Fix that.

PR:		207120
2016-02-14 03:07:00 +00:00
Cy Schubert
326c5be53e * Fix process memory calculation
* Add FreeBSD battery support
* Add SHEBANG_LANG & SHEBANG_FILES

PR:		207133
Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
2016-02-12 20:39:57 +00:00
Bernard Spil
008b56f9c6 sysutils/htop: Update to 2.0.0
- Update to 2.0.0 with native FreeBSD support
    - Remove sysutils/lsof dependency
    - Remove linprocfs dependency
    - Delete redundant pkg-message
  - Remove redundant GH_PROJECT
  - Refactor post-patch to use shebangfix

Reviewed by:	feld (mentor), koobs (mentor)
Approved by:	feld (mentor)
Differential Revision:	D5253
2016-02-11 19:37:17 +00:00
Kurt Jaeger
d75d870a48 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)
2016-02-05 22:29:42 +00:00
Baptiste Daroussin
1893001101 Convert to USES=autoreconf 2015-06-21 15:58:13 +00:00
Johannes Jost Meixner
1acdfd1d87 sysutils/htop: Restrict to Python 2.x
- restrict htop to build with python 2.7 only.

PR: 194446
Differential Revision:	https://reviews.freebsd.org/D1151
Submitted by: Andrew Berg <aberg010@my.hennepintech.edu>
Approved by: maintainer timeout (2+ weeks)
Approved by: koobs (mentor)
2014-11-13 05:28:42 +00:00
Guido Falsi
e6c544f915 Update to 1.0.3
PR:		194450
Submitted by:	Hung-Yi Chen <gaod at hychen.org> (maintainer)
2014-10-28 22:14:42 +00:00
Marcus von Appen
fae188751b - Convert ports of sysutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:56:10 +00:00
Adam Weinberger
d19feca95f Use USES=execinfo. 2014-08-05 12:12:00 +00:00
Tijl Coosemans
9f8b4bcde3 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
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Dmitry Marakasov
0f11dc56f2 - Switch to USES=libtool
Approved by:	portmgr blanket
2014-06-10 21:59:37 +00:00
Sunpoet Po-Chuan Hsieh
5ae7e9d35d - 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)
2014-03-14 07:28:00 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Dmitry Marakasov
db25d63f5a - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [st])
Approved by:	portmgr (bdrewery)
2013-10-22 14:01:38 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Eitan Adler
cf3dff6c04 Let htop build when python 3 is default.
Approved by:	maintainer timeout (2 weeks)
2013-05-30 19:16:13 +00:00
Raphael Kubo da Costa
9237589cb5 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)
2013-05-18 20:05:01 +00:00
Baptiste Daroussin
9f1de9b900 Convert USE_NCURSES by USES=ncurses
Convert USE_READLINE by USES=readline
2013-05-06 15:34:17 +00:00
Guido Falsi
9575980d92 - Update to 1.0.2
- Convert to new options framework
- Trim Makefile headers

PR:		ports/178010
Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
2013-04-28 09:48:25 +00:00
Michael Scheidell
5ce613c55f - Fix swap size calculation on i386
- Bump PORTREVISION

PR:		ports/169174
Submitted by:	vsjcfm@gmail.com
Approved by:	maintainer (timeout,14 days)
2012-07-09 00:12:10 +00:00
Pawel Pekala
09c70cf036 Add patches to show correct memory usage on FreeBSD
PR:		ports/167970
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
Approved by:	maintainer
2012-05-29 21:22:56 +00:00
Pawel Pekala
d0830eebe1 Update to version 1.0.1
PR:		ports/165661
Submitted by:	maintainer
2012-03-05 19:02:17 +00:00
Mark Linimon
7d8608ab13 Mark broken on powerpc as well as sparc64. (In fact, on all the tier-2s.)
Hat:		portmgr
2011-11-10 05:38:32 +00:00
Pav Lucistnik
6962354065 - Fix calculation of available memory
PR:		ports/157195
Submitted by:	Sayetsky Anton <jason@linux.lg.ua>
Approved by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
2011-08-12 08:30:34 +00:00
Pav Lucistnik
3850ec3bee - Update to 0.9
- Transfer maintainership to the submitter

PR:		ports/153529
Submitted by:	Hung-Yi Chen <gaod@hychen.org>
Approved by:	maintainer timeout (yzlin; 7 months)
2011-08-08 10:50:01 +00:00
Baptiste Daroussin
8d27ddb9bd 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@)
2011-04-11 08:34:17 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
7e80cde328 Round one migration of ports from automake{19,110} to automake111 2010-10-05 19:57:56 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Philip M. Gollucci
b1e12b65f0 - pull some upstream svn fixes
o simply the code
  o lsof failure checks
  o coverity fixes

PR:             ports/143222
Submitted by:   Hung-Yi Chen <gaod@hychen.org>
Approved by:    maintainer timeout (yzlin ; 220 days)
2010-09-08 22:51:55 +00:00
Yi-Jheng Lin
80fd2dfdd1 - Update to 0.8.3
Approved by:	rafan (co-mentor)
2009-08-07 15:27:02 +00:00
Jeremy Messenger
789d75c728 -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
2009-08-02 19:36:34 +00:00
Yi-Jheng Lin
d881f6af28 - Change to my mail address at FreeBSD.org
Approved by:	lwhsu (mentor)
2009-07-29 12:59:14 +00:00
Martin Wilke
c6fa4af61c - Update to 0.8.2
- Pass maintainership to submitter

PR:		135205
Submitted by:	Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
2009-06-05 21:35:42 +00:00
Pav Lucistnik
9775bd0987 - Reset inactive maintainer 2009-05-12 08:41:06 +00:00
Pav Lucistnik
fb4139831a - Fix tree view
PR:		ports/132909
Submitted by:	Hung-Yi Chen <gaod@hychen.org>
Approved by:	maintainer timeout (1 month)
2009-05-12 08:40:37 +00:00
Renato Botelho
9de6e4cf55 - Update to 0.8.1
PR:		ports/131345
Submitted by:	Hardy Schumacher <hardy.schumacher@amd.com>
Approved by:	maintainer timeout (2 weeks)
2009-02-17 15:58:11 +00:00