diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-03-01 15:34:34 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-03-01 15:34:34 +0000 |
commit | 8c03c413e5e659ab493c1d84d0344b4c28ff72b1 (patch) | |
tree | b5c8d7bba3501a6d2663a0f18d9557d6819d8243 /app-benchmarks | |
parent | Fixing deps etc., closes #299121, thanks to Francisco Javier (diff) | |
download | historical-8c03c413e5e659ab493c1d84d0344b4c28ff72b1.tar.gz historical-8c03c413e5e659ab493c1d84d0344b4c28ff72b1.tar.bz2 historical-8c03c413e5e659ab493c1d84d0344b4c28ff72b1.zip |
Bump, fixes #272660
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/ltp/ChangeLog | 9 | ||||
-rw-r--r-- | app-benchmarks/ltp/Manifest | 4 | ||||
-rw-r--r-- | app-benchmarks/ltp/ltp-20100131.ebuild | 91 |
3 files changed, 101 insertions, 3 deletions
diff --git a/app-benchmarks/ltp/ChangeLog b/app-benchmarks/ltp/ChangeLog index cb56f959241d..a39ec30766b8 100644 --- a/app-benchmarks/ltp/ChangeLog +++ b/app-benchmarks/ltp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-benchmarks/ltp -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.17 2009/09/13 22:21:06 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.18 2010/03/01 15:34:34 patrick Exp $ + +*ltp-20100131 (01 Mar 2010) + + 01 Mar 2010; Patrick Lauer <patrick@gentoo.org> +ltp-20100131.ebuild: + Bump, fixes #272660 13 Sep 2009; Patrick Lauer <patrick@gentoo.org> ltp-20090131.ebuild: Removing virtual/libc deps diff --git a/app-benchmarks/ltp/Manifest b/app-benchmarks/ltp/Manifest index 693f9508a444..ee98691ffe32 100644 --- a/app-benchmarks/ltp/Manifest +++ b/app-benchmarks/ltp/Manifest @@ -1,5 +1,7 @@ AUX runltp-path.patch 387 RMD160 a7be3c90fe8ebff113d76b69b54e991cadfa8905 SHA1 8096d7c10d02cd477ba94d1965b4a27b7215b68a SHA256 860244ca0f053cf6293174d5c118ce5bf7a0912669e96b080c13d2447eae5e75 DIST ltp-full-20090131.tgz 9850983 RMD160 0861b30cc8eb8d124a1013d57db2aefd9dae0891 SHA1 bd9d9ec2688548d9deb199efd25417152975c77b SHA256 5fa4353d826b719cc313e370dd8f4ab0793432e4d797a96cb5bb01e078ff1e10 +DIST ltp-full-20100131.tgz 10779904 RMD160 cb08c6d6fbc343495a83825d92f4036cdde35f24 SHA1 7d880269cdd68b54b5f9cfb6dc4e938b844d502b SHA256 54c3e7a546c8c81893137220eac636685089f5000c65935b3ba977b1676c9a85 EBUILD ltp-20090131.ebuild 3333 RMD160 0f3ebfe542fec2a035cd81551b39fd2a661496cc SHA1 79364065b23afef7b814f0f17b273b48eb7ffe18 SHA256 ca774849e5bf48cb6ac22fa01f34b43feae4aa51825cdf6f35cb35aa6e1b498a -MISC ChangeLog 2353 RMD160 d4342b8127d2ad73201055b3c3502c59222dda26 SHA1 2da81f6e3bb6e780a2db20000e8f7b96a4140e4b SHA256 f6d32b517376fc74669298e9d8d447da626977da26b929bc4170f2b92a966fd7 +EBUILD ltp-20100131.ebuild 3330 RMD160 eb8b3acfee151489b95afbfd1d9e2b7e9b36cad3 SHA1 2745a6aa1558adf245bb75877537469f78cd23a9 SHA256 e8a9dd291fc83cff8199222923005afb1e632161d5f0f84c5365fbe6ec63f175 +MISC ChangeLog 2477 RMD160 dfc10cc7bad5ea1585b2cf3fc5f48b2bb02e7e77 SHA1 74a73efda352eecdda9c1edc2f0be310e056ba37 SHA256 3a1cad7783747bbba743a52c1c890d75bbb6ff7bf69ae3f7bcb644fdde7e5a39 MISC metadata.xml 656 RMD160 e6cbe3c59baf2136024664deb74121f039adbea7 SHA1 9b907313c2dedfa565f46711cb07efcb854b6b75 SHA256 a1e4461e4183fc01311777712f6adbd7e2447da9278289d419940f3cfd119e0e diff --git a/app-benchmarks/ltp/ltp-20100131.ebuild b/app-benchmarks/ltp/ltp-20100131.ebuild new file mode 100644 index 000000000000..02d030c795f6 --- /dev/null +++ b/app-benchmarks/ltp/ltp-20100131.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20100131.ebuild,v 1.1 2010/03/01 15:34:34 patrick Exp $ + +EAPI="2" + +inherit eutils portability flag-o-matic autotools + +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" to depends if ltpmenu is enabled + +src_prepare() { + # 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}" PREFIX=${D}/opt/blah emake DESTDIR="${D}" || die "emake failed" +} + +src_install() { + # avoid creating groups + export CREATE=0 + DESTDIR="${D}" 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 ; +} |