[Buildroot] [PATCH v2,1/1] package/libldns: fix libressl build

Yann E. MORIN yann.morin.1998 at free.fr
Mon Dec 18 17:51:17 UTC 2023


Fabrice, All,

On 2023-12-12 21:59 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump of libressl to version
> 3.8.2 in commit 21eca49ed5110872407b76ab9337d2877c4cda24:
> 
> ./keys.c:167:35: error: 'ENGINE_METHOD_ALL' undeclared (first use in this function)
>   167 |         if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
>       |                                   ^~~~~~~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/37cc05b78a7004caa1b45d896121f059a4f8ca00
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
> Changes v1 -> v2 (after review of Yann E. Morin):
>  - Disable gost without engines instead of patching code
> 
>  package/libldns/libldns.mk | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/package/libldns/libldns.mk b/package/libldns/libldns.mk
> index 06564e3d9f..d6af6a2b97 100644
> --- a/package/libldns/libldns.mk
> +++ b/package/libldns/libldns.mk
> @@ -17,7 +17,6 @@ LIBLDNS_CONF_OPTS = \
>  	--with-ssl=$(STAGING_DIR)/usr \
>  	--enable-dane \
>  	--enable-ecdsa \
> -	--enable-gost \
>  	--enable-sha2 \
>  	--without-examples \
>  	--without-p5-dns-ldns \
> @@ -30,6 +29,12 @@ else
>  LIBLDNS_CONF_OPTS += --disable-dane-verify
>  endif
>  
> +ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
> +LIBLDNS_CONF_OPTS += --enable-gost
> +else
> +LIBLDNS_CONF_OPTS += --disable-gost
> +endif
> +
>  ifeq ($(BR2_STATIC_LIBS),y)
>  LIBLDNS_DEPENDENCIES += host-pkgconf
>  # missing -lz breaks configure, add it using pkgconf
> -- 
> 2.42.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list