- updated testsuite to autotools
This commit is contained in:
@@ -114,19 +114,20 @@ INSTALLSHELL=${LOOPDIR}/install.sh
|
|||||||
cecho " * Preparing strongSwan installation script"
|
cecho " * Preparing strongSwan installation script"
|
||||||
echo "ln -sf /usr/share/zoneinfo/${TZUML} /etc/localtime" >> $INSTALLSHELL
|
echo "ln -sf /usr/share/zoneinfo/${TZUML} /etc/localtime" >> $INSTALLSHELL
|
||||||
|
|
||||||
|
echo "cd /root/${STRONGSWANVERSION}" >> $INSTALLSHELL
|
||||||
|
echo -n "./configure --sysconfdir=/etc" >> $INSTALLSHELL
|
||||||
|
echo -n " --with-random-device=/dev/urandom" >> $INSTALLSHELL
|
||||||
if [ "$USE_LIBCURL" = "yes" ]
|
if [ "$USE_LIBCURL" = "yes" ]
|
||||||
then
|
then
|
||||||
echo "export USE_LIBCURL=true" >> $INSTALLSHELL
|
echo -n " --enable-http" >> $INSTALLSHELL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$USE_LDAP" = "yes" ]
|
if [ "$USE_LDAP" = "yes" ]
|
||||||
then
|
then
|
||||||
echo "export USE_LDAP=true" >> $INSTALLSHELL
|
echo -n " --enable-ldap=3" >> $INSTALLSHELL
|
||||||
fi
|
fi
|
||||||
|
echo "" >> $INSTALLSHELL
|
||||||
echo "export USERCOMPILE=\'-DRANDOM_DEVICE=\\\"/dev/urandom\\\"\'" >> $INSTALLSHELL
|
echo "make" >> $INSTALLSHELL
|
||||||
echo "cd /root/${STRONGSWANVERSION}" >> $INSTALLSHELL
|
|
||||||
echo "make programs" >> $INSTALLSHELL
|
|
||||||
echo "make install" >> $INSTALLSHELL
|
echo "make install" >> $INSTALLSHELL
|
||||||
echo "ldconfig" >> $INSTALLSHELL
|
echo "ldconfig" >> $INSTALLSHELL
|
||||||
|
|
||||||
@@ -134,9 +135,6 @@ cecho-n " * Compiling $STRONGSWANVERSION within the root file system as chroot..
|
|||||||
chroot $LOOPDIR /bin/bash /install.sh >> $LOGFILE 2>&1
|
chroot $LOOPDIR /bin/bash /install.sh >> $LOGFILE 2>&1
|
||||||
cecho "done"
|
cecho "done"
|
||||||
|
|
||||||
rm -f $INSTALLSHELL
|
|
||||||
|
|
||||||
|
|
||||||
######################################################
|
######################################################
|
||||||
# copying the host's ssh public key
|
# copying the host's ssh public key
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user