head 1.3; access; symbols pkgsrc-2023Q1:1.2.0.12 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.10 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.8 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.6 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.4 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.2 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2023.06.07.15.36.40; author wiz; state dead; branches; next 1.2; commitid OerXgYpZf3loT1sE; 1.2 date 2021.11.01.10.20.48; author wiz; state Exp; branches; next 1.1; commitid CcfS1HjzcKHnT4fD; 1.1 date 2021.06.28.12.38.46; author nia; state Exp; branches; next ; commitid 7ZpLVJ6dUIwyHTYC; desc @@ 1.3 log @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 @ text @$NetBSD: patch-meson.build,v 1.2 2021/11/01 10:20:48 wiz Exp $ Add duktape as javascript engine. https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35 --- meson.build.orig 2021-09-29 19:16:29.000000000 +0000 +++ meson.build @@@@ -133,7 +133,13 @@@@ expat_dep = dependency('expat') assert(cc.has_header('expat.h', dependencies: expat_dep), 'Can\'t find expat.h. Please install expat.') assert(cc.has_function('XML_ParserCreate', dependencies: expat_dep), 'Can\'t find expat library. Please install expat.') -mozjs_dep = dependency('mozjs-78') +js_engine = get_option('js_engine') +if js_engine == 'duktape' + js_dep = dependency('duktape') + libm_dep = cc.find_library('m') +elif js_engine == 'mozjs' + js_dep = dependency('mozjs-78') +endif dbus_dep = dependency('dbus-1', required: false) dbus_policydir = pk_prefix / pk_datadir / 'dbus-1/system.d' @@@@ -361,6 +367,9 @@@@ if enable_logind output += ' systemdsystemunitdir: ' + systemd_systemdsystemunitdir + '\n' endif output += ' polkitd user: ' + polkitd_user + ' \n' +output += ' Javascript engine: ' + js_engine + '\n' +if enable_logind +endif output += ' PAM support: ' + enable_pam.to_string() + '\n\n' if enable_pam output += ' PAM file auth: ' + pam_conf['PAM_FILE_INCLUDE_AUTH'] + '\n' @ 1.2 log @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 @ text @d1 1 a1 1 $NetBSD: patch-meson.build,v 1.1 2021/06/28 12:38:46 nia Exp $ @ 1.1 log @polkit: Add duktape backend. Disable mozjs dependency. Based on an unmerged merge request by Wu Xiaotian: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35 Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- meson.build.orig 2021-06-03 13:56:35.000000000 +0000 d8 1 a8 1 @@@@ -126,7 +126,13 @@@@ expat_dep = dependency('expat') d21 3 a23 3 dbus_dep = dependency('dbus-1') dbus_confdir = dbus_dep.get_pkgconfig_variable('datadir', define_variable: ['datadir', pk_prefix / pk_datadir]) #changed from sysconfdir with respect to commit#8eada3836465838 @@@@ -350,6 +356,9 @@@@ if enable_logind @