pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/polkit



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jun 25 10:29:54 UTC 2026

Modified Files:
        pkgsrc/security/polkit: Makefile distinfo
Added Files:
        pkgsrc/security/polkit/patches:
            patch-src_polkitbackend_polkitbackendduktapeauthority.c
Removed Files:
        pkgsrc/security/polkit/patches:
            patch-src_polkitbackend_polkitbackendinteractiveauthority.c

Log Message:
polkit: remove unneeded patch; extend %m fixes

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/security/polkit/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/security/polkit/distinfo
cvs rdiff -u -r0 -r1.4 \
    pkgsrc/security/polkit/patches/patch-src_polkitbackend_polkitbackendduktapeauthority.c
cvs rdiff -u -r1.6 -r0 \
    pkgsrc/security/polkit/patches/patch-src_polkitbackend_polkitbackendinteractiveauthority.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/polkit/Makefile
diff -u pkgsrc/security/polkit/Makefile:1.60 pkgsrc/security/polkit/Makefile:1.61
--- pkgsrc/security/polkit/Makefile:1.60        Fri May 15 17:01:03 2026
+++ pkgsrc/security/polkit/Makefile     Thu Jun 25 10:29:54 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2026/05/15 17:01:03 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2026/06/25 10:29:54 wiz Exp $
 
 DISTNAME=      polkit-127
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=polkit-org/}
 

Index: pkgsrc/security/polkit/distinfo
diff -u pkgsrc/security/polkit/distinfo:1.22 pkgsrc/security/polkit/distinfo:1.23
--- pkgsrc/security/polkit/distinfo:1.22        Fri Jun  5 22:16:43 2026
+++ pkgsrc/security/polkit/distinfo     Thu Jun 25 10:29:54 2026
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.22 2026/06/05 22:16:43 wiz Exp $
+$NetBSD: distinfo,v 1.23 2026/06/25 10:29:54 wiz Exp $
 
 BLAKE2s (polkit-127.tar.gz) = 42e8bb751fc99d41b4ab296e7eeed826d14be0b13709399f2821aa12302f279f
 SHA512 (polkit-127.tar.gz) = 54b315f2ca05e957e7b9aafda16c1cddcc2266d6018c77dbf4cfe73b7d5b1569e6e07570884b9c5ecc4bdb3a29966169006aa727b089019d959208f2b53067e6
 Size (polkit-127.tar.gz) = 472872 bytes
 SHA1 (patch-src_polkit_polkitunixprocess.c) = b95f8e5d7c1dd0ab9b084e3bd5b1fc6d05744b57
 SHA1 (patch-src_polkitagent_polkitagenthelper-pam.c) = 74e3a9d1b3f4c4e28a2353f4f824c83c0032b97d
-SHA1 (patch-src_polkitbackend_polkitbackendinteractiveauthority.c) = cb98359fb6327d2e5b4f7f229f6cbe6679250a8c
+SHA1 (patch-src_polkitbackend_polkitbackendduktapeauthority.c) = 5e48729c3414ccd41faa2e60bf3c915207e21cd1
 SHA1 (patch-src_polkitbackend_polkitd.c) = e587e99017128477522050391c5410024a1e25c7
 SHA1 (patch-src_programs_pkttyagent.c) = d9044bcc2ebd79a885c7bbc8327bdebab5680748

Added files:

Index: pkgsrc/security/polkit/patches/patch-src_polkitbackend_polkitbackendduktapeauthority.c
diff -u /dev/null pkgsrc/security/polkit/patches/patch-src_polkitbackend_polkitbackendduktapeauthority.c:1.4
--- /dev/null   Thu Jun 25 10:29:54 2026
+++ pkgsrc/security/polkit/patches/patch-src_polkitbackend_polkitbackendduktapeauthority.c      Thu Jun 25 10:29:54 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_polkitbackend_polkitbackendduktapeauthority.c,v 1.4 2026/06/25 10:29:54 wiz Exp $
+
+Avoid %m usage in printf.
+https://github.com/polkit-org/polkit/pull/624
+
+--- src/polkitbackend/polkitbackendduktapeauthority.c.orig     2026-06-25 10:19:41.076186959 +0000
++++ src/polkitbackend/polkitbackendduktapeauthority.c
+@@ -436,7 +436,7 @@ if (passwd == NULL)
+ if (passwd == NULL)
+   {
+     user_name = g_strdup_printf ("%d", (gint) uid);
+-    g_warning ("Error looking up info for uid %d: %m", (gint) uid);
++    g_warning ("Error looking up info for uid %d", (gint) uid);
+   }
+ else
+   {
+@@ -474,7 +474,7 @@ else
+                             gids,
+                             &num_gids) < 0)
+             {
+-              g_warning ("Error looking up groups for uid %d: %m", (gint) uid);
++              g_warning ("Error looking up groups for uid %d: %s", (gint) uid, g_strerror(errno));
+             }
+           else
+             {



Home | Main Index | Thread Index | Old Index