GSI-OpenSSH/make gssapi patch

From Globus

#!/bin/sh
if [ ! "$2" ]; then
    echo usage: $0 openssh-version vendor-branch-tag;
    exit 1
fi
export CVSROOT=":ext:cvs.globus.org:/home/globdev/CVS/globus-packages"
# use the same version of autoconf as the OpenSSH distro to minimize diffs
export PATH=$HOME/autoconf-2.61/bin:$PATH
echo making GSSAPI patch for OpenSSH $1... &&
rm -rf ~/openssh-$1-gssapi &&
cp -r ~/openssh-$1 ~/openssh-$1-gssapi &&
cvs rdiff -kk -r$2 gssapi-openssh/openssh > ~/openssh-$1-gssapi-cvs.patch &&
cd ~/openssh-$1-gssapi &&
patch -p2 < ~/openssh-$1-gssapi-cvs.patch &&
echo running autoheader and autoconf... &&
autoheader &&
rm -f ~/openssh-$1-gssapi/config.h.in~ &&
autoconf &&
cd .. &&
echo diffing... &&
diff -Naur --exclude=autom4te.cache openssh-$1 openssh-$1-gssapi > openssh-$1-gssapi.patch || [ $? == 1 ] &&
echo openssh-$1-gssapi.patch created. &&
exit 0
Personal tools
Execution Projects
Information projects
Distribution Projects
Documentation Projects
Deprecated