compile dhcp and farp plugins in UMLs
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 28 Mar 2010 20:40:20 +0000 (22:40 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 28 Mar 2010 20:40:20 +0000 (22:40 +0200)
testing/scripts/build-umlrootfs
testing/testing.conf

index 84413b9..a61cfbf 100755 (executable)
@@ -226,6 +226,16 @@ then
     echo -n " --enable-socket-default" >> $INSTALLSHELL
 fi
 
+if [ "$USE_DHCP" = "yes" ]
+then
+    echo -n " --enable-dhcp" >> $INSTALLSHELL
+fi
+
+if [ "$USE_FARP" = "yes" ]
+then
+    echo -n " --enable-farp" >> $INSTALLSHELL
+fi
+
 echo "" >> $INSTALLSHELL
 echo "make" >> $INSTALLSHELL
 echo "make install" >> $INSTALLSHELL
index bcbc56d..3d4510f 100755 (executable)
@@ -19,13 +19,13 @@ UMLTESTDIR=~/strongswan-testing
 
 # Bzipped kernel sources
 # (file extension .tar.bz2 required)
-KERNEL=$UMLTESTDIR/linux-2.6.32.8.tar.bz2
+KERNEL=$UMLTESTDIR/linux-2.6.33.1.tar.bz2
 
 # Extract kernel version
 KERNELVERSION=`basename $KERNEL .tar.bz2 | sed -e 's/linux-//'`
 
 # Kernel configuration file
-KERNELCONFIG=$UMLTESTDIR/.config-2.6.32
+KERNELCONFIG=$UMLTESTDIR/.config-2.6.33
 
 # Bzipped uml patch for kernel
 #UMLPATCH=$UMLTESTDIR/aead_init.patch.bz2
@@ -53,6 +53,8 @@ USE_LOAD_TESTS="yes"
 USE_TEST_VECTORS="yes"
 USE_GCRYPT="yes"
 USE_SOCKET_DEFAULT="yes"
+USE_DHCP="yes"
+USE_FARP="yes"
 
 # Gentoo linux root filesystem
 ROOTFS=$UMLTESTDIR/gentoo-fs-20090615.tar.bz2