Up to [cvs.NetBSD.org] / pkgsrc / security / polkit
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
polkit: update to 128. All pkgsrc patches were merged upstream. ## polkit 128 ### Highlights: - fix two authentication-helper input vulnerabilities (CVE-2026-4897 and CVE-2026-85498) [7e122c8, eea1729] - sanitize values written to syslog from authorization requests [9dca831] - fix a use-after-free in the authentication agent's session handling [6f3cec7] - revalidate the administrator behind cached `auth_admin_keep` authorizations [9a49bd6] - fix agent cleanup races, resource leaks, and several error-path leaks [148422b, 4e67dde, 8ceeed8, ac4d9ac, dae50d6] - support systemd watchdog notifications and locked system accounts with systemd 257+ [b3492d5, 13276c1] - improve FreeBSD and Solaris portability, including tests without Linux user namespaces [c3aefa7, 3111583, 72c2878, 0453c24] - add Kazakh, Serbian, and Serbian Latin translations; update Slovenian [6fe59cd, 8a797e5, 0d87075] - add a polkit-agent-helper manual page and expand contributor documentation [5195b3a, 3ee2927, 935f9cd, 46df56e, d3ba690] - remove the systemd service memory limits introduced in polkit 127 [44365bb]
polkit: update to 127. ## polkit 127 ### Highlights: - socket-activated polkit-agent-helper can now run without SETUID (Luca Boccassi) - user id (UID) now accessible to JavaScript rules via subject.uid (Rosentti, Jan Rybar) - INI config file support for polkitd with configurable auth expiration timer (Luca Boccassi) - auth_keep: skip re-authentication if new process shares same UID/parent/cgroup/tty (Luca Boccassi) - CheckAuthorization now returns 'polkit.result' in the details dict (Luca Boccassi) - pkexec: set $SUDO_UID/$SUDO_GID for compatibility with sudo (Lennart Poettering) - pkexec: use realpath when comparing org.freedesktop.policykit.exec.path (Walter Doekes) - memory limits added to systemd unit to mitigate memory leaks (Alexander Meshcheryakov) - new translations: Bulgarian (twlvnn kraftwerk), Occitan (Mejans)
polkit: updated to 126 polkit 126 Highlights: - many code fixes detected either by CI or the author himself (Frantisek Sumsal) - shellcheck and dependabot integration (Jan Macku) - search for rules in /usr/local/share rather than /usr/local/lib (Luca Boccassi) - Implement LogControl1 protocol for dynamic log level changes (Luca Boccassi) - read actions also from /etc/, /run/ and /usr/local/share/ (Luca Boccassi) - mozjs dropped in favor of duktape (Xi Ruoyao) - many other fixes in build system and polkit code (Many thanks to all the authors.)
polkit: update to 121.
## polkit 121
### Highlights:
- new versioning
- duktape added as backend JS engine
- autotools build system removed
- new translations
### Changes since polkit 0.120:
* Simon McVittie
* meson and testsuite fixes
* Bastien Nocera
* add ability to create policyconfig-1.dtd file
* Xi Ruoyao
* port to newer mozjs-91, jsauthority tweaks
* Wu Xiaotian and Gustavo Lima Chaves
* Add duktape as javascript engine
* Nathan Follens
* Dutch translation
* Daniel E
* duktape fixup
* Fabrice Fontaine
* fix build without C++
* Dan Nicholson
* fixup in group permision checking (backend)
* Phaedrus Leeds
* typo fix
* Adrian Vovk
* add option (--keep-cwd) for pkexec
* Matt Turner
* Allow --version and --help even if not setuid root
* Benedikt Ames
* fixes in polkitagent
* Vincent Mihalkovic
* development support
polkit: remove introspection option, enabling it by default It was default-on, but bump PKGREVISION to be on the safe side for those who disabled it.
polkit: update to 0.120.
--------------
polkit 0.120
--------------
Changes since polkit 0.119:
Inigo Martinez:
transition from Intltool to gettext
Simon McVittie:
several tarball, meson and pipeline fixups
Hugo Carvalho:
Portuguese translation
Sergiu Bivol:
Romanian translation
polkit: update to 0.119.
Fix some pkglint, including renaming a patch to match the file it applies
to.
This is polkit 0.119.
Highlights:
meson build system added
CVE-2021-3560 mitigation
Build requirements
glib, gobject, gio >= 2.32
mozjs-78
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.118:
Inigo Martinez:
meson build system added alongside autotools (many thanks!!)
Matthias Classen:
properties in text listener
René Genz:
typos fixups
Balázs Úr:
Update Hungarian translation
Hendrik Werner:
meson post-install script mod to avoid calling external processes
Kevin Backhouse, Jan Rybar:
CVE-2021-3560 mitigation
Many thanks to all contributors!
Jan Rybar et al.,
June 3, 2021
polkit: update to 0.118.
--------------
polkit 0.118
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.118.
Highlights:
move to mozjs78
tarball CI fix
Build requirements
glib, gobject, gio >= 2.32
mozjs-78
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.117:
Xi Ruoyao:
tarball fixup for distcheck
Valentin David:
updated dependency to mozjs78
Many thanks to all contributors!
Jan Rybar et al.,
September 8, 2020
--------------
polkit 0.117
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.117.
Highlights:
Gitlab CI activation - all merge requests are tested before merged
New Norwegian translation, several other language updates
Build requirements
glib, gobject, gio >= 2.32
mozjs-68
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.116:
Bastien Nocera:
Activated Gitlab CI
Xi Ruoyao:
Updated dependency to mozjs68
Kalev Lember, Jan Rybar
Memory management fixes
Anders Jonsson, Karl Ove Hufthammer, Andika Triwidada, Yuri Chornoivan:
Language updates
Many thanks to all contributors!
Jan Rybar et al.,
July 24, 2020
polkit: update to 0.116.
This is polkit 0.116.
Highlights:
Fix of CVE-2018-19788, high UIDs caused overflow in polkit;
Fix of CVE-2019-6133, kernel vulnerability (Slowfork) allowed local privilege escalation.
Changes since polkit 0.115:
Kyle Walker:
Leaking zombie child processes
Jan Rybar:
Possible resource leak found by static analyzer
Output messages tuneup
Sanity fixes
pkttyagent tty echo disabled on SIGINT
Ray Strode:
HACKING: add link to Code of Conduct
Philip Withnall:
polkitbackend: comment typos fix
Zbigniew Jędrzejewski-Szmek:
configure.ac: fix detection of systemd with cgroups v2
CVE-2018-19788 High UIDs overflow fix
Colin Walters:
CVE-2019-6133 Slowfork vulnerability fix
Matthew Leeds:
Allow unset process-uid
Emmanuele Bassi
Port the JS authority to mozjs-60
Göran Uddeborg:
Use JS_EncodeStringToUTF8
Many thanks to all contributors!
Jan Rybar et al.,
April 25, 2019
polkit: update to 0.114.
--------------
polkit 0.114
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.114.
Highlights:
Port to mozjs 52, the latest version of the firefox JavaScript engine.
Add gettext support for policy files
Fixes for various memory leaks
Build requirements
glib, gobject, gio >= 2.32
mozjs-52
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.113:
Anders Jonsson (2):
pkcheck: fix man typos
Add Swedish translation
Antoine Jacoutot (1):
Add support for OpenBSD
Christian Kirbach (1):
Add German translation
Colin Walters (3):
build: Pull in GCC warning infra from ostree
build: Use AC_USE_SYSTEM_EXTENSIONS
tests: Correct boundary test for overflow
Dariusz Gadomski (2):
Fix multi-line pam text info.
Refactor send_to_helper usage
Gabor Kelemen (1):
Add initial Hungarian translation, and add hu to LINGUAS
Jeremy Linton (5):
change mozjs interface module to c++
Switch to hard requiring mozjs24
Fix warnings caused by building with C++
Replace autocompartment
test: Add a test case to handle actions without explicit rules
Jiří Klimeš (1):
trivial: fix deprecated indication for polkit_agent_register_listener()
Matthias Clasen (1):
Add gettext support for .policy files
Miloslav Trmač (21):
Post-release version bump to 0.114
Consistently use HAVE_NETGROUP_H instead of HAVE_OPENBSD
Fix a memory leak of PolkitAgentListener's Server object
Remove polkitbackendconfigsource.[ch]
Add Slovak translation by Dusan Kazik <prescott66@gmail.com>
Add Indonesian translation by Andika Triwidada
Add Chinese (Taiwan) translation
Fix a typo in polkit(8)
Simplify GVariant reference counting
Fix a memory leak on an error path of lookup_asv (twice)
Fix a memory leak in server_handle_register_authentication_agent_with_options
Fix a memory leak in server_handle_unregister_authentication_agent
Fix a memory leak in server_handle_authentication_agent_response{,2}
Fix memory leaks in server_handle_*_temporary_authorizations
Fix error handling in polkit_authority_enumerate_temporary_authorizations_finish
Fix a memory leak per agent authentication
Fix a memory leak on agent authentication cancellation
Audit and fix GVariant reference counting
Fix help for (pkttyagent -s)
Fix a race condition when terminating runaway_killer_thread
Move to current GLib
Mingye Wang (Arthur2e5) (1):
Add zh_CN translation
Muhammet Kara (1):
Added Turkish translation
OBATA Akio (1):
Add support for NetBSD
Peter Hutterer (1):
gettext: switch to default-translate "no"
Philip Withnall (3):
polkit: Add g_autoptr() support for GObject-derived polkit types
data: Set GIO_USE_VFS=local in the environment
polkitbackend: Fix typos in a couple of initialisation error messages
Piotr Drąg (1):
Add Polish translation
Rafael Fontenelle (1):
Add Brazilian Portuguese translation
Ray Strode (34):
configure: bump mozjs requirement to 52
jsauthority: fix how classes are defined
jsauthority: use JS_FN instead of JS_FS
jsauthority: get rid of JSRuntime
jsauthority: change how setVersion is called
jsauthority: call JS_Init
jsauthority: call JS_InitSelfHostedCode
jsauthority: change how JIT is disabled
jsauthority: JS::SetWarningReporter instead of JS_SetErrorReporter
jsauthority: add UTF8 suffix to renamed functions
jsauthority: pass "%s" format string to report functions
jsauthority: s/JSBool/bool/
jsauthority: s/jsval/JS::Value/
jsauthority: s/JSVAL_NULL/JS::NullValue()/
jsauthority: s/JSVAL_VOID/JS::UndefinedValue()/
jsauthority: s/OBJECT_TO_JSVAL/JS::ObjectValue/
jsauthority: s/STRING_TO_JSVAL/JS::StringValue/
jsauthority: s/BOOLEAN_TO_JSVAL/JS::BooleanValue/
jsauthority: JSVAL_TO_OBJECT (o) to o.toObjectOrNull()
jsauthority: JSVAL_TO_STRING (s) to s.toString()
jsauthority: JSVAL_IS_STRING (s) to s.isString()
jsauthority: JSVAL_IS_NULL (o) to o.isNull()
jsauthority: Fix up JS_CallFunctionName invocations
jsauthority: use InterruptCallback api instead of OperationCallback
jsauthority: redo how global objects are set up
jsauthority: root some locals to the context
jsauthority: adapt arguments for new JS::Compile API
jsauthority: adapt arguments for new JS_ExecuteScript API
jsauthority: use JS::Evaluate instead of JS_EvaluateScript
jsauthority: fix up set_property methods
jsauthority: stop using JS_GetStringCharsZ
jsauthority: switch from JS_ConvertArguments to JS::CallArgsFromVp
jsauthority: re-enable JIT
Port JavaScript authority to mozjs52
Rui Matos (1):
polkitpermission: Fix a memory leak on authority changes
Sebastien Bacher (1):
Support polkit session agent running outside user session
Stef Walter (2):
polkitagent: Fix access after dereference on hashtable
polkitagent: No double warnings in polkit_agent_listener_register()
Sven Eden (1):
configure: enable elogind support in PolicyKit
Yuri Chornoivan (1):
Add Ukrainian translation
enkore (1):
Fix abnomal formatting of authentication header lines
muzena (1):
Add hr.po
Thanks to our contributors.
Colin Walters and Miloslav Trmač,
April 2, 2017
Import polkit-0.113nb1 as security/polkit. PolicyKit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.