summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/polkit/polkit_0.101.bb
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2011-07-26 17:08:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 11:54:51 +0100
commit6bc6406b019ebc104a4abfb15c2d2e1263968664 (patch)
treef89990c0fd03f368ae778799879d5a479abc430e /meta/recipes-extended/polkit/polkit_0.101.bb
parente8f19e8616fb1b0c2d977fb63eaa64f504fb774b (diff)
downloadopenembedded-core-6bc6406b019ebc104a4abfb15c2d2e1263968664.tar.gz
polkit: Support pam
Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Diffstat (limited to 'meta/recipes-extended/polkit/polkit_0.101.bb')
-rw-r--r--meta/recipes-extended/polkit/polkit_0.101.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-extended/polkit/polkit_0.101.bb b/meta/recipes-extended/polkit/polkit_0.101.bb
index 6769914881..56ceca46cb 100644
--- a/meta/recipes-extended/polkit/polkit_0.101.bb
+++ b/meta/recipes-extended/polkit/polkit_0.101.bb
@@ -7,8 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
file://docs/polkit/html/license.html;md5=07ddbf5f29e44c80c99be19c1690ec1f"
SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \
- file://introspection.patch"
-PR = "r0"
+ file://introspection.patch \
+ ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
+
+PAM_SRC_URI = "file://polkit-1_pam.patch"
+PR = "r1"
DEPENDS = "libpam expat dbus-glib eggdbus intltool"
RDEPENDS_${PN} = "libpam"
EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection"