Commit Graph

158 Commits

Author SHA1 Message Date
Miloslav Trmač
21dddc3a15 Bump Release: and restore reverted %changelog entries 2017-04-04 21:58:38 +02:00
Miloslav Trmač
e81b80a9ee Revert "Use %%license, license needs to be in -libs as it's the only guaranteed installed package, Move to mozjs38, Other upstream fixes, Spec cleanups"
This reverts commit 53c8f9ed7f.

The mozjs38 patch does not work at all,
https://bugzilla.redhat.com/show_bug.cgi?id=1438086 :
> Successfully changed to user polkitd
> 20:58:16.881: <no filename>:0: can't open init.js: No such file or directory

Hence, restoring to a working state.
2017-04-04 21:58:07 +02:00
Miloslav Trmač
b7c4dbbf46 Revert "restore Provides: polkit-desktop-policy polkit-js-engine"
This reverts commit 735585c142.

The -7 change will be reverted as well, restoring the original Provides:
by another means.
2017-04-04 21:57:52 +02:00
Miloslav Trmač
e2917226cb Revert "Move to an upstream snapshot, rebase patches"
This reverts commit 85e785c922.

That commit breaks the build with
> configure: error: libsystemd autoconfigured, but system does not appear to use systemd
when running ./autogen.sh, which implicitly runs ./configure.
2017-04-04 21:57:35 +02:00
Miloslav Trmač
45d9d07563 Revert "Update mozjs38 patch"
This reverts commit 52aeecd450.

The updated patch is still not correct enough, namely it processes cases
where the JS .rules do not provide an answer and the “implicit” value
should be returned incorrectly.
2017-04-04 21:56:55 +02:00
Peter Robinson
52aeecd450 Update mozjs38 patch 2017-04-04 20:16:50 +01:00
Peter Robinson
85e785c922 Move to an upstream snapshot, rebase patches 2017-04-04 17:07:08 +01:00
Rex Dieter
735585c142 restore Provides: polkit-desktop-policy polkit-js-engine 2017-03-31 11:09:26 -05:00
Peter Robinson
53c8f9ed7f Use %%license, license needs to be in -libs as it's the only guaranteed installed package, Move to mozjs38, Other upstream fixes, Spec cleanups 2017-03-30 18:50:11 +01:00
Miloslav Trmač
fcbd678dee Fix memory leaks when calling authentication agents 2017-02-13 17:49:35 +01:00
Fedora Release Engineering
b6d2418168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 07:43:27 +00:00
Fedora Release Engineering
72449739ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:19:08 +00:00
Miloslav Trmač
a28dc78bfd Bump the Obsoletes: to < 0.113-3 to account for the non-split 0.113-2.fc21 2015-07-14 23:13:15 +02:00
Rex Dieter
f6926aa221 Obsoletes: polkit < 0.112-8 (handle multilib upgrade path) 2015-07-12 08:35:17 -05:00
Miloslav Trmač
485463067b Add and fix dependencies between subpackages 2015-07-10 19:03:00 +02:00
Miloslav Trmač
0e57360c4e Update to polkit-0.113 (CVE-2015-3218, CVE-2015-3255, CVE-2015-3256, CVE-2015-4625) 2015-07-02 20:37:11 +02:00
Miloslav Trmač
cf8b276464 Ensure %{_unitdir} is defined, to fix the build. 2015-06-19 03:52:49 +02:00
Dennis Gilmore
3b707439bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 15:37:11 +00:00
Rex Dieter
ddfe2e6107 0.112-9
- polkit doesn't release reference counters of GVariant data (#1180886)
- fix ldconfig scriptlets (move to -libs subpkg)
2015-01-25 13:47:21 -06:00
Colin Walters
1224d7b427 Split separate -libs package, so that NetworkManager can just depend on
that, without dragging in the daemon (as well as libmozjs17).  This
  allows the creation of more minimal systems that want programs like NM,
  but do not need the configurability of the daemon; it would be ok if only
  root is authorized.
