public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/suricata] rawhide: Enable sysusers.d on EPEL 11
@ 2026-07-27 19:26 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-27 19:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/suricata
Branch : rawhide
Commit : 5e6a5c17c84a3e580f7c008a3816ee63ac7217ef
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-07-27T11:57:47-04:00
Stats : +9/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/suricata/c/5e6a5c17c84a3e580f7c008a3816ee63ac7217ef?branch=rawhide
Log:
Enable sysusers.d on EPEL 11
RHEL 11 inherits the Fedora 42 sysusers.d change and needs to be handled
accordingly:
https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers
---
diff --git a/suricata.spec b/suricata.spec
index 77b0597..a7885a0 100644
--- a/suricata.spec
+++ b/suricata.spec
@@ -1,7 +1,7 @@
Summary: Intrusion Detection System
Name: suricata
Version: 8.0.5
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL-2.0-only
URL: https://suricata.io/
Source0: https://www.openinfosecfoundation.org/download/%{name}-%{version}.tar.gz
@@ -45,7 +45,7 @@ BuildRequires: hiredis-devel
BuildRequires: libevent-devel
BuildRequires: pkgconfig(gnutls)
-%if 0%{?fedora} >= 25 || 0%{?epel} >= 8
+%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
%ifarch x86_64 aarch64
BuildRequires: vectorscan-devel
%endif
@@ -55,7 +55,7 @@ Requires: python3-pyyaml
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
-%if 0%{?fedora} < 42 || 0%{?epel} >= 8
+%if ! (0%{?fedora} >= 42 || 0%{?rhel} >= 11)
Requires(pre): /usr/sbin/useradd
%endif
@@ -139,7 +139,7 @@ install -d -m 0755 %{buildroot}/run/%{name}/
cp suricata-update/README.rst doc/suricata-update-README.rst
-%if 0%{?fedora} >= 42
+%if 0%{?fedora} >= 42 || 0%{?rhel} >= 11
# Create a sysusers.d config file
cat >suricata.sysusers.conf <<EOF
u suricata - - - -
@@ -151,7 +151,7 @@ install -m0644 -D suricata.sysusers.conf %{buildroot}%{_sysusersdir}/suricata.co
make check
%pre
-%if 0%{?fedora} < 42 || 0%{?epel} >= 8
+%if ! (0%{?fedora} >= 42 || 0%{?rhel} >= 11)
getent passwd suricata >/dev/null || useradd -r -M -s /sbin/nologin suricata
%endif
@@ -194,11 +194,14 @@ fi
%attr(2770,suricata,suricata) %dir /run/%{name}/
%{_tmpfilesdir}/%{name}.conf
%{_datadir}/%{name}/rules
-%if 0%{?fedora} >= 42
+%if 0%{?fedora} >= 42 || 0%{?rhel} >= 11
%{_sysusersdir}/suricata.conf
%endif
%changelog
+* Mon Jul 27 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 8.0.5-4
+- Enable sysusers.d on EPEL 11
+
* Sun Jul 26 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 8.0.5-3
- Enable on ppc64le
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-27 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 19:26 [rpms/suricata] rawhide: Enable sysusers.d on EPEL 11 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox