FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us

Port details
libcpuid Small x86 CPU identification library
0.4.0 sysutils on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: search for ports maintained by this maintainer
Port Added: 18 Aug 2016 02:21:14
libcpuid is a small C library for x86 CPU detection and feature extraction.
Using it, you can:

  - Get the processor vendor, model, brand string, code name, etc.
  - Get information about CPU features such as: number of cores or logical
    CPUs, cache sizes, CPU clock, etc.
  - Check if the processor implements a specific instruction set such as
    SSE2 or 3DNow!
  - Execute the CPUID and RDTSC instructions in a portable way
  - And have this all in your commercial application, without getting into
    trouble, due to permissive license

Reference utility (rather advanced and useful on its own) is also provided.

SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (14 items)
  1. /usr/local/share/licenses/libcpuid-0.4.0/
  2. /usr/local/share/licenses/libcpuid-0.4.0/LICENSE
  3. /usr/local/share/licenses/libcpuid-0.4.0/BSD2CLAUSE
  4. bin/cpuid_tool
  5. include/libcpuid/libcpuid.h
  6. include/libcpuid/libcpuid_constants.h
  7. include/libcpuid/libcpuid_types.h
  8. lib/libcpuid.a
  9. lib/
  10. lib/
  11. lib/
  12. libdata/pkgconfig/libcpuid.pc
  13. @postexec /sbin/ldconfig -m /usr/local/lib
  14. @postunexec /sbin/ldconfig -R
  15. Collapse this list.

To install the port: cd /usr/ports/sysutils/libcpuid/ && make install clean
To add the package: pkg install libcpuid

PKGNAME: libcpuid

ONLY_FOR_ARCHS: i386 amd64


TIMESTAMP = 1478998492
SHA256 (anrieff-libcpuid-v0.4.0_GH0.tar.gz) = 43427230cd9e86e25e5898b8e226c8af165085898795fd82d048d192c077ebfa
SIZE (anrieff-libcpuid-v0.4.0_GH0.tar.gz) = 124371

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. autoconf-2.69 : devel/autoconf
  2. autoheader-2.69 : devel/autoconf
  3. autoreconf-2.69 : devel/autoconf
  4. aclocal-1.15 : devel/automake
  5. automake-1.15 : devel/automake
  6. libtoolize : devel/libtool

This port is required by:

for Libraries * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for libcpuid-0.4.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings

autoreconf libtool pathfix

Master Sites:

Number of commits found: 3

Commit History - (may be incomplete: see SVNWeb link above for full details)
20 Jan 2017 16:44:13
Original commit files touched by this commit  0.4.0
danfe search for other commits by this committer
- Update `sysutils/libcpuid' to version 0.4.0
- Distribution file are now served off GitHub
- Chase shlib version bump in `sysutils/cpu-x'

Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1478998492 which corresponds to commit fa87a5e tagged
as this release.
09 Sep 2016 19:42:46
Original commit files touched by this commit  0.3.0
amdmi3 search for other commits by this committer
Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18 Aug 2016 02:21:07
Original commit files touched by this commit  0.3.0
danfe search for other commits by this committer
Add a port of libcpuid, small x86 CPU identification library written in C.

NB: TIMESTAMP line in distinfo should read as follows, but has to stay in
its current form due to a bug in the hook script:
TIMESTAMP (libcpuid-0.3.0.tar.gz) = 1468115631


Number of commits found: 3

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
mariadb100-serverJan 19
mariadb101-serverJan 19
mariadb102-serverJan 19
mariadb55-serverJan 19
mysql55-serverJan 19
mysql56-serverJan 19
mysql57-serverJan 19
percona55-serverJan 19
percona56-serverJan 19
percona57-serverJan 19
phpbb3Jan 19
unboundJan 19
wordpressJan 19
wordpressJan 19
wordpressJan 19

11 vulnerabilities affecting 94 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-01-19 16:44:07

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 32659
Broken 130
Deprecated 97
Ignore 370
Forbidden 0
Restricted 172
Vulnerable 46
Expired 8
Set to expire 88
Interactive 0
new 24 hours 12
new 48 hours13
new 7 days733
new fortnight1451
new month2391

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.