* 0001-firewall-backend-Switch-default-backend-to-iptables.patch
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/firewalld?expand=0&rev=77
This commit is contained in:
committed by
Git OBS Bridge
parent
664b2c231f
commit
fb97f07a3e
@@ -28,6 +28,8 @@ License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Security
|
||||
Url: http://www.firewalld.org
|
||||
Source: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-SUSE: 0001-firewall-backend-Switch-default-backend-to-iptables.patch (bsc#1102761)
|
||||
Patch0: 0001-firewall-backend-Switch-default-backend-to-iptables.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: desktop-file-utils
|
||||
@@ -110,14 +112,12 @@ firewalld.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# bsc#1102761 - switch to iptables as default
|
||||
%patch0 -p1
|
||||
|
||||
# bsc#1078223
|
||||
rm config/services/high-availability.xml
|
||||
|
||||
# bsc#1102761 - switch to iptables as default
|
||||
sed -i "/^FirewallBackend/s/=.*/=iptables/" config/firewalld.conf
|
||||
sed -i '/^FALLBACK_FIREWALL_BACKEND/s/=.*/= "iptables"/' src/firewall/config/__init__.py.in
|
||||
|
||||
%build
|
||||
export PYTHON="%{_bindir}/python3"
|
||||
./autogen.sh
|
||||
|
Reference in New Issue
Block a user