From ce4edf61e3c395830a3729b260a534f20b292b8a Mon Sep 17 00:00:00 2001 From: Bruce Kuo Date: Thu, 20 Dec 2012 04:50:32 +0800 Subject: [PATCH] stressapptest: upgraded package to upstream Upgraded dev-util/stressapptest to version 1.0.4 on amd64, x86, arm Use this in factory test to help stress test. Originally we add it on autotest dependency but now we want to move the test to pytest, so planning to merge this package into portage-stable and make it build in factory package BUG=None TEST=Manual Change-Id: I52b592553c994ffcc79342ffb4bf6ba79ad7d0c1 Reviewed-on: https://gerrit.chromium.org/gerrit/39975 Reviewed-by: Mike Frysinger Commit-Queue: Bruce Kuo Tested-by: Bruce Kuo --- .../dev-util/stressapptest/Manifest | 1 + .../stressapptest/stressapptest-1.0.4.ebuild | 32 +++++++++++++++++++ .../md5-cache/dev-util/stressapptest-1.0.4 | 12 +++++++ 3 files changed, 45 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/stressapptest/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/stressapptest/stressapptest-1.0.4.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-util/stressapptest-1.0.4 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/stressapptest/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/stressapptest/Manifest new file mode 100644 index 0000000000..37dc76cf9b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/stressapptest/Manifest @@ -0,0 +1 @@ +DIST stressapptest-1.0.4_autoconf.tar.gz 200370 RMD160 b80a288740052eb80ba6bebd819eea86dc1f7add SHA1 aa7591fb2cd6a4d61c836811d8e9bbcb119be370 SHA256 c8c83419e800504682506e10800763759f3f339b2158bae1329bb145ff981b65 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/stressapptest/stressapptest-1.0.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/stressapptest/stressapptest-1.0.4.ebuild new file mode 100644 index 0000000000..5aecd250e7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/stressapptest/stressapptest-1.0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/stressapptest/stressapptest-1.0.4.ebuild,v 1.2 2012/11/27 06:54:01 vapier Exp $ + +EAPI="4" + +MY_P="${P}_autoconf" +DESCRIPTION="Stressful Application Test" +HOMEPAGE="http://code.google.com/p/stressapptest/" +SRC_URI="http://stressapptest.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86 arm" +IUSE="debug" + +RDEPEND="dev-libs/libaio" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + sed -i \ + '/CXXFLAGS/s:-O3 -funroll-all-loops -funroll-loops::' \ + configure || die +} + +src_install() { + default + doman "${ED}"/usr/share/doc/${PN}/${PN}.1 + rm -rf "${ED}"/usr/share/doc # only installs COPYING & man page +} diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-util/stressapptest-1.0.4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-util/stressapptest-1.0.4 new file mode 100644 index 0000000000..779c15f162 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-util/stressapptest-1.0.4 @@ -0,0 +1,12 @@ +DEFINED_PHASES=install prepare +DEPEND=dev-libs/libaio +DESCRIPTION=Stressful Application Test +EAPI=4 +HOMEPAGE=http://code.google.com/p/stressapptest/ +IUSE=debug +KEYWORDS=amd64 x86 arm +LICENSE=Apache-2.0 +RDEPEND=dev-libs/libaio +SLOT=0 +SRC_URI=http://stressapptest.googlecode.com/files/stressapptest-1.0.4_autoconf.tar.gz +_md5_=f11c1af1cebb70bbf023b2310af55cdf