Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected
@ 2017-07-23  8:16 Eric Le Bihan
  2017-07-23 13:00 ` Arnout Vandecappelle
  2017-07-24 16:34 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Le Bihan @ 2017-07-23  8:16 UTC (permalink / raw)
  To: buildroot

If LibreSSL is selected, enable the associated backend to build the
s6-tls* tools.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 package/s6-networking/s6-networking.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/s6-networking/s6-networking.mk b/package/s6-networking/s6-networking.mk
index ffaf8bc..6463f5d 100644
--- a/package/s6-networking/s6-networking.mk
+++ b/package/s6-networking/s6-networking.mk
@@ -23,6 +23,11 @@ S6_NETWORKING_CONF_OPTS = \
 	$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
 	$(SHARED_STATIC_LIBS_OPTS)
 
+ifeq ($(BR2_PACKAGE_LIBRESSL),y)
+S6_NETWORKING_CONF_OPTS += --enable-ssl=libressl
+S6_NETWORKING_DEPENDENCIES = libressl
+endif
+
 define S6_NETWORKING_CONFIGURE_CMDS
 	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
 endef
-- 
2.9.4

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

* [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected
  2017-07-23  8:16 [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected Eric Le Bihan
@ 2017-07-23 13:00 ` Arnout Vandecappelle
  2017-07-23 14:33   ` Eric Le Bihan
  2017-07-24 16:34 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2017-07-23 13:00 UTC (permalink / raw)
  To: buildroot



On 23-07-17 10:16, Eric Le Bihan wrote:
> If LibreSSL is selected, enable the associated backend to build the
> s6-tls* tools.
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
>  package/s6-networking/s6-networking.mk | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/s6-networking/s6-networking.mk b/package/s6-networking/s6-networking.mk
> index ffaf8bc..6463f5d 100644
> --- a/package/s6-networking/s6-networking.mk
> +++ b/package/s6-networking/s6-networking.mk
> @@ -23,6 +23,11 @@ S6_NETWORKING_CONF_OPTS = \
>  	$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
>  	$(SHARED_STATIC_LIBS_OPTS)
>  
> +ifeq ($(BR2_PACKAGE_LIBRESSL),y)
> +S6_NETWORKING_CONF_OPTS += --enable-ssl=libressl

 Does it also support openssl?

 Is there a corresponding --disable-ssl option?

 Regards,
 Arnout

> +S6_NETWORKING_DEPENDENCIES = libressl
> +endif
> +
>  define S6_NETWORKING_CONFIGURE_CMDS
>  	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
>  endef
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected
  2017-07-23 13:00 ` Arnout Vandecappelle
@ 2017-07-23 14:33   ` Eric Le Bihan
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Le Bihan @ 2017-07-23 14:33 UTC (permalink / raw)
  To: buildroot

Hi!

On 17-07-23 15:00:34, Arnout Vandecappelle wrote:
>
>
> On 23-07-17 10:16, Eric Le Bihan wrote:
> > If LibreSSL is selected, enable the associated backend to build the
> > s6-tls* tools.
> >
> > Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> > ---
> >  package/s6-networking/s6-networking.mk | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/package/s6-networking/s6-networking.mk b/package/s6-networking/s6-networking.mk
> > index ffaf8bc..6463f5d 100644
> > --- a/package/s6-networking/s6-networking.mk
> > +++ b/package/s6-networking/s6-networking.mk
> > @@ -23,6 +23,11 @@ S6_NETWORKING_CONF_OPTS = \
> >  	$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
> >  	$(SHARED_STATIC_LIBS_OPTS)
> >
> > +ifeq ($(BR2_PACKAGE_LIBRESSL),y)
> > +S6_NETWORKING_CONF_OPTS += --enable-ssl=libressl
>
>  Does it also support openssl?

No. It only supports LibreSSL and BearSSL [1], as stated in the
documentation [2].

>  Is there a corresponding --disable-ssl option?

No. The custom build system used in skarnet softwares follows roughly
the autotools conventions, but for a "--enable-foo" option, there is no
matching "--disable-foo".

> > +S6_NETWORKING_DEPENDENCIES = libressl
> > +endif
> > +
> >  define S6_NETWORKING_CONFIGURE_CMDS
> >  	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
> >  endef

[1] https://bearssl.org/
[2] http://skarnet.org/software/s6-networking/

Regards,

--
ELB

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

* [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected
  2017-07-23  8:16 [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected Eric Le Bihan
  2017-07-23 13:00 ` Arnout Vandecappelle
@ 2017-07-24 16:34 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-07-24 16:34 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 23 Jul 2017 10:16:02 +0200, Eric Le Bihan wrote:
> If LibreSSL is selected, enable the associated backend to build the
> s6-tls* tools.
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
>  package/s6-networking/s6-networking.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-07-24 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23  8:16 [Buildroot] [PATCH 1/1] s6-networking: enable SSL if libressl is selected Eric Le Bihan
2017-07-23 13:00 ` Arnout Vandecappelle
2017-07-23 14:33   ` Eric Le Bihan
2017-07-24 16:34 ` Thomas Petazzoni

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