From 632d12a7c19c6efad9960603cc744413f10f4333 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 18 Oct 2016 21:07:28 +0200 Subject: [PATCH] dev-libs/mbedtls: bump to 2.4.0 --- .../files/mbedtls-2.3.0-platform-include.patch | 15 --------------- ...2.3.0-r1.exheres-0 => mbedtls-2.4.0.exheres-0} | 10 ++++------ 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 packages/dev-libs/mbedtls/files/mbedtls-2.3.0-platform-include.patch rename packages/dev-libs/mbedtls/{mbedtls-2.3.0-r1.exheres-0 => mbedtls-2.4.0.exheres-0} (93%) diff --git a/packages/dev-libs/mbedtls/files/mbedtls-2.3.0-platform-include.patch b/packages/dev-libs/mbedtls/files/mbedtls-2.3.0-platform-include.patch deleted file mode 100644 index 42ab9b3f..00000000 --- a/packages/dev-libs/mbedtls/files/mbedtls-2.3.0-platform-include.patch +++ /dev/null @@ -1,15 +0,0 @@ -Author: James Cowgill -Reason: fix missing include -Upstream: reported, https://github.com/ARMmbed/mbedtls/issues/522 - ---- a/include/mbedtls/ssl.h -+++ b/include/mbedtls/ssl.h -@@ -52,7 +52,7 @@ - #endif - - #if defined(MBEDTLS_HAVE_TIME) --#include -+#include "platform.h" - #endif - - /* diff --git a/packages/dev-libs/mbedtls/mbedtls-2.3.0-r1.exheres-0 b/packages/dev-libs/mbedtls/mbedtls-2.4.0.exheres-0 similarity index 93% rename from packages/dev-libs/mbedtls/mbedtls-2.3.0-r1.exheres-0 rename to packages/dev-libs/mbedtls/mbedtls-2.4.0.exheres-0 index 0a9bad68..2beb2c93 100644 --- a/packages/dev-libs/mbedtls/mbedtls-2.3.0-r1.exheres-0 +++ b/packages/dev-libs/mbedtls/mbedtls-2.4.0.exheres-0 @@ -1,15 +1,17 @@ # Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -WORK=${WORKBASE}/${PN}-${PNV} require github [ user=ARMmbed tag=mbedtls-${PV} ] +WORK="${WORKBASE}/${PNV}" # because github.exlib is broken require cmake [ api=2 ] + SUMMARY="Cryptographic library for embedded systems" HOMEPAGE="https://tls.mbed.org/" +DOWNLOADS="https://tls.mbed.org/download/${PNV}-gpl.tgz" -LICENCES="Apache-2.0" +LICENCES="|| ( Apache-2.0 GPL-2 )" SLOT="0" PLATFORMS="~amd64 ~x86" @@ -49,10 +51,6 @@ CMAKE_SRC_CONFIGURE_TESTS=( '-DENABLE_TESTING=ON' ) -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/${PNV}-platform-include.patch -) - enable_mbedtls_option() { local myopt="$@" # check that config.h syntax is the same at version bump