svn commit: r450889 - in head/sysutils: . lscpu

Ryan Steinmetz zi at FreeBSD.org
Fri Sep 29 11:52:30 UTC 2017


Author: zi
Date: Fri Sep 29 11:52:28 2017
New Revision: 450889
URL: https://svnweb.freebsd.org/changeset/ports/450889

Log:
  New port: sysutils/lscpu:
  
  lscpu gathers CPU architecture information about the current CPU. The
  command output is optimized for parsing or for easy readability by
  humans. The information includes, for example, the number of CPUs,
  threads, cores, and sockets.
  
  There is also information about the CPU caches, family, model,
  byte order, and stepping.
  
  WWW: https://github.com/NanXiao/lscpu

Added:
  head/sysutils/lscpu/
  head/sysutils/lscpu/Makefile   (contents, props changed)
  head/sysutils/lscpu/distinfo   (contents, props changed)
  head/sysutils/lscpu/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Sep 29 11:28:20 2017	(r450888)
+++ head/sysutils/Makefile	Fri Sep 29 11:52:28 2017	(r450889)
@@ -575,6 +575,7 @@
     SUBDIR += logwatch
     SUBDIR += lookat
     SUBDIR += lr
+    SUBDIR += lscpu
     SUBDIR += lsof
     SUBDIR += lsop
     SUBDIR += ltrace

Added: head/sysutils/lscpu/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/lscpu/Makefile	Fri Sep 29 11:52:28 2017	(r450889)
@@ -0,0 +1,22 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	lscpu
+PORTVERSION=	1.0.0
+CATEGORIES=	sysutils
+
+MAINTAINER=	zi at FreeBSD.org
+COMMENT=	Display information about the CPU architecture
+
+LICENSE=	BSD3CLAUSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	NanXiao
+
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>

Added: head/sysutils/lscpu/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/lscpu/distinfo	Fri Sep 29 11:52:28 2017	(r450889)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506685333
+SHA256 (NanXiao-lscpu-1.0.0_GH0.tar.gz) = 04f3c44090a5afbd510065b8d9c16a67936c9b652a0b055bec6bd74c3739c4c4
+SIZE (NanXiao-lscpu-1.0.0_GH0.tar.gz) = 7055

Added: head/sysutils/lscpu/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/lscpu/pkg-descr	Fri Sep 29 11:52:28 2017	(r450889)
@@ -0,0 +1,9 @@
+lscpu gathers CPU architecture information about the current CPU. The
+command output is optimized for parsing or for easy readability by
+humans. The information includes, for example, the number of CPUs,
+threads, cores, and sockets.
+
+There is also information about the CPU caches, family, model,
+byte order, and stepping.
+
+WWW: https://github.com/NanXiao/lscpu


More information about the svn-ports-all mailing list