]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/strongswan
strongswan: Enable dhcp and farp plugin (#10467).
[people/teissler/ipfire-2.x.git] / lfs / strongswan
index c7abf7a4d3837d3c4fbc48fa418399fe74eeb928..7583c62964f770a828f2105e078da74eeb091307 100644 (file)
@@ -34,12 +34,10 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 
 ifeq "$(MACHINE)" "i586"
        CONFIGURE_OPTIONS = \
-               --enable-padlock \
-               --enable-rdrand
+               --enable-padlock
 else
        CONFIGURE_OPTIONS = \
-               --disable-padlock \
-               --disable-rdrand
+               --disable-padlock
 endif
 
 ###############################################################################
@@ -80,8 +78,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-
-       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-4.5.3_ipfire.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-5.0.2_ipfire.patch
        cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-5.1.1-delay-dpd.patch
 
        cd $(DIR_APP) && [ -x "configure" ] || ./autogen.sh
@@ -89,6 +86,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --prefix="/usr" \
                --sysconfdir="/etc" \
                --enable-curl \
+               --enable-dhcp \
+               --enable-farp \
                --enable-openssl \
                --enable-xauth-eap \
                --enable-eap-radius \