From: Marcin Krol Date: Wed, 20 Jun 2018 12:35:21 +0000 (+0000) Subject: - move get_params after parsing config so it uses proper shell X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=c527d6f53fee1b3a70142003639ab32bc6548671;p=packages%2Fshorewall.git - move get_params after parsing config so it uses proper shell from shorewall.conf instead of /bin/sh --- 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;