summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-09-02 19:43:00 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-09-02 19:43:00 +0000
commit3d9894b604710aae566a55708e16c69b202065cb (patch)
tree134f91cd8cdf78ea2fe27cea76a629ee6daa3d65 /app-benchmarks/ltp
parentlast rite app-admin/hwreport (diff)
downloadgentoo-2-3d9894b604710aae566a55708e16c69b202065cb.tar.gz
gentoo-2-3d9894b604710aae566a55708e16c69b202065cb.tar.bz2
gentoo-2-3d9894b604710aae566a55708e16c69b202065cb.zip
Version bump. Remove old
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
Diffstat (limited to 'app-benchmarks/ltp')
-rw-r--r--app-benchmarks/ltp/ChangeLog10
-rw-r--r--app-benchmarks/ltp/ltp-20120903.ebuild87
-rw-r--r--app-benchmarks/ltp/ltp-20140828.ebuild (renamed from app-benchmarks/ltp/ltp-20130109.ebuild)12
3 files changed, 15 insertions, 94 deletions
diff --git a/app-benchmarks/ltp/ChangeLog b/app-benchmarks/ltp/ChangeLog
index 48798bc06ef3..9c3ffd680229 100644
--- a/app-benchmarks/ltp/ChangeLog
+++ b/app-benchmarks/ltp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-benchmarks/ltp
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.25 2013/07/20 15:35:55 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.26 2014/09/02 19:43:00 hwoarang Exp $
+
+*ltp-20140828 (02 Sep 2014)
+
+ 02 Sep 2014; Markos Chandras <hwoarang@gentoo.org> +ltp-20140828.ebuild,
+ -ltp-20120903.ebuild, -ltp-20130109.ebuild:
+ Version bump. Remove old
20 Jul 2013; Jeroen Roovers <jer@gentoo.org> ltp-20130503.ebuild:
Marked ~hppa too.
diff --git a/app-benchmarks/ltp/ltp-20120903.ebuild b/app-benchmarks/ltp/ltp-20120903.ebuild
deleted file mode 100644
index 780e15c58095..000000000000
--- a/app-benchmarks/ltp/ltp-20120903.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20120903.ebuild,v 1.3 2013/02/15 17:23:17 pacho Exp $
-
-EAPI="4"
-
-inherit autotools eutils readme.gentoo
-
-MY_PN="${PN}-full"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A testsuite for the linux kernel"
-HOMEPAGE="http://ltp.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.bz2 -> ${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="expect perl pm open-posix python rt"
-
-DEPEND="expect? ( dev-tcltk/expect )
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )"
-
-RESTRICT="test"
-
-S="${WORKDIR}"/${MY_P}
-
-pkg_setup() {
- # Don't create groups
- export CREATE=0
-
- DOC_CONTENTS="LTP requires root access to run the tests.
- The LTP root directory is located in /usr/libexec/${PN}
- but the results and output folders will be created in /tmp.
- For more information please read the ltp-howto located in
- /usr/share/doc/${PF}"
-}
-
-src_prepare() {
- # regenerate
- AT_M4DIR="m4" eautoreconf
- # Create output/ and results/ directories
- # in /tmp. We don't want to pollute the libexec
- # directory
- epatch "${FILESDIR}"/runltp-path.patch
-}
-
-src_configure() {
- # FIXME: improve me
- local myconf=
- use open-posix && myconf+="--with open-posix-testsuite "
- use pm && mytconf+="--with-power-management-testsuite "
- use rt && myconf+="--with-realtime-testsuite "
- use perl && myconf+="--with-perl "
- use python && myconf+="--with-python "
- use expect && myconf+="--with-expect "
-
- # Better put it into /usr/libexec as everything needs to
- # be under the same directory..
-
- econf --prefix=/usr/libexec/${PN} ${myconf}
-}
-
-src_compile() {
- # Posix testsuite does not seem to build with -j>1
- # Is this maintained anymore?
- if use open-posix; then
- export MAKEOPTS="-j1"
- fi
- emake
-}
-
-src_install() {
- default
- dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
- # install docs
- dodoc doc/MaintNotes
- for txt in doc/*.txt; do
- dodoc ${txt}
- done
- dodoc -r doc/examples doc/testcases
- dohtml -r doc/automation-*.html
- doman doc/man1/*.1
- doman doc/man3/*.3
- readme.gentoo_create_doc
-}
diff --git a/app-benchmarks/ltp/ltp-20130109.ebuild b/app-benchmarks/ltp/ltp-20140828.ebuild
index df081ea057a7..10b3e5ccbd18 100644
--- a/app-benchmarks/ltp/ltp-20130109.ebuild
+++ b/app-benchmarks/ltp/ltp-20140828.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20130109.ebuild,v 1.1 2013/03/25 20:51:50 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20140828.ebuild,v 1.1 2014/09/02 19:43:00 hwoarang Exp $
EAPI="4"
@@ -11,11 +11,11 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="A testsuite for the linux kernel"
HOMEPAGE="http://ltp.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.bz2 -> ${P}.tar.bz2"
+SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="expect perl pm open-posix python rt"
DEPEND="expect? ( dev-tcltk/expect )
@@ -44,12 +44,14 @@ src_prepare() {
src_configure() {
# FIXME: improve me
local myconf=
- use open-posix && myconf+="--with open-posix-testsuite "
+ use open-posix && myconf+="--with-open-posix-testsuite "
use pm && mytconf+="--with-power-management-testsuite "
use rt && myconf+="--with-realtime-testsuite "
use perl && myconf+="--with-perl "
use python && myconf+="--with-python "
use expect && myconf+="--with-expect "
+ # Prevent any kernel stuff for now as it leads to sandbox violations
+ myconf+="--without-modules --with-linux-dir=/dev/null"
# Better put it into /opt/${PN} as everything needs to
# be under the same directory..