1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/iogen/Makefile
Steven Kreuzer 4e463260d4 iogen is a lightweight tool that generates heavily fragmented I/O. It
accomplishes this by forking a number of children that run I/O to a
filesystem.

This tool is intended to test storage stacks under stress and worst case
scenarios.  However due to heavy fragmentation of the I/O files, it tends
to bypass caching algorithms in storage stacks.

WWW:    http://www.peereboom.us/iogen/
2011-12-16 18:40:25 +00:00

32 lines
697 B
Makefile

# New ports collection makefile for: iogen
# Date created: 2011-12-14
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= iogen
PORTVERSION= 3.1p0
CATEGORIES= sysutils
MASTER_SITES= http://www.peereboom.us/iogen/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Lightweight tool to generate heavily fragmented I/O
MAN8= iogen.8
PLIST_FILES= bin/iogen
WRKSRC= ${WRKDIR}/${DISTNAME}/src
do-build:
cd ${WRKSRC}; \
${CC} ${CFLAGS} -DVERSION=\"${PORTVERSION}\" iogen.c -o iogen
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iogen ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/iogen.8 ${MANPREFIX}/man/man8
.include <bsd.port.mk>