debian/0000755000000000000000000000000012224503346007167 5ustar debian/watch0000644000000000000000000000007312224470505010220 0ustar version=3 http://brick.kernel.dk/snaps/fio-(\d.*)\.tar\.gz debian/control0000644000000000000000000000166112224470505010576 0ustar Source: fio Section: utils Priority: optional Maintainer: Martin Steigerwald Uploaders: Michael Prokop Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.16.1~), libaio-dev, zlib1g-dev, librdmacm-dev, libibverbs-dev Standards-Version: 3.9.4 Homepage: http://freshmeat.net/projects/fio Vcs-Git: git://anonscm.debian.org/collab-maint/fio.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/fio.git Package: fio Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python Suggests: gnuplot Description: flexible I/O tester fio is a tool that will spawn a number of threads or processes doing a particular type of I/O action as specified by the user. fio takes a number of global parameters, each inherited by the thread unless otherwise parameters given to them overriding that setting is given. The typical use of fio is to write a job file matching the I/O load one wants to simulate. debian/docs0000644000000000000000000000004612224470505010042 0ustar README HOWTO REPORTING-BUGS examples/ debian/rules0000755000000000000000000000355712224503207010255 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # For hardening build flags DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk build: build-arch build-indep build-arch: build-stamp build-indep: # Since there are no architecture independent packages we # have nothing to build by default. build-stamp: dh_testdir # Build inclusive I/O engine rdma. EXTFLAGS="-DFIO_HAVE_RDMA" EXTLIBS="-libverbs -lrdmacm" $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. $(MAKE) clean dh_clean install-indep: # Since there are no architecture independent packages we have # nothing to install by default. install-arch: build-arch dh_testdir -a dh_testroot -a dh_prep -a dh_installdirs -a # Add here commands to install the package into debian/fio. $(MAKE) DESTDIR=$(CURDIR)/debian/fio install install: install-arch install-indep # Build architecture-independent files here. binary-indep: build-indep install-indep # Since there are no architecture independent packages We have # nothing to do by default. # Build architecture-dependent files here. binary-arch: build-arch install-arch dh_testdir -a dh_testroot -a dh_installchangelogs -a dh_installdocs -a dh_installman -a dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a -- -Zxz binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/dirs0000644000000000000000000000001012224470505010042 0ustar usr/bin debian/compat0000644000000000000000000000000212224470505010365 0ustar 7 debian/gbp.conf0000644000000000000000000000013112224470505010601 0ustar [DEFAULT] pristine-tar = True postimport = git-dch -N%(version)s -S -a ignore-new = True debian/copyright0000644000000000000000000000751712224470505011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fio Upstream-Contact: Jens Axboe Source: http://brick.kernel.dk/snaps/ Files: * Copyright: 2005 Jens Axboe 2006-2012 Jens Axboe License: GPL-2 Files: debian/* Copyright: 2009-2012 Martin Steigerwald Comment: This package was debianized by Martin Steigerwald on Tue, 19 May 2009 15:04:02 +0200. License: GPL-2+ Files: fifo.c fifo.h Copyright: 2004 Stelian Pop License: GPL-2+ Files: fio.1 Copyright: Written by Aaron Carroll based on documentation by Jens Axboe License: GPL-2 Files: fio_generate_plots.1 Copyright: Written by Martin Steigerwald License: GPL-2 Files: hash.h Copyright: 2002 William Lee Irwin III, IBM License: GPL-2 Files: rbtree.c Copyright: 1999 Andrea Arcangeli 2002 David Woodhouse License: GPL-2+ Files: rbtree.h Copyright: 1999 Andrea Arcangeli License: GPL-2+ Files: crc/crc16.h Copyright: 2005 Ben Gardner License: GPL-2 Files: crc/crc32.c crc/crc32.h crc/crc32c.h Copyright: 1992, 1995-1999 Free Software Foundation, Inc. License: GPL-2+ Files: crc/crc32c.c: Copyright: 2004 Cisco Systems, Inc. License: GPL-2+ Files: crc/crc32c-intel.c Copyright: Based on a posting to lkml by Austin Zhang License: GPL-2 Files: crc/md5.c: Copyright: Shamelessly lifted from the 2.6 kernel (crypto/md5.c) License: GPL-2 Files: crc/sha1.c crc/sha1.h Copyright: Based on the Mozilla SHA1 (see mozilla-sha1/sha1.c) License: GPL-2 Files: crc/sha256.c Copyright: Jean-Luc Cooke Andrew McDonald 2002 James Morris License: GPL-2+ Files: crc/sha512.c Copyright: Jean-Luc Cooke Andrew McDonald 2003 Kyle McMartin License: GPL-2+ Files: engines/windowsaio.c Copyright: 2011-2012 Bruce Cran License: GPL-2 Files: lib/getopt_long.c Copyright: This file was imported from the klibc library from hpa License: GPL-2 Files: lib/rand.c Copyright: Based on code from GNU Scientific Library 1.5 (30 Jun 2004) License: GPL-2 License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the· GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/fio.manpages0000644000000000000000000000004112224470505011454 0ustar fio.1 tools/fio_generate_plots.1 debian/fio.doc-base0000644000000000000000000000034312224470505011343 0ustar Document: fio Title: Flexible I/O tester HOWTO Author: Jens Axboe Abstract: This document describes how to run the Flexible I/O tester fio and how it works. Section: Help/HOWTO Format: text Files: /usr/share/doc/fio/HOWTO.gz debian/changelog0000644000000000000000000002015312224503226011037 0ustar fio (2.1.3-1) unstable; urgency=low * Imported Upstream version 2.1.2. * debian/patches: * makefile: Refreshed. * makefile-hardening: Refreshed. * fio_generate_plots-gnuplot: Removed. Applied upstream. * debian/control: Add python dependency for tools/fio2gnuplot.py. * Add as binary dependency instead. I think dh_python stuff is not required. * Imported Upstream version 2.1.3. * debian/patches: - makefile-hardening: Refreshed. - makefile-clean-delete-config-log-and-d-files: Refreshed. - manpage-spelling: Removed. Applied upstream. - fio2gnuplot-manpage: Added. Fix lintian tag manpage-section-mismatch. * debian/source/options: - Removed, let default setting decide which compression level to use. -- Martin Steigerwald Mon, 07 Oct 2013 11:53:41 +0200 fio (2.1.1-1) unstable; urgency=low * Imported Upstream version 2.1.1. * debian/patches/ftbfs-fix-for-mips-architecture: Dropped. Applied upstream. * debian/patches/makefile-clean-delete-config-log-and-d-files: Delete config.log and *.d files as leaving them behind make repeated dpkg-buildpackage builds fail with: dpkg-source: info: local changes detected, … * debian/patches/manpage-spelling: Fix lintian tag spelling-error-in-manpage. * debian/control: Added build dependency zlib1g-dev as fio can use zlib to compress client/server communication. * Switched to xz compression. Saved almost 37 KiB on binary package. * Updated to Standards-Version to 3.9.4, no changes needed. * debian/patches/fio_generate_plots-gnuplot: Make test for gnuplot work with empty strings (Closes: #700580). Thanks to Hervé Werner for providing bug report and fix. -- Martin Steigerwald Mon, 05 Aug 2013 16:47:21 +0200 fio (2.0.8-2) unstable; urgency=low * debian/patches/ftbfs-fix-for-mips-architecture: Fixed build failure on mips and mipsel architectures. Sven Hoexter suggested the fix and Jens Axboe confirmed it. Thanks. -- Martin Steigerwald Wed, 27 Jun 2012 09:25:49 +0200 fio (2.0.8-1) unstable; urgency=low [ Ritesh Raj Sarraf ] * Fix Vcs-Browser URL. [ Martin Steigerwald ] * Imported Upstream version 2.0.7 which sports a client / server architecture. * debian/control: Updated to standards version 3.9.3. No changes needed. * debian/patches: * makefile: Updated for fio 2.0.7 makefile. * manpage: Removed, applied upstream. * debian/copyright: * Updated to 2012. * Converted to machine readable format 1.0. * Imported Upstream version 2.0.8 * patches/makefile-hardening and debian/rules: Changed to build fio with hardening flags. -- Martin Steigerwald Tue, 26 Jun 2012 09:28:22 +0200 fio (1.59-1) unstable; urgency=low * Imported Upstream version 1.59. - Added support for SuperH architecture (Closes: #561891). Thanks to Nobuhiro Iwamatsu for the patch and build testing. * debian/patches/manpage: Escape minus signs to fix lintian warning I: fio: hyphen-used-as-minus-sign usr/share/man/man1/fio.1.gz:934 * New rdma engine in engines/rdma.c: * debian/rules: Add variables for makefile to build new rdma engine. * debian/control: Added build dependencies for new rdma engine. -- Martin Steigerwald Wed, 10 Oct 2011 17:19:00 +0200 fio (1.57-1) unstable; urgency=low * Imported Upstream version 1.57. * Dropped manpage patch with manpage spelling fixes. Merged upstream. * Implemented suggestions from Sebastian 'Tokkee' Harl. Thanks. * Added -a to debhelper commands in architecture dependent sections of the makefile. * debian/copyright: Added authors of manpages for fio and fio_generate_plots. * debian/copyright: Added copyright hints for sha1.c, sha.h, engines/windowsaio.c, lib/getopt_long.c, lib/rand.c. -- Martin Steigerwald Wed, 03 Aug 2011 14:05:33 +0200 fio (1.55-1) UNRELEASED; urgency=low * Corrected debian/watch file, thanks Ilya Barygin (Closes: #629174). * Imported Upstream version 1.55. * Includes commit e52947d15cf0d7d31c30ccdc43450a10081976da that fixes build failure with --as-needed linker option (Closes: #631690). * Updated to Standards-Version to 3.9.2, no changes needed. * debian/watch: Removed template to fix lintian warning debian-watch-contains-dh_make-template. * debian/rules: Added build-arch and build-indep as targets as recommended by lintian 2.5.1 in order to prepare for a future policy change. * build-indep does nothing as there are no architecture independent packages for now. -- Martin Steigerwald Mon, 27 Jun 2011 14:32:05 +0200 fio (1.50-1) unstable; urgency=low * Thanks for importing, Ritesh. Found my mistake with help of Sebastian Harl. Thanks. * New upstream version 1.5.0 (Closes: #613432). * Updated to Standards-Version to 3.9.1, no changes needed. * Patch to fix spelling errors in manpage. Forwarded upstream. * Updated upstream copyright. -- Martin Steigerwald Wed, 16 Feb 2011 11:57:56 +0100 fio (1.50-1~1.gbpa4517a) UNRELEASED; urgency=low * Imported Upstream version 1.50. -- Ritesh Raj Sarraf Tue, 15 Feb 2011 19:19:14 +0530 fio (1.38-1) unstable; urgency=low * New Upstream Version: * Should build on ARMv7 now, thanks Jamie Bennett (Closes: #573027). -- Martin Steigerwald Wed, 14 Apr 2010 18:23:14 +0200 fio (1.36-1) unstable; urgency=low * New upstream version. * Doesn't build on sh4 / sh4a / sh5 at the moment. Fix is being worked on: See debian bug #561891. * Updated Standards-Version to 3.8.4, no changes. * Updated source format to 3.0 (quilt), no changes. -- Martin Steigerwald Mon, 15 Feb 2010 15:17:22 +0100 fio (1.33.1-2) UNRELEASED; urgency=low * Moved over repository to Alioth/CollabMaint. * debian/control: Updated Vcs-Git and Vcs-Browser. * Added debian/gbp.conf with option to always use pristine-tar. * debian/gbp.conf: Added option to call git-dch after import. Since git-buildpackage 0.4.57 git-import-orig doesn't add a changelog entry manually anymore. * Added forgotten pristine-tar delta for fio 1.33.1. * Added tags that I forgot to push. Thanks to Bruno Kleinert for help. -- Martin Steigerwald Thu, 17 Sep 2009 11:07:00 +0200 fio (1.33.1-1) unstable; urgency=low * arch/arch-alpha.h: Removed my FTBFS on alpha bugfix. Applied upstream. * New Upstream Version. (Closes: #545839). * control: Added Vcs-Git and Vcs-Browser. * Updated Standards-Version to 3.8.3. -- Martin Steigerwald Thu, 10 Sep 2009 11:37:00 +0200 fio (1.32-2) UNRELEASED; urgency=low * arch/arch-alpha.h: Correct typo writer_barrier to write_barrier. Thanks, Kurt Roeckx. (Closes: #545839). -- Martin Steigerwald Thu, 10 Sep 2009 09:30:07 +0200 fio (1.32-1) unstable; urgency=low [ Martin Steigerwald ] * New upstream release. * Dropped patch for lintian error in original manpage, fixed upstream. * Dropped manpage for bash shell script fio_generate_plots, upstream integrated it. * Imported to git-buildpackage with pristine tar. * Included examples as documentation. * Fixed watch file to ignore git-latest snapshots. [ Michael Prokop ] * fio.1: fix hyphen-used-as-minus-sign * debian/copyright: refer to gpl2 and include its header; updated URLs; some formating changes * debian/rules: drop unnecessary configure target; replace dh_clean with dh_prep; drop templates * Bump Standard-Version to 3.8.2; add myself to Uploaders [ Martin Steigerwald ] * debian/copyright: fix copyright unicode char and replaced another (C) with it, thanks Michael. -- Martin Steigerwald Thu, 13 Aug 2009 08:22:40 +0200 fio (1.26-1) UNRELEASED; urgency=low * Initial release (Closes: #524790). * Changed Makefile to build to /usr instead of /usr/local. * Changed Makefile to install the manpage /usr/share/man. * Fixed a lintian reported error in the original manpage. * Created manpage for bash shell script fio_generate_plots. -- Martin Steigerwald Tue, 19 May 2009 17:12:02 +0200 debian/source/0000755000000000000000000000000012224502260010461 5ustar debian/source/format0000644000000000000000000000001412224470505011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012224474127010622 5ustar debian/patches/makefile-hardening0000644000000000000000000000150512224470704014255 0ustar Description: Change makefile to build with hardening flags. This patch changes the makefile with hardening flags. It fixes lintian warning: W: fio: hardening-no-relro usr/bin/fio. Author: Martin Steigerwald --- a/Makefile +++ b/Makefile @@ -15,9 +15,9 @@ endif DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG -CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(DEBUGFLAGS) +CPPFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(DEBUGFLAGS) OPTFLAGS= -O3 -g -ffast-math -CFLAGS = -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS) +CFLAGS += -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS) LIBS += -lm $(EXTLIBS) PROGS = fio SCRIPTS = tools/fio_generate_plots tools/plot/fio2gnuplot tools/genfio debian/patches/fio_generate_plots-gnuplot0000644000000000000000000000070612224470505016102 0ustar Description: Make test for gnuplot work with empty strings This way it also works if gnuplot is not installed. Fixes: /usr/bin/fio_generate_plots: -: not found http://bugs.debian.org/700580 Author: Martin Steigerwald --- a/fio_generate_plots +++ b/fio_generate_plots @@ -22,7 +22,7 @@ fi GNUPLOT=$(which gnuplot) -if [ ! -x $GNUPLOT ] +if [ ! -x "$GNUPLOT" ] then echo You need gnuplot installed to generate graphs exit 1 debian/patches/fio2gnuplot-manpage0000644000000000000000000000061312224474055014423 0ustar Description: Fix tag lintian manpage-section-mismatch. Author: Martin Steigerwald --- a/tools/plot/fio2gnuplot.1 +++ b/tools/plot/fio2gnuplot.1 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH fio2gnuplot "07 août 2013" "" "" +.TH fio2gnuplot 1 "07 August 2013" "User Manual" .SH NAME \fBfio2gnuplot \fP- Render fio's output files with gnuplot .SH SYNOPSIS debian/patches/makefile0000644000000000000000000000111612224470505012315 0ustar Description: Change makefile to build in correct locations. This patch changes the makefile to build in /usr instead of /usr/local. Also change manpage build dir to /usr/share/man instead of /usr/man. Author: Martin Steigerwald --- --- a/Makefile +++ b/Makefile @@ -184,14 +184,14 @@ else INSTALL = install endif -prefix = /usr/local +prefix = /usr bindir = $(prefix)/bin ifeq ($(CONFIG_TARGET_OS), Darwin) mandir = /usr/share/man sharedir = /usr/share/fio else -mandir = $(prefix)/man +mandir = $(prefix)/share/man sharedir = $(prefix)/share/fio endif debian/patches/series0000644000000000000000000000013512224472531012033 0ustar makefile makefile-hardening makefile-clean-delete-config-log-and-d-files fio2gnuplot-manpage debian/patches/makefile-clean-delete-config-log-and-d-files0000644000000000000000000000135712224470761020753 0ustar Description: Delete config log and .d-files on clean. Makefile of fio 2.1.1 leaves them which prevents repeated builds with dpkg-buildpackage due to: dpkg-source: info: local changes detected, … Author: Martin Steigerwald --- --- a/Makefile +++ b/Makefile @@ -267,7 +267,7 @@ $(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_LFSR_TEST_OBJS) $(LIBS) clean: FORCE - -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d config-host.mak config-host.h + -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d */*.d config.log config-host.mak config-host.h distclean: clean FORCE @rm -f cscope.out