Skip to content

Commit

Permalink
sysutils/polkit: Update to 123.
Browse files Browse the repository at this point in the history
PR:		272798
  • Loading branch information
OlivierDuchateau authored and arrowd committed Aug 12, 2023
1 parent e89f74e commit b1dd314
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 31 deletions.
13 changes: 7 additions & 6 deletions sysutils/polkit/Makefile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions sysutils/polkit/distinfo
Original file line number Diff line number Diff line change
@@ -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
24 changes: 2 additions & 22 deletions sysutils/polkit/files/patch-meson.build
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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'
1 change: 1 addition & 0 deletions sysutils/polkit/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1dd314

Please sign in to comment.