Commit Graph

96 Commits

Author SHA256 Message Date
cd6d075e79 Accepting request 898646 from home:dimstar:Factory
- Fix verifyscript: the path to the binary was wrongly defined as
  %{_libexecdir}/lib.

OBS-URL: https://build.opensuse.org/request/show/898646
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=149
2021-06-09 07:12:21 +00:00
4e6f6da3cb Accepting request 878406 from home:kukuk:branches:Base:System
- Move /etc/dbus-1/system.d to /usr/share/dbus-1/system.d, the
  first location is only for admin changes
- Move pam configuration to /usr/etc/pam.d

OBS-URL: https://build.opensuse.org/request/show/878406
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=148
2021-03-15 12:53:01 +00:00
0baef1ca5f Accepting request 860113 from home:mgerstner:branches:Base:System
move to libexec dir is still not complete:
- add polkit-adjust-libexec-path.patch: There is another hard coded reference
  of lib/ in the code that this patch addresses.
- also adjust invocation of %set_permissions and %verify_permissions to new
  libexec dir location.

OBS-URL: https://build.opensuse.org/request/show/860113
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=147
2021-01-04 10:16:58 +00:00
95fb60a5f1 Accepting request 859146 from home:mgerstner:branches:Base:System
- also set libprivdir during build, otherwhise systemd and D-Bus service files
  contain the wrong path and we'll get runtime errors.

OBS-URL: https://build.opensuse.org/request/show/859146
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=144
2020-12-29 09:02:16 +00:00
cdbba27e31 Accepting request 859031 from home:mgerstner:branches:Base:System
- Install private binaries into libexec instead of into lib. For this an
  override of the custom libprivdir variable is necessary, because upstream
  explicitly moved away from libexecdir via upstram commit
  6fbcc6cd839680fcefd81c4a43676e7c031c9859.

OBS-URL: https://build.opensuse.org/request/show/859031
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=143
2020-12-29 07:54:33 +00:00
86e89da2f9 Accepting request 843557 from home:iznogood:branches:Base:System
- Update to version 0.118:
  + Updated dependency to mozjs78.
  + Tarball fixes.
- Replace pkgconfig(mozjs-68) for pkgconfig(mozjs-78)
  BuildRequires following upstreams port.

OBS-URL: https://build.opensuse.org/request/show/843557
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=141
2020-10-27 09:39:20 +00:00
84d393c68f Accepting request 823732 from home:iznogood:branches:Base:System
New upstream release

OBS-URL: https://build.opensuse.org/request/show/823732
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=139
2020-07-31 12:03:13 +00:00
0919632dac Accepting request 752325 from home:iznogood:branches:Base:System
- Fix usage of libexecdir instead of prefix/lib where applicable.

