From nobody Mon Oct 21 09:33:58 2024 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 4XX99f6Ky7z5YkTM; Mon, 21 Oct 2024 09:33:58 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XX99f4Dx4z4gjM; Mon, 21 Oct 2024 09:33:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729503238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7V5epkFaZ3NoBM3GmiQbWxQ2ktyB+pM/aiYDz3h3wo8=; b=wh6GitUrwPTwYtulh8AkkLdR1iyPXe67XjontFqbZtiO49E30N6gik4WjpNJOIkP3t3ZtS 1RIGOPZS2D9/g9vz+fbtvYBAcw1itYNt9vrVeW9YsijxpLSwrnnZT0RCCZFk32i7IwldgF CKVSou2fjNImNMTnlASZPppPwT35uY80wwYBFdjBKp22vUE8KpJzVeGrMyLr0hC14ELXhp ngrfe5lRxOD5D3po7gNz6UavzKxawUXuvjzhazsZytVedbWCOWgpusUwXi8D438mJs+Yjx i/zG1IkjB8D5RnboZVp+i44I6MEuFNsrTXCMTnar4VFwTbfQJxe8RP7UVV/ENg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729503238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7V5epkFaZ3NoBM3GmiQbWxQ2ktyB+pM/aiYDz3h3wo8=; b=W+6LSEtYduAyxhbhMi/7CQTCCw0cDpQR/fSvcYKCAWd3XZQZbhRqFdxrbjs7jbXjflaB45 EsU/vqcpchhWDsQpaT7irF1wZB6lMKqaoiNaRufRB6RGzj+gjAVSQ00xvfI0b5JrHRUd3S wAjIGZSHtqpsvYK2lAXKjTu+jZjPbsUbFHqpeScPQCkeqfNiOJ3C0Vkgr9uBE51vkQEPCI kWqWBLYWPrWz2P0nMHb3LTv8oHIczZaQYPzWSPeZT+FnqJYvMsQgWSyFHphLj3N2LYxyKz uvnAJEK3dAiRkPcda4PYubTfhgYUy8vDSjbk4RuzuybuMSi1UYnxe433KhDHYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729503238; a=rsa-sha256; cv=none; b=hL9Q9osZkUsvWNMpbnw4ETyBiX7gT/Ir7viH/Wl84Q75ugmaSYcMR97gP/5sbz5WOcRuBp zw3hccUQuCtFMLSW1YCtTWEVgaKAtaHhbEI1D47l9j+6+NV5hf4FT+D/KO24CiOOJhykKZ WJyfirZd9LKtrPWjsJQWoby7wB2Cnd9TMKVytzHgjBRe+WQ+j6fBMwnbu0fDR9PxeKA3my q8N9PYzYUfQS4YJwkZqo4mVeDdP/mQSY6MTdebINDArKHPLUtfvfAu59xri+Q/Eh8sIQuO fEniCgMtGRRxkOL8Si1zPB2Q0zJZPsr/2y2eVFzUYMEv9X6VeBv39O+2bjd2Tw== 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 4XX99f3rSGzQ2Z; Mon, 21 Oct 2024 09:33:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49L9XwP2028066; Mon, 21 Oct 2024 09:33:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49L9XwRO028063; Mon, 21 Oct 2024 09:33:58 GMT (envelope-from git) Date: Mon, 21 Oct 2024 09:33:58 GMT Message-Id: <202410210933.49L9XwRO028063@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7116a2db35f5 - main - security/aws-lc: Add aws-lc 1.36.1 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7116a2db35f5ea1bb8a206653b81c85b45276a3f Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7116a2db35f5ea1bb8a206653b81c85b45276a3f commit 7116a2db35f5ea1bb8a206653b81c85b45276a3f Author: Po-Chuan Hsieh AuthorDate: 2024-10-21 06:32:32 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-10-21 09:17:25 +0000 security/aws-lc: Add aws-lc 1.36.1 AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. It is based on code from the Google BoringSSL project and the OpenSSL project. AWS-LC contains portable C implementations of algorithms needed for TLS and common applications. For performance critical algorithms, optimized assembly versions are included for x86 and ARM. --- security/Makefile | 1 + security/aws-lc/Makefile | 36 ++++++++++++++++ security/aws-lc/distinfo | 3 ++ security/aws-lc/pkg-descr | 7 ++++ security/aws-lc/pkg-plist | 104 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 151 insertions(+) diff --git a/security/Makefile b/security/Makefile index e2e7c7d62bf2..b74783e132c0 100644 --- a/security/Makefile +++ b/security/Makefile @@ -39,6 +39,7 @@ SUBDIR += aws-c-auth SUBDIR += aws-c-cal SUBDIR += aws-iam-authenticator + SUBDIR += aws-lc SUBDIR += aws-vault SUBDIR += axc SUBDIR += barnyard2 diff --git a/security/aws-lc/Makefile b/security/aws-lc/Makefile new file mode 100644 index 000000000000..a67bf00b63ce --- /dev/null +++ b/security/aws-lc/Makefile @@ -0,0 +1,36 @@ +PORTNAME= aws-lc +PORTVERSION= 1.36.1 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= AWS libcrypto +WWW= https://github.com/aws/aws-lc + +# It is actually (APACHE20 or ISCL) and BSD3CLAUSE and MIT and OpenSSL +LICENSE= APACHE20 BSD3CLAUSE ISCL MIT OpenSSL +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake pathfix + +CMAKE_OFF= BUILD_TESTING \ + ENABLE_DATA_INDEPENDENT_TIMING \ + ENABLE_DILITHIUM \ + ENABLE_FIPS_ENTROPY_CPU_JITTER \ + MY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX \ + MY_ASSEMBLER_IS_TOO_OLD_FOR_AVX +CMAKE_ON= BUILD_LIBSSL \ + BUILD_TOOL \ + DISABLE_GO \ + DISABLE_PERL +CMAKE_TESTING_ON= BUILD_TESTING +CMAKE_TESTING_TARGET= all_tests +#CMAKE_TESTING_TARGET= run_tests + +USE_GITHUB= yes +GH_ACCOUNT= aws + +CONFLICTS_INSTALL= boringssl libressl* openssl* + +.include diff --git a/security/aws-lc/distinfo b/security/aws-lc/distinfo new file mode 100644 index 000000000000..e33f747f3e25 --- /dev/null +++ b/security/aws-lc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1729240312 +SHA256 (aws-aws-lc-v1.36.1_GH0.tar.gz) = aea109df373860de20eeb870739092cbe3e0ef8f38b6444eb0c321517c3ce1ec +SIZE (aws-aws-lc-v1.36.1_GH0.tar.gz) = 113181161 diff --git a/security/aws-lc/pkg-descr b/security/aws-lc/pkg-descr new file mode 100644 index 000000000000..ddb7ffab5de8 --- /dev/null +++ b/security/aws-lc/pkg-descr @@ -0,0 +1,7 @@ +AWS-LC is a general-purpose cryptographic library maintained by the AWS +Cryptography team for AWS and their customers. It is based on code from the +Google BoringSSL project and the OpenSSL project. + +AWS-LC contains portable C implementations of algorithms needed for TLS and +common applications. For performance critical algorithms, optimized assembly +versions are included for x86 and ARM. diff --git a/security/aws-lc/pkg-plist b/security/aws-lc/pkg-plist new file mode 100644 index 000000000000..672107a36c79 --- /dev/null +++ b/security/aws-lc/pkg-plist @@ -0,0 +1,104 @@ +bin/bssl +bin/openssl +include/openssl/aead.h +include/openssl/aes.h +include/openssl/arm_arch.h +include/openssl/asm_base.h +include/openssl/asn1.h +include/openssl/asn1_mac.h +include/openssl/asn1t.h +include/openssl/base.h +include/openssl/base64.h +include/openssl/bio.h +include/openssl/blake2.h +include/openssl/blowfish.h +include/openssl/bn.h +include/openssl/boringssl_prefix_symbols.h +include/openssl/boringssl_prefix_symbols_asm.h +include/openssl/boringssl_prefix_symbols_nasm.inc +include/openssl/buf.h +include/openssl/buffer.h +include/openssl/bytestring.h +include/openssl/chacha.h +include/openssl/cipher.h +include/openssl/cmac.h +include/openssl/conf.h +include/openssl/cpu.h +include/openssl/crypto.h +include/openssl/ctrdrbg.h +include/openssl/curve25519.h +include/openssl/des.h +include/openssl/dh.h +include/openssl/digest.h +include/openssl/dsa.h +include/openssl/dtls1.h +include/openssl/e_os2.h +include/openssl/ec.h +include/openssl/ec_key.h +include/openssl/ecdh.h +include/openssl/ecdsa.h +include/openssl/engine.h +include/openssl/err.h +include/openssl/evp.h +include/openssl/evp_errors.h +include/openssl/ex_data.h +include/openssl/experimental/kem_deterministic_api.h +include/openssl/hkdf.h +include/openssl/hmac.h +include/openssl/hpke.h +include/openssl/hrss.h +include/openssl/is_awslc.h +include/openssl/kdf.h +include/openssl/lhash.h +include/openssl/md4.h +include/openssl/md5.h +include/openssl/mem.h +include/openssl/nid.h +include/openssl/obj.h +include/openssl/obj_mac.h +include/openssl/objects.h +include/openssl/ocsp.h +include/openssl/opensslconf.h +include/openssl/opensslv.h +include/openssl/ossl_typ.h +include/openssl/pem.h +include/openssl/pkcs12.h +include/openssl/pkcs7.h +include/openssl/pkcs8.h +include/openssl/poly1305.h +include/openssl/pool.h +include/openssl/posix_time.h +include/openssl/rand.h +include/openssl/rc4.h +include/openssl/ripemd.h +include/openssl/rsa.h +include/openssl/safestack.h +include/openssl/service_indicator.h +include/openssl/sha.h +include/openssl/siphash.h +include/openssl/span.h +include/openssl/sshkdf.h +include/openssl/ssl.h +include/openssl/ssl3.h +include/openssl/stack.h +include/openssl/target.h +include/openssl/thread.h +include/openssl/time.h +include/openssl/tls1.h +include/openssl/trust_token.h +include/openssl/type_check.h +include/openssl/x509.h +include/openssl/x509_vfy.h +include/openssl/x509v3.h +include/openssl/x509v3_errors.h +lib/crypto/cmake/crypto-config.cmake +lib/crypto/cmake/static/crypto-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/crypto/cmake/static/crypto-targets.cmake +lib/libcrypto.a +lib/libssl.a +lib/ssl/cmake/ssl-config.cmake +lib/ssl/cmake/static/ssl-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/ssl/cmake/static/ssl-targets.cmake +libdata/pkgconfig/libcrypto.pc +libdata/pkgconfig/libssl.pc +libdata/pkgconfig/openssl.pc