Skip to contentSkip to conversation

s6-networking: enable SSL if libressl is selected

PATCH New Eric Le Bihan 3 participants 4 messages Jul 23, 2017 – Jul 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s6-networking: enable SSL if libressl is selected

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

---
 package/s6-networking/s6-networking.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/s6-networking/s6-networking.mk +5 -0
index ffaf8bc..6463f5d 100644
@@ -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
Signature · 1 line
2.9.4
#1 lore raw

PATCH 1/1 s6-networking: enable SSL if libressl is selected

Quoted 13 lines · Eric Le Bihan

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

---
 package/s6-networking/s6-networking.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/s6-networking/s6-networking.mk +0 -0
index ffaf8bc..6463f5d 100644

package/s6-networking/s6-networking.mk S6_NETWORKING_CONF_OPTS = \ · line 27

Quoted 5 lines
package/s6-networking/s6-networking.mk +2 -0
@@ -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

Quoted 7 lines
package/s6-networking/s6-networking.mk +3 -0
+S6_NETWORKING_DEPENDENCIES = libressl
+endif
+
 define S6_NETWORKING_CONFIGURE_CMDS
 	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
 endef
Signature · 6 lines
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
#2 lore raw

PATCH 1/1 s6-networking: enable SSL if libressl is selected

Hi!

Quoted 19 lines · Arnout Vandecappelle
Quoted 16 lines · Eric Le Bihan

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

---
 package/s6-networking/s6-networking.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/s6-networking/s6-networking.mk +0 -0
index ffaf8bc..6463f5d 100644
@@ -23,6 +23,11 @@ S6_NETWORKING_CONF_OPTS = \
 	$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
 	$(SHARED_STATIC_LIBS_OPTS)
 
Quoted 4 lines

package/s6-networking/s6-networking.mk S6_NETWORKING_CONF_OPTS = \ · line 27

Quoted 2 lines
package/s6-networking/s6-networking.mk +2 -0
+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].

Quoted 1 line

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".

Quoted 6 lines

package/s6-networking/s6-networking.mk S6_NETWORKING_CONF_OPTS = \ · line 33

Quoted 6 lines
package/s6-networking/s6-networking.mk +3 -0
+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

#3 lore raw

PATCH 1/1 s6-networking: enable SSL if libressl is selected

In reply to Eric Le Bihan

Hello,

Quoted 7 lines · Eric Le Bihan

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

---
 package/s6-networking/s6-networking.mk | 5 +++++
 1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas

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