echo -----------------------------------------
echo "    sshd 1.2.30 limits patch by Ultor"
echo "            [Ultor@hert.org]"
echo "                 [HERT]"
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 ?
