parent
71ab25b460
commit
29cb2e15e4
11
cups-pk-helper-requesting-user-name.patch
Normal file
11
cups-pk-helper-requesting-user-name.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- cups-pk-helper-0.1.3/src/cups.c 2011-10-27 14:02:04.000000000 +0200
|
||||||
|
+++ cups-pk-helper-0.1.3/src/cups.c 2011-10-27 14:39:06.000000000 +0200
|
||||||
|
@@ -2209,6 +2209,8 @@ cph_cups_job_get_status (CphCups *cup
|
||||||
|
"requested-attributes", 1, NULL, attrs);
|
||||||
|
|
||||||
|
resource_char = _cph_cups_get_resource (CPH_RESOURCE_ROOT);
|
||||||
|
+ ippAddString (request, IPP_TAG_OPERATION, IPP_TAG_NAME,
|
||||||
|
+ "requesting-user-name", NULL, cupsUser ());
|
||||||
|
reply = cupsDoRequest (cups->priv->connection,
|
||||||
|
request, resource_char);
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: cups-pk-helper
|
Name: cups-pk-helper
|
||||||
Version: 0.1.3
|
Version: 0.1.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A helper that makes system-config-printer use PolicyKit
|
Summary: A helper that makes system-config-printer use PolicyKit
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -12,6 +12,7 @@ Patch0: cups-pk-helper-check-mechanism.patch
|
|||||||
Patch1: cups-pk-helper-add-printer-ppd-optional.patch
|
Patch1: cups-pk-helper-add-printer-ppd-optional.patch
|
||||||
Patch2: polkit_result.patch
|
Patch2: polkit_result.patch
|
||||||
Patch3: allow_authentication.patch
|
Patch3: allow_authentication.patch
|
||||||
|
Patch4: cups-pk-helper-requesting-user-name.patch
|
||||||
|
|
||||||
BuildRequires: libtool >= 1.4.3
|
BuildRequires: libtool >= 1.4.3
|
||||||
BuildRequires: cups-devel >= 1.2
|
BuildRequires: cups-devel >= 1.2
|
||||||
@ -44,6 +45,7 @@ interfaces available under control of PolicyKit.
|
|||||||
%patch1 -p1 -b .ppd
|
%patch1 -p1 -b .ppd
|
||||||
%patch2 -p1 -b .polkit-result
|
%patch2 -p1 -b .polkit-result
|
||||||
%patch3 -p1 -b .allow_auth
|
%patch3 -p1 -b .allow_auth
|
||||||
|
%patch4 -p1 -b .requesting-user-name
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -71,6 +73,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 27 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-3
|
||||||
|
- Set requesting-user-name for IPP_GET_JOB_ATTRIBUTES
|
||||||
|
- Resolves: #743886
|
||||||
|
|
||||||
* Fri Sep 2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
|
* Fri Sep 2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
|
||||||
- Make ppd-name parameter optional
|
- Make ppd-name parameter optional
|
||||||
- Readd patch for allowing authentication for any and inactive users
|
- Readd patch for allowing authentication for any and inactive users
|
||||||
|
Loading…
Reference in New Issue
Block a user