Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2023 18:05:18 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b1dd314fe3fa - main - sysutils/polkit: Update to 123.
Message-ID:  <202308121805.37CI5Iqo088808@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

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

commit b1dd314fe3facc37c243bbbe709d9deaa75c107f
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2023-08-12 11:02:14 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-08-12 18:04:58 +0000

    sysutils/polkit: Update to 123.
    
    PR:             272798
---
 sysutils/polkit/Makefile                | 13 +++++++------
 sysutils/polkit/distinfo                |  6 +++---
 sysutils/polkit/files/patch-meson.build | 24 ++----------------------
 sysutils/polkit/pkg-plist               |  1 +
 4 files changed, 13 insertions(+), 31 deletions(-)

diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 60185ef5d60e..ef09a86ecf56 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -1,14 +1,12 @@
 PORTNAME=	polkit
-PORTVERSION=	122
+DISTVERSION=	123
 CATEGORIES=	sysutils gnome
-MASTER_SITES=	https://www.freedesktop.org/software/polkit/releases/ \
-		https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/archive/${PORTVERSION}/
 
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	Framework for controlling access to system-wide components
-WWW=		https://www.freedesktop.org/wiki/Software/polkit/
+WWW=		https://gitlab.freedesktop.org/polkit/polkit
 
-LICENSE=	GPLv2
+LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
@@ -18,12 +16,15 @@ USERS=		polkitd
 GROUPS=		polkitd
 
 USES=		compiler:c++17-lang cpe gettext gnome libtool localbase meson \
-		pathfix pkgconfig shebangfix
+		pathfix pkgconfig shebangfix tar:bz2
 USE_GNOME=	glib20 intltool introspection:build
 SHEBANG_FILES=	${WRKSRC}/src/polkitbackend/toarray.pl
 USE_LDCONFIG=	yes
 CPE_VENDOR=	polkit_project
 
+USE_GITLAB=	yes
+GL_SITE=	https://gitlab.freedesktop.org
+
 MESON_ARGS=	-Dpam_include=system \
 		-Dpolkitd_user=${USERS} \
 		-Dexamples=false \
diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo
index 66975b24dc9b..fb7793bdbd1d 100644
--- a/sysutils/polkit/distinfo
+++ b/sysutils/polkit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666804675
-SHA256 (polkit-122.tar.gz) = 0d69656d60800835c3d7d1f0a8362b32e1ae3ace2875a35bb624296fc52d5dc4
-SIZE (polkit-122.tar.gz) = 744767
+TIMESTAMP = 1690645607
+SHA256 (polkit-123.tar.bz2) = 72d9119b0aa35da871fd0660601d812c7a3d6af7e4e53e237840b71bb43d0c63
+SIZE (polkit-123.tar.bz2) = 707480
diff --git a/sysutils/polkit/files/patch-meson.build b/sysutils/polkit/files/patch-meson.build
index 74e14902a24e..d98a404d2a24 100644
--- a/sysutils/polkit/files/patch-meson.build
+++ b/sysutils/polkit/files/patch-meson.build
@@ -1,10 +1,6 @@
---- meson.build.orig	2022-10-26 12:12:24 UTC
+--- meson.build.orig	2023-07-28 12:34:38 UTC
 +++ meson.build
-@@ -154,10 +154,11 @@ if js_engine == 'duktape'
-   config_h.set('HAVE_' + func.to_upper(), cc.has_function(func, prefix : '#include <pthread.h>'))
- elif js_engine == 'mozjs'
-   js_dep = dependency('mozjs-102')
-+  config_h.set('__BSD_VISIBLE', 1)
+@@ -162,7 +161,7 @@ elif js_engine == 'mozjs'
  endif
  
  dbus_dep = dependency('dbus-1', required: false)
@@ -13,19 +9,3 @@
  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
-@@ -358,15 +359,6 @@ endif
- configure_file(
-   output: 'config.h',
-   configuration: config_h,
--)
--
--meson.add_install_script(
--  'meson_post_install.py',
--  get_option('bindir'),
--  pk_pkgdatadir,
--  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 c1a23766792f..8d4e2ec90b53 100644
--- a/sysutils/polkit/pkg-plist
+++ b/sysutils/polkit/pkg-plist
@@ -70,6 +70,7 @@ 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/ru/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308121805.37CI5Iqo088808>