notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
lscpu Display information about the CPU architecture
1.3.0 sysutils on this many watch lists=9 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.0_3Version of this port present on the latest quarterly branch.
Maintainer: zi@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-09-29 11:52:37
Last Update: 2024-11-19 18:25:30
Commit Hash: 1e6c19a
People watching this port, also watch:: harfbuzz, indexinfo, dbus, freetype2, pinentry
License: BSD3CLAUSE
WWW:
https://github.com/NanXiao/lscpu
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/lscpu
  2. share/man/man1/lscpu.1.gz
  3. /usr/local/share/licenses/lscpu-1.3.0/catalog.mk
  4. /usr/local/share/licenses/lscpu-1.3.0/LICENSE
  5. /usr/local/share/licenses/lscpu-1.3.0/BSD3CLAUSE
Collapse this list.
Dependency lines:
  • lscpu>0:sysutils/lscpu
To install the port:
cd /usr/ports/sysutils/lscpu/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/lscpu
  • pkg install lscpu
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lscpu
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1731920160 SHA256 (NanXiao-lscpu-1.3.0_GH0.tar.gz) = ce6fc8f4b6fbc67f11b95821137682f3e27f0c660b74a0cce4c7a72d642b3afe SIZE (NanXiao-lscpu-1.3.0_GH0.tar.gz) = 7954

Expand this list (2 items)

Collapse this list.

SHA256 (e955a62428a3e226ec7cfc011e450c7240eea24f.patch) = 9935f0ea0f9cb2d0735b9ba6ccc9a995b51279e1b03281fda53a69dd9e5e4d9d SIZE (e955a62428a3e226ec7cfc011e450c7240eea24f.patch) = 1679

Collapse this list.


Packages (timestamps in pop-ups are UTC):
lscpu
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.2.0_31.2.0_3-1.2.0_31.2.0_3---
FreeBSD:13:quarterly1.2.0_31.2.0_31.2.0_11.2.0_31.2.0_31.2.0_11.2.0_11.2.0_1
FreeBSD:14:latest1.2.0_31.2.0_31.2.01.2.0_31.2.0_31.2.0_1-1.2.0_1
FreeBSD:14:quarterly1.2.0_31.2.0_3-1.2.0_31.2.0_31.2.0_11.2.0_11.2.0_1
FreeBSD:15:latest1.2.0_31.2.0_3n/a1.2.0_3n/a1.2.0_21.2.0_21.2.0_2
This port has no dependencies.
This port is required by:
for Run
  1. net-mgmt/ocsinventory-agent
  2. sysutils/hw-probe
  3. sysutils/plasma5-kinfocenter
  4. sysutils/plasma6-kinfocenter
  5. sysutils/py-py-cpuinfo

Configuration Options:
No options to configure
Options name:
sysutils_lscpu
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/NanXiao/lscpu/tar.gz/1.3.0?dummy=/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.0
19 Nov 2024 18:25:30
commit hash: 1e6c19a2646981ebddc7dcd8843ed40ebe3375cecommit hash: 1e6c19a2646981ebddc7dcd8843ed40ebe3375cecommit hash: 1e6c19a2646981ebddc7dcd8843ed40ebe3375cecommit hash: 1e6c19a2646981ebddc7dcd8843ed40ebe3375ce files touched by this commit
Ryan Steinmetz (zi) search for other commits by this committer
sysutils/lscpu: Update to 1.3.0

PR:		282828
Reported by:	Laurent Chardon <laurent.chardon@gmail.com>
1.2.0_3
18 Aug 2024 17:01:22
commit hash: 2fb2ddb857362244c42eb8fe99b11a3b6ab8e0bacommit hash: 2fb2ddb857362244c42eb8fe99b11a3b6ab8e0bacommit hash: 2fb2ddb857362244c42eb8fe99b11a3b6ab8e0bacommit hash: 2fb2ddb857362244c42eb8fe99b11a3b6ab8e0ba files touched by this commit
Ryan Steinmetz (zi) search for other commits by this committer
sysutils/lscpu: Fix AMD threads per core

