1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

sysutils/polkit: Update to 123.

PR:		272798
This commit is contained in:
Olivier Duchateau 2023-08-12 14:02:14 +03:00 committed by Gleb Popov
parent e89f74e36d
commit b1dd314fe3
4 changed files with 13 additions and 31 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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'

View File

@ -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