diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-25 11:24:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:57:07 +0100 |
commit | c3acb9ca8e1973097db93c7111f67176fe30fa2f (patch) | |
tree | 7fda4672b19dcfb66af6519a893f520aab7c8c58 /meta/recipes-support | |
parent | fee83eb6ffcc0fce598f06cc7110841eda3707fe (diff) | |
download | poky-c3acb9ca8e1973097db93c7111f67176fe30fa2f.tar.gz |
consolekit 0.4.5: add pam support based on distro features
(From OE-Core rev: 6b28a9f73773890e70fb4dc570520b5be060a919)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.5.bb | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb index f3b1ef88c7..2b85455374 100644 --- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb +++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb | |||
@@ -2,11 +2,13 @@ DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login | |||
2 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" | 2 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" |
3 | BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit" | 3 | BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit" |
4 | 4 | ||
5 | PR = "r2" | ||
6 | |||
5 | LICENSE = "GPLv2+" | 7 | LICENSE = "GPLv2+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
7 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" | 9 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" |
8 | 10 | ||
9 | DEPENDS = "dbus" | 11 | DEPENDS = "dbus ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
10 | 12 | ||
11 | inherit gnome | 13 | inherit gnome |
12 | 14 | ||
@@ -18,8 +20,13 @@ SRC_URI[sha256sum] = "43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b22368 | |||
18 | 20 | ||
19 | S = "${WORKDIR}/ConsoleKit-${PV}" | 21 | S = "${WORKDIR}/ConsoleKit-${PV}" |
20 | 22 | ||
21 | EXTRA_OECONF = "--with-systemdsystemunitdir=${base_libdir}/systemd/system/" | 23 | EXTRA_OECONF = "--with-systemdsystemunitdir=${base_libdir}/systemd/system/ \ |
24 | ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${libdir}/security', '--disable-pam-module', d)} \ | ||
25 | " | ||
22 | 26 | ||
23 | FILES_${PN} += "${libdir}/ConsoleKit ${base_libdir} ${datadir}/dbus-1 ${datadir}/PolicyKit" | 27 | FILES_${PN} += "${libdir}/ConsoleKit ${base_libdir} ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*" |
24 | 28 | ||
29 | PACKAGES =+ "pam-plugin-ck-connector" | ||
30 | FILES_pam-plugin-ck-connector += "${libdir}/security/*.so" | ||
31 | RDEPENDS_pam-plugin-ck-connector += "${PN}" | ||
25 | 32 | ||