|
|
e26ec72 |
Name: cups-pk-helper
|
|
|
85c258d |
Version: 0.1.3
|
|
|
cf88552 |
Release: 4%{?dist}
|
|
|
e26ec72 |
Summary: A helper that makes system-config-printer use PolicyKit
|
|
|
e26ec72 |
|
|
|
e26ec72 |
Group: System Environment/Base
|
|
|
e26ec72 |
License: GPLv2+
|
|
|
e26ec72 |
URL: http://www.vuntz.net/download/cups-pk-helper/
|
|
|
bd1152b |
Source0: http://cgit.freedesktop.org/cups-pk-helper/snapshot/cups-pk-helper-%{version}.tar.bz2
|
|
|
e26ec72 |
|
|
|
85c258d |
Patch0: cups-pk-helper-check-mechanism.patch
|
|
|
89194c7 |
Patch1: cups-pk-helper-add-printer-ppd-optional.patch
|
|
|
89194c7 |
Patch2: polkit_result.patch
|
|
|
89194c7 |
Patch3: allow_authentication.patch
|
|
|
0ba617a |
Patch4: cups-pk-helper-requesting-user-name.patch
|
|
|
cf88552 |
Patch5: cups-pk-helper-CVE-2012-4510.patch
|
|
|
85c258d |
|
|
|
7b9510f |
BuildRequires: libtool >= 1.4.3
|
|
|
e26ec72 |
BuildRequires: cups-devel >= 1.2
|
|
|
e26ec72 |
BuildRequires: python-devel >= 2.4
|
|
|
e26ec72 |
BuildRequires: glib2-devel >= 2.14.0
|
|
|
e26ec72 |
BuildRequires: gtk2-devel >= 2.12.0
|
|
|
e26ec72 |
BuildRequires: dbus-glib-devel >= 0.74
|
|
|
7b9510f |
BuildRequires: polkit-devel >= 0.92
|
|
|
7b9510f |
BuildRequires: polkit-gnome >= 0.92
|
|
|
e26ec72 |
BuildRequires: intltool >= 0.40.0
|
|
|
e26ec72 |
BuildRequires: gettext-devel >= 0.17
|
|
|
7b9510f |
BuildRequires: gnome-common >= 2.26
|
|
|
6b4cb6d |
BuildRequires: autoconf automake libtool
|
|
|
e26ec72 |
|
|
|
e26ec72 |
Requires: python >= 2.4
|
|
|
19f4fe8 |
Requires: cups-libs >= 1.2
|
|
|
19f4fe8 |
Requires: dbus >= 1.2
|
|
|
19f4fe8 |
Requires: dbus-glib >= 0.74
|
|
|
19f4fe8 |
Requires: glib2 >= 2.14.0
|
|
|
e26ec72 |
|
|
|
e26ec72 |
|
|
|
e26ec72 |
%description
|
|
|
e26ec72 |
cups-pk-helper is an application which makes cups configuration
|
|
|
e26ec72 |
interfaces available under control of PolicyKit.
|
|
|
e26ec72 |
|
|
|
e26ec72 |
%prep
|
|
|
e26ec72 |
%setup -q
|
|
|
e26ec72 |
|
|
|
85c258d |
%patch0 -p1 -b .check-mechanism
|
|
|
89194c7 |
%patch1 -p1 -b .ppd
|
|
|
89194c7 |
%patch2 -p1 -b .polkit-result
|
|
|
89194c7 |
%patch3 -p1 -b .allow_auth
|
|
|
0ba617a |
%patch4 -p1 -b .requesting-user-name
|
|
|
cf88552 |
%patch5 -p1 -b .CVE-2012-4510
|
|
|
89194c7 |
|
|
|
85c258d |
|
|
|
e26ec72 |
%build
|
|
|
6b4cb6d |
# grr, tarball without configure
|
|
|
6b4cb6d |
./autogen.sh
|
|
|
7b9510f |
|
|
|
e26ec72 |
%configure
|
|
|
e26ec72 |
make %{?_smp_mflags}
|
|
|
e26ec72 |
|
|
|
e26ec72 |
|
|
|
e26ec72 |
%install
|
|
|
e26ec72 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
e26ec72 |
|
|
|
e26ec72 |
|
|
|
6b4cb6d |
%find_lang %{name}
|
|
|
e26ec72 |
|
|
|
6b4cb6d |
%files -f %{name}.lang
|
|
|
e26ec72 |
%defattr(-,root,root,-)
|
|
|
e26ec72 |
%{_libexecdir}/cups-pk-helper-mechanism
|
|
|
e26ec72 |
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
|
|
|
e26ec72 |
%{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
|
|
|
7b9510f |
%{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
|
|
|
e26ec72 |
%doc AUTHORS COPYING NEWS
|
|
|
e26ec72 |
|
|
|
e26ec72 |
|
|
|
e26ec72 |
|
|
|
e26ec72 |
%changelog
|
|
|
cf88552 |
* Tue Oct 23 2012 Marek Kasik <mkasik@redhat.com> - 0.1.3-4
|
|
|
cf88552 |
- Fix a bunch of issues when getting/putting a file from cups
|
|
|
cf88552 |
- This fix changes behaviour of method FileGet, it needs to have the
|
|
|
cf88552 |
- target file created in advance (part of the security fix).
|
|
|
cf88552 |
- Resolves: #865815 (CVE-2012-4510)
|
|
|
cf88552 |
|
|
|
0ba617a |
* Thu Oct 27 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-3
|
|
|
0ba617a |
- Set requesting-user-name for IPP_GET_JOB_ATTRIBUTES
|
|
|
0ba617a |
- Resolves: #743886
|
|
|
0ba617a |
|
|
|
89194c7 |
* Fri Sep 2 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-2
|
|
|
89194c7 |
- Make ppd-name parameter optional
|
|
|
89194c7 |
- Readd patch for allowing authentication for any and inactive users
|
|
|
89194c7 |
- Readd patch for check of result of polkit authorization check
|
|
|
89194c7 |
- Resolves: #724959
|
|
|
89194c7 |
|
|
|
85c258d |
* Fri Aug 5 2011 Marek Kasik <mkasik@redhat.com> - 0.1.3-1
|
|
|
85c258d |
- Update to 0.1.3
|
|
|
85c258d |
- Fix #724959
|
|
|
85c258d |
|
|
|
bd1152b |
* Wed Mar 23 2011 Marek Kasik <mkasik@redhat.com> - 0.1.2-1
|
|
|
bd1152b |
- Update to 0.1.2
|
|
|
bd1152b |
|
|
|
6b4cb6d |
* Thu Mar 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.1-1
|
|
|
6b4cb6d |
- Update to 0.1.1
|
|
|
6b4cb6d |
- Drop accumulated upstreamed patches
|
|
|
6b4cb6d |
|
|
|
21c44ac |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-14
|
|
|
21c44ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
21c44ac |
|
|
|
42eb3ef |
* Mon Mar 22 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-13
|
|
|
42eb3ef |
- Add JobCancelPurge method
|
|
|
42eb3ef |
- Related: #548756
|
|
|
42eb3ef |
|
|
|
d2cba1d |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-12
|
|
|
d2cba1d |
- Avoid timeout on job-related methods for invalid jobs
|
|
|
d2cba1d |
- Make sure to return an error via dbus in case of failure
|
|
|
d2cba1d |
- Remove a small leak
|
|
|
d2cba1d |
- Resolves: #548790
|
|
|
d2cba1d |
|
|
|
1d72983 |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-11
|
|
|
1d72983 |
- Make cph_cups_job_get_status() efficient
|
|
|
1d72983 |
- Resolves: #548771
|
|
|
1d72983 |
|
|
|
2b8dc83 |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-10
|
|
|
2b8dc83 |
- Fix adding of printers without specification of ppd-name.
|
|
|
2b8dc83 |
- Patch by Tim Waugh.
|
|
|
2b8dc83 |
- Resolves: #545452
|
|
|
2b8dc83 |
|
|
|
56d012e |
* Tue Feb 23 2010 Marek Kasik <mkasik@redhat.com> - 0.0.4-9
|
|
|
56d012e |
- Allow inactive users and any user to authenticate
|
|
|
56d012e |
- Resolves: #543085
|
|
|
56d012e |
|
|
|
1807628 |
* Wed Sep 30 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-8
|
|
|
1807628 |
- Fix adding of printers without specification of device-uri.
|
|
|
1807628 |
- Patch by Tim Waugh.
|
|
|
1807628 |
- Resolves: #526442
|
|
|
1807628 |
|
|
|
1ffb7f5 |
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-7
|
|
|
1ffb7f5 |
- Fix policies to check when editing a job.
|
|
|
1ffb7f5 |
|
|
|
0fcca97 |
* Tue Aug 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-6
|
|
|
0fcca97 |
- Check result of polkit_authority_check_authorization_sync() for NULL.
|
|
|
0fcca97 |
|
|
|
9f092f3 |
* Thu Aug 13 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-5
|
|
|
9f092f3 |
- Add parameters to DevicesGet method.
|
|
|
9f092f3 |
|
|
|
e3be48c |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-4
|
|
|
e3be48c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e3be48c |
|
|
|
32e6601 |
* Thu Jul 16 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-3
|
|
|
32e6601 |
- Add devices_get() function.
|
|
|
32e6601 |
|
|
|
7b9510f |
* Thu Jun 18 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-2
|
|
|
7b9510f |
- Update to polkit-1
|
|
|
7b9510f |
|
|
|
19f4fe8 |
* Tue Mar 31 2009 Marek Kasik <mkasik@redhat.com> - 0.0.4-1
|
|
|
19f4fe8 |
- Update to 0.0.4
|
|
|
19f4fe8 |
|
|
|
3580177 |
* Fri Feb 27 2009 Marek Kasik <mkasik@redhat.com> - 0.0.3-6
|
|
|
3580177 |
- Replace job-cancel, job-restart and job-set-hold-until with job-edit
|
|
|
3580177 |
- Replace job-cancel-another-owner, job-restart-another-owner
|
|
|
3580177 |
and job-set-hold-until-another-owner with job-not-owned-edit
|
|
|
3580177 |
- Add cph_cups_job_get_status() function + some minor changes
|
|
|
3580177 |
|
|
|
0f5cda6 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
|
|
|
0f5cda6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0f5cda6 |
|
|
|
423758b |
* Fri Feb 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-4
|
|
|
423758b |
- Add ability to reconnect to CUPS server after its reload
|
|
|
423758b |
(caused by cupsAdminSetServerSettings() or cupsPutFile())
|
|
|
423758b |
|
|
|
bc1a7ab |
* Tue Jan 28 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-3
|
|
|
bc1a7ab |
- Add functions for handling jobs (JobRestart, JobCancel, JobSetHoldUntil)
|
|
|
bc1a7ab |
|
|
|
bac347e |
* Tue Jan 26 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-2
|
|
|
bac347e |
- Add handling of file:/ protocol
|
|
|
bac347e |
- Change order of checked policies so the PolicyKit asks only for
|
|
|
bac347e |
"printer-enable" policy when enabling/disabling a printer
|
|
|
bac347e |
- Change order of checked policies so the PolicyKit asks only for
|
|
|
bac347e |
"printer-set-default" policy when setting default printer
|
|
|
e26ec72 |
|
|
|
e26ec72 |
* Tue Jan 13 2009 Marek Kasik <mkasik@redhat.com> 0.0.3-1
|
|
|
e26ec72 |
- Initial spec file.
|