polkit: fix dependencies, use --system in pre-install

This commit is contained in:
Juergen Daubert 2019-05-10 20:07:52 +02:00
parent a918b01460
commit 64eaa7642d
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/UkgEyIf8L5aiCoXYSqrzsMklfh33UL+nZL18dRR0E4EKQMdv7RmzB1ZI7Wa5XMu4ntnNg9+eAVC97PQFwoiNw4=
SHA256 (Pkgfile) = 35ca870fa85dba8dc6cbe0deef73a561a3588e73232f2eaca03f757c47689b11
RWSE3ohX2g5d/ermtHMthoZrgAEI3XHrccTYk/9nBwA4GgtBRsnB+R2jR85ZKqmZq1j5WusvvXJRXj7oksJPKTNUf57EwbydjwI=
SHA256 (Pkgfile) = d474090f52699ff0db0f5085e5790bc4b083f95d5661f19ba817f56bb1bf3c0c
SHA256 (.footprint) = 5239cef9f29e97030e0f532862a331e6ed65a3bb5e895f5ce832f92d6a7e5309
SHA256 (polkit-0.116.tar.gz) = 88170c9e711e8db305a12fdb8234fac5706c61969b94e084d0f117d8ec5d34b1
SHA256 (polkit-1) = a7638983d4f629c992dc108a956f8c3bea18404d88efd711a3b877a3dca925ed

View File

@ -1,7 +1,7 @@
# Description: Application development toolkit for controlling system-wide privileges
# URL: http://www.freedesktop.org/wiki/Software/PolicyKit
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: glib util-linux nspr spidermonkey intltool
# Depends on: glib util-linux nspr spidermonkey intltool gobject-introspection
name=polkit
version=0.116

View File

@ -1,7 +1,7 @@
#!/bin/sh
getent group polkitd || /usr/sbin/groupadd -g 83 polkitd
getent group polkitd || /usr/sbin/groupadd -r polkitd
getent passwd polkitd || /usr/sbin/useradd -g polkitd -u 83 -d /var/empty -s /bin/false -c "PolicyKit User" polkitd
getent passwd polkitd || /usr/sbin/useradd -g polkitd -r -d /var/empty -s /bin/false -c "PolicyKit User" polkitd
/usr/bin/passwd -l polkitd