[meta-security] aide: Add depend on audit when audit is enabled.

Message ID 20220517021711.525224-1-jpuhlman@mvista.com
State Accepted, archived
Delegated to: Armin Kuster
Headers show
Series [meta-security] aide: Add depend on audit when audit is enabled. | expand

Commit Message

Jeremy Puhlman May 17, 2022, 2:17 a.m. UTC
| checking for libaudit.h... no
| configure: error: You don't have libaudit properly installed. Install it if you need it.
| NOTE: The following config.log files may provide further information.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
---
 recipes-ids/aide/aide_0.17.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

akuster808 May 23, 2022, 2:50 p.m. UTC | #1
merged

thanks

On 5/16/22 19:17, Jeremy Puhlman wrote:
> | checking for libaudit.h... no
> | configure: error: You don't have libaudit properly installed. Install it if you need it.
> | NOTE: The following config.log files may provide further information.
>
> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
> ---
>   recipes-ids/aide/aide_0.17.3.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-ids/aide/aide_0.17.3.bb b/recipes-ids/aide/aide_0.17.3.bb
> index b1fb58d..fcab504 100644
> --- a/recipes-ids/aide/aide_0.17.3.bb
> +++ b/recipes-ids/aide/aide_0.17.3.bb
> @@ -20,7 +20,7 @@ PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, libseli
>   PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib "
>   PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr"
>   PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl"
> -PACKAGECONFIG[audit] = "--with-audit, --without-audit,"
> +PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit"
>   PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt"
>   PACKAGECONFIG[mhash] = "--with-mhash, --without-mhash, libmhash, libmhash"
>   PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#57114): https://lists.yoctoproject.org/g/yocto/message/57114
> Mute This Topic: https://lists.yoctoproject.org/mt/91155867/3616698
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/recipes-ids/aide/aide_0.17.3.bb b/recipes-ids/aide/aide_0.17.3.bb
index b1fb58d..fcab504 100644
--- a/recipes-ids/aide/aide_0.17.3.bb
+++ b/recipes-ids/aide/aide_0.17.3.bb
@@ -20,7 +20,7 @@  PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, libseli
 PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib "
 PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr"
 PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl"
-PACKAGECONFIG[audit] = "--with-audit, --without-audit,"
+PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit"
 PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt"
 PACKAGECONFIG[mhash] = "--with-mhash, --without-mhash, libmhash, libmhash"
 PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs"