FreeBSD Bugzilla – Attachment 243691 Details for
Bug 272798
sysutils/polkit: update to 123
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update sysutils/polkit
polkit-123.diff (text/plain), 3.61 KB, created by
Olivier Duchateau
on 2023-07-29 16:25:39 UTC
(
hide
)
Description:
Patch to update sysutils/polkit
Filename:
MIME Type:
Creator:
Olivier Duchateau
Created:
2023-07-29 16:25:39 UTC
Size:
3.61 KB
patch
obsolete
>diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile >index 60185ef5d..ef09a86ec 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 66975b24d..fb7793bdb 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 74e14902a..fce7aeeee 100644 >--- a/sysutils/polkit/files/patch-meson.build >+++ b/sysutils/polkit/files/patch-meson.build >@@ -1,10 +1,14 @@ >---- 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) >+@@ -4,7 +4,6 @@ project( >+ license: 'LGPL2+', >+ default_options: [ >+ 'buildtype=debugoptimized', >+- 'prefix=/usr', >+ 'cpp_std=c++17', >+ ], >+ meson_version: '>= 0.50.0', >+@@ -162,7 +161,7 @@ elif js_engine == 'mozjs' > endif > > dbus_dep = dependency('dbus-1', required: false) >@@ -13,19 +17,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 c1a237667..8d4e2ec90 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272798
: 243691