diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index 41410b040aaf..013638e0d597 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -1,65 +1,65 @@ # Created by: Koop Mast PORTNAME= polkit -PORTVERSION= 0.119 +PORTVERSION= 0.120 CATEGORIES= sysutils gnome MASTER_SITES= https://www.freedesktop.org/software/polkit/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT= Framework for controlling access to system-wide components LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libdbus-1.so:devel/dbus \ libmozjs-78.so:lang/spidermonkey78 USERS= polkitd GROUPS= polkitd USES= compiler:c++11-lib cpe gettext gnome libtool localbase meson \ pathfix pkgconfig shebangfix USE_GNOME= glib20 intltool introspection:build SHEBANG_FILES= ${WRKSRC}/src/polkitbackend/toarray.pl USE_LDCONFIG= yes CPE_VENDOR= polkit_project MESON_ARGS= -Dpam_include=system \ -Dpolkitd_user=${USERS} \ -Dexamples=false \ -Dsession_tracking=ConsoleKit \ -Dtests=false \ -Dintrospection=true \ -Dlocalstatedir=/var \ -Dgtk_doc=false INSTALL_TARGET= install-strip OPTIONS_DEFINE= MANPAGES MANPAGES_BUILD_DEPENDS= docbook-sgml>=4.5:textproc/docbook-sgml \ docbook-xsl>=1.76:textproc/docbook-xsl MANPAGES_USE= gnome=libxslt:build MANPAGES_MESON_TRUE= man OPTIONS_SUB= yes .include post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \ ${WRKSRC}/docs/man/pkexec.xml \ ${WRKSRC}/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \ ${WRKSRC}/docs/man/polkit.xml post-install: @${MKDIR} ${STAGEDIR}/var/lib/polkit-1 \ ${STAGEDIR}${PREFIX}/share/polkit-1/rules.d .for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d ${MKDIR} ${STAGEDIR}${PREFIX}/etc/polkit-1/localauthority/${i} ${MKDIR} ${STAGEDIR}/var/lib/polkit-1/localauthority/${i} .endfor .include diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo index f547c6c76b7a..c85510282833 100644 --- a/sysutils/polkit/distinfo +++ b/sysutils/polkit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1622741145 -SHA256 (polkit-0.119.tar.gz) = c8579fdb86e94295404211285fee0722ad04893f0213e571bd75c00972fd1f5c -SIZE (polkit-0.119.tar.gz) = 1387409 +TIMESTAMP = 1633549962 +SHA256 (polkit-0.120.tar.gz) = ee7a599a853117bf273548725719fa92fabd2f136915c7a4906cee98567aee03 +SIZE (polkit-0.120.tar.gz) = 1626659 diff --git a/sysutils/polkit/files/patch-meson.build b/sysutils/polkit/files/patch-meson.build index 85ae0d3db603..440dce3e8fdd 100644 --- a/sysutils/polkit/files/patch-meson.build +++ b/sysutils/polkit/files/patch-meson.build @@ -1,27 +1,27 @@ ---- meson.build.orig 2021-06-03 13:56:35 UTC +--- meson.build.orig 2021-09-29 19:16:29 UTC +++ meson.build -@@ -129,7 +129,7 @@ assert(cc.has_function('XML_ParserCreate', dependencie +@@ -136,7 +136,7 @@ assert(cc.has_function('XML_ParserCreate', dependencie mozjs_dep = dependency('mozjs-78') - 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 -+dbus_confdir = dbus_dep.get_pkgconfig_variable('sysconfdir', define_variable: ['sysconfdir', pk_prefix / 'etc']) #changed from sysconfdir with respect to commit#8eada3836465838 - dbus_policydir = dbus_confdir / 'dbus-1/system.d' - dbus_system_bus_services_dir = dbus_dep.get_pkgconfig_variable('system_bus_services_dir', define_variable: ['datadir', pk_prefix / pk_datadir]) - -@@ -318,15 +318,6 @@ endif + dbus_dep = dependency('dbus-1', required: false) +-dbus_policydir = pk_prefix / pk_datadir / 'dbus-1/system.d' ++dbus_policydir = pk_prefix / pk_sysconfdir / 'dbus-1/system.d' + if dbus_dep.found() + dbus_system_bus_services_dir = dbus_dep.get_pkgconfig_variable('system_bus_services_dir', define_variable: ['datadir', pk_prefix / pk_datadir]) + else +@@ -329,15 +329,6 @@ endif configure_file( output: 'config.h', configuration: config_h, -) - -meson.add_install_script( - 'meson_post_install.py', - get_option('bindir'), - pk_pkgdatadir, -- pk_pkglibdir, +- pk_libprivdir, - pk_pkgsysconfdir, - polkitd_user, ) output = '\n ' + meson.project_name() + ' ' + meson.project_version() + '\n' diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index c8d7192035a2..f6ad72a65d8e 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -1,92 +1,94 @@ bin/pkaction bin/pkcheck @(root,,4755) bin/pkexec bin/pkttyagent @sample etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.sample etc/pam.d/polkit-1 etc/polkit-1/rules.d/50-default.rules include/polkit-1/polkit/polkit.h include/polkit-1/polkit/polkitactiondescription.h include/polkit-1/polkit/polkitauthority.h include/polkit-1/polkit/polkitauthorityfeatures.h include/polkit-1/polkit/polkitauthorizationresult.h include/polkit-1/polkit/polkitcheckauthorizationflags.h include/polkit-1/polkit/polkitdetails.h include/polkit-1/polkit/polkitenumtypes.h include/polkit-1/polkit/polkiterror.h include/polkit-1/polkit/polkitidentity.h include/polkit-1/polkit/polkitimplicitauthorization.h include/polkit-1/polkit/polkitpermission.h include/polkit-1/polkit/polkitprivate.h include/polkit-1/polkit/polkitsubject.h include/polkit-1/polkit/polkitsystembusname.h include/polkit-1/polkit/polkittemporaryauthorization.h include/polkit-1/polkit/polkittypes.h include/polkit-1/polkit/polkitunixgroup.h include/polkit-1/polkit/polkitunixnetgroup.h include/polkit-1/polkit/polkitunixprocess.h include/polkit-1/polkit/polkitunixsession.h include/polkit-1/polkit/polkitunixuser.h include/polkit-1/polkitagent/polkitagent.h include/polkit-1/polkitagent/polkitagentenumtypes.h include/polkit-1/polkitagent/polkitagentlistener.h include/polkit-1/polkitagent/polkitagentsession.h include/polkit-1/polkitagent/polkitagenttextlistener.h include/polkit-1/polkitagent/polkitagenttypes.h lib/girepository-1.0/Polkit-1.0.typelib lib/girepository-1.0/PolkitAgent-1.0.typelib lib/libpolkit-agent-1.so lib/libpolkit-agent-1.so.0 lib/libpolkit-agent-1.so.0.0.0 lib/libpolkit-gobject-1.so lib/libpolkit-gobject-1.so.0 lib/libpolkit-gobject-1.so.0.0.0 @(root,,4755) lib/polkit-1/polkit-agent-helper-1 lib/polkit-1/polkitd libdata/pkgconfig/polkit-agent-1.pc libdata/pkgconfig/polkit-gobject-1.pc %%MANPAGES%%man/man1/pkaction.1.gz %%MANPAGES%%man/man1/pkcheck.1.gz %%MANPAGES%%man/man1/pkexec.1.gz %%MANPAGES%%man/man1/pkttyagent.1.gz %%MANPAGES%%man/man8/polkit.8.gz %%MANPAGES%%man/man8/polkitd.8.gz share/dbus-1/system-services/org.freedesktop.PolicyKit1.service share/gettext/its/polkit.its share/gettext/its/polkit.loc share/gir-1.0/Polkit-1.0.gir share/gir-1.0/PolkitAgent-1.0.gir share/locale/cs/LC_MESSAGES/polkit-1.mo share/locale/da/LC_MESSAGES/polkit-1.mo share/locale/de/LC_MESSAGES/polkit-1.mo share/locale/hr/LC_MESSAGES/polkit-1.mo share/locale/hu/LC_MESSAGES/polkit-1.mo share/locale/id/LC_MESSAGES/polkit-1.mo share/locale/it/LC_MESSAGES/polkit-1.mo share/locale/nn/LC_MESSAGES/polkit-1.mo share/locale/pl/LC_MESSAGES/polkit-1.mo +share/locale/pt/LC_MESSAGES/polkit-1.mo share/locale/pt_BR/LC_MESSAGES/polkit-1.mo +share/locale/ro/LC_MESSAGES/polkit-1.mo share/locale/sk/LC_MESSAGES/polkit-1.mo share/locale/sv/LC_MESSAGES/polkit-1.mo share/locale/tr/LC_MESSAGES/polkit-1.mo share/locale/uk/LC_MESSAGES/polkit-1.mo share/locale/zh_CN/LC_MESSAGES/polkit-1.mo share/locale/zh_TW/LC_MESSAGES/polkit-1.mo share/polkit-1/actions/org.freedesktop.policykit.policy @dir(polkitd,,700) etc/polkit-1/rules.d @dir(polkitd,,700) share/polkit-1/rules.d @dir etc/polkit-1/localauthority/90-mandatory.d @dir etc/polkit-1/localauthority/50-local.d @dir etc/polkit-1/localauthority/30-site.d @dir etc/polkit-1/localauthority/20-org.d @dir etc/polkit-1/localauthority/10-vendor.d @dir(,,700) etc/polkit-1/localauthority @dir etc/polkit-1 @dir /var/lib/polkit-1/localauthority/90-mandatory.d @dir /var/lib/polkit-1/localauthority/50-local.d @dir /var/lib/polkit-1/localauthority/30-site.d @dir /var/lib/polkit-1/localauthority/20-org.d @dir /var/lib/polkit-1/localauthority/10-vendor.d @dir /var/lib/polkit-1/localauthority @dir(,,700) /var/lib/polkit-1 @dir /var/lib