<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Custom CIPE Install
From: "Charles Williams" <hosting.mailing.list.account,AT,acnshosting,DOT,com>
Date: Fri, 11 Jan 2002 13:16:43 +0100

Hello,

I am in need of placing CIPE manually after the "make", however, I am not
sure exactly what files are absolutly necessary for CIPE and PKCIPE to
function correctly.

this is on a 2.4.7-10 kernel box and here is the portion of make.sh that
will be doing the CIPE install:

+# Building VPNd
#
+#
#
+###########################################################################
#
+  echo "`date '+%b %e %T'`: Building VPNd" | tee -a $LOGFILE
+  cd $TMPDIR
+  tar xfz $IPCOP_FILE_CACHE/vpnd-1.1.0.tar.gz
+  cd vpnd
+  mv globals.c globals.c.old
+
+  cat globals.c.old | sed
's/anchor->randomdev="/dev/random";'/'anchor->randomdev="/dev/urandom";'/g >
globals.c
+  make >> $LOGFILE 2>&1
+  if [ ! -f $TMPDIR/vpnd/vpnd ]; then
+       echo "ERROR: Failed to build VPNd"
+       exit 1
+       echo "       Check $LOGFILE for errors"
+  fi
+  cp -v $TMPDIR/vpnd/vpnd $TMPDIR/build/usr/sbin/vpnd >> $LOGFILE 2>&1
+
+
+###########################################################################
#
+#
#
+# Building CIPE
#
+#
#
+###########################################################################
#
+  echo "`date '+%b %e %T'`: Building CIPE" | tee -a $LOGFILE
+  cd $TMPDIR
+  tar xfz $IPCOP_FILE_CACHE/cipe*.gz
+  cd cipe*
+  ./configure --with-linux=/usr/src/linux-2.4 >> $LOGFILE 2>&1
+  make >> $LOGFILE 2>&1
+  if [ ! -f $TMPDIR/cipe*/2.4.7-*/ciped-cb ]; then
+       echo "ERROR: Failed to build CIPE"
+       exit 1
+       echo "       Check $LOGFILE for errors"
+  fi
+
################################
#
#  cp all CIPE and PKCIPE files needed
#
################################
+
+###########################################################################
#
+#
#
 # Building DNRD (Caching DNS server)
#

thanks for any help

chuck





<< | Thread Index | >> ]    [ << | Date Index | >> ]