From 7dbadc7a54c312a9ba579c93b5f4fff55f897d89 Mon Sep 17 00:00:00 2001 From: Philip Lacroix Date: Mon, 31 Mar 2014 12:24:33 +0700 Subject: network/arno-iptables-firewall: Update Build Script. Signed-off-by: Willy Sudiarto Raharjo --- .../files/patch-configuration-script.diff | 10 +++++----- .../files/patch-startup-script.diff | 19 ++++++++++++------- 2 files changed, 17 insertions(+), 12 deletions(-) (limited to 'network/arno-iptables-firewall/files') diff --git a/network/arno-iptables-firewall/files/patch-configuration-script.diff b/network/arno-iptables-firewall/files/patch-configuration-script.diff index de7aec5dbd..dacac17330 100644 --- a/network/arno-iptables-firewall/files/patch-configuration-script.diff +++ b/network/arno-iptables-firewall/files/patch-configuration-script.diff @@ -19,13 +19,13 @@ --- > else 86a92,94 -> # This is needed in order to allow function change_conf_var() +> # This is needed in order to allow the function change_conf_var() > # to remove values for previously set open ports. > change_conf_var "$2" "$3" "" 216a225,231 > else -> # Remove previously set values related to the internal interface -> # if no internal interface is entered with this script. +> # Remove previously set values related to the internal interface, if +> # no internal interface is entered with this script. > change_conf_var "$FIREWALL_CONF" "INT_IF" "" > change_conf_var "$FIREWALL_CONF" "INTERNAL_NET" "" > change_conf_var "$FIREWALL_CONF" "INT_NET_BCAST_ADDRESS" "" @@ -92,8 +92,8 @@ > echo "** **" > echo "** ln -sv /etc/rc.d/rc.arno-iptables-firewall /etc/rc.d/rc.firewall **" > echo "** **" -> echo "** Simply delete the link if you wish to disable firewall startup **" -> echo "** at boot-time. **" +> echo "** Delete the link if you wish to disable firewall startup at boot- **" +> echo "** time, or \"chmod -x\" the startup script for the same result. **" > echo "-------------------------------------------------------------------------------" > echo "" 277d293 diff --git a/network/arno-iptables-firewall/files/patch-startup-script.diff b/network/arno-iptables-firewall/files/patch-startup-script.diff index c4b947d4e7..c31514e260 100644 --- a/network/arno-iptables-firewall/files/patch-startup-script.diff +++ b/network/arno-iptables-firewall/files/patch-startup-script.diff @@ -6,19 +6,24 @@ < # Provides: arno-iptables-firewall --- > # Provides: rc.arno-iptables-firewall -16,20c16,21 +15,21c15,23 +< ############################################################################################ < # You should put this script in eg. "/etc/init.d/" . # < # Furthermore make sure it's executable! -> "chmod 700" or "chmod +x" it # < # If you want to run it upon boot, either add an entry in your "/etc/rc.d/rc.local" or # < # (for eg. Debian) in "/etc/rcS.d/" create a symlink to the arno-iptables-firewall script # < # ("ln -s /etc/init.d/arno-iptables-firewall script S99-arno-iptables-firewall script"). # +< ############################################################################################ --- -> # You should put this script in "/etc/rc.d/". # -> # Furthermore make sure it's executable! -> "chmod 755" or "chmod +x" it. # -> # If you want to run it upon boot, either create an "/etc/rc.d/rc.firewall" symlink to the # -> # present script ("ln -sv /etc/rc.d/rc.arno-iptables-firewall /etc/rc.d/rc.firewall") or # -> # edit the network system startup script "/etc/rc.d/rc.inet2" by renaming both occurrences # -> # of "rc.firewall" to match this script's name (i.e. "rc.arno-iptables-firewall"). # +> ################################################################################ +> # You should put this script in "/etc/rc.d/". # +> # Furthermore make sure it's executable! -> "chmod 755" or "chmod +x" it. # +> # If you want to run it upon boot, either create an "rc.firewall" link to this # +> # script ("ln -sv /etc/rc.d/rc.arno-iptables-firewall /etc/rc.d/rc.firewall") # +> # or edit the network system startup script "/etc/rc.d/rc.inet2", by renaming # +> # both occurrences of "rc.firewall" to match the name ot this script, that is, # +> # "rc.arno-iptables-firewall". # +> ################################################################################ 24c25 < PROGRAM="/usr/local/sbin/arno-iptables-firewall" --- -- cgit v1.2.3-80-g2a13