X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fstrongswan;h=d0d533d11da7e1642c5ac1eb502d7ea13cce5f3f;hb=1efe3ea13aedea84f63a2b6b1b448d498f1e7b05;hp=7f92c19b4003d2c44697a82515bbe6ea52de1377;hpb=5861450ef888402d3258f38861ce8f9a7a14c8e7;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/strongswan b/lfs/strongswan index 7f92c19b4..d0d533d11 100644 --- a/lfs/strongswan +++ b/lfs/strongswan @@ -24,7 +24,7 @@ include Config -VER = 4.5.3dr7 +VER = 4.6.4 THISAPP = strongswan-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 72036d309e254c0b3cad8e5473d68218 +$(DL_FILE)_MD5 = 4c0999c42faa0860ae0afc4f8efd9d04 install : $(TARGET) @@ -71,11 +71,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-4.4.0_ipfire.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-4.5.3_ipfire.patch + + # Customize the welcome banner. + sed -i $(DIR_APP)/src/pluto/modecfg.c \ + -e 's/^#define.*DEFAULT_UNITY_BANNER.*/#define DEFAULT_UNITY_BANNER "Welcome to IPFire - An Open Source Firewall Solution.\\n"/' cd $(DIR_APP) && ./configure --prefix="/usr" --sysconfdir="/etc" \ --enable-cisco-quirks \ - --enable-curl + --enable-curl \ + --enable-nat-transport cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install