1 |
vapier 15/07/07 10:09:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fio-2.2.9.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.61 sys-block/fio/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/ChangeLog?rev=1.61&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/ChangeLog?rev=1.61&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/ChangeLog?r1=1.60&r2=1.61 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v |
20 |
retrieving revision 1.60 |
21 |
retrieving revision 1.61 |
22 |
diff -u -r1.60 -r1.61 |
23 |
--- ChangeLog 11 Mar 2015 06:02:43 -0000 1.60 |
24 |
+++ ChangeLog 7 Jul 2015 10:09:07 -0000 1.61 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-block/fio |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.60 2015/03/11 06:02:43 prometheanfire Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.61 2015/07/07 10:09:07 vapier Exp $ |
30 |
+ |
31 |
+*fio-2.2.9 (07 Jul 2015) |
32 |
+ |
33 |
+ 07 Jul 2015; Mike Frysinger <vapier@g.o> +fio-2.2.9.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
11 Mar 2015; Matthew Thode <prometheanfire@g.o> fio-2.2.4-r1.ebuild: |
37 |
removing badness arm? 542850 and fixing 542640 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-block/fio/fio-2.2.9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/fio-2.2.9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/fio/fio-2.2.9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: fio-2.2.9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-2.2.9.ebuild,v 1.1 2015/07/07 10:09:07 vapier Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
PYTHON_COMPAT=( python2_7 ) |
54 |
inherit eutils python-r1 toolchain-funcs |
55 |
|
56 |
MY_PV="${PV/_rc/-rc}" |
57 |
MY_P="${PN}-${MY_PV}" |
58 |
|
59 |
DESCRIPTION="Jens Axboe's Flexible IO tester" |
60 |
HOMEPAGE="http://brick.kernel.dk/snaps/" |
61 |
SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86" |
66 |
IUSE="aio glusterfs gnuplot gtk numa rbd rdma zlib" |
67 |
|
68 |
DEPEND="aio? ( dev-libs/libaio ) |
69 |
glusterfs? ( !arm? ( sys-cluster/glusterfs ) ) |
70 |
gtk? ( |
71 |
dev-libs/glib:2 |
72 |
x11-libs/gtk+:2 |
73 |
) |
74 |
numa? ( sys-process/numactl ) |
75 |
rbd? ( sys-cluster/ceph ) |
76 |
zlib? ( sys-libs/zlib )" |
77 |
RDEPEND="${DEPEND} |
78 |
gnuplot? ( |
79 |
sci-visualization/gnuplot |
80 |
${PYTHON_DEPS} |
81 |
)" |
82 |
|
83 |
S="${WORKDIR}/${MY_P}" |
84 |
|
85 |
src_prepare() { |
86 |
sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die |
87 |
epatch_user |
88 |
|
89 |
# Many checks don't have configure flags. |
90 |
sed -i \ |
91 |
-e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ |
92 |
-e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \ |
93 |
-e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \ |
94 |
configure || die |
95 |
} |
96 |
|
97 |
src_configure() { |
98 |
chmod g-w "${T}" |
99 |
# not a real configure script |
100 |
./configure \ |
101 |
--extra-cflags="${CFLAGS} ${CPPFLAGS}" \ |
102 |
--cc="$(tc-getCC)" \ |
103 |
$(usex glusterfs '' '--disable-gfapi') \ |
104 |
$(usex gtk '--enable-gfio' '') \ |
105 |
$(usex numa '' '--disable-numa') \ |
106 |
$(usex rbd '' '--disable-rbd') \ |
107 |
|| die 'configure failed' |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
emake V=1 OPTFLAGS= |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man" |
116 |
|
117 |
if use gnuplot ; then |
118 |
python_replicate_script "${ED}/usr/bin/fio2gnuplot" |
119 |
else |
120 |
rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die |
121 |
rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die |
122 |
rm "${ED}"/usr/share/fio/*.gpm || die |
123 |
rmdir "${ED}"/usr/share/fio/ 2>/dev/null |
124 |
fi |
125 |
|
126 |
# This tool has security/parallel issues -- it hardcodes /tmp/template.fio. |
127 |
rm "${ED}"/usr/bin/genfio || die |
128 |
|
129 |
dodoc README REPORTING-BUGS HOWTO |
130 |
docinto examples |
131 |
dodoc examples/* |
132 |
} |