From 6725a3d3b28ae94a55737e9d0955ff64d81d95c0 Mon Sep 17 00:00:00 2001 From: Reto Schneider Date: Mon, 26 Apr 2021 23:49:51 +0200 Subject: nng: Upgrade 1.2.5 -> 1.4.0 License-Change: Update copyright years change to Staysail Systems, Inc https://github.com/nanomsg/nng/commit/ee0b44406d2b658886760ea08c0af12781ab7e3a#diff-d0ed4cc3fb70489fe51c7e0ac180cba2a7472124f9f9e9ae67b01a37fbd580b7 In contrast to 1.2.5, this recipe also builds and packages the nngcat tool. Signed-off-by: Reto Schneider Signed-off-by: Khem Raj --- .../recipes-connectivity/nanomsg/nng_1.2.5.bb | 21 ------------------- .../recipes-connectivity/nanomsg/nng_1.4.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 21 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb create mode 100644 meta-networking/recipes-connectivity/nanomsg/nng_1.4.0.bb diff --git a/meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb b/meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb deleted file mode 100644 index 77be27ffaa..0000000000 --- a/meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "nanomsg-next-generation -- light-weight brokerless messaging" -DESCRIPTION = "NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery." -HOMEPAGE = "https://github.com/nanomsg/nng" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a19b15be6e844b39a54de2ef665bd6de" - -SECTION = "libs/networking" - -SRCREV = "53ae1a5ab37fdfc9ad5c236df3eaf4dd63f0fee9" - -SRC_URI = "git://github.com/nanomsg/nng.git;branch=v1.2.x" - -S = "${WORKDIR}/git" - -inherit cmake pkgconfig - -EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" - -PACKAGECONFIG ??= "" - -PACKAGECONFIG[mbedtls] = "-DNNG_ENABLE_TLS=ON,-DNNG_ENABLE_TLS=OFF,mbedtls" diff --git a/meta-networking/recipes-connectivity/nanomsg/nng_1.4.0.bb b/meta-networking/recipes-connectivity/nanomsg/nng_1.4.0.bb new file mode 100644 index 0000000000..f61aa0549d --- /dev/null +++ b/meta-networking/recipes-connectivity/nanomsg/nng_1.4.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "nanomsg-next-generation -- light-weight brokerless messaging" +DESCRIPTION = "NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery." +HOMEPAGE = "https://github.com/nanomsg/nng" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3" + +SECTION = "libs/networking" + +SRCREV = "d020adda8f0348d094790618703b8341a26007a3" + +SRC_URI = "git://github.com/nanomsg/nng.git" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig + +EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DNNG_ENABLE_NNGCAT=ON" + +PACKAGECONFIG ??= "" + +PACKAGECONFIG[mbedtls] = "-DNNG_ENABLE_TLS=ON,-DNNG_ENABLE_TLS=OFF,mbedtls" + +PACKAGES =+ "${PN}-tools" +FILES_${PN}-tools = "${bindir}/*" -- cgit v1.2.3-54-g00ecf