summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-03-11 11:17:19 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-03-11 11:17:19 +0000
commit637d203d09514be26861f2f905af7d234c850297 (patch)
tree46905687d300a89be5edc7e1fb15acd23419e5ff /app-benchmarks
parentAdd ltp to package.mask while I'm working on it. (diff)
downloadhistorical-637d203d09514be26861f2f905af7d234c850297.tar.gz
historical-637d203d09514be26861f2f905af7d234c850297.tar.bz2
historical-637d203d09514be26861f2f905af7d234c850297.zip
Resurrect ltp. Work-in-progress to fix it properly. Package.masked until then.
Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/ltp/ChangeLog36
-rw-r--r--app-benchmarks/ltp/Manifest15
-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, 174 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..e080767d57a8
--- /dev/null
+++ b/app-benchmarks/ltp/Manifest
@@ -0,0 +1,15 @@
+MD5 a1124d527561c213a80c33d2632d6c23 ChangeLog 1427
+RMD160 00b50fa0330b089e30857e2b4eb113cf3c4d0e4f ChangeLog 1427
+SHA256 3265ac613921bd3c2ced375a5d7ece1144deda415aba4cecf24f9aeeb0d39fca ChangeLog 1427
+MD5 67cdadb6eea34de54e1fa1f82b139182 files/digest-ltp-20060306 247
+RMD160 7cfdc62cf9a44d4d617c80131983d58c0d788615 files/digest-ltp-20060306 247
+SHA256 93b51015fad33cb7b014af34e894bfb0ea6a2d08845e174a34444b0f5091a3f2 files/digest-ltp-20060306 247
+MD5 e2a7ff766a942e7a6a8e299cb74edacb files/runltp-path.patch 387
+RMD160 a7be3c90fe8ebff113d76b69b54e991cadfa8905 files/runltp-path.patch 387
+SHA256 860244ca0f053cf6293174d5c118ce5bf7a0912669e96b080c13d2447eae5e75 files/runltp-path.patch 387
+MD5 7386b3d4afe1398d1c1f76d6bec72eeb ltp-20060306.ebuild 3276
+RMD160 4a32eb64bfff38cc2b757486ea8d9797e4710da0 ltp-20060306.ebuild 3276
+SHA256 1181ac03329450616dfb7df4eb9c524051995e04d0cace00f71e64e2cc0bf667 ltp-20060306.ebuild 3276
+MD5 e88620e052d9f01d1f40f933c90e9e0a metadata.xml 656
+RMD160 b0614d53b98ecfb6c04b7b8857afa8fc299753df metadata.xml 656
+SHA256 d610d0a496c4763e7d1e46c7227451842b9f4d0a4dd5f8a62f0412df0ba8cf92 metadata.xml 656
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>