OBS-URL: https://build.opensuse.org/request/show/752325
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=137
2019-12-05 09:19:13 +00:00
ca12638c98 Accepting request 736147 from home:msmeissn:branches:Base:System
- polkit-keyinit.patch: add pam_keyinit to the polkit configuration (bsc#1144053)

OBS-URL: https://build.opensuse.org/request/show/736147
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=135
2019-10-08 12:46:03 +00:00
66fec04ebd Accepting request 706749 from home:iznogood:branches:Base:System
New upstream release .

NOTE! -- Do not ack this until mozjs60 sub https://build.opensuse.org/request/show/706263 is acked into Factory -- Needs this change to build OK.

OBS-URL: https://build.opensuse.org/request/show/706749
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=133
2019-06-13 19:54:52 +00:00
edb824684c Accepting request 702025 from home:dimstar:Factory
- Use systemd_ordering instead of systemd_requires: strictly
  speaking, polkit does not require systemd to be present. Just
  that when we install on a system with systemd (e.g outside
  containers) we would want systemd to be present before
  installing polkit. Help also reduce a cycle without special hacks
  in systemd.spec.

OBS-URL: https://build.opensuse.org/request/show/702025
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=131
2019-05-10 14:54:03 +00:00
1d920613ed Accepting request 698177 from home:jubalh:branches:Base:System
- bsc#1130588: Require shadow instead of old pwdutils
- User proper Requires(pre)/Requires(post) for permissions and
  shadow

OBS-URL: https://build.opensuse.org/request/show/698177
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=129
2019-04-26 12:35:25 +00:00
08b20c96ba Accepting request 660356 from home:msmeissn:branches:Base:System
- polkit-CVE-2018-19788.patch: Fixed handling of UIDs over MAX_UINT
  (bsc#1118277 CVE-2018-19788)

OBS-URL: https://build.opensuse.org/request/show/660356
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=127
2018-12-20 18:04:49 +00:00
78f3f3ba95 Accepting request 629743 from home:iznogood:branches:Base:System
- Add polkit-fix-possible-resource-leak.patch: Fix possible
  resource leak found by static analyzer.
- Add polkit-fix-leaking-zombie-child-processes.patch: polkitd: fix
  zombie not reaped when js spawned process timed out (fdo#106021).

OBS-URL: https://build.opensuse.org/request/show/629743
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=125
2018-08-21 05:03:16 +00:00
9049ba1cda - Update to version 0.115:
- Fix CVE-2018-1116: Trusting client-supplied UID (bsc#1099031)
  - jsauthority: pass "%s" format string to remaining report function

OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=123
2018-07-11 10:50:47 +00:00
eb1406e636 Accepting request 595009 from home:iznogood:branches:Base:System
- Update to version 0.114:
  + Port to mozjs 52, the latest version of the firefox JavaScript
    engine.
  + Add gettext support for policy files.
  + Fixes for various memory leaks.
  + Updated translations.
- Update keyring with Ray Strode <halfline@gmail.com> public key.
- Drop with_systemd define and all conditionals and
  polkit-no-systemd.patch and ConsoleKit BuildRequires, we only
  support systemd now.
- Drop upstream fixed polkit-itstools.patch.
- Rebase pkexec.patch with quilt.
- Add gcc-c++ and pkgconfig(mozjs-52) BuildRequires: New
  dependencies.
- Drop conditional pkgconfig(mozjs-17.0) and pkgconfig(mozjs185):
  no longer supported.
- Drop autoconf and automake BuildRequires: They are implicit via
  libtool BuildRequires.
- Replace glib2-devel and gobject-introspection-devel with their
  pkgconfig counterparts: pkgconfig(gio-unix-2.0),
  pkgconfig(gmodule-2.0) and pkgconfig(gobject-introspection-1.0).
- Add polkit-jsauthority-pass-format-string.patch: jsauthority:
  pass "%s" format string to remaining report function, patch from
  upstream git, adding missed commit (bgo#105865).
- Drop polkit-revert-session-magic.patch: Upstream systemd bug is
  since a long time fixed (gh#systemd#58) (boo#954139).

OBS-URL: https://build.opensuse.org/request/show/595009
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=121
2018-04-10 08:51:08 +00:00
60f1b7fe5f Accepting request 581654 from openSUSE:Factory:RISCV
- pkexec.patch: pkexec: allow --version and --help even if not setuid

OBS-URL: https://build.opensuse.org/request/show/581654
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=119
2018-03-09 15:50:59 +00:00
0effc29d63 Accepting request 581346 from GNOME:Next
cleaned

OBS-URL: https://build.opensuse.org/request/show/581346
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=117
2018-02-28 21:45:09 +00:00
Bjørn Lie
45877daa6a Accepting request 519461 from GNOME:Next
Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/519461
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=115
2017-08-30 21:08:18 +00:00
2b176576d5 Accepting request 503447 from home:lnussel:branches:Base:System
- Use gettext as fallback to get potential distro translations for
  polkit actions. Similar mechnism as used for desktop file
  translations. That way it's possible to use weblate to add
  additional translations that are not provided by upstream
  (polkit-gettext.patch).

OBS-URL: https://build.opensuse.org/request/show/503447
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=113
2017-06-14 07:42:13 +00:00
f6c497c819 Accepting request 400659 from home:fbui:branches:Base:System
- Use pkgconfig() instead of requiring systemd package names directly.

- systemd.pc is shipped by systemd main package (bsc#983167)

OBS-URL: https://build.opensuse.org/request/show/400659
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=111
2016-06-08 11:19:35 +00:00
0740074701 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=109 2015-11-30 08:39:43 +00:00
59a096cb91 - polkit-revert-session-magic.patch: revert a session detection change
that could lead to sessions not being detected as active due to

OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=108
2015-11-26 16:49:11 +00:00
8404e7816a Accepting request 346395 from home:msmeissn:branches:Base:System
- revert a session detection change that could lead
  to sessions not being detected as active due to 
  a systemd bug. bsc#954139

OBS-URL: https://build.opensuse.org/request/show/346395
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=107
2015-11-26 16:31:33 +00:00
1f8a26dcd4 Accepting request 330108 from home:1Antoine1:branches:Base:System
- Update to 0.113:
  * Fix CVE-2015-4625
  * Fix CVE-2015-3256
  * Fix CVE-2015-3255
  * Fix CVE-2015-3218
  * On systemd-213 and later, the “active” state is shared across
    all sessions of an user, instead of being tracked separately
  * pkexec: when not given a program to execute, runs the users’
    shell by default
- Remove polkit-no-kded-leak.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/330108
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=105
2015-09-10 08:17:08 +00:00
d37eae89cf polkit: (bsc#912889)
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=103
2015-01-13 10:39:00 +00:00
Stephan Kulow
7f924cacdb Accepting request 280902 from home:scarabeus_iv:branches:Base:System
- Try to fix kded leaking due to powerdevil exposing this issue in
  polkit:
  * polkit-no-kded-leak.patch

OBS-URL: https://build.opensuse.org/request/show/280902
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=102
2015-01-13 08:51:10 +00:00
153159fb0c Accepting request 266855 from home:msmeissn:branches:Base:System
- Added gpg signature and keyring with David Zeuthen and Miloslav Trmac
  ids.

OBS-URL: https://build.opensuse.org/request/show/266855
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=100
2014-12-30 11:34:25 +00:00
ad3c9bd76e Accepting request 201040 from home:thomas-schraitle:branches:Base:System
- Fixed URL in spec file

OBS-URL: https://build.opensuse.org/request/show/201040
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=98
2013-09-27 08:51:58 +00:00
Cristian Rodríguez
9ccd36785e Accepting request 199675 from home:sumski:Base:System
Update to 0.112
Fix for CVE-2013-4288

OBS-URL: https://build.opensuse.org/request/show/199675
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=96
2013-09-19 02:38:37 +00:00
b1e2b720ce Accepting request 182299 from home:dimstar:branches:Base:System
Use mozjs-17.0 on openSUSE 13.1 - and do no longer recommend mozjs.. it's auto-detected required

OBS-URL: https://build.opensuse.org/request/show/182299
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=94
2013-07-05 12:29:07 +00:00
909a85dfd0 Accepting request 179019 from home:sumski:branches:Base:System
Update to 0.111

OBS-URL: https://build.opensuse.org/request/show/179019
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=92
2013-06-15 07:47:13 +00:00
803713b5fe Accepting request 163620 from home:sumski:branches:Base:System
Fix for automake 1.13

OBS-URL: https://build.opensuse.org/request/show/163620
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=90
2013-04-11 12:12:08 +00:00
398cb3f74f Accepting request 155760 from home:gberh:branches:Base:System
- Recommend libmozjs185-1_0 which is dlopen'ed and required for JS
  rules

OBS-URL: https://build.opensuse.org/request/show/155760
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=88
2013-02-18 22:47:20 +00:00
Vincent Untz
abf2cedbb2 Accepting request 148544 from home:vuntz:branches:Base:System
Fix patch tags

OBS-URL: https://build.opensuse.org/request/show/148544
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=86
2013-01-15 09:23:57 +00:00
Vincent Untz
615e6dd07e Accepting request 148472 from home:sumski:Base:System
Update to 0.110

OBS-URL: https://build.opensuse.org/request/show/148472
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=85
2013-01-15 09:22:38 +00:00
Vincent Untz
9b195e111a Accepting request 147754 from home:saschpe:branches:Base:System
- Only mark the following files as %config, not %config(noreplace):
  + %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
  + %{_sysconfdir}/pam.d/polkit-1
  + %{_sysconfdir}/polkit-1/rules.d/50-default.rules
  PolicyKit's own config files should only be changed for good reason
  and we want to prefer openSUSE's defaults (you still get an .rpmsafe
  file)

OBS-URL: https://build.opensuse.org/request/show/147754
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=83
2013-01-09 14:30:23 +00:00
d88aee042b Accepting request 144912 from home:dimstar:branches:Base:System
- Add polkit-libmozjs.patch: dlopen libmozjs185.so.1.0 instead of
  libmozjs185.so, which is packaged in the -devel package
  (bnc#793562)

OBS-URL: https://build.opensuse.org/request/show/144912
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=81
2012-12-10 10:13:59 +00:00
Cristian Rodríguez
28f3d8eb8c Accepting request 141508 from home:dimstar:branches:Base:System
Update to 0.108

OBS-URL: https://build.opensuse.org/request/show/141508
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=79
2012-11-16 02:04:03 +00:00
a218f1206e Accepting request 141391 from home:dimstar:branches:Base:System
Enable systemd support

OBS-URL: https://build.opensuse.org/request/show/141391
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=78
2012-11-15 10:48:44 +00:00
ffae1da866 Accepting request 140704 from home:a_jaeger:FactoryFix
Add pwdutils to prereq for groupadd and useradd

OBS-URL: https://build.opensuse.org/request/show/140704
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=76
2012-11-09 17:52:25 +00:00
fbfba8973d Accepting request 136167 from home:vuntz:branches:Base:System
Fix polkit so it can start

OBS-URL: https://build.opensuse.org/request/show/136167
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=75
2012-09-27 09:04:21 +00:00
Stephan Kulow
a2f09fa17f remove old tar
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=74
2012-09-27 07:09:28 +00:00
Stephan Kulow
db43e136e8 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=72 2012-09-27 07:08:40 +00:00
40001a8cd4 Accepting request 135837 from home:vuntz:branches:Base:System
- Use %{_localstatedir}/lib/polkit for $HOME of polkit user,
  instead of %{_libexecdir}/polkit-1. The directory is manually
  created in %install.

OBS-URL: https://build.opensuse.org/request/show/135837
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=69
2012-09-25 15:49:47 +00:00
dc94baa4ec Accepting request 134698 from home:vuntz:branches:Base:System
Update to 0.107

OBS-URL: https://build.opensuse.org/request/show/134698
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=67
2012-09-21 21:03:29 +00:00
dcb149fa57 Accepting request 131367 from home:msmeissn:branches:Base:System
- also use -z now for binary hardening

OBS-URL: https://build.opensuse.org/request/show/131367
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=65
2012-08-22 18:26:50 +00:00
Robert Milasan
c33393f8bc Accepting request 124879 from home:vuntz:branches:Base:System
Package forgotten directories

OBS-URL: https://build.opensuse.org/request/show/124879
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=63
2012-06-14 07:36:01 +00:00
eb742ebdbd Accepting request 106799 from home:vuntz:branches:Base:System
Rework -fpie/-pie fix to an upstreamable version

OBS-URL: https://build.opensuse.org/request/show/106799
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=61
2012-02-24 12:54:59 +00:00
e12f7f91c0 Accepting request 103053 from home:dlovasko:branches:Base:System
fixed bnc#743145 - added -fpie/-pie flags to compilation and linking of polkit-agent-helper and pkexec

OBS-URL: https://build.opensuse.org/request/show/103053
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=59
2012-02-09 17:05:33 +00:00