2014-11-08 15:28:23 -05:00
Peter Robinson
a27b485ff7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 19:29:36 +00:00
Kalev Lember
17c9f1773e Rebuilt for gobject-introspection 1.41.4 2014-07-22 20:20:26 +02:00
Dennis Gilmore
996083de2a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:43:06 -05:00
Kay Sievers
56a2b8b4c5 Backport upstream D-Bus "user bus" changes 2014-06-05 11:36:59 -04:00
Miloslav Trmač
f3502e1334 Fix a PolkitAgentSession race condition 2014-02-11 11:09:04 +01:00
Miloslav Trmač
5d7095ad13 Always use mozjs-17.0 even if js-devel is installed 2013-12-07 02:36:40 +01:00
Miloslav Trmač
8778af153a Workaround pam_systemd setting broken XDG_RUNTIME_DIR 2013-12-07 02:36:29 +01:00
Miloslav Trmač
ca44eca82e Update to polkit-0.112 2013-09-18 19:39:38 +02:00
Dennis Gilmore
d731968763 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 23:48:21 -05:00
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
Matthias Clasen
e57773b9d4 enable introspection 2010-11-12 23:03:38 -05:00
David Zeuthen
0cf55d2c72 - Fix #629515 in a way that doesn't require autoreconf 2010-09-02 11:32:54 -04:00
David Zeuthen
28ce567155 - Include polkitagentenumtypes.h (#629515) 2010-09-02 11:15:28 -04:00
Matthias Clasen
387321428c 0.98 2010-08-23 19:20:11 -04:00
David Zeuthen
3f5e8d36b5 Resolve merge conflicts 2010-08-20 13:37:10 -04:00
David Zeuthen
a98bb71895 * Fri Aug 20 2010 David Zeuthen <davidz@redhat.com> - 0.98-1
- Update to upstream release 0.98
2010-08-20 13:23:51 -04:00
Matthias Clasen
c17d87e38e rebuild 2010-08-18 14:57:22 -04:00
Matthias Clasen
c1967a3fdd fix a CK interaction bug 2010-08-18 14:38:44 -04:00
David Zeuthen
2e07d21218 * Fri Aug 13 2010 David Zeuthen <davidz@redhat.com> - 0.97-3
- Add a patch to make pkcheck(1) work the way libvirtd uses it (#623257)
- Require GLib >= 2.25.12 instead of 2.25.11
- Ensure polkit-gnome packages earlier than 0.97 are not used with
  these packages
2010-08-18 14:30:34 -04:00
Matthias Clasen
e48a851cc3 Fix merge conflicts 2010-08-18 13:26:42 -04:00
Matthias Clasen
c2842a198c fix a CK interaction bug 2010-08-18 13:23:20 -04:00
David Zeuthen
63764f004b * Fri Aug 13 2010 David Zeuthen <davidz@redhat.com> - 0.97-3
- Add a patch to make pkcheck(1) work the way libvirtd uses it (#623257)
- Require GLib >= 2.25.12 instead of 2.25.11
- Ensure polkit-gnome packages earlier than 0.97 are not used with
  these packages
2010-08-13 11:23:27 -04:00
David Zeuthen
dfc7e62882 * Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-2
- Rebuild
2010-08-09 17:25:18 -04:00
David Zeuthen
19b630adfd * Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-1
- Update to 0.97. This release contains a port from EggDBus to the
  GDBus code available in recent GLib releases.
2010-08-09 17:00:35 -04:00
David Zeuthen
4946990b0c - Update to 0.96
- Disable introspection support for the time being
2010-01-15 19:35:24 +00:00
Kevin Kofler
0d720188e2 Sync from F-12:
Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-2
- Rebuild
Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-1
- Update to 0.95
- Drop upstreamed patches
Tue Oct 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.95-0.git20090913.3
- Fix a typo in pklocalauthority(8)
2010-01-08 20:37:28 +00:00
David Zeuthen
2140ac0cd4 - Refine how Obsolete: is used and also add Provides: (thanks Jesse Keating
and nim-nim)
2009-09-14 19:57:29 +00:00
David Zeuthen
bae0d5082e - Add bugfix for polkit_unix_process_new_full() (thanks Bastien Nocera)
- Obsolete old PolicyKit packages
2009-09-14 17:41:41 +00:00
David Zeuthen
188120764b - Update to git snapshot
- Drop upstreamed patches
- Turn on GObject introspection
- Don't delete desktop_admin_r and desktop_user_r groups when uninstalling
    polkit-desktop-policy
2009-09-13 19:52:31 +00:00
David Zeuthen
49848bbfdd - Add some patches from git master
- Sort pkaction(1) output
- Bug 23867 – UnixProcess vs. SystemBusName aliasing
2009-09-11 19:50:47 +00:00
David Zeuthen
406ebfe9d7 - Add desktop_admin_r and desktop_user_r groups along with a first cut of
default authorizations for users in these groups.
2009-08-13 17:56:44 +00:00