mirror of
https://git.yoctoproject.org/poky
synced 2026-03-03 13:59:40 +01:00
When pam is enabled an extra plugin is build and it references an incorrect directory when separate build directories are used. This patch corrects the issue. (From OE-Core rev: a6e91db198ae5b77986de25331631d894c7b97d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.8 KiB
BlitzBasic
40 lines
1.8 KiB
BlitzBasic
DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats."
|
|
HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
|
|
BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
|
|
|
|
PR = "r10"
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
|
file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3"
|
|
|
|
DEPENDS = "glib-2.0 dbus dbus-glib virtual/libx11"
|
|
RDEPENDS_${PN} += "base-files"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.bz2 \
|
|
file://sepbuildfix.patch"
|
|
SRC_URI[md5sum] = "f2657f93761206922d558471a936fbc3"
|
|
SRC_URI[sha256sum] = "43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38"
|
|
|
|
|
|
S = "${WORKDIR}/ConsoleKit-${PV}"
|
|
|
|
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
|
|
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
|
|
|
|
PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam"
|
|
# No option to turn it on or off, so rely on the build dependency for now.
|
|
PACKAGECONFIG[policykit] = ",,polkit"
|
|
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir="
|
|
|
|
FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \
|
|
${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \
|
|
${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
|
|
FILES_${PN}-dbg += "${base_libdir}/security/.debug"
|
|
|
|
PACKAGES =+ "pam-plugin-ck-connector"
|
|
FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so"
|
|
RDEPENDS_pam-plugin-ck-connector += "${PN}"
|