Commit Graph

79 Commits

Author SHA1 Message Date
Tomas Bzatek 576cdfa20a Fix a race on PolkitSubject type registration (#866718) 2013-05-29 16:43:17 +02:00
Miloslav Trmač 8254063f16 Try to preserve timestamps in (make install) 2013-05-15 23:41:18 +02:00
Miloslav Trmač a32aa347c1 Ship the signature in the srpm 2013-05-15 23:41:05 +02:00
Miloslav Trmač 6585a3fd4d Use SpiderMonkey from mozjs17 instead of js 2013-05-15 23:40:51 +02:00
Miloslav Trmač 8a298159e8 Update to polkit-0.111 2013-05-15 23:40:25 +02:00
Miloslav Trmač 23670d2b6c Fix dates in %changelog 2013-05-15 22:55:51 +02:00
Miloslav Trmač c4446d1dce Stop removing files that nobody installs any more 2013-05-15 16:36:58 +02:00
Miloslav Trmač f0ed542725 Shut up rpmlint about Summary:
... and don't use header capitalization for it.
2013-05-11 01:57:18 +02:00
Miloslav Trmač 2fd403e48e Use %{_unitdir} 2013-05-11 01:57:18 +02:00
Miloslav Trmač d049388b01 Use the new systemd macros
The macros are primarily targeted at services that can be
enabled/disabled, while polkit.service is D-Bus-activated only.
However, they hide/ignore the caused failures while performing the
required daemon reloads, so we can use the same abstraction as every
other unit.
2013-05-11 01:57:18 +02:00
Miloslav Trmač 7177e8ca49 Link to a more detailed bug about not using _hardened_build 2013-05-11 01:55:17 +02:00
Miloslav Trmač 8539d5f074 Build with V=1 2013-05-11 01:55:17 +02:00
Miloslav Trmač 9a3f451f5c Add Requires: polkit-pkla-compat
We want this compatibility, and want polkit behavior to be
unconditionally consistent.
2013-05-11 01:55:17 +02:00
Miloslav Trmač f2aab851e3 Make the JavaScript engine mandatory
The polkit-js-engine package has been removed, main polkit package
Provides:polkit-js-engine for compatibility.

We want polkit's behavior to be unconditionally consistent.
2013-05-11 01:55:17 +02:00
Miloslav Trmač 6b37bb7853 Don't ship pk-example-frobnicate in the "live" configuration 2013-02-14 14:31:39 +01:00
Miloslav Trmač bfbf3d20eb Own polkit-js-engine's subdirectory in %{_docdir} 2013-02-09 01:07:23 +01:00
David Zeuthen 1e1164982b Update to upstream release 0.110 2013-01-09 15:11:15 -05:00
Matthias Clasen 7877d139a1 Harden the build the hard way 2013-01-07 19:43:29 -05:00
David Zeuthen 077fefe49f Update to upstream release 0.109
- Drop upstreamed patches
2012-12-19 10:12:09 -05:00
David Zeuthen 75c0e048b8 Attempt to open the correct libmozjs185 library, otherwise polkit
authz rules will not work unless js-devel is installed (fdo #57146)
2012-11-15 10:16:46 -05:00
David Zeuthen f0e882c5bd Include gmodule-2.0 to avoid build error 2012-11-14 14:34:17 -05:00
David Zeuthen b0678ca050 Update to upstream release 0.108
- Drop upstreamed patches
- This release dynamically loads the JavaScript interpreter and can
  cope with it not being available. In this case, polkit authorization
  rules are not processed and the defaults for an action - as defined
  in its .policy file - are used for authorization decisions.
- Add new meta-package, polkit-js-engine, that pulls in the required
  JavaScript bits to make polkit authorization rules work. The default
  install - not the minimal install - should include this package
2012-11-14 14:15:33 -05:00
Adam Jackson b885f75196 Don't crash if initializing the server object fails 2012-10-10 09:35:04 -04:00
David Zeuthen 952de8f0b2 Authenticate as root if e.g. the wheel group is empty (#834494) 2012-09-18 14:56:20 -04:00
Dennis Gilmore afd4b1dd7d Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-27 01:10:09 -05:00
David Zeuthen 8d393f4039 Update to upstream release 0.107 2012-07-11 13:38:33 -04:00
David Zeuthen 5f25a246a3 Add forgotten Requires(pre): shadow-utils 2012-06-29 17:25:00 -04:00
David Zeuthen 413036b7c7 * Thu Jun 07 2012 David Zeuthen <davidz@redhat.com> 0.106-1.fc18
- Update to upstream release 0.106
- Authorizations are no longer controlled by .pkla files - from now
  on, use the new .rules files described in the polkit(8) man page
2012-06-07 14:05:54 -04:00
David Zeuthen 0fee849c09 Update to upstream release 0.105
- Nuke patches that are now upstream
- Change 'PolicyKit' to 'polkit' in summary and descriptions
2012-04-24 13:01:14 -04:00
Matthias Clasen 7e59d9c3e6 Make docs noarch
(cherry-picked commit b966034 to sync with the f17 branch)
2012-03-19 19:17:08 +02:00
David Zeuthen fac5a3ac3f Don't leak file descriptors (bgo #671486) 2012-03-08 15:40:59 -05:00
David Zeuthen 7c11f9067d Set error if we cannot obtain a PolkitUnixSession for a given PID (#787222) 2012-02-06 12:44:21 -05:00
Dennis Gilmore c9ceddfc94 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:06:32 -06:00
David Zeuthen c51db25882 Nuke the ConsoleKit run-time requirement 2012-01-03 12:30:05 -05:00
David Zeuthen e32bdfd698 Update to upstream release 0.104
Force usage of systemd (instead of ConsoleKit) for session tracking
2012-01-03 12:06:44 -05:00
David Zeuthen cdaf292035 Update to upstream release 0.103
Drop upstreamed patch
Drop Fedora-specific policy, it is now upstream (fdo #41008)
2011-12-06 11:03:28 -05:00
Dennis Gilmore a85c68b0b8 - Rebuilt for glibc bug#747377 2011-10-26 19:18:49 -05:00
David Zeuthen 97786661cf Add patch to neuter the annoying systemd behavior where stdout/stderr
is sent to the system logs

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-10-18 13:38:42 -04:00
David Zeuthen 3ea6658904 Update to 0.102 release
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-08-04 09:54:20 -04:00
Bastien Nocera 771990a139 Allow setting the pretty hostname without a password for wheel,
change matches systemd in git
2011-05-13 13:32:22 +01:00
Matthias Clasen 92a12ffa5c sync with f15 2011-05-02 11:16:38 -04:00
David Zeuthen bd04106e8b CVE-2011-1485 (#697951) 2011-04-19 15:11:18 -04:00
Kevin Kofler a722fc673c Release++ 2011-03-22 18:46:31 +01:00
Kevin Kofler fb2802ef27 * Tue Mar 22 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.101-4
- Also allow org.kde.kcontrol.kcmclock.save without password for wheel

We're already allowing org.gnome.clockapplet.mechanism.*, so this doesn't
change any actual policy decisions. It just makes what works under GNOME also
work under KDE.

(And yes, we will be dragging in polkit-desktop-policy for KDE too in F15.)
2011-03-22 18:43:45 +01:00
David Zeuthen f3deafcad2 Fix typo in pkla file (thanks notting) 2011-03-17 10:52:48 -04:00
David Zeuthen 9fa422d544 Nuke desktop_admin_r and desktop_user_r groups - just use the
wheel group instead (#688363)
Update the set of configuration directives that gives users
in the wheel group extra privileges
2011-03-17 10:41:49 -04:00
David Zeuthen b834027a7c New upstream version 2011-03-03 14:00:44 -05:00
David Zeuthen d9e135d980 - New upstream version 2011-02-21 18:01:08 -05:00
Dennis Gilmore e512ff0aba - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 09:40:13 -06:00
Matthias Clasen afaf02f56d fix dir ownership 2011-01-28 13:56:06 -05:00