Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
polkit


Commits:
f8b617b2 by Christian Hesse at 2025-01-15T09:38:59+01:00
upgpkg: 126-2: fix system (group and) user generation

- - - - -


3 changed files:

- .SRCINFO
- 0001-meson-Support-explicit-GID.patch
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = polkit
        pkgdesc = Application development toolkit for controlling system-wide 
privileges
        pkgver = 126
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/polkit-org/polkit
        install = polkit.install
        arch = x86_64
@@ -26,7 +26,7 @@ pkgbase = polkit
        source = 0001-meson-Support-explicit-GID.patch
        source = 0002-meson-Detect-Arch-Linux-and-set-the-UID-and-GID.patch
        b2sums = 
20659c1a622208e1db7d5f65c5ab75a6a35c55472b5abdadc5405fb83f678e7eb9fe4ac32b1947f6956cc1204f5caa2cad2f5db81de7ea49cdb13bd309c94fa4
-       b2sums = 
b891682aa88beab15cd90a7681060168c5cb4de7c3d75dd9dba13a8281eb8de6ea81436b2dc8ddf404c5016eba422519fc9f28ecd2648c7ac811330196eb4a7d
+       b2sums = 
9bfb6911469af4d86c973fb3c0949715b3ed6217f20643c7399d79c7a271c24f8c8399442d86903fcc333f62618d7f6b0a7737764e5a3ce829c577b79e30b7d4
        b2sums = 
f6dc32e6b56129bf8e181c2cce91c868eddb9e6c82e3d674f3ce5085c0ecde005b625b621c1ef28d3afbdcfbfc4d7586dbd4dfed5a611f251388c81270bc380b
 
 pkgname = polkit


=====================================
0001-meson-Support-explicit-GID.patch
=====================================
@@ -96,3 +96,33 @@ index efb75a1de69b..95a741ef70d0 100644
  
  dst = os.path.join(bindir, 'pkexec')
  
+From d1e15dd1d714a00bd5803442d65cb17c57004f01 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <[email protected]>
+Date: Wed, 15 Jan 2025 09:12:59 +0100
+Subject: [PATCH 1/1] add group explicitly
+
+... which is required when the gid is given.
+---
+ data/meson.build    | 1 +
+ data/polkit.conf.in | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/data/meson.build b/data/meson.build
+index a504dba..504b314 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -7,6 +7,7 @@ endif
+ service_conf = {
+   'libprivdir': pk_prefix / pk_libprivdir,
+   'polkitd_user': polkitd_user,
++  'polkitd_gid': polkitd_gid,
+   'polkitd_uid': polkitd_sysusers_uid,
+ }
+ 
+diff --git a/data/polkit.conf.in b/data/polkit.conf.in
+index 20535ac..3e6021b 100644
+--- a/data/polkit.conf.in
++++ b/data/polkit.conf.in
+@@ -1 +1,2 @@
++g @polkitd_user@ @polkitd_gid@
+ u @polkitd_user@ @polkitd_uid@ "User for polkitd"


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=polkit
 pkgver=126
-pkgrel=1
+pkgrel=2
 pkgdesc="Application development toolkit for controlling system-wide 
privileges"
 url="https://github.com/polkit-org/polkit";
 arch=(x86_64)
@@ -34,7 +34,7 @@ source=(
   0002-meson-Detect-Arch-Linux-and-set-the-UID-and-GID.patch
 )
 
b2sums=('20659c1a622208e1db7d5f65c5ab75a6a35c55472b5abdadc5405fb83f678e7eb9fe4ac32b1947f6956cc1204f5caa2cad2f5db81de7ea49cdb13bd309c94fa4'
-        
'b891682aa88beab15cd90a7681060168c5cb4de7c3d75dd9dba13a8281eb8de6ea81436b2dc8ddf404c5016eba422519fc9f28ecd2648c7ac811330196eb4a7d'
+        
'9bfb6911469af4d86c973fb3c0949715b3ed6217f20643c7399d79c7a271c24f8c8399442d86903fcc333f62618d7f6b0a7737764e5a3ce829c577b79e30b7d4'
         
'f6dc32e6b56129bf8e181c2cce91c868eddb9e6c82e3d674f3ce5085c0ecde005b625b621c1ef28d3afbdcfbfc4d7586dbd4dfed5a611f251388c81270bc380b')
 
 prepare() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/polkit/-/commit/f8b617b22e18b7a25511e02310138fac2126ca4d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/polkit/-/commit/f8b617b22e18b7a25511e02310138fac2126ca4d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to