From 21676993ba87034a54f08188b1540fd72776675f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 22 Nov 2009 14:42:11 +0100 Subject: [PATCH] polkit: - build with fakeroot support - various cleanups --- packages/security/polkit/build | 2 +- packages/security/polkit/install | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/security/polkit/build b/packages/security/polkit/build index bd3b373c31..7ed32c8518 100755 --- a/packages/security/polkit/build +++ b/packages/security/polkit/build @@ -27,7 +27,7 @@ cd $PKG_BUILD --disable-introspection \ --with-authfw=pam \ --with-os-type=redhat \ - + make $MAKEINSTALL diff --git a/packages/security/polkit/install b/packages/security/polkit/install index 31264cfefd..99fbd34423 100755 --- a/packages/security/polkit/install +++ b/packages/security/polkit/install @@ -17,9 +17,6 @@ $SCRIPTS/install eggdbus $SCRIPTS/install expat $SCRIPTS/install Linux-PAM - add_user polkit x 87 87 "PolicyKit User" "/" "/bin/sh" - add_group polkit 87 - mkdir -p $INSTALL/etc/dbus-1/system.d cp -PR $PKG_BUILD/data/org.freedesktop.PolicyKit1.conf $INSTALL/etc/dbus-1/system.d @@ -36,7 +33,7 @@ mkdir -p $INSTALL/usr/bin cp -PR $PKG_BUILD/src/programs/.libs/pkaction $INSTALL/usr/bin cp -PR $PKG_BUILD/src/programs/.libs/pkcheck $INSTALL/usr/bin cp -PR $PKG_BUILD/src/programs/.libs/pkexec $INSTALL/usr/bin - chmod 4755 $INSTALL/usr/bin/pkexec + echo "chmod 4755 $INSTALL/usr/bin/pkexec" >> $ROOT/.fakeroot mkdir -p $INSTALL/usr/lib cp -PR $PKG_BUILD/src/polkitagent/.libs/libpolkit-agent-1.so* $INSTALL/usr/lib @@ -51,7 +48,7 @@ mkdir -p $INSTALL/usr/lib/polkit-1/extensions mkdir -p $INSTALL/usr/lib/polkit-1 cp -PR $PKG_BUILD/src/polkitagent/.libs/polkit-agent-helper-1 $INSTALL/usr/lib/polkit-1 - chmod 4755 $INSTALL/usr/lib/polkit-1/polkit-agent-helper-1 + echo "chmod 4755 $INSTALL/usr/lib/polkit-1/polkit-agent-helper-1" >> $ROOT/.fakeroot cp -PR $PKG_BUILD/src/polkitd/.libs/polkitd $INSTALL/usr/lib/polkit-1 mkdir -p $INSTALL/usr/share/dbus-1/system-services