summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-12-04 05:02:56 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-12-04 05:02:56 +0000
commit150d61e0426f1884a69bd0f1ee6ff9b535893782 (patch)
tree3a02aa6f82ae6e7c1baa57d5200defba0b7c6382 /app-benchmarks/ltp
parentchanged src_compile to fix bug #73265 (Manifest recommit) (diff)
downloadgentoo-2-150d61e0426f1884a69bd0f1ee6ff9b535893782.tar.gz
gentoo-2-150d61e0426f1884a69bd0f1ee6ff9b535893782.tar.bz2
gentoo-2-150d61e0426f1884a69bd0f1ee6ff9b535893782.zip
version bump and more patches added. Bug #71034
Diffstat (limited to 'app-benchmarks/ltp')
-rw-r--r--app-benchmarks/ltp/ChangeLog10
-rw-r--r--app-benchmarks/ltp/Manifest16
-rw-r--r--app-benchmarks/ltp/files/digest-ltp-200412031
-rw-r--r--app-benchmarks/ltp/files/ltp-20041203-ballista-paths.patch119
-rw-r--r--app-benchmarks/ltp/files/ltp-ballista-paths.patch171
-rw-r--r--app-benchmarks/ltp/ltp-20041104.ebuild6
-rw-r--r--app-benchmarks/ltp/ltp-20041203.ebuild43
7 files changed, 352 insertions, 14 deletions
diff --git a/app-benchmarks/ltp/ChangeLog b/app-benchmarks/ltp/ChangeLog
index 75116dc82982..94d9e86ac5c6 100644
--- a/app-benchmarks/ltp/ChangeLog
+++ b/app-benchmarks/ltp/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-benchmarks/ltp
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.1 2004/11/06 23:34:10 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.2 2004/12/04 05:02:55 dragonheart Exp $
+
+*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)
diff --git a/app-benchmarks/ltp/Manifest b/app-benchmarks/ltp/Manifest
index dd7e661fb25e..a7290098830d 100644
--- a/app-benchmarks/ltp/Manifest
+++ b/app-benchmarks/ltp/Manifest
@@ -1,16 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 035a54e7d8b3fbfa188d34c0f50fd852 ltp-20041104.ebuild 1119
+MD5 5b3c156e8157b761d97f078a45fac4db ltp-20041104.ebuild 1161
MD5 f592f012ff1df95e9b2dcd743df2405b metadata.xml 402
MD5 68ccdadc573c7c5b65c824ea70affb1b ChangeLog 496
+MD5 67e06166f97b709d2369db5843d61244 ltp-20041203.ebuild 1168
MD5 e2a7ff766a942e7a6a8e299cb74edacb files/runltp-path.patch 387
MD5 e4bb569a7ad39bd83b66430469168d6b files/IDcheck-noninteractive.patch 729
MD5 d1ba3a9b21ea0697d2b92b74e9147231 files/digest-ltp-20041104 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBjV95mdTrptrqvGERAtVMAJwOFNfTPvK0rpbMjR7T6sFONFHkFgCeP29l
-6ATZ35Dbc7jgYZDOzBq6tJw=
-=TrWr
------END PGP SIGNATURE-----
+MD5 4a5af83f73b7ecdec8b5ae30b513d396 files/ltp-ballista-paths.patch 8145
+MD5 acbebd9bb97c2f8b55f62c4c87a48deb files/digest-ltp-20041203 67
+MD5 ac9a02144b4f07448b857f3421e78d07 files/ltp-20041203-ballista-paths.patch 6173
diff --git a/app-benchmarks/ltp/files/digest-ltp-20041203 b/app-benchmarks/ltp/files/digest-ltp-20041203
new file mode 100644
index 000000000000..9ea931c06442
--- /dev/null
+++ b/app-benchmarks/ltp/files/digest-ltp-20041203
@@ -0,0 +1 @@
+MD5 4a660c5998e66c09b75939d4fff5869c ltp-full-20041203.tgz 5963385
diff --git a/app-benchmarks/ltp/files/ltp-20041203-ballista-paths.patch b/app-benchmarks/ltp/files/ltp-20041203-ballista-paths.patch
new file mode 100644
index 000000000000..2977ee1ce359
--- /dev/null
+++ b/app-benchmarks/ltp/files/ltp-20041203-ballista-paths.patch
@@ -0,0 +1,119 @@
+Only in ltp-full-20041203.mod/testcases/ballista/ballista: Makefile.orig
+Only in ltp-full-20041203.mod/testcases/ballista/ballista: Makefile.rej
+diff -ru ltp-full-20041203/testcases/ballista/ballista/batchcode ltp-full-20041203.mod/testcases/ballista/ballista/batchcode
+--- ltp-full-20041203/testcases/ballista/ballista/batchcode 2004-10-06 07:45:09.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/batchcode 2004-12-04 14:17:25.170581232 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # batchcode: sort output results and generate simple statistics
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ru ltp-full-20041203/testcases/ballista/ballista/bdc_standalone ltp-full-20041203.mod/testcases/ballista/ballista/bdc_standalone
+--- ltp-full-20041203/testcases/ballista/ballista/bdc_standalone 2004-10-06 07:45:10.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/bdc_standalone 2004-12-04 14:17:25.171581080 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # bdc_standalone: Compiles specified template file into cpp and h files - no server
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ru ltp-full-20041203/testcases/ballista/ballista/configure ltp-full-20041203.mod/testcases/ballista/ballista/configure
+--- ltp-full-20041203/testcases/ballista/ballista/configure 2004-10-06 07:45:09.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/configure 2004-12-04 14:17:25.172580928 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ ########################
+ # configure: creates Makefiles that are configured for user's platform(s)
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+diff -ru ltp-full-20041203/testcases/ballista/ballista/create_code.pl ltp-full-20041203.mod/testcases/ballista/ballista/create_code.pl
+--- ltp-full-20041203/testcases/ballista/ballista/create_code.pl 2004-10-06 07:45:09.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/create_code.pl 2004-12-04 14:17:25.174580624 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # create_code.pl: produces C++ code that reproduces a Ballista test case - bug reports
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ru ltp-full-20041203/testcases/ballista/ballista/dataClimber ltp-full-20041203.mod/testcases/ballista/ballista/dataClimber
+--- ltp-full-20041203/testcases/ballista/ballista/dataClimber 2004-10-06 07:45:11.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/dataClimber 2004-12-04 14:17:25.182579408 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # dataClimber: extract the dataTypes required to Ballista test a function
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ru ltp-full-20041203/testcases/ballista/ballista/ostest_new.pl ltp-full-20041203.mod/testcases/ballista/ballista/ostest_new.pl
+--- ltp-full-20041203/testcases/ballista/ballista/ostest_new.pl 2004-10-06 07:45:10.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/ostest_new.pl 2004-12-04 14:21:00.537496008 +0930
+@@ -81,22 +81,22 @@
+
+ # set symbolic links to perl path
+
+-$perl_realpath = `which perl`;
+-chomp ($perl_realpath);
+-$find_perllink = `ls /usr/local/bin/perl5`;
+-chomp($find_perllink);
+-if($find_perllink !~ "/usr/local/bin/perl5")
+-{
+- system("ln -s $perl_realpath /usr/local/bin/perl5");
+-}
+-$find_perllink = `ls /usr/local/bin/perl5`;
+-if($find_perllink !~ "/usr/local/bin/perl5")
+-{
+- print "\nCannot automatically link to your perl path. Please create a symbolic link to /usr/local/bin/perl5 \n";
+- print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\"). If you do not have appropriate \n";
+- print "permissions to do this, check with your administrator.\n";
+- exit(1);
+-}
++#$perl_realpath = `which perl`;
++#chomp ($perl_realpath);
++#$find_perllink = `ls /usr/bin/perl`;
++#chomp($find_perllink);
++#if($find_perllink !~ "/usr/bin/perl")
++#{
++# system("ln -s $perl_realpath /usr/bin/perl");
++#}
++#$find_perllink = `ls /usr/bin/perl`;
++#if($find_perllink !~ "/usr/bin/perl")
++#{
++# print "\nCannot automatically link to your perl path. Please create a symbolic link to /usr/bin/perl \n";
++# print "and try again (i.e., \"ln -s $perl_realpath /usr/bin/perl\"). If you do not have appropriate \n";
++# print "permissions to do this, check with your administrator.\n";
++# exit(1);
++#}
+
+ # Determine user's operating system
+ $os_string = `uname -rsv`;
+diff -ru ltp-full-20041203/testcases/ballista/ballista/paramGen ltp-full-20041203.mod/testcases/ballista/ballista/paramGen
+--- ltp-full-20041203/testcases/ballista/ballista/paramGen 2004-10-06 07:45:09.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/paramGen 2004-12-04 14:17:54.460128544 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # paramGen: Ballista script to generate .param files from .tpl files
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ru ltp-full-20041203/testcases/ballista/ballista/perllib/LWP/Debug.pm ltp-full-20041203.mod/testcases/ballista/ballista/perllib/LWP/Debug.pm
+--- ltp-full-20041203/testcases/ballista/ballista/perllib/LWP/Debug.pm 2004-10-06 07:45:10.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/ballista/perllib/LWP/Debug.pm 2004-12-04 14:17:54.498122768 +0930
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/env perl -w
+ #
+ # $Id: ltp-20041203-ballista-paths.patch,v 1.1 2004/12/04 05:02:56 dragonheart Exp $
+ #
+diff -ru ltp-full-20041203/testcases/ballista/create.sh ltp-full-20041203.mod/testcases/ballista/create.sh
+--- ltp-full-20041203/testcases/ballista/create.sh 2004-10-06 07:45:09.000000000 +0930
++++ ltp-full-20041203.mod/testcases/ballista/create.sh 2004-12-04 14:17:54.529118056 +0930
+@@ -3,7 +3,7 @@
+ # to run Ballista.
+ # If the correct RPMs are installed ballista will be uncompressed and complied
+
+-
++exit 0;
+ @libs = ("'gcc version 3.3.3'","libg++-2.8.1-2","libg++-devel-2.8.1-2","libstdc++5-3.3.1-2mdk","libstdc++5-devel-3.3.1-2mdk","libstdc++5-static-devel-3.3.1-2mdk");
+ my @notfound;
+ system("touch temp_cmd_file.txt ");
diff --git a/app-benchmarks/ltp/files/ltp-ballista-paths.patch b/app-benchmarks/ltp/files/ltp-ballista-paths.patch
new file mode 100644
index 000000000000..9afef621cd9b
--- /dev/null
+++ b/app-benchmarks/ltp/files/ltp-ballista-paths.patch
@@ -0,0 +1,171 @@
+diff -ur ltp-full-20041104/testcases/ballista/ballista/batchcode ltp-dirty/testcases/ballista/ballista/batchcode
+--- ltp-full-20041104/testcases/ballista/ballista/batchcode 2004-10-18 18:29:45.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/batchcode 2004-11-22 10:24:50.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # batchcode: sort output results and generate simple statistics
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ur ltp-full-20041104/testcases/ballista/ballista/bdc_standalone ltp-dirty/testcases/ballista/ballista/bdc_standalone
+--- ltp-full-20041104/testcases/ballista/ballista/bdc_standalone 2004-10-18 18:29:45.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/bdc_standalone 2004-11-22 10:26:48.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # bdc_standalone: Compiles specified template file into cpp and h files - no server
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ur ltp-full-20041104/testcases/ballista/ballista/configure ltp-dirty/testcases/ballista/ballista/configure
+--- ltp-full-20041104/testcases/ballista/ballista/configure 2004-10-18 18:33:18.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/configure 2004-11-22 10:25:15.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ ########################
+ # configure: creates Makefiles that are configured for user's platform(s)
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+diff -ur ltp-full-20041104/testcases/ballista/ballista/create_code.pl ltp-dirty/testcases/ballista/ballista/create_code.pl
+--- ltp-full-20041104/testcases/ballista/ballista/create_code.pl 2004-10-18 18:33:18.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/create_code.pl 2004-11-22 10:25:49.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # create_code.pl: produces C++ code that reproduces a Ballista test case - bug reports
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ur ltp-full-20041104/testcases/ballista/ballista/dataClimber ltp-dirty/testcases/ballista/ballista/dataClimber
+--- ltp-full-20041104/testcases/ballista/ballista/dataClimber 2004-10-18 18:33:18.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/dataClimber 2004-11-22 10:27:15.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # dataClimber: extract the dataTypes required to Ballista test a function
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ur ltp-full-20041104/testcases/ballista/ballista/Makefile ltp-dirty/testcases/ballista/ballista/Makefile
+--- ltp-full-20041104/testcases/ballista/ballista/Makefile 2004-10-18 19:38:23.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/Makefile 2004-11-22 10:34:37.000000000 +0100
+@@ -24,7 +24,7 @@
+ ########################
+
+ # compiler info for the host
+-CC = /usr/local/g++ -Wno-deprecated
++CC = /usr/bin/g++ -Wno-deprecated
+ CFLAGS = -w -O ${TARGET_DEF}
+ CLIBS = -lpthread -ldl -lnsl -rdynamic
+ TEST_MAN_FILE = selfHost
+diff -ur ltp-full-20041104/testcases/ballista/ballista/ostest_new.pl ltp-dirty/testcases/ballista/ballista/ostest_new.pl
+--- ltp-full-20041104/testcases/ballista/ballista/ostest_new.pl 2004-10-18 19:40:31.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/ostest_new.pl 2004-11-22 11:20:11.099138064 +0100
+@@ -81,22 +81,22 @@
+
+ # set symbolic links to perl path
+
+-$perl_realpath = `which perl`;
+-chomp ($perl_realpath);
+-$find_perllink = `ls /usr/local/bin/perl5`;
+-chomp($find_perllink);
+-if($find_perllink !~ "/usr/local/bin/perl5")
+-{
+- system("ln -s $perl_realpath /usr/local/bin/perl5");
+-}
+-$find_perllink = `ls /usr/local/bin/perl5`;
+-if($find_perllink !~ "/usr/local/bin/perl5")
+-{
+- print "\nCannot automatically link to your perl path. Please create a symbolic link to /usr/local/bin/perl5 \n";
+- print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\"). If you do not have appropriate \n";
+- print "permissions to do this, check with your administrator.\n";
+- exit(1);
+-}
++#$perl_realpath = `which perl`;
++#chomp ($perl_realpath);
++#$find_perllink = `ls /usr/local/bin/perl5`;
++#chomp($find_perllink);
++#if($find_perllink !~ "/usr/local/bin/perl5")
++#{
++# system("ln -s $perl_realpath /usr/local/bin/perl5");
++#}
++#$find_perllink = `ls /usr/local/bin/perl5`;
++#if($find_perllink !~ "/usr/local/bin/perl5")
++#{
++# print "\nCannot automatically link to your perl path. Please create a symbolic link to /usr/local/bin/perl5 \n";
++# print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\"). If you do not have appropriate \n";
++# print "permissions to do this, check with your administrator.\n";
++# exit(1);
++#}
+
+ # Determine user's operating system
+ $os_string = `uname -rsv`;
+diff -ur ltp-full-20041104/testcases/ballista/ballista/ostest.pl ltp-dirty/testcases/ballista/ballista/ostest.pl
+--- ltp-full-20041104/testcases/ballista/ballista/ostest.pl 2004-10-18 19:40:31.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/ostest.pl 2004-11-22 10:22:18.000000000 +0100
+@@ -81,22 +81,22 @@
+
+ # set symbolic links to perl path
+
+-$perl_realpath = `which perl`;
+-chomp ($perl_realpath);
+-$find_perllink = `ls /usr/local/bin/perl5`;
+-chomp($find_perllink);
+-if($find_perllink !~ "/usr/local/bin/perl5")
+-{
+- system("ln -s $perl_realpath /usr/local/bin/perl5");
+-}
+-$find_perllink = `ls /usr/local/bin/perl5`;
+-if($find_perllink !~ "/usr/local/bin/perl5")
+-{
+- print "\nCannot automatically link to your perl path. Please create a symbolic link to /usr/local/bin/perl5 \n";
+- print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\"). If you do not have appropriate \n";
+- print "permissions to do this, check with your administrator.\n";
+- exit(1);
+-}
++#$perl_realpath = `which perl`;
++#chomp ($perl_realpath);
++#$find_perllink = `ls /usr/local/bin/perl5`;
++#chomp($find_perllink);
++#if($find_perllink !~ "/usr/local/bin/perl5")
++#{
++# system("ln -s $perl_realpath /usr/local/bin/perl5");
++#}
++#$find_perllink = `ls /usr/local/bin/perl5`;
++#if($find_perllink !~ "/usr/local/bin/perl5")
++#{
++# print "\nCannot automatically link to your perl path. Please create a symbolic link to /usr/local/bin/perl5 \n";
++# print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\"). If you do not have appropriate \n";
++# print "permissions to do this, check with your administrator.\n";
++# exit(1);
++#}
+
+ # Determine user's operating system
+ $os_string = `uname -rsv`;
+diff -ur ltp-full-20041104/testcases/ballista/ballista/paramGen ltp-dirty/testcases/ballista/ballista/paramGen
+--- ltp-full-20041104/testcases/ballista/ballista/paramGen 2004-10-18 19:40:32.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/paramGen 2004-11-22 10:26:31.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5
++#!/usr/bin/env perl
+ # paramGen: Ballista script to generate .param files from .tpl files
+ # Copyright (C) 1998-2001 Carnegie Mellon University
+ #
+diff -ur ltp-full-20041104/testcases/ballista/ballista/perllib/LWP/Debug.pm ltp-dirty/testcases/ballista/ballista/perllib/LWP/Debug.pm
+--- ltp-full-20041104/testcases/ballista/ballista/perllib/LWP/Debug.pm 2004-10-18 19:57:54.000000000 +0200
++++ ltp-dirty/testcases/ballista/ballista/perllib/LWP/Debug.pm 2004-11-22 10:27:03.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/env perl -w
+ #
+ # $Id: ltp-ballista-paths.patch,v 1.1 2004/12/04 05:02:56 dragonheart Exp $
+ #
+diff -ur ltp-full-20041104/testcases/ballista/create.sh ltp-dirty/testcases/ballista/create.sh
+--- ltp-full-20041104/testcases/ballista/create.sh 2004-10-18 18:11:21.000000000 +0200
++++ ltp-dirty/testcases/ballista/create.sh 2004-11-22 10:20:00.000000000 +0100
+@@ -3,7 +3,7 @@
+ # to run Ballista.
+ # If the correct RPMs are installed ballista will be uncompressed and complied
+
+-
++exit 0;
+ @libs = ("'gcc version 3.3.3'","libg++-2.8.1-2","libg++-devel-2.8.1-2","libstdc++5-3.3.1-2mdk","libstdc++5-devel-3.3.1-2mdk","libstdc++5-static-devel-3.3.1-2mdk");
+ my @notfound;
+ system("touch temp_cmd_file.txt ");
diff --git a/app-benchmarks/ltp/ltp-20041104.ebuild b/app-benchmarks/ltp/ltp-20041104.ebuild
index 5f2cdfbbe245..f126b87a1811 100644
--- a/app-benchmarks/ltp/ltp-20041104.ebuild
+++ b/app-benchmarks/ltp/ltp-20041104.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20041104.ebuild,v 1.1 2004/11/06 23:34:10 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20041104.ebuild,v 1.2 2004/12/04 05:02:55 dragonheart Exp $
inherit eutils
@@ -24,7 +24,9 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/IDcheck-noninteractive.patch
epatch ${FILESDIR}/runltp-path.patch
+ epatch ${FILESDIR}/ltp-ballista-paths.patch
}
+
src_compile() {
emake || die "emake failed"
}
@@ -33,7 +35,7 @@ src_install() {
make install || die "install failed"
mkdir -p ${D}/usr/libexec/ltp/testcases ${D}/usr/bin/ || die "mkdir failed"
- cp --parents -r testcases/bin pan/pan runtest ver_linux IDcheck.sh ${D}/usr/libexec/ltp || die "cp failed"
+ cp --parents -r testcases pan/pan runtest ver_linux IDcheck.sh ${D}/usr/libexec/ltp || die "cp failed"
cp runltp runalltests.sh ${D}/usr/bin || die "cp failed"
# TODO: fix this so it works from "outside" the source tree
diff --git a/app-benchmarks/ltp/ltp-20041203.ebuild b/app-benchmarks/ltp/ltp-20041203.ebuild
new file mode 100644
index 000000000000..0e028979a5be
--- /dev/null
+++ b/app-benchmarks/ltp/ltp-20041203.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20041203.ebuild,v 1.1 2004/12/04 05:02:55 dragonheart Exp $
+
+inherit eutils
+
+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="~x86"
+
+IUSE=""
+
+# add "dialog" here if ltpmenu is enabled
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/IDcheck-noninteractive.patch
+ epatch ${FILESDIR}/runltp-path.patch
+ epatch ${FILESDIR}/ltp-${PV}-ballista-paths.patch
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install || die "install failed"
+
+ mkdir -p ${D}/usr/libexec/ltp/testcases ${D}/usr/bin/ || die "mkdir failed"
+ cp --parents -r testcases pan/pan runtest ver_linux IDcheck.sh ${D}/usr/libexec/ltp || die "cp failed"
+ cp runltp runalltests.sh ${D}/usr/bin || die "cp failed"
+
+ # TODO: fix this so it works from "outside" the source tree
+ # cp ltpmenu ${D}/usr/bin
+}