diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-02-01 06:40:53 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-02-01 06:40:53 +0000 |
commit | 9d68495d5af85e136617c0833b39b927894b1434 (patch) | |
tree | 0eb8a8b76b2d4b54a0df2eb8a1fa879aa87556bf /sysutils/sge53/files | |
parent | 1446f53647400eb281b80cb534d36c798d841333 (diff) | |
download | ports-9d68495d5af85e136617c0833b39b927894b1434.tar.gz ports-9d68495d5af85e136617c0833b39b927894b1434.zip |
Notes
Diffstat (limited to 'sysutils/sge53/files')
-rw-r--r-- | sysutils/sge53/files/patch-aimk | 30 | ||||
-rw-r--r-- | sysutils/sge53/files/patch-aimk.site | 14 | ||||
-rw-r--r-- | sysutils/sge53/files/patch-dist_inst__sge | 14 | ||||
-rw-r--r-- | sysutils/sge53/files/patch-dist_pvm_src_aimk | 52 | ||||
-rw-r--r-- | sysutils/sge53/files/patch-dist_util_arch__variables | 23 | ||||
-rw-r--r-- | sysutils/sge53/files/patch-scripts_distinst | 51 | ||||
-rw-r--r-- | sysutils/sge53/files/patch-scripts_distinst.site | 47 | ||||
-rw-r--r-- | sysutils/sge53/files/pkg-message.in | 17 |
8 files changed, 248 insertions, 0 deletions
diff --git a/sysutils/sge53/files/patch-aimk b/sysutils/sge53/files/patch-aimk new file mode 100644 index 000000000000..276eecaeb1dd --- /dev/null +++ b/sysutils/sge53/files/patch-aimk @@ -0,0 +1,30 @@ + +$FreeBSD$ + +--- aimk.orig Tue Jan 20 16:26:10 2004 ++++ aimk Tue Jan 20 16:50:43 2004 +@@ -256,11 +256,11 @@ + if ( $?SGE_INPUT_CFLAGS ) then + set INP_CFLAGS = "$SGE_INPUT_CFLAGS" + else +- set INP_CFLAGS = "" ++ set INP_CFLAGS = "%%CFLAGS%%" + endif + + set CFLAGS = "$INP_CFLAGS" +-set CXXFLAGS = "$CFLAGS" ++set CXXFLAGS = "%%CXXFLAGS%%" + set CORE_INCLUDE = "-I../security/sec -I../common -I../libs/uti -I../libs/gdi -I../libs/cull -I../libs/rmon -I../libs/comm -I../libs/sched -I../daemons/common -I../daemons/commd -I../daemons/qmaster -I../daemons/execd -I../daemons/schedd -I../clients/common -I." + + set ADD_COPYRIGHT = 0 +@@ -1058,8 +1058,8 @@ + set MAKE = gmake + set OFLAG = "-O" + set ARFLAGS = rcv +- set CC = gcc +- set CXX = g++ ++ set CC = %%CC%% ++ set CXX = %%CXX%% + set DLLIB = "" + set DEPEND_FLAGS = "$CFLAGS $XMTINCD" + set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT" diff --git a/sysutils/sge53/files/patch-aimk.site b/sysutils/sge53/files/patch-aimk.site new file mode 100644 index 000000000000..e5fe9e426803 --- /dev/null +++ b/sysutils/sge53/files/patch-aimk.site @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- aimk.site.orig Tue Jan 20 16:26:10 2004 ++++ aimk.site Tue Jan 20 16:50:19 2004 +@@ -34,7 +34,7 @@ + # OPENSSL_HOME the directory where the include and lib directory of openssl + # is installed + # +-set OPENSSL_HOME = /vol2/tools/SW/openssl-0.9.7c-static/$buildarch ++set OPENSSL_HOME = /usr + + # + # KRB_HOME the directory where the include and lib directory of kerberos is diff --git a/sysutils/sge53/files/patch-dist_inst__sge b/sysutils/sge53/files/patch-dist_inst__sge new file mode 100644 index 000000000000..012824f59776 --- /dev/null +++ b/sysutils/sge53/files/patch-dist_inst__sge @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- dist/inst_sge.orig Tue Jan 20 16:27:05 2004 ++++ dist/inst_sge Tue Jan 20 16:50:19 2004 +@@ -2247,7 +2247,7 @@ + SetCellDependentVariables + fi + +- SetPermissions ++# SetPermissions + MakeDirsMaster + SelectHostNameResolving + AddConfiguration diff --git a/sysutils/sge53/files/patch-dist_pvm_src_aimk b/sysutils/sge53/files/patch-dist_pvm_src_aimk new file mode 100644 index 000000000000..d9e9e0fdd7f1 --- /dev/null +++ b/sysutils/sge53/files/patch-dist_pvm_src_aimk @@ -0,0 +1,52 @@ + +$FreeBSD$ + +--- dist/pvm/src/aimk.orig Fri Jul 20 01:20:20 2001 ++++ dist/pvm/src/aimk Tue Jan 20 16:50:19 2004 +@@ -66,6 +66,8 @@ + exit 1 + endif + ++set ARCH = `$SGE_ROOT/util/arch` ++ + # common compiler and linker settings + # + unsetenv LD_LIBRARY_PATH +@@ -73,9 +75,9 @@ + set MAKE = make + set MAKEFILE = ../Makefile + set SDIR = ".." +-set CFLAGS = "-I../ -I$PVM_ROOT/include" ++set CFLAGS = "-I../ -I$PVM_ROOT/include -I%%LOCALBASE%%/include" + set QSYST_PVM_DIR = "$SGE_ROOT/pvm/lib/$ARCH" +-set LFLAGS = "-L$PVM_ROOT/lib/$PVM_ARCH -L$QSYST_PVM_DIR -L." ++set LFLAGS = "-L$PVM_ROOT/lib/$PVM_ARCH -L$QSYST_PVM_DIR -L%%LOCALBASE%%/lib -L." + set LIBS = "" + set PVM_ROOT = "$PVM_ROOT" + set PVM_ARCH = "$PVM_ARCH" +@@ -133,8 +135,6 @@ + set CTOR = "" + set DTOR = "" + +-set ARCH = `$SGE_ROOT/util/arch` +- + switch ($ARCH) + + case aix41: +@@ -193,6 +193,16 @@ + case linux: + set CC = gcc + set CFLAGS = "-O -Wall -Werror -Wstrict-prototypes -DLINUX $DEBUG_FLAG $CFLAGS" ++ set LFLAGS = "$DEBUG_FLAG $LFLAGS" ++ set LIBS = "$LIBS" ++ set START_FILE = "/usr/lib/crti.o /usr/lib/crtbegin.o" ++ set CTOR = "/usr/lib/crti.o /usr/lib/crtbegin.o" ++ set DTOR = "/usr/lib/crtend.o /usr/lib/crtn.o" ++ breaksw ++ ++case fbsd-*: ++ set CC = gcc ++ set CFLAGS = "%%CFLAGS%% -Wall -Werror -Wstrict-prototypes $DEBUG_FLAG $CFLAGS" + set LFLAGS = "$DEBUG_FLAG $LFLAGS" + set LIBS = "$LIBS" + set START_FILE = "/usr/lib/crti.o /usr/lib/crtbegin.o" diff --git a/sysutils/sge53/files/patch-dist_util_arch__variables b/sysutils/sge53/files/patch-dist_util_arch__variables new file mode 100644 index 000000000000..48292e96cff6 --- /dev/null +++ b/sysutils/sge53/files/patch-dist_util_arch__variables @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- dist/util/arch_variables.orig Tue Jan 20 16:27:10 2004 ++++ dist/util/arch_variables Tue Jan 20 16:51:45 2004 +@@ -156,14 +156,14 @@ + AWK=/usr/bin/awk + ECHO="/bin/echo" + RC_FILE=freebsd +- RC_PREFIX=/usr/local/etc/rc.d ++ RC_PREFIX=%%PREFIX%%/etc/rc.d + RC_SUFFIX=.sh +- XTERM=/usr/X11R6/bin/xterm ++ XTERM=%%X11BASE%%/bin/xterm + MAILER=/usr/bin/mail + QLOGIN_COMMAND=telnet + QLOGIN_DAEMON=/usr/libexec/telnetd + RLOGIN_DAEMON=/usr/libexec/rlogind +- GETTEXT=/usr/local/bin/gettext ++ GETTEXT=%%LOCALBASE%%/bin/gettext + ROOTGROUP=wheel + ;; + darwin) diff --git a/sysutils/sge53/files/patch-scripts_distinst b/sysutils/sge53/files/patch-scripts_distinst new file mode 100644 index 000000000000..3c548d80e120 --- /dev/null +++ b/sysutils/sge53/files/patch-scripts_distinst @@ -0,0 +1,51 @@ + +$FreeBSD$ + +--- scripts/distinst.orig Tue Jan 20 16:28:32 2004 ++++ scripts/distinst Wed Jan 21 14:52:27 2004 +@@ -49,7 +49,7 @@ + fi + + +-HASDIR="ckpt doc examples/jobs locale mpi pvm qmon/PIXMAPS/big" ++HASDIR="ckpt doc examples/jobs mpi pvm qmon/PIXMAPS/big" + HASARCHDIR="bin lib examples/jobsbin utilbin" + + DEFAULTPROG="sge_qmaster sge_execd sge_shadowd sge_commd sge_schedd \ +@@ -543,17 +543,6 @@ + echo " Installing:" $PROG + echo " Architectures:" $ARCH + echo "Base directory:" $DEST_SGE_ROOT +-echo " OK [Y/N][Y]: " +- +-read ans +-if [ "$ans" = y -o "$ans" = Y -o "$ans" = "" ]; then +- : +-else +- echo +- echo Ciao +- echo +- exit 1 +-fi + + echo + +@@ -663,12 +652,12 @@ + Execute chmod 755 $DEST_SGE_ROOT/inst_sge + Execute sed 's/PREFIX/sge/' dist/install_qmaster > $DEST_SGE_ROOT/install_qmaster + Execute sed 's/PREFIX/sge/' dist/install_execd > $DEST_SGE_ROOT/install_execd +- if [ "$SGE_PRODUCT_MODE" = ge ]; then +- : +- (cd $DEST_SGE_ROOT; ln -s inst_sge inst_sgeee) +- Execute cp dist/README.inst_sgeee $DEST_SGE_ROOT +- Execute chmod 644 $DEST_SGE_ROOT/README.inst_sgeee +- fi ++ #if [ "$SGE_PRODUCT_MODE" = ge ]; then ++ # : ++ # (cd $DEST_SGE_ROOT; ln -s inst_sge inst_sgeee) ++ # Execute cp dist/README.inst_sgeee $DEST_SGE_ROOT ++ # Execute chmod 644 $DEST_SGE_ROOT/README.inst_sgeee ++ #fi + else + echo Installing \"inst_sge\" as \"inst_sgeee\" + Execute cp dist/inst_sge $DEST_SGE_ROOT/inst_sgeee diff --git a/sysutils/sge53/files/patch-scripts_distinst.site b/sysutils/sge53/files/patch-scripts_distinst.site new file mode 100644 index 000000000000..93ee3e08de90 --- /dev/null +++ b/sysutils/sge53/files/patch-scripts_distinst.site @@ -0,0 +1,47 @@ + +$FreeBSD$ + +--- scripts/distinst.site.orig Tue Jan 20 16:28:32 2004 ++++ scripts/distinst.site Tue Jan 20 16:52:32 2004 +@@ -30,6 +30,41 @@ + ########################################################################## + #___INFO__MARK_END__ + ++# Base directory where the openssl binary and libraries resides ++OPENSSLBASE=/usr ++BERKELEYDBBASE=/vol2/SW/db-4.2.52 ++#___INFO__MARK_BEGIN__ ++########################################################################## ++# ++# The Contents of this file are made available subject to the terms of ++# the Sun Industry Standards Source License Version 1.2 ++# ++# Sun Microsystems Inc., March, 2001 ++# ++# ++# Sun Industry Standards Source License Version 1.2 ++# ================================================= ++# The contents of this file are subject to the Sun Industry Standards ++# Source License Version 1.2 (the "License"); You may not use this file ++# except in compliance with the License. You may obtain a copy of the ++# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html ++# ++# Software provided under this License is provided on an "AS IS" basis, ++# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, ++# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, ++# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. ++# See the License for the specific provisions governing your rights and ++# obligations concerning the Software. ++# ++# The Initial Developer of the Original Code is: Sun Microsystems, Inc. ++# ++# Copyright: 2001 by Sun Microsystems, Inc. ++# ++# All Rights Reserved. ++# ++########################################################################## ++#___INFO__MARK_END__ ++ + # Base directory where a distribution is installed with "distinst" + BASEDIR=/dist/OS-SGEDIST + diff --git a/sysutils/sge53/files/pkg-message.in b/sysutils/sge53/files/pkg-message.in new file mode 100644 index 000000000000..c6e76c317bae --- /dev/null +++ b/sysutils/sge53/files/pkg-message.in @@ -0,0 +1,17 @@ + +After installation, you need to set up SGE. Go to + + %%PREFIX%%/%%SGE_BASE%% + +and run 'install_qmaster' to set up the master node of the cluster and +run 'install_execd' for the back-end compute nodes. + +If you desire extra security, add the -csp flag to your qmaster install. + +If you wish to run PVM applications with SGE you will need to build a +couple of binaries. Go to + + %%PREFIX%%/%%SGE_BASE%%/pvm/src + +and type './aimk' followed by './install.sh'. See the documentation for +how to set up a pvm environment. |