summaryrefslogtreecommitdiff
path: root/sysutils/cpuid
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-07-03 10:21:31 +0000
committeragc <agc@pkgsrc.org>2003-07-03 10:21:31 +0000
commitd2f2570e7fe1783129b60b9ebbaa96fd986b5a6c (patch)
tree041c0afc277b558285bca635250053176b3c3855 /sysutils/cpuid
parent6204325d69ec58c71968475e1b3e08f42d61c878 (diff)
downloadpkgsrc-d2f2570e7fe1783129b60b9ebbaa96fd986b5a6c.tar.gz
Initial import of cpuid-3.3 into the NetBSD Packages Collection - with
thanks to seb for pointing this one out. For x86-based platforms only. This is a fairly complete CPU identification utility. It has been tested on several Intel, AMD and Cyrix CPUs. If the Pentium III serial number misfeature is present and enabled, this program will display it.
Diffstat (limited to 'sysutils/cpuid')
-rw-r--r--sysutils/cpuid/DESCR4
-rw-r--r--sysutils/cpuid/Makefile19
-rw-r--r--sysutils/cpuid/PLIST2
-rw-r--r--sysutils/cpuid/distinfo4
4 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/cpuid/DESCR b/sysutils/cpuid/DESCR
new file mode 100644
index 00000000000..ab1b18d6170
--- /dev/null
+++ b/sysutils/cpuid/DESCR
@@ -0,0 +1,4 @@
+This is a fairly complete CPU identification utility. It has been
+tested on several Intel, AMD and Cyrix CPUs. If the Pentium III
+serial number misfeature is present and enabled, this program will
+display it.
diff --git a/sysutils/cpuid/Makefile b/sysutils/cpuid/Makefile
new file mode 100644
index 00000000000..f2ab797d3b6
--- /dev/null
+++ b/sysutils/cpuid/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/03 10:21:31 agc Exp $
+
+DISTNAME= cpuid-3.3
+CATEGORIES= sysutils
+MASTER_SITES= http://www.ka9q.net/code/cpuid/
+
+MAINTAINER= tech-pkg@netbsd.org
+HOMEPAGE= http://www.gnu.org/directory/System_administration/Configuration/cpuid.html
+COMMENT= CPU identification feature
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} cpuid.c -o cpuid
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/cpuid/PLIST b/sysutils/cpuid/PLIST
new file mode 100644
index 00000000000..baefdb5fbe2
--- /dev/null
+++ b/sysutils/cpuid/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/03 10:21:31 agc Exp $
+bin/cpuid
diff --git a/sysutils/cpuid/distinfo b/sysutils/cpuid/distinfo
new file mode 100644
index 00000000000..27f372eb297
--- /dev/null
+++ b/sysutils/cpuid/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/03 10:21:31 agc Exp $
+
+SHA1 (cpuid-3.3.tar.gz) = b9dba38c59d1e83cc8e511590d05523898888894
+Size (cpuid-3.3.tar.gz) = 5762 bytes