ustream-ssl: new package

ustream-ssl has support for polarssl and cyassl
but since polarssl is made obsolete by mbedtls and cyassl
is not present in buildroot, we have not added support for it.

Signed-off-by: Rahul Bedarkar <Rahul.Bedarkar@imgtec.com>
Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Rahul Jain 2016-10-17 16:32:23 +05:30 committed by Thomas Petazzoni
parent 944805f012
commit bdb8f8231b
3 changed files with 34 additions and 0 deletions

View file

@ -912,6 +912,7 @@ menu "Crypto"
source "package/polarssl/Config.in"
source "package/tinydtls/Config.in"
source "package/trousers/Config.in"
source "package/ustream-ssl/Config.in"
endmenu
menu "Database"

View file

@ -0,0 +1,12 @@
config BR2_PACKAGE_USTREAM_SSL
bool "ustream-ssl"
depends on !BR2_STATIC_LIBS #libubox
select BR2_PACKAGE_LIBUBOX
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
help
ustream SSL wrapper
https://git.openwrt.org/?p=project/ustream-ssl.git;a=summary
comment "ustream-ssl needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View file

@ -0,0 +1,21 @@
################################################################################
#
# ustream-ssl
#
################################################################################
USTREAM_SSL_VERSION = ec80adaa1b47f28d426fa19c692011ce60b992d6
USTREAM_SSL_SITE = git://git.openwrt.org/project/ustream-ssl.git
USTREAM_SSL_LICENSE = ISC
USTREAM_SSL_LICENSE_FILES = ustream-ssl.h
USTREAM_SSL_INSTALL_STAGING = YES
USTREAM_SSL_DEPENDENCIES = libubox
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
USTREAM_SSL_DEPENDENCIES += mbedtls
USTREAM_SSL_CONF_OPTS += -DMBEDTLS=ON
else
USTREAM_SSL_DEPENDENCIES += openssl
endif
$(eval $(cmake-package))