Skip to contentSkip to conversation

libressl: new package

PATCH Superseded Adam Duskett 3 participants 19 messages Jun 15, 2017 – Jun 24, 2017

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 libressl: new package

Libressl is a fork of openssl from OpenSSL in 2014. It's goal is to modernize the OpenSSL codebase, improve security, and apply best practice development processes.

Right now, libressl is API compatible with OpenSSL 1.0.1, but does not yet include all new APIs from OpenSSL 1.0.2 and later.

The main source is libressl-portable, which "Includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code."

Before the build process can begin, autogen.sh must be ran manually, as it pulls from the upstream OpenBSD source which adds several directories to the source, along with several other steps necessary before building can begin. Setting LIBRESSL_AUTORECONF = YES fails with several "No such file or directory" errors as well.

This package has been tested with the following architectures and c libraries:
- armv4
- aarch64
- ppc
- ppc64
- ppc64le
- x86_64
- uClibc-ng
- glibc 2.24
- musl

---
 package/Config.in              |  1 +
 package/libressl/Config.in     | 20 ++++++++++++++++++++
 package/libressl/libressl.hash |  2 ++
 package/libressl/libressl.mk   | 31 +++++++++++++++++++++++++++++++
 4 files changed, 54 insertions(+)
 create mode 100644 package/libressl/Config.in
 create mode 100644 package/libressl/libressl.hash
 create mode 100644 package/libressl/libressl.mk
package/Config.in +1 -0
index 529bd96..1674444 100644
@@ -963,6 +963,7 @@ menu "Crypto"
 	source "package/libmcrypt/Config.in"
 	source "package/libmhash/Config.in"
 	source "package/libnss/Config.in"
+	source "package/libressl/Config.in"
 	source "package/libscrypt/Config.in"
 	source "package/libsecret/Config.in"
 	source "package/libsha1/Config.in"
package/libressl/Config.in new file +20 -0
new file mode 100644
index 0000000..035176a
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_LIBRESSL
+	bool "libressl"
+	help
+	  LibreSSL is a version of the TLS/crypto stack forked from
+	  OpenSSL in 2014, with goals of modernizing the codebase,
+	  improving security, and applying best practice development
+	  processes.
+
+	  http://www.libressl.org/
+
+if BR2_PACKAGE_LIBRESSL
+
+config BR2_PACKAGE_LIBRESSL_BIN
+	bool "openssl binary"
+	help
+	  Install the openssl binary and the associated helper scripts
+	  to the target file system. This is a command line tool for
+	  doing various cryptographic stuff.
+
+endif
package/libressl/libressl.hash new file +2 -0
new file mode 100644
index 0000000..9c478de
@@ -0,0 +1,2 @@
+# Locally computed
+sha256	ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c	libressl-v2.5.4.tar.gz
package/libressl/libressl.mk new file +31 -0
new file mode 100644
index 0000000..940ca22
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libressl
+#
+################################################################################
+
+LIBRESSL_VERSION = v2.5.4
+LIBRESSL_SITE = https://github.com/libressl-portable/portable.git
+LIBRESSL_SITE_METHOD = git
+LIBRESSL_LICENSE = ISC, BSD-3-Clause, OpenSSL or SSLeay
+LIBRESSL_LICENSE_FILES = COPYING
+LIBRESSL_INSTALL_STAGING = YES
+
+# autogen.sh needs to be ran manually as it pulls from the upstream
+# OpenBSD source which adds several directories to the source.
+# Setting LIBRESSL_AUTORECONF = YES fails with several
+# "No such file or directory" errors.
+define LIBRESSL_RUN_AUTOGEN
+	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBRESSL_POST_PATCH_HOOKS += LIBRESSL_RUN_AUTOGEN
+
+ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
+define LIBRESSL_REMOVE_BIN
+	$(RM) -f $(TARGET_DIR)/usr/bin/openssl
+endef
+LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
+endif
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
Signature · 1 line
2.9.4
#1 lore raw

PATCH 2/5 libssl: new virtual package.

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

---
 package/Config.in        | 1 +
 package/libssl/Config.in | 6 ++++++
 package/libssl/libssl.mk | 7 +++++++
 3 files changed, 14 insertions(+)
 create mode 100644 package/libssl/Config.in
 create mode 100644 package/libssl/libssl.mk
package/Config.in +1 -0
index 1674444..a7af71e 100644
@@ -967,6 +967,7 @@ menu "Crypto"
 	source "package/libscrypt/Config.in"
 	source "package/libsecret/Config.in"
 	source "package/libsha1/Config.in"
+	source "package/libssl/Config.in"
 	source "package/libsodium/Config.in"
 	source "package/libssh/Config.in"
 	source "package/libssh2/Config.in"
package/libssl/Config.in new file +6 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+	bool
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	string
+	depends on BR2_PACKAGE_HAS_LIBSSL
package/libssl/libssl.mk new file +7 -0
new file mode 100644
index 0000000..6e89bcc
@@ -0,0 +1,7 @@
+################################################################################
+#
+# libssl
+#
+################################################################################
+
+$(eval $(virtual-package))
Signature · 1 line
2.9.4
#10 lore raw

