aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorggessner <ggessner@users.noreply.github.com>2020-02-07 18:35:10 +0100
committerGitHub <noreply@github.com>2020-02-07 09:35:10 -0800
commitf370671685c40054a0923d76383c9b4ea32db417 (patch)
tree0065ab8b6cc59de13311f2ea49093fb6fb866bb7
parent209b2e3355ca3732df8a0f840eef06b5f29b215a (diff)
downloadvcpkg-f370671685c40054a0923d76383c9b4ea32db417.tar.gz
vcpkg-f370671685c40054a0923d76383c9b4ea32db417.zip
[nng] update nng to the latest version v1.2.5 (#9906)
* update nng to the latest version necessary in order for nngpp to work correctly added homepage removed deprecated command fixed handling copywright * prettify versioning * replace tag with SHA1 of corresponding commit * fix SHA512
-rw-r--r--ports/nng/CONTROL3
-rw-r--r--ports/nng/portfile.cmake8
2 files changed, 5 insertions, 6 deletions
diff --git a/ports/nng/CONTROL b/ports/nng/CONTROL
index 53de5d384..322ec241c 100644
--- a/ports/nng/CONTROL
+++ b/ports/nng/CONTROL
@@ -1,6 +1,7 @@
Source: nng
-Version: 2019-02-27
+Version: 1.2.5
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
Feature: mbedtls
Description: nng built with TLS support(needs mbedTLS)
diff --git a/ports/nng/portfile.cmake b/ports/nng/portfile.cmake
index 006617ca4..b62865169 100644
--- a/ports/nng/portfile.cmake
+++ b/ports/nng/portfile.cmake
@@ -1,10 +1,8 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nanomsg/nng
- REF ddeac617c9914284038241870cb99ae174fb3755
- SHA512 c45f322dfa3fba42db0561d95546159cc5e0768345d27f0bee53bdb71e77d5892e2e9bea50a625094ebf3c67b0c3fe0a8edea2660ebcb4fd0991fb0602055bc1
+ REF 53ae1a5ab37fdfc9ad5c236df3eaf4dd63f0fee9
+ SHA512 f5532c0b0287df52ddae173dc92eff06d1f4b2b42a2f7afaf28a7736bf70618ae29ccd51fb9743795a8004918a2a2f55233e6ced58829561c745eafa6118b762
HEAD_REF master
)
@@ -55,6 +53,6 @@ else()
endif()
# Put the licence file where vcpkg expects it
-configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/nng/copyright COPYONLY)
+configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
vcpkg_copy_pdbs()