Patchwork [1/1] libpam: add PACKAGECONFIG data concerning audit

login
register
mail settings
Submitter Joe Slater
Date Aug. 21, 2013, 9:16 p.m.
Message ID <1377119763-25684-1-git-send-email-jslater@windriver.com>
Download mbox | patch
Permalink /patch/56129/
State New
Headers show

Comments

Joe Slater - Aug. 21, 2013, 9:16 p.m.
We do not want libpam to build using audit just
because it happens to be lying around, so we
create PACKAGECONFI[] data to give us explicit
control.

Signed-off-by: Joe Slater <jslater@windriver.com>
---
 meta/recipes-extended/pam/libpam_1.1.6.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Ross Burton - Aug. 21, 2013, 9:25 p.m.
On Wednesday, 21 August 2013, Joe Slater wrote:

> +# yes, no, depends, rdepends


We don't have inline comments explaining any other variables so please
don't explain this one (I admit its more complex than most, but its
increasingly common).

Ross

Patch

diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 3d8999d..4aa7266 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -47,6 +47,10 @@  S = "${WORKDIR}/Linux-PAM-${PV}"
 
 inherit autotools gettext pkgconfig
 
+# yes, no, depends, rdepends
+#
+PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit,"
+
 PACKAGES += "${PN}-runtime ${PN}-xtests"
 FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
 FILES_${PN}-dbg += "${base_libdir}/security/.debug \