summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/ltp')
-rw-r--r--app-benchmarks/ltp/ChangeLog36
-rw-r--r--app-benchmarks/ltp/Manifest24
-rw-r--r--app-benchmarks/ltp/files/digest-ltp-200603063
-rw-r--r--app-benchmarks/ltp/files/runltp-path.patch11
-rw-r--r--app-benchmarks/ltp/ltp-20060306.ebuild92
-rw-r--r--app-benchmarks/ltp/metadata.xml17
6 files changed, 183 insertions, 0 deletions
diff --git a/app-benchmarks/ltp/ChangeLog b/app-benchmarks/ltp/ChangeLog
new file mode 100644
index 000000000000..1738417673ef
--- /dev/null
+++ b/app-benchmarks/ltp/ChangeLog
@@ -0,0 +1,36 @@
+# ChangeLog for app-benchmarks/ltp
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.9 2006/03/11 11:17:18 robbat2 Exp $
+
+*ltp-20060306 (11 Mar 2006)
+
+ 11 Mar 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +files/runltp-path.patch, +metadata.xml, +ltp-20060306.ebuild:
+ Resurrect ltp. Work-in-progress to fix it properly. Package.masked until then.
+
+ 25 Sep 2005; Daniel Black <dragonheart@gentoo.org> ltp-20041104.ebuild,
+ ltp-20041203.ebuild:
+ fixed to use treecopy for BSD compatibility - bug #106443 - thanks Diego
+
+ 07 Aug 2005; Simon Stelling <blubb@gentoo.org> ltp-20041203.ebuild:
+ added ~amd64 keyword
+
+ 08 Jul 2005; David Holm <dholm@gentoo.org> ltp-20041203.ebuild:
+ Added to ~ppc.
+
+*ltp-20041203 (04 Dec 2004)
+
+ 04 Dec 2004; Daniel Black <dragonheart@gentoo.org>
+ +files/ltp-20041203-ballista-paths.patch, +files/ltp-ballista-paths.patch,
+ ltp-20041104.ebuild, +ltp-20041203.ebuild:
+ version bump and more patches added. Bug #71034 by BlaisorBlade
+ <blaisorblade_spam@yahoo.it>. Patches by Marien Zwart <m_zwart@123mail.org>
+
+*ltp-20041104 (07 Nov 2004)
+
+ 07 Nov 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/IDcheck-noninteractive.patch, +files/runltp-path.patch,
+ +ltp-20041104.ebuild:
+ Initial import as per bug #13662. Ebuild and patches by Marien Zwart
+ <m_zwart@123mail.org>
+
diff --git a/app-benchmarks/ltp/Manifest b/app-benchmarks/ltp/Manifest
new file mode 100644
index 000000000000..bb1c5642baa9
--- /dev/null
+++ b/app-benchmarks/ltp/Manifest
@@ -0,0 +1,24 @@
+MD5 bf75d81bed2fc18825c0f0b7f41e7e9f ChangeLog 1202
+RMD160 44c615ae9b302dffddda5baa77c8a416960b5c09 ChangeLog 1202
+SHA256 26ac12058bf4b75635b8af4d8f96fe4dc5f8c2a5277e2082e02f6b92cb76ce77 ChangeLog 1202
+MD5 e4bb569a7ad39bd83b66430469168d6b files/IDcheck-noninteractive.patch 729
+RMD160 5a3a9e417fa96c3caf90f3460a28dca1dc9950e8 files/IDcheck-noninteractive.patch 729
+SHA256 99e875d8280866f8640f03bb48015a2f56d386a43e95fdf125a3b57d4ecfea53 files/IDcheck-noninteractive.patch 729
+MD5 67cdadb6eea34de54e1fa1f82b139182 files/digest-ltp-20060306 247
+RMD160 7cfdc62cf9a44d4d617c80131983d58c0d788615 files/digest-ltp-20060306 247
+SHA256 93b51015fad33cb7b014af34e894bfb0ea6a2d08845e174a34444b0f5091a3f2 files/digest-ltp-20060306 247
+MD5 1c87578ced34310bd048cc03c9ac45c4 files/ltp-20041203-ballista-paths.patch 6203
+RMD160 59baf3f4fb5045b4d0adc0cc79a25bb2d564b97a files/ltp-20041203-ballista-paths.patch 6203
+SHA256 2f5393d6ecfc553c2f4fb7a5bfcf4a826b6567e16443552f6adef31ded1846f0 files/ltp-20041203-ballista-paths.patch 6203
+MD5 e17b3facc501915809ff69e8f9a12056 files/ltp-ballista-paths.patch 8166
+RMD160 97735ff364ccde3fe12e7214b9c473ce649774c6 files/ltp-ballista-paths.patch 8166
+SHA256 d35ad22f9679937a28f27c3eee94259775e7950cbe293211429efa807734d8c0 files/ltp-ballista-paths.patch 8166
+MD5 e2a7ff766a942e7a6a8e299cb74edacb files/runltp-path.patch 387
+RMD160 a7be3c90fe8ebff113d76b69b54e991cadfa8905 files/runltp-path.patch 387
+SHA256 860244ca0f053cf6293174d5c118ce5bf7a0912669e96b080c13d2447eae5e75 files/runltp-path.patch 387
+MD5 e57ae8dc0e167dd584bc49a146503f5a ltp-20060306.ebuild 3287
+RMD160 221ea5eb4df4dc4f0ec0343ddc4b14afe2689c1d ltp-20060306.ebuild 3287
+SHA256 c94ee2bc8e9ccae19d72677a349a76d79a824c6b1d4ceff94425114f35a4658d ltp-20060306.ebuild 3287
+MD5 f592f012ff1df95e9b2dcd743df2405b metadata.xml 402
+RMD160 369ec9d44ad1f5697869b6763dc41ebdb4b23501 metadata.xml 402
+SHA256 324df02fc23cddde7f87bfb8bd150b05a58dd91a670c598d604f1fe4a1745d00 metadata.xml 402
diff --git a/app-benchmarks/ltp/files/digest-ltp-20060306 b/app-benchmarks/ltp/files/digest-ltp-20060306
new file mode 100644
index 000000000000..065b872302ad
--- /dev/null
+++ b/app-benchmarks/ltp/files/digest-ltp-20060306
@@ -0,0 +1,3 @@
+MD5 57380dac7e4d5961a8355a578eac2ebd ltp-full-20060306.tgz 5576316
+RMD160 ef92499e9462e48ff22bb5ce792a7885b9d35eb4 ltp-full-20060306.tgz 5576316
+SHA256 160f11915b095600379ed05a65d926ff64bb9f969969ba6895c48b8ca210adb7 ltp-full-20060306.tgz 5576316
diff --git a/app-benchmarks/ltp/files/runltp-path.patch b/app-benchmarks/ltp/files/runltp-path.patch
new file mode 100644
index 000000000000..a96e4431012d
--- /dev/null
+++ b/app-benchmarks/ltp/files/runltp-path.patch
@@ -0,0 +1,11 @@
+--- runltp.orig 2004-11-06 11:40:02.729295792 +0100
++++ runltp 2004-11-06 11:40:25.758808272 +0100
+@@ -43,7 +43,7 @@
+ echo "FATAL: unable to change directory to $(dirname $0)"
+ exit 1
+ }
+- export LTPROOT=${PWD}
++ export LTPROOT=/usr/libexec/ltp/
+ export TMPBASE="/tmp"
+ export TMP="${TMPBASE}/ltp-$$"
+ export PATH="${PATH}:${LTPROOT}/testcases/bin"
diff --git a/app-benchmarks/ltp/ltp-20060306.ebuild b/app-benchmarks/ltp/ltp-20060306.ebuild
new file mode 100644
index 000000000000..abe48bca7161
--- /dev/null
+++ b/app-benchmarks/ltp/ltp-20060306.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20060306.ebuild,v 1.1 2006/03/11 11:17:18 robbat2 Exp $
+
+inherit eutils portability
+
+MY_P="${PN}-full-${PV}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="Linux Test Project: testsuite for the linux kernel"
+HOMEPAGE="http://ltp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ltp/${MY_P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+# add "dialog" here if ltpmenu is enabled
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # IDcheck patch not needed anymore, superseded by CREATE=0
+ epatch ${FILESDIR}/runltp-path.patch
+
+ # All that remains of bad perl paths
+ sed -i -e '1s,#!/usr/bin/perl5,#!/usr/bin/perl,' \
+ ${S}/testcases/ballista/ballista/create_code_standAlone.pl
+}
+
+src_compile() {
+ # avoid creating groups
+ export CREATE=0
+ # Lazy binds are bad
+ # TODO: Fix in upstream package
+ append-ldflags -Wl,-z,now
+ # actually build
+ LDFLAGS="${LDFLAGS}" emake || die "emake failed"
+}
+
+src_install() {
+ # avoid creating groups
+ export CREATE=0
+ make install || die "install failed"
+ dodir /usr/libexec/ltp/testcases
+
+ treecopy testcases pan/pan runtest ver_linux IDcheck.sh \
+ ${D}/usr/libexec/ltp || die "treecopy failed"
+ # TODO: clean up testcases directory to only include the data files
+
+ dobin runltp runalltests.sh || die "dobin failed"
+
+ # TODO: fix this so it works from "outside" the source tree
+ # cp ltpmenu ${D}/usr/bin
+
+ # fix world-writable files
+ chmod -R o-w ${D}/usr/libexec/ltp/testcases
+ # Full list, TODO: fix in upstream
+## a=/usr/libexec/ltp/testcases
+## for i in ${a}/network/tcp_cmds/ftp/datafiles/ascii.sm \
+## ${a}/network/tcp_cmds/ftp/datafiles/ascii.med \
+## ${a}/network/tcp_cmds/ftp/datafiles/ascii.lg \
+## ${a}/network/tcp_cmds/ftp/datafiles/ascii.jmb \
+## ${a}/network/tcp_cmds/ftp/datafiles/bin.sm \
+## ${a}/network/tcp_cmds/ftp/datafiles/bin.med \
+## ${a}/network/tcp_cmds/ftp/datafiles/bin.lg \
+## ${a}/network/tcp_cmds/ftp/datafiles/bin.jmb \
+## ${a}/network/tcp_cmds/rcp/datafiles/bin.sm \
+## ${a}/network/tcp_cmds/rcp/datafiles/bin.med \
+## ${a}/network/tcp_cmds/rcp/datafiles/bin.lg \
+## ${a}/network/tcp_cmds/rcp/datafiles/bin.jmb \
+## ${a}/network/tcp_cmds/rcp/datafiles/ascii.sm \
+## ${a}/network/tcp_cmds/rdist/datafiles/bin.sm \
+## ${a}/network/tcp_cmds/rdist/datafiles/bin.med \
+## ${a}/network/tcp_cmds/rdist/datafiles/bin.lg \
+## ${a}/network/tcp_cmds/rdist/datafiles/bin.jmb \
+## ${a}/network/tcp_cmds/sendfile/datafiles/ascii.sm \
+## ${a}/network/tcp_cmds/sendfile/datafiles/ascii.med \
+## ${a}/network/tcp_cmds/sendfile/datafiles/ascii.lg \
+## ${a}/network/tcp_cmds/sendfile/datafiles/ascii.jmb \
+## ${a}/network/nfs/nfs02/dat/smallsize.fil \
+## ${a}/network/nfs/nfs02/dat/medsize.fil \
+## ${a}/network/nfs/nfs02/dat/largesize.fil \
+## ${a}/network/nfs/nfs02/dat/maxsize.fil \
+## ${a}/network/ipv6/sendfile6/datafiles/ascii.sm \
+## ${a}/network/ipv6/sendfile6/datafiles/ascii.med \
+## ${a}/network/ipv6/sendfile6/datafiles/ascii.lg \
+## ${a}/network/ipv6/sendfile6/datafiles/ascii.jmb \
+## ${a}/kernel/sched/sched_stress/sched_datafile \
+## ${a}/bin/sched_datafile ;
+## do chmod 644 ${D}${i} ; done ;
+}
diff --git a/app-benchmarks/ltp/metadata.xml b/app-benchmarks/ltp/metadata.xml
new file mode 100644
index 000000000000..bebfab4b43b2
--- /dev/null
+++ b/app-benchmarks/ltp/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ <description>Maintainer</description>
+</maintainer>
+<longdescription>
+ The Linux Test Project is a joint project started by SGI and maintained by
+ IBM, that has a goal to deliver test suites to the open source community
+ that validate the reliability, robustness, and stability of Linux. The LTP
+ testsuite contains a collection of tools for testing the Linux kernel and
+ related features.
+</longdescription>
+</pkgmetadata>