PATCH 3/5 libressl: add libssl virtual package support.

In reply to Adam Duskett

libressl can provide libssl.

---
 package/libressl/Config.in   | 4 ++++
 package/libressl/libressl.mk | 1 +
 2 files changed, 5 insertions(+)
package/libressl/Config.in +4 -0
index 035176a..2cc87d0 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBRESSL
 	bool "libressl"
+	select BR2_PACKAGE_HAS_LIBSSL
 	help
 	  LibreSSL is a version of the TLS/crypto stack forked from
 	  OpenSSL in 2014, with goals of modernizing the codebase,
@@ -10,6 +11,9 @@ config BR2_PACKAGE_LIBRESSL
 
 if BR2_PACKAGE_LIBRESSL
 
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	default "libressl"
+
 config BR2_PACKAGE_LIBRESSL_BIN
 	bool "openssl binary"
 	help
package/libressl/libressl.mk +1 -0
index 940ca22..e057662 100644
@@ -10,6 +10,7 @@ LIBRESSL_SITE_METHOD = git
 LIBRESSL_LICENSE = ISC, BSD-3-Clause, OpenSSL or SSLeay
 LIBRESSL_LICENSE_FILES = COPYING
 LIBRESSL_INSTALL_STAGING = YES
+LIBRESSL_PROVIDES = libssl
 
 # autogen.sh needs to be ran manually as it pulls from the upstream
 # OpenBSD source which adds several directories to the source.
Signature · 1 line
2.9.4
#12 lore raw

PATCH 4/5 openssl: add libssl virtual package support.

In reply to Adam Duskett

openssl can provide libssl.

---
 package/openssl/Config.in  | 3 +++
 package/openssl/openssl.mk | 1 +
 2 files changed, 4 insertions(+)
package/openssl/Config.in +3 -0
index e08b648..4871f43 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_OPENSSL
 	bool "openssl"
 	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_HAS_LIBSSL
 	help
 	  A collaborative effort to develop a robust, commercial-grade, fully
 	  featured, and Open Source toolkit implementing the Secure Sockets
@@ -13,6 +14,8 @@ config BR2_PACKAGE_OPENSSL
 
 if BR2_PACKAGE_OPENSSL
 
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	default "openssl"
 config BR2_PACKAGE_OPENSSL_BIN
 	bool "openssl binary"
 	help
package/openssl/openssl.mk +1 -0
index 5f56b44..c028290 100644
@@ -10,6 +10,7 @@ OPENSSL_LICENSE = OpenSSL or SSLeay
 OPENSSL_LICENSE_FILES = LICENSE
 OPENSSL_INSTALL_STAGING = YES
 OPENSSL_DEPENDENCIES = zlib
+OPENSSL_PROVIDES = libssl
 HOST_OPENSSL_DEPENDENCIES = host-zlib
 OPENSSL_TARGET_ARCH = generic32
 OPENSSL_CFLAGS = $(TARGET_CFLAGS)
Signature · 1 line
2.9.4
#14 lore raw

PATCH 5/5 DEVELOPERS: Add Adam Duskett for libressl

In reply to Adam Duskett
---
 DEVELOPERS | 1 +
 1 file changed, 1 insertion(+)
DEVELOPERS +1 -0
index 9a11f8b..6fc5079 100644
@@ -33,6 +33,7 @@ N:	Adam Duskett <[email protected]>
 F:	package/audit/
 F:	package/checkpolicy/
 F:	package/gstreamer1/gst1-vaapi/
+F:	package/libressl/
 F:	package/libselinux/
 F:	package/libsemanage/
 F:	package/libsepol/
Signature · 1 line
2.9.4
#16 lore raw

PATCH 1/5 libressl: new package

In reply to Adam Duskett

Hello Adam,

Thanks for working on the libressl topic, definitely a useful change. See some comments below.

Quoted 17 lines · Adam Duskett

Libressl is a fork of openssl from OpenSSL in 2014. It's goal is to modernize the OpenSSL codebase, improve security, and apply best practice development processes.

Right now, libressl is API compatible with OpenSSL 1.0.1, but does not yet include all new APIs from OpenSSL 1.0.2 and later.

The main source is libressl-portable, which "Includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code."

Before the build process can begin, autogen.sh must be ran manually, as it pulls from the upstream OpenBSD source which adds several directories to the source, along with several other steps necessary before building can begin. Setting LIBRESSL_AUTORECONF = YES fails with several "No such file or directory" errors as well.

Quoted 10 lines

This package has been tested with the following architectures and c libraries:
- armv4
- aarch64
- ppc
- ppc64
- ppc64le
- x86_64
- uClibc-ng
- glibc 2.24
- musl

Why is this entire commit log indented with 4 spaces? Could you just start the lines, well, at the beginning of the lines?

