From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 12 17:40:10 2011 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 10E591065679 for ; Sat, 12 Feb 2011 17:40:10 +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 C53738FC20 for ; Sat, 12 Feb 2011 17:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CHe9J7015202 for ; Sat, 12 Feb 2011 17:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1CHe9jB015201; Sat, 12 Feb 2011 17:40:09 GMT (envelope-from gnats) Resent-Date: Sat, 12 Feb 2011 17:40:09 GMT Resent-Message-Id: <201102121740.p1CHe9jB015201@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, Thierry Thomas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BAF71065679 for ; Sat, 12 Feb 2011 17:35:13 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from smtpfb2-g21.free.fr (smtpfb2-g21.free.fr [212.27.42.10]) by mx1.freebsd.org (Postfix) with ESMTP id E7D948FC19 for ; Sat, 12 Feb 2011 17:35:10 +0000 (UTC) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by smtpfb2-g21.free.fr (Postfix) with ESMTP id A7E55D1A2C9 for ; Sat, 12 Feb 2011 18:18:45 +0100 (CET) Received: from graf.pompo.net (unknown [78.225.128.39]) by smtp5-g21.free.fr (Postfix) with ESMTP id C844ED4801A for ; Sat, 12 Feb 2011 18:18:38 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 5CA9E1147F; Sat, 12 Feb 2011 18:13:36 +0100 (CET) Message-Id: <20110212171336.5CA9E1147F@graf.pompo.net> Date: Sat, 12 Feb 2011 18:13:36 +0100 (CET) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/154714: net/mpich2: upgrade to 1.3.2. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 17:40:10 -0000 >Number: 154714 >Category: ports >Synopsis: net/mpich2: upgrade to 1.3.2. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Feb 12 17:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 8.1-STABLE i386 >Organization: Kabbale Eros >Environment: N/A. >Description: - Upgrade to 1.3.2. Changelog at - Set the license. >How-To-Repeat: N/A >Fix: Apply the following patch. Note: this implies a PORTREVISION bump of several dependencies, I'm going to send another patch for: - benchmarks/hpl - benchmarks/imb - benchmarks/mdtest - cad/scotch - math/blacs - math/blocksolve95 - math/mumps - math/parmetis - math/petsc - math/scalapack - math/sdpara - math/spooles - science/fvm - science/mbdyn - science/mpqc - science/ncs - science/pnetcdf --- mpich2.diff begins here --- diff -urN net/mpich2.orig/Makefile net/mpich2/Makefile --- net/mpich2.orig/Makefile 2010-12-16 19:27:53.000000000 +0100 +++ net/mpich2/Makefile 2011-02-06 18:26:16.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= mpich2 -PORTVERSION= 1.3 +PORTVERSION= 1.3.2 PORTEPOCH= 5 CATEGORIES= net parallel MASTER_SITES= http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${PORTVERSION}/ @@ -28,6 +28,11 @@ # - WITH_RECV_TIMEOUT set a non-default MPIEXEC_RECV_TIMEOUT #----------------------------------------------------------------------- +LICENSE= MPICH +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE_NAME= MPICH +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + .if defined(MAINTAINER_MODE) WITH_RECV_TIMEOUT?= 100 .else @@ -62,7 +67,7 @@ SUB_FILES= pkg-message -VERSO= 2.0 +VERSO= 2.2 VERSOM= ${VERSO:R} PLIST_SUB= VER=${VERSO} VERM=${VERSOM} .if defined(WITHOUT_X11) @@ -174,14 +179,13 @@ ${WRKSRC}/${cnf} .endfor -post-configure: - ${REINPLACE_CMD} -e 's|$${exec_prefix}|${PREFIX}|g; \ - s|$${prefix}|${PREFIX}|g' \ - ${WRKSRC}/src/packaging/pkgconfig/mpich2-ch3.pc +pre-install: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/bin + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/bin post-install: - @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/bin - @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pyc ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pyo ${PREFIX}/bin @${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${WRKDIR}/mpd.conf.dist ${INSTALL_DATA} ${WRKDIR}/mpd.conf.dist ${PREFIX}/etc/ if [ ! -e ${PREFIX}/etc/mpd.conf ]; then \ diff -urN net/mpich2.orig/distinfo net/mpich2/distinfo --- net/mpich2.orig/distinfo 2010-11-14 23:00:10.000000000 +0100 +++ net/mpich2/distinfo 2011-02-02 22:46:12.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (mpich/mpich2-1.3.tar.gz) = c76e869045ce274ee0494b0c72d884f9e2d3176a4689d362e684754ae0430e63 -SIZE (mpich/mpich2-1.3.tar.gz) = 19394388 +SHA256 (mpich/mpich2-1.3.2.tar.gz) = 05e8cd3cd5e34972adf461a5c2dea0558293d231b28c5e72696831be26480089 +SIZE (mpich/mpich2-1.3.2.tar.gz) = 19216689 diff -urN net/mpich2.orig/files/patch-Makefile.in net/mpich2/files/patch-Makefile.in --- net/mpich2.orig/files/patch-Makefile.in 2009-10-09 21:42:20.000000000 +0200 +++ net/mpich2/files/patch-Makefile.in 2011-02-02 22:51:39.000000000 +0100 @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2009-10-07 19:18:28.000000000 +0200 -+++ Makefile.in 2009-10-09 21:41:59.000000000 +0200 -@@ -195,61 +195,61 @@ +--- Makefile.in.orig 2011-01-31 19:23:28.000000000 +0100 ++++ Makefile.in 2011-02-02 22:51:16.000000000 +0100 +@@ -127,61 +127,61 @@ install: install-preamble FORCE_TARGET if [ ! -d ${DESTDIR}${prefix} ] ; then $(MKDIR_P) ${DESTDIR}${prefix} ; fi if [ ! -d ${DESTDIR}${datarootdir} ] ; then $(MKDIR_P) ${DESTDIR}${datarootdir} ; fi @@ -12,8 +12,8 @@ if [ ! -d ${DESTDIR}${exec_prefix} ] ; then $(MKDIR_P) ${DESTDIR}${exec_prefix} ; fi if [ ! -d ${DESTDIR}${libdir} ] ; then $(MKDIR_P) ${DESTDIR}${libdir} ; fi ${MAKE} install-local - $(INSTALL_DATA) src/include/mpi.h ${DESTDIR}${includedir}/mpi.h - $(INSTALL_DATA) lib/lib${MPILIBNAME}.a ${DESTDIR}${libdir}/lib${MPILIBNAME}.a + $(INSTALL_DATA) src/include/mpi.h ${DESTDIR}${includedir}/mpi.h + $(INSTALL_DATA) lib/lib${MPILIBNAME}.a ${DESTDIR}${libdir}/lib${MPILIBNAME}.a - if [ ! -d ${DESTDIR}${docdir} ] ; then $(MKDIR_P) ${DESTDIR}${docdir} ; fi - @if test -d $(srcdir)/www && cd $(srcdir)/www ; then \ - for name in * ; do \ @@ -108,21 +108,21 @@ +%%PORTDOCS%% fi ; \ +%%PORTDOCS%% done ; \ +%%PORTDOCS%% fi - if [ -s src/mpi/romio/include/mpiof.h ] ; then $(INSTALL_DATA) src/mpi/romio/include/mpiof.h ${DESTDIR}${includedir}/mpiof.h ; fi - if [ -s src/mpi/romio/include/mpio.h ] ; then $(INSTALL_DATA) src/mpi/romio/include/mpio.h ${DESTDIR}${includedir}/mpio.h ; fi - if [ -s lib/lib${MPIFLIBNAME}.a ] ; then $(INSTALL_DATA) lib/lib${MPIFLIBNAME}.a ${DESTDIR}${libdir}/lib${MPIFLIBNAME}.a ; fi -@@ -263,10 +263,10 @@ - if [ -s lib/libf${MPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) -version-info $(ABIVERSION) --mode=install lib/libf${MPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/libf${MPILIBNAME}.@SHLIB_EXT@ ; fi - if [ -s lib/lib${MPILIBNAME}f90.@SHLIB_EXT@ ] ; then $(CREATESHLIB) -version-info $(ABIVERSION) --mode=install lib/lib${MPILIBNAME}f90.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${MPILIBNAME}f90.@SHLIB_EXT@ ; fi - if [ -s lib/lib${MPICXXLIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) -version-info $(ABIVERSION) --mode=install lib/lib${MPICXXLIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${MPICXXLIBNAME}.@SHLIB_EXT@ ; fi -- if [ -s $(srcdir)/doc/userguide/user.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/userguide/user.pdf ${DESTDIR}${docdir}/user.pdf ; fi -- if [ -s $(srcdir)/doc/installguide/install.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/installguide/install.pdf ${DESTDIR}${docdir}/install.pdf ; fi -- if [ -s $(srcdir)/doc/smpd/smpd_pmi.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/smpd/smpd_pmi.pdf ${DESTDIR}${docdir}/smpd_pmi.pdf ; fi -- if [ -s $(srcdir)/doc/logging/logging.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/logging/logging.pdf ${DESTDIR}${docdir}/logging.pdf ; fi -+%%PORTDOCS%% if [ -s $(srcdir)/doc/userguide/user.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/userguide/user.pdf ${DESTDIR}${docdir}/user.pdf ; fi -+%%PORTDOCS%% if [ -s $(srcdir)/doc/installguide/install.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/installguide/install.pdf ${DESTDIR}${docdir}/install.pdf ; fi -+%%PORTDOCS%% if [ -s $(srcdir)/doc/smpd/smpd_pmi.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/smpd/smpd_pmi.pdf ${DESTDIR}${docdir}/smpd_pmi.pdf ; fi -+%%PORTDOCS%% if [ -s $(srcdir)/doc/logging/logging.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/logging/logging.pdf ${DESTDIR}${docdir}/logging.pdf ; fi + if [ -s src/mpi/romio/include/mpiof.h ] ; then $(INSTALL_DATA) src/mpi/romio/include/mpiof.h ${DESTDIR}${includedir}/mpiof.h ; fi + if [ -s src/mpi/romio/include/mpio.h ] ; then $(INSTALL_DATA) src/mpi/romio/include/mpio.h ${DESTDIR}${includedir}/mpio.h ; fi + if [ -s lib/lib${MPIFLIBNAME}.a ] ; then $(INSTALL_DATA) lib/lib${MPIFLIBNAME}.a ${DESTDIR}${libdir}/lib${MPIFLIBNAME}.a ; fi +@@ -195,10 +195,10 @@ + if [ -s lib/libf${MPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) -version-info $(ABIVERSION) --mode=install lib/libf${MPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/libf${MPILIBNAME}.@SHLIB_EXT@ ; fi + if [ -s lib/lib${MPILIBNAME}f90.@SHLIB_EXT@ ] ; then $(CREATESHLIB) -version-info $(ABIVERSION) --mode=install lib/lib${MPILIBNAME}f90.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${MPILIBNAME}f90.@SHLIB_EXT@ ; fi + if [ -s lib/lib${MPICXXLIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) -version-info $(ABIVERSION) --mode=install --clink="@CXX_SHL@" lib/lib${MPICXXLIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${MPICXXLIBNAME}.@SHLIB_EXT@ ; fi +- if [ -s $(srcdir)/doc/userguide/user.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/userguide/user.pdf ${DESTDIR}${docdir}/user.pdf ; fi +- if [ -s $(srcdir)/doc/installguide/install.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/installguide/install.pdf ${DESTDIR}${docdir}/install.pdf ; fi +- if [ -s $(srcdir)/doc/smpd/smpd_pmi.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/smpd/smpd_pmi.pdf ${DESTDIR}${docdir}/smpd_pmi.pdf ; fi +- if [ -s $(srcdir)/doc/logging/logging.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/logging/logging.pdf ${DESTDIR}${docdir}/logging.pdf ; fi ++%%PORTDOCS%% if [ -s $(srcdir)/doc/userguide/user.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/userguide/user.pdf ${DESTDIR}${docdir}/user.pdf ; fi ++%%PORTDOCS%% if [ -s $(srcdir)/doc/installguide/install.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/installguide/install.pdf ${DESTDIR}${docdir}/install.pdf ; fi ++%%PORTDOCS%% if [ -s $(srcdir)/doc/smpd/smpd_pmi.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/smpd/smpd_pmi.pdf ${DESTDIR}${docdir}/smpd_pmi.pdf ; fi ++%%PORTDOCS%% if [ -s $(srcdir)/doc/logging/logging.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/logging/logging.pdf ${DESTDIR}${docdir}/logging.pdf ; fi (cd src/env && $(MAKE) INSTALL_STRIP_FLAG=$(INSTALL_STRIP_FLAG) install) (cd src/packaging/pkgconfig && $(MAKE) INSTALL_STRIP_FLAG=$(INSTALL_STRIP_FLAG) install) (cd src/packaging/envmods && $(MAKE) INSTALL_STRIP_FLAG=$(INSTALL_STRIP_FLAG) install) diff -urN net/mpich2.orig/pkg-plist net/mpich2/pkg-plist --- net/mpich2.orig/pkg-plist 2010-10-23 17:46:39.000000000 +0200 +++ net/mpich2/pkg-plist 2011-02-06 18:22:44.000000000 +0100 @@ -98,10 +98,6 @@ %%JAVA%%bin/slog2navigator %%JAVA%%bin/slog2print %%JAVA%%bin/slog2updater -bin/smtpd.pyc -bin/smtpd.pyo -bin/smtpd2.6.pyc -bin/smtpd2.6.pyo etc/mpe_callstack_ldflags.conf etc/mpe_f77env.conf etc/mpe_graphics.conf @@ -777,5 +773,8 @@ %%JAVA%%@dirrm lib/trace_rlog @dirrm include/primitives @cwd %%LOCALBASE%% -libdata/pkgconfig/mpich2-ch3.pc +libdata/pkgconfig/mpich2-c.pc +libdata/pkgconfig/mpich2-cxx.pc +libdata/pkgconfig/mpich2-f77.pc +libdata/pkgconfig/mpich2-f90.pc @comment libdata/pkgconfig/openpa.pc --- mpich2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: