summaryrefslogtreecommitdiffstats
path: root/network/arno-iptables-firewall/files
diff options
context:
space:
mode:
author Philip Lacroix2014-03-31 07:24:33 +0200
committer Willy Sudiarto Raharjo2014-04-07 09:43:37 +0200
commit7dbadc7a54c312a9ba579c93b5f4fff55f897d89 (patch)
tree5854bb902367d7a39d312ba0b22e593ae50452d5 /network/arno-iptables-firewall/files
parentd5815e59caa3350820a6220a8dc46e62ec8520e2 (diff)
downloadslackbuilds-7dbadc7a54c312a9ba579c93b5f4fff55f897d89.tar.gz
network/arno-iptables-firewall: Update Build Script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/arno-iptables-firewall/files')
-rw-r--r--network/arno-iptables-firewall/files/patch-configuration-script.diff10
-rw-r--r--network/arno-iptables-firewall/files/patch-startup-script.diff19
2 files changed, 17 insertions, 12 deletions
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"
---