]> andersk Git - gssapi-openssh.git/blame - nmi/testscript
Initial revision
[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
11LOGNAME=$USER
12X509_CERT_DIR=$GLOBUS_LOCATION/share/certificates
13export GLOBUS_LOCATION LOGNAME X509_CERT_DIR
14(
15echo ==================================================
16echo Environment variables:
17env
18echo ==================================================
19echo Directory contents:
20ls -Rl
21echo ==================================================
22echo PATHs:
23echo `which wget`
24echo `which curl`
25echo `which ncftpget`
26echo `which ftp`
27echo ==================================================
28echo Installing Globus Toolkit...
29if test -x `which wget`; then
30 wget $GT_INSTALLER_URL
31else
32 curl $GT_INSTALLER_URL > $GT_INSTALLER
33fi
34tar xfz $GT_INSTALLER
35cd gt*-installer
36./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose"
37make gsi-openssh install
38. $GLOBUS_LOCATION/etc/globus-user-env.sh
39echo ==================================================
40flavor=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1`
41echo GPT flavor is $flavor. Installing globus_core.
42gpt-build -nosrc $flavor
43echo ==================================================
44echo Building GSI-OpenSSH...
45cd ..
46gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $flavor
47) 2>&1 # we want stdout & stderr mixed in the output file
This page took 0.052322 seconds and 5 git commands to generate.