cvs commit: ports/benchmarks/iozone Makefile

Alexey Dokuchaev danfe at FreeBSD.org
Fri Jun 15 09:22:55 UTC 2007


On Fri, Jun 15, 2007 at 01:08:50PM +0400, Andrew Pantyukhin wrote:
> On 6/15/07, Xin LI <delphij at freebsd.org> wrote:
> >delphij     2007-06-15 08:11:40 UTC
> >
> >  FreeBSD ports repository
> >
> >  Modified files:
> >    benchmarks/iozone    Makefile
> >  Log:
> >  Add an option to use ssh instead of rsh in distributed measurement.
> >
> >  PR:             ports/113048
> >  Submitted by:   CHAO Shin <quakelee cn.FreeBSD.org>
> >  Approved by:    maintainer timeout
> >
> >  Revision  Changes    Path
> >  1.50      +6 -2      ports/benchmarks/iozone/Makefile
> >_______________________________________________
> >cvs-all at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/cvs-all
> >To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
> >
> >
> >Index: ports/benchmarks/iozone/Makefile
> >diff -u ports/benchmarks/iozone/Makefile:1.49 
> >ports/benchmarks/iozone/Makefile:1.50
> >--- ports/benchmarks/iozone/Makefile:1.49       Sat May 26 03:16:04 2007
> >+++ ports/benchmarks/iozone/Makefile    Fri Jun 15 08:11:40 2007
> >@@ -7,7 +7,7 @@
> >
> > PORTNAME=      iozone
> > PORTVERSION=   3.283
> >-PORTREVISION=  0
> >+PORTREVISION=  1
> > CATEGORIES=    benchmarks
> > MASTER_SITES=  http://www.iozone.org/src/current/
> > DISTNAME=      ${PORTNAME}${PORTVERSION:S/./_/}
> >@@ -27,7 +27,8 @@
> > MAN1=          iozone.1
> > PLIST_FILES=   bin/iozone
> >
> >-OPTIONS=       THREADS "Enable threading (uses pthreads)"      on
> >+OPTIONS=       THREADS "Enable threading (uses pthreads)"      on \
> >+               SSH "Use ssh in distributed measurement"        on
> >
> > .include <bsd.port.pre.mk>
> >
> >@@ -38,6 +39,9 @@
> > CFLAGS+=-DNO_THREADS
> > .endif
> >
> >+post-patch:
> >+       ${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' 
> >${WRKSRC}/iozone.c
> >+

It also looks prettier in OPTIONS dialog if one spells either "SSH"
or "ssh(1)".

./danfe


More information about the cvs-all mailing list