From 44b894326246dfd6114cd70d6373a9253e0a604c Mon Sep 17 00:00:00 2001 From: Nicolai Grodzitski Date: Sun, 6 May 2018 02:42:06 +0300 Subject: [PATCH] Update RESTinio (#3423) * Make restinio port. First implementation (find-module files are not installed yet). * Add current status of a port files (not working). * Prepare restinio port files. * Change restinio archive URL. * [restinio] Slim portfile * Update RESTinio version. --- ports/restinio/CONTROL | 2 +- ports/restinio/portfile.cmake | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ports/restinio/CONTROL b/ports/restinio/CONTROL index 516de716ab..eed60e4c33 100644 --- a/ports/restinio/CONTROL +++ b/ports/restinio/CONTROL @@ -1,4 +1,4 @@ Source: restinio -Version: 0.4.5 +Version: 0.4.5.1 Description: A header-only C++14 library that gives you an embedded HTTP/Websocket server targeted primarily for asynchronous processing of HTTP-requests. Build-Depends: asio, fmt, http-parser diff --git a/ports/restinio/portfile.cmake b/ports/restinio/portfile.cmake index ba25481f62..b2c496dfb5 100644 --- a/ports/restinio/portfile.cmake +++ b/ports/restinio/portfile.cmake @@ -1,10 +1,12 @@ include(vcpkg_common_functions) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/restinio-0.4.5-vcpkg) +set(RESTINIO_VERSION 0.4.5.1) + +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/restinio-${RESTINIO_VERSION}-vcpkg) vcpkg_download_distfile(ARCHIVE - URLS "https://bitbucket.org/sobjectizerteam/restinio-0.4/downloads/restinio-0.4.5-vcpkg.zip" - FILENAME "restinio-0.4.5-vcpkg.zip" - SHA512 f5f135f761f29b2d4a9641ac1b37bb57bb6213df39b92ad349f8b73440142b2bd2a6093ee4c222417f61303ae46e960fb77b7a0c34d7e3924f3df1a50036b2da + URLS "https://bitbucket.org/sobjectizerteam/restinio-0.4/downloads/restinio-${RESTINIO_VERSION}-vcpkg.zip" + FILENAME "restinio-${RESTINIO_VERSION}-vcpkg.zip" + SHA512 198153f9b8d866c2aa57932720b31ff1f8e523d9640ad0c8becb911afed1fa12caa636847234cfc83d584a15bdc4b05fb98cbc4730af2520b453c5de468eb7fa ) vcpkg_extract_source_archive(${ARCHIVE})