X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fstrongswan;h=ba492106eca9df95431c6411a34b8c2af6e7d86d;hp=4701f34782c6961306841ddde5e72ca9d1d76802;hb=d1b0815ff7a5bf14cd65a6f9d61edb4916d288dc;hpb=2d490a7304b6a5a84822e5093c36a8985994d1c8 diff --git a/lfs/strongswan b/lfs/strongswan index 4701f3478..ba492106e 100644 --- a/lfs/strongswan +++ b/lfs/strongswan @@ -24,7 +24,7 @@ include Config -VER = 5.1.0 +VER = 5.1.3 THISAPP = strongswan-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -33,9 +33,11 @@ DIR_APP = $(DIR_SRC)/strongswan-$(VER) TARGET = $(DIR_INFO)/$(THISAPP) ifeq "$(MACHINE)" "i586" - PADLOCK = --enable-padlock + CONFIGURE_OPTIONS = \ + --enable-padlock else - PADLOCK = --disable-padlock + CONFIGURE_OPTIONS = \ + --disable-padlock endif ############################################################################### @@ -46,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c1cd0a3ba9960f590cae28c8470800e8 +$(DL_FILE)_MD5 = 1d1c108775242743cd8699215b2918c3 install : $(TARGET) @@ -76,25 +78,28 @@ $(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) && [ -x "configure" ] || ./autogen.sh cd $(DIR_APP) && ./configure \ --prefix="/usr" \ --sysconfdir="/etc" \ --enable-curl \ + --enable-dhcp \ + --enable-farp \ --enable-openssl \ --enable-xauth-eap \ + --enable-xauth-noauth \ --enable-eap-radius \ --enable-eap-tls \ --enable-eap-ttls \ --enable-eap-peap \ --enable-eap-mschapv2 \ --enable-eap-identity \ - $(PADLOCK) + --enable-unity \ + $(CONFIGURE_OPTIONS) - cd $(DIR_APP) && make $(MAKETUNING) LDFLAGS="-lrt" + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install # Remove all library files we don't want or need.