package/libressl/libressl.mk line 9

Quoted 3 lines
package/libressl/libressl.mk new file +3 -0
+LIBRESSL_VERSION = v2.5.4
+LIBRESSL_SITE = https://github.com/libressl-portable/portable.git
+LIBRESSL_SITE_METHOD = git

Please use the "github" helper function instead.

Or even better, use release tarballs from
http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/. This way, you don't need to call autogen.sh.

Quoted 1 line

+LIBRESSL_LICENSE = ISC, BSD-3-Clause, OpenSSL or SSLeay

Where do this license list comes from?

Quoted 1 line

+LIBRESSL_LICENSE_FILES = COPYING

I don't see any file named "COPYING" in the repository at
https://github.com/libressl-portable/portable/tree/v2.5.4.

package/libressl/libressl.mk line 21

Quoted 10 lines
package/libressl/libressl.mk new file +10 -0
+LIBRESSL_INSTALL_STAGING = YES
+
+# autogen.sh needs to be ran manually as it pulls from the upstream
+# OpenBSD source which adds several directories to the source.
+# Setting LIBRESSL_AUTORECONF = YES fails with several
+# "No such file or directory" errors.
+define LIBRESSL_RUN_AUTOGEN
+	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBRESSL_POST_PATCH_HOOKS += LIBRESSL_RUN_AUTOGEN

Not needed if you use the release tarballs, as suggested above.

package/libressl/libressl.mk line 31

Quoted 10 lines
package/libressl/libressl.mk new file +10 -0
+
+ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
+define LIBRESSL_REMOVE_BIN
+	$(RM) -f $(TARGET_DIR)/usr/bin/openssl
+endef
+LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
+endif
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))

Thanks!

Thomas

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

PATCH 2/5 libssl: new virtual package.

In reply to Adam Duskett

Hello,

Nit: don't use a final "." in the commit titles.

Quoted 3 lines · Adam Duskett

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

No indentation of 4 spaces for the commit log.

package/libssl/Config.in line 6

Quoted 12 lines
package/libssl/Config.in new file +6 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+	bool
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	string
+	depends on BR2_PACKAGE_HAS_LIBSSL

Should it be named "libssl" or "ssl". I think Arnout suggested just "ssl" on IRC, didn't he?

Also, I believe for this package we should use the jpeg/jpeg-turbo model instead of the conventional virtual package model, because we want to be able to "select BR2_PACKAGE_LIBSSL". As your package is done today, we would *have* to use only a "depends on BR2_PACKAGE_LIBRESSL", which is a bit annoying.

Again, see the libjpeg virtual package.

Best regards,

Thomas

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

PATCH 5/5 DEVELOPERS: Add Adam Duskett for libressl

In reply to Adam Duskett

Hello,

Quoted 4 lines · Adam Duskett
---
 DEVELOPERS | 1 +
 1 file changed, 1 insertion(+)

Should be part of the patch adding the package.

Thanks!

Thomas

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

PATCH 1/5 libressl: new package

In reply to Adam Duskett
Quoted 1 line · Adam Duskett

Libressl is a fork of openssl from OpenSSL in 2014. It's goal is to

                                                           ^^^^ Its
Quoted 6 lines

modernize the OpenSSL codebase, improve security, and apply best practice development processes.

Right now, libressl is API compatible with OpenSSL 1.0.1, but does not yet include all new APIs from OpenSSL 1.0.2 and later.

Quoted 6 lines

The main source is libressl-portable, which "Includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code."

Before the build process can begin, autogen.sh must be ran manually, as it pulls from the upstream OpenBSD source which adds several

That is not acceptable: it must be possible to do the build offline, after
doing 'make source'. If a configure scripts starts downloading things, that won't work. But as Thomas pointed out, the release tarball fixes that.

Quoted 3 lines

directories to the source, along with several other steps necessary before building can begin. Setting LIBRESSL_AUTORECONF = YES fails with several "No such file or directory" errors as well.

Please wrap the commit message at 72 columns.

Quoted 67 lines

This package has been tested with the following architectures and c libraries:
- armv4
- aarch64
- ppc
- ppc64
- ppc64le
- x86_64
- uClibc-ng
- glibc 2.24
- musl

---
 package/Config.in              |  1 +
 package/libressl/Config.in     | 20 ++++++++++++++++++++
 package/libressl/libressl.hash |  2 ++
 package/libressl/libressl.mk   | 31 +++++++++++++++++++++++++++++++
 4 files changed, 54 insertions(+)
 create mode 100644 package/libressl/Config.in
 create mode 100644 package/libressl/libressl.hash
 create mode 100644 package/libressl/libressl.mk
package/Config.in +1 -0
index 529bd96..1674444 100644
@@ -963,6 +963,7 @@ menu "Crypto"
 	source "package/libmcrypt/Config.in"
 	source "package/libmhash/Config.in"
 	source "package/libnss/Config.in"
+	source "package/libressl/Config.in"
 	source "package/libscrypt/Config.in"
 	source "package/libsecret/Config.in"
 	source "package/libsha1/Config.in"
