* update polkit to 124-2

This commit is contained in:
Alexander Baldeck 2024-03-03 00:40:06 +01:00
parent c4f27ae5c0
commit be5b35d70e
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,5 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Wed, 17 Jan 2024 20:57:44 +0100
Subject: [PATCH] meson: Pass polkitd_uid to meson_post_install.py

View File

@ -4,7 +4,7 @@
pkgname=polkit
pkgver=124
pkgrel=1
pkgrel=2
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="https://gitlab.freedesktop.org/polkit/polkit"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -25,13 +25,14 @@ makedepends=(
checkdepends=(python-dbusmock)
provides=(libpolkit-{agent,gobject}-1.so)
backup=(etc/pam.d/polkit-1)
install=polkit.install
_commit=82f0924dc0eb23b9df68e88dbaf9e07c81940a5a # tags/124
source=(
"git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit"
0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
)
b2sums=('SKIP'
'0fc028f7c883015c38515883f91e7cd10d15540ae6cb8305d79e8e2d8d70f2228a9935eb477413b37f4b33f6d4faf86f1b6ee33b0c9d6d3d3212e8c1733a83d0')
'51200f8600e48fdec61403c2d16d499478dabcb8826d11bd388ab0f32a05531130b45566d4716769043695863dbd9a8e9b9f6b5222316d60bc2e1749ec93b20b')
pkgver() {
cd polkit

7
polkit/polkit.install Normal file
View File

@ -0,0 +1,7 @@
pre_upgrade() {
if (( $(vercmp $2 124-2) < 0 )); then
install -d -o root -g root -m 755 usr/share/polkit-1/rules.d
fi
}
# vim:set ft=bash sw=2 sts=-1 et: