]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/strongswan
Merge branch 'libpng-update' into next
[ipfire-2.x.git] / lfs / strongswan
index fdd88969e4be5b7a50f57df49fd78c94b5276709..7370be9e5aa4d07cac54b53dbfdd23279cf8951e 100644 (file)
@@ -73,9 +73,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        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