package/libressl/Config.in new file +20 -0
new file mode 100644
index 0000000..035176a
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_LIBRESSL
+	bool "libressl"
+	help
+	  LibreSSL is a version of the TLS/crypto stack forked from
+	  OpenSSL in 2014, with goals of modernizing the codebase,
+	  improving security, and applying best practice development
+	  processes.
+
+	  http://www.libressl.org/
+
+if BR2_PACKAGE_LIBRESSL
+
+config BR2_PACKAGE_LIBRESSL_BIN
+	bool "openssl binary"
+	help
+	  Install the openssl binary and the associated helper scripts
+	  to the target file system. This is a command line tool for
+	  doing various cryptographic stuff.
+
+endif
package/libressl/libressl.hash new file +0 -0
new file mode 100644
index 0000000..9c478de

package/libressl/libressl.hash line 2

Quoted 2 lines
package/libressl/libressl.hash new file +2 -0
@@ -0,0 +1,2 @@
+# Locally computed
+sha256	ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c	libressl-v2.5.4.tar.gz

Doesn't upstream provide any verifiable hashes? That's weird for a crypto lib...

Quoted 6 lines
package/libressl/libressl.mk new file +0 -0
new file mode 100644
index 0000000..940ca22

package/libressl/libressl.mk line 10

Quoted 10 lines
package/libressl/libressl.mk new file +10 -0
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libressl
+#
+################################################################################
+
+LIBRESSL_VERSION = v2.5.4
+LIBRESSL_SITE = https://github.com/libressl-portable/portable.git
+LIBRESSL_SITE_METHOD = git
+LIBRESSL_LICENSE = ISC, BSD-3-Clause, OpenSSL or SSLeay

The , is ambiguous. If it is intended to be or for all of them, specify 'or'.
But I think the license is in fact different per component; in that case, put the component to which the license applies between parenthesis.

package/libressl/libressl.mk line 17

Quoted 7 lines
package/libressl/libressl.mk new file +7 -0
+LIBRESSL_LICENSE_FILES = COPYING
+LIBRESSL_INSTALL_STAGING = YES
+
+# autogen.sh needs to be ran manually as it pulls from the upstream
+# OpenBSD source which adds several directories to the source.
+# Setting LIBRESSL_AUTORECONF = YES fails with several
+# "No such file or directory" errors.

If you do this, you also need to add host-automake etc. to _DEPENDENCIES.

package/libressl/libressl.mk line 25

Quoted 8 lines
package/libressl/libressl.mk new file +8 -0
+define LIBRESSL_RUN_AUTOGEN
+	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBRESSL_POST_PATCH_HOOKS += LIBRESSL_RUN_AUTOGEN
+
+ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
+define LIBRESSL_REMOVE_BIN
+	$(RM) -f $(TARGET_DIR)/usr/bin/openssl

the help message mentions "and scripts"...

package/libressl/libressl.mk line 31

Quoted 6 lines
package/libressl/libressl.mk new file +6 -0
+endef
+LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
+endif
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))

There's also a CMakeLists.txt; in many cases, that's better maintained so
easier to support going forward. But I don't know what upstream prefers.

Regards,
Arnout

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
#9 lore raw

PATCH 2/5 libssl: new virtual package.

In reply to Adam Duskett
Quoted 5 lines · Adam Duskett

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

(after fixing commit indentation and wrapping).

I'm not entirely happy with the the "libssl" name, because we have a dozen
different ssl/tls libraries and only two implement this virtual package. But I can't really come up with anything better - "openssl-compat" just doesn't sound very sexy :-)

Regards,
Arnout

Quoted 46 lines
---
 package/Config.in        | 1 +
 package/libssl/Config.in | 6 ++++++
 package/libssl/libssl.mk | 7 +++++++
 3 files changed, 14 insertions(+)
 create mode 100644 package/libssl/Config.in
 create mode 100644 package/libssl/libssl.mk
package/Config.in +1 -0
index 1674444..a7af71e 100644
@@ -967,6 +967,7 @@ menu "Crypto"
 	source "package/libscrypt/Config.in"
 	source "package/libsecret/Config.in"
 	source "package/libsha1/Config.in"
+	source "package/libssl/Config.in"
 	source "package/libsodium/Config.in"
 	source "package/libssh/Config.in"
 	source "package/libssh2/Config.in"
package/libssl/Config.in new file +6 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+	bool
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	string
+	depends on BR2_PACKAGE_HAS_LIBSSL
package/libssl/libssl.mk new file +7 -0
new file mode 100644
index 0000000..6e89bcc
@@ -0,0 +1,7 @@
+################################################################################
+#
+# libssl
+#
+################################################################################
+
+$(eval $(virtual-package))
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
#11 lore raw

PATCH 3/5 libressl: add libssl virtual package support.

In reply to Adam Duskett
Quoted 3 lines · Adam Duskett

libressl can provide libssl.

Regards,
Arnout

