Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/axel: fix openssl build
@ 2024-01-30 22:21 Fabrice Fontaine
  2024-02-04 21:37 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-30 22:21 UTC (permalink / raw)
  To: buildroot; +Cc: Ismael Luceno, Fabrice Fontaine

Replace --with-ssl by --with-ssl=openssl to avoid the following build
failure raised since bump to version 2.17.12 in commit
50ba0b0a40187b695740a2fce2d2f3ed7cbf58c5 and
https://github.com/axel-download-accelerator/axel/commit/21ccacd0c3bb415c550d590cd64aaa9bf08997a8:

configure: error: Invalid argument: --with-ssl=yes

While at it, also add wolfssl support available since
https://github.com/axel-download-accelerator/axel/commit/0759374239acaeac4105f4851cfabc28433f3bcd

Fixes:
 - http://autobuild.buildroot.org/results/a8c00442bc296353c75e393896abe9883b093a57

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/axel/axel.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/axel/axel.mk b/package/axel/axel.mk
index b3896e86e3..d3a2f4d42c 100644
--- a/package/axel/axel.mk
+++ b/package/axel/axel.mk
@@ -19,8 +19,11 @@ AXEL_CONF_OPTS = \
 	CFLAGS="$(TARGET_CFLAGS)"
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
-AXEL_CONF_OPTS += --with-ssl
+AXEL_CONF_OPTS += --with-ssl=openssl
 AXEL_DEPENDENCIES += openssl
+else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
+AXEL_CONF_OPTS += --with-ssl=wolfssl
+AXEL_DEPENDENCIES += wolfssl
 else
 AXEL_CONF_OPTS += --without-ssl
 endif
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/axel: fix openssl build
  2024-01-30 22:21 [Buildroot] [PATCH 1/1] package/axel: fix openssl build Fabrice Fontaine
@ 2024-02-04 21:37 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2024-02-04 21:37 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Ismael Luceno, buildroot

Fabrice, All,

On 2024-01-30 23:21 +0100, Fabrice Fontaine spake thusly:
> Replace --with-ssl by --with-ssl=openssl to avoid the following build
> failure raised since bump to version 2.17.12 in commit
> 50ba0b0a40187b695740a2fce2d2f3ed7cbf58c5 and
> https://github.com/axel-download-accelerator/axel/commit/21ccacd0c3bb415c550d590cd64aaa9bf08997a8:
> 
> configure: error: Invalid argument: --with-ssl=yes
> 
> While at it, also add wolfssl support available since
> https://github.com/axel-download-accelerator/axel/commit/0759374239acaeac4105f4851cfabc28433f3bcd
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/a8c00442bc296353c75e393896abe9883b093a57
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/axel/axel.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/axel/axel.mk b/package/axel/axel.mk
> index b3896e86e3..d3a2f4d42c 100644
> --- a/package/axel/axel.mk
> +++ b/package/axel/axel.mk
> @@ -19,8 +19,11 @@ AXEL_CONF_OPTS = \
>  	CFLAGS="$(TARGET_CFLAGS)"
>  
>  ifeq ($(BR2_PACKAGE_OPENSSL),y)
> -AXEL_CONF_OPTS += --with-ssl
> +AXEL_CONF_OPTS += --with-ssl=openssl
>  AXEL_DEPENDENCIES += openssl
> +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
> +AXEL_CONF_OPTS += --with-ssl=wolfssl
> +AXEL_DEPENDENCIES += wolfssl
>  else
>  AXEL_CONF_OPTS += --without-ssl
>  endif
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-04 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 22:21 [Buildroot] [PATCH 1/1] package/axel: fix openssl build Fabrice Fontaine
2024-02-04 21:37 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox