Commit 5a6d1865 authored by arved's avatar arved
Browse files

Add aws-sdk-cpp, C++11 interface for Amazon Web Services (AWS)

parent 301fd222
...@@ -155,6 +155,7 @@ ...@@ -155,6 +155,7 @@
SUBDIR += avro SUBDIR += avro
SUBDIR += avro-c SUBDIR += avro-c
SUBDIR += avro-cpp SUBDIR += avro-cpp
SUBDIR += aws-sdk-cpp
SUBDIR += awscli SUBDIR += awscli
SUBDIR += b2 SUBDIR += b2
SUBDIR += babeltrace SUBDIR += babeltrace
......
# $FreeBSD$
PORTNAME= aws-sdk-cpp
PORTVERSION= 1.0.49
CATEGORIES= devel
MAINTAINER= arved@FreeBSD.org
COMMENT= C++11 interface for Amazon Web Services (AWS)
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl
USE_GITHUB= yes
GH_ACCOUNT= aws
USES= cmake pkgconfig compiler:c++11-lib ssl
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e "s,pkgconfig,../libdata/pkgconfig,g" \
${WRKSRC}/aws-cpp-sdk-core/CMakeLists.txt \
${WRKSRC}/cmake/utilities.cmake
.include <bsd.port.post.mk>
TIMESTAMP = 1483377188
SHA256 (aws-aws-sdk-cpp-1.0.49_GH0.tar.gz) = 29e3ca819d8bcbec418e5bb1b7fc183bcb8717008ed0a8fc636976b15b649eb4
SIZE (aws-aws-sdk-cpp-1.0.49_GH0.tar.gz) = 9422382
--- aws-cpp-sdk-core/source/platform/linux-shared/Security.cpp.orig 2017-01-03 09:10:58.573735000 +0000
+++ aws-cpp-sdk-core/source/platform/linux-shared/Security.cpp 2017-01-03 09:11:08.709468000 +0000
@@ -24,7 +24,7 @@
void SecureMemClear(unsigned char *data, size_t length)
{
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__)
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__)
memset_s(data, length, 0, length);
#else
memset(data, 0, length);
--- ./aws-cpp-sdk-core/source/external/json-cpp/jsoncpp.cpp.orig 2017-01-03 09:13:57.776272000 +0000
+++ ./aws-cpp-sdk-core/source/external/json-cpp/jsoncpp.cpp 2017-01-03 09:14:40.064338000 +0000
@@ -83,7 +83,7 @@
#include <aws/core/external/json-cpp/json.h>
-
+#include <cmath>
// //////////////////////////////////////////////////////////////////////
// Beginning of content of file: src/lib_json/json_tool.h
AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface
for Amazon Web Services (AWS). It is meant to be performant and fully
functioning with low- and high-level SDKs, while minimizing dependencies.
AWS SDK for C++ is in now in General Availability and recommended for
production use.
WWW: https://github.com/aws/aws-sdk-cpp
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment