Date: Sat, 8 Jul 2017 22:24:33 +0000 (UTC) From: Lars Engels <lme@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445346 - in head/sysutils: . powermon Message-ID: <201707082224.v68MOXJu034417@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lme Date: Sat Jul 8 22:24:33 2017 New Revision: 445346 URL: https://svnweb.freebsd.org/changeset/ports/445346 Log: 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 Added: head/sysutils/powermon/ head/sysutils/powermon/Makefile (contents, props changed) head/sysutils/powermon/distinfo (contents, props changed) head/sysutils/powermon/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sat Jul 8 17:05:14 2017 (r445345) +++ head/sysutils/Makefile Sat Jul 8 22:24:33 2017 (r445346) @@ -832,6 +832,7 @@ SUBDIR += polkit-qt5 SUBDIR += powerdxx SUBDIR += powerman + SUBDIR += powermon SUBDIR += pp SUBDIR += pprotectd SUBDIR += prelink Added: head/sysutils/powermon/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/powermon/Makefile Sat Jul 8 22:24:33 2017 (r445346) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= powermon +PORTVERSION= 1.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= sysutils + +MAINTAINER= yamagi@yamagi.org +COMMENT= Displays the CPUs current power consumption + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= yamagi +GH_TAGNAME= ${DISTVERSIONPREFIX}${PORTVERSION} + +USES= gmake + +PLIST_FILES= man/man8/powermon.8.gz sbin/powermon + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/release/powermon \ + ${STAGEDIR}${PREFIX}/sbin/powermon + ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/misc/powermon.8 \ + ${STAGEDIR}${MANPREFIX}/man/man8 + +.include <bsd.port.mk> Added: head/sysutils/powermon/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/powermon/distinfo Sat Jul 8 22:24:33 2017 (r445346) @@ -0,0 +1,3 @@ +TIMESTAMP = 1499099312 +SHA256 (yamagi-powermon-v1.0.0_GH0.tar.gz) = 7e0c3b988c797ac90a0fb2bc6db14fb1e307075d9792c68d99d26e64f58c1fb9 +SIZE (yamagi-powermon-v1.0.0_GH0.tar.gz) = 16348 Added: head/sysutils/powermon/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/powermon/pkg-descr Sat Jul 8 22:24:33 2017 (r445346) @@ -0,0 +1,10 @@ +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707082224.v68MOXJu034417>