git: d4a06ae98e8b - main - sysutils/polkit: Install policy config with a proper name.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 20 Jan 2024 16:53:33 UTC
The branch main has been updated by arrowd:

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

commit d4a06ae98e8b3e2a15d252cfc432cc0a7e698759
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-20 16:49:04 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-20 16:53:12 +0000

    sysutils/polkit: Install policy config with a proper name.
    
    PR:             276409
    Reported by:    madpilot
    Fixes:  5ac622032d86c28eddc023436ce8dc9e50387b3c
---
 sysutils/polkit/Makefile                     |  1 +
 sysutils/polkit/files/patch-data_meson.build | 11 -----------
 sysutils/polkit/pkg-plist                    |  2 +-
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 9c164c80a322..3b3687e88334 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	polkit
 DISTVERSION=	124
+PORTREVISION=	1
 CATEGORIES=	sysutils gnome
 
 MAINTAINER=	desktop@FreeBSD.org
diff --git a/sysutils/polkit/files/patch-data_meson.build b/sysutils/polkit/files/patch-data_meson.build
deleted file mode 100644
index 670a51747913..000000000000
--- a/sysutils/polkit/files/patch-data_meson.build
+++ /dev/null
@@ -1,11 +0,0 @@
---- data/meson.build.orig	2021-01-05 14:42:11 UTC
-+++ data/meson.build
-@@ -10,7 +10,7 @@ configure_file(
- 
- configure_file(
-   input: 'org.freedesktop.PolicyKit1.conf.in',
--  output: '@BASENAME@',
-+  output: '@BASENAME@.sample',
-   configuration: {'polkitd_user': polkitd_user},
-   install: true,
-   install_dir: dbus_policydir,
diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist
index cb66b54351dd..372ebaf72379 100644
--- a/sysutils/polkit/pkg-plist
+++ b/sysutils/polkit/pkg-plist
@@ -51,7 +51,7 @@ libdata/pkgconfig/polkit-gobject-1.pc
 %%MANPAGES%%share/man/man8/polkit.8.gz
 %%MANPAGES%%share/man/man8/polkitd.8.gz
 share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
-share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.sample
+share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
 share/gettext/its/polkit.its
 share/gettext/its/polkit.loc
 share/gir-1.0/Polkit-1.0.gir