diff options
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/ltp/ChangeLog | 9 | ||||
-rw-r--r-- | app-benchmarks/ltp/Manifest | 26 | ||||
-rw-r--r-- | app-benchmarks/ltp/ltp-20150119.ebuild | 84 |
3 files changed, 94 insertions, 25 deletions
diff --git a/app-benchmarks/ltp/ChangeLog b/app-benchmarks/ltp/ChangeLog index 332ec02f7c44..3267dbe6f5f7 100644 --- a/app-benchmarks/ltp/ChangeLog +++ b/app-benchmarks/ltp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-benchmarks/ltp -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.27 2014/09/06 08:19:33 hwoarang Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.28 2015/03/03 22:55:41 hwoarang Exp $ + +*ltp-20150119 (03 Mar 2015) + + 03 Mar 2015; Markos Chandras <hwoarang@gentoo.org> +ltp-20150119.ebuild: + Version bump 06 Sep 2014; Markos Chandras <hwoarang@gentoo.org> ltp-20140828.ebuild: Fix dodoc. Bug #522156 diff --git a/app-benchmarks/ltp/Manifest b/app-benchmarks/ltp/Manifest index baac6cde16e2..6a505e255c35 100644 --- a/app-benchmarks/ltp/Manifest +++ b/app-benchmarks/ltp/Manifest @@ -1,29 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX runltp-path.patch 10104 SHA256 9164a2332922c165bfc0ed66dbf9966e6d91c681f1bc641cd740389c15e66989 SHA512 a0c7971ad728e487b076775d8247774a836990f8d7b5cb3fb5eb6dbafcb06b8d443545e0f6fda32ba06d072fc197352b2193c0843ff918604dda81382308b65e WHIRLPOOL ec7c53bf62c0df9ee9f63fbc7ed422f99d747c56654ab2749874876913549a072589a525847b11604766b1231db000939d2f35ef3265fa264d8738b2d63ca57f DIST ltp-20130503.tar.bz2 3819156 SHA256 afdb1479e73d4da7f0d4d5d3fe1570bc5fc96e3317d4a5c10c59c046d3dfa4a0 SHA512 efe7c3e5ffba51b03f01ee66d940d400f4f007dcc42ca45f9597fc1a325950ee14f663762280d63004080c717f16f39bc0d53b5905290470952ef5af3725f089 WHIRLPOOL 924cdc730e85d66d8d7655461e0a59a563b7a9039133b4e991a115d20453f46dda158ac82f474fc8d9ea720a4d03fc67d4d55c231c11d35dc3bfdc5b10a7258b DIST ltp-20140828.tar.bz2 3914567 SHA256 046069523f04d8be8689c9e3f7f475e11d21c3d97506189a4a5e23c80b77492a SHA512 4963184624c8d6686dd9bda171bb2917a16b782f575e73ac18641ee66070b72f34c1e222936c52e529038854bd8d67d05b286d5f1319fd73098823ddbfe29545 WHIRLPOOL 32ec59ccd3cea3e4cfe8f73c4eb2bf8f8a86fd2fd0f82df8afabe8b62fd8e92fc9d3dbde52875d2be241542a6e3608ea5507d5f6495b11c92bcda475f6a69302 +DIST ltp-20150119.tar.bz2 3920104 SHA256 e0433cb184c57bf4e5493bfbceef3e9ee51a1a9778990fe4e74e62b17b94232f SHA512 ab7a76d700279895442a35507c58d2d1d2e727f3f7dfec067109a8f04bd23d18d0466c20bb1a37af8691bab9260353431e642b493a218b4317357ba8f6aace3a WHIRLPOOL 69c3e79ca8ceb68197ac8905fa7251a31207465d3992c997b4feb4bbd175657b71f667960aed5658aa5e477edf8388ded34a75476d827fb0fa337f4210975f54 EBUILD ltp-20130503.ebuild 1949 SHA256 f6bed04eee97a1e8f333bccd45a715b9e8b064ce82e9f51822e2d233136179ae SHA512 717e24314c715bdcd7a87e5aafa5ca85c5b66cb275f7dd6cd79b9dee2590dbc0bb022315ba8d9722728d167008005c4516ad0b793178a09646c560d60c8a3c16 WHIRLPOOL b8be1cd73208548f08342030900ea620de05333cb0d5b4230f7386b978873b45d82a50a9adff6cd7a72831c552736de826eb577248481047e14927409555f7bf EBUILD ltp-20140828.ebuild 2071 SHA256 db317d7b452c400e4c58e3b5bf3c5fbe41553effae8e4a034d460dd8decb6da4 SHA512 dabe680f06b5961e8ee4dda070cde328b47ec86d2c7966f9be02a33b6aaab1115ed7c765acb955e63a50e0c4ad1021029f37e0cdb90c5c935cf8c66e9aa4b3f7 WHIRLPOOL 8e0b83db6764c69b0d642453b239918c991b49221abb55d933f757ecefde87739db4199b09bf2172c4f02292c2a8d543e5100f1fb6b5cdc1d778885dafd86dc6 -MISC ChangeLog 3903 SHA256 e5c00ae2c69aa0fbfdd99534262f151051dc087e8c1edb367715129dbdf7c81e SHA512 aeaa5bd7a3a567f4112e1705904297d02995d664c6412636bafa5824c37302095dbd037cc1d1be388784f88605abaa5afccc1c91c9d17c89a9fa0fa680b0ba81 WHIRLPOOL 41e476cfbaa1410ede2060dd833f84a645eecebd956cd921d0c4c024eeb4bd24a573feb1f8d275f38f26a90c78dd07fa4a03b3731d603eb2bbf6489dc23d043f +EBUILD ltp-20150119.ebuild 2071 SHA256 035d9a19c5ac47606fb820866a67013b5c518952e7ffe34e39cf154b751a59d1 SHA512 19e7415651cd434232fb191dfd3523e6c8d07b414b4854de8307a5e93a37919d2c35ea092f1b47e4252a81f11a0b4006216d7ae3a1ae23c8ad467c986db192e6 WHIRLPOOL 6c0c66555bf3882b5054886a7f0761dee9d71098f392551a94fd65c7e0f1b7d8a2548484f30313994c55be0fe77f900664e777aec3764274c9c4a3e9fe164d1e +MISC ChangeLog 4023 SHA256 d65577d276ee85bd1f61660d537c5ef547ec2ff26b18d24d5f238d83a2ba6ba5 SHA512 7f54ec45df5a0d56b73a2f070854a9bde0d18fa421318d6ea8ea63168e4b43660534dfcab6be6026cbc90bd22a08c626c2e9241857b9188199e27532a552fdcf WHIRLPOOL db9d0f47f6598d95207f83c9419624fe9bed391b19744c092496820b2f87e470b8ba6e4997c646d45f42d15ab11c3050c689309a99d6041e6ff109b36af41192 MISC metadata.xml 919 SHA256 53e3beecda275deb5138e2eb9a3d278b677e72e25802584aa89cb5393e50559e SHA512 67f09324b73021d23a76e8e4e95f62b65e051372a0385a289edbccc9571f51346a620ffaa231e8f5f2472979e12423a4a1aa30b154680ecab42d4228ba30bbb1 WHIRLPOOL 64a5d38f1044dd8517c20e1ab37c023317bf77a20062b0a2b20007d6d7e25f4030767edd414a638eb30358602735143fc415f5940a8cfe6e6cb9044b5f98ee52 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQJ8BAEBCABmBQJUCsOZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw -OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88AQUP/AnTafAm3cMvh9DQi/Fk3f+e -kWj/+aJSPnd3rUcX4PjMqRmWKYFFzxsMBWH7LbX8o23AZ2/d23f5hzxb5xb+s0yS -r1yV/2ANwZyWL1zNFHV2hL7Z0ZqtIypl0CaaNCi/ngHJSon80PkD630viE2jQy9t -UFcXKcaARx/v7rIguGZRiPowpL6T3KkqsGPgwQsvFVq1sMg/6pPcs01KcOz01pyX -DTXy2btO2l6aJGsdHUYW7IlT5hEsOSeOsRqCotF2mWQoP0mHgpOjrYTR8bTdqy6D -wupG5AKw3H8/6qIGn5wJCCeqYXgHAH7DJionel2CtSz+/7PamzrZzQyRhc9jmQpv -ifbj/Rl8gPbxCzZZ3KPmxeBqV7nRZIrnA807RF4C7KzWR5hNqOH1AAieNA767tNs -I8vJcNHQWDPIgXtQQDekSGJ/B96K6/ebEI73t1R9waj8kDw0aKR/9IbwG9kENILf -eIFBqJJilq7ASQR+3PSWvZe8oYgOm4yvE6Nf2WgTrUu5P4nWFri42Gv8ZcfGYP2e -JJlGGOSfxgKKXHSi0cRjFbvCslu9UKZ7TV1LMr7OdsDPwYuaoWf1R+2R8EoDTUBD -ZENu5XvUeUFVSIbz/zqMUjbbZYZsEUckr9D1jnp0Kgi7sBOjoJcXBI7tOnYbb7mU -aqew8diIf33kmiuTIZ0H -=Nn8Z ------END PGP SIGNATURE----- diff --git a/app-benchmarks/ltp/ltp-20150119.ebuild b/app-benchmarks/ltp/ltp-20150119.ebuild new file mode 100644 index 000000000000..b4ebdb2f1d11 --- /dev/null +++ b/app-benchmarks/ltp/ltp-20150119.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20150119.ebuild,v 1.1 2015/03/03 22:55:41 hwoarang Exp $ + +EAPI="5" + +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}.tar.bz2 -> ${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~hppa ~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 /opt/${PN}. + For more information please read the ltp-howto located in + /usr/share/doc/${PF}" +} + +src_prepare() { + # regenerate + AT_M4DIR="m4" eautoreconf +} + +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 " + # 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.. + + econf --prefix=/opt/${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/testcases + dohtml -r doc/automation-*.html + doman doc/man1/*.1 + doman doc/man3/*.3 + readme.gentoo_create_doc +} |