aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall-shell/shorewall-shell-providers-gateway-none.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-06 07:03:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-06 07:03:40 +0000
commitea652e0795553b67db1c1c7a8ed0dd8ae5015c50 (patch)
tree4ed9ef14de8fa48ca611f64654dac9d37b0bf367 /main/shorewall-shell/shorewall-shell-providers-gateway-none.patch
parent09818493618be8b985d30c2529ce690f30b808fd (diff)
downloadaports-ea652e0795553b67db1c1c7a8ed0dd8ae5015c50.tar.bz2
aports-ea652e0795553b67db1c1c7a8ed0dd8ae5015c50.tar.xz
main/shorewall-{common,shell}: remove
shell based shorewall is no longer maintained by upstream. We drop support for it.
Diffstat (limited to 'main/shorewall-shell/shorewall-shell-providers-gateway-none.patch')
-rw-r--r--main/shorewall-shell/shorewall-shell-providers-gateway-none.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/main/shorewall-shell/shorewall-shell-providers-gateway-none.patch b/main/shorewall-shell/shorewall-shell-providers-gateway-none.patch
deleted file mode 100644
index 53459ab5f5..0000000000
--- a/main/shorewall-shell/shorewall-shell-providers-gateway-none.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- /usr/share/shorewall-shell/lib.providers
-+++ ./lib.providers
-@@ -149,11 +149,13 @@
-
- save_command "${iface}_up=Yes"
-
-- save_command "qt ip route flush table $number"
-+ if [ "x$gateway" != "xnone" ]; then
-+ save_command "qt ip route flush table $number"
-
-- indent >&3 << __EOF__
-+ indent >&3 << __EOF__
- echo "qt ip route flush table $number" >> \${VARDIR}/undo_routing
- __EOF__
-+ fi
-
- if [ "x${duplicate:=-}" != x- ]; then
- if [ "x${copy:=-}" != "x-" ]; then
-@@ -183,6 +185,8 @@
- fi
-
- __EOF__
-+ elif [ "x$gateway" = "xnone" ]; then
-+ gateway=
- elif [ "x$gateway" != "x-" -a -n "$gateway" ]; then
- indent >&3 << __EOF__
- run_ip route replace $gateway src \$(find_first_interface_address $interface) dev $interface table $number
---- ./lib.providers.orig
-+++ ./lib.providers
-@@ -408,7 +408,7 @@
- save_command "#"
- save_command "# We don't have any 'balance' providers so we retore any default route that we've saved"
- save_command "#"
-- save_command restore_default_route
-+# save_command restore_default_route
- fi
-
- save_command "if [ -w /etc/iproute2/rt_tables ]; then"
---- ./lib.providers.orig
-+++ ./lib.providers
-@@ -267,7 +267,7 @@
- rulenum=\$((\$rulenum + 1))
- done
- __EOF__
-- elif [ -n "$DELETE_THEN_ADD" ]; then
-+ elif [ -n "$DELETE_THEN_ADD" ] && [ -n "$gateway" ]; then
- indent >&3 << __EOF__
-
- find_interface_addresses $interface | while read address; do