From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-benchmarks/cpuburn/Manifest | 1 + app-benchmarks/cpuburn/cpuburn-1.4a-r1.ebuild | 32 +++++++++++++++++ app-benchmarks/cpuburn/cpuburn-1.4a.ebuild | 30 ++++++++++++++++ app-benchmarks/cpuburn/files/01-variables.patch | 40 ++++++++++++++++++++++ .../cpuburn/files/cpuburn-1.4a-flags.patch | 7 ++++ app-benchmarks/cpuburn/metadata.xml | 10 ++++++ 6 files changed, 120 insertions(+) create mode 100644 app-benchmarks/cpuburn/Manifest create mode 100644 app-benchmarks/cpuburn/cpuburn-1.4a-r1.ebuild create mode 100644 app-benchmarks/cpuburn/cpuburn-1.4a.ebuild create mode 100644 app-benchmarks/cpuburn/files/01-variables.patch create mode 100644 app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch create mode 100644 app-benchmarks/cpuburn/metadata.xml (limited to 'app-benchmarks/cpuburn') diff --git a/app-benchmarks/cpuburn/Manifest b/app-benchmarks/cpuburn/Manifest new file mode 100644 index 000000000000..7cf8fcf1b57f --- /dev/null +++ b/app-benchmarks/cpuburn/Manifest @@ -0,0 +1 @@ +DIST cpuburn-1.4a.tar.gz 9277 SHA256 eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6 SHA512 db84cabe70af0b6b3579c746f6df08c268b7145c9521fc609ce5b4cfd497dbb0639e52ab55f34110cff297ec23cf1413db28c6bff4e6f81a69722626886df7ce WHIRLPOOL e119aeaf3453357125fb0f203fdbd0bb68f52479213d6cf6462fcaf53636cb4a13b16f5350cc4b9a382ff9ccc362535f362f6b5b78165c683dcd432e281c7b46 diff --git a/app-benchmarks/cpuburn/cpuburn-1.4a-r1.ebuild b/app-benchmarks/cpuburn/cpuburn-1.4a-r1.ebuild new file mode 100644 index 000000000000..6d06937ccd3b --- /dev/null +++ b/app-benchmarks/cpuburn/cpuburn-1.4a-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +MY_P="${PV/./_}" + +DESCRIPTION="Designed to heavily load CPU chips [testing purposes]" +HOMEPAGE="http://pages.sbcglobal.net/redelm/" +#SRC_URI="http://pages.sbcglobal.net/redelm/cpuburn_${MY_P}_tar.gz -> ${P}.tar.gz" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-flags.patch \ + "${FILESDIR}"/01-variables.patch + use amd64 && append-flags -m32 #65719 + tc-export CC +} + +src_install() { + dodoc Design README + dobin burn{BX,K6,K7,MMX,P5,P6} +} diff --git a/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild b/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild new file mode 100644 index 000000000000..30ebdbef6930 --- /dev/null +++ b/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils flag-o-matic toolchain-funcs + +MY_P="${PV/./_}" + +DESCRIPTION="Designed to heavily load CPU chips [testing purposes]" +HOMEPAGE="http://pages.sbcglobal.net/redelm/" +#SRC_URI="http://pages.sbcglobal.net/redelm/cpuburn_${MY_P}_tar.gz -> ${P}.tar.gz" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + use amd64 && append-flags -m32 #65719 + tc-export CC +} + +src_install() { + dodoc Design README + dobin burn{BX,K6,K7,MMX,P5,P6} +} diff --git a/app-benchmarks/cpuburn/files/01-variables.patch b/app-benchmarks/cpuburn/files/01-variables.patch new file mode 100644 index 000000000000..3e8b666c29ec --- /dev/null +++ b/app-benchmarks/cpuburn/files/01-variables.patch @@ -0,0 +1,40 @@ +--- cpuburn-1.4a.orig/burnK7.S ++++ cpuburn-1.4a/burnK7.S +@@ -74,6 +74,7 @@ int_exit: + push %eax + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + .fill 64 + half: .long 0x7fffffff,0 +--- cpuburn-1.4a.orig/burnP5.S ++++ cpuburn-1.4a/burnP5.S +@@ -77,6 +77,7 @@ crunch: + #else + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0xffffffff,0x3fdfffff + one: .long 0xffffffff,0x3fefffff +--- cpuburn-1.4a.orig/burnP6.S ++++ cpuburn-1.4a/burnP6.S +@@ -69,6 +69,7 @@ int_exit: # error abort + push %eax # *BSD syscall + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff +--- cpuburn-1.4a.orig/burnK6.S ++++ cpuburn-1.4a/burnK6.S +@@ -68,6 +68,7 @@ int_exit: + push %eax + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff diff --git a/app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch b/app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch new file mode 100644 index 000000000000..97b8836c0af4 --- /dev/null +++ b/app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch @@ -0,0 +1,7 @@ +--- Makefile.orig 2001-06-16 05:39:17.000000000 +0200 ++++ Makefile 2010-10-12 20:31:38.000000000 +0200 +@@ -1,3 +1,3 @@ + all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX + .S: +- gcc -s -nostdlib -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -nostdlib -o $@ $< diff --git a/app-benchmarks/cpuburn/metadata.xml b/app-benchmarks/cpuburn/metadata.xml new file mode 100644 index 000000000000..afc8cb4d2030 --- /dev/null +++ b/app-benchmarks/cpuburn/metadata.xml @@ -0,0 +1,10 @@ + + + + benchmarks + + CPUBurn is the ultimate stability testing tool for overclockers. The + program heats up any x86 CPU to the maximum possible operating + temperature that is achievable by using ordinary software. + + -- cgit v1.2.3-65-gdbad