diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-benchmarks/filebench |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-benchmarks/filebench')
4 files changed, 83 insertions, 0 deletions
diff --git a/app-benchmarks/filebench/Manifest b/app-benchmarks/filebench/Manifest new file mode 100644 index 000000000000..9d7a5ad6a573 --- /dev/null +++ b/app-benchmarks/filebench/Manifest @@ -0,0 +1,6 @@ +AUX filebench-fix-automagic-libtecla-dependency.patch 1088 SHA256 71fed7d911228aa38458e7be94a20bc1ef98890bcaec1cda1e409a4bdd85b3ce SHA512 8c04b18d77749757bb98718ddc086637c9f541c48a2651e28b0d48586d4794feaa86eff1dafbe0c2c93bfe7ac2d090ab8fb38216f5999152309118ff3247b35d WHIRLPOOL 77379d8ce1816d13571899e3beda83a51567f90fa7df822b17736a0f933e8f6d2eab8f927968025224576e43d27df5ee03d32f27902bbac2af16c73efd86115b +DIST filebench-1.4.9.1.tar.gz 349535 SHA256 a1d1516083a1d46bccf6246caf709e800e93eccf17572583343e77726b720678 SHA512 a6400aba4266fcf98e46c4824796a594adc5d5e7f9605f6e1ab01973ce448e27948991e453b186947a8d89f8603a69a3ba955edf2a1abccd2935196af7b6f0d1 WHIRLPOOL 5d5a5c1a2d9eeaaaaf14cd97725ce8ba47ed1f06e1713a6315320697a37a5b12027aa09f819c3e3b1a75cc435823d661e532e7ca319009eb928dc62a778b9bf4 +EBUILD filebench-1.4.9.1-r1.ebuild 667 SHA256 2f1cbb65e89a8b710554f9b055ee8043e2b4af7f18d5a9e3658b48cd7b52b5ea SHA512 228a7297e0018c5616d34da4cf8151ca475e0b74f9ac3eecf2747687483cc6137899e77f4c5d4de8f16bde5f8f01eb802856ba97685ff654c35659da3526178b WHIRLPOOL 55592c1f6b177d334048e76e15b64cdbd13de1ba918a8419eeed464b306eaa8db2f4a045c6822c6f26f159d3ea96425b2439fa77e37ea018fc654110e167ba08 +MISC ChangeLog 4518 SHA256 68aea16a3c5062c650b070c425ae8c1f4347f927514d9ecaba71f4301c452c2c SHA512 3d595fca287c3c919a75693d1d4102d865235544575cf8691d78314a1e9e3c856a295749a3f93a4d438200c83c4811d0a54693a8e063ac1de58b359d98570912 WHIRLPOOL a51459f4a6cf8d1c2271d1bf09af67539ad80396fd8c12dd54261c229e6fb2107fa011bd4fb3a762d010bd3b3df14c36c0213c5eb821caf1fc3bbd0b028c445c +MISC ChangeLog-2015 1115 SHA256 d31c61eb600917fabcd88c0f95b822cdc75b2d389a208a75e3a3eb61c01f93f5 SHA512 b69087da3b7e4f1dac44d23470b2411dfec61ccb5d19a4864aabc95e69d48090929708e32b50ed7cc640e4fdd8ea3bf96a70b566442a5f688845661284993d64 WHIRLPOOL 54b8ab0567f255ba6e588381b9074e89305234a0b5006855cc6694991a00ae058ba51b4edb08f15751db8228790caa268be4cc753b2f9e08a1f142aceebce768 +MISC metadata.xml 581 SHA256 2d017d9af7cb9d83cf7aea5eb350476ab9378236d06654a6d9bbd42ddad12bc8 SHA512 50dc3bd8023e3fd0f667d10cd6f9504f0a471a3db1aba76986e9e24db3049c7865f3b485896da720e8661a19a45cb65e1e3d0a045bcc20401ddae85ee316fce3 WHIRLPOOL 4e9a857c3fb7fd7daacef716fbe6fc7834a1c98844ad89af092bbf3d73425157ce737f4b9db237d5e02d612b215cb57742a854ddfb760b4398df0f249779a1f4 diff --git a/app-benchmarks/filebench/filebench-1.4.9.1-r1.ebuild b/app-benchmarks/filebench/filebench-1.4.9.1-r1.ebuild new file mode 100644 index 000000000000..44380cce37a5 --- /dev/null +++ b/app-benchmarks/filebench/filebench-1.4.9.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Filebench - A Model Based File System Workload Generator" +HOMEPAGE="https://sourceforge.net/projects/filebench/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="auto-completion" + +RDEPEND=" + auto-completion? ( dev-libs/libtecla ) +" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison +" + +PATCHES=( "${FILESDIR}"/${PN}-fix-automagic-libtecla-dependency.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with auto-completion libtecla) +} diff --git a/app-benchmarks/filebench/files/filebench-fix-automagic-libtecla-dependency.patch b/app-benchmarks/filebench/files/filebench-fix-automagic-libtecla-dependency.patch new file mode 100644 index 000000000000..8d24a62a89d6 --- /dev/null +++ b/app-benchmarks/filebench/files/filebench-fix-automagic-libtecla-dependency.patch @@ -0,0 +1,22 @@ +From: Göktürk Yüksek <gokturk@binghamton.edu> +Subject: [PATCH] Fix automagic dependency on libtecla + +Replace the unconditional AC_CHECK_LIB logic with AC_ARG_WITH to +eliminate the automagic dependency on libtecla. + +--- a/configure.ac ++++ b/configure.ac +@@ -164,8 +164,11 @@ + AC_CHECK_LIB([kstat], [kstat_open]) + # Use libtecla for autocompletion if it is available. If it + # is, then conditionally compile auto_comp.c (see Makefile.am) +-AC_CHECK_LIB([tecla], [cpl_add_completion]) +-AM_CONDITIONAL(AUTOCOMP_LIBTECLA, test "$ac_cv_lib_tecla_cpl_add_completion" = yes) ++AC_ARG_WITH([libtecla], AS_HELP_STRING([--with-libtecla], [Build with libtecla for autocompletion support (default: test)])) ++AS_IF([test "x$with_libtecla" != "xno"], [ ++ AC_CHECK_LIB([tecla], [cpl_add_completion]) ++]) ++AM_CONDITIONAL([AUTOCOMP_LIBTECLA], [test "x$ac_cv_lib_tecla_cpl_add_completion" = "xyes"]) + # Check that librt is installed and supports async IO. First line + # allows to add librt to the linkers path, second one checks + # if aio_wait() is in it, third one checks if aio_waitn() is there (usually diff --git a/app-benchmarks/filebench/metadata.xml b/app-benchmarks/filebench/metadata.xml new file mode 100644 index 000000000000..27f791779acc --- /dev/null +++ b/app-benchmarks/filebench/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gokturk@gentoo.org</email> + <name>Göktürk Yüksek</name> + </maintainer> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> + <use> + <flag name="auto-completion"> + Enable command-line autocompletion using + <pkg>dev-libs/libtecla</pkg>. + </flag> + </use> + <upstream> + <remote-id type="sourceforge">filebench</remote-id> + </upstream> +</pkgmetadata> |