* update polkit to 125-1

This commit is contained in:
Alexander Baldeck 2024-09-25 14:20:25 +02:00
parent 1c388c3642
commit 2a6f6b5a64
4 changed files with 49 additions and 16 deletions

31
polkit/.SRCINFO Normal file
View File

@ -0,0 +1,31 @@
pkgbase = polkit
pkgdesc = Application development toolkit for controlling system-wide privileges
pkgver = 125
pkgrel = 1
url = https://github.com/polkit-org/polkit
install = polkit.install
arch = x86_64
license = LGPL-2.0-or-later
checkdepends = python-dbusmock
makedepends = dbus
makedepends = git
makedepends = glib2-devel
makedepends = gobject-introspection
makedepends = gtk-doc
makedepends = meson
makedepends = systemd
depends = duktape
depends = expat
depends = glib2
depends = glibc
depends = pam
depends = systemd-libs
provides = libpolkit-agent-1.so
provides = libpolkit-gobject-1.so
backup = etc/pam.d/polkit-1
source = git+https://github.com/polkit-org/polkit#tag=125
source = 0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
b2sums = 3a3d10173937bd7d869e1125878bec0b6f6ac565ffea7bbf61a05634cfbe85471dc62386825a201915c03c48cbcda277704011ec760a283e5b9663ad49cf0237
b2sums = 14ba77b12255519008a045706d9c6a06b8f4a5a091b980030b3e216908ac7485c5c70b26a4008d15df7b2c374eaf9dde31c8ba480a6cb1601effbb4b6d6c023b
pkgname = polkit

4
polkit/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[polkit]
source = "github"
github = "polkit-org/polkit"
use_max_tag = true

View File

@ -10,10 +10,10 @@ So it can change the rules.d GID without the group being defined.
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index d81afa79df7a..52e38d2f5cda 100644
index 302c18961e2d..2bd62bea4aa4 100644
--- a/meson.build
+++ b/meson.build
@@ -384,6 +384,7 @@ if not libs_only
@@ -385,6 +385,7 @@ if not libs_only
pk_libprivdir,
pk_pkgsysconfdir,
polkitd_user,

View File

@ -3,41 +3,39 @@
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=polkit
pkgver=124
pkgrel=2
pkgver=125
pkgrel=1
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="https://gitlab.freedesktop.org/polkit/polkit"
url="https://github.com/polkit-org/polkit"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=(LGPL-2.0-or-later)
depends=(
duktape
expat
glib2
glibc
pam
systemd
systemd-libs
)
makedepends=(
dbus
git
glib2-devel
gobject-introspection
gtk-doc
meson
systemd
)
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"
"git+$url#tag=$pkgver"
0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
)
b2sums=('SKIP'
'51200f8600e48fdec61403c2d16d499478dabcb8826d11bd388ab0f32a05531130b45566d4716769043695863dbd9a8e9b9f6b5222316d60bc2e1749ec93b20b')
pkgver() {
cd polkit
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
b2sums=('3a3d10173937bd7d869e1125878bec0b6f6ac565ffea7bbf61a05634cfbe85471dc62386825a201915c03c48cbcda277704011ec760a283e5b9663ad49cf0237'
'14ba77b12255519008a045706d9c6a06b8f4a5a091b980030b3e216908ac7485c5c70b26a4008d15df7b2c374eaf9dde31c8ba480a6cb1601effbb4b6d6c023b')
prepare() {
cd polkit
@ -52,7 +50,7 @@ build() {
-D os_type=redhat
-D polkitd_uid=102
-D polkitd_user=polkitd
-D session_tracking=libsystemd-login
-D session_tracking=logind
-D tests=true
)