diff options
Diffstat (limited to 'net-firewall/shorewall/files/shorewall-init-01_remove-ipset-functionality-r1.patch')
-rw-r--r-- | net-firewall/shorewall/files/shorewall-init-01_remove-ipset-functionality-r1.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-firewall/shorewall/files/shorewall-init-01_remove-ipset-functionality-r1.patch b/net-firewall/shorewall/files/shorewall-init-01_remove-ipset-functionality-r1.patch deleted file mode 100644 index 8b7925d6dceb..000000000000 --- a/net-firewall/shorewall/files/shorewall-init-01_remove-ipset-functionality-r1.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -rupN old/shorewall-init-5.1.7/shorewall-init new/shorewall-init-5.1.7/shorewall-init ---- old/shorewall-init-5.1.7/shorewall-init 2017-09-18 18:28:43.000000000 +0200 -+++ new/shorewall-init-5.1.7/shorewall-init 2017-09-23 15:46:03.489914459 +0200 -@@ -80,10 +80,6 @@ shorewall_start () { - fi - done - -- if [ -n "$SAVE_IPSETS" -a -f "$SAVE_IPSETS" ]; then -- ipset -R < "$SAVE_IPSETS" -- fi -- - return 0 - } - -@@ -101,15 +97,6 @@ shorewall_stop () { - fi - done - -- if [ -n "$SAVE_IPSETS" ]; then -- mkdir -p $(dirname "$SAVE_IPSETS") -- if ipset -S > "${SAVE_IPSETS}.tmp"; then -- grep -qE -- '^(-N|create )' "${SAVE_IPSETS}.tmp" && mv -f "${SAVE_IPSETS}.tmp" "$SAVE_IPSETS" || rm -f "${SAVE_IPSETS}.tmp" -- else -- rm -f "${SAVE_IPSETS}.tmp" -- fi -- fi -- - return 0 - } - |