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
F132151511: D35825.id109990.diff
Tue, Oct 14, 5:47 AM
Unknown Object (File)
Sun, Oct 12, 4:45 PM
Unknown Object (File)
Sun, Oct 12, 12:19 PM
Unknown Object (File)
Sat, Oct 11, 12:56 AM
Unknown Object (File)
Sat, Oct 4, 4:44 AM
Unknown Object (File)
Thu, Sep 18, 9:15 PM
Unknown Object (File)
Mon, Sep 15, 10:25 PM
Unknown Object (File)
Mon, Sep 15, 6:31 AM

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.