Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2020 18:37:37 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r525883 - in head/sysutils/polkit: . files
Message-ID:  <202002111837.01BIbbLf085033@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Tue Feb 11 18:37:36 2020
New Revision: 525883
URL: https://svnweb.freebsd.org/changeset/ports/525883

Log:
  sysutils/polkit: Update to 0.116
  
  PR:		243378
  Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>

Added:
  head/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendjsauthority.cpp   (contents, props changed)
Modified:
  head/sysutils/polkit/Makefile
  head/sysutils/polkit/distinfo
  head/sysutils/polkit/pkg-plist

Modified: head/sysutils/polkit/Makefile
==============================================================================
--- head/sysutils/polkit/Makefile	Tue Feb 11 18:31:59 2020	(r525882)
+++ head/sysutils/polkit/Makefile	Tue Feb 11 18:37:36 2020	(r525883)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	polkit
-PORTVERSION=	0.114
-PORTREVISION=	3
+PORTVERSION=	0.116
 CATEGORIES=	sysutils gnome
-MASTER_SITES=	http://www.freedesktop.org/software/polkit/releases/
+MASTER_SITES=	https://www.freedesktop.org/software/polkit/releases/
 
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	Framework for controlling access to system-wide components
@@ -14,7 +13,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
-		libmozjs-52.so:lang/spidermonkey52
+		libmozjs-60.so:lang/spidermonkey60
 RUN_DEPENDS=	dbus-launch:devel/dbus
 
 USERS=		polkitd
@@ -22,7 +21,7 @@ GROUPS=		polkitd
 
 USES=		compiler:c++11-lib gettext gmake gnome libtool localbase \
 		pathfix pkgconfig shebangfix
-USE_GNOME=	glib20 intlhack introspection:build
+USE_GNOME=	glib20 intltool introspection:build
 SHEBANG_FILES=	${WRKSRC}/src/polkitbackend/toarray.pl
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
@@ -34,8 +33,8 @@ CONFIGURE_ARGS=	--disable-gtk-doc-html \
 		--with-polkitd-user=${USERS} \
 		--disable-static \
 		--disable-examples \
-		--disable-libsystemd-login \
-		--disable-libelogind \
+		--enable-libsystemd-login=no \
+		--enable-libelogind=no \
 		--disable-test \
 		--enable-introspection=yes \
 		--localstatedir=/var

Modified: head/sysutils/polkit/distinfo
==============================================================================
--- head/sysutils/polkit/distinfo	Tue Feb 11 18:31:59 2020	(r525882)
+++ head/sysutils/polkit/distinfo	Tue Feb 11 18:37:36 2020	(r525883)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525103481
-SHA256 (polkit-0.114.tar.gz) = bdf4007367d758fd794de2495975c115984d206267e52d1e6ac5ceea77e8ede6
-SIZE (polkit-0.114.tar.gz) = 1557340
+TIMESTAMP = 1579113725
+SHA256 (polkit-0.116.tar.gz) = 88170c9e711e8db305a12fdb8234fac5706c61969b94e084d0f117d8ec5d34b1
+SIZE (polkit-0.116.tar.gz) = 1548311

Added: head/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendjsauthority.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendjsauthority.cpp	Tue Feb 11 18:37:36 2020	(r525883)
@@ -0,0 +1,11 @@
+--- src/polkitbackend/polkitbackendjsauthority.cpp.orig	2019-04-02 12:54:12 UTC
++++ src/polkitbackend/polkitbackendjsauthority.cpp
+@@ -567,6 +567,8 @@ polkit_backend_js_authority_finalize (GObject *object)
+   g_strfreev (authority->priv->rules_dirs);
+ 
+   delete authority->priv->ac;
++  delete authority->priv->js_global;
++  delete authority->priv->js_polkit;
+ 
+   JS_DestroyContext (authority->priv->cx);
+   /* JS_ShutDown (); */

Modified: head/sysutils/polkit/pkg-plist
==============================================================================
--- head/sysutils/polkit/pkg-plist	Tue Feb 11 18:31:59 2020	(r525882)
+++ head/sysutils/polkit/pkg-plist	Tue Feb 11 18:37:36 2020	(r525883)
@@ -62,6 +62,7 @@ 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/pl/LC_MESSAGES/polkit-1.mo
 share/locale/pt_BR/LC_MESSAGES/polkit-1.mo
 share/locale/sk/LC_MESSAGES/polkit-1.mo



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