From cafeaba50bbb65210bd0369d01bc996cbcc93c5d Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Wed, 16 Nov 2011 18:02:26 +0000 Subject: [PATCH] Resurrect cpuburn. Andriy Gapon has volunteered to maintain it, and I will host its distfiles. Submitted by: avg Feature safe: yes --- MOVED | 1 - sysutils/cpuburn/Makefile | 42 ++++++++++++++++++++++++++++++++++++++ sysutils/cpuburn/distinfo | 2 ++ sysutils/cpuburn/pkg-descr | 3 +++ 4 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 sysutils/cpuburn/Makefile create mode 100644 sysutils/cpuburn/distinfo create mode 100644 sysutils/cpuburn/pkg-descr diff --git a/MOVED b/MOVED index 8b7c033d071f..9c1724972c1d 100644 --- a/MOVED +++ b/MOVED @@ -2968,7 +2968,6 @@ russian/cyrproxy||2011-11-01|Does not fetch science/gerris||2011-11-01|Does not fetch security/opensaml||2011-11-01|Does not fetch sysutils/wmbattery||2011-11-01|Does not fetch -sysutils/cpuburn||2011-11-01|No more public distfiles textproc/tei-guidelines-p4||2011-11-01|Does not fetch textproc/tei-p4||2011-11-01|Does not fetch textproc/py-hyperestraier||2011-11-01|Does not fetch diff --git a/sysutils/cpuburn/Makefile b/sysutils/cpuburn/Makefile new file mode 100644 index 000000000000..de51e77b8c79 --- /dev/null +++ b/sysutils/cpuburn/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: cpuburn +# Date created: Apr 1, 2001 +# Whom: Mark Pulford +# +# $FreeBSD$ +# + +PORTNAME= cpuburn +DISTVERSION= 1_4 +CATEGORIES= sysutils +MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= avg +DISTNAME= cpuburn_${DISTVERSION} +EXTRACT_SUFX= _tar.gz + +MAINTAINER= avg@FreeBSD.org +COMMENT= CPU/memory stress testing utilities + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +ONLY_FOR_ARCHS= i386 amd64 + +PORTDOCS= README Design +CPUS= BX K6 K7 MMX P5 P6 +PLIST_FILES= ${CPUS:S+^+bin/burn+} + +do-build: +.for CPU in ${CPUS} + ${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S +.endfor + +do-install: +.for CPU in ${CPUS} + ${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR} +.endif + +.include diff --git a/sysutils/cpuburn/distinfo b/sysutils/cpuburn/distinfo new file mode 100644 index 000000000000..44b57ecd189b --- /dev/null +++ b/sysutils/cpuburn/distinfo @@ -0,0 +1,2 @@ +SHA256 (cpuburn_1_4_tar.gz) = 1b2a1672f455545a28d0f038737e792e8c3b97789f2029f765847fc2a807244a +SIZE (cpuburn_1_4_tar.gz) = 7373 diff --git a/sysutils/cpuburn/pkg-descr b/sysutils/cpuburn/pkg-descr new file mode 100644 index 000000000000..15f45d27edc7 --- /dev/null +++ b/sysutils/cpuburn/pkg-descr @@ -0,0 +1,3 @@ +CPUburn contains several utilities for stress testing various x86 +CPUs. To get the most of out of these utilities read the documentation +under share/doc/cpuburn.