git: a14e412f1f00 - main - sysutils/polkit: update to 0.120

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 30 Oct 2021 17:32:50 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a14e412f1f00be2e173fc7066a4d9f80e67c4d6a

commit a14e412f1f00be2e173fc7066a4d9f80e67c4d6a
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2021-10-30 16:58:43 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-10-30 17:32:41 +0000

    sysutils/polkit: update to 0.120
    
    Changelog:
            https://gitlab.freedesktop.org/polkit/polkit/-/blob/92b910ce2273daf6a76038f6bd764fa6958d4e8e/NEWS
    
    PR:             258971
---
 sysutils/polkit/Makefile                |  2 +-
 sysutils/polkit/distinfo                |  6 +++---
 sysutils/polkit/files/patch-meson.build | 20 ++++++++++----------
 sysutils/polkit/pkg-plist               |  2 ++
 4 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 41410b040aaf..013638e0d597 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -1,7 +1,7 @@
 # Created by: Koop Mast<kwm@FreeBSD.org>
 
 PORTNAME=	polkit
-PORTVERSION=	0.119
+PORTVERSION=	0.120
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	https://www.freedesktop.org/software/polkit/releases/
 
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,15 +1,15 @@
---- 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,
@@ -19,7 +19,7 @@
 -  'meson_post_install.py',
 -  get_option('bindir'),
 -  pk_pkgdatadir,
--  pk_pkglibdir,
+-  pk_libprivdir,
 -  pk_pkgsysconfdir,
 -  polkitd_user,
  )
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
@@ -65,7 +65,9 @@ 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