include Config
-VER = 4.6.1
+VER = 4.6.4
THISAPP = strongswan-$(VER)
DL_FILE = $(THISAPP).tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 85a28a12ed6f286a5bc9117e3a9386bb
+$(DL_FILE)_MD5 = 4c0999c42faa0860ae0afc4f8efd9d04
install : $(TARGET)
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