[Buildroot] [PATCH 1/4] package/openssh: Depend on libaudit if available

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jun 6 20:29:19 UTC 2020


On Sat,  6 Jun 2020 00:59:01 +0200
Norbert Lange <nolange79 at gmail.com> wrote:

> Signed-off-by: Norbert Lange <nolange79 at gmail.com>
> ---
>  package/openssh/openssh.mk | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 515eec2c03..55b917e20a 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -39,6 +39,11 @@ else
>  OPENSSH_CONF_OPTS += --without-ssl-engine
>  endif
>  
> +ifeq ($(BR2_PACKAGE_AUDIT),y)
> +OPENSSH_DEPENDENCIES += audit
> +OPENSSH_CONF_OPTS += --with-audit=linux
> +endif

We like to have an "else" clause that explicitly disables the feature,
so I've added that, reworked the commit title, and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list