svn commit: r548064 - in head/devel/cpprestsdk: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Sep 9 07:15:15 UTC 2020
Author: danfe
Date: Wed Sep 9 07:15:14 2020
New Revision: 548064
URL: https://svnweb.freebsd.org/changeset/ports/548064
Log:
- Update to version 2.10.16 to unbreak the build against newer OpenSSL
- Allow to build with optional Brotli compression support while here
Deleted:
head/devel/cpprestsdk/files/
Modified:
head/devel/cpprestsdk/Makefile
head/devel/cpprestsdk/distinfo
head/devel/cpprestsdk/pkg-plist
Modified: head/devel/cpprestsdk/Makefile
==============================================================================
--- head/devel/cpprestsdk/Makefile Wed Sep 9 07:14:20 2020 (r548063)
+++ head/devel/cpprestsdk/Makefile Wed Sep 9 07:15:14 2020 (r548064)
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= cpprestsdk
-PORTVERSION= 2.9.1
+PORTVERSION= 2.10.16
DISTVERSIONPREFIX= v
-PORTREVISION= 13
CATEGORIES= devel
MAINTAINER= projects at phess.net
@@ -14,20 +13,21 @@ LICENSE_FILE= ${WRKSRC}/../license.txt
BROKEN_powerpc64= fails to compile: threadpool.h:59:25: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value
+BUILD_DEPENDS= ${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp
LIB_DEPENDS= libboost_system.so:devel/boost-libs
-USES= cmake compiler:c++11-lib ssl
+USES= cmake compiler:c++11-lang pkgconfig ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Microsoft
WRKSRC_SUBDIR= Release
CMAKE_OFF= BUILD_SAMPLES BUILD_TESTS
-.include <bsd.port.pre.mk>
+CXXFLAGS+= -Wno-c11-extensions
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= use of undeclared identifier 'SSL_R_SHORT_READ'
-BROKEN_FreeBSD_13= use of undeclared identifier 'SSL_R_SHORT_READ'
-.endif
+OPTIONS_DEFINE= BROTLI
-.include <bsd.port.post.mk>
+BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli
+BROTLI_CMAKE_ON= -DCPPREST_EXCLUDE_BROTLI:BOOL=OFF
+
+.include <bsd.port.mk>
Modified: head/devel/cpprestsdk/distinfo
==============================================================================
--- head/devel/cpprestsdk/distinfo Wed Sep 9 07:14:20 2020 (r548063)
+++ head/devel/cpprestsdk/distinfo Wed Sep 9 07:15:14 2020 (r548064)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484223440
-SHA256 (Microsoft-cpprestsdk-v2.9.1_GH0.tar.gz) = 7097889965df48ec5799d6ed3b4f95f16ca82ee3512eb31db844d9df600bc899
-SIZE (Microsoft-cpprestsdk-v2.9.1_GH0.tar.gz) = 1601475
+TIMESTAMP = 1587775456
+SHA256 (Microsoft-cpprestsdk-v2.10.16_GH0.tar.gz) = 3d75e17c7d79131320438f2a15331f7ca6281c38c0e2daa27f051e290eeb8681
+SIZE (Microsoft-cpprestsdk-v2.10.16_GH0.tar.gz) = 1768423
Modified: head/devel/cpprestsdk/pkg-plist
==============================================================================
--- head/devel/cpprestsdk/pkg-plist Wed Sep 9 07:14:20 2020 (r548063)
+++ head/devel/cpprestsdk/pkg-plist Wed Sep 9 07:15:14 2020 (r548064)
@@ -10,15 +10,12 @@ include/cpprest/details/http_constants.dat
include/cpprest/details/http_helpers.h
include/cpprest/details/http_server.h
include/cpprest/details/http_server_api.h
-include/cpprest/details/http_server_asio.h
-include/cpprest/details/http_server_httpsys.h
include/cpprest/details/nosal.h
include/cpprest/details/resource.h
-include/cpprest/details/uri_parser.h
include/cpprest/details/web_utilities.h
-include/cpprest/details/x509_cert_utilities.h
include/cpprest/filestream.h
include/cpprest/http_client.h
+include/cpprest/http_compression.h
include/cpprest/http_headers.h
include/cpprest/http_listener.h
include/cpprest/http_msg.h
@@ -42,5 +39,9 @@ include/pplx/pplxlinux.h
include/pplx/pplxtasks.h
include/pplx/pplxwin.h
include/pplx/threadpool.h
+lib/cmake/cpprestsdk/cpprestsdk-config-version.cmake
+lib/cmake/cpprestsdk/cpprestsdk-config.cmake
+lib/cmake/cpprestsdk/cpprestsdk-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/cpprestsdk/cpprestsdk-targets.cmake
lib/libcpprest.so
-lib/libcpprest.so.2.9
+lib/libcpprest.so.2.10
More information about the svn-ports-all
mailing list