| |
@@ -6,7 +6,7 @@
|
| |
Summary: An authorization framework
|
| |
Name: polkit
|
| |
Version: 0.120
|
| |
- Release: 3%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
License: LGPLv2+
|
| |
URL: http://www.freedesktop.org/wiki/Software/polkit
|
| |
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
| |
@@ -31,9 +31,15 @@
|
| |
BuildRequires: libtool
|
| |
%endif
|
| |
|
| |
- Requires: dbus, polkit-pkla-compat
|
| |
+ Requires: dbus
|
| |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
| |
|
| |
+ # Compatibilty with pkexec depending applications
|
| |
+ Recommends: polkit-pkexec
|
| |
+
|
| |
+ # Compatibilty with pkla file format from polkit <= 0.105
|
| |
+ Recommends: polkit-pkla-compat
|
| |
+
|
| |
Requires(pre): shadow-utils
|
| |
Requires(post): systemd
|
| |
Requires(preun): systemd
|
| |
@@ -60,6 +66,12 @@
|
| |
used for allowing unprivileged processes to speak to privileged
|
| |
processes.
|
| |
|
| |
+ %package pkexec
|
| |
+ Summary: pkexec SetUID binary for legacy polkit support
|
| |
+
|
| |
+ %description pkexec
|
| |
+ pkexec SetUID binary for legacy polkit support.
|
| |
+
|
| |
%package devel
|
| |
Summary: Development files for polkit
|
| |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
| |
@@ -135,7 +147,9 @@
|
| |
|
| |
%files -f polkit-1.lang
|
| |
%doc COPYING NEWS README
|
| |
- %{_datadir}/man/man1/*
|
| |
+ %{_datadir}/man/man1/pkaction*
|
| |
+ %{_datadir}/man/man1/pkcheck*
|
| |
+ %{_datadir}/man/man1/pkttyagen*
|
| |
%{_datadir}/man/man8/*
|
| |
%{_datadir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
|
| |
%{_datadir}/dbus-1/system-services/*
|
| |
@@ -155,9 +169,13 @@
|
| |
%{_prefix}/lib/polkit-1/polkitd
|
| |
|
| |
# see upstream docs for why these permissions are necessary
|
| |
- %attr(4755,root,root) %{_bindir}/pkexec
|
| |
%attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
| |
|
| |
+ %files pkexec
|
| |
+ # see upstream docs for why these permissions are necessary
|
| |
+ %attr(4755,root,root) %{_bindir}/pkexec
|
| |
+ %{_datadir}/man/man1/pkexec*
|
| |
+
|
| |
%files devel
|
| |
%{_libdir}/lib*.so
|
| |
%{_libdir}/pkgconfig/*.pc
|
| |
@@ -176,6 +194,10 @@
|
| |
%{_libdir}/girepository-1.0/*.typelib
|
| |
|
| |
%changelog
|
| |
+ * Mon Feb 14 2022 Timothée Ravier <tim@siosm.fr> - 0.120-4
|
| |
+ - Make polkit-pkla-compat a Recommends
|
| |
+ - Move pkexec to a subpackage with a Recommends
|
| |
+
|
| |
* Wed Jan 26 2022 Timothée Ravier <tim@siosm.fr> - 0.120-3
|
| |
- Fix for CVE-2021-4034
|
| |
|
| |
polkit-pkla-compat has an old style /var /etc split (instead of /usr &
/etc) and is not needed anymore in most cases. Making it Recommends
keeps it installed and available by default, until we formally decide to
drop support for it, while enabling users to test removing it.