From 3bcb794b5295f765ee5fb74c98fd69f594a586b1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 27 Apr 2013 09:57:58 +0000 Subject: install shorewall-ipv6 too (mga#9401) --- NEWS | 2 ++ bin/drakgw | 2 +- lib/network/drakfirewall.pm | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 392f0c6..7b6a754 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- drakgw, drakfirewall: install shorewall-ipv6 too (mga#9401) + 1.21: - translation updates diff --git a/bin/drakgw b/bin/drakgw index d1ed287..fd0ee19 100755 --- a/bin/drakgw +++ b/bin/drakgw @@ -366,7 +366,7 @@ sub gw_configure() { N("Warning! An existing firewalling configuration has been detected. You may need some manual fixes after installation.")); } - $in->do_pkgs->ensure_is_installed('shorewall', '/sbin/shorewall') or $in->exit(-1); + $in->do_pkgs->ensure_files_are_installed([ [ qw(shorewall shorewall) ], [ qw(shorewall-ipv6 shorewall6) ] ], $::isInstall) or $in->exit(-1); my $_wait_configuring = $in->wait_message(N("Configuring..."), N("Configuring firewall...")); diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm index ff87724..e679415 100644 --- a/lib/network/drakfirewall.pm +++ b/lib/network/drakfirewall.pm @@ -195,7 +195,7 @@ sub set_ports { my ($do_pkgs, $disabled, $ports, $log_net_drop, $o_in) = @_; if (!$disabled || -x "$::prefix/sbin/shorewall") { - $do_pkgs->ensure_binary_is_installed('shorewall', 'shorewall', $::isInstall) or return; + $do_pkgs->ensure_files_are_installed([ [ qw(shorewall shorewall) ], [ qw(shorewall-ipv6 shorewall6) ] ], $::isInstall) or return; my $shorewall = network::shorewall::read(!$disabled && $o_in); if (!$shorewall) { log::l("unable to read shorewall configuration, skipping installation"); -- cgit v1.2.1