Bug 194826 - [NEW PORT] sysutils/cpuid: Linux tool to dump x86 CPUID information about the CPU(s)
Summary: [NEW PORT] sysutils/cpuid: Linux tool to dump x86 CPUID information about the...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 22:15 UTC by Uffe Jakobsen
Modified: 2014-12-09 22:13 UTC (History)
1 user (show)

See Also:


Attachments
sysutils-cpuid.shar.txt (4.45 KB, patch)
2014-11-04 22:16 UTC, Uffe Jakobsen
no flags Details | Diff
portlint.log (90 bytes, text/x-log)
2014-11-04 22:16 UTC, Uffe Jakobsen
no flags Details
poudriere log (10.48 KB, text/x-log)
2014-11-04 22:17 UTC, Uffe Jakobsen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2014-11-04 22:15:19 UTC
[NEW PORT] sysutils/cpuid: Linux tool to dump x86 CPUID information about the CPU(s)

Linux tool to dump x86 CPUID information about the CPU(s)

cpuid dumps detailed information about the CPU(s) gathered from the
CPUID instruction, and also determines the exact model of CPU(s).
It supports Intel, AMD, and VIA CPUs, as well as older Transmeta,
Cyrix, UMC, NexGen, Rise, and SiS CPUs.

WWW: http://www.etallen.com/cpuid.html


shar, poudriere,log, portlint.log attached
Comment 1 Uffe Jakobsen 2014-11-04 22:16:00 UTC
Created attachment 149055 [details]
sysutils-cpuid.shar.txt
Comment 2 Uffe Jakobsen 2014-11-04 22:16:45 UTC
Created attachment 149056 [details]
portlint.log
Comment 3 Uffe Jakobsen 2014-11-04 22:17:12 UTC
Created attachment 149057 [details]
poudriere log
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2014-11-05 21:43:23 UTC
There's a very old misc/cpuid, is new cpuid a fork or complitely different project? Does it make sence to keep old cpuid along with this new one?
Comment 5 Uffe Jakobsen 2014-11-06 12:50:46 UTC
As far as I know they are completely different projects.

the old misc/cpuid seems rather unmaintained (upstream) where the new sysutils/cpuid is activly maintained (upstream).

I deliberately did not want to retire the old misc/cpuid because I do not know if the new one is able to provide exact the same information - hence the name cpuid-linux on this port
Comment 6 Max Brazhnikov freebsd_committer freebsd_triage 2014-12-06 19:49:50 UTC
(In reply to Uffe Jakobsen from comment #5)
> As far as I know they are completely different projects.
> 
> the old misc/cpuid seems rather unmaintained (upstream) where the new
> sysutils/cpuid is activly maintained (upstream).
> 
> I deliberately did not want to retire the old misc/cpuid because I do not
> know if the new one is able to provide exact the same information - hence
> the name cpuid-linux on this port

Sorry for delay. I find reference to linux confusing here. I suggest to drop it and use different suffix for package and binary. Are you ok with the following changes: http://people.freebsd.org/~makc/patches/cpuid.diff ?
Comment 7 Uffe Jakobsen 2014-12-08 22:54:46 UTC
Hi,

Well, I'm ok with the purposed diff.

My reasons for the naming was - also - besides avoiding packagename collision
- to indicate that the package somewhat is constrained on FreeBSD due to the fact that parts of the package uses linux specific syscalls/kernel facilities.

But your suggestion is a good one - please go ahead

Thx :-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2014-12-09 22:08:09 UTC
A commit references this bug:

Author: makc
Date: Tue Dec  9 22:07:16 UTC 2014
New revision: 374435
URL: https://svnweb.freebsd.org/changeset/ports/374435

Log:
  Add new port sysutils/cpuid: tool to dump x86 CPUID information.

  WWW: http://www.etallen.com/cpuid.html

  The package and the binary have been renamed to cpuid-etallen in order to
  avoid conflict with misc/cpuid.

  PR:		194826
  Submitted by:	Uffe Jakobsen

Changes:
  head/sysutils/Makefile
  head/sysutils/cpuid/
  head/sysutils/cpuid/Makefile
  head/sysutils/cpuid/distinfo
  head/sysutils/cpuid/files/
  head/sysutils/cpuid/files/patch-cpuid.c
  head/sysutils/cpuid/pkg-descr
Comment 9 Max Brazhnikov freebsd_committer freebsd_triage 2014-12-09 22:13:36 UTC
Committed, thanks!