
Receipt for package “polkit”
# SliTaz package receipt. PACKAGE="polkit" VERSION="0.104" CATEGORY="base-system" SHORT_DESC="Application development toolkit for controlling system-wide privileges." MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.freedesktop.org/wiki/Software/PolicyKit" WGET_URL="https://hal.freedesktop.org/releases/$TARBALL" CROSS="error: cannot check for file existence when cross compiling" CONFIG_FILES=" /etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf /etc/polkit-1/localauthority.conf.d/50-localauthority.conf /etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf" DEPENDS="glib libgio dbus dbus-glib expat util-linux-eject" BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ dbus-glib-dev expat-dev" HOST_ARCH="i486 x86_64" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { patch -p0 < $stuff/CVE-2021-4034.u ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/polkit-1 \ --disable-man-pages \ --disable-gtk-doc \ --enable-introspection \ --with-authfw=shadow \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/etc $fs rm -r $fs/etc/polkit-1/localauthority cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/polkit-1 $fs/usr/lib rm $fs/usr/lib/polkit-1/extensions/*.*a cp -a $install/usr/share/dbus-1 $fs/usr/share cp -a $install/usr/share/polkit-1 $fs/usr/share cp -a $install/var $fs cook_config_dotnew } post_install() { config_dotnew "$CONFIG_FILES" }
6107 packages and 261132 files in current database (Mon 07 Jul 2025 12:01:25 AM UTC)