diff options
author | Joe Slater <jslater@windriver.com> | 2013-08-23 10:37:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:47:19 +0100 |
commit | 0904469075bb87a0581e3fda7c2f5dd7ea6f5c68 (patch) | |
tree | 65253e13e12427c3d7bf73f14886a9f91087e01c | |
parent | 39d80f6d4ff56e13a621d5f3b9e2b2348efdf3d6 (diff) | |
download | poky-0904469075bb87a0581e3fda7c2f5dd7ea6f5c68.tar.gz |
cronie: add PACKAGECONFIG data
We add PACKAGECONFIG[] data for audit and move
the current pam related stuff into it's own entry.
(From OE-Core rev: ada22cab96bb6b7cc98782a14e7c44fbebde77df)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/cronie/cronie_1.4.11.bb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-extended/cronie/cronie_1.4.11.bb b/meta/recipes-extended/cronie/cronie_1.4.11.bb index aa1ba39346..d98d0d9167 100644 --- a/meta/recipes-extended/cronie/cronie_1.4.11.bb +++ b/meta/recipes-extended/cronie/cronie_1.4.11.bb | |||
@@ -14,9 +14,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \ | |||
14 | 14 | ||
15 | SECTION = "utils" | 15 | SECTION = "utils" |
16 | 16 | ||
17 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
18 | RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}" | ||
19 | PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" | ||
20 | 17 | ||
21 | SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ | 18 | SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ |
22 | file://fix-out-of-tree-build.patch \ | 19 | file://fix-out-of-tree-build.patch \ |
@@ -25,15 +22,19 @@ SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ | |||
25 | ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" | 22 | ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" |
26 | 23 | ||
27 | PAM_SRC_URI = "file://crond_pam_config.patch" | 24 | PAM_SRC_URI = "file://crond_pam_config.patch" |
28 | 25 | PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" | |
29 | 26 | ||
30 | SRC_URI[md5sum] = "2ba645cf54de17f138ef70312843862f" | 27 | SRC_URI[md5sum] = "2ba645cf54de17f138ef70312843862f" |
31 | SRC_URI[sha256sum] = "fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be" | 28 | SRC_URI[sha256sum] = "fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be" |
32 | 29 | ||
33 | inherit autotools update-rc.d useradd | 30 | inherit autotools update-rc.d useradd |
34 | 31 | ||
35 | EXTRA_OECONF += "\ | 32 | |
36 | ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" | 33 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
34 | |||
35 | PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit," | ||
36 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,${PAM_DEPS}" | ||
37 | |||
37 | 38 | ||
38 | INITSCRIPT_NAME = "crond" | 39 | INITSCRIPT_NAME = "crond" |
39 | INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." | 40 | INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." |