diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-support/consolekit | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-support/consolekit')
-rw-r--r-- | meta/recipes-support/consolekit/consolekit/sepbuildfix.patch | 19 | ||||
-rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.6.bb | 42 |
2 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-support/consolekit/consolekit/sepbuildfix.patch b/meta/recipes-support/consolekit/consolekit/sepbuildfix.patch new file mode 100644 index 0000000000..f2f9b9c682 --- /dev/null +++ b/meta/recipes-support/consolekit/consolekit/sepbuildfix.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Fix builds in the case of seprate source from the build directory. | ||
2 | |||
3 | RP 2013/4/17 | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Index: pam-ck-connector/Makefile.am | ||
8 | =================================================================== | ||
9 | --- consolekit/pam-ck-connector.orig/Makefile.am 2010-09-03 13:54:31.000000000 +0000 | ||
10 | +++ consolekit/pam-ck-connector/Makefile.am 2013-04-17 09:06:49.093524918 +0000 | ||
11 | @@ -4,7 +4,7 @@ | ||
12 | |||
13 | INCLUDES = \ | ||
14 | $(LIBDBUS_CFLAGS) \ | ||
15 | - -I$(top_builddir)/libck-connector \ | ||
16 | + -I$(top_srcdir)/libck-connector \ | ||
17 | $(NULL) | ||
18 | |||
19 | pamlibdir = $(PAM_MODULE_DIR) | ||
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 @@ | |||
1 | DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats." | ||
2 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" | ||
3 | BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit" | ||
4 | |||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
7 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" | ||
8 | |||
9 | DEPENDS = "glib-2.0 dbus dbus-glib virtual/libx11" | ||
10 | RDEPENDS_${PN} += "base-files" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.xz \ | ||
15 | file://sepbuildfix.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678" | ||
18 | SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c" | ||
19 | |||
20 | S = "${WORKDIR}/ConsoleKit-${PV}" | ||
21 | |||
22 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | ||
23 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
24 | |||
25 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" | ||
26 | # No option to turn it on or off, so rely on the build dependency for now. | ||
27 | PACKAGECONFIG[policykit] = ",,polkit" | ||
28 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" | ||
29 | |||
30 | FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ | ||
31 | ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ | ||
32 | ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*" | ||
33 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" | ||
34 | |||
35 | PACKAGES =+ "pam-plugin-ck-connector" | ||
36 | FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so" | ||
37 | RDEPENDS_pam-plugin-ck-connector += "${PN}" | ||
38 | |||
39 | do_install_append() { | ||
40 | # Remove /var/run from package as console-kit-daemon will populate it on startup | ||
41 | rm -fr "${D}${localstatedir}/run" | ||
42 | } | ||