- Bump PORTREVISION

PR:		280823
Submitted by:	laurent.chardon@gmail.com
Obtained from:	upstream repo
1.2.0_2
11 Jan 2024 13:59:36
commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MANPREFIX: eliminate usage of MANPREFIX

While here move some manpages to share/man
1.2.0_1
22 Feb 2023 20:51:41
commit hash: d1366f17419b97946cac812da560365d39024bd0commit hash: d1366f17419b97946cac812da560365d39024bd0commit hash: d1366f17419b97946cac812da560365d39024bd0commit hash: d1366f17419b97946cac812da560365d39024bd0 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
sysutils/lscpu: fix architecture detection

Use uname -p instead of uname -m.
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
1.2.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.2.0
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.2.0
24 May 2022 08:59:46
commit hash: 5bc90fd03f49fc9528524d3a7a6779584e8373c4commit hash: 5bc90fd03f49fc9528524d3a7a6779584e8373c4commit hash: 5bc90fd03f49fc9528524d3a7a6779584e8373c4commit hash: 5bc90fd03f49fc9528524d3a7a6779584e8373c4 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
sysutils/lscpu: Remove ONLY_FOR_ARCHS

It works on all supported architectures.

PR:		264144 264175
Reported by:	Graham Perrin
Approved by:	zi
1.2.0
12 Mar 2022 20:46:49
commit hash: 7f5f26f601c658d5722368f8c82a78d59f1baec0commit hash: 7f5f26f601c658d5722368f8c82a78d59f1baec0commit hash: 7f5f26f601c658d5722368f8c82a78d59f1baec0commit hash: 7f5f26f601c658d5722368f8c82a78d59f1baec0 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
sysutils/lscpu: also enable on riscv64

Works fine.
1.2.0
11 Mar 2022 16:39:35
commit hash: a6fdb60e3b93f59f8f2fced4684183d8e0015037commit hash: a6fdb60e3b93f59f8f2fced4684183d8e0015037commit hash: a6fdb60e3b93f59f8f2fced4684183d8e0015037commit hash: a6fdb60e3b93f59f8f2fced4684183d8e0015037 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
sysutils/lscpu: works fine on powerpc*
1.2.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.2.0
12 Aug 2018 01:57:26
Revision:476951Original commit files touched by this commit
zi search for other commits by this committer
- Update to 1.2.0
1.0.0
11 Dec 2017 15:26:23
Revision:456045Original commit files touched by this commit
danfe search for other commits by this committer
Add ONLY_FOR_ARCHS_REASON statement: while it attempts to query generic CPU
information using sysctl(3) CTL_HW* identifiers, it does not properly guard
x86-specific code paths.

Requested by:	mat
1.0.0
11 Dec 2017 09:24:41
Revision:455934Original commit files touched by this commit
danfe search for other commits by this committer
Follow up on r455926 and just set ONLY_FOR_ARCHS instead of a bunch of
BROKEN_* statements: this software is inherently x86-only.  While here,
remove redundant ${PORTNAME}.1 from destination path and thus make the
line fit under 80 characters.
1.0.0
11 Dec 2017 05:27:50
Revision:455926Original commit files touched by this commit
linimon search for other commits by this committer
Also broken on powerpc64 (and presumably also powerpc).

Approved by:	portmgr (tier-2 blanket)
1.0.0
09 Dec 2017 01:39:20
Revision:455815Original commit files touched by this commit
linimon search for other commits by this committer
These are also broken on aarch64 in the same way as armv6/7.

Approved by:	portmgr (tier-2 blanket)
1.0.0
09 Dec 2017 01:02:21
Revision:455814Original commit files touched by this commit
linimon search for other commits by this committer
Although the upstream claims that this works on non-x86 archs, it seems
not to be the case.

Approved by:	portmgr (tier-2 blanket)
1.0.0
29 Sep 2017 11:52:28
Revision:450889Original commit files touched by this commit
zi search for other commits by this committer
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

Number of commits found: 18