View | Details | Raw Unified | Return to bug 272798
Collapse All | Expand All

(-)b/sysutils/polkit/Makefile (-6 / +7 lines)
Lines 1-14 Link Here
1
PORTNAME=	polkit
1
PORTNAME=	polkit
2
PORTVERSION=	122
2
DISTVERSION=	123
3
CATEGORIES=	sysutils gnome
3
CATEGORIES=	sysutils gnome
4
MASTER_SITES=	https://www.freedesktop.org/software/polkit/releases/ \
5
		https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/archive/${PORTVERSION}/
6
4
7
MAINTAINER=	desktop@FreeBSD.org
5
MAINTAINER=	desktop@FreeBSD.org
8
COMMENT=	Framework for controlling access to system-wide components
6
COMMENT=	Framework for controlling access to system-wide components
9
WWW=		https://www.freedesktop.org/wiki/Software/polkit/
7
WWW=		https://gitlab.freedesktop.org/polkit/polkit
10
8
11
LICENSE=	GPLv2
9
LICENSE=	LGPL20+
12
LICENSE_FILE=	${WRKSRC}/COPYING
10
LICENSE_FILE=	${WRKSRC}/COPYING
13
11
14
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
12
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
Lines 18-29 USERS= polkitd Link Here
18
GROUPS=		polkitd
16
GROUPS=		polkitd
19
17
20
USES=		compiler:c++17-lang cpe gettext gnome libtool localbase meson \
18
USES=		compiler:c++17-lang cpe gettext gnome libtool localbase meson \
21
		pathfix pkgconfig shebangfix
19
		pathfix pkgconfig shebangfix tar:bz2
22
USE_GNOME=	glib20 intltool introspection:build
20
USE_GNOME=	glib20 intltool introspection:build
23
SHEBANG_FILES=	${WRKSRC}/src/polkitbackend/toarray.pl
21
SHEBANG_FILES=	${WRKSRC}/src/polkitbackend/toarray.pl
24
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
25
CPE_VENDOR=	polkit_project
23
CPE_VENDOR=	polkit_project
26
24
25
USE_GITLAB=	yes
26
GL_SITE=	https://gitlab.freedesktop.org
27
27
MESON_ARGS=	-Dpam_include=system \
28
MESON_ARGS=	-Dpam_include=system \
28
		-Dpolkitd_user=${USERS} \
29
		-Dpolkitd_user=${USERS} \
29
		-Dexamples=false \
30
		-Dexamples=false \
(-)b/sysutils/polkit/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1666804675
1
TIMESTAMP = 1690645607
2
SHA256 (polkit-122.tar.gz) = 0d69656d60800835c3d7d1f0a8362b32e1ae3ace2875a35bb624296fc52d5dc4
2
SHA256 (polkit-123.tar.bz2) = 72d9119b0aa35da871fd0660601d812c7a3d6af7e4e53e237840b71bb43d0c63
3
SIZE (polkit-122.tar.gz) = 744767
3
SIZE (polkit-123.tar.bz2) = 707480
(-)b/sysutils/polkit/files/patch-meson.build (-22 / +10 lines)
Lines 1-10 Link Here
1
--- meson.build.orig	2022-10-26 12:12:24 UTC
1
--- meson.build.orig	2023-07-28 12:34:38 UTC
2
+++ meson.build
2
+++ meson.build
3
@@ -154,10 +154,11 @@ if js_engine == 'duktape'
3
@@ -4,7 +4,6 @@ project(
4
   config_h.set('HAVE_' + func.to_upper(), cc.has_function(func, prefix : '#include <pthread.h>'))
4
   license: 'LGPL2+',
5
 elif js_engine == 'mozjs'
5
   default_options: [
6
   js_dep = dependency('mozjs-102')
6
     'buildtype=debugoptimized',
7
+  config_h.set('__BSD_VISIBLE', 1)
7
-    'prefix=/usr',
8
     'cpp_std=c++17',
9
   ],
10
   meson_version: '>= 0.50.0',
11
@@ -162,7 +161,7 @@ elif js_engine == 'mozjs'
8
 endif
12
 endif
9
 
13
 
10
 dbus_dep = dependency('dbus-1', required: false)
14
 dbus_dep = dependency('dbus-1', required: false)
Lines 13-31 Link Here
13
 if dbus_dep.found()
17
 if dbus_dep.found()
14
   dbus_system_bus_services_dir = dbus_dep.get_pkgconfig_variable('system_bus_services_dir', define_variable: ['datadir', pk_prefix / pk_datadir])
18
   dbus_system_bus_services_dir = dbus_dep.get_pkgconfig_variable('system_bus_services_dir', define_variable: ['datadir', pk_prefix / pk_datadir])
15
 else
19
 else
16
@@ -358,15 +359,6 @@ endif
17
 configure_file(
18
   output: 'config.h',
19
   configuration: config_h,
20
-)
21
-
22
-meson.add_install_script(
23
-  'meson_post_install.py',
24
-  get_option('bindir'),
25
-  pk_pkgdatadir,
26
-  pk_libprivdir,
27
-  pk_pkgsysconfdir,
28
-  polkitd_user,
29
 )
30
 
31
 output = '\n        ' + meson.project_name() + ' ' + meson.project_version() + '\n'
(-)b/sysutils/polkit/pkg-plist (+1 lines)
Lines 70-75 share/locale/pl/LC_MESSAGES/polkit-1.mo Link Here
70
share/locale/pt/LC_MESSAGES/polkit-1.mo
70
share/locale/pt/LC_MESSAGES/polkit-1.mo
71
share/locale/pt_BR/LC_MESSAGES/polkit-1.mo
71
share/locale/pt_BR/LC_MESSAGES/polkit-1.mo
72
share/locale/ro/LC_MESSAGES/polkit-1.mo
72
share/locale/ro/LC_MESSAGES/polkit-1.mo
73
share/locale/ru/LC_MESSAGES/polkit-1.mo
73
share/locale/sk/LC_MESSAGES/polkit-1.mo
74
share/locale/sk/LC_MESSAGES/polkit-1.mo
74
share/locale/sv/LC_MESSAGES/polkit-1.mo
75
share/locale/sv/LC_MESSAGES/polkit-1.mo
75
share/locale/tr/LC_MESSAGES/polkit-1.mo
76
share/locale/tr/LC_MESSAGES/polkit-1.mo

Return to bug 272798