From 577c42eb929b06b61a2e5db3400f379e6e5960ed Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 23 Jul 2013 11:17:15 -0700 Subject: consolekit: Update to 0.4.6 (From OE-Core rev: 6faa9c4e139cd1cf3feaef18cdd6c4c9d4f8173a) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../recipes-support/consolekit/consolekit_0.4.6.bb | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta/recipes-support/consolekit/consolekit_0.4.6.bb (limited to 'meta/recipes-support/consolekit/consolekit_0.4.6.bb') diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb new file mode 100644 index 0000000000..63da028f81 --- /dev/null +++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb @@ -0,0 +1,42 @@ +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" + +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.xz \ + file://sepbuildfix.patch" + +SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678" +SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c" + +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}" + +do_install_append() { + # Remove /var/run from package as console-kit-daemon will populate it on startup + rm -fr "${D}${localstatedir}/run" +} -- cgit v1.2.3-54-g00ecf