]> andersk Git - gssapi-openssh.git/commitdiff
Initial revision
authorjbasney <jbasney>
Fri, 16 Feb 2007 20:18:42 +0000 (20:18 +0000)
committerjbasney <jbasney>
Fri, 16 Feb 2007 20:18:42 +0000 (20:18 +0000)
nmi/README [new file with mode: 0644]
nmi/cmdfile [new file with mode: 0644]
nmi/testscript [new file with mode: 0755]

diff --git a/nmi/README b/nmi/README
new file mode 100644 (file)
index 0000000..629e6ab
--- /dev/null
@@ -0,0 +1,2 @@
+This directory contains files for GSI-OpenSSH build testing using
+the NMI Build and Test Lab (http://nmi.cs.wisc.edu/).
diff --git a/nmi/cmdfile b/nmi/cmdfile
new file mode 100644 (file)
index 0000000..4fc4ada
--- /dev/null
@@ -0,0 +1,13 @@
+project = GSI-OpenSSH
+component = GSI-OpenSSH
+component_version = 3.9
+description = pre-release test builds
+run_type = build
+inputs = gsissh-src.ftp, gsissh-nmi.cvs
+remote_task = nmi/testscript
+platforms = ia64_sles_8, ia64_sles_9, ppc_aix_5.2, ppc_macos_10.4, sun4u_sol_5.9, x86_64_rhas_3, x86_64_rhas_4, x86_deb_3.1, x86_fc_3, x86_fc_4, x86_rhas_3, x86_rhas_4
+prereqs_ppc_macos_10.4 = curl-7.15.1
+prereqs_sun4u_sol_5.9 = curl-7.15.1, tar-1.14, patch-2.5.4, m4-1.4.1, flex-2.5.4a, make-3.80, byacc-1.9, gzip-1.2.4, gcc-2.95.3, coreutils-5.2.1, perl-5.8.5
+prereqs_ppc_aix_5.2 = tar-1.14, make-3.80, flex-2.5.4a, perl-5.8.5, bison-1.25, vac-6, vacpp-6, zlib-1.2.2
+notify = jbasney@ncsa.uiuc.edu
+append_requirements_sun4u_sol_5.9 = (Machine != "nmi-solaris10.cs.wisc.edu")
diff --git a/nmi/testscript b/nmi/testscript
new file mode 100755 (executable)
index 0000000..5b0dd57
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+set -e # exit on any error
+if test "$NMI_PLATFORM" = "ia64_sles_9"; then
+  GT_INSTALLER=gt4.0.3-all-source-installer.tar.gz
+  GT_INSTALLER_URL=http://www.globus.org/ftppub/gt4/4.0/4.0.3/installers/src/$GT_INSTALLER
+else
+  GT_INSTALLER=gt4.0.3-$NMI_PLATFORM-installer.tar.gz
+  GT_INSTALLER_URL=http://www.globus.org/ftppub/gt4/4.0/4.0.3/installers/bin/$GT_INSTALLER
+fi
+GLOBUS_LOCATION=$_CONDOR_SCRATCH_DIR/globus
+LOGNAME=$USER
+X509_CERT_DIR=$GLOBUS_LOCATION/share/certificates
+export GLOBUS_LOCATION LOGNAME X509_CERT_DIR
+(
+echo ==================================================
+echo Environment variables:
+env
+echo ==================================================
+echo Directory contents:
+ls -Rl
+echo ==================================================
+echo PATHs:
+echo `which wget`
+echo `which curl`
+echo `which ncftpget`
+echo `which ftp`
+echo ==================================================
+echo Installing Globus Toolkit...
+if test -x `which wget`; then
+  wget $GT_INSTALLER_URL
+else
+  curl $GT_INSTALLER_URL > $GT_INSTALLER
+fi
+tar xfz $GT_INSTALLER
+cd gt*-installer
+./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose"
+make gsi-openssh install
+. $GLOBUS_LOCATION/etc/globus-user-env.sh
+echo ==================================================
+flavor=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1`
+echo GPT flavor is $flavor.  Installing globus_core.
+gpt-build -nosrc $flavor
+echo ==================================================
+echo Building GSI-OpenSSH...
+cd ..
+gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $flavor
+) 2>&1 # we want stdout & stderr mixed in the output file
This page took 0.187875 seconds and 5 git commands to generate.