[Midnightbsd-cvs] mports [22902] trunk/sysutils: add lscpu port based on freebsd version.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Oct 5 15:32:47 EDT 2017


Revision: 22902
          http://svnweb.midnightbsd.org/mports/?rev=22902
Author:   laffer1
Date:     2017-10-05 15:32:45 -0400 (Thu, 05 Oct 2017)
Log Message:
-----------
add lscpu port based on freebsd version. had to use gcc because system llvm does not support __cpuid yet.

Modified Paths:
--------------
    trunk/sysutils/Makefile

Added Paths:
-----------
    trunk/sysutils/lscpu/
    trunk/sysutils/lscpu/Makefile
    trunk/sysutils/lscpu/distinfo
    trunk/sysutils/lscpu/pkg-descr

Modified: trunk/sysutils/Makefile
===================================================================
--- trunk/sysutils/Makefile	2017-10-04 18:56:05 UTC (rev 22901)
+++ trunk/sysutils/Makefile	2017-10-05 19:32:45 UTC (rev 22902)
@@ -67,6 +67,7 @@
 SUBDIR += linux-f10-procps
 SUBDIR += lmmon
 SUBDIR += logstash
+SUBDIR += lscpu
 SUBDIR += lsof
 SUBDIR += mbmon
 SUBDIR += mdf2iso

Added: trunk/sysutils/lscpu/Makefile
===================================================================
--- trunk/sysutils/lscpu/Makefile	                        (rev 0)
+++ trunk/sysutils/lscpu/Makefile	2017-10-05 19:32:45 UTC (rev 22902)
@@ -0,0 +1,23 @@
+# $MidnightBSD$
+
+PORTNAME=	lscpu
+PORTVERSION=	1.0.0
+CATEGORIES=	sysutils
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Display information about the CPU architecture
+
+LICENSE=	bsd3
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	NanXiao
+
+USE_GCC=	yes
+
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>


Property changes on: trunk/sysutils/lscpu/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/lscpu/distinfo
===================================================================
--- trunk/sysutils/lscpu/distinfo	                        (rev 0)
+++ trunk/sysutils/lscpu/distinfo	2017-10-05 19:32:45 UTC (rev 22902)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507216093
+SHA256 (lscpu-1.0.0_GH0.tar.gz) = 04f3c44090a5afbd510065b8d9c16a67936c9b652a0b055bec6bd74c3739c4c4
+SIZE (lscpu-1.0.0_GH0.tar.gz) = 7055


Property changes on: trunk/sysutils/lscpu/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/lscpu/pkg-descr
===================================================================
--- trunk/sysutils/lscpu/pkg-descr	                        (rev 0)
+++ trunk/sysutils/lscpu/pkg-descr	2017-10-05 19:32:45 UTC (rev 22902)
@@ -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


Property changes on: trunk/sysutils/lscpu/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list