polkit: included patch, updated signature

This commit is contained in:
Tim Biermann 2024-08-11 20:36:02 +02:00
parent 19011c1b8f
commit 8ca25fa27c
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 36 additions and 4 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Zmsa45TFlH+4kCSe8L6NgLOrhum12+N8OVobiK9NWNGYimVeefBDw3RWcVAFOY7+Lp2rt6CEUf3ATLVD8eIug8=
SHA256 (Pkgfile) = 9cfcfe2737071cedc0aa2a133c9ac52efca91c1df1a441de01e5be9dc2ac2275
RWSE3ohX2g5d/UL+/LnbJVC6QI2u7EFSwTkGED4BMDhZyb1nIZRztO2zhuSn/COBjSwRqeC7QuqmpzD8Sa23m8kNy0KUZJ1nrA8=
SHA256 (Pkgfile) = 9ca87af2cadb2fdb12bb17f72928d81a3a04ed15e5f5ccba217925acdb26dfc3
SHA256 (.footprint) = bb69b825a12577800a584a32cbaa813f6ef3d1f1c339fa46081090f10e556de9
SHA256 (polkit-125.tar.gz) = ea5cd6e6e2afa6bad938ee770bf0c2cd9317910f37956faeba2869adcf3747d1
SHA256 (22193ca2cc0f4e023d331cc1391f55143ef9cade.patch) = d6aa7616c81142a429d44c932ca8b81c63adc2b7f08119fd6273650448254193
SHA256 (22193ca2cc0f4e023d331cc1391f55143ef9cade.patch) = 3c03860a53415fc8deedd5b05774e137ccac49f2efb0229514ec59ca1aabfa16

View File

@ -0,0 +1,32 @@
From 22193ca2cc0f4e023d331cc1391f55143ef9cade Mon Sep 17 00:00:00 2001
From: Jan Rybar <jrybar@redhat.com>
Date: Wed, 17 Jan 2024 15:09:05 +0000
Subject: [PATCH] Move vendored PAM configuration from /etc
---
meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 23d5f28a..2f81c907 100644
--- a/meson.build
+++ b/meson.build
@@ -263,7 +263,7 @@ if enable_pam
pam_prefix = get_option('pam_prefix')
if pam_prefix == ''
- pam_prefix = pk_sysconfdir / 'pam.d'
+ pam_prefix = pk_prefix / 'lib/pam.d'
else
message('PAM files will be installed in prefix ' + pam_prefix)
endif
@@ -420,7 +420,8 @@ if enable_pam
output += ' PAM file auth: ' + pam_conf['PAM_FILE_INCLUDE_AUTH'] + '\n'
output += ' PAM file acount: ' + pam_conf['PAM_FILE_INCLUDE_ACCOUNT'] + '\n'
output += ' PAM file password: ' + pam_conf['PAM_FILE_INCLUDE_PASSWORD'] + '\n'
- output += ' PAM file session: ' + pam_conf['PAM_FILE_INCLUDE_SESSION'] + '\n\n'
+ output += ' PAM file session: ' + pam_conf['PAM_FILE_INCLUDE_SESSION'] + '\n'
+ output += ' PAM config location: ' + pam_prefix + '\n\n'
endif
output += ' Building api docs: ' + enable_gtk_doc.to_string() + '\n'
output += ' Building man pages: ' + enable_man.to_string() + '\n'

View File

@ -7,7 +7,7 @@ name=polkit
version=125
release=1
source=(https://github.com/polkit-org/polkit/archive/$version/$name-$version.tar.gz
https://github.com/polkit-org/polkit/commit/22193ca2cc0f4e023d331cc1391f55143ef9cade.patch)
22193ca2cc0f4e023d331cc1391f55143ef9cade.patch)
build() {
prt-get isinst mozjs91 && PKGMK_POLKIT+=' -D js_engine=mozjs'