Date: Sat, 6 Jul 2024 17:56:23 GMT From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c0fdd506d4bf - main - security/rustls-ffi: Add new port Message-ID: <202407061756.466HuN52038937@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0fdd506d4bf762f165cbcab64dbfaa20323dd34 commit c0fdd506d4bf762f165cbcab64dbfaa20323dd34 Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2024-07-06 17:55:39 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2024-07-06 17:55:39 +0000 security/rustls-ffi: Add new port * Dependency for the experimental www/apache24 mod_tls module --- security/Makefile | 1 + security/rustls-ffi/Makefile | 30 +++++++++++++++++ security/rustls-ffi/Makefile.crates | 32 ++++++++++++++++++ security/rustls-ffi/distinfo | 67 +++++++++++++++++++++++++++++++++++++ security/rustls-ffi/pkg-descr | 6 ++++ 5 files changed, 136 insertions(+) diff --git a/security/Makefile b/security/Makefile index 5f52ed892d51..45cd7b6fec33 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1237,6 +1237,7 @@ SUBDIR += rubygem-vault SUBDIR += rubygem-webauthn SUBDIR += rubygem-webpush + SUBDIR += rustls-ffi SUBDIR += rustscan SUBDIR += s2n-tls SUBDIR += safesh diff --git a/security/rustls-ffi/Makefile b/security/rustls-ffi/Makefile new file mode 100644 index 000000000000..cd09e6272781 --- /dev/null +++ b/security/rustls-ffi/Makefile @@ -0,0 +1,30 @@ +PORTNAME= rustls-ffi +PORTVERSION= 0.13.0 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= FFI bindings for the rustls TLS library +WWW= https://github.com/rustls/rustls-ffi + +LICENSE= APACHE20 ISCL MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE +LICENSE_FILE_ISCL= ${WRKSRC}/LICENSE-ISC +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT + +USES= cargo gmake + +USE_GITHUB= yes +GH_ACCOUNT= rustls + +PLIST_FILES= include/rustls.h \ + lib/librustls.a + +do-build: + ${MAKE_CMD} -C ${WRKSRC} + +do-install: + ${MAKE_CMD} -C ${WRKSRC} DESTDIR=${STAGEDIR}/${PREFIX} install + +.include <bsd.port.mk> diff --git a/security/rustls-ffi/Makefile.crates b/security/rustls-ffi/Makefile.crates new file mode 100644 index 000000000000..a03e57c1fcd9 --- /dev/null +++ b/security/rustls-ffi/Makefile.crates @@ -0,0 +1,32 @@ +CARGO_CRATES= aho-corasick-1.1.1 \ + base64-0.21.5 \ + cc-1.0.83 \ + cfg-if-1.0.0 \ + getrandom-0.2.11 \ + libc-0.2.153 \ + log-0.4.21 \ + memchr-2.6.4 \ + once_cell-1.19.0 \ + regex-1.9.6 \ + regex-automata-0.3.9 \ + regex-syntax-0.7.5 \ + ring-0.17.5 \ + rustls-0.23.4 \ + rustls-pemfile-2.1.1 \ + rustls-pki-types-1.3.1 \ + rustls-webpki-0.102.2 \ + rustversion-1.0.14 \ + spin-0.9.8 \ + subtle-2.5.0 \ + untrusted-0.9.0 \ + wasi-0.11.0+wasi-snapshot-preview1 \ + windows-sys-0.48.0 \ + windows-targets-0.48.5 \ + windows_aarch64_gnullvm-0.48.5 \ + windows_aarch64_msvc-0.48.5 \ + windows_i686_gnu-0.48.5 \ + windows_i686_msvc-0.48.5 \ + windows_x86_64_gnu-0.48.5 \ + windows_x86_64_gnullvm-0.48.5 \ + windows_x86_64_msvc-0.48.5 \ + zeroize-1.7.0 diff --git a/security/rustls-ffi/distinfo b/security/rustls-ffi/distinfo new file mode 100644 index 000000000000..8d0d8e73f1db --- /dev/null +++ b/security/rustls-ffi/distinfo @@ -0,0 +1,67 @@ +TIMESTAMP = 1720257747 +SHA256 (rust/crates/aho-corasick-1.1.1.crate) = ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab +SIZE (rust/crates/aho-corasick-1.1.1.crate) = 182812 +SHA256 (rust/crates/base64-0.21.5.crate) = 35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9 +SIZE (rust/crates/base64-0.21.5.crate) = 77134 +SHA256 (rust/crates/cc-1.0.83.crate) = f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0 +SIZE (rust/crates/cc-1.0.83.crate) = 68343 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/getrandom-0.2.11.crate) = fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f +SIZE (rust/crates/getrandom-0.2.11.crate) = 35391 +SHA256 (rust/crates/libc-0.2.153.crate) = 9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd +SIZE (rust/crates/libc-0.2.153.crate) = 740614 +SHA256 (rust/crates/log-0.4.21.crate) = 90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c +SIZE (rust/crates/log-0.4.21.crate) = 43442 +SHA256 (rust/crates/memchr-2.6.4.crate) = f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167 +SIZE (rust/crates/memchr-2.6.4.crate) = 94439 +SHA256 (rust/crates/once_cell-1.19.0.crate) = 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 +SIZE (rust/crates/once_cell-1.19.0.crate) = 33046 +SHA256 (rust/crates/regex-1.9.6.crate) = ebee201405406dbf528b8b672104ae6d6d63e6d118cb10e4d51abbc7b58044ff +SIZE (rust/crates/regex-1.9.6.crate) = 254981 +SHA256 (rust/crates/regex-automata-0.3.9.crate) = 59b23e92ee4318893fa3fe3e6fb365258efbfe6ac6ab30f090cdcbb7aa37efa9 +SIZE (rust/crates/regex-automata-0.3.9.crate) = 610489 +SHA256 (rust/crates/regex-syntax-0.7.5.crate) = dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da +SIZE (rust/crates/regex-syntax-0.7.5.crate) = 343366 +SHA256 (rust/crates/ring-0.17.5.crate) = fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b +SIZE (rust/crates/ring-0.17.5.crate) = 4147790 +SHA256 (rust/crates/rustls-0.23.4.crate) = 8c4d6d8ad9f2492485e13453acbb291dd08f64441b6609c491f1c2cd2c6b4fe1 +SIZE (rust/crates/rustls-0.23.4.crate) = 371883 +SHA256 (rust/crates/rustls-pemfile-2.1.1.crate) = f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab +SIZE (rust/crates/rustls-pemfile-2.1.1.crate) = 26161 +SHA256 (rust/crates/rustls-pki-types-1.3.1.crate) = 5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8 +SIZE (rust/crates/rustls-pki-types-1.3.1.crate) = 21637 +SHA256 (rust/crates/rustls-webpki-0.102.2.crate) = faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610 +SIZE (rust/crates/rustls-webpki-0.102.2.crate) = 196881 +SHA256 (rust/crates/rustversion-1.0.14.crate) = 7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4 +SIZE (rust/crates/rustversion-1.0.14.crate) = 17261 +SHA256 (rust/crates/spin-0.9.8.crate) = 6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67 +SIZE (rust/crates/spin-0.9.8.crate) = 38958 +SHA256 (rust/crates/subtle-2.5.0.crate) = 81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc +SIZE (rust/crates/subtle-2.5.0.crate) = 13909 +SHA256 (rust/crates/untrusted-0.9.0.crate) = 8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1 +SIZE (rust/crates/untrusted-0.9.0.crate) = 14447 +SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 +SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131 +SHA256 (rust/crates/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9 +SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884 +SHA256 (rust/crates/windows-targets-0.48.5.crate) = 9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c +SIZE (rust/crates/windows-targets-0.48.5.crate) = 6904 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8 +SIZE (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 418492 +SHA256 (rust/crates/windows_aarch64_msvc-0.48.5.crate) = dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc +SIZE (rust/crates/windows_aarch64_msvc-0.48.5.crate) = 798483 +SHA256 (rust/crates/windows_i686_gnu-0.48.5.crate) = a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e +SIZE (rust/crates/windows_i686_gnu-0.48.5.crate) = 844891 +SHA256 (rust/crates/windows_i686_msvc-0.48.5.crate) = 8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406 +SIZE (rust/crates/windows_i686_msvc-0.48.5.crate) = 864300 +SHA256 (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e +SIZE (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 801619 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc +SIZE (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 418486 +SHA256 (rust/crates/windows_x86_64_msvc-0.48.5.crate) = ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538 +SIZE (rust/crates/windows_x86_64_msvc-0.48.5.crate) = 798412 +SHA256 (rust/crates/zeroize-1.7.0.crate) = 525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d +SIZE (rust/crates/zeroize-1.7.0.crate) = 19039 +SHA256 (rustls-rustls-ffi-v0.13.0_GH0.tar.gz) = 462d9069d655d433249d3d554ad5b5146a6c96c13d0f002934bd274ce6634854 +SIZE (rustls-rustls-ffi-v0.13.0_GH0.tar.gz) = 109078 diff --git a/security/rustls-ffi/pkg-descr b/security/rustls-ffi/pkg-descr new file mode 100644 index 000000000000..e4e1fdf44be1 --- /dev/null +++ b/security/rustls-ffi/pkg-descr @@ -0,0 +1,6 @@ +FFI bindings for the rustls TLS library. +Rustls is a TLS library that aims to provide a good level of cryptographic +security, requires no configuration to achieve that security, and provides +no unsafe features or obsolete cryptography by default. + +Rustls implements TLS1.2 and TLS1.3 for both clients and servers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407061756.466HuN52038937>