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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
hs-cputype Find out your CPUTYPE
0.2.2_2 sysutils on this many watch lists=2 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 0.2.2_1Version of this port present on the latest quarterly branch.
Maintainer: arrowd@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-07-15 12:13:41
Last Update: 2025-05-13 07:34:34
Commit Hash: c4da83d
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: haskell
License: BSD3CLAUSE
WWW:
https://foss.heptapod.net/bsdutils/cputype
Description:
This small utility can help figuring out proper value for CPUTYPE variable used by FreeBSD build machinery in src and ports Makefiles. It uses clang for this and checks its output against bsd.cpu.mk file. It also allows you to list CPU features, and compare between several CPUs to find out which one is most featured.
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 (3 items)
Collapse this list.
  1. /usr/local/share/licenses/hs-cputype-0.2.2_2/catalog.mk
  2. /usr/local/share/licenses/hs-cputype-0.2.2_2/LICENSE
  3. /usr/local/share/licenses/hs-cputype-0.2.2_2/BSD3CLAUSE
Collapse this list.
Dependency lines:
  • hs-cputype>0:sysutils/hs-cputype
To install the port:
cd /usr/ports/sysutils/hs-cputype/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/hs-cputype
  • pkg install hs-cputype
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: hs-cputype
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1747066982 SHA256 (cabal/ansi-terminal-1.1.2/ansi-terminal-1.1.2.tar.gz) = a8d04a3e0451e22a6499a92311f0df1196dc65b687df7d10e3f30d92420156b0 SIZE (cabal/ansi-terminal-1.1.2/ansi-terminal-1.1.2.tar.gz) = 36259

Expand this list (34 items)

Collapse this list.

SHA256 (cabal/ansi-terminal-types-1.1/ansi-terminal-types-1.1.tar.gz) = f2e5333eb78da5f4dd330fca0c81a59276cc150c625647cd20f57b7f297a5d25 SIZE (cabal/ansi-terminal-types-1.1/ansi-terminal-types-1.1.tar.gz) = 4746 SHA256 (cabal/attoparsec-0.14.4/attoparsec-0.14.4.tar.gz) = 3f337fe58624565de12426f607c23e60c7b09c86b4e3adfc827ca188c9979e6c SIZE (cabal/attoparsec-0.14.4/attoparsec-0.14.4.tar.gz) = 160701 SHA256 (cabal/attoparsec-0.14.4/revision/6.cabal) = 35129d0ab1741f000f1a7d2fc839544919ee6fbb8f2d6e7f0a629c41f91035f3 SIZE (cabal/attoparsec-0.14.4/revision/6.cabal) = 5914 SHA256 (cabal/colour-2.3.6/colour-2.3.6.tar.gz) = 2cd35dcd6944a5abc9f108a5eb5ee564b6b1fa98a9ec79cefcc20b588991f871 SIZE (cabal/colour-2.3.6/colour-2.3.6.tar.gz) = 20675 SHA256 (cabal/hashable-1.5.0.0/hashable-1.5.0.0.tar.gz) = e58b3a8e18da5f6cd7e937e5fd683e500bb1f8276b3768269759119ca0cddb6a SIZE (cabal/hashable-1.5.0.0/hashable-1.5.0.0.tar.gz) = 89062 SHA256 (cabal/hashable-1.5.0.0/revision/1.cabal) = 2f23146cbe0325029927b221647695a4c7d6e97548ff731110979e34361f58ef SIZE (cabal/hashable-1.5.0.0/revision/1.cabal) = 5914 SHA256 (cabal/integer-logarithms-1.0.4/integer-logarithms-1.0.4.tar.gz) = 6a93c76c2518cbe2d72ab17da6ae46d8cae93cbfb7c5a5ad5783f903c1448f45 SIZE (cabal/integer-logarithms-1.0.4/integer-logarithms-1.0.4.tar.gz) = 8948 SHA256 (cabal/optparse-applicative-0.18.1.0/optparse-applicative-0.18.1.0.tar.gz) = 63811ab4fd26e829b8868364325a88be3acc79819f5bb5005b2dd3b961ecc491 SIZE (cabal/optparse-applicative-0.18.1.0/optparse-applicative-0.18.1.0.tar.gz) = 60682 SHA256 (cabal/optparse-applicative-0.18.1.0/revision/1.cabal) = f30973861ac7e7ebff05ff8c7c3d1e4d283a1f3850e1cc14106b0693ec1b6d82 SIZE (cabal/optparse-applicative-0.18.1.0/revision/1.cabal) = 5289 SHA256 (cabal/os-string-2.0.7/os-string-2.0.7.tar.gz) = 339c35fd3a290522f23de4e33528423cfd0b0a8f22946b0b9816a817b926cba0 SIZE (cabal/os-string-2.0.7/os-string-2.0.7.tar.gz) = 44683 SHA256 (cabal/prettyprinter-1.7.1/prettyprinter-1.7.1.tar.gz) = 5e6ea6903114fa118fcc359633dfb7ecddecb92c06c853d02a77b72b251f0b45 SIZE (cabal/prettyprinter-1.7.1/prettyprinter-1.7.1.tar.gz) = 56907 SHA256 (cabal/prettyprinter-ansi-terminal-1.1.3/prettyprinter-ansi-terminal-1.1.3.tar.gz) = 813739308ad6050620578994effe21058a170a341716acf52573fae42b5b1db3 SIZE (cabal/prettyprinter-ansi-terminal-1.1.3/prettyprinter-ansi-terminal-1.1.3.tar.gz) = 8879 SHA256 (cabal/primitive-0.9.1.0/primitive-0.9.1.0.tar.gz) = 44b4de41813c7bc5db8a57f87c3612a069b65086946268ba165097252ebd3d76 SIZE (cabal/primitive-0.9.1.0/primitive-0.9.1.0.tar.gz) = 61724 SHA256 (cabal/scientific-0.3.8.0/scientific-0.3.8.0.tar.gz) = 13b343bca8aa26d7718e52e622e5a118056653edafcbc7ccc5333be7217218cf SIZE (cabal/scientific-0.3.8.0/scientific-0.3.8.0.tar.gz) = 24314 SHA256 (cabal/scientific-0.3.8.0/revision/2.cabal) = ba83a6701dd0110138443757aca4a42786afa94272b73045ef878fd860d1732e SIZE (cabal/scientific-0.3.8.0/revision/2.cabal) = 4397 SHA256 (cabal/transformers-compat-0.7.2/transformers-compat-0.7.2.tar.gz) = b62c7304c9f3cbc9463d0739aa85cb9489f217ea092b9d625d417514fbcc9d6a SIZE (cabal/transformers-compat-0.7.2/transformers-compat-0.7.2.tar.gz) = 46485 SHA256 (cabal/bsdutils-cputype-ae3a01cc39547e6e014e40bd7c2cc0f6810ec616_GL0.tar.gz) = 21ec37441fba9f0b661074e57adccc69096bfce56a81f77ccea1684f00ccc00e SIZE (cabal/bsdutils-cputype-ae3a01cc39547e6e014e40bd7c2cc0f6810ec616_GL0.tar.gz) = 4244

