ports/131772: [UPDATE] benchmarks/iozone update to 3.319

Chifeng Qu chifeng at gmail.com
Tue Feb 17 09:00:06 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list