Date: Thu, 25 Aug 2011 03:35:00 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160082: Update port: benchmarks/mdtest to 1.8.3 Message-ID: <20110825033500.b4a9bdcd.tkato432@yahoo.com> Resent-Message-ID: <201108241850.p7OIoFwK011281@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160082 >Category: ports >Synopsis: Update port: benchmarks/mdtest to 1.8.3 >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: Wed Aug 24 18:50:14 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 1.8.3 Remove file: mdtest/files/patch-Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/benchmarks/mdtest/Makefile benchmarks/mdtest/Makefile --- /usr/ports/benchmarks/mdtest/Makefile 2011-08-02 15:46:33.000000000 +0900 +++ benchmarks/mdtest/Makefile 2011-08-23 20:40:03.000000000 +0900 @@ -6,41 +6,45 @@ # PORTNAME= mdtest -PORTVERSION= 1.7.1 -PORTREVISION= 4 +PORTVERSION= 1.8.3 CATEGORIES= benchmarks -MASTER_SITES= http://www.llnl.gov/icc/lc/siop/downloads/ +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A filesystem metadata benchmark utility -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2011-09-01 - -PLIST_FILES= bin/mdtest +LICENSE= GPLv2 OPTIONS= OPENMPI "Use openmpi instead of mpich2" off +MAN1= ${PORTNAME}.1 +PORTEXAMPLES= * +PLIST_FILES= bin/${PORTNAME} + +CFLAGS+= -DDarwin + .include <bsd.port.pre.mk> .if defined(WITH_OPENMPI) BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi -RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi +RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc .else BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2 -RUN_DEPENDS+= ${LOCALBASE}/lib/libmpich.so:${PORTSDIR}/net/mpich2 +RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2 MPICC= ${LOCALBASE}/bin/mpicc .endif -USE_GMAKE= yes -ALL_TARGET= mdtest - -post-patch: - @${REINPLACE_CMD} -e 's|%%MPICC%%|${MPICC}|' ${WRKSRC}/${MAKEFILE} +do-build: + cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c do-install: - ${STRIP_CMD} ${WRKSRC}/mdtest - ${INSTALL_PROGRAM} ${WRKSRC}/mdtest ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif .include <bsd.port.post.mk> diff -urN /usr/ports/benchmarks/mdtest/distinfo benchmarks/mdtest/distinfo --- /usr/ports/benchmarks/mdtest/distinfo 2011-02-27 04:59:28.000000000 +0900 +++ benchmarks/mdtest/distinfo 2011-08-23 20:28:05.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (mdtest-1.7.1.tar.gz) = 1ebe974d1c275c2abb9ab06a09506ab908718f2e6a73780956d0a89db40c3024 -SIZE (mdtest-1.7.1.tar.gz) = 11344 +SHA256 (mdtest-1.8.3.tgz) = 1367d9518b1320242e31f76d2865fde6ba145c94c73143dfb4108d7f469ab4bd +SIZE (mdtest-1.8.3.tgz) = 28721 diff -urN /usr/ports/benchmarks/mdtest/files/patch-Makefile benchmarks/mdtest/files/patch-Makefile --- /usr/ports/benchmarks/mdtest/files/patch-Makefile 2007-04-30 16:10:52.000000000 +0900 +++ benchmarks/mdtest/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,10 +0,0 @@ ---- Makefile.orig Sun Apr 29 16:35:18 2007 -+++ Makefile Sun Apr 29 16:42:07 2007 -@@ -21,6 +21,7 @@ - - CC.AIX = mpcc_r -bmaxdata:0x80000000 - CC.Linux = mpicc -Wall -+CC.FreeBSD = %%MPICC%% -Wall - - # Requires GNU Make - OS=$(shell uname) diff -urN /usr/ports/benchmarks/mdtest/pkg-descr benchmarks/mdtest/pkg-descr --- /usr/ports/benchmarks/mdtest/pkg-descr 2007-04-30 16:10:52.000000000 +0900 +++ benchmarks/mdtest/pkg-descr 2011-08-23 20:26:36.000000000 +0900 @@ -1,4 +1,4 @@ The mdtest software is used for testing the metadata performance of a file system. -WWW: http://www.llnl.gov/icc/lc/siop/ +WWW: http://sourceforge.net/projects/mdtest/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110825033500.b4a9bdcd.tkato432>