Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 940602 Details for
Bug 1145813
RFE: use polkit instead of consolehelper
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
update spec file to implement polkit changes
0004-update-spec-file-for-polkit.patch (text/plain), 3.12 KB, created by
Gene Czarcinski
on 2014-09-23 20:19:48 UTC
(
hide
)
Description:
update spec file to implement polkit changes
Filename:
MIME Type:
Creator:
Gene Czarcinski
Created:
2014-09-23 20:19:48 UTC
Size:
3.12 KB
patch
obsolete
>From 337cf81071ba51216d3f733b3191a882b55d3f1d Mon Sep 17 00:00:00 2001 >From: Gene Czarcinski <gczarcinski@ec.rr.com> >Date: Tue, 23 Sep 2014 10:15:01 -0400 >Subject: [PATCH 4/4] update spec file for polkit >Content-Type: text/plain; charset="utf-8" >Content-Transfer-Encoding: 8bit > >--- > liveusb-creator.spec | 37 ++++++++++++++++++++++++------------- > 1 file changed, 24 insertions(+), 13 deletions(-) > >diff --git a/liveusb-creator.spec b/liveusb-creator.spec >index 36111b2..e6f19d2 100644 >--- a/liveusb-creator.spec >+++ b/liveusb-creator.spec >@@ -2,7 +2,7 @@ > > Name: liveusb-creator > Version: 3.12.0 >-Release: 1%{?dist} >+Release: 1.gc01%{?dist} > Summary: A liveusb creator > > Group: Applications/System >@@ -14,11 +14,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildArch: noarch > ExcludeArch: ppc > ExcludeArch: ppc64 >+ExcludeArch: %{arm} > > BuildRequires: python-devel, python-setuptools, PyQt4-devel, desktop-file-utils gettext >-Requires: syslinux, PyQt4, usermode, isomd5sum >+Requires: syslinux, PyQt4, isomd5sum > Requires: python-urlgrabber > Requires: pyparted >= 2.0 >+Requires: syslinux-extlinux >+Requires: udisks >+Requires: polkit >+Requires: polkit-gnome > > %description > A liveusb creator from Live Fedora images >@@ -36,14 +41,18 @@ rm -rf %{buildroot} > %{__python} setup.py install -O1 --skip-build --root %{buildroot} > %{__rm} -r liveusb/urlgrabber > >-# Adjust for console-helper magic >+# program needs root, move to sbin > mkdir -p %{buildroot}%{_sbindir} > mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} >-ln -s ../bin/consolehelper %{buildroot}%{_bindir}/%{name} >-mkdir -p %{buildroot}%{_sysconfdir}/pam.d >-cp %{name}.pam %{buildroot}%{_sysconfdir}/pam.d/%{name} >-mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps >-cp %{name}.console %{buildroot}%{_sysconfdir}/security/console.apps/%{name} >+ >+# polkit stuff >+mkdir -p %{buildroot}%{_datadir}/polkit-1/actions >+%{__install} -p -m644 \ >+ org.fedoraproject.pkexec.run-liveusb-creator.policy \ >+ %{buildroot}%{_datadir}/polkit-1/actions/ >+%{__install} -p -m755 \ >+ liveusb-creator_polkit \ >+ %{buildroot}%{_bindir}/ > > desktop-file-install --vendor="fedora" \ > --dir=%{buildroot}%{_datadir}/applications \ >@@ -59,15 +68,17 @@ rm -rf %{buildroot} > %defattr(-,root,root,-) > %doc README.txt LICENSE.txt > %{python_sitelib}/* >-%{_bindir}/%{name} >-%{_sbindir}/%{name} >-%{_datadir}/applications/fedora-liveusb-creator.desktop >+%{_bindir}/* >+%{_sbindir}/* >+%{_datadir}/applications/*liveusb-creator.desktop > %{_datadir}/pixmaps/fedorausb.png > #%{_datadir}/locale/*/LC_MESSAGES/liveusb-creator.mo >-%config(noreplace) %{_sysconfdir}/pam.d/%{name} >-%config(noreplace) %{_sysconfdir}/security/console.apps/%{name} >+%{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-liveusb-creator.policy > > %changelog >+* Tue Sep 23 2014 Gene Czarcinski <gczarcinski@gmail.com> 3.12.0-1.gc01 >+- convert to using polkit (pkexec) instead of consolehelper >+ > * Wed Oct 16 2013 Luke Macken <lmacken@redhat.com> - 3.12.0-1 > - Latest upstream release > >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1145813
:
940599
|
940600
|
940601
| 940602