Page MenuHomeFreeBSD

sysutils/polkit: Update to 121
AbandonedPublic

Authored by duchateau.olivier_gmail.com on Jul 15 2022, 9:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 8:03 AM
Unknown Object (File)
Jan 3 2024, 7:52 AM
Unknown Object (File)
Dec 20 2023, 7:05 AM
Unknown Object (File)
Dec 10 2023, 6:27 PM
Unknown Object (File)
Nov 11 2023, 2:06 AM
Unknown Object (File)
Nov 9 2023, 2:09 AM
Unknown Object (File)
Oct 10 2023, 6:28 PM
Unknown Object (File)
Oct 9 2023, 8:03 PM

Details

Reviewers
None
Group Reviewers
desktop
Summary
  • Update to 121
  • Remove Created to: header
  • Add SPIDERMONKEY (set by default) and DUKTAPE options
  • Remove unneeded patch

Note: Most Linux distribution and OpenBSD switched to Duktape, in the port we still depend of SpiderMonkey (I don't know which one is better).

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I would suggest to make Duktape the default, as it is also intended as such by upstream.

I was dogfooding duktape in D34188, but even to this day trying to run say pkexec results in a crash. Perhaps things have improved with this new release (finally) but duktape support needs more testing on our platform before it can be considered the default.

Update diff:

  • Switch by default to Duktape, tested with desktop environment (Pantheon) which has polkit agent and with Xfce (there is no polkit agent) → no crash
  • Remove redundant _GNU_SOURCE (I wonder if it is important, because it is not available on FreeBSD)
  • Add support of procctl(2) in pkexec program

Below options enable for sysutils/polkit

make showconfig
===> The following configuration options are available for polkit-121:
     MANPAGES=off: Build and/or install manual pages
====> JavaScript engines: you have to select exactly one of them
     DUKTAPE=on: Duktape JavaScript backend
     SPIDERMONKEY=off: SpiderMonkey JavaScript backend
===> Use 'make config' to modify these settings

Should this be closed? The port is of version 122 already.