ports/contrib (3.1): fio (NEW): Scriptable I/O tool for storage benchmarks and drive testing
commit f9f57f37b6896e047ff90fe9ef870f8a99d1517f Author: James Mills <prologic@shortcircuit.net.au> Date: Wed Apr 1 07:00:54 2015 +1000 fio (NEW): Scriptable I/O tool for storage benchmarks and drive testing diff --git a/fio/.footprint b/fio/.footprint new file mode 100644 index 0000000..8c193a7 --- /dev/null +++ b/fio/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/fio +-rwxr-xr-x root/root usr/bin/fio-btrace2fio +-rwxr-xr-x root/root usr/bin/fio-dedupe +-rwxr-xr-x root/root usr/bin/fio-genzipf +-rwxr-xr-x root/root usr/bin/genfio +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/fio.1.gz diff --git a/fio/.md5sum b/fio/.md5sum new file mode 100644 index 0000000..0414396 --- /dev/null +++ b/fio/.md5sum @@ -0,0 +1 @@ +ea108423cbdb6e87b66a3176d24bb84e fio-2.1.14.tar.bz2 diff --git a/fio/Pkgfile b/fio/Pkgfile new file mode 100644 index 0000000..6f91da4 --- /dev/null +++ b/fio/Pkgfile @@ -0,0 +1,32 @@ +# Description: Scriptable I/O tool for storage benchmarks and drive testing +# URL: http://freshmeat.net/projects/fio +# Maintainer: James Mills, prologic at shortcircuit dot net dot au +# +# Depends on: libaio +# Optional: gtk gnuplot + +name=fio +version=2.1.14 +release=1 +source=(http://brick.kernel.dk/snaps/$name-$version.tar.bz2) + +build() { + gui=no + gnuplot=no + + cd $name-$version + + # this is not autoconf + ./configure \ + --extra-cflags="$CFLAGS" \ + $([ "$gui" = "yes" -a -f /usr/include/gtk-2.0/gtk/gtk.h ] && echo "--enable-gfio" ) + + make DESTDIR="$PKG" prefix=/usr mandir=/usr/man install + + if [ "$gnuplot" != "yes" ]; then + find "$PKG" -depth \ + -type f \( -name \*.gpm -o -name \*plot\* \) -delete , \ + -type d -empty -exec rmdir {} + + fi + rmdir --ignore-fail-on-non-empty "$PKG"/usr/share +}
participants (1)
-
crux@crux.nu