Collapse this list.


Packages (timestamps in pop-ups are UTC):
hs-cputype
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.2_20.2.2_2------
FreeBSD:13:quarterly0.2.2_10.2.2_2------
FreeBSD:14:latest-0.2.2_2------
FreeBSD:14:quarterly0.2.2_20.2.2_2------
FreeBSD:15:latest-0.2.2_2n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ghc : lang/ghc
  2. cabal : devel/hs-cabal-install
Library dependencies:
  1. libgmp.so : math/gmp
  2. libffi.so : devel/libffi
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_hs-cputype
USES:
cabal
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://foss.heptapod.net/bsdutils/cputype/-/archive/ae3a01cc39547e6e014e40bd7c2cc0f6810ec616.tar.gz?dummy=/
Collapse this list.

Number of commits found: 20

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.2_2
13 May 2025 07:34:34
commit hash: c4da83d562d9e056c79921b8bfd64b63e624d70ccommit hash: c4da83d562d9e056c79921b8bfd64b63e624d70ccommit hash: c4da83d562d9e056c79921b8bfd64b63e624d70ccommit hash: c4da83d562d9e056c79921b8bfd64b63e624d70c files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
sysutils/hs-cputype: Chase GHC update
0.2.2_1
12 Jul 2023 18:56:04
commit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986ccommit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986ccommit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986ccommit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986c files touched by this commit
Felix Palmen (zirias) search for other commits by this committer
bsd.sites.mk: Update all ports using USE_GITLAB

Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
0.2.2_1
27 May 2023 08:44:40
commit hash: 388ef714e2cd59891c9d358cbd59927733e48aedcommit hash: 388ef714e2cd59891c9d358cbd59927733e48aedcommit hash: 388ef714e2cd59891c9d358cbd59927733e48aedcommit hash: 388ef714e2cd59891c9d358cbd59927733e48aed files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
sysutils/hs-cputype: Fix build with new GHC.
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)
0.2.2
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)
0.2.2
07 Jul 2022 10:24:36
commit hash: a08dcd80d8de0305e2aba326ec61a3f2f80f2edecommit hash: a08dcd80d8de0305e2aba326ec61a3f2f80f2edecommit hash: a08dcd80d8de0305e2aba326ec61a3f2f80f2edecommit hash: a08dcd80d8de0305e2aba326ec61a3f2f80f2ede files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
sysutils/hs-cputype: Update to 0.2.2
0.2.1_2
09 May 2022 19:23:51
commit hash: db78da8f8b7388d951665362479eb4aa0babf1b4commit hash: db78da8f8b7388d951665362479eb4aa0babf1b4commit hash: db78da8f8b7388d951665362479eb4aa0babf1b4commit hash: db78da8f8b7388d951665362479eb4aa0babf1b4 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
devel/libffi: Bump deps PORTREVISION for shlib change

