wok annotate polkit/receipt @ rev 25336
updated suricata (5.0.2 -> 6.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 17:54:01 2022 +0100 (2022-07-23) |
parents | 21f65cda07b9 |
children |
rev | line source |
---|---|
slaxemulator@7921 | 1 # SliTaz package receipt. |
slaxemulator@7921 | 2 |
slaxemulator@7921 | 3 PACKAGE="polkit" |
pankso@12473 | 4 VERSION="0.104" |
slaxemulator@8860 | 5 CATEGORY="base-system" |
slaxemulator@7921 | 6 SHORT_DESC="Application development toolkit for controlling system-wide privileges." |
slaxemulator@7921 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@7921 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24976 | 10 WEB_SITE="https://www.freedesktop.org/wiki/Software/PolicyKit" |
pascal@24976 | 11 WGET_URL="https://hal.freedesktop.org/releases/$TARBALL" |
pankso@10387 | 12 CROSS="error: cannot check for file existence when cross compiling" |
slaxemulator@7921 | 13 |
al@17307 | 14 DEPENDS="glib libgio dbus dbus-glib expat util-linux-eject" |
pankso@12473 | 15 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ |
pankso@12473 | 16 dbus-glib-dev expat-dev" |
pankso@9764 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
slaxemulator@7921 | 24 # Rules to configure and make the package. |
slaxemulator@7921 | 25 compile_rules() |
slaxemulator@7921 | 26 { |
pascal@24334 | 27 patch -p0 < $stuff/CVE-2021-4034.u |
slaxemulator@7922 | 28 ./configure \ |
slaxemulator@7922 | 29 --prefix=/usr \ |
slaxemulator@7921 | 30 --sysconfdir=/etc \ |
slaxemulator@7921 | 31 --localstatedir=/var \ |
slaxemulator@7921 | 32 --libexecdir=/usr/lib/polkit-1 \ |
slaxemulator@7922 | 33 --disable-man-pages \ |
slaxemulator@7922 | 34 --disable-gtk-doc \ |
pankso@12473 | 35 --with-authfw=shadow \ |
pankso@12473 | 36 $CONFIGURE_ARGS && |
pankso@10387 | 37 make && make install |
slaxemulator@7921 | 38 } |
slaxemulator@7921 | 39 |
slaxemulator@7921 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7921 | 41 genpkg_rules() |
slaxemulator@7921 | 42 { |
slaxemulator@7921 | 43 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12473 | 44 cp -a $install/usr/bin $fs/usr |
pankso@12473 | 45 cp -a $install/etc $fs |
pankso@12473 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12473 | 47 cp -a $install/usr/lib/polkit-1 $fs/usr/lib |
pankso@12473 | 48 rm $fs/usr/lib/polkit-1/extensions/*.*a |
pankso@12473 | 49 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12473 | 50 cp -a $install/usr/share/polkit-1 $fs/usr/share |
pankso@12473 | 51 cp -a $install/var $fs |
slaxemulator@7921 | 52 } |