Quoted 39 lines
---
 package/libressl/Config.in   | 4 ++++
 package/libressl/libressl.mk | 1 +
 2 files changed, 5 insertions(+)
package/libressl/Config.in +4 -0
index 035176a..2cc87d0 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBRESSL
 	bool "libressl"
+	select BR2_PACKAGE_HAS_LIBSSL
 	help
 	  LibreSSL is a version of the TLS/crypto stack forked from
 	  OpenSSL in 2014, with goals of modernizing the codebase,
@@ -10,6 +11,9 @@ config BR2_PACKAGE_LIBRESSL
 
 if BR2_PACKAGE_LIBRESSL
 
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	default "libressl"
+
 config BR2_PACKAGE_LIBRESSL_BIN
 	bool "openssl binary"
 	help
package/libressl/libressl.mk +1 -0
index 940ca22..e057662 100644
@@ -10,6 +10,7 @@ LIBRESSL_SITE_METHOD = git
 LIBRESSL_LICENSE = ISC, BSD-3-Clause, OpenSSL or SSLeay
 LIBRESSL_LICENSE_FILES = COPYING
 LIBRESSL_INSTALL_STAGING = YES
+LIBRESSL_PROVIDES = libssl
 
 # autogen.sh needs to be ran manually as it pulls from the upstream
 # OpenBSD source which adds several directories to the source.
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
#13 lore raw

PATCH 4/5 openssl: add libssl virtual package support.

In reply to Adam Duskett
Quoted 3 lines · Adam Duskett

openssl can provide libssl.

Will you also convert some packages?

Regards,
Arnout

Quoted 39 lines
---
 package/openssl/Config.in  | 3 +++
 package/openssl/openssl.mk | 1 +
 2 files changed, 4 insertions(+)
package/openssl/Config.in +3 -0
index e08b648..4871f43 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_OPENSSL
 	bool "openssl"
 	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_HAS_LIBSSL
 	help
 	  A collaborative effort to develop a robust, commercial-grade, fully
 	  featured, and Open Source toolkit implementing the Secure Sockets
@@ -13,6 +14,8 @@ config BR2_PACKAGE_OPENSSL
 
 if BR2_PACKAGE_OPENSSL
 
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	default "openssl"
 config BR2_PACKAGE_OPENSSL_BIN
 	bool "openssl binary"
 	help
package/openssl/openssl.mk +1 -0
index 5f56b44..c028290 100644
@@ -10,6 +10,7 @@ OPENSSL_LICENSE = OpenSSL or SSLeay
 OPENSSL_LICENSE_FILES = LICENSE
 OPENSSL_INSTALL_STAGING = YES
 OPENSSL_DEPENDENCIES = zlib
+OPENSSL_PROVIDES = libssl
 HOST_OPENSSL_DEPENDENCIES = host-zlib
 OPENSSL_TARGET_ARCH = generic32
 OPENSSL_CFLAGS = $(TARGET_CFLAGS)
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
#3 lore raw

PATCH 2/5 libssl: new virtual package.

In reply to Thomas Petazzoni
Quoted 27 lines · Thomas Petazzoni

Hello,

Nit: don't use a final "." in the commit titles.

Quoted 3 lines · Adam Duskett

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

No indentation of 4 spaces for the commit log.

package/libssl/Config.in line 6

Quoted 12 lines
package/libssl/Config.in new file +6 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+	bool
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	string
+	depends on BR2_PACKAGE_HAS_LIBSSL

Should it be named "libssl" or "ssl". I think Arnout suggested just "ssl" on IRC, didn't he?

Quoted 5 lines

Also, I believe for this package we should use the jpeg/jpeg-turbo model instead of the conventional virtual package model, because we want to be able to "select BR2_PACKAGE_LIBSSL". As your package is done today, we would *have* to use only a "depends on BR2_PACKAGE_LIBRESSL", which is a bit annoying.

Hm, I'm not sure I agree. The problem with that is that existing configs won't
work anymore, i.e. if you have openssl selected and run menuconfig, it will disappear because it now depends on libssl and libssl isn't selected...

And any package that can have either can just do

select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL

If we really want to make it a choice like libjpeg, then I think openssl should
be renamed so existing configs still work. And that solves the naming issue too :-) Well, except that we have to find a name for the original openssl package :-P

Regards,
Arnout

Quoted 7 lines

Again, see the libjpeg virtual package.

Best regards,

Thomas

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
#18 lore raw

PATCH 1/5 libressl: new package

In reply to Arnout Vandecappelle
Quoted 16 lines · Arnout Vandecappelle
Quoted 1 line · Adam Duskett

Libressl is a fork of openssl from OpenSSL in 2014. It's goal is to

                                                           ^^^^ Its
Quoted 10 lines

modernize the OpenSSL codebase, improve security, and apply best practice development processes.

Right now, libressl is API compatible with OpenSSL 1.0.1, but does not yet include all new APIs from OpenSSL 1.0.2 and later.

