[csw-devel] SF.net SVN: gar:[11403] csw/mgar/pkg
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Tue Oct 26 01:31:31 CEST 2010
Revision: 11403
http://gar.svn.sourceforge.net/gar/?rev=11403&view=rev
Author: skayser
Date: 2010-10-25 23:31:31 +0000 (Mon, 25 Oct 2010)
Log Message:
-----------
"Initial
Added Paths:
-----------
csw/mgar/pkg/fio/
csw/mgar/pkg/fio/branches/
csw/mgar/pkg/fio/tags/
csw/mgar/pkg/fio/trunk/
csw/mgar/pkg/fio/trunk/Makefile
csw/mgar/pkg/fio/trunk/checksums
csw/mgar/pkg/fio/trunk/files/
csw/mgar/pkg/fio/trunk/files/0001-Honour-GAR-CFLAGS-and-use-inttypes.h-instead-of-stdi.patch
csw/mgar/pkg/fio/trunk/files/0002-Honor-prefix-when-installing-fio.patch
csw/mgar/pkg/fio/trunk/files/changelog.CSW
Property changes on: csw/mgar/pkg/fio/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/fio/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fio/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/fio/trunk/Makefile 2010-10-25 23:31:31 UTC (rev 11403)
@@ -0,0 +1,51 @@
+# TODO (release-critical prefixed with !, non release-critical with *)
+
+GARNAME = fio
+GARVERSION = 1.44
+CATEGORIES = apps
+
+DESCRIPTION = Flexible I/O Tester
+define BLURB
+ fio is an I/O tool meant to be used both for benchmark and
+ stress/hardware verification. It has support for 13 different types of I/O
+ engines (sync, mmap, libaio, posixaio, SG v3, splice, null, network,
+ syslet, guasi, solarisaio, and more), I/O priorities (for newer Linux
+ kernels), rate I/O, forked or threaded jobs, and much more. It can work on
+ block devices as well as files. fio accepts job descriptions in a
+ simple-to-understand text format. Several example job files are included.
+ fio displays all sorts of I/O performance information. It supports Linux,
+ FreeBSD, NetBSD, OS X, and OpenSolaris.
+endef
+
+VENDOR_URL = http://freshmeat.net/projects/fio
+MASTER_SITES = http://brick.kernel.dk/snaps/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+PATCHFILES += 0001-Honour-GAR-CFLAGS-and-use-inttypes.h-instead-of-stdi.patch
+PATCHFILES += 0002-Honor-prefix-when-installing-fio.patch
+
+# CLOCK_MONOTONIC undefined / not present on Solaris 9
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
+# fio compiler/compiler.h #errors out non gcc compilers
+GARCOMPILER = GCC3
+# Required for PTHREAD_STACK_MIN
+EXTRA_CFLAGS = -D__EXTENSIONS__
+
+CONFIGURE_SCRIPTS =
+BUILD_ARGS = -f Makefile.solaris
+TEST_SCRIPTS =
+INSTALL_ARGS = -f Makefile.solaris
+
+include gar/category.mk
+
+# install target requires ginstall as install
+PATH := /opt/csw/gnu/:$(PATH)
+
+# Install changelog.CSW
+post-merge: $(foreach P,$(_PKG_SPECS),install-changelog-$P)
+install-changelog-%:
+ ginstall -D $(FILEDIR)/changelog.CSW \
+ $(PKGROOT)$(docdir)/$(call catalogname,$*)/changelog.CSW
+ @$(MAKECOOKIE)
Property changes on: csw/mgar/pkg/fio/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/fio/trunk/checksums
===================================================================
--- csw/mgar/pkg/fio/trunk/checksums (rev 0)
+++ csw/mgar/pkg/fio/trunk/checksums 2010-10-25 23:31:31 UTC (rev 11403)
@@ -0,0 +1 @@
+d89b1511edd8426f29aab8e17691583f fio-1.44.tar.gz
Added: csw/mgar/pkg/fio/trunk/files/0001-Honour-GAR-CFLAGS-and-use-inttypes.h-instead-of-stdi.patch
===================================================================
--- csw/mgar/pkg/fio/trunk/files/0001-Honour-GAR-CFLAGS-and-use-inttypes.h-instead-of-stdi.patch (rev 0)
+++ csw/mgar/pkg/fio/trunk/files/0001-Honour-GAR-CFLAGS-and-use-inttypes.h-instead-of-stdi.patch 2010-10-25 23:31:31 UTC (rev 11403)
@@ -0,0 +1,51 @@
+From 1cb080dfc54133ed065f877c8dc8a03296822003 Mon Sep 17 00:00:00 2001
+From: Sebastian Kayser <skayser at opencsw.org>
+Date: Mon, 25 Oct 2010 19:27:38 +0200
+Subject: [PATCH] Honour GAR CFLAGS and use inttypes.h instead of stdint.h (missing on Sol9)
+
+---
+ Makefile.solaris | 2 +-
+ crc/md5.c | 2 +-
+ crc/md5.h | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.solaris b/Makefile.solaris
+index e7ff53c..571bfb9 100644
+--- a/Makefile.solaris
++++ b/Makefile.solaris
+@@ -1,5 +1,5 @@
+ CC = gcc
+-CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INC_DEBUG
++CFLAGS := $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INC_DEBUG
+ PROGS = fio
+ SCRIPTS = fio_generate_plots
+ OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o filesetup.o \
+diff --git a/crc/md5.c b/crc/md5.c
+index 8f9adb2..fd49cf1 100644
+--- a/crc/md5.c
++++ b/crc/md5.c
+@@ -2,7 +2,7 @@
+ * Shamelessly lifted from the 2.6 kernel (crypto/md5.c)
+ */
+ #include <string.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include "md5.h"
+
+ static void md5_transform(uint32_t *hash, uint32_t const *in)
+diff --git a/crc/md5.h b/crc/md5.h
+index 6747d30..04c8ad1 100644
+--- a/crc/md5.h
++++ b/crc/md5.h
+@@ -1,7 +1,7 @@
+ #ifndef MD5_H
+ #define MD5_H
+
+-#include <stdint.h>
++#include <inttypes.h>
+
+ #define MD5_DIGEST_SIZE 16
+ #define MD5_HMAC_BLOCK_SIZE 64
+--
+1.7.3
+
Added: csw/mgar/pkg/fio/trunk/files/0002-Honor-prefix-when-installing-fio.patch
===================================================================
--- csw/mgar/pkg/fio/trunk/files/0002-Honor-prefix-when-installing-fio.patch (rev 0)
+++ csw/mgar/pkg/fio/trunk/files/0002-Honor-prefix-when-installing-fio.patch 2010-10-25 23:31:31 UTC (rev 11403)
@@ -0,0 +1,25 @@
+From 766ada911aafeaa51e5ce2197f20ec1b6028557c Mon Sep 17 00:00:00 2001
+From: Sebastian Kayser <skayser at opencsw.org>
+Date: Tue, 26 Oct 2010 00:20:35 +0200
+Subject: [PATCH] Honor --prefix when installing fio
+
+---
+ Makefile.solaris | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.solaris b/Makefile.solaris
+index 571bfb9..6824e10 100644
+--- a/Makefile.solaris
++++ b/Makefile.solaris
+@@ -31,7 +31,7 @@ OBJS += engines/net.o
+ OBJS += engines/solarisaio.o
+
+ INSTALL = install
+-prefix = /usr/local
++prefix ?= /usr/local
+ bindir = $(prefix)/bin
+ mandir = $(prefix)/man
+
+--
+1.7.3
+
Added: csw/mgar/pkg/fio/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/fio/trunk/files/changelog.CSW (rev 0)
+++ csw/mgar/pkg/fio/trunk/files/changelog.CSW 2010-10-25 23:31:31 UTC (rev 11403)
@@ -0,0 +1,5 @@
+fio (1.44,REV=2010.10.26)
+
+ * Initial release.
+
+ -- Sebastian Kayser <skayser at opencsw.org> Tue, 26 Oct 2010 00:44:25 +0200
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list