From nobody Mon Oct 25 14:09:36 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C3E42180BDE4; Mon, 25 Oct 2021 14:09:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdGzk1mbjz3tX0; Mon, 25 Oct 2021 14:09:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 12B5B2186; Mon, 25 Oct 2021 14:09:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19PE9aci015716; Mon, 25 Oct 2021 14:09:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19PE9aSG015715; Mon, 25 Oct 2021 14:09:36 GMT (envelope-from git) Date: Mon, 25 Oct 2021 14:09:36 GMT Message-Id: <202110251409.19PE9aSG015715@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Danilo Egea Gondolfo Subject: git: 7d42f97bb997 - main - security/aws-c-auth: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danilo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d42f97bb9975993a2fa46e126cafbbe9dfb7b7a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danilo: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d42f97bb9975993a2fa46e126cafbbe9dfb7b7a commit 7d42f97bb9975993a2fa46e126cafbbe9dfb7b7a Author: Danilo Egea Gondolfo AuthorDate: 2021-10-23 12:43:44 +0000 Commit: Danilo Egea Gondolfo CommitDate: 2021-10-25 14:04:51 +0000 security/aws-c-auth: Add new port C99 library implementation of AWS client-side authentication: standard credentials providers and signing. --- security/aws-c-auth/Makefile | 31 ++++++++++++++++++++++++++ security/aws-c-auth/distinfo | 3 +++ security/aws-c-auth/files/patch-CMakeLists.txt | 10 +++++++++ security/aws-c-auth/pkg-descr | 4 ++++ security/aws-c-auth/pkg-plist | 18 +++++++++++++++ 5 files changed, 66 insertions(+) diff --git a/security/aws-c-auth/Makefile b/security/aws-c-auth/Makefile new file mode 100644 index 000000000000..11fd4d325486 --- /dev/null +++ b/security/aws-c-auth/Makefile @@ -0,0 +1,31 @@ +# Created by: Danilo Egea Gondolfo + +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 diff --git a/security/aws-c-auth/distinfo b/security/aws-c-auth/distinfo new file mode 100644 index 000000000000..10481bb57371 --- /dev/null +++ b/security/aws-c-auth/distinfo @@ -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 diff --git a/security/aws-c-auth/files/patch-CMakeLists.txt b/security/aws-c-auth/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ec65dc056c87 --- /dev/null +++ b/security/aws-c-auth/files/patch-CMakeLists.txt @@ -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") diff --git a/security/aws-c-auth/pkg-descr b/security/aws-c-auth/pkg-descr new file mode 100644 index 000000000000..7ea1001d1257 --- /dev/null +++ b/security/aws-c-auth/pkg-descr @@ -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 diff --git a/security/aws-c-auth/pkg-plist b/security/aws-c-auth/pkg-plist new file mode 100644 index 000000000000..d8925714ca3c --- /dev/null +++ b/security/aws-c-auth/pkg-plist @@ -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