# HG changeset patch # User Christophe Lincoln # Date 1335178440 -7200 # Node ID 3c2bd4920bdb68b548ee5336f8bfaf713e5efa54 # Parent b40b085ea0d4f2249cd1a6b2eb2f2271dde744fb Up: polkit (0.104) Dont build with pam by default (use polkit-pam) diff -r b40b085ea0d4 -r 3c2bd4920bdb polkit-dev/receipt --- a/polkit-dev/receipt Mon Apr 23 12:52:27 2012 +0200 +++ b/polkit-dev/receipt Mon Apr 23 12:54:00 2012 +0200 @@ -1,11 +1,10 @@ # SliTaz package receipt. PACKAGE="polkit-dev" -VERSION="0.103" +VERSION="0.104" CATEGORY="development" SHORT_DESC="devel files for polkit" MAINTAINER="slaxemulator@gmail.com" -DEPENDS="polkit" WANTED="polkit" WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" PROVIDES="PolicyKit-dev" @@ -13,9 +12,13 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $_pkg/usr/include $fs/usr - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib - cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share + mkdir -p $fs/usr/lib/polkit-1/extensions $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/share/gir-1.0 $fs/usr/share + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + cp -a $install/usr/lib/polkit-1/extensions/*.*a \ + $fs/usr/lib/polkit-1/extensions } diff -r b40b085ea0d4 -r 3c2bd4920bdb polkit-pam/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/polkit-pam/receipt Mon Apr 23 12:54:00 2012 +0200 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="polkit-pam" +VERSION="0.104" +CATEGORY="base-system" +SHORT_DESC="Polkit with PAM support." +MAINTAINER="slaxemulator@gmail.com" +SOURCE="polkit" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" +WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" +PROVIDES="polkit" + +DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam" +BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ +dbus-glib-dev expat-dev pam-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib/polkit-1 \ + --disable-man-pages \ + --disable-gtk-doc \ + --with-authfw=pam \ + $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 + 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 +} diff -r b40b085ea0d4 -r 3c2bd4920bdb polkit/receipt --- a/polkit/receipt Mon Apr 23 12:52:27 2012 +0200 +++ b/polkit/receipt Mon Apr 23 12:54:00 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="polkit" -VERSION="0.103" +VERSION="0.104" CATEGORY="base-system" SHORT_DESC="Application development toolkit for controlling system-wide privileges." MAINTAINER="slaxemulator@gmail.com" @@ -10,9 +10,9 @@ WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" CROSS="error: cannot check for file existence when cross compiling" -DEPENDS="glib libgio dbus dbus-glib expat pam" -BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev \ -intltool" +DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat" +BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ +dbus-glib-dev expat-dev" # Rules to configure and make the package. compile_rules() @@ -25,8 +25,8 @@ --libexecdir=/usr/lib/polkit-1 \ --disable-man-pages \ --disable-gtk-doc \ - --build=$HOST_SYSTEM \ - --host=$HOST_SYSTEM && + --with-authfw=shadow \ + $CONFIGURE_ARGS && make && make install } @@ -34,12 +34,12 @@ genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/etc $fs - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib - cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib - cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib - cp -a $_pkg/usr/share/dbus-1 $fs/usr/share - cp -a $_pkg/usr/share/polkit-1 $fs/usr/share - cp -a $_pkg/var $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/etc $fs + 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 }