Powermon is a small utility that reads the CPU internal power counters,
calculates the current power consumption and displays it together with
some nice statistics on an interactive curses interface.
All Intel CPUs starting with Sandy Bridge are supported. Older Intel
CPUs and CPUs from other vendors don't expose the necessary performance
counters. Additionally some server CPUs like those based on Haswell and
Broadwell do not provide the necessary data.
sysutils/powermon: report modern CPU models (via sysutils/libcpuid)
This program had not seen updates since 2017 and thus cannot report
newer CPU models (the list of known ones is hardcoded). Use simple
library call instead of manually decoding the CPU code name.
While here, simplify the installation recipe in `do-install' target
and append to our default {C,LD}FLAGS rather than overwriting them.
Requested by: Dmitry Lukhtionov
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 )
ncurses: fix build with futur base and ports ncurses
in preparation for the split in base of libtinfo and libncurses, clearly
specify when the packages should link against.
Note this also fixes the build with ports ncurses
Add new port: sysutils/powermon
Powermon is a small utility that reads the CPU internal power counters,
calculates the current power consumption and displays it together with
some nice statistics on an interactive curses interface.
All Intel CPUs starting with Sandy Bridge are supported. Older Intel
CPUs and CPUs from other vendors don't expose the necessary performance
counters. Additionally some server CPUs like those based on Haswell and
Broadwell do not provide the necessary data.
WWW: https://github.com/Yamagi/powermon
PR: 220450
Submitted by: yamagi@yamagi.org
Sponsored by: Essen Hackathon 2017