SHA256
1
0
forked from pool/firewalld

Accepting request 921449 from home:gmbr3:Active

- Update to 1.0.1:
  * keep linux capability CAP_SYS_MODULE
  * UPnP Client: actually allow SSDP traffic
  * Fix RPM macros to test if firewall-cmd is executable

OBS-URL: https://build.opensuse.org/request/show/921449
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/firewalld?expand=0&rev=116
This commit is contained in:
Michał Rostecki 2021-10-08 13:20:47 +00:00 committed by Git OBS Bridge
parent aa08f2b535
commit 6c5a600340
4 changed files with 22 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c2ced8d2007d4a4aaf8a3f1ccc2e3a8c4089e60061f767a2992e867cfbe9ca0
size 2037168

3
firewalld-1.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35a89949e527cd7fc863574b2eceb80f99092cca838c79c4c1fce2228a01eb09
size 2041381

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Sep 25 20:24:33 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to 1.0.1:
* keep linux capability CAP_SYS_MODULE
* UPnP Client: actually allow SSDP traffic
* Fix RPM macros to test if firewall-cmd is executable
-------------------------------------------------------------------
Sat Aug 7 14:27:01 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -20,8 +20,12 @@
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
%if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150300
# systemd-rpm-macros(or kmod) is wrong in 15.2
%define _modprobedir /lib/modprobe.d
%endif
Name: firewalld
Version: 1.0.0
Version: 1.0.1
Release: 0
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
License: GPL-2.0-or-later
@ -183,8 +187,8 @@ install -dp %{buildroot}%{_prefix}/lib/firewalld/zones
install -p -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/firewalld/zones/docker.xml
# No more /etc
mkdir -p %{buildroot}%{_prefix}/lib/modprobe.d
mv %{buildroot}%{_sysconfdir}/modprobe.d/* %{buildroot}%{_prefix}/lib/modprobe.d
mkdir -p %{buildroot}%{_modprobedir}
mv %{buildroot}%{_sysconfdir}/modprobe.d/* %{buildroot}%{_modprobedir}
%if %{defined _distconfdir}
mkdir -p %{buildroot}%{_distconfdir}/xdg/autostart
mv %{buildroot}%{_sysconfdir}/xdg/autostart/* %{buildroot}%{_distconfdir}/xdg/autostart
@ -262,7 +266,10 @@ fi
%{_datadir}/polkit-1
%dir %{_datadir}/dbus-1
%dir %{_datadir}/dbus-1/system.d
%{_prefix}/lib/modprobe.d/firewalld-sysctls.conf
%if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150300
%dir %{_modprobedir}
%endif
%{_modprobedir}/firewalld-sysctls.conf
%config(noreplace) %{_sysconfdir}/firewalld/firewalld.conf
%config(noreplace) %{_sysconfdir}/firewalld/lockdown-whitelist.xml
%config(noreplace) %{_sysconfdir}/logrotate.d/firewalld