1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

security/aws-c-auth: Add new port

C99 library implementation of AWS client-side authentication:
standard credentials providers and signing.
This commit is contained in:
Danilo Egea Gondolfo 2021-10-23 13:43:44 +01:00
parent c4ba600cda
commit 7d42f97bb9
5 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
PORTNAME= aws-c-auth
PORTVERSION= 0.6.5
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= danilo@FreeBSD.org
COMMENT= C99 library implementation of AWS client-side authentication
LICENSE= APACHE20
LIB_DEPENDS= libaws-c-common.so:devel/aws-c-common \
libaws-c-cal.so:security/aws-c-cal \
libaws-c-io.so:devel/aws-c-io \
libaws-c-compression.so:devel/aws-c-compression \
libaws-c-http.so:devel/aws-c-http \
libaws-c-sdkutils.so:devel/aws-c-sdkutils \
libs2n.so:security/s2n
USES= cmake compiler:c11 ssl
USE_GITHUB= yes
GH_ACCOUNT= awslabs
CMAKE_ARGS+= -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON \
-DCMAKE_PREFIX_PATH=${LOCALBASE}
USE_LDCONFIG= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1634978482
SHA256 (awslabs-aws-c-auth-v0.6.5_GH0.tar.gz) = e4adf562691ac9d1972529bbad9f5abc544085eee8be748f463bd15f976e148e
SIZE (awslabs-aws-c-auth-v0.6.5_GH0.tar.gz) = 245880

View File

@ -0,0 +1,10 @@
--- CMakeLists.txt.orig 2021-10-23 10:33:37 UTC
+++ CMakeLists.txt
@@ -111,6 +111,7 @@ target_link_libraries(${PROJECT_NAME} PUBLIC ${DEP_AWS
aws_prepare_shared_lib_exports(${PROJECT_NAME})
install(FILES ${AWS_AUTH_ROOT_HEADERS} DESTINATION "include/aws/auth" COMPONENT Development)
+install(FILES ${AWS_AUTH_PRIVATE_HEADERS} DESTINATION "include/aws/auth/private" COMPONENT Development)
if (BUILD_SHARED_LIBS)
set (TARGET_DIR "shared")

View File

@ -0,0 +1,4 @@
C99 library implementation of AWS client-side authentication:
standard credentials providers and signing.
WWW: https://github.com/awslabs/aws-c-auth

View File

@ -0,0 +1,18 @@
include/aws/auth/auth.h
include/aws/auth/aws_imds_client.h
include/aws/auth/credentials.h
include/aws/auth/exports.h
include/aws/auth/private/aws_profile.h
include/aws/auth/private/aws_signing.h
include/aws/auth/private/credentials_utils.h
include/aws/auth/private/key_derivation.h
include/aws/auth/private/sigv4_http_request.h
include/aws/auth/signable.h
include/aws/auth/signing.h
include/aws/auth/signing_config.h
include/aws/auth/signing_result.h
lib/aws-c-auth/cmake/aws-c-auth-config.cmake
lib/aws-c-auth/cmake/shared/aws-c-auth-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/aws-c-auth/cmake/shared/aws-c-auth-targets.cmake
lib/libaws-c-auth.so
lib/libaws-c-auth.so.1.0.0