Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/freeradius-server: disable with libressl
@ 2022-12-10 13:13 Fabrice Fontaine
  2022-12-11 13:09 ` Thomas Petazzoni via buildroot
  2022-12-21  8:04 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-12-10 13:13 UTC (permalink / raw)
  To: buildroot; +Cc: David GOUARIN, Matt Weber, Fabrice Fontaine

Building with libressl results in the following build failure since the
addition of the package in commit
736c4c1655d93652a9a7e79235bbe726b3d46176:

src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c: In function '_session_secret':
src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c:228:47: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'}
  228 |         eap_fast_session_ticket(tls_session, s->s3->client_random, s->s3->server_random, secret, secret_len);
      |                                               ^~

Disable building with libressl following upstream feedback:
https://github.com/FreeRADIUS/freeradius-server/pull/4689

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/freeradius-server/freeradius-server.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk
index ebd459341d..af3320eb44 100644
--- a/package/freeradius-server/freeradius-server.mk
+++ b/package/freeradius-server/freeradius-server.mk
@@ -178,7 +178,7 @@ else
 FREERADIUS_SERVER_CONF_OPTS += --without-rlm_sql_postgresql
 endif
 
-ifeq ($(BR2_PACKAGE_HAS_OPENSSL),y)
+ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
 FREERADIUS_SERVER_DEPENDENCIES += openssl
 FREERADIUS_SERVER_CONF_OPTS += \
 	--with-openssl \
-- 
2.35.1

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

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

* Re: [Buildroot] [PATCH 1/1] package/freeradius-server: disable with libressl
  2022-12-10 13:13 [Buildroot] [PATCH 1/1] package/freeradius-server: disable with libressl Fabrice Fontaine
@ 2022-12-11 13:09 ` Thomas Petazzoni via buildroot
  2022-12-21  8:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-11 13:09 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: David GOUARIN, Matt Weber, buildroot

On Sat, 10 Dec 2022 14:13:14 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Building with libressl results in the following build failure since the
> addition of the package in commit
> 736c4c1655d93652a9a7e79235bbe726b3d46176:
> 
> src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c: In function '_session_secret':
> src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c:228:47: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'}
>   228 |         eap_fast_session_ticket(tls_session, s->s3->client_random, s->s3->server_random, secret, secret_len);
>       |                                               ^~
> 
> Disable building with libressl following upstream feedback:
> https://github.com/FreeRADIUS/freeradius-server/pull/4689
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/c8df444f4c39f83e254dbb642a5852a1c956f7bb
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/freeradius-server/freeradius-server.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/freeradius-server: disable with libressl
  2022-12-10 13:13 [Buildroot] [PATCH 1/1] package/freeradius-server: disable with libressl Fabrice Fontaine
  2022-12-11 13:09 ` Thomas Petazzoni via buildroot
@ 2022-12-21  8:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-12-21  8:04 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: David GOUARIN, Matt Weber, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Building with libressl results in the following build failure since the
 > addition of the package in commit
 > 736c4c1655d93652a9a7e79235bbe726b3d46176:

 > src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c: In function '_session_secret':
 > src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c:228:47: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'}
 >   228 |         eap_fast_session_ticket(tls_session, s->s3->client_random, s->s3->server_random, secret, secret_len);
 >       |                                               ^~

 > Disable building with libressl following upstream feedback:
 > https://github.com/FreeRADIUS/freeradius-server/pull/4689

 > Fixes:
 >  - http://autobuild.buildroot.org/results/c8df444f4c39f83e254dbb642a5852a1c956f7bb

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-12-21  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-10 13:13 [Buildroot] [PATCH 1/1] package/freeradius-server: disable with libressl Fabrice Fontaine
2022-12-11 13:09 ` Thomas Petazzoni via buildroot
2022-12-21  8:04 ` Peter Korsgaard

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