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