PR:		263764
Reported by:	VVD <vvd@unislabs.com>
0.2.1_1
24 Mar 2022 15:23:29
commit hash: cf9085c01a581127f8e7f8c58f2de8b780918feecommit hash: cf9085c01a581127f8e7f8c58f2de8b780918feecommit hash: cf9085c01a581127f8e7f8c58f2de8b780918feecommit hash: cf9085c01a581127f8e7f8c58f2de8b780918fee files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
sysutils/hs-cputype: Refresh distinfo.

Something has changed on the Heptapod host, which caused the distfile to have
different size/checksum. The archive contents, however, are identical.

Reported by:	portscout!
0.2.1_1
16 Oct 2021 09:51:39
commit hash: 4460cf727a7788c9ce21f3344ce5745e5cd9fc4acommit hash: 4460cf727a7788c9ce21f3344ce5745e5cd9fc4acommit hash: 4460cf727a7788c9ce21f3344ce5745e5cd9fc4acommit hash: 4460cf727a7788c9ce21f3344ce5745e5cd9fc4a files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
*: fix tab vs. space issues, and comments according to the guide.
0.2.1_1
31 May 2021 13:09:03
commit hash: 8f7417b166d6b1f9153afe3634dc3f5d1ff04bf5commit hash: 8f7417b166d6b1f9153afe3634dc3f5d1ff04bf5commit hash: 8f7417b166d6b1f9153afe3634dc3f5d1ff04bf5commit hash: 8f7417b166d6b1f9153afe3634dc3f5d1ff04bf5 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
sysutils/hs-cputype: Remove WRKSRC hack.

The upstream Heptapod issue was fixed.
0.2.1_1
21 Apr 2021 04:48:23
commit hash: bdca32c5961668b70d8b65ecfe8d9f338216bb16commit hash: bdca32c5961668b70d8b65ecfe8d9f338216bb16commit hash: bdca32c5961668b70d8b65ecfe8d9f338216bb16commit hash: bdca32c5961668b70d8b65ecfe8d9f338216bb16 files touched by this commit
Tobias Kortkamp (tobik) search for other commits by this committer
Bump USES=cabal ports after 12837690ed0c
0.2.1
09 Apr 2021 18:44:23
commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
Regenerate all distfiles using gitlab as source.

This regeneration is required as the new gitlab version changed
the address and the directory the source files can be downloaded.

This commit also applies some small fixes to make sure all ports using
gitlab are buildable.

Reviewed by:	mat
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D29628
0.2.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.2.1
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.
0.2.1
30 Dec 2020 18:57:32
Revision:559679Original commit files touched by this commit
arrowd search for other commits by this committer
Uses/cabal.mk: Set EXTRACT_ONLY based on DISTFILES value, just like bsd.port.mk
does.

This removes the need for specifying EXTRACT_ONLY for Haskell ports that have
USE_{GITHUB,GITLAB}.

PR:		244784
0.2.1
16 Aug 2020 07:56:19
Revision:545088Original commit files touched by this commit
arrowd search for other commits by this committer
lang/ghc: Update to 8.10.1.

As usual, along with the compiler, many Haskell packages are updated as well.
0.2_2
04 Jul 2020 18:11:42
Revision:541232Original commit files touched by this commit
zeising search for other commits by this committer
Chanse update of devel/libffi

Chase the devel/libffi update
Bump portrevision of all dependent ports to chace shard library version bump
in libffi.
Update LIB_DEPENDS lines where needed to not require a specific version of
libffi.so.

PR:		247028 (for tracking)
0.2_1
04 May 2020 18:08:10
Revision:533933Original commit files touched by this commit
arrowd search for other commits by this committer
Upgrade lang/ghc to 8.8.3 and many Haskell ports along the way.

PR:		244784
Submitted by:	Evilham <contact@evilham.com> (some ports)
0.2
22 Dec 2019 15:41:00
Revision:520643Original commit files touched by this commit
arrowd search for other commits by this committer
sysutils/hs-cputype: Update to 0.2.
0.1
15 Jul 2019 12:13:34
Revision:506658Original commit files touched by this commit
arrowd search for other commits by this committer
sysutils/hs-cputype: new port. This utility prints out suitable value for
CPUTYPE for a given host, can compare types and print their features.

Number of commits found: 20