* [PATCH 1/1] cronie: add PACKAGECONFIG data
@ 2013-08-22 19:34 Joe Slater
2013-08-22 20:19 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Joe Slater @ 2013-08-22 19:34 UTC (permalink / raw)
To: openembedded-core
We add PACKAGECONFIG[] data for audit and move
the current pam related stuff into it's own entry.
Signed-off-by: Joe Slater <jslater@windriver.com>
---
meta/recipes-extended/cronie/cronie_1.4.11.bb | 15 +++++++++------
1 files changed, 9 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 aa1ba39..9d2d30b 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 \
SECTION = "utils"
-DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
-RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
-PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
file://fix-out-of-tree-build.patch \
@@ -25,15 +22,21 @@ SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
PAM_SRC_URI = "file://crond_pam_config.patch"
-
+PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
SRC_URI[md5sum] = "2ba645cf54de17f138ef70312843862f"
SRC_URI[sha256sum] = "fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be"
inherit autotools update-rc.d useradd
-EXTRA_OECONF += "\
- ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}"
+
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
+
+# yes, no, depends, rdepends
+#
+PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit,"
+PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,${PAM_DEPS}"
+
INITSCRIPT_NAME = "crond"
INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] cronie: add PACKAGECONFIG data
2013-08-22 19:34 [PATCH 1/1] cronie: add PACKAGECONFIG data Joe Slater
@ 2013-08-22 20:19 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2013-08-22 20:19 UTC (permalink / raw)
To: Joe Slater; +Cc: openembedded-core
On 08/22/2013 12:34 PM, Joe Slater wrote:
> We add PACKAGECONFIG[] data for audit and move
> the current pam related stuff into it's own entry.
>
> Signed-off-by: Joe Slater <jslater@windriver.com>
> ---
> meta/recipes-extended/cronie/cronie_1.4.11.bb | 15 +++++++++------
> 1 files changed, 9 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 aa1ba39..9d2d30b 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 \
>
> SECTION = "utils"
>
> -DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
> -RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
> -PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
>
> SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
> file://fix-out-of-tree-build.patch \
> @@ -25,15 +22,21 @@ SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
> ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
>
> PAM_SRC_URI = "file://crond_pam_config.patch"
> -
> +PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
>
> SRC_URI[md5sum] = "2ba645cf54de17f138ef70312843862f"
> SRC_URI[sha256sum] = "fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be"
>
> inherit autotools update-rc.d useradd
>
> -EXTRA_OECONF += "\
> - ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}"
> +
> +PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
> +
> +# yes, no, depends, rdepends
> +#
You must have this in your cut and paste, as with the other patch, we
don't need the extra comments here.
Thanks
Sau!
> +PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit,"
> +PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,${PAM_DEPS}"
> +
>
> INITSCRIPT_NAME = "crond"
> INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-22 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22 19:34 [PATCH 1/1] cronie: add PACKAGECONFIG data Joe Slater
2013-08-22 20:19 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox