From: Michael Tremer Date: Fri, 10 Feb 2012 10:01:42 +0000 (+0100) Subject: strongswan: Customize the welcome banner. X-Git-Tag: v2.11-core57~5^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a73f60abb870bf94498eb1147f97b7b67b036f32;p=ipfire-2.x.git strongswan: Customize the welcome banner. References: http://forum.ipfire.org/index.php/topic,5993.0.html http://forum.ipfire.org/index.php/topic,3329.0.html --- diff --git a/config/rootfiles/core/57/filelists/strongswan b/config/rootfiles/core/57/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/57/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/lfs/strongswan b/lfs/strongswan index e2da4754a5..7370be9e5a 100644 --- a/lfs/strongswan +++ b/lfs/strongswan @@ -73,6 +73,10 @@ $(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 \