diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-benchmarks/contest |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-benchmarks/contest')
-rw-r--r-- | app-benchmarks/contest/Manifest | 7 | ||||
-rw-r--r-- | app-benchmarks/contest/contest-0.61-r1.ebuild | 37 | ||||
-rw-r--r-- | app-benchmarks/contest/files/contest-0.61-fix-buildsystem.patch | 22 | ||||
-rw-r--r-- | app-benchmarks/contest/files/contest-fortify_sources.patch | 11 | ||||
-rw-r--r-- | app-benchmarks/contest/metadata.xml | 5 |
5 files changed, 82 insertions, 0 deletions
diff --git a/app-benchmarks/contest/Manifest b/app-benchmarks/contest/Manifest new file mode 100644 index 000000000000..e575e3a69b74 --- /dev/null +++ b/app-benchmarks/contest/Manifest @@ -0,0 +1,7 @@ +AUX contest-0.61-fix-buildsystem.patch 581 SHA256 bc751bbdb01de61146fbed711b6e9672166748e5d2448b83393eebd769909925 SHA512 35abe08432d62020a1c9daa2c9bae18dd2d8db99d3f938f9eb423d89b30c9d67441922bef5376c9e4b5be1744fb62b6e7c0163033f006225638f95c097f484a3 WHIRLPOOL 1f4e705f2f2faba865dfefca9460704bca1dec8deb15a83326b1b347e86a500c4fdb8cede301ca580469ccfdda05f1d4e4755e61adf37cab89eefb3270fd62e0 +AUX contest-fortify_sources.patch 376 SHA256 753f7934646497ea897b4b1b9e17859a9203cb0d3cdb15829b0d9bf3b5091ac8 SHA512 71bb1d0b594bfa2342622c5495ea0306829ced109fd606bdfb5e1aecc17b11270235f83606961067819097863ba3bff66e5c37c5496028ccce3f1701ee9bdb2f WHIRLPOOL 8844d8f4ab791d37e975fcb939e8dc6cf7ebfefa1c5ab29791688fe313c77d710955b55283b1820342fa0b87a87c221c95e6c592c9b4e8509bcf366b1256abe4 +DIST contest-0.61.tar.bz2 29204 SHA256 d98d2811bcab0dd3e3e8623daf99bd4625234615cda18a113a34e55c2d5ba140 SHA512 34fb83a3b37d67d9729ce14fdd066010c7360a401d21f3566be8dae7271a30f01cc5b84092405ddfb6961a2284af0a18ce6709ab6d4ab68607aa98f975815131 WHIRLPOOL 0cd4eb0793391bac2db3297d0fd61dfd2564d966f7125de68aa2de73f789a35d6874d4709780551d04ead4b90c6f45eea7cea15f28858d9710aa7d88aa4f1afc +EBUILD contest-0.61-r1.ebuild 752 SHA256 0d9df65af64805c6ca0e49beb4b7683ca7c74d41e3b8879f6c93d9d478f255de SHA512 f81082c98be91b791686bf0688706129bb149260021b5acf4f24ec998eddcd1c0059b369528996c8370b8feca5d512b259fb9813ec5c51599efec353216b3119 WHIRLPOOL 178253fe6f9a24021460342f245406f3e04333a389324b60059ac3df3f00fb234e06a2fbe32ec99d5a9d525c0bfa194c91bdefbec2355a3f3194a64cedea2eb1 +MISC ChangeLog 3461 SHA256 1551ea30ea45aa088d2ee8e5faaa18bf79e84ad879a875d77670b06f34d28e50 SHA512 a737a9470ac80de3541c788f56290b7180bf14d11efb5011fbf9834c3fc79d22a96196cad45f7ef28be2e57c2a1bc30aad81dc379d350f78f649879b2975881c WHIRLPOOL c4ab624b05ff4686ad2713b5e5efcd1008638b96a401356cf9a463ebdd3dc40ac782666e79a8e164e5b7ce47d2d7b5624871ae51ea7507a7fb87bc87c14de6d0 +MISC ChangeLog-2015 1388 SHA256 13dd9de90f7ab6354a1a2538533049c135579e2647d3443db35625e56eb4193a SHA512 c5873077706160ff709895ff336f79e5b343c45b31100981b43e5be952f78c65dce6e9a44c37ab7ee2c87c64c9d449cf0f80dbdb4b360c30ed3fac44cb49353b WHIRLPOOL e113f3bb263915a88a984b167502bdacd7b64b069116887a3f41529f8c5b990c5fff183f7a019102d0210f19393114e5409515a60e29a86cacc7c705b50e9133 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-benchmarks/contest/contest-0.61-r1.ebuild b/app-benchmarks/contest/contest-0.61-r1.ebuild new file mode 100644 index 000000000000..a2254a708dd5 --- /dev/null +++ b/app-benchmarks/contest/contest-0.61-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Test system responsiveness to compare different kernels" +HOMEPAGE="http://users.tpg.com.au/ckolivas/contest/" +SRC_URI="http://www.tux.org/pub/kernel/people/ck/apps/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +RDEPEND=">=app-benchmarks/dbench-2.0" +PATCHES=( + "${FILESDIR}/${PN}-fortify_sources.patch" + "${FILESDIR}/${P}-fix-buildsystem.patch" +) + +src_prepare () { + # fix #570250 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 + + default + tc-export CC +} +src_compile() { + emake +} + +src_install() { + dobin contest + doman contest.1 + dodoc README +} diff --git a/app-benchmarks/contest/files/contest-0.61-fix-buildsystem.patch b/app-benchmarks/contest/files/contest-0.61-fix-buildsystem.patch new file mode 100644 index 000000000000..7e8c6b7eb6a2 --- /dev/null +++ b/app-benchmarks/contest/files/contest-0.61-fix-buildsystem.patch @@ -0,0 +1,22 @@ +--- contest-0.61/Makefile ++++ contest-0.61/Makefile +@@ -1,8 +1,8 @@ + INSTPATH=/usr + BIN=$(INSTPATH)/bin + MAN=$(INSTPATH)/man +-CC=gcc +-CFLAGS= -W -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations \ ++CC?=gcc ++CFLAGS?= -W -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations \ + -g -O2 + + ifeq ($(shell uname),FreeBSD) +@@ -14,7 +14,7 @@ + list_load.o + + contest: $(objs) +- $(CC) $(CFLAGS) -o $@ $(objs) $(KVM) ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(objs) $(KVM) + contest.1.gz: contest.1 + gzip -c contest.1 > contest.1.gz + install: contest contest.1.gz diff --git a/app-benchmarks/contest/files/contest-fortify_sources.patch b/app-benchmarks/contest/files/contest-fortify_sources.patch new file mode 100644 index 000000000000..042065822612 --- /dev/null +++ b/app-benchmarks/contest/files/contest-fortify_sources.patch @@ -0,0 +1,11 @@ +--- contest-0.61/bmark.c 2009-02-27 23:13:44.000000000 +0000 ++++ contest-0.61/bmark.c 2009-02-27 23:12:44.000000000 +0000 +@@ -47,7 +47,7 @@ + } + /* child */ + +- if((tmpfd=open(TMP_FILE, O_RDWR|O_CREAT|O_TRUNC))==-1){ ++ if((tmpfd=open(TMP_FILE, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR))==-1){ + printsys("Could not open temporary file\n"); + } + if(dup2(tmpfd, TMP_FD)==-1){ diff --git a/app-benchmarks/contest/metadata.xml b/app-benchmarks/contest/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-benchmarks/contest/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |