From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] mbedtls: separate general .inc and version-specific recipe
Date: Mon, 26 Sep 2016 08:39:03 +0200 [thread overview]
Message-ID: <20160926063903.GC2631@jama> (raw)
In-Reply-To: <1474649164-7513-1-git-send-email-roman.alyautdin@rtsoft.de>
[-- Attachment #1: Type: text/plain, Size: 5653 bytes --]
On Fri, Sep 23, 2016 at 07:46:04PM +0300, Roman Alyautdin wrote:
> The patch proposes to separate general part of mbedtls recipe into .inc
> and introduces mbedtls_1.3.10.bb that requires mbedtls.inc. This will
> help to add another versions without duplication of general stuff
>
> Signed-off-by: Roman Alyautdin <roman.alyautdin@rtsoft.de>
I don't know why it was sent 4 times, but there is upgrade to
1.3.17 already in master-next:
OE @ ~/meta-openembedded $ git log --pretty=fuller meta-networking/recipes-connectivity/mbedtls/
commit c5af6e71907714821c0edfb23085f0a700b1118d
Author: Wenzong Fan <wenzong.fan@windriver.com>
AuthorDate: Wed Sep 14 01:49:13 2016 -0400
Commit: Martin Jansa <Martin.Jansa@gmail.com>
CommitDate: Mon Sep 26 08:29:34 2016 +0200
mbedtls: upgrade to 1.3.17
Which version do you need that it requires adding .inc instead of adding such version to meta-networking?
> ---
> .../recipes-connectivity/mbedtls/mbedtls.inc | 35 ++++++++++++++++++++
> .../recipes-connectivity/mbedtls/mbedtls_1.3.10.bb | 35 +-------------------
> 2 files changed, 36 insertions(+), 34 deletions(-)
> create mode 100644 meta-networking/recipes-connectivity/mbedtls/mbedtls.inc
>
> diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls.inc b/meta-networking/recipes-connectivity/mbedtls/mbedtls.inc
> new file mode 100644
> index 0000000..8bb6855
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls.inc
> @@ -0,0 +1,35 @@
> +SUMMARY = "Lightweight crypto and SSL/TLS library"
> +DESCRIPTION = "mbedtls is a lean open source crypto library \
> +for providing SSL and TLS support in your programs. It offers \
> +an intuitive API and documented header files, so you can actually \
> +understand what the code does. It features: \
> + \
> + - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \
> + Camellia and XTEA \
> + - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \
> + - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \
> + - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \
> + ECDSA and ECDH \
> + - SSL v3 and TLS 1.0, 1.1 and 1.2 \
> + - Abstraction layers for ciphers, hashes, public key operations, \
> + platform abstraction and threading \
> +"
> +
> +HOMEPAGE = "https://polarssl.org"
> +BUGTRACKER = "https://github.com/polarssl/polarssl/issues"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
> +
> +SECTION = "libdevel"
> +
> +SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-gpl.tgz"
> +
> +
> +DEPENDS = "openssl"
> +RDEPENDS_${PN} += "libcrypto"
> +PROVIDES += "polarssl"
> +RPROVIDES_${PN} = "polarssl"
> +EXTRA_OECMAKE = "-DUSE_SHARED_POLARSSL_LIBRARY=on -DLIB_INSTALL_DIR=${baselib}"
> +
> +inherit cmake
> diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb
> index d5c7afe..3f1c1fe 100644
> --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb
> +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_1.3.10.bb
> @@ -1,37 +1,4 @@
> -SUMMARY = "Lightweight crypto and SSL/TLS library"
> -DESCRIPTION = "mbedtls is a lean open source crypto library \
> -for providing SSL and TLS support in your programs. It offers \
> -an intuitive API and documented header files, so you can actually \
> -understand what the code does. It features: \
> - \
> - - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \
> - Camellia and XTEA \
> - - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \
> - - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \
> - - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \
> - ECDSA and ECDH \
> - - SSL v3 and TLS 1.0, 1.1 and 1.2 \
> - - Abstraction layers for ciphers, hashes, public key operations, \
> - platform abstraction and threading \
> -"
> -
> -HOMEPAGE = "https://polarssl.org"
> -BUGTRACKER = "https://github.com/polarssl/polarssl/issues"
> -
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
> -
> -SECTION = "libdevel"
> -
> -SRC_URI = "https://tls.mbed.org/download/mbedtls-${PV}-gpl.tgz"
> +require mbedtls.inc
>
> SRC_URI[md5sum] = "19ebbc96feceb430ad958dfe89cb633f"
> SRC_URI[sha256sum] = "746fd88e0c6623691fc56c4eed52e40a57b2da0ac80f6dd8995094aa6adb407e"
> -
> -DEPENDS = "openssl"
> -RDEPENDS_${PN} += "libcrypto"
> -PROVIDES += "polarssl"
> -RPROVIDES_${PN} = "polarssl"
> -EXTRA_OECMAKE = "-DUSE_SHARED_POLARSSL_LIBRARY=on -DLIB_INSTALL_DIR=${baselib}"
> -
> -inherit cmake
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]
next prev parent reply other threads:[~2016-09-26 6:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 16:46 [meta-networking][PATCH] mbedtls: separate general .inc and version-specific recipe Roman Alyautdin
2016-09-26 6:39 ` Martin Jansa [this message]
2016-09-26 10:12 ` Roman Alyautdin
2016-09-28 18:24 ` Roman Alyautdin
-- strict thread matches above, loose matches on Subject: below --
2016-09-23 16:43 Roman Alyautdin
2016-09-23 16:07 Roman Alyautdin
2016-09-23 15:51 Roman Alyautdin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160926063903.GC2631@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.