Date: Wed, 22 Mar 2000 15:48:37 +0200 (EET) From: "Maxim Sobolev" <sobomax@altavista.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/17548: [PATCH] Update of the PVM (net/pvm) port to the new 3.4.3 version Message-ID: <200003221348.PAA07084@vega.vega.com>
next in thread | raw e-mail | index | archive | help
>Number: 17548 >Category: ports >Synopsis: [PATCH] Update of the PVM (net/pvm) port to the new 3.4.3 version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 22 05:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Maxim Sobolev >Release: FreeBSD 3.4-STABLE i386 >Organization: Vega International Capital >Environment: >Description: Update of the PVM (net/pvm) port to the new 3.4.3 version. Please don't be confused by the decrease in the version of the package - it seems that Dima Sivachenko <dima@chg.ru> chose not the best way to convert 3.4beta7 into port version. Also this port now more usable than it was before and I even managed to make PVM'ised version of POV-Ray work with it (it will be submitted later as a new pvmpov port). >How-To-Repeat: >Fix: diff -ruN /usr/ports/net/pvm/Makefile pvm/Makefile --- /usr/ports/net/pvm/Makefile Wed Sep 1 09:51:18 1999 +++ pvm/Makefile Wed Mar 22 15:25:25 2000 @@ -1,13 +1,13 @@ # New ports collection makefile for: pvm3 -# Version required: 3.4beta7 +# Version required: 3.4.3 # Date created: 11 March 1999 # Whom: Dima Sivachenko <dima@chg.ru> # # $FreeBSD: ports/net/pvm/Makefile,v 1.3 1999/08/31 11:28:42 asami Exp $ # -DISTNAME= pvm3.4.beta7 -PKGNAME= pvm-3.4.7 +DISTNAME= pvm3.4.3 +PKGNAME= pvm-3.4.3 CATEGORIES= net MASTER_SITES= http://www.netlib.org/pvm3/ \ ftp://ftp.chg.ru/pub/prog/parallel/pvm/pvm3/ @@ -16,12 +16,14 @@ MAINTAINER= dima@Chg.RU USE_XLIB= yes + WRKSRC= ${WRKDIR}/pvm3 -MAKE_ENV+= PVM_ROOT=${WRKSRC} +MAKE_ENV+= PVM_ROOT=${WRKSRC} ARCHCFLAGS="${CFLAGS}" MAKE_FLAGS+= F77=/usr/bin/f77 ALL_TARGET= all install +PVM_ROOT= ${PREFIX}/lib/pvm -MAN1= aimk.1 pvm.1 pvm_intro.1 pvmd.1 pvmd3.1 +MAN1= PVM.1 aimk.1 pvm.1 pvm_intro.1 pvm_shmd.1 pvmd.1 pvmd3.1 MAN3= libfpvm.3 libpvm.3 pvm_addhosts.3 pvm_addmhf.3 pvm_advise.3 \ pvm_archcode.3 pvm_barrier.3 pvm_bcast.3 pvm_bufinfo.3 \ pvm_catchout.3 pvm_config.3 pvm_delete.3 pvm_delhosts.3 \ @@ -66,18 +68,33 @@ pvmftasks.3 pvmftidtoh.3 pvmftrecv.3 pvmfunpack.3 pvmfupkmesg.3 do-install: - - @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/FREEBSD/* ${PREFIX}/bin - @ ${INSTALL_PROGRAM} ${WRKSRC}/lib/FREEBSD/pvmd3 ${PREFIX}/libexec - @ ${INSTALL_PROGRAM} ${WRKSRC}/lib/FREEBSD/pvm ${PREFIX}/libexec - @ ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvm ${PREFIX}/bin - @ ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmd ${PREFIX}/bin + @ ${MKDIR} ${PVM_ROOT}/lib/FREEBSD ${PVM_ROOT}/bin/FREEBSD ${PVM_ROOT}/conf + @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/FREEBSD/* ${PVM_ROOT}/bin/FREEBSD + @ ${INSTALL_PROGRAM} ${WRKSRC}/lib/FREEBSD/pvmd3 ${PVM_ROOT}/lib/FREEBSD + @ ${INSTALL_PROGRAM} ${WRKSRC}/lib/FREEBSD/pvm ${PVM_ROOT}/lib/FREEBSD + @ ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvm ${PVM_ROOT}/lib + @ ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmd ${PVM_ROOT}/lib + @ ${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmgetarch ${PVM_ROOT}/lib + @ ${INSTALL_SCRIPT} ${WRKSRC}/lib/aimk ${PVM_ROOT}/lib + @ ${LN} -sf ${PVM_ROOT}/lib/pvm ${PREFIX}/bin/pvm + @ ${LN} -sf ${PVM_ROOT}/lib/pvmd ${PREFIX}/bin/pvmd + @ ${LN} -sf ${PVM_ROOT}/lib/aimk ${PREFIX}/bin/aimk @ ${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libpvm3.a ${PREFIX}/lib @ ${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libfpvm3.a ${PREFIX}/lib @ ${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libgpvm3.a ${PREFIX}/lib @ ${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libpvmtrc.a ${PREFIX}/lib + @ ${INSTALL_DATA} ${WRKSRC}/conf/FREEBSD.def ${PVM_ROOT}/conf @ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include @ ${INSTALL_MAN} ${WRKSRC}/man/man1/* ${PREFIX}/man/man1 @ ${INSTALL_MAN} ${WRKSRC}/man/man3/* ${PREFIX}/man/man3 + +post-install: + @ ${ECHO_MSG} + @ ${ECHO_MSG} "You have to set PVM_ROOT=${PVM_ROOT} enviropment variable on all machines" + @ ${ECHO_MSG} "which you are planning to use for distributed computing. The best way to set" + @ ${ECHO_MSG} "this variable on system-wide basis is to add \"PVM_ROOT=${PVM_ROOT}\" into" + @ ${ECHO_MSG} "appropriate section of your /etc/login.conf file. You also have to enable" + @ ${ECHO_MSG} "rshd on those machines." + @ ${ECHO_MSG} .include <bsd.port.mk> diff -ruN /usr/ports/net/pvm/files/md5 pvm/files/md5 --- /usr/ports/net/pvm/files/md5 Tue Apr 13 20:10:20 1999 +++ pvm/files/md5 Tue Mar 21 16:18:48 2000 @@ -1 +1 @@ -MD5 (pvm3.4.beta7.tgz) = 0a8d7aa3ff85f37a3b6a5cd0a3876440 +MD5 (pvm3.4.3.tgz) = 7ffa1310c31f737d80d45b4a3a2119af diff -ruN /usr/ports/net/pvm/patches/patch-aa pvm/patches/patch-aa --- /usr/ports/net/pvm/patches/patch-aa Tue Apr 13 20:10:20 1999 +++ pvm/patches/patch-aa Thu Jan 1 03:00:00 1970 @@ -1,20 +0,0 @@ ---- src/global.h.orig Fri Mar 12 22:21:36 1999 -+++ src/global.h Fri Mar 12 22:24:32 1999 -@@ -230,7 +230,7 @@ - #endif - - #ifndef DEFBINDIR --#define DEFBINDIR "$HOME/pvm3/bin/$PVM_ARCH:$PVM_ROOT/bin/$PVM_ARCH" -+#define DEFBINDIR "$PVM_ROOT/bin" - #endif - - #ifndef DEFDEBUGGER -@@ -246,7 +246,7 @@ - #endif - - #ifndef PVMDPATH --#define PVMDPATH "$PVM_ROOT/lib/pvmd" -+#define PVMDPATH "$PVM_ROOT/bin/pvmd" - #endif - - diff -ruN /usr/ports/net/pvm/patches/patch-ae pvm/patches/patch-ae --- /usr/ports/net/pvm/patches/patch-ae Thu Jan 1 03:00:00 1970 +++ pvm/patches/patch-ae Tue Mar 21 16:32:25 2000 @@ -0,0 +1,8 @@ +--- conf/FREEBSD.def.orig Tue Mar 21 16:31:46 2000 ++++ conf/FREEBSD.def Tue Mar 21 16:31:54 2000 +@@ -1,4 +1,4 @@ +-ARCHCFLAGS = -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" \ ++ARCHCFLAGS += -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" \ + -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS \ + -DFAKEXDRFLOAT -DSYSERRISCONST + ARCHDLIB = diff -ruN /usr/ports/net/pvm/pkg/PLIST pvm/pkg/PLIST --- /usr/ports/net/pvm/pkg/PLIST Tue Apr 13 20:10:20 1999 +++ pvm/pkg/PLIST Wed Mar 22 14:46:21 2000 @@ -1,49 +1,65 @@ -libexec/pvmd3 -libexec/pvm -bin/dbwtest -bin/ge -bin/gexamp -bin/gexample -bin/gmbi -bin/hello -bin/hello_other -bin/ibwtest -bin/inherit1 -bin/inherit2 -bin/inherit3 -bin/inherita -bin/inheritb -bin/joinleave -bin/lmbi -bin/master1 -bin/master1h -bin/mtile -bin/pbwtest -bin/pvm_gstat -bin/pvmgroups -bin/pvmgs -bin/rbwtest -bin/rme -bin/slave1 -bin/spmd -bin/srm -bin/task0 -bin/task1 -bin/task_end -bin/thb -bin/timing -bin/timing_slave -bin/tjf -bin/tjl -bin/tnb -bin/tracer -bin/trcsort -bin/trsg -bin/tst -bin/xep +bin/aimk bin/pvm bin/pvmd +lib/pvm/conf/FREEBSD.def +lib/pvm/lib/aimk +lib/pvm/lib/pvm +lib/pvm/lib/pvmd +lib/pvm/lib/pvmgetarch +lib/pvm/lib/FREEBSD/pvmd3 +lib/pvm/lib/FREEBSD/pvm +lib/pvm/bin/FREEBSD/dbwtest +lib/pvm/bin/FREEBSD/fgexample +lib/pvm/bin/FREEBSD/fmaster1 +lib/pvm/bin/FREEBSD/frsg +lib/pvm/bin/FREEBSD/fslave1 +lib/pvm/bin/FREEBSD/fspmd +lib/pvm/bin/FREEBSD/ge +lib/pvm/bin/FREEBSD/gexamp +lib/pvm/bin/FREEBSD/gexample +lib/pvm/bin/FREEBSD/gmbi +lib/pvm/bin/FREEBSD/gs +lib/pvm/bin/FREEBSD/hello +lib/pvm/bin/FREEBSD/hello_other +lib/pvm/bin/FREEBSD/hitc +lib/pvm/bin/FREEBSD/hitc_slave +lib/pvm/bin/FREEBSD/ibwtest +lib/pvm/bin/FREEBSD/inherit1 +lib/pvm/bin/FREEBSD/inherit2 +lib/pvm/bin/FREEBSD/inherit3 +lib/pvm/bin/FREEBSD/inherita +lib/pvm/bin/FREEBSD/inheritb +lib/pvm/bin/FREEBSD/joinleave +lib/pvm/bin/FREEBSD/lmbi +lib/pvm/bin/FREEBSD/master1 +lib/pvm/bin/FREEBSD/mhf_server +lib/pvm/bin/FREEBSD/mhf_tickle +lib/pvm/bin/FREEBSD/mtile +lib/pvm/bin/FREEBSD/pbwtest +lib/pvm/bin/FREEBSD/pvm_gstat +lib/pvm/bin/FREEBSD/pvmgroups +lib/pvm/bin/FREEBSD/pvmgs +lib/pvm/bin/FREEBSD/rbwtest +lib/pvm/bin/FREEBSD/rme +lib/pvm/bin/FREEBSD/slave1 +lib/pvm/bin/FREEBSD/spmd +lib/pvm/bin/FREEBSD/srm +lib/pvm/bin/FREEBSD/task0 +lib/pvm/bin/FREEBSD/task1 +lib/pvm/bin/FREEBSD/task_end +lib/pvm/bin/FREEBSD/thb +lib/pvm/bin/FREEBSD/timing +lib/pvm/bin/FREEBSD/timing_slave +lib/pvm/bin/FREEBSD/tjf +lib/pvm/bin/FREEBSD/tjl +lib/pvm/bin/FREEBSD/tnb +lib/pvm/bin/FREEBSD/tracer +lib/pvm/bin/FREEBSD/trcsort +lib/pvm/bin/FREEBSD/trsg +lib/pvm/bin/FREEBSD/tst +lib/pvm/bin/FREEBSD/xep include/fpvm3.h +include/fpvm3_watcom.h include/pvm3.h include/pvmproto.h include/pvmtev.h @@ -51,3 +67,9 @@ lib/libpvmtrc.a lib/libfpvm3.a lib/libgpvm3.a +@dirrm lib/pvm/lib/FREEBSD +@dirrm lib/pvm/lib +@dirrm lib/pvm/conf +@dirrm lib/pvm/bin/FREEBSD +@dirrm lib/pvm/bin +@dirrm lib/pvm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003221348.PAA07084>