Accepting request 1087467 from home:gmbr3:Active

- Add firewalld-runstatedir.patch: change pid file location from
  /var/run to /run

OBS-URL: https://build.opensuse.org/request/show/1087467
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/firewalld?expand=0&rev=143
This commit is contained in:
Callum Farmer 2023-05-16 20:04:59 +00:00 committed by Git OBS Bridge
parent b09aab8023
commit e945f49835
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/__init__.py.in b/__init__.py.in.new
index d982384..6452e6d 100644
--- a/src/firewall/config/__init__.py.in
+++ b/src/firewall/config/__init__.py.in
@@ -95,7 +95,7 @@ FIREWALLD_LOGFILE = '/var/log/firewalld'
FIREWALLD_LOGTARGET = '@DEFAULT_LOG_TARGET@'
-FIREWALLD_PIDFILE = "/var/run/firewalld.pid"
+FIREWALLD_PIDFILE = "/run/firewalld.pid"
FIREWALLD_TEMPDIR = '/run/firewalld'

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 16 20:03:26 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- Add firewalld-runstatedir.patch: change pid file location from
/var/run to /run
-------------------------------------------------------------------
Tue Apr 25 11:20:58 UTC 2023 - Mohd Saquib <mohd.saquib@suse.com>

View File

@ -36,6 +36,7 @@ URL: https://www.firewalld.org
Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.bz2
Source1: docker-zone.xml
Patch0: 0002-Disable-FlushAllOnReload-option.patch
Patch1: firewalld-runstatedir.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils