X509_CERT_DIR=$GLOBUS_LOCATION/share/certificates
export GLOBUS_LOCATION LOGNAME X509_CERT_DIR
(
+if test -n "${_NMI_PREREQ_openssl_0_9_8e_shared_ROOT}"; then
+ PKG_CONFIG_PATH="${_NMI_PREREQ_openssl_0_9_8e_shared_ROOT}/lib/pkgconfig"
+ OPENSSL_CFLAGS="-I${_NMI_PREREQ_openssl_0_9_8e_shared_ROOT}/include"
+ OPENSSL_INCLUDES="-I${_NMI_PREREQ_openssl_0_9_8e_shared_ROOT}/include"
+ OPENSSL_LDFLAGS="-L${_NMI_PREREQ_openssl_0_9_8e_shared_ROOT}/lib"
+ OPENSSL_LIBS="-lssl -lcrypto"
+ export PKG_CONFIG_PATH
+ export OPENSSL_CFLAGS OPENSSL_INCLUDES OPENSSL_LDFLAGS OPENSSL_LIBS
+elif test -n "${_NMI_PREREQ_openssl_0_9_7_shared_ROOT}"; then
+ PKG_CONFIG_PATH="${_NMI_PREREQ_openssl_0_9_7_shared_ROOT}/lib/pkgconfig"
+ OPENSSL_CFLAGS="-I${_NMI_PREREQ_openssl_0_9_7_shared_ROOT}/include"
+ OPENSSL_INCLUDES="-I${_NMI_PREREQ_openssl_0_9_7_shared_ROOT}/include"
+ OPENSSL_LDFLAGS="-L${_NMI_PREREQ_openssl_0_9_7_shared_ROOT}/lib"
+ OPENSSL_LIBS="-lssl -lcrypto"
+ export PKG_CONFIG_PATH
+ export OPENSSL_CFLAGS OPENSSL_INCLUDES OPENSSL_LDFLAGS OPENSSL_LIBS
+fi
+if test -n "${LD_LIBRARY_PATH}" -a -z "${LIBPATH}"; then
+ LIBPATH=$LD_LIBRARY_PATH
+ export LIBPATH
+fi
echo ==================================================
echo Environment variables:
env
fi
echo ==================================================
echo Installing Globus Toolkit...
-tar xfj gt*-all-source-installer.tar.bz2
+tar xfz gt*-all-source-installer.tar.gz
cd gt*-installer
./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose" \
--with-gsiopensshargs="--with-zlib=$ZLIB_LOCATION"
. $GLOBUS_LOCATION/etc/globus-user-env.sh
cd ..
echo ==================================================
+echo Environment variables:
+env
+echo ==================================================
GLOBUS_FLAVOR_NAME=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1`
export GLOBUS_FLAVOR_NAME
echo GPT GLOBUS_FLAVOR_NAME is $GLOBUS_FLAVOR_NAME. Installing globus_core.
gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $GLOBUS_FLAVOR_NAME \
GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION"
fi
-if test -d openssh; then
+if test -d gssapi-openssh/openssh; then
echo ==================================================
echo Installing autotools...
cd autotools
--with-globus-flavor=$GLOBUS_FLAVOR_NAME \
--with-zlib=$ZLIB_LOCATION \
--with-privsep-user=$USER --with-privsep-path=$GLOBUS_LOCATION/var/empty
- make install
+ make install-nokeys # nonroot
fi
cd ../..
fi
. $GLOBUS_LOCATION/etc/globus-user-env.sh
cd ..
echo ==================================================
+ echo Environment variables:
+ env
+ echo ==================================================
GLOBUS_FLAVOR_NAME=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1`
export GLOBUS_FLAVOR_NAME
echo GPT GLOBUS_FLAVOR_NAME is $GLOBUS_FLAVOR_NAME.
gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $GLOBUS_FLAVOR_NAME \
GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION"
fi
- if test -d openssh; then
+ if test -d gssapi-openssh/openssh; then
echo ==================================================
echo Installing autotools...
cd autotools
cd gssapi-openssh/openssh
if test -f make_gpt_dist; then
echo Building GSI-OpenSSH GPT package from CVS...
+ rm -rf BUILD
gpt-build -force -verbose gsi_openssh-*.tar.gz $GLOBUS_FLAVOR_NAME \
GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION"
else
--with-zlib=$ZLIB_LOCATION \
--with-privsep-user=$USER --with-privsep-path=$GLOBUS_LOCATION/var/empty
make clean
- make install
+ make install-nokeys # nonroot
fi
fi
fi