Bug 272798

Summary: sysutils/polkit: update to 123
Product: Ports & Packages Reporter: Olivier Duchateau <duchateau.olivier>
Component: Individual Port(s)Assignee: Gleb Popov <arrowd>
Status: Closed FIXED    
Severity: Affects Only Me CC: arrowd
Priority: --- Flags: bugzilla: maintainer-feedback? (desktop)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://gitlab.freedesktop.org/polkit/polkit/-/tags/123
Attachments:
Description Flags
Patch to update sysutils/polkit none

Description Olivier Duchateau 2023-07-29 16:25:39 UTC
Created attachment 243691 [details]
Patch to update sysutils/polkit

- Update to 123
- Adjust LICENSE (according to meson.build, it is LGPL2+)
- Adjust WWW entry (previous URL redirects to gitlab repository)
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2023-08-12 10:47:46 UTC
This looks OK, although this hunk seems to be useless:

+@@ -4,7 +4,6 @@ project(
+   license: 'LGPL2+',
+   default_options: [
+     'buildtype=debugoptimized',
+-    'prefix=/usr',
+     'cpp_std=c++17',
+   ],
+   meson_version: '>= 0.50.0',
+

I removed it and it builds fine. Is this OK to commit your patch without it?
Comment 2 Olivier Duchateau 2023-08-12 15:11:53 UTC
(In reply to Gleb Popov from comment #1)

Yes
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-08-12 18:05:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1dd314fe3facc37c243bbbe709d9deaa75c107f

commit b1dd314fe3facc37c243bbbe709d9deaa75c107f
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2023-08-12 11:02:14 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-08-12 18:04:58 +0000

    sysutils/polkit: Update to 123.

    PR:             272798

 sysutils/polkit/Makefile                | 13 +++++++------
 sysutils/polkit/distinfo                |  6 +++---
 sysutils/polkit/files/patch-meson.build | 24 ++----------------------
 sysutils/polkit/pkg-plist               |  1 +
 4 files changed, 13 insertions(+), 31 deletions(-)
Comment 4 Gleb Popov freebsd_committer freebsd_triage 2023-08-12 18:07:40 UTC
Pushed in, thank you.