echo ----------------------------------------
echo "    ssh 1.2.27 limits patch by Ultor"
echo "         [Ultor@sowatech.com.pl]"
echo ----------------------------------------
echo -= Doing limits.o ....
gcc -O2 -c limits.c
if [ -f limits.o ]; then
  echo "-= OK limits.o done"
else 
  echo "-= ERR limits.o not done"
  exit
fi
echo -= Patching Makefile.in ...
if [ -f Makefile.in ]; then
  patch < Makefile.patch
else 
  echo "-= ERR Makefile.in not found."
  exit
fi
echo -= Patching sshd.c ...
if [ -f sshd.c ]; then
  patch < sshd.patch
else 
  echo "-= ERR Makefile.in not found."
  exit
fi
echo -= OK DONE ?
