Subject: pkg/8961: benchmarks/postmark package submission for postmark-1.11
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@mail.weird.com>
List: netbsd-bugs
Date: 12/06/1999 10:39:40
>Number: 8961
>Category: pkg
>Synopsis: benchmarks/postmark package submission for postmark-1.11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Dec 6 10:39:01 1999
>Last-Modified:
>Originator: Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release: NetBSD-current
>Environment:
>Description:
A package for NetApp's PostMark filesystem benchmark; ported
from the FreeBSD port of the same....
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# Makefile
# files/
# files/md5
# pkg/
# pkg/COMMENT
# pkg/DESCR
# pkg/PLIST
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# Ports collection makefile for: postmark
X# Version required: 1.11
X# Date created: Sat Sep 18, 1999
X# Whom: David O'Brien (obrien@NUXI.com)
X#
X# $FreeBSD: ports/benchmarks/postmark/Makefile,v 1.2 1999/09/19 05:13:20 obrien Exp $
X# $NetBSD$
X#
X
XDISTNAME= postmark-1_11.c
XPKGNAME= postmark-1.11
XCATEGORIES= benchmarks
XMASTER_SITES= http://www.netapp.com/ftp/ \
X http://www.taronga.com/~nick/files/
XEXTRACT_SUFX= #
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://www.netapp.com/tech_library/3022.html
X
XEXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} postmark.c
X
XNO_PATCH= yes
XNO_CONFIGURE= yes
XNO_WRKSUBDIR= yes
X
Xdo-build:
X (cd ${WRKSRC} && ${CC} ${CFLAGS} -o postmark postmark.c)
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/postmark ${PREFIX}/sbin
X
Xbenchmark:
X @(cd ${WRKSRC}; ${ECHO} run | ./postmark | tee postmark.out)
X
Xresults:
X -@${MKDIR} /tmp/benches/`domainname`
X -@${CP} ${WRKSRC}/postmark.out /tmp/benches/`domainname`/postmark.`uname`-`uname -m`-`uname -r`.`hostname`
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo c - files/
mkdir -p files/ > /dev/null 2>&1
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD$
X
XMD5 (postmark-1_11.c) = 0a89d3849a5058651eb0eaf03e8230f2
END-of-files/md5
echo c - pkg/
mkdir -p pkg/ > /dev/null 2>&1
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XNetApps file system benchmark
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XPostMark is the benchmark used in the NetApp Technical Report TR-3022,
X"PostMark: A New File System Benchmark". The paper fully explains how
Xto use this tool.
X
XFrom the paper's Abstract:
X Existing file system benchmarks are deficient in portraying
X performance in the ephemeral small-file regime used by Internet
X software, especially:
X * electronic mail
X * netnews
X * web-based commerce
X
XPostMark is a new benchmark to measure performance for this class of
Xapplication.
X
XWWW: http://www.netapp.com/tech_library/3022.html
X
X -- David (obrien@cs.ucdavis.edu)
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
Xsbin/postmark
END-of-pkg/PLIST
exit
>Audit-Trail:
>Unformatted: