]> andersk Git - gssapi-openssh.git/blame - nmi/testscript
using gsissh-src.cvs instead
[gssapi-openssh.git] / nmi / testscript
CommitLineData
365b751e 1#!/bin/sh
2set -e # exit on any error
3if test "$NMI_PLATFORM" = "ia64_sles_9"; then
4 GT_INSTALLER=gt4.0.3-all-source-installer.tar.gz
5 GT_INSTALLER_URL=http://www.globus.org/ftppub/gt4/4.0/4.0.3/installers/src/$GT_INSTALLER
6else
7 GT_INSTALLER=gt4.0.3-$NMI_PLATFORM-installer.tar.gz
8 GT_INSTALLER_URL=http://www.globus.org/ftppub/gt4/4.0/4.0.3/installers/bin/$GT_INSTALLER
9fi
10GLOBUS_LOCATION=$_CONDOR_SCRATCH_DIR/globus
753b352b 11ZLIB_LOCATION=$_CONDOR_SCRATCH_DIR/zlib
365b751e 12LOGNAME=$USER
13X509_CERT_DIR=$GLOBUS_LOCATION/share/certificates
14export GLOBUS_LOCATION LOGNAME X509_CERT_DIR
15(
16echo ==================================================
17echo Environment variables:
18env
19echo ==================================================
20echo Directory contents:
21ls -Rl
22echo ==================================================
23echo PATHs:
24echo `which wget`
25echo `which curl`
26echo `which ncftpget`
27echo `which ftp`
28echo ==================================================
29echo Installing Globus Toolkit...
30if test -x `which wget`; then
31 wget $GT_INSTALLER_URL
32else
33 curl $GT_INSTALLER_URL > $GT_INSTALLER
34fi
35tar xfz $GT_INSTALLER
36cd gt*-installer
37./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose"
38make gsi-openssh install
39. $GLOBUS_LOCATION/etc/globus-user-env.sh
753b352b 40cd ..
41echo ==================================================
42echo Building zlib-1.2.3...
753b352b 43cd zlib-1.2.3
44./configure --prefix=$ZLIB_LOCATION
45make
46make install
6d372c71 47cd ..
365b751e 48echo ==================================================
49flavor=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1`
50echo GPT flavor is $flavor. Installing globus_core.
51gpt-build -nosrc $flavor
52echo ==================================================
53echo Building GSI-OpenSSH...
aa999670 54gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $flavor \
753b352b 55 GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION"
365b751e 56) 2>&1 # we want stdout & stderr mixed in the output file
This page took 0.205883 seconds and 5 git commands to generate.