PN: polkit
PV: 0.119
PR: r0
PKGV: 0.119
PKGR: r0@EXTENDPRAUTO@
LICENSE: LGPL-2.0-or-later
DESCRIPTION: The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes.
SUMMARY: PolicyKit Authorization Framework
RDEPENDS:polkit: base-files base-passwd libpam (>= 1.5.2) shadow duktape (>= 2.7.0) expat (>= 2.5.0) glib-2.0 (>= 2.72.3) glibc (>= 2.35) libsystemd (>= 250.14)
SECTION: base
PKG:polkit: polkit
FILES:polkit: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib/*.so.*             /lib/udev /usr/lib/udev             /usr/lib/udev /usr/lib/udev             /usr/share/polkit /usr/lib/polkit/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /usr/lib/girepository-*/*.typelib     /usr/lib/polkit-1     /usr/lib/polkit-1     /usr/share/dbus-1     /usr/share/polkit-1     /usr/share/gettext  /usr/lib/systemd/system-preset/98-polkit.preset /usr/lib/systemd/system/polkit.service
FILES_INFO:polkit: {"/etc/pam.d/polkit-1": 165, "/etc/polkit-1/rules.d/50-default.rules": 326, "/usr/bin/pkaction": 14312, "/usr/bin/pkcheck": 22496, "/usr/bin/pkexec": 26720, "/usr/bin/pkttyagent": 18408, "/usr/lib/girepository-1.0/Polkit-1.0.typelib": 19080, "/usr/lib/girepository-1.0/PolkitAgent-1.0.typelib": 4152, "/usr/lib/libpolkit-agent-1.so.0": 26, "/usr/lib/libpolkit-agent-1.so.0.0.0": 47016, "/usr/lib/libpolkit-gobject-1.so.0": 28, "/usr/lib/libpolkit-gobject-1.so.0.0.0": 133032, "/usr/lib/polkit-1/polkit-agent-helper-1": 14320, "/usr/lib/polkit-1/polkitd": 121072, "/usr/lib/systemd/system-preset/98-polkit.preset": 23, "/usr/lib/systemd/system/polkit.service": 172, "/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service": 130, "/usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf": 638, "/usr/share/gettext/its/polkit.its": 309, "/usr/share/gettext/its/polkit.loc": 195, "/usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy": 6281, "/usr/share/polkit-1/actions/org.freedesktop.policykit.policy": 3975}
pkg_postinst:polkit: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "disable" = "enable" ]; then\n\t\tfor service in polkit.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\tsystemctl daemon-reload\n\t\tsystemctl preset polkit.service\n\n\t\tif [ "disable" = "enable" ]; then\n\t\t\tsystemctl --no-block restart polkit.service\n\t\tfi\n\tfi\nfi\nif [ x"$D" = "x" ]; then\n\tif [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi\nfi\n
pkg_preinst:polkit: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "polkit: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "polkit: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "polkit: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "polkit: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "polkit: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "polkit: user $username already exists, not re-creating it"\n\tfi\n}\nperform_groupmems () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "polkit: Performing groupmems with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'`\n\tlocal username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'`\n\tbbnote "polkit: Running groupmems command with group $groupname and user $username"\n\tlocal mem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\tif test "x$mem_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupmems \\$opts\\" || true\n\t\tmem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\t\tif test "x$mem_exists" = "x"; then\n\t\t\tbbfatal "polkit: groupmems command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "polkit: group $groupname already contains $username, not re-adding it"\n\tfi\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--root $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t    cp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --root\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM="--gid 982 polkitd"\n\tUSERADD_PARAM="--home-dir /etc/polkit-1 --gid 982 --no-create-home --system --shell /bin/nologin --uid 982 polkitd"\n\tGROUPMEMS_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupmems commands..."\n\t# Invoke multiple instances of groupmems for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupmems "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm:polkit: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tsystemctl stop polkit.service\n\n\t\tsystemctl disable polkit.service\n\tfi\nfi\n
FILERPROVIDESFLIST:polkit: /usr/lib/libpolkit-agent-1.so.0.0.0 /usr/lib/libpolkit-gobject-1.so.0.0.0
FILERPROVIDES:/usr/lib/libpolkit-agent-1.so.0.0.0:polkit:  libpolkit-agent-1.so.0()(64bit)
FILERPROVIDES:/usr/lib/libpolkit-gobject-1.so.0.0.0:polkit:  libpolkit-gobject-1.so.0()(64bit)
FILERDEPENDSFLIST:polkit: /usr/bin/pkaction /usr/bin/pkcheck /usr/bin/pkexec /usr/bin/pkttyagent /usr/lib/libpolkit-agent-1.so.0.0.0 /usr/lib/libpolkit-gobject-1.so.0.0.0 /usr/lib/polkit-1/polkit-agent-helper-1 /usr/lib/polkit-1/polkitd
FILERDEPENDS:/usr/bin/pkaction:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpolkit-gobject-1.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/bin/pkcheck:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpolkit-gobject-1.so.0()(64bit) libpolkit-agent-1.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/bin/pkexec:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0()(64bit) libpolkit-gobject-1.so.0()(64bit) libpolkit-agent-1.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/bin/pkttyagent:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpolkit-gobject-1.so.0()(64bit) libpolkit-agent-1.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/libpolkit-agent-1.so.0.0.0:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpolkit-gobject-1.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libsystemd.so.0()(64bit) libexpat.so.1()(64bit) libpthread.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/libpolkit-gobject-1.so.0.0.0:polkit:  libsystemd.so.0(LIBSYSTEMD_209)(64bit) libsystemd.so.0(LIBSYSTEMD_213)(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.17)(64bit) libgmodule-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libsystemd.so.0()(64bit) libpthread.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/polkit-1/polkit-agent-helper-1:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpam.so.0()(64bit) libpolkit-gobject-1.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/polkit-1/polkitd:polkit:  ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libsystemd.so.0(LIBSYSTEMD_213)(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.17)(64bit) libpolkit-gobject-1.so.0()(64bit) libgio-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libsystemd.so.0()(64bit) libexpat.so.1()(64bit) libduktape.so.207()(64bit) libm.so.6()(64bit) libc.so.6()(64bit) ld-linux-aarch64.so.1()(64bit) rtld(GNU_HASH)
PKGSIZE:polkit: 432876
