]> andersk Git - gssapi-openssh.git/blobdiff - nmi/testscript
when building from GPT branch, make a GPT package and test it with
[gssapi-openssh.git] / nmi / testscript
index b05ab8daa2a376c540f112cb76a35df3160a1c5b..9898d9a64cd0b7f8de7346a8768d34221ea5f71b 100755 (executable)
@@ -63,11 +63,20 @@ if test -d openssh; then
   ./install-autotools $GLOBUS_LOCATION
   cd ..
   echo ==================================================
-  echo Building GSI-OpenSSH from CVS...
   cd openssh
-  make -f Makefile.in distprep
-  ./configure --prefix=$GLOBUS_LOCATION \
-    --with-globus-flavor=$GLOBUS_FLAVOR_NAME
-  make install
+  if test -f make_gpt_dist; then
+    echo Building GSI-OpenSSH GPT package from CVS...
+    ./make_gpt_dist
+    gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $GLOBUS_FLAVOR_NAME \
+      GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION"
+  else
+    echo Building GSI-OpenSSH from CVS trunk...
+    autoreconf
+    ./configure --prefix=$GLOBUS_LOCATION \
+      --with-globus-flavor=$GLOBUS_FLAVOR_NAME \
+      --with-zlib=$ZLIB_LOCATION \
+      --with-privsep-user=$USER --with-privsep-path=$GLOBUS_LOCATION/var/empty
+    make install
+  fi
 fi
 ) 2>&1 # we want stdout & stderr mixed in the output file
This page took 0.045195 seconds and 4 git commands to generate.