git: 3a89fd7a8201 - main - x11/lightdm-gtk-greeter-settings: fix path to the binary in polkit action policy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Oct 2024 16:16:57 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a89fd7a8201d802971fe8fa729c1e4d487d2b93 commit 3a89fd7a8201d802971fe8fa729c1e4d487d2b93 Author: Pavel Timofeev <timp87@gmail.com> AuthorDate: 2024-10-04 04:14:44 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-10-06 16:16:29 +0000 x11/lightdm-gtk-greeter-settings: fix path to the binary in polkit action policy PR: 281844 --- x11/lightdm-gtk-greeter-settings/Makefile | 3 ++- ...h-com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/x11/lightdm-gtk-greeter-settings/Makefile b/x11/lightdm-gtk-greeter-settings/Makefile index b2380d00e536..9c1f34599825 100644 --- a/x11/lightdm-gtk-greeter-settings/Makefile +++ b/x11/lightdm-gtk-greeter-settings/Makefile @@ -1,6 +1,6 @@ PORTNAME= lightdm-gtk-greeter-settings PORTVERSION= 1.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ @@ -28,6 +28,7 @@ post-patch: -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ ${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec \ ${WRKSRC}/lightdm_gtk_greeter_settings/helpers.py \ + ${WRKSRC}/com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in \ ${WRKSRC}/setup.py @${RM} -v ${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec.bak @${RM} -v ${WRKSRC}/bin/lightdm-gtk-greeter-settings-pkexec.orig diff --git a/x11/lightdm-gtk-greeter-settings/files/patch-com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in b/x11/lightdm-gtk-greeter-settings/files/patch-com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in new file mode 100644 index 000000000000..b249e0e5e06e --- /dev/null +++ b/x11/lightdm-gtk-greeter-settings/files/patch-com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in @@ -0,0 +1,11 @@ +--- com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in.orig 2017-09-19 09:52:09 UTC ++++ com.ubuntu.pkexec.lightdm-gtk-greeter-settings.policy.in +@@ -12,7 +12,7 @@ + <allow_inactive>auth_admin</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> +- <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/lightdm-gtk-greeter-settings</annotate> ++ <annotate key="org.freedesktop.policykit.exec.path">%%PREFIX%%/bin/lightdm-gtk-greeter-settings</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +