import CS rtkit-0.11-29.el9
This commit is contained in:
parent
745a84bf1e
commit
d7e09246e7
2
SOURCES/rtkit.sysusers
Normal file
2
SOURCES/rtkit.sysusers
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Type Name ID GECOS Home directory Shell
|
||||||
|
u rtkit 172 "RealtimeKit" / /sbin/nologin
|
@ -1,6 +1,6 @@
|
|||||||
Name: rtkit
|
Name: rtkit
|
||||||
Version: 0.11
|
Version: 0.11
|
||||||
Release: 28%{?dist}
|
Release: 29%{?dist}
|
||||||
Summary: Realtime Policy and Watchdog Daemon
|
Summary: Realtime Policy and Watchdog Daemon
|
||||||
# The daemon itself is GPLv3+, the reference implementation for the client BSD
|
# The daemon itself is GPLv3+, the reference implementation for the client BSD
|
||||||
License: GPLv3+ and BSD
|
License: GPLv3+ and BSD
|
||||||
@ -9,11 +9,14 @@ Requires: dbus
|
|||||||
Requires: polkit
|
Requires: polkit
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: dbus-devel >= 1.2
|
BuildRequires: dbus-devel >= 1.2
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: polkit-devel
|
BuildRequires: polkit-devel
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
|
%{?sysusers_requires_compat}
|
||||||
Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz
|
Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz
|
||||||
|
Source1: rtkit.sysusers
|
||||||
Patch1: rtkit-mq_getattr.patch
|
Patch1: rtkit-mq_getattr.patch
|
||||||
Patch2: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
|
Patch2: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
|
||||||
Patch3: rtkit-controlgroup.patch
|
Patch3: rtkit-controlgroup.patch
|
||||||
@ -44,21 +47,10 @@ autoreconf -fvi
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
install -Dm0644 org.freedesktop.RealtimeKit1.xml %{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
install -Dm0644 org.freedesktop.RealtimeKit1.xml %{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
||||||
|
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/rtkit.conf
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group rtkit >/dev/null 2>&1 || groupadd \
|
%sysusers_create_compat %{SOURCE1}
|
||||||
-r \
|
|
||||||
-g 172 \
|
|
||||||
rtkit
|
|
||||||
getent passwd rtkit >/dev/null 2>&1 || useradd \
|
|
||||||
-r -l \
|
|
||||||
-u 172 \
|
|
||||||
-g rtkit \
|
|
||||||
-d /proc \
|
|
||||||
-s /sbin/nologin \
|
|
||||||
-c "RealtimeKit" \
|
|
||||||
rtkit
|
|
||||||
:;
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post rtkit-daemon.service
|
%systemd_post rtkit-daemon.service
|
||||||
@ -80,8 +72,12 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk
|
|||||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
||||||
%{_prefix}/lib/systemd/system/rtkit-daemon.service
|
%{_prefix}/lib/systemd/system/rtkit-daemon.service
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
%{_sysusersdir}/rtkit.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 16 2024 Michal Sekletar <msekleta@redhat.com> - 0.11-29
|
||||||
|
- migrate rtkit to systemd-sysusers (RHEL-5843)
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.11-28
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.11-28
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user