Date: Mon, 15 Jul 2019 12:13:34 +0000 (UTC) From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506658 - in head/sysutils: . hs-cputype Message-ID: <201907151213.x6FCDYK1025809@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arrowd Date: Mon Jul 15 12:13:33 2019 New Revision: 506658 URL: https://svnweb.freebsd.org/changeset/ports/506658 Log: sysutils/hs-cputype: new port. This utility prints out suitable value for CPUTYPE for a given host, can compare types and print their features. Added: head/sysutils/hs-cputype/ head/sysutils/hs-cputype/Makefile (contents, props changed) head/sysutils/hs-cputype/distinfo (contents, props changed) head/sysutils/hs-cputype/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Jul 15 11:21:32 2019 (r506657) +++ head/sysutils/Makefile Mon Jul 15 12:13:33 2019 (r506658) @@ -479,6 +479,7 @@ SUBDIR += hpacucli SUBDIR += hploscripts SUBDIR += hptcli + SUBDIR += hs-cputype SUBDIR += hstr SUBDIR += htop SUBDIR += httplog Added: head/sysutils/hs-cputype/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hs-cputype/Makefile Mon Jul 15 12:13:33 2019 (r506658) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= cputype +PORTVERSION= 0.1 +CATEGORIES= sysutils haskell +MASTER_SITES= https://bitbucket.org/arrowd/cputype/downloads/ + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Find out your CPUTYPE + +LICENSE= BSD3CLAUSE + +USES= cabal + +USE_CABAL= ansi-terminal-0.9.1 \ + ansi-wl-pprint-0.6.9 \ + attoparsec-0.13.2.2 \ + colour-2.3.5 \ + hashable-1.3.0.0 \ + integer-logarithms-1.0.3 \ + optparse-applicative-0.15.0.0 \ + primitive-0.7.0.0 \ + scientific-0.3.6.2 \ + transformers-compat-0.6.5 + +.include <bsd.port.mk> Added: head/sysutils/hs-cputype/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hs-cputype/distinfo Mon Jul 15 12:13:33 2019 (r506658) @@ -0,0 +1,23 @@ +TIMESTAMP = 1563192135 +SHA256 (cabal/cputype-0.1.tar.gz) = 85613d8fd56735134b6a434917603f64f9ab75dc224bb2bf661a5ec05e57587d +SIZE (cabal/cputype-0.1.tar.gz) = 4011 +SHA256 (cabal/ansi-terminal-0.9.1/ansi-terminal-0.9.1.tar.gz) = 74088e80b33ba680f7c46137d25bfcca6fa8795bc2d097e4e0435b3c41a320fb +SIZE (cabal/ansi-terminal-0.9.1/ansi-terminal-0.9.1.tar.gz) = 34756 +SHA256 (cabal/ansi-wl-pprint-0.6.9/ansi-wl-pprint-0.6.9.tar.gz) = a7b2e8e7cd3f02f2954e8b17dc60a0ccd889f49e2068ebb15abfa1d42f7a4eac +SIZE (cabal/ansi-wl-pprint-0.6.9/ansi-wl-pprint-0.6.9.tar.gz) = 16723 +SHA256 (cabal/attoparsec-0.13.2.2/attoparsec-0.13.2.2.tar.gz) = dd93471eb969172cc4408222a3842d867adda3dd7fb39ad8a4df1b121a67d848 +SIZE (cabal/attoparsec-0.13.2.2/attoparsec-0.13.2.2.tar.gz) = 159729 +SHA256 (cabal/colour-2.3.5/colour-2.3.5.tar.gz) = 3b8d471979617dce7c193523743c9782df63433d8e87e3ef6d97922e0da104e7 +SIZE (cabal/colour-2.3.5/colour-2.3.5.tar.gz) = 20485 +SHA256 (cabal/hashable-1.3.0.0/hashable-1.3.0.0.tar.gz) = 822e5413fbccca6ae884d3aba4066422c8b5d58d23d18b9ecb5c03273bb19ab4 +SIZE (cabal/hashable-1.3.0.0/hashable-1.3.0.0.tar.gz) = 29835 +SHA256 (cabal/integer-logarithms-1.0.3/integer-logarithms-1.0.3.tar.gz) = 5ae262018698af35bb74916fad170d96d3eb44669c72ed36db9a19a3392cec16 +SIZE (cabal/integer-logarithms-1.0.3/integer-logarithms-1.0.3.tar.gz) = 8840 +SHA256 (cabal/optparse-applicative-0.15.0.0/optparse-applicative-0.15.0.0.tar.gz) = af4bad699464b071a7e9d636fecf3982ae76fc5f69e48bec30405ca6cfce2008 +SIZE (cabal/optparse-applicative-0.15.0.0/optparse-applicative-0.15.0.0.tar.gz) = 55650 +SHA256 (cabal/primitive-0.7.0.0/primitive-0.7.0.0.tar.gz) = 786a44fea328caf704b762ebc887e9e8476c4378fdf3a06c94e86ef1878d1576 +SIZE (cabal/primitive-0.7.0.0/primitive-0.7.0.0.tar.gz) = 66014 +SHA256 (cabal/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz) = 278d0afc87450254f8a76eab21b5583af63954efc9b74844a17a21a68013140f +SIZE (cabal/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz) = 23510 +SHA256 (cabal/transformers-compat-0.6.5/transformers-compat-0.6.5.tar.gz) = da67cf11515da751b32a8ce6e96549f7268f7c435769ad19dc9766b69774620b +SIZE (cabal/transformers-compat-0.6.5/transformers-compat-0.6.5.tar.gz) = 40421 Added: head/sysutils/hs-cputype/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hs-cputype/pkg-descr Mon Jul 15 12:13:33 2019 (r506658) @@ -0,0 +1,6 @@ +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. + +WWW: https://bitbucket.org/arrowd/cputype
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907151213.x6FCDYK1025809>