From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 17 09:00:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67993106566C for ; Tue, 17 Feb 2009 09:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 434078FC15 for ; Tue, 17 Feb 2009 09:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1H9035Z030946 for ; Tue, 17 Feb 2009 09:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1H903JE030945; Tue, 17 Feb 2009 09:00:03 GMT (envelope-from gnats) Resent-Date: Tue, 17 Feb 2009 09:00:03 GMT Resent-Message-Id: <200902170900.n1H903JE030945@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chifeng Qu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B02AC106567E for ; Tue, 17 Feb 2009 08:56:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9E3008FC0C for ; Tue, 17 Feb 2009 08:56:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1H8uDAQ023358 for ; Tue, 17 Feb 2009 08:56:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1H8uDPL023357; Tue, 17 Feb 2009 08:56:13 GMT (envelope-from nobody) Message-Id: <200902170856.n1H8uDPL023357@www.freebsd.org> Date: Tue, 17 Feb 2009 08:56:13 GMT From: Chifeng Qu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131772: [UPDATE] benchmarks/iozone update to 3.319 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 09:00:06 -0000 >Number: 131772 >Category: ports >Synopsis: [UPDATE] benchmarks/iozone update to 3.319 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 17 09:00:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chifeng Qu >Release: FreeBSD 7.0-BETA2 >Organization: extmail team >Environment: chifeng# uname -a FreeBSD chifeng.asia.corp.platform.com 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Fri Nov 2 16:47:33 UTC 2007 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: benchmarks/iozone update to 3.319. Please commit, thanks! BTW, Please close this PR. it was fixed version 3.316 http://www.freebsd.org/cgi/query-pr.cgi?pr=129606 >How-To-Repeat: NONE. >Fix: apply this patch. Patch attached with submission follows: diff -ruN iozone.bak/Makefile iozone/Makefile --- iozone.bak/Makefile 2009-02-17 04:31:01.000000000 +0800 +++ iozone/Makefile 2009-02-17 08:36:00.000000000 +0800 @@ -6,8 +6,7 @@ # PORTNAME= iozone -PORTVERSION= 3.283 -PORTREVISION= 1 +PORTVERSION= 3.319 CATEGORIES= benchmarks MASTER_SITES= http://www.iozone.org/src/current/ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/} @@ -40,10 +39,13 @@ .endif .if defined (WITH_SSH) -post-patch: - ${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c +post-patch:: + @${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c .endif +post-patch:: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/makefile + do-install: ${STRIP_CMD} ${WRKSRC}/iozone ${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin diff -ruN iozone.bak/distinfo iozone/distinfo --- iozone.bak/distinfo 2007-05-26 11:16:04.000000000 +0800 +++ iozone/distinfo 2009-02-17 07:31:25.000000000 +0800 @@ -1,3 +1,3 @@ -MD5 (iozone3_283.tar) = b14081c6b6430d7bcace3fbd93f89519 -SHA256 (iozone3_283.tar) = 88202956d8a78c7cde38a41c6ad6fd70f4637f14e34c4cf04a5f5a43dc001ae2 -SIZE (iozone3_283.tar) = 1525760 +MD5 (iozone3_319.tar) = 16ded14f530b15bc698936452a1ebbd7 +SHA256 (iozone3_319.tar) = 77db62f556467ad676b26b521d549acf2755b2b88a26e270a59f59582fbab220 +SIZE (iozone3_319.tar) = 1576960 diff -ruN iozone.bak/files/patch-makefile iozone/files/patch-makefile --- iozone.bak/files/patch-makefile 2007-01-12 05:37:26.000000000 +0800 +++ iozone/files/patch-makefile 1970-01-01 08:00:00.000000000 +0800 @@ -1,11 +0,0 @@ ---- makefile.orig Sat Oct 28 22:48:00 2006 -+++ makefile Thu Jan 11 21:41:17 2007 -@@ -389,7 +389,7 @@ - # - - freebsd: iozone_freebsd.o libbif.o fileop_freebsd.o libasync.o -- $(CC) $(LDFLAGS) iozone_freebsd.o libbif.o -lpthread libasync.o \ -+ $(CC) $(LDFLAGS) iozone_freebsd.o libbif.o $(PTHREAD_LIBS) libasync.o \ - -o iozone - $(CC) -O fileop_freebsd.o -o fileop - >Release-Note: >Audit-Trail: >Unformatted: