git: 709d0ba6b981 - main - sysutils/polkit: Update to 125
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Aug 2024 13:06:33 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=709d0ba6b9813a39e660160c64272426481909ac commit 709d0ba6b9813a39e660160c64272426481909ac Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-08-31 12:32:50 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-08-31 13:06:08 +0000 sysutils/polkit: Update to 125 Sponsored by: Future Crew, LLC Reported by: portscout! --- sysutils/polkit/Makefile | 7 +++-- sysutils/polkit/distinfo | 6 ++--- sysutils/polkit/files/patch-src_programs_pkexec.c | 33 ----------------------- sysutils/polkit/pkg-plist | 2 ++ 4 files changed, 10 insertions(+), 38 deletions(-) diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index 151410a01e7b..432a074478a4 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -1,6 +1,5 @@ PORTNAME= polkit -DISTVERSION= 124 -PORTREVISION= 3 +DISTVERSION= 125 CATEGORIES= sysutils gnome MAINTAINER= desktop@FreeBSD.org @@ -69,6 +68,10 @@ post-patch: ${WRKSRC}/docs/man/polkit.xml post-install: + ${RM} -r ${STAGEDIR}/usr/lib/systemd + ${RM} -r ${STAGEDIR}/usr/lib/sysusers.d + ${RM} -r ${STAGEDIR}/usr/lib/tmpfiles.d + @${MKDIR} ${STAGEDIR}/var/lib/polkit-1 \ ${STAGEDIR}${PREFIX}/share/polkit-1/rules.d .for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo index 81d75686dd05..70ea00eef283 100644 --- a/sysutils/polkit/distinfo +++ b/sysutils/polkit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708114616 -SHA256 (polkit-org-polkit-124_GH0.tar.gz) = 72457d96a0538fd03a3ca96a6bf9b7faf82184d4d67c793eb759168e4fd49e20 -SIZE (polkit-org-polkit-124_GH0.tar.gz) = 757829 +TIMESTAMP = 1725097769 +SHA256 (polkit-org-polkit-125_GH0.tar.gz) = ea5cd6e6e2afa6bad938ee770bf0c2cd9317910f37956faeba2869adcf3747d1 +SIZE (polkit-org-polkit-125_GH0.tar.gz) = 453652 diff --git a/sysutils/polkit/files/patch-src_programs_pkexec.c b/sysutils/polkit/files/patch-src_programs_pkexec.c deleted file mode 100644 index 47fed9033d8a..000000000000 --- a/sysutils/polkit/files/patch-src_programs_pkexec.c +++ /dev/null @@ -1,33 +0,0 @@ ---- src/programs/pkexec.c.orig 2022-07-11 08:46:06 UTC -+++ src/programs/pkexec.c -@@ -37,6 +37,11 @@ - #include <sys/prctl.h> - #endif - -+#ifdef __FreeBSD__ -+#include <signal.h> -+#include <sys/procctl.h> -+#endif -+ - #include <glib/gi18n.h> - - #ifdef POLKIT_AUTHFW_PAM -@@ -729,10 +734,17 @@ main (int argc, char *argv[]) - } - - /* make sure we are nuked if the parent process dies */ --#ifdef __linux__ -+#if defined(__linux__) - if (prctl (PR_SET_PDEATHSIG, SIGTERM) != 0) - { - g_printerr ("prctl(PR_SET_PDEATHSIG, SIGTERM) failed: %s\n", g_strerror (errno)); -+ goto out; -+ } -+#elif defined(__FreeBSD__) -+ int _sig = SIGTERM; -+ if (procctl (P_PID, 0, PROC_PDEATHSIG_CTL, &_sig) != 0) -+ { -+ g_printerr ("procctl(2) failed: %s\n", g_strerror (errno)); - goto out; - } - #else diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index 372ebaf72379..406c2b4cc403 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -59,6 +59,7 @@ share/gir-1.0/PolkitAgent-1.0.gir share/locale/cs/LC_MESSAGES/polkit-1.mo share/locale/da/LC_MESSAGES/polkit-1.mo share/locale/de/LC_MESSAGES/polkit-1.mo +share/locale/hi/LC_MESSAGES/polkit-1.mo share/locale/hr/LC_MESSAGES/polkit-1.mo share/locale/hu/LC_MESSAGES/polkit-1.mo share/locale/id/LC_MESSAGES/polkit-1.mo @@ -72,6 +73,7 @@ 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/sl/LC_MESSAGES/polkit-1.mo share/locale/sv/LC_MESSAGES/polkit-1.mo share/locale/tr/LC_MESSAGES/polkit-1.mo share/locale/uk/LC_MESSAGES/polkit-1.mo