The main source is libressl-portable, which "Includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code."

Quoted 7 lines
Quoted 2 lines

Before the build process can begin, autogen.sh must be ran manually, as it pulls from the upstream OpenBSD source which adds several

That is not acceptable: it must be possible to do the build offline, after
doing 'make source'. If a configure scripts starts downloading things, that won't work. But as Thomas pointed out, the release tarball fixes that.

Fair enough; I will fix this today.

Quoted 5 lines
Quoted 3 lines

directories to the source, along with several other steps necessary before building can begin. Setting LIBRESSL_AUTORECONF = YES fails with several "No such file or directory" errors as well.

Please wrap the commit message at 72 columns.

Yeah; I had my margins set to 68, my bad.

Quoted 85 lines
Quoted 68 lines

This package has been tested with the following architectures and c libraries:
- armv4
- aarch64
- ppc
- ppc64
- ppc64le
- x86_64
- uClibc-ng
- glibc 2.24
- musl

---
 package/Config.in              |  1 +
 package/libressl/Config.in     | 20 ++++++++++++++++++++
 package/libressl/libressl.hash |  2 ++
 package/libressl/libressl.mk   | 31 +++++++++++++++++++++++++++++++
 4 files changed, 54 insertions(+)
 create mode 100644 package/libressl/Config.in
 create mode 100644 package/libressl/libressl.hash
 create mode 100644 package/libressl/libressl.mk
package/Config.in +1 -0
index 529bd96..1674444 100644
@@ -963,6 +963,7 @@ menu "Crypto"
      source "package/libmcrypt/Config.in"
      source "package/libmhash/Config.in"
      source "package/libnss/Config.in"
+     source "package/libressl/Config.in"
      source "package/libscrypt/Config.in"
      source "package/libsecret/Config.in"
      source "package/libsha1/Config.in"
package/libressl/Config.in new file +20 -0
new file mode 100644
index 0000000..035176a
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_LIBRESSL
+     bool "libressl"
+     help
+       LibreSSL is a version of the TLS/crypto stack forked from
+       OpenSSL in 2014, with goals of modernizing the codebase,
+       improving security, and applying best practice development
+       processes.
+
+       http://www.libressl.org/
+
+if BR2_PACKAGE_LIBRESSL
+
+config BR2_PACKAGE_LIBRESSL_BIN
+     bool "openssl binary"
+     help
+       Install the openssl binary and the associated helper scripts
+       to the target file system. This is a command line tool for
+       doing various cryptographic stuff.
+
+endif
package/libressl/libressl.hash new file +0 -0
new file mode 100644
index 0000000..9c478de

package/libressl/libressl.hash line 2

Quoted 2 lines
package/libressl/libressl.hash new file +2 -0
@@ -0,0 +1,2 @@
+# Locally computed
+sha256       ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c        libressl-v2.5.4.tar.gz

Doesn't upstream provide any verifiable hashes? That's weird for a crypto lib...

Quoted 12 lines
package/libressl/libressl.mk new file +6 -0
new file mode 100644
index 0000000..940ca22
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libressl
+#
+################################################################################
+
Quoted 9 lines

package/libressl/libressl.mk line 10

Quoted 4 lines
package/libressl/libressl.mk new file +4 -0
+LIBRESSL_VERSION = v2.5.4
+LIBRESSL_SITE = https://github.com/libressl-portable/portable.git
+LIBRESSL_SITE_METHOD = git
+LIBRESSL_LICENSE = ISC, BSD-3-Clause, OpenSSL or SSLeay

The , is ambiguous. If it is intended to be or for all of them, specify 'or'.
But I think the license is in fact different per component; in that case, put the component to which the license applies between parenthesis.

Can do.

Quoted 10 lines

package/libressl/libressl.mk line 17

Quoted 7 lines
package/libressl/libressl.mk new file +7 -0
+LIBRESSL_LICENSE_FILES = COPYING
+LIBRESSL_INSTALL_STAGING = YES
+
+# autogen.sh needs to be ran manually as it pulls from the upstream
+# OpenBSD source which adds several directories to the source.
+# Setting LIBRESSL_AUTORECONF = YES fails with several
+# "No such file or directory" errors.

If you do this, you also need to add host-automake etc. to _DEPENDENCIES.

Using the tarball this issue is fixed.

Quoted 11 lines

package/libressl/libressl.mk line 25

Quoted 8 lines
package/libressl/libressl.mk new file +8 -0
+define LIBRESSL_RUN_AUTOGEN
+     cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBRESSL_POST_PATCH_HOOKS += LIBRESSL_RUN_AUTOGEN
+
+ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
+define LIBRESSL_REMOVE_BIN
+     $(RM) -f $(TARGET_DIR)/usr/bin/openssl

the help message mentions "and scripts"...

Removed in the next patch. Good catch!

Quoted 20 lines

package/libressl/libressl.mk line 31

Quoted 6 lines
package/libressl/libressl.mk new file +6 -0
+endef
+LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
+endif
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))

