From c527d6f53fee1b3a70142003639ab32bc6548671 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Wed, 20 Jun 2018 12:35:21 +0000 Subject: [PATCH] - move get_params after parsing config so it uses proper shell from shorewall.conf instead of /bin/sh --- shell-fix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shell-fix.patch diff --git a/shell-fix.patch b/shell-fix.patch new file mode 100644 index 0000000..5645c8e --- /dev/null +++ b/shell-fix.patch @@ -0,0 +1,16 @@ +diff -ur shorewall-5.2.0.4.orig/shorewall-5.2.0.4/Perl/Shorewall/Config.pm shorewall-5.2.0.4/shorewall-5.2.0.4/Perl/Shorewall/Config.pm +--- shorewall-5.2.0.4.orig/shorewall-5.2.0.4/Perl/Shorewall/Config.pm 2018-05-18 18:46:49.000000000 +0000 ++++ shorewall-5.2.0.4/shorewall-5.2.0.4/Perl/Shorewall/Config.pm 2018-06-20 12:32:04.348554961 +0000 +@@ -6250,10 +6250,10 @@ + $have_capabilities = 1; + } + +- get_params( $export ); +- + process_shorewall_conf( $update, $annotate ); + ++ get_params( $export ); ++ + ensure_config_path; + + @INC = @originalinc; -- 2.46.0