pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

aws-cl: new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed May 7 13:30:29 2025 +0200
Changeset:	3e438f835cd0a6c838fbeb704ca0da6d99c8e228

Modified Files:
	Makefile
Added Files:
	aws-lc/DESCR
	aws-lc/Makefile
	aws-lc/PLIST
	aws-lc/TODO
	aws-lc/distinfo

Log Message:
aws-cl: new package

Builds fine, but doesn't pass its self tests.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3e438f835cd0a6c838fbeb704ca0da6d99c8e228

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |   1 +
 aws-lc/DESCR    |   7 ++++
 aws-lc/Makefile |  33 ++++++++++++++++++
 aws-lc/PLIST    | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 aws-lc/TODO     |  45 ++++++++++++++++++++++++
 aws-lc/distinfo |   5 +++
 6 files changed, 197 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 2c28dbd1a1..351309ccf3 100644
--- a/Makefile
+++ b/Makefile
@@ -271,6 +271,7 @@ SUBDIR+=	avrdude
 SUBDIR+=	awesome6-otf
 SUBDIR+=	awesome6-ttf
 SUBDIR+=	aws-iam-authenticator
+SUBDIR+=	aws-lc
 SUBDIR+=	aws-nuke
 SUBDIR+=	aws-session-manager-plugin
 SUBDIR+=	axe
diff --git a/aws-lc/DESCR b/aws-lc/DESCR
new file mode 100644
index 0000000000..00f223d4a0
--- /dev/null
+++ b/aws-lc/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/aws-lc/Makefile b/aws-lc/Makefile
new file mode 100644
index 0000000000..24b4ce9a13
--- /dev/null
+++ b/aws-lc/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME=	aws-lc-1.51.0
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=aws/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/aws/aws-lc/
+COMMENT=	General-purpose cryptographic library
+LICENSE=	openssl AND mit AND isc
+
+TOOL_DEPENDS+=	go-[0-9]*:../../lang/go
+
+CONFLICTS+=	openssl-[0-9]*
+
+USE_TOOLS+=	bash:run perl
+USE_LANGUAGES=	c c++
+
+PKGCONFIG_OVERRIDE+=	pkgconfig/libcrypto.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/libssl.pc.in
+PKGCONFIG_OVERRIDE+=	pkgconfig/openssl.pc.in
+
+REPLACE_BASH+=		tool-openssl/c_rehash.sh
+# needed for testing
+ALLOW_NETWORK_ACCESS=	yes
+TEST_TARGET=		run_tests
+
+pre-configure:
+	${LN} -s ${PREFIX}/bin/go124 ${BUILDLINK_DIR}/bin/go
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/aws-lc/PLIST b/aws-lc/PLIST
new file mode 100644
index 0000000000..7a8f0d7406
--- /dev/null
+++ b/aws-lc/PLIST
@@ -0,0 +1,106 @@
+@comment $NetBSD$
+bin/bssl
+bin/c_rehash
+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-noconfig.cmake
+lib/crypto/cmake/static/crypto-targets.cmake
+lib/libcrypto.a
+lib/libssl.a
+lib/pkgconfig/libcrypto.pc
+lib/pkgconfig/libssl.pc
+lib/pkgconfig/openssl.pc
+lib/ssl/cmake/ssl-config.cmake
+lib/ssl/cmake/static/ssl-targets-noconfig.cmake
+lib/ssl/cmake/static/ssl-targets.cmake
diff --git a/aws-lc/TODO b/aws-lc/TODO
new file mode 100644
index 0000000000..cca981a884
--- /dev/null
+++ b/aws-lc/TODO
@@ -0,0 +1,45 @@
+Test status:
+
+===> Testing for aws-lc-1.51.0
+[0/2] cd /scratch/security/aws-lc/work/aws-lc-1.51.0 && /usr/pkg/bin/cmake -E echo Running\ SSL\ tests && cd ssl/test/runner && /sc...rk/.buildlink/bin/go test -timeout 10m -shim-path /scratch/security/aws-lc/work/aws-lc-1.51.0/cmake-pkgsrc-build/ssl/test/bssl_shim
+Running SSL tests
+go: downloading golang.org/x/crypto v0.10.0
+go: downloading golang.org/x/sys v0.9.0
+0/0/968/1000/5078
+0/0/968/1000/5078
+0/0/969/1000/5078
+0/0/1968/2000/5078
+0/0/1968/2000/5078
+0/0/1968/2000/5078
+0/0/1968/2000/5078
+0/0/1969/2000/5078
+0/0/2968/3000/5078
+0/0/2968/3000/5078
+0/0/2969/3000/5078
+0/0/2970/3000/5078
+0/0/3968/4000/5078
+0/0/3968/4000/5078
+0/0/3969/4000/5078
+0/0/4968/5000/5078
+0/0/4968/5000/5078
+0/0/4969/5000/5078
+Error dispatching connection: shim ID 1355 not found
+FAILED (SignedCertificateTimestampList-Client-DTLS-TLS1)
+unexpected failure: local error 'context deadline exceeded', child error 'exit status 1', stdout:
+
+stderr:
+SSL error: SYSCALL
+Error occurred: errno = 32, description = Broken pipe
+Connection 1 failed.
+
+
+1/0/5078/5078/5078
+
+exit status 1
+FAIL    boringssl.googlesource.com/boringssl/ssl/test/runner    22.426s
+FAILED: CMakeFiles/run_ssl_runner_tests /scratch/security/aws-lc/work/aws-lc-1.51.0/cmake-pkgsrc-build/CMakeFiles/run_ssl_runner_tests
+cd /scratch/security/aws-lc/work/aws-lc-1.51.0 && /usr/pkg/bin/cmake -E echo Running\ SSL\ tests && cd ssl/test/runner && /scratch/security/aws-lc/work/.buildlink/bin/go test -timeout 10m -shim-path /scratch/security/aws-lc/work/aws-lc-1.51.0/cmake-pkgsrc-build/ssl
+/test/bssl_shim
+ninja: build stopped: subcommand failed.
+*** Error code 1
+
diff --git a/aws-lc/distinfo b/aws-lc/distinfo
new file mode 100644
index 0000000000..9e026fc6f4
--- /dev/null
+++ b/aws-lc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (aws-lc-1.51.0.tar.gz) = 9592b6a96be1d6a91dcd5dad1f3bc2bf59799fa6b96953d893cee7512bb24079
+SHA512 (aws-lc-1.51.0.tar.gz) = da8248d56fe138929680e00a5cae4f8039f8c79b1d11ab909a5af56d41c672bdaf885d9fd423fb2fe0b4510c010deb31611f79d7dfb038e7debd8b8809bfee02
+Size (aws-lc-1.51.0.tar.gz) = 126899526 bytes


Home | Main Index | Thread Index | Old Index