There's also a CMakeLists.txt; in many cases, that's better maintained so
easier to support going forward. But I don't know what upstream prefers.

Regards,
Arnout

--

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
#4 lore raw

PATCH 2/5 libssl: new virtual package.

In reply to Arnout Vandecappelle

Hey guys;

Quoted 7 lines · Arnout Vandecappelle
Quoted 4 lines · Thomas Petazzoni

Hello,

Nit: don't use a final "." in the commit titles.

Quoted 7 lines
Quoted 7 lines · Adam Duskett
Quoted 3 lines

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

No indentation of 4 spaces for the commit log.

Sorry about that, copy and paste issues. :)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
package/libssl/Config.in new file +2 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+    bool
Quoted 8 lines
Quoted 8 lines

package/libssl/Config.in line 6

Quoted 4 lines
package/libssl/Config.in new file +4 -0
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+    string
+    depends on BR2_PACKAGE_HAS_LIBSSL

Should it be named "libssl" or "ssl". I think Arnout suggested just "ssl" on IRC, didn't he?

The reason I went with libssl instead of ssl is because openssl is in the library/crypto config.
Same with libressl. As such I figured this should be named libssl.

Quoted 6 lines
Quoted 5 lines

Also, I believe for this package we should use the jpeg/jpeg-turbo model instead of the conventional virtual package model, because we want to be able to "select BR2_PACKAGE_LIBSSL". As your package is done today, we would *have* to use only a "depends on BR2_PACKAGE_LIBRESSL", which is a bit annoying.

Quoted 8 lines

Hm, I'm not sure I agree. The problem with that is that existing configs won't
work anymore, i.e. if you have openssl selected and run menuconfig, it will disappear because it now depends on libssl and libssl isn't selected...

And any package that can have either can just do

select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL

This is what I would prefer because as discussed in IRC, there are many packages that are yet compatible with libressl. Any objections?

Quoted 5 lines

If we really want to make it a choice like libjpeg, then I think openssl should
be renamed so existing configs still work. And that solves the naming issue too :-) Well, except that we have to find a name for the original openssl package :-P

libopenssl Kind of sounds funny. :)?

Quoted 18 lines

Regards,
Arnout

Quoted 7 lines

Again, see the libjpeg virtual package.

Best regards,

Thomas

--

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
#5 lore raw

PATCH 2/5 libssl: new virtual package.

Hey guys;

Any update on what direction you want to go?

Thanks!

Quoted 82 lines · Adam Duskett

Hey guys;

Quoted 7 lines · Arnout Vandecappelle
Quoted 4 lines · Thomas Petazzoni

Hello,

Nit: don't use a final "." in the commit titles.

Quoted 7 lines
Quoted 7 lines · Adam Duskett
Quoted 3 lines

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

No indentation of 4 spaces for the commit log.

Sorry about that, copy and paste issues. :)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
package/libssl/Config.in new file +2 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+    bool
Quoted 8 lines
Quoted 8 lines

package/libssl/Config.in line 6

Quoted 4 lines
package/libssl/Config.in new file +4 -0
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+    string
+    depends on BR2_PACKAGE_HAS_LIBSSL

Should it be named "libssl" or "ssl". I think Arnout suggested just "ssl" on IRC, didn't he?

The reason I went with libssl instead of ssl is because openssl is in the library/crypto config.
Same with libressl. As such I figured this should be named libssl.

Quoted 6 lines
Quoted 5 lines

Also, I believe for this package we should use the jpeg/jpeg-turbo model instead of the conventional virtual package model, because we want to be able to "select BR2_PACKAGE_LIBSSL". As your package is done today, we would *have* to use only a "depends on BR2_PACKAGE_LIBRESSL", which is a bit annoying.

Quoted 8 lines

Hm, I'm not sure I agree. The problem with that is that existing configs won't
work anymore, i.e. if you have openssl selected and run menuconfig, it will disappear because it now depends on libssl and libssl isn't selected...

And any package that can have either can just do

select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL

This is what I would prefer because as discussed in IRC, there are many packages that are yet compatible with libressl. Any objections?

Quoted 5 lines

If we really want to make it a choice like libjpeg, then I think openssl should
be renamed so existing configs still work. And that solves the naming issue too :-) Well, except that we have to find a name for the original openssl package :-P

libopenssl Kind of sounds funny. :)?

Quoted 18 lines

Regards,
Arnout

Quoted 7 lines

Again, see the libjpeg virtual package.

Best regards,

Thomas

--

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
#6 lore raw

PATCH 2/5 libssl: new virtual package.

So after thinking about this for a bit, I would like to also bring up the topic of BoringSSL.
BoringSSL is gaining some traction, and I would like to also import it into Buildroot pretty soon.
That would leave Buildroot with three possible SSL libraries. Unlike LibreSSL, BoringSSL does not
try to maintain backwards compatibility with OpenSSL. However many programs such as Janus-Gateway
now offer support for BoringSSL.

Thoughts?

Adam

