Date: Sun, 27 May 2007 14:32:02 +0800 (CST) From: CHAO Shin <quakelee@cn.FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113048: [PATCH] benchmark/iozone add ssh option Message-ID: <200705270632.l4R6W2a3028080@tarsier.delphij.net> Resent-Message-ID: <200705270640.l4R6e1cp050168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113048 >Category: ports >Synopsis: [PATCH] benchmark/iozone add ssh option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 27 06:40:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: CHAO Shin >Release: FreeBSD 7.0-current i386 >Organization: The FreeBSD Simplified Chinese Project >Environment: System: FreeBSD portyard.sysdept.sina.com.cn 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Feb 1 19:02:06 CST 2007 root@portyard.sysdept.sina.com.cn:/usr/obj/usr/src/sys/GX270 i386 >Description: add an option to use ssh instead of rsh in distributed measurement. >How-To-Repeat: >Fix: --- patch-iozone-ssh.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/benchmarks/iozone/Makefile,v retrieving revision 1.49 diff -u -p -a -u -r1.49 Makefile --- Makefile 26 May 2007 03:16:04 -0000 1.49 +++ Makefile 27 May 2007 06:07:06 -0000 @@ -27,7 +27,8 @@ ALL_TARGET= 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 @@ MAKE_ENV= LDFLAGS=${PTHREAD_LIBS} CFLAGS+=-DNO_THREADS .endif +post-patch: + ${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c + do-install: ${STRIP_CMD} ${WRKSRC}/iozone ${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin --- patch-iozone-ssh.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705270632.l4R6W2a3028080>