* Wed Aug 04 2010 Radek Novacek <rnovacek@redhat.com> - 0.95.1-5

- Add patch for showing "password for root" when root user is authenticating
- Related: #618543
epel9
Radek Novacek 15 years ago
parent 939469cf64
commit ab587d97ba

@ -0,0 +1,14 @@
Index: agent/policykitlistener.cpp
===================================================================
--- agent/policykitlistener.cpp (revision 1159031)
+++ agent/policykitlistener.cpp (working copy)
@@ -158,7 +158,8 @@
kDebug() << "Request: " << request;
if (m_dialog) {
- m_dialog->setRequest(request, echo);
+ m_dialog->setRequest(request, m_selectedUser &&
+ m_selectedUser->toString() == "unix-user:root");
}
}

@ -1,6 +1,6 @@
Name: polkit-kde
Version: 0.95.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: PolicyKit integration for KDE Desktop
Group: Applications/System
@ -12,6 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
## upstreamable patches
Patch50: polkit-kde-1-0.95.1-ImplicitDSOLinking.patch
# Already in kde svn
Patch51: polkit-kde-1_root-password.patch
BuildRequires: kdelibs4-devel
BuildRequires: polkit-qt-devel >= 0.95
@ -32,6 +34,7 @@ Provides Policy Kit Authentication Agent that nicely fits to KDE.
%setup -q -n polkit-kde-1-%{version}
%patch50 -p1 -b .ImplicitDSOLinking
%patch51 -p0
%build
@ -65,6 +68,10 @@ rm -rf %{buildroot}
%changelog
* Wed Aug 04 2010 Radek Novacek <rnovacek@redhat.com> - 0.95.1-5
- Add patch for showing "password for root" when root user is authenticating
- Related: #618543
* Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
- FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)

Loading…
Cancel
Save