Quoted 89 lines · Adam Duskett

Hey guys;

Any update on what direction you want to go?

Thanks!

Quoted 82 lines · Adam Duskett

Hey guys;

Quoted 7 lines · Arnout Vandecappelle
Quoted 4 lines · Thomas Petazzoni

Hello,

Nit: don't use a final "." in the commit titles.

Quoted 7 lines
Quoted 7 lines · Adam Duskett
Quoted 3 lines

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

No indentation of 4 spaces for the commit log.

Sorry about that, copy and paste issues. :)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
package/libssl/Config.in new file +2 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+    bool
Quoted 8 lines
Quoted 8 lines

package/libssl/Config.in line 6

Quoted 4 lines
package/libssl/Config.in new file +4 -0
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+    string
+    depends on BR2_PACKAGE_HAS_LIBSSL

Should it be named "libssl" or "ssl". I think Arnout suggested just "ssl" on IRC, didn't he?

The reason I went with libssl instead of ssl is because openssl is in the library/crypto config.
Same with libressl. As such I figured this should be named libssl.

Quoted 6 lines
Quoted 5 lines

Also, I believe for this package we should use the jpeg/jpeg-turbo model instead of the conventional virtual package model, because we want to be able to "select BR2_PACKAGE_LIBSSL". As your package is done today, we would *have* to use only a "depends on BR2_PACKAGE_LIBRESSL", which is a bit annoying.

Quoted 8 lines

Hm, I'm not sure I agree. The problem with that is that existing configs won't
work anymore, i.e. if you have openssl selected and run menuconfig, it will disappear because it now depends on libssl and libssl isn't selected...

And any package that can have either can just do

select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL

This is what I would prefer because as discussed in IRC, there are many packages that are yet compatible with libressl. Any objections?

Quoted 5 lines

If we really want to make it a choice like libjpeg, then I think openssl should
be renamed so existing configs still work. And that solves the naming issue too :-) Well, except that we have to find a name for the original openssl package :-P

libopenssl Kind of sounds funny. :)?

Quoted 18 lines

Regards,
Arnout

Quoted 7 lines

Again, see the libjpeg virtual package.

Best regards,

Thomas

--

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
#7 lore raw

PATCH 2/5 libssl: new virtual package.

Hello,

Quoted 9 lines · Adam Duskett

So after thinking about this for a bit, I would like to also bring up the topic of BoringSSL.
BoringSSL is gaining some traction, and I would like to also import it into Buildroot pretty soon.
That would leave Buildroot with three possible SSL libraries. Unlike LibreSSL, BoringSSL does not
try to maintain backwards compatibility with OpenSSL. However many programs such as Janus-Gateway
now offer support for BoringSSL.

If there's no compatibility between BoringSSL and OpenSSL/LibreSSL, then I guess BoringSSL shouldn't be a provider of the "ssl/libssl" virtual package. Instead, each package that can use should be able to use it as an alternative to the ssl/libressl virtual package.

Thomas

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

PATCH 2/5 libssl: new virtual package.

In reply to Arnout Vandecappelle

Hello,

I am going to go back to this email.

Quoted 36 lines · Arnout Vandecappelle
Quoted 27 lines · Thomas Petazzoni

Hello,

Nit: don't use a final "." in the commit titles.

Quoted 3 lines · Adam Duskett

libressl is API compatible with OpenSSL 1.0.1 and is almost API compatible with OpenSSL 1.0.2. As such, a new virtual package is needed to handle having both libressl and openssl.

No indentation of 4 spaces for the commit log.

package/libssl/Config.in line 6

Quoted 12 lines
package/libssl/Config.in new file +6 -0
new file mode 100644
index 0000000..71347de
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+    bool
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+    string
+    depends on BR2_PACKAGE_HAS_LIBSSL

Should it be named "libssl" or "ssl". I think Arnout suggested just "ssl" on IRC, didn't he?

Quoted 5 lines

Also, I believe for this package we should use the jpeg/jpeg-turbo model instead of the conventional virtual package model, because we want to be able to "select BR2_PACKAGE_LIBSSL". As your package is done today, we would *have* to use only a "depends on BR2_PACKAGE_LIBRESSL", which is a bit annoying.

Quoted 8 lines

Hm, I'm not sure I agree. The problem with that is that existing configs won't
work anymore, i.e. if you have openssl selected and run menuconfig, it will disappear because it now depends on libssl and libssl isn't selected...

And any package that can have either can just do

select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL

I would agree with this precisely because libressl may not work with every package quite yet.

Quoted 15 lines

If we really want to make it a choice like libjpeg, then I think OpenSSL should
be renamed so existing configs still work. And that solves the naming issue too :-) Well, except that we have to find a name for the original OpenSSL package :-P

Regards,
Arnout

Quoted 7 lines

Again, see the libjpeg virtual package.

Best regards,

Thomas

My question about this is: What if the program that is selected doesn't work with OpenSSL
but LibreSSL is selected?

Quoted 8 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

Thanks!

Adam