version bump and more patches added. Bug #71034
authorDaniel Black <dragonheart@gentoo.org>
Sat, 4 Dec 2004 05:02:56 +0000 (05:02 +0000)
committerDaniel Black <dragonheart@gentoo.org>
Sat, 4 Dec 2004 05:02:56 +0000 (05:02 +0000)
app-benchmarks/ltp/ChangeLog
app-benchmarks/ltp/Manifest
app-benchmarks/ltp/files/digest-ltp-20041203 [new file with mode: 0644]
app-benchmarks/ltp/files/ltp-20041203-ballista-paths.patch [new file with mode: 0644]
app-benchmarks/ltp/files/ltp-ballista-paths.patch [new file with mode: 0644]
app-benchmarks/ltp/ltp-20041104.ebuild
app-benchmarks/ltp/ltp-20041203.ebuild [new file with mode: 0644]

index 75116dc82982e0e07a4a7db27677e5e4985807e6..94d9e86ac5c6133288a2b88a13c68fbb8336d38f 100644 (file)
@@ -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)
 
index dd7e661fb25e272dfbf28fdf91ece55b23d1428f..367a8330590de2ba9c6f95d7bb60a218973eb8ad 100644 (file)
@@ -1,16 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 035a54e7d8b3fbfa188d34c0f50fd852 ltp-20041104.ebuild 1119
+MD5 677993f0e16d3f9cbd6c03496da36078 ltp-20041104.ebuild 1161
 MD5 f592f012ff1df95e9b2dcd743df2405b metadata.xml 402
-MD5 68ccdadc573c7c5b65c824ea70affb1b ChangeLog 496
+MD5 5c1aca07a01a3e2979b58b1ed3bef4d3 ChangeLog 845
+MD5 d32b959898c9f29788224620c686b7bf 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
+MD5 e17b3facc501915809ff69e8f9a12056 files/ltp-ballista-paths.patch 8166
+MD5 acbebd9bb97c2f8b55f62c4c87a48deb files/digest-ltp-20041203 67
+MD5 1c87578ced34310bd048cc03c9ac45c4 files/ltp-20041203-ballista-paths.patch 6203
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBjV95mdTrptrqvGERAtVMAJwOFNfTPvK0rpbMjR7T6sFONFHkFgCeP29l
-6ATZ35Dbc7jgYZDOzBq6tJw=
-=TrWr
+iD8DBQFBsUUGmdTrptrqvGERAtZTAJ93hw/F/c3gvBaj5AHvymt05HCK4wCfWWew
+2aYH3bN0HvEGCpJrmu5BVXk=
+=N5W6
 -----END PGP SIGNATURE-----
diff --git a/app-benchmarks/ltp/files/digest-ltp-20041203 b/app-benchmarks/ltp/files/digest-ltp-20041203
new file mode 100644 (file)
index 0000000..9ea931c
--- /dev/null
@@ -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 (file)
index 0000000..2977ee1
--- /dev/null
@@ -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 (file)
index 0000000..9afef62
--- /dev/null
@@ -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 ");
index 5f2cdfbbe245895337047b9bd944014eba574267..f126b87a1811ec2dd69f96d65e77f47ab7f80825 100644 (file)
@@ -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 (file)
index 0000000..0e02897
--- /dev/null
@@ -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
+}