Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/fio/, sys-block/fio/files/
Date: Wed, 01 Mar 2017 05:41:38
Message-Id: 1488346852.cb6f3225601c0c0dd4aee641fd4d7859a4b7e5dd.vapier@gentoo
1 commit: cb6f3225601c0c0dd4aee641fd4d7859a4b7e5dd
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 1 04:58:20 2017 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 1 05:40:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb6f3225
7
8 sys-block/fio: drop old <2.15 versions and old patches
9
10 sys-block/fio/Manifest | 6 -
11 sys-block/fio/files/fio-2.2.10-libmtd.patch | 12 --
12 sys-block/fio/files/fio-2.2.9-atomic-sync.patch | 140 ------------------------
13 sys-block/fio/files/fio-2.8-sysmacros.patch | 47 --------
14 sys-block/fio/fio-2.15.ebuild | 1 -
15 sys-block/fio/fio-2.16.ebuild | 2 +-
16 sys-block/fio/fio-2.2.10.ebuild | 91 ---------------
17 sys-block/fio/fio-2.2.13.ebuild | 91 ---------------
18 sys-block/fio/fio-2.2.9.ebuild | 90 ---------------
19 sys-block/fio/fio-2.5.ebuild | 91 ---------------
20 sys-block/fio/fio-2.6.ebuild | 92 ----------------
21 sys-block/fio/fio-2.8.ebuild | 94 ----------------
22 12 files changed, 1 insertion(+), 756 deletions(-)
23
24 diff --git a/sys-block/fio/Manifest b/sys-block/fio/Manifest
25 index 28616c8d49a..cf77e929e9b 100644
26 --- a/sys-block/fio/Manifest
27 +++ b/sys-block/fio/Manifest
28 @@ -1,8 +1,2 @@
29 DIST fio-2.15.tar.bz2 545809 SHA256 60044f92cfbd2f656162864aae309ab88ff5983c2e49f4b9f8271c445852f5bd SHA512 fa3380031e6e0a597eb34e597af91efbc824a3d5753793fdb00cb10e693943e0358afaad9624eb4333e81182c94424a56fbd1d434eeff098dbf2fc4e19167db0 WHIRLPOOL 32215d63a373c88041d90c6d07d87f9b4e6d4070d1b263676a817dc9ddd8cb175cbbc25e8359cec956ea26a39f40c1cb501ba897475f628ce4f6a5502939239e
30 DIST fio-2.16.tar.bz2 558662 SHA256 7d8dd6897a5fa181b4b707ffb7b87306c23a5a99a3aefa1d6f510150302cb6ec SHA512 f71c8ab8423e82ceae160bae8c17ac1222c1b2dde2ccb1b2aedb2288e0eb60485f8e9f3908640d4f6cebf166a148f4ad64026c035381c5db5141bf3059349d75 WHIRLPOOL cdd11fd09dce3fec04b12f82fef6d53c8ae70623b35a39cbfe50039bf9be5d80e00715c58e9fa6dee67a471327bf6da7f741add880bfefa9eb26f432b265e9ac
31 -DIST fio-2.2.10.tar.bz2 497503 SHA256 04b4490c69f82bafeccbab51d33732cfd74e7a54e74eae0d9a2450faf4f1d857 SHA512 6ff71ca78b2ffa40cd9390b3e4f0b6f07db4d50c85f89c4a9e03c7f327153c0fed3eb8b7c44f3a8f8d0b1b35b48ccb5b1aa96a95fdca08581c22b99f2961c7d3 WHIRLPOOL 7bb881ecea82f3ad568d7513af0486494dc657ede69cc4de0f71e7bdf873ccf8f7a58744ab8f1fce8a1c507c3ce0f7e95eb3a7098a01fe041f04cd29a6a4afb7
32 -DIST fio-2.2.13.tar.bz2 503950 SHA256 66a0084c37bd8804d9f7d260d843a9a3bf51561954024d3b32062b9332281924 SHA512 b2adc4fb1b8c71bb909cfc2cfd9e0d25affcacd47908bc6d126625b448c0e964afa7c65fb88cf21662d4b9d07bfbaebbb2fd66b4c4662382ef68aaf8f053bd6d WHIRLPOOL 112af8620a73e907723760fd01caa4c582f7adba5eef5bf51bb6b695c1a15ff812957937cb67dff00b93c3e941df67d751ecf1aca1627722a6084c5494e7f70a
33 -DIST fio-2.2.9.tar.bz2 492404 SHA256 c881d9cf15500bd4436970d0467c356c5c021417131587931ba78845e965bf56 SHA512 e0cd26bb8a760ef5e40ddb73246671c1988f0c0886bd24fa510fcab93fe64d8853f120355f55fa109168c7fae0b081f63278f2233644f5ed20da4e4c3cb3f3fc WHIRLPOOL 4f5ada7f1140c7229fc3173fa0582a4ae7401121768d8dec828dcd42c1c22ec828e9c000c482b155ead4fd75ee15c4d7678fc7c6d18c8fbb9c749e83f87a4881
34 -DIST fio-2.5.tar.bz2 509978 SHA256 30f85cd6596125bd2f76b379f15a4edee1149bb0347a9c10a2dda15d7591a543 SHA512 44fc4bc342b611f9ed89685d73592389dd9e63970a9bbcc1b332aa8434a3e4a52b0c16d27b6a6dd96fcf3a9831a68af5249251895a6dbd9f7190ad0b8935eb40 WHIRLPOOL dced416aae899987ff80c6f37999a064d8a45c8ea809d7a3f3a2eea5dd3b6ae5633125326373a5da3b37429dc940f0c97fa9694e976a61819709db3b6ab7ac3e
35 -DIST fio-2.6.tar.bz2 509685 SHA256 b4b846fca614f724b8315348cb23e2d4a1046e63f10e79b4b310acf29c4d1ac0 SHA512 9831c3de2110c509f6c99ffe0fc8256aea2b9b337e6b2799108c89d1b5e472a85e6df9cb090549db80429658717aa75f2ab10d41359386e1dde861c600645b39 WHIRLPOOL c5138eb2def4c67ee0d5cca46db6aa663e2a1e0eead05aab5938ced20dd68bc214f217724d3bd1c4a1030b4ffee2c07ee37910b57c6f11b2ed6a0ff67d3b30cc
36 -DIST fio-2.8.tar.bz2 513800 SHA256 815344531a6c0201872aca43581c2e4b6fbc1d735266dd12a0c3408754ec862f SHA512 2228dab377f6664ce9e1bd6e5720e7eb256370758f6cea25c778a2480b5fbbf39630e8c5676e2cf34d9d664c7b1960c618feb1bd252fec290e09bf534672922c WHIRLPOOL fd32419a2d338a77f76d68831eb08ae7b1f34892d03bcd931a8cca3630813767fefa081148fd8f636531b62bd71c7fa0a7d4d71c53d8c8294f7cad7bb794eec6
37
38 diff --git a/sys-block/fio/files/fio-2.2.10-libmtd.patch b/sys-block/fio/files/fio-2.2.10-libmtd.patch
39 deleted file mode 100644
40 index 7e0a0c0d7d5..00000000000
41 --- a/sys-block/fio/files/fio-2.2.10-libmtd.patch
42 +++ /dev/null
43 @@ -1,12 +0,0 @@
44 -diff -Nuar --exclude config.log fio-2.2.10/lib/libmtd.h fio-2.2.10.new/lib/libmtd.h
45 ---- fio-2.2.10/lib/libmtd.h 2016-01-26 18:02:07.000000000 -0800
46 -+++ fio-2.2.10.new/lib/libmtd.h 2016-02-03 08:10:19.104693006 -0800
47 -@@ -29,6 +29,8 @@
48 - extern "C" {
49 - #endif
50 -
51 -+#include <stdint.h>
52 -+
53 - /* Maximum MTD device name length */
54 - #define MTD_NAME_MAX 127
55 - /* Maximum MTD device type string length */
56
57 diff --git a/sys-block/fio/files/fio-2.2.9-atomic-sync.patch b/sys-block/fio/files/fio-2.2.9-atomic-sync.patch
58 deleted file mode 100644
59 index a8b32022e44..00000000000
60 --- a/sys-block/fio/files/fio-2.2.9-atomic-sync.patch
61 +++ /dev/null
62 @@ -1,140 +0,0 @@
63 -fix from upstream
64 -
65 -From 2a2743361cf643b9dd2ba3e491da62e7cb83a101 Mon Sep 17 00:00:00 2001
66 -From: Jens Axboe <axboe@××.com>
67 -Date: Mon, 29 Jun 2015 09:34:39 -0600
68 -Subject: [PATCH] workqueue: make it work on platforms without
69 - __sync_fetch_and_add()
70 -
71 -Signed-off-by: Jens Axboe <axboe@××.com>
72 ----
73 - configure | 22 ++++++++++++++++++++++
74 - workqueue.c | 22 ++++++++++++++++++++++
75 - workqueue.h | 1 +
76 - 3 files changed, 45 insertions(+)
77 -
78 -diff --git a/configure b/configure
79 -index e459d63..e5cf34d 100755
80 ---- a/configure
81 -+++ b/configure
82 -@@ -271,6 +271,7 @@ CYGWIN*)
83 - output_sym "CONFIG_TCP_NODELAY"
84 - output_sym "CONFIG_TLS_THREAD"
85 - output_sym "CONFIG_IPV6"
86 -+ output_sym "CONFIG_SFA"
87 - echo "CC=$CC" >> $config_host_mak
88 - echo "BUILD_CFLAGS=$CFLAGS -include config-host.h -D_GNU_SOURCE" >> $config_host_mak
89 - exit 0
90 -@@ -1492,6 +1493,24 @@ if compile_prog "" "" "getmntinfo"; then
91 - fi
92 - echo "getmntinfo $getmntinfo"
93 -
94 -+##########################################
95 -+# Check whether we have __sync_fetch_and_add()
96 -+sfa=="no"
97 -+cat > $TMPC << EOF
98 -+#include <stdio.h>
99 -+#include <stdlib.h>
100 -+#include <inttypes.h>
101 -+int main(int argc, char **argv)
102 -+{
103 -+ uint64_t dst = 1, src = 3;
104 -+ __sync_fetch_and_add(&dst, src);
105 -+}
106 -+EOF
107 -+if compile_prog "" "" "__sync_fetch_and_add"; then
108 -+ sfa="yes"
109 -+fi
110 -+echo "__sync_fetch_and_add $sfa"
111 -+
112 - #############################################################################
113 -
114 - if test "$wordsize" = "64" ; then
115 -@@ -1671,6 +1690,9 @@ fi
116 - if test "$getmntinfo" = "yes" ; then
117 - output_sym "CONFIG_GETMNTINFO"
118 - fi
119 -+if test "$sfa" = "yes" ; then
120 -+ output_sym "CONFIG_SFA"
121 -+fi
122 -
123 - if test "$zlib" = "no" ; then
124 - echo "Consider installing zlib-dev (zlib-devel), some fio features depend on it."
125 -diff --git a/workqueue.c b/workqueue.c
126 -index b9a967f..8f6963f 100644
127 ---- a/workqueue.c
128 -+++ b/workqueue.c
129 -@@ -197,6 +197,7 @@ err:
130 - return 1;
131 - }
132 -
133 -+#ifdef CONFIG_SFA
134 - static void sum_val(uint64_t *dst, uint64_t *src)
135 - {
136 - if (*src) {
137 -@@ -204,15 +205,34 @@ static void sum_val(uint64_t *dst, uint64_t *src)
138 - *src = 0;
139 - }
140 - }
141 -+#else
142 -+static void sum_val(uint64_t *dst, uint64_t *src)
143 -+{
144 -+ if (*src) {
145 -+ *dst += *src;
146 -+ *src = 0;
147 -+ }
148 -+}
149 -+#endif
150 -
151 - static void sum_ddir(struct thread_data *dst, struct thread_data *src,
152 - enum fio_ddir ddir)
153 - {
154 -+#ifndef CONFIG_SFA
155 -+ pthread_mutex_lock(&dst->io_wq.stat_lock);
156 -+ pthread_mutex_lock(&src->io_wq.stat_lock);
157 -+#endif
158 -+
159 - sum_val(&dst->io_bytes[ddir], &src->io_bytes[ddir]);
160 - sum_val(&dst->io_blocks[ddir], &src->io_blocks[ddir]);
161 - sum_val(&dst->this_io_blocks[ddir], &src->this_io_blocks[ddir]);
162 - sum_val(&dst->this_io_bytes[ddir], &src->this_io_bytes[ddir]);
163 - sum_val(&dst->bytes_done[ddir], &src->bytes_done[ddir]);
164 -+
165 -+#ifndef CONFIG_SFA
166 -+ pthread_mutex_unlock(&src->io_wq.stat_lock);
167 -+ pthread_mutex_unlock(&dst->io_wq.stat_lock);
168 -+#endif
169 - }
170 -
171 - static void update_accounting(struct submit_worker *sw)
172 -@@ -355,6 +375,7 @@ void workqueue_exit(struct workqueue *wq)
173 - free(wq->workers);
174 - pthread_mutex_destroy(&wq->flush_lock);
175 - pthread_cond_destroy(&wq->flush_cond);
176 -+ pthread_mutex_destroy(&wq->stat_lock);
177 - }
178 -
179 - static int start_worker(struct workqueue *wq, unsigned int index)
180 -@@ -393,6 +414,7 @@ int workqueue_init(struct thread_data *td, struct workqueue *wq,
181 - wq->next_free_worker = 0;
182 - pthread_cond_init(&wq->flush_cond, NULL);
183 - pthread_mutex_init(&wq->flush_lock, NULL);
184 -+ pthread_mutex_init(&wq->stat_lock, NULL);
185 -
186 - wq->workers = calloc(wq->max_workers, sizeof(struct submit_worker));
187 -
188 -diff --git a/workqueue.h b/workqueue.h
189 -index 5d47a5e..4e92449 100644
190 ---- a/workqueue.h
191 -+++ b/workqueue.h
192 -@@ -17,6 +17,7 @@ struct workqueue {
193 -
194 - pthread_cond_t flush_cond;
195 - pthread_mutex_t flush_lock;
196 -+ pthread_mutex_t stat_lock;
197 - volatile int wake_idle;
198 - };
199 -
200 ---
201 -2.4.4
202 -
203
204 diff --git a/sys-block/fio/files/fio-2.8-sysmacros.patch b/sys-block/fio/files/fio-2.8-sysmacros.patch
205 deleted file mode 100644
206 index 0881c1b91d8..00000000000
207 --- a/sys-block/fio/files/fio-2.8-sysmacros.patch
208 +++ /dev/null
209 @@ -1,47 +0,0 @@
210 -https://bugs.gentoo.org/580592
211 -
212 -From a254805d9ca1872adced3f8be2a053211b8f27eb Mon Sep 17 00:00:00 2001
213 -From: Mike Frysinger <vapier@g.o>
214 -Date: Wed, 20 Apr 2016 12:51:23 -0400
215 -Subject: [PATCH] include sys/sysmacros.h for major/minor
216 -
217 -These functions have always been defined in sys/sysmacros.h under
218 -Linux C libraries. For some, including sys/types.h implicitly
219 -includes that as well, but glibc wants to deprecate that, and some
220 -others already have. Include the header explicitly for the funcs.
221 -
222 -The mtd change is already in upstream mtd-utils too.
223 -
224 -Signed-off-by: Mike Frysinger <vapier@g.o>
225 ----
226 - os/os-linux.h | 1 +
227 - oslib/libmtd_common.h | 1 +
228 - 2 files changed, 2 insertions(+)
229 -
230 -diff --git a/os/os-linux.h b/os/os-linux.h
231 -index 9e708f0..23c16b6 100644
232 ---- a/os/os-linux.h
233 -+++ b/os/os-linux.h
234 -@@ -6,6 +6,7 @@
235 - #include <sys/ioctl.h>
236 - #include <sys/uio.h>
237 - #include <sys/syscall.h>
238 -+#include <sys/sysmacros.h>
239 - #include <sys/vfs.h>
240 - #include <sys/mman.h>
241 - #include <unistd.h>
242 -diff --git a/oslib/libmtd_common.h b/oslib/libmtd_common.h
243 -index a123323..9768066 100644
244 ---- a/oslib/libmtd_common.h
245 -+++ b/oslib/libmtd_common.h
246 -@@ -30,6 +30,7 @@
247 - #include <errno.h>
248 - #include <features.h>
249 - #include <inttypes.h>
250 -+#include <sys/sysmacros.h>
251 -
252 - #ifndef PROGRAM_NAME
253 - # error "You must define PROGRAM_NAME before including this header"
254 ---
255 -2.7.4
256 -
257
258 diff --git a/sys-block/fio/fio-2.15.ebuild b/sys-block/fio/fio-2.15.ebuild
259 index 5ff7ba987f7..1158dbdae90 100644
260 --- a/sys-block/fio/fio-2.15.ebuild
261 +++ b/sys-block/fio/fio-2.15.ebuild
262 @@ -39,7 +39,6 @@ RDEPEND+="
263 S="${WORKDIR}/${MY_P}"
264
265 src_prepare() {
266 - #epatch "${FILESDIR}"/fio-2.8-sysmacros.patch #580592
267 epatch "${FILESDIR}"/fio-2.2.13-libmtd.patch
268 sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
269 epatch_user
270
271 diff --git a/sys-block/fio/fio-2.16.ebuild b/sys-block/fio/fio-2.16.ebuild
272 index f3c960214b7..c57607e80a2 100644
273 --- a/sys-block/fio/fio-2.16.ebuild
274 +++ b/sys-block/fio/fio-2.16.ebuild
275 @@ -39,9 +39,9 @@ RDEPEND+="
276 S="${WORKDIR}/${MY_P}"
277
278 PATCHES=(
279 - # "${FILESDIR}"/fio-2.8-sysmacros.patch #580592
280 "${FILESDIR}"/fio-2.2.13-libmtd.patch
281 )
282 +
283 src_prepare() {
284 sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
285
286
287 diff --git a/sys-block/fio/fio-2.2.10.ebuild b/sys-block/fio/fio-2.2.10.ebuild
288 deleted file mode 100644
289 index acf467c2713..00000000000
290 --- a/sys-block/fio/fio-2.2.10.ebuild
291 +++ /dev/null
292 @@ -1,91 +0,0 @@
293 -# Copyright 1999-2016 Gentoo Foundation
294 -# Distributed under the terms of the GNU General Public License v2
295 -
296 -EAPI="5"
297 -PYTHON_COMPAT=( python2_7 )
298 -inherit eutils python-r1 toolchain-funcs
299 -
300 -MY_PV="${PV/_rc/-rc}"
301 -MY_P="${PN}-${MY_PV}"
302 -
303 -DESCRIPTION="Jens Axboe's Flexible IO tester"
304 -HOMEPAGE="http://brick.kernel.dk/snaps/"
305 -SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
306 -
307 -LICENSE="GPL-2"
308 -SLOT="0"
309 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
310 -IUSE="aio glusterfs gnuplot gtk numa rbd rdma static zlib"
311 -
312 -# GTK+:2 does not offer static libaries
313 -# numactl always includes static libraries
314 -DEPEND="aio? ( static? ( dev-libs/libaio[static-libs(+)] ) !static? ( dev-libs/libaio ) )
315 - glusterfs? ( static? ( sys-cluster/glusterfs[static-libs(+)] ) !static? ( sys-cluster/glusterfs ) )
316 - gtk? (
317 - static? ( dev-libs/glib:2[static-libs(+)] ) !static? ( dev-libs/glib:2 )
318 - x11-libs/gtk+:2
319 - )
320 - numa? ( sys-process/numactl )
321 - rbd? ( static? ( sys-cluster/ceph[static-libs(+)] ) !static? ( sys-cluster/ceph ) )
322 - zlib? ( static? ( sys-libs/zlib[static-libs(+)] ) !static? ( sys-libs/zlib ) )"
323 -RDEPEND="${DEPEND}
324 - gnuplot? (
325 - sci-visualization/gnuplot
326 - ${PYTHON_DEPS}
327 - )"
328 -
329 -S="${WORKDIR}/${MY_P}"
330 -
331 -src_prepare() {
332 - epatch "${FILESDIR}"/fio-2.2.10-libmtd.patch
333 - sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
334 - epatch_user
335 -
336 - # Many checks don't have configure flags.
337 - sed -i \
338 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
339 - -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
340 - -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \
341 - configure || die
342 -}
343 -
344 -src_configure() {
345 - chmod g-w "${T}"
346 - # not a real configure script
347 - set -- \
348 - ./configure \
349 - --disable-optimizations \
350 - --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
351 - --cc="$(tc-getCC)" \
352 - $(usex glusterfs '' '--disable-gfapi') \
353 - $(usex gtk '--enable-gfio' '') \
354 - $(usex numa '' '--disable-numa') \
355 - $(usex rbd '' '--disable-rbd') \
356 - $(usex static '--build-static' '')
357 - echo "$@"
358 - "$@" || die 'configure failed'
359 -}
360 -
361 -src_compile() {
362 - emake V=1 OPTFLAGS=
363 -}
364 -
365 -src_install() {
366 - emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
367 -
368 - if use gnuplot ; then
369 - python_replicate_script "${ED}/usr/bin/fio2gnuplot"
370 - else
371 - rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die
372 - rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die
373 - rm "${ED}"/usr/share/fio/*.gpm || die
374 - rmdir "${ED}"/usr/share/fio/ 2>/dev/null
375 - fi
376 -
377 - # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
378 - rm "${ED}"/usr/bin/genfio || die
379 -
380 - dodoc README REPORTING-BUGS HOWTO
381 - docinto examples
382 - dodoc examples/*
383 -}
384
385 diff --git a/sys-block/fio/fio-2.2.13.ebuild b/sys-block/fio/fio-2.2.13.ebuild
386 deleted file mode 100644
387 index dd2f14e9d1b..00000000000
388 --- a/sys-block/fio/fio-2.2.13.ebuild
389 +++ /dev/null
390 @@ -1,91 +0,0 @@
391 -# Copyright 1999-2016 Gentoo Foundation
392 -# Distributed under the terms of the GNU General Public License v2
393 -
394 -EAPI="5"
395 -PYTHON_COMPAT=( python2_7 )
396 -inherit eutils python-r1 toolchain-funcs
397 -
398 -MY_PV="${PV/_rc/-rc}"
399 -MY_P="${PN}-${MY_PV}"
400 -
401 -DESCRIPTION="Jens Axboe's Flexible IO tester"
402 -HOMEPAGE="http://brick.kernel.dk/snaps/"
403 -SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
404 -
405 -LICENSE="GPL-2"
406 -SLOT="0"
407 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
408 -IUSE="aio glusterfs gnuplot gtk numa rbd rdma static zlib"
409 -
410 -# GTK+:2 does not offer static libaries
411 -# numactl always includes static libraries
412 -DEPEND="aio? ( static? ( dev-libs/libaio[static-libs(+)] ) !static? ( dev-libs/libaio ) )
413 - glusterfs? ( static? ( sys-cluster/glusterfs[static-libs(+)] ) !static? ( sys-cluster/glusterfs ) )
414 - gtk? (
415 - static? ( dev-libs/glib:2[static-libs(+)] ) !static? ( dev-libs/glib:2 )
416 - x11-libs/gtk+:2
417 - )
418 - numa? ( sys-process/numactl )
419 - rbd? ( static? ( sys-cluster/ceph[static-libs(+)] ) !static? ( sys-cluster/ceph ) )
420 - zlib? ( static? ( sys-libs/zlib[static-libs(+)] ) !static? ( sys-libs/zlib ) )"
421 -RDEPEND="${DEPEND}
422 - gnuplot? (
423 - sci-visualization/gnuplot
424 - ${PYTHON_DEPS}
425 - )"
426 -
427 -S="${WORKDIR}/${MY_P}"
428 -
429 -src_prepare() {
430 - epatch "${FILESDIR}"/fio-2.2.13-libmtd.patch
431 - sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
432 - epatch_user
433 -
434 - # Many checks don't have configure flags.
435 - sed -i \
436 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
437 - -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
438 - -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \
439 - configure || die
440 -}
441 -
442 -src_configure() {
443 - chmod g-w "${T}"
444 - # not a real configure script
445 - set -- \
446 - ./configure \
447 - --disable-optimizations \
448 - --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
449 - --cc="$(tc-getCC)" \
450 - $(usex glusterfs '' '--disable-gfapi') \
451 - $(usex gtk '--enable-gfio' '') \
452 - $(usex numa '' '--disable-numa') \
453 - $(usex rbd '' '--disable-rbd') \
454 - $(usex static '--build-static' '')
455 - echo "$@"
456 - "$@" || die 'configure failed'
457 -}
458 -
459 -src_compile() {
460 - emake V=1 OPTFLAGS=
461 -}
462 -
463 -src_install() {
464 - emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
465 -
466 - if use gnuplot ; then
467 - python_replicate_script "${ED}/usr/bin/fio2gnuplot"
468 - else
469 - rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die
470 - rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die
471 - rm "${ED}"/usr/share/fio/*.gpm || die
472 - rmdir "${ED}"/usr/share/fio/ 2>/dev/null
473 - fi
474 -
475 - # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
476 - rm "${ED}"/usr/bin/genfio || die
477 -
478 - dodoc README REPORTING-BUGS HOWTO
479 - docinto examples
480 - dodoc examples/*
481 -}
482
483 diff --git a/sys-block/fio/fio-2.2.9.ebuild b/sys-block/fio/fio-2.2.9.ebuild
484 deleted file mode 100644
485 index 5dd6921dfec..00000000000
486 --- a/sys-block/fio/fio-2.2.9.ebuild
487 +++ /dev/null
488 @@ -1,90 +0,0 @@
489 -# Copyright 1999-2016 Gentoo Foundation
490 -# Distributed under the terms of the GNU General Public License v2
491 -
492 -EAPI="5"
493 -PYTHON_COMPAT=( python2_7 )
494 -inherit eutils python-r1 toolchain-funcs
495 -
496 -MY_PV="${PV/_rc/-rc}"
497 -MY_P="${PN}-${MY_PV}"
498 -
499 -DESCRIPTION="Jens Axboe's Flexible IO tester"
500 -HOMEPAGE="http://brick.kernel.dk/snaps/"
501 -SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
502 -
503 -LICENSE="GPL-2"
504 -SLOT="0"
505 -KEYWORDS="amd64 arm ia64 ppc ppc64 x86"
506 -IUSE="aio glusterfs gnuplot gtk numa rbd rdma static zlib"
507 -
508 -# GTK+:2 does not offer static libaries
509 -# numactl always includes static libraries
510 -DEPEND="aio? ( static? ( dev-libs/libaio[static-libs(+)] ) !static? ( dev-libs/libaio ) )
511 - glusterfs? ( static? ( sys-cluster/glusterfs[static-libs(+)] ) !static? ( sys-cluster/glusterfs ) )
512 - gtk? (
513 - static? ( dev-libs/glib:2[static-libs(+)] ) !static? ( dev-libs/glib:2 )
514 - x11-libs/gtk+:2
515 - )
516 - numa? ( sys-process/numactl )
517 - rbd? ( static? ( sys-cluster/ceph[static-libs(+)] ) !static? ( sys-cluster/ceph ) )
518 - zlib? ( static? ( sys-libs/zlib[static-libs(+)] ) !static? ( sys-libs/zlib ) )"
519 -RDEPEND="${DEPEND}
520 - gnuplot? (
521 - sci-visualization/gnuplot
522 - ${PYTHON_DEPS}
523 - )"
524 -
525 -S="${WORKDIR}/${MY_P}"
526 -
527 -src_prepare() {
528 - sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
529 - epatch "${FILESDIR}"/${P}-atomic-sync.patch
530 - epatch_user
531 -
532 - # Many checks don't have configure flags.
533 - sed -i \
534 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
535 - -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
536 - -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \
537 - configure || die
538 -}
539 -
540 -src_configure() {
541 - chmod g-w "${T}"
542 - # not a real configure script
543 - set -- \
544 - ./configure \
545 - --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
546 - --cc="$(tc-getCC)" \
547 - $(usex glusterfs '' '--disable-gfapi') \
548 - $(usex gtk '--enable-gfio' '') \
549 - $(usex numa '' '--disable-numa') \
550 - $(usex rbd '' '--disable-rbd') \
551 - $(usex static '--build-static' '')
552 - echo "$@"
553 - "$@" || die 'configure failed'
554 -}
555 -
556 -src_compile() {
557 - emake V=1 OPTFLAGS=
558 -}
559 -
560 -src_install() {
561 - emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
562 -
563 - if use gnuplot ; then
564 - python_replicate_script "${ED}/usr/bin/fio2gnuplot"
565 - else
566 - rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die
567 - rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die
568 - rm "${ED}"/usr/share/fio/*.gpm || die
569 - rmdir "${ED}"/usr/share/fio/ 2>/dev/null
570 - fi
571 -
572 - # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
573 - rm "${ED}"/usr/bin/genfio || die
574 -
575 - dodoc README REPORTING-BUGS HOWTO
576 - docinto examples
577 - dodoc examples/*
578 -}
579
580 diff --git a/sys-block/fio/fio-2.5.ebuild b/sys-block/fio/fio-2.5.ebuild
581 deleted file mode 100644
582 index dd2f14e9d1b..00000000000
583 --- a/sys-block/fio/fio-2.5.ebuild
584 +++ /dev/null
585 @@ -1,91 +0,0 @@
586 -# Copyright 1999-2016 Gentoo Foundation
587 -# Distributed under the terms of the GNU General Public License v2
588 -
589 -EAPI="5"
590 -PYTHON_COMPAT=( python2_7 )
591 -inherit eutils python-r1 toolchain-funcs
592 -
593 -MY_PV="${PV/_rc/-rc}"
594 -MY_P="${PN}-${MY_PV}"
595 -
596 -DESCRIPTION="Jens Axboe's Flexible IO tester"
597 -HOMEPAGE="http://brick.kernel.dk/snaps/"
598 -SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
599 -
600 -LICENSE="GPL-2"
601 -SLOT="0"
602 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
603 -IUSE="aio glusterfs gnuplot gtk numa rbd rdma static zlib"
604 -
605 -# GTK+:2 does not offer static libaries
606 -# numactl always includes static libraries
607 -DEPEND="aio? ( static? ( dev-libs/libaio[static-libs(+)] ) !static? ( dev-libs/libaio ) )
608 - glusterfs? ( static? ( sys-cluster/glusterfs[static-libs(+)] ) !static? ( sys-cluster/glusterfs ) )
609 - gtk? (
610 - static? ( dev-libs/glib:2[static-libs(+)] ) !static? ( dev-libs/glib:2 )
611 - x11-libs/gtk+:2
612 - )
613 - numa? ( sys-process/numactl )
614 - rbd? ( static? ( sys-cluster/ceph[static-libs(+)] ) !static? ( sys-cluster/ceph ) )
615 - zlib? ( static? ( sys-libs/zlib[static-libs(+)] ) !static? ( sys-libs/zlib ) )"
616 -RDEPEND="${DEPEND}
617 - gnuplot? (
618 - sci-visualization/gnuplot
619 - ${PYTHON_DEPS}
620 - )"
621 -
622 -S="${WORKDIR}/${MY_P}"
623 -
624 -src_prepare() {
625 - epatch "${FILESDIR}"/fio-2.2.13-libmtd.patch
626 - sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
627 - epatch_user
628 -
629 - # Many checks don't have configure flags.
630 - sed -i \
631 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
632 - -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
633 - -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \
634 - configure || die
635 -}
636 -
637 -src_configure() {
638 - chmod g-w "${T}"
639 - # not a real configure script
640 - set -- \
641 - ./configure \
642 - --disable-optimizations \
643 - --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
644 - --cc="$(tc-getCC)" \
645 - $(usex glusterfs '' '--disable-gfapi') \
646 - $(usex gtk '--enable-gfio' '') \
647 - $(usex numa '' '--disable-numa') \
648 - $(usex rbd '' '--disable-rbd') \
649 - $(usex static '--build-static' '')
650 - echo "$@"
651 - "$@" || die 'configure failed'
652 -}
653 -
654 -src_compile() {
655 - emake V=1 OPTFLAGS=
656 -}
657 -
658 -src_install() {
659 - emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
660 -
661 - if use gnuplot ; then
662 - python_replicate_script "${ED}/usr/bin/fio2gnuplot"
663 - else
664 - rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die
665 - rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die
666 - rm "${ED}"/usr/share/fio/*.gpm || die
667 - rmdir "${ED}"/usr/share/fio/ 2>/dev/null
668 - fi
669 -
670 - # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
671 - rm "${ED}"/usr/bin/genfio || die
672 -
673 - dodoc README REPORTING-BUGS HOWTO
674 - docinto examples
675 - dodoc examples/*
676 -}
677
678 diff --git a/sys-block/fio/fio-2.6.ebuild b/sys-block/fio/fio-2.6.ebuild
679 deleted file mode 100644
680 index da3b76334ae..00000000000
681 --- a/sys-block/fio/fio-2.6.ebuild
682 +++ /dev/null
683 @@ -1,92 +0,0 @@
684 -# Copyright 1999-2016 Gentoo Foundation
685 -# Distributed under the terms of the GNU General Public License v2
686 -
687 -EAPI="5"
688 -PYTHON_COMPAT=( python2_7 )
689 -inherit eutils python-r1 toolchain-funcs
690 -
691 -MY_PV="${PV/_rc/-rc}"
692 -MY_P="${PN}-${MY_PV}"
693 -
694 -DESCRIPTION="Jens Axboe's Flexible IO tester"
695 -HOMEPAGE="http://brick.kernel.dk/snaps/"
696 -SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
697 -
698 -LICENSE="GPL-2"
699 -SLOT="0"
700 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
701 -IUSE="aio glusterfs gnuplot gtk numa rbd rdma static zlib"
702 -
703 -# GTK+:2 does not offer static libaries
704 -# numactl always includes static libraries
705 -DEPEND="aio? ( static? ( dev-libs/libaio[static-libs(+)] ) !static? ( dev-libs/libaio ) )
706 - glusterfs? ( static? ( sys-cluster/glusterfs[static-libs(+)] ) !static? ( sys-cluster/glusterfs ) )
707 - gtk? (
708 - static? ( dev-libs/glib:2[static-libs(+)] ) !static? ( dev-libs/glib:2 )
709 - x11-libs/gtk+:2
710 - )
711 - numa? ( sys-process/numactl )
712 - rbd? ( static? ( sys-cluster/ceph[static-libs(+)] ) !static? ( sys-cluster/ceph ) )
713 - zlib? ( static? ( sys-libs/zlib[static-libs(+)] ) !static? ( sys-libs/zlib ) )"
714 -RDEPEND="${DEPEND}
715 - gnuplot? (
716 - sci-visualization/gnuplot
717 - ${PYTHON_DEPS}
718 - )"
719 -
720 -S="${WORKDIR}/${MY_P}"
721 -
722 -src_prepare() {
723 - epatch "${FILESDIR}"/fio-2.8-sysmacros.patch #580592
724 - epatch "${FILESDIR}"/fio-2.2.13-libmtd.patch
725 - sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
726 - epatch_user
727 -
728 - # Many checks don't have configure flags.
729 - sed -i \
730 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
731 - -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
732 - -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \
733 - configure || die
734 -}
735 -
736 -src_configure() {
737 - chmod g-w "${T}"
738 - # not a real configure script
739 - set -- \
740 - ./configure \
741 - --disable-optimizations \
742 - --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
743 - --cc="$(tc-getCC)" \
744 - $(usex glusterfs '' '--disable-gfapi') \
745 - $(usex gtk '--enable-gfio' '') \
746 - $(usex numa '' '--disable-numa') \
747 - $(usex rbd '' '--disable-rbd') \
748 - $(usex static '--build-static' '')
749 - echo "$@"
750 - "$@" || die 'configure failed'
751 -}
752 -
753 -src_compile() {
754 - emake V=1 OPTFLAGS=
755 -}
756 -
757 -src_install() {
758 - emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
759 -
760 - if use gnuplot ; then
761 - python_replicate_script "${ED}/usr/bin/fio2gnuplot"
762 - else
763 - rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die
764 - rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die
765 - rm "${ED}"/usr/share/fio/*.gpm || die
766 - rmdir "${ED}"/usr/share/fio/ 2>/dev/null
767 - fi
768 -
769 - # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
770 - rm "${ED}"/usr/bin/genfio || die
771 -
772 - dodoc README REPORTING-BUGS HOWTO
773 - docinto examples
774 - dodoc examples/*
775 -}
776
777 diff --git a/sys-block/fio/fio-2.8.ebuild b/sys-block/fio/fio-2.8.ebuild
778 deleted file mode 100644
779 index cff874b73f0..00000000000
780 --- a/sys-block/fio/fio-2.8.ebuild
781 +++ /dev/null
782 @@ -1,94 +0,0 @@
783 -# Copyright 1999-2016 Gentoo Foundation
784 -# Distributed under the terms of the GNU General Public License v2
785 -
786 -EAPI="5"
787 -
788 -PYTHON_COMPAT=( python2_7 )
789 -
790 -inherit eutils python-r1 toolchain-funcs
791 -
792 -MY_PV="${PV/_rc/-rc}"
793 -MY_P="${PN}-${MY_PV}"
794 -
795 -DESCRIPTION="Jens Axboe's Flexible IO tester"
796 -HOMEPAGE="http://brick.kernel.dk/snaps/"
797 -SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
798 -
799 -LICENSE="GPL-2"
800 -SLOT="0"
801 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
802 -IUSE="aio glusterfs gnuplot gtk numa rbd rdma static zlib"
803 -
804 -# GTK+:2 does not offer static libaries.
805 -LIB_DEPEND="aio? ( dev-libs/libaio[static-libs(+)] )
806 - glusterfs? ( sys-cluster/glusterfs[static-libs(+)] )
807 - gtk? ( dev-libs/glib:2[static-libs(+)] )
808 - numa? ( sys-process/numactl[static-libs(+)] )
809 - rbd? ( sys-cluster/ceph[static-libs(+)] )
810 - zlib? ( sys-libs/zlib[static-libs(+)] )"
811 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
812 - gtk? ( x11-libs/gtk+:2 )"
813 -DEPEND="${RDEPEND}
814 - static? ( ${LIB_DEPEND} )"
815 -RDEPEND+="
816 - gnuplot? (
817 - sci-visualization/gnuplot
818 - ${PYTHON_DEPS}
819 - )"
820 -
821 -S="${WORKDIR}/${MY_P}"
822 -
823 -src_prepare() {
824 - epatch "${FILESDIR}"/fio-2.8-sysmacros.patch #580592
825 - epatch "${FILESDIR}"/fio-2.2.13-libmtd.patch
826 - sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
827 - epatch_user
828 -
829 - # Many checks don't have configure flags.
830 - sed -i \
831 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
832 - -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
833 - -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \
834 - configure || die
835 -}
836 -
837 -src_configure() {
838 - chmod g-w "${T}"
839 - # not a real configure script
840 - set -- \
841 - ./configure \
842 - --disable-optimizations \
843 - --extra-cflags="${CFLAGS} ${CPPFLAGS}" \
844 - --cc="$(tc-getCC)" \
845 - $(usex glusterfs '' '--disable-gfapi') \
846 - $(usex gtk '--enable-gfio' '') \
847 - $(usex numa '' '--disable-numa') \
848 - $(usex rbd '' '--disable-rbd') \
849 - $(usex static '--build-static' '')
850 - echo "$@"
851 - "$@" || die 'configure failed'
852 -}
853 -
854 -src_compile() {
855 - emake V=1 OPTFLAGS=
856 -}
857 -
858 -src_install() {
859 - emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
860 -
861 - if use gnuplot ; then
862 - python_replicate_script "${ED}/usr/bin/fio2gnuplot"
863 - else
864 - rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die
865 - rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die
866 - rm "${ED}"/usr/share/fio/*.gpm || die
867 - rmdir "${ED}"/usr/share/fio/ 2>/dev/null
868 - fi
869 -
870 - # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
871 - rm "${ED}"/usr/bin/genfio || die
872 -
873 - dodoc README REPORTING-BUGS HOWTO
874 - docinto examples
875 - dodoc examples/*
876 -}