[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: 96b32c82c41e1ca7821b0a3f54f0dfc300465de8 Author: Sam James gentoo org> AuthorDate: Sat Apr 20 04:39:36 2024 + Commit: Sam James gentoo org> CommitDate: Sat Apr 20 04:40:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96b32c82 net-libs/rustls-ffi: add 0.13.0 * Fix subslot to be 0.X instead, per Kangie's suggestion. * textrels are fixed, yay, so drop workaround. Unfortunately, still hard-requires Ring. I thought that was fixed in this release but it isn't, per release notes. Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/rustls-ffi-0.13.0.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net-libs/rustls-ffi/rustls-ffi-0.13.0.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.13.0.ebuild index 98575adf0411..4f144686f120 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.13.0.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.13.0.ebuild @@ -50,7 +50,7 @@ LICENSE="|| ( Apache-2.0 MIT ISC )" LICENSE+=" BSD ISC MIT" # For Ring (see its LICENSE) LICENSE+=" ISC openssl SSLeay MIT" -SLOT="0/${PV}" +SLOT="0/${PV%.*}" KEYWORDS="~amd64" BDEPEND="dev-util/cargo-c" @@ -67,10 +67,6 @@ src_configure() { # bug #927231 filter-lto - # textrels in ring - # Hopefully fixed with https://github.com/rustls/rustls-ffi/pull/389 - export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-Wl,-z,notext" - multilib-minimal_src_configure }
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: e1afd06d46817896096a5f41db8cff81580b21df Author: Sam James gentoo org> AuthorDate: Sat Apr 20 04:35:37 2024 + Commit: Sam James gentoo org> CommitDate: Sat Apr 20 04:40:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1afd06d net-libs/rustls-ffi: add 0.13.0 Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/Manifest | 4 + net-libs/rustls-ffi/rustls-ffi-0.13.0.ebuild | 111 +++ 2 files changed, 115 insertions(+) diff --git a/net-libs/rustls-ffi/Manifest b/net-libs/rustls-ffi/Manifest index db578c155c48..2ac72c76fb9d 100644 --- a/net-libs/rustls-ffi/Manifest +++ b/net-libs/rustls-ffi/Manifest @@ -37,6 +37,7 @@ DIST num_enum_derive-0.5.11.crate 15552 BLAKE2B 35ea9ca8b1a4e7b40b7c9193f57a466d DIST num_enum_derive-0.5.7.crate 12225 BLAKE2B 44ddaa0a4c3e9e49a4c476ee8b9db92a4ba6047628fce0758811aec2dc594a0902e4b168ff5c34aae48c3b1ef647bf1c3d84ce548d1826c7ea6877e6a4575159 SHA512 716d9b58d192230ec633207af741cd198772c6f0880a27255bf1b7d48e51f14ee987af14580982b0d22fe0e876167d9850b077f1b50557f47c6ff81b64542b15 DIST once_cell-1.16.0.crate 32120 BLAKE2B 59bfc8a44f1fec72442e3d34bf4be3a5af073f854f07b3618b2857c759dca4a0fa6ba358514ae28c25d745b01bb7b390ffe9ed6e296d163fd3dd67e49092b87a SHA512 bc199570ee43bde9245a2c4637ae738e370ce9988635c8342349ceb6fb158f376247b69f9ec4ea0e6d76b934decdc77a524299ebde96c0a2c2d29d9501b9a568 DIST once_cell-1.17.1.crate 32856 BLAKE2B 8bde2aaaf9ef45d1f6b8458686179f1fe9295ee8faea269e9b49779583ce26ab9dafe988c3584e841a9e5d05e28430ca967ef3b25e755f48f0120d9c99cdb7bc SHA512 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904 +DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST proc-macro-crate-1.2.1.crate 9161 BLAKE2B 4c498132d80ee3de239991e2c631ba219af093460b2e3f22ab364207336f575692ceecd92be9735713b0c999578f13e9a3a6bcdb26024914450f9bc3711c SHA512 94e39efafb9afd36996b4b03f23398c2b01e3da3f029d868e7cc9c114dee4263628460037f194b3e31580c931ee7842882633fec3f39d344c71f961e4deed0a7 DIST proc-macro-crate-1.3.1.crate 9678 BLAKE2B ed617a1930bf28a26e865f6477229566a0c4ade7f2c1e8f70d628c5536985f03c7533c561490415e207c0f58b4885367e7f54ddcf10b058711829f78a34d68a9 SHA512 5306f017933ffa89eb6111ee00b0536179c5cfab56529440630a0bec86b62194ff16f57ebb471b233e88cd886b7b9871de8402ed29073b23e5ca98193e513659 DIST proc-macro2-1.0.47.crate 41955 BLAKE2B dbfc20b61443225130d08b05deeba56e63e76921e56359c9b0531798b18778d6ddcb56c3372fb6ccc68586a6c1dc725054f0e83f93e8623cb5ff6a7a2ed3dc83 SHA512 60c5d0dcbdee7ddab40664882d3cf5a868f7ea5b49ebab3b4419c3f325582b816625e73e0d1737bbd46bd7d765ece6c81c2ff4be894555d4b255f5cb9255e931 @@ -53,15 +54,18 @@ DIST ring-0.17.5.crate 4147790 BLAKE2B 452973d50f89d676afb71057bb3b9ee3c9ae6 DIST rustls-0.20.4.crate 256347 BLAKE2B 96989d813691a70066958b5c30554237cf86f25bf06e0ccd098044b4329d26fff19bc5863f8c2390c03813aedc67be5f4da433d82b5a9c6b120efaaedf51dc2c SHA512 897e93f7fd06be64773db0630a06dc440c0f5b43f12d5780523b2419d11bdec62ece3ce12a317badc2ec8cb1536d8bfd82d7c69105196929e7fa5471b29d0462 DIST rustls-0.21.0.crate 275213 BLAKE2B 171a60d69ac0d56ed269fdf588a42dfb64f0b8acd752ce3c721ccca0972d5f252e5b6c957b5280820dbc66922260d858da16565c827ef664bff378f52e94d8d8 SHA512 b4eafdc78171ab79b569cd34c0a7dfbf91d3cd3a1993de0bb0264345312940c2e569a1f000114ab5f94e508bf8315e2cf05eaa547d4d0f0fee5f05ccf9f6c28e DIST rustls-0.22.0.crate 324340 BLAKE2B 5271032969b2b57fd180bacf01a4366d8634fcf1026c569fdda88b5123414ede32abca2f1510ca32ffa28f7bc013c9c1c2487d1889de8252e1b55ee8298a SHA512 224c5ab84f647fa5416507c790bfa1c33f80219f28ba114816c3674885268f4c412fdcb00063e4253bf552c38f1e9156ea98f2f1234e0dcc16600f6dba4411a0 +DIST rustls-0.23.4.crate 371883 BLAKE2B e9b77701b1e6bc15a71fbe060de7cecf50d7c7d07bbf2bb99a1490971ac263f45a7d1ad025f3056cbc141a467dac2a2a516db42ac93207ec77aeaf0a41564012 SHA512 80f96d023fdbeb6f3f30d97a3f4cdfd28ce3c4355d415575c947b71f7330a69a8eba225f185dab61ba280dde2ba2cbf30b4f51d1fcce193c68c9c27b19ec3102 DIST rustls-ffi-0.10.0.tar.gz 95815 BLAKE2B ec776649b18a0cfae1249d5824a4b043d3a3b854ee4571a11ffb4828e107d1c5afb09cb84f0f9074c80d683b083b315301958fd806dc00b549a080707f84ad14 SHA512 f9208c830f1963484e8f12f81457c7beddd0ce8679988b7ff2356240cd753c8948b6566ba603fc6cf707c5eef26cc74316bdb3f71cfa060cf3228f5cd813eeb3 DIST rustls-ffi-0.12.1.tar.gz 107794 BLAKE2B 0fddfcb5980811a1b80db2bfb578132d627ad8b47f1abeeaf052a7135f43b2e29888aa6aaa89ccd315299b73b147126cd67be41b104b1911d06c8324dee0b0e9 SHA512 bf188492ad14e32b1c26873fe5c078a5b24067a0e00e675b7b107f616ab8e3316b7b0e4d0c5646b9407bd171c2e16e97a9bb2fb1a335212aa72fe07045da6aab DIST
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: acea0db754634934fdd2632b6b47fbcddd617d1d Author: Sam James gentoo org> AuthorDate: Sun Mar 31 23:48:31 2024 + Commit: Sam James gentoo org> CommitDate: Mon Apr 1 03:46:12 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acea0db7 net-libs/rustls-ffi: add 0.12.2 Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/Manifest | 1 + net-libs/rustls-ffi/rustls-ffi-0.12.2.ebuild | 110 +++ 2 files changed, 111 insertions(+) diff --git a/net-libs/rustls-ffi/Manifest b/net-libs/rustls-ffi/Manifest index c5bc2e5a2a12..db578c155c48 100644 --- a/net-libs/rustls-ffi/Manifest +++ b/net-libs/rustls-ffi/Manifest @@ -55,6 +55,7 @@ DIST rustls-0.21.0.crate 275213 BLAKE2B 171a60d69ac0d56ed269fdf588a42dfb64f0b8ac DIST rustls-0.22.0.crate 324340 BLAKE2B 5271032969b2b57fd180bacf01a4366d8634fcf1026c569fdda88b5123414ede32abca2f1510ca32ffa28f7bc013c9c1c2487d1889de8252e1b55ee8298a SHA512 224c5ab84f647fa5416507c790bfa1c33f80219f28ba114816c3674885268f4c412fdcb00063e4253bf552c38f1e9156ea98f2f1234e0dcc16600f6dba4411a0 DIST rustls-ffi-0.10.0.tar.gz 95815 BLAKE2B ec776649b18a0cfae1249d5824a4b043d3a3b854ee4571a11ffb4828e107d1c5afb09cb84f0f9074c80d683b083b315301958fd806dc00b549a080707f84ad14 SHA512 f9208c830f1963484e8f12f81457c7beddd0ce8679988b7ff2356240cd753c8948b6566ba603fc6cf707c5eef26cc74316bdb3f71cfa060cf3228f5cd813eeb3 DIST rustls-ffi-0.12.1.tar.gz 107794 BLAKE2B 0fddfcb5980811a1b80db2bfb578132d627ad8b47f1abeeaf052a7135f43b2e29888aa6aaa89ccd315299b73b147126cd67be41b104b1911d06c8324dee0b0e9 SHA512 bf188492ad14e32b1c26873fe5c078a5b24067a0e00e675b7b107f616ab8e3316b7b0e4d0c5646b9407bd171c2e16e97a9bb2fb1a335212aa72fe07045da6aab +DIST rustls-ffi-0.12.2.tar.gz 107905 BLAKE2B 8aadfd5d0e0a6372aef7646d52ab4b1690e2128ce2e7927657a631b32c5e291bcfe4fc6dba51b7ae17d700a78d1b447b50576aa09aca2e03020622f8ba72fc3e SHA512 30ff92a9faa1c7e683258c5910e726bb793d77dc1dcc14546780c36762fa6d3fbb49cb39f75258221fa01316cf6705de982edfc77c40ca8b37affd7cc64f7019 DIST rustls-ffi-0.9.1.tar.gz 80976 BLAKE2B cf9ad6a5666be19d882e0bd3575b2f7bc1e8dec891a7c192c0fc7bcff48801cc7af1c73d005d32c5801514ce852dbee54f74ea0a16110638184bed9fd483740c SHA512 cbced119a486a28aa437da09eda841b00a8bee47d2aadf4cf39601baaa8481b2600dd554d5a6e219374690c2c9d25f0d4ed253b9401ba5ac9ecfb6947625a38d DIST rustls-pemfile-0.2.1.crate 14278 BLAKE2B 2cd27153a5db80581e43009c0ac21209f57341e584c8f11789bc9e9ac71d6cc456c60554bd97176c7567ad67896b74acc6372c62973a3ff1e965bd1d0dd52bfa SHA512 1c03cd74314bc0bffda4803f6e7692e53e3cf67a6bd30e6c96a861d8c118363b0e871a9e28c4e1a4d4f1fcdf98f3a5af3be5f0250f3653836429a27645a10c80 DIST rustls-pemfile-2.1.1.crate 26161 BLAKE2B d761c8c0944b4697336ba389e379e9224471d64e61ec3499427615ba99f9eeb38a47b2bf23579bd9445c28b14811028a81fde89308d1552d805f49bda18833a0 SHA512 5acffbcfa1dc50c20f290f2546caf669334de0ade8153cdfc7f8259ec9076808d2d47ce602829ad1369d546d21347965250cd2c4e46e835f29111d11f38aafde diff --git a/net-libs/rustls-ffi/rustls-ffi-0.12.2.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.12.2.ebuild new file mode 100644 index ..a09c7412e487 --- /dev/null +++ b/net-libs/rustls-ffi/rustls-ffi-0.12.2.ebuild @@ -0,0 +1,110 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + regex-automata@0.3.9 + regex-syntax@0.7.5 + regex@1.9.6 + ring@0.17.5 + rustls-pemfile@2.1.1 + rustls-pki-types@1.3.1 + rustls-webpki@0.102.0 + rustls@0.22.0 + 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 +" + +inherit cargo flag-o-matic multilib-minimal rust-toolchain + +DESCRIPTION="C-to-rustls bindings" +HOMEPAGE="https://github.com/rustls/rustls-ffi; +SRC_URI="https://github.com/rustls/rustls-ffi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" ${CARGO_CRATE_URIS}" + +LICENSE="|| ( Apache-2.0 MIT ISC )" +# Dependent crate licenses +LICENSE+=" BSD ISC MIT" +# For Ring (see its LICENSE) +LICENSE+=" ISC openssl SSLeay MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +BDEPEND="dev-util/cargo-c" + +QA_FLAGS_IGNORED="usr/lib.*/librustls.*" + +src_prepare() { + default + + multilib_copy_sources +} + +src_configure() { + # bug #927231 + filter-lto + + # textrels in ring + # Hopefully fixed with
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/, net-libs/rustls-ffi/files/
commit: 37f3e05310f4c0cb460f7b691c19c59939aecab5 Author: Sam James gentoo org> AuthorDate: Fri Mar 29 04:05:39 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 29 04:05:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f3e053 net-libs/rustls-ffi: drop nightly use (again) Signed-off-by: Sam James gentoo.org> .../files/rustls-ffi-0.12.1-no-rust-nightly.patch | 48 ++ 12.1-r1.ebuild => rustls-ffi-0.12.1-r2.ebuild} | 7 ++-- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch b/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch new file mode 100644 index ..c6349e37ddba --- /dev/null +++ b/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch @@ -0,0 +1,48 @@ +https://github.com/rustls/rustls-ffi/issues/397 +https://github.com/rustls/rustls-ffi/pull/398 + +From 9890aff0f0b1cc69f86c24b217a2515525e57056 Mon Sep 17 00:00:00 2001 +From: Daniel McCarney +Date: Wed, 27 Mar 2024 21:08:16 -0400 +Subject: [PATCH] Cargo: configure cargo-c to use vendored .h + +Presently we pre-generate the rustls.h header file using `cbindgen`, +commit the result to `src/rustls.h`, and check that the generated result +matches the checked-in result in CI. + +The new experimental cargo-c build regenerates its own header file using +`cbindgen` by default unless told to do otherwise. We'd prefer it didn't +do this because we're using a `cbindgen` feature that requires nightly +rust. + +This commit updates the `Cargo.toml` capi metadata to tell cargo-c to +skip generation of its own header file. We then configure the +pre-generated checked-in header file as an asset to be copied into the +install include directory. + +This better matches how the `Makefile` build allowed building the static +lib without needing nightly rust or `cbindgen`. +--- + Cargo.toml | 4 + 1 file changed, 4 insertions(+) + +diff --git a/Cargo.toml b/Cargo.toml +index 7a910a9d..d601c7f8 100644 +--- a/Cargo.toml b/Cargo.toml +@@ -41,6 +41,7 @@ regex = "1.9.6" + [package.metadata.capi.header] + name = "rustls" + subdirectory = false ++generation = false # Prefer a vendored .h + + [package.metadata.capi.library] + name = "rustls" +@@ -50,3 +51,6 @@ rustflags = "-Cmetadata=rustls-ffi" + [package.metadata.capi.pkg_config] + name = "rustls" + filename = "rustls" ++ ++[package.metadata.capi.install.include] ++asset = [{from = "src/rustls.h", to = "" }] + diff --git a/net-libs/rustls-ffi/rustls-ffi-0.12.1-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.12.1-r2.ebuild similarity index 96% rename from net-libs/rustls-ffi/rustls-ffi-0.12.1-r1.ebuild rename to net-libs/rustls-ffi/rustls-ffi-0.12.1-r2.ebuild index 999355fd18f4..962808494628 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.12.1-r1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.12.1-r2.ebuild @@ -56,6 +56,10 @@ BDEPEND="dev-util/cargo-c" QA_FLAGS_IGNORED="usr/lib.*/librustls.*" +PATCHES=( + "${FILESDIR}"/${PN}-0.12.1-no-rust-nightly.patch +) + src_prepare() { default @@ -70,9 +74,6 @@ src_configure() { # Hopefully fixed with https://github.com/rustls/rustls-ffi/pull/389 export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-Wl,-z,notext" - # https://github.com/rustls/rustls-ffi/issues/397 - export RUSTC_BOOTSTRAP=1 - multilib-minimal_src_configure }
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/files/, net-libs/rustls-ffi/
commit: bbd22fe32571d5c4c1d97256917a0bf322518b9f Author: Sam James gentoo org> AuthorDate: Thu Mar 28 05:16:44 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 28 05:18:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd22fe3 Revert "net-libs/rustls-ffi: drop nightly Rust flag" This reverts commit 5f34085acefc46c97581d47817157fc8ce3762af. Closes: https://bugs.gentoo.org/928002 Signed-off-by: Sam James gentoo.org> .../files/rustls-ffi-0.12.1-no-rust-nightly.patch | 48 -- ...i-0.12.1.ebuild => rustls-ffi-0.12.1-r1.ebuild} | 7 ++-- 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch b/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch deleted file mode 100644 index dd8d582d4a84.. --- a/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://github.com/rustls/rustls-ffi/issues/397 -https://github.com/rustls/rustls-ffi/pull/398 - -From 68b7153018647baec43ea950f28b2f84e87f5296 Mon Sep 17 00:00:00 2001 -From: Daniel McCarney -Date: Wed, 27 Mar 2024 21:08:16 -0400 -Subject: [PATCH] Cargo: configure cargo-c to use vendored .h - -Presently we pre-generate the rustls.h header file using `cbindgen`, -commit the result to `src/rustls.h`, and check that the generated result -matches the checked-in result in CI. - -The new experimental cargo-c build regenerates its own header file using -`cbindgen` by default unless told to do otherwise. We'd prefer it didn't -do this because we're using a `cbindgen` feature that requires nightly -rust. - -This commit updates the `Cargo.toml` capi metadata to tell cargo-c to -skip generation of its own header file. We then configure the -pre-generated checked-in header file as an asset to be copied into the -install include directory. - -This better matches how the `Makefile` build allowed building the static -lib without needing nightly rust or `cbindgen`. - Cargo.toml | 4 - 1 file changed, 4 insertions(+) - -diff --git a/Cargo.toml b/Cargo.toml -index 7a910a9d..4c2b2e94 100644 a/Cargo.toml -+++ b/Cargo.toml -@@ -41,6 +41,7 @@ regex = "1.9.6" - [package.metadata.capi.header] - name = "rustls" - subdirectory = false -+generation = false # Prefer a vendored .h - - [package.metadata.capi.library] - name = "rustls" -@@ -50,3 +51,6 @@ rustflags = "-Cmetadata=rustls-ffi" - [package.metadata.capi.pkg_config] - name = "rustls" - filename = "rustls" -+ -+[package.metadata.capi.install] -+asset = [{ from = "src/rustls.h", to = "include" }] - diff --git a/net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.12.1-r1.ebuild similarity index 96% rename from net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild rename to net-libs/rustls-ffi/rustls-ffi-0.12.1-r1.ebuild index b9e9e999f6a9..999355fd18f4 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.12.1-r1.ebuild @@ -56,10 +56,6 @@ BDEPEND="dev-util/cargo-c" QA_FLAGS_IGNORED="usr/lib.*/librustls.*" -PATCHES=( - "${FILESDIR}"/rustls-ffi-0.12.1-no-rust-nightly.patch -) - src_prepare() { default @@ -74,6 +70,9 @@ src_configure() { # Hopefully fixed with https://github.com/rustls/rustls-ffi/pull/389 export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-Wl,-z,notext" + # https://github.com/rustls/rustls-ffi/issues/397 + export RUSTC_BOOTSTRAP=1 + multilib-minimal_src_configure }
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/, net-libs/rustls-ffi/files/
commit: 5f34085acefc46c97581d47817157fc8ce3762af Author: Sam James gentoo org> AuthorDate: Thu Mar 28 01:47:07 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 28 01:47:07 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f34085a net-libs/rustls-ffi: drop nightly Rust flag Backport an upstream PR to allow us to drop RUSTC_BOOTSTRAP. Signed-off-by: Sam James gentoo.org> .../files/rustls-ffi-0.12.1-no-rust-nightly.patch | 48 ++ net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild | 7 ++-- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch b/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch new file mode 100644 index ..dd8d582d4a84 --- /dev/null +++ b/net-libs/rustls-ffi/files/rustls-ffi-0.12.1-no-rust-nightly.patch @@ -0,0 +1,48 @@ +https://github.com/rustls/rustls-ffi/issues/397 +https://github.com/rustls/rustls-ffi/pull/398 + +From 68b7153018647baec43ea950f28b2f84e87f5296 Mon Sep 17 00:00:00 2001 +From: Daniel McCarney +Date: Wed, 27 Mar 2024 21:08:16 -0400 +Subject: [PATCH] Cargo: configure cargo-c to use vendored .h + +Presently we pre-generate the rustls.h header file using `cbindgen`, +commit the result to `src/rustls.h`, and check that the generated result +matches the checked-in result in CI. + +The new experimental cargo-c build regenerates its own header file using +`cbindgen` by default unless told to do otherwise. We'd prefer it didn't +do this because we're using a `cbindgen` feature that requires nightly +rust. + +This commit updates the `Cargo.toml` capi metadata to tell cargo-c to +skip generation of its own header file. We then configure the +pre-generated checked-in header file as an asset to be copied into the +install include directory. + +This better matches how the `Makefile` build allowed building the static +lib without needing nightly rust or `cbindgen`. +--- + Cargo.toml | 4 + 1 file changed, 4 insertions(+) + +diff --git a/Cargo.toml b/Cargo.toml +index 7a910a9d..4c2b2e94 100644 +--- a/Cargo.toml b/Cargo.toml +@@ -41,6 +41,7 @@ regex = "1.9.6" + [package.metadata.capi.header] + name = "rustls" + subdirectory = false ++generation = false # Prefer a vendored .h + + [package.metadata.capi.library] + name = "rustls" +@@ -50,3 +51,6 @@ rustflags = "-Cmetadata=rustls-ffi" + [package.metadata.capi.pkg_config] + name = "rustls" + filename = "rustls" ++ ++[package.metadata.capi.install] ++asset = [{ from = "src/rustls.h", to = "include" }] + diff --git a/net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild index 999355fd18f4..b9e9e999f6a9 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild @@ -56,6 +56,10 @@ BDEPEND="dev-util/cargo-c" QA_FLAGS_IGNORED="usr/lib.*/librustls.*" +PATCHES=( + "${FILESDIR}"/rustls-ffi-0.12.1-no-rust-nightly.patch +) + src_prepare() { default @@ -70,9 +74,6 @@ src_configure() { # Hopefully fixed with https://github.com/rustls/rustls-ffi/pull/389 export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-Wl,-z,notext" - # https://github.com/rustls/rustls-ffi/issues/397 - export RUSTC_BOOTSTRAP=1 - multilib-minimal_src_configure }
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: 0e255819bfb945dff4f65926e3f841e432f30c98 Author: Sam James gentoo org> AuthorDate: Thu Mar 28 00:42:29 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 28 00:44:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e255819 net-libs/rustls-ffi: add 0.12.1 Add filter-lto and fix .pc file for prefix hopefully per Ionen's suggestion on IRC. Bug: https://bugs.gentoo.org/924421 Bug: https://bugs.gentoo.org/927231 Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/Manifest | 31 net-libs/rustls-ffi/rustls-ffi-0.12.1.ebuild | 113 +++ 2 files changed, 144 insertions(+) diff --git a/net-libs/rustls-ffi/Manifest b/net-libs/rustls-ffi/Manifest index 65e689ca8593..c5bc2e5a2a12 100644 --- a/net-libs/rustls-ffi/Manifest +++ b/net-libs/rustls-ffi/Manifest @@ -1,16 +1,20 @@ +DIST aho-corasick-1.1.1.crate 182812 BLAKE2B df74c2cfa0ae392a8d466e370ba761c4cd37c65773affba9a3cdcf7f5797b34b4a25e1646be3de5081644b34db2dce273609edb4f18a1ce7fdbf31ac28a10b88 SHA512 a894e1cefbb63a3b7b78a3676874d0b7a507c27970f48cdfbda1e5deefbf6b20ed4271b660a12eea77b318cd2fa0f80850a0b1ddfe0d0731ffa326c0fc295692 DIST ansi_term-0.12.1.crate 24838 BLAKE2B f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791 SHA512 b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671 DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a1494751878e8441d463f8a514e6cb9ac859231536989e19fb1261fd864617fe31440df1b5855a0ec625521fc6fcef91 SHA512 1eb76aff9a84057f2ccb7082e9c57b015c2d71a28173089b02e7aacd09a7d311bedf0a943529611ada29f8d7b536d7ae4de256d98eee8450003a3a9a652bda4b +DIST base64-0.21.5.crate 77134 BLAKE2B 901cf92d7dd8af2bbb789ffbe60972c1fd295b16690ecebbcb500e4613afa057ab2b294bbafdcaa4007f46412825260a0711d89e55664418a503dde02c8afd1a SHA512 40b1d8470a932c8b7f31717e33bf26742c1bf920caae639b8a992f77e64d5e6d287569742c1348daa25b7325f8ca8d8a312754a743dab3932181f37149d91b16 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST bumpalo-3.11.1.crate 81207 BLAKE2B ba76008fb5a975aca12b6f893779e18dd353a22a42cbbeecd5870622a7cbc0cd7e37036af600c570b8a55f26ea8d07f44a9aa1a8373d977b6f75bd4276730292 SHA512 70e90bee1fa4e783ff5a3b18f192b9347bafab7daaa907e74913a415a66c29acfb073fcfb46150801aa7649ab0d2ec8a610de239551565dd167bac72ab13a9bc DIST bumpalo-3.12.0.crate 81604 BLAKE2B 2370094f0c23a3e9b75c8e523e54637189543d9df90ae7ddc349d316054d3d1abd1319e51cf1578f1630be0673fd7f65d130469b2729aa32617372e8bc5dd5f7 SHA512 37f2228f251340e82c27f2b34da2af6eb520077b3809331547cbe4887c0b4791b1a7d75a017decccef162cd02a088d504214b7a44b484a7d93eb6a278b329ee4 DIST cbindgen-0.19.0.crate 181286 BLAKE2B e09931704cfe0f0f777e67c66fdfd08820e8185a7ad475521eca2d6819d1d0a92791d5cd5dfb2b2199e911da9e8a92dfa09ec20d2912f1073d456f7932944438 SHA512 dc31896c75d43fa7efb6256b861b7d4a51b9b0e4dc605bcaf769b32cba2dc0b7a5c49b01f0ff48ada08488ad8c020c3bbb645d6796046caf0bd7d9eaae25a962 DIST cc-1.0.77.crate 60723 BLAKE2B 93720cee6c5721ec43b3f502b0879043afc44049e2ce528addebd8b6cf182a8e370143d67e32a965f1ef4fc07e55c87aaf95c0b1b5f9b85eb4e743a95b17bdf5 SHA512 38a421818bbb22fa6a6bd871a7d69add88932db68683ec91d1b4ce1ba68ea2b9272c42c35f437030614cb522f43db964e3a8f1223dcdef9158090b00d17afe2b DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5 +DIST cc-1.0.83.crate 68343 BLAKE2B 33245b33fa845ea2f36da36e3830ec835f937e4319865b357ee9d5ea29a0f9f8392eadb38bf1d95e3c15ed201e561acaa87aedcef744f8db3dabff87a96c7f02 SHA512 742a248c3a7547bb220a0b9c97b67a831fab9b4ac21daa08c85a3966b9fe576088def33e16132fcabec9a2828a6fc437088bb045bfc98b2cea829df6742565a7 DIST cfg-if-1.0.0.crate 7934 BLAKE2B
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: a52ffb23da7bad04e820362f34e61874f723f656 Author: Sam James gentoo org> AuthorDate: Thu Mar 28 00:44:15 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 28 00:44:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52ffb23 net-libs/rustls-ffi: backport filter-lto Closes: https://bugs.gentoo.org/927231 Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild | 11 +-- net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild | 11 +-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild index 40dad3cb1c45..db915dbc209b 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -46,7 +46,7 @@ CRATES=" winnow-0.4.1 " -inherit cargo multilib-minimal rust-toolchain +inherit cargo flag-o-matic multilib-minimal rust-toolchain DESCRIPTION="C-to-rustls bindings" HOMEPAGE="https://github.com/rustls/rustls-ffi; @@ -76,6 +76,13 @@ src_prepare() { multilib_copy_sources } +src_configure() { + # bug #927231 + filter-lto + + multilib-minimal_src_configure +} + multilib_src_compile() { local cargoargs=( --library-type=cdylib diff --git a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild index aef6d683129a..bf9f34bba51c 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -66,7 +66,7 @@ CRATES=" winapi-x86_64-pc-windows-gnu-0.4.0 " -inherit cargo multilib-minimal rust-toolchain +inherit cargo flag-o-matic multilib-minimal rust-toolchain DESCRIPTION="C-to-rustls bindings" HOMEPAGE="https://github.com/rustls/rustls-ffi; @@ -95,6 +95,13 @@ src_prepare() { multilib_copy_sources } +src_configure() { + # bug #927231 + filter-lto + + multilib-minimal_src_configure +} + multilib_src_compile() { local cargoargs=( --library-type=cdylib
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: 77f230894ecd7c4dd57e330d535d3e287b3a3513 Author: Sam James gentoo org> AuthorDate: Mon Sep 25 04:22:47 2023 + Commit: Sam James gentoo org> CommitDate: Mon Sep 25 04:22:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f23089 net-libs/rustls-ffi: consistently use 'cargo ctest' Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild | 9 - net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild | 9 - 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild index 283533602bf0..40dad3cb1c45 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild @@ -89,7 +89,14 @@ multilib_src_compile() { } multilib_src_test() { - cargo_src_test --target="$(rust_abi)" + local cargoargs=( + --prefix=/usr + --libdir="/usr/$(get_libdir)" + --target="$(rust_abi)" + $(usex debug '--debug' '--release') + ) + + cargo ctest "${cargoargs[@]}" || die "cargo ctest failed" } multilib_src_install() { diff --git a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild index 729600d9b131..aef6d683129a 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild @@ -108,7 +108,14 @@ multilib_src_compile() { } multilib_src_test() { - cargo_src_test --target="$(rust_abi)" + local cargoargs=( + --prefix=/usr + --libdir="/usr/$(get_libdir)" + --target="$(rust_abi)" + $(usex debug '--debug' '--release') + ) + + cargo ctest "${cargoargs[@]}" || die "cargo ctest failed" } multilib_src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
commit: ca1c9ec70985a41495309ddd9f7611b4ce09d6d2 Author: Sam James gentoo org> AuthorDate: Mon Sep 25 03:58:18 2023 + Commit: Sam James gentoo org> CommitDate: Mon Sep 25 04:03:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1c9ec7 net-libs/rustls-ffi: respect USE=debug properly ... or try to, at least. I still feel like this is so easy to get wrong (and I keeo doing it). Signed-off-by: Sam James gentoo.org> .../{rustls-ffi-0.10.0.ebuild => rustls-ffi-0.10.0-r1.ebuild} | 2 ++ .../{rustls-ffi-0.9.1.ebuild => rustls-ffi-0.9.1-r1.ebuild} | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild similarity index 96% rename from net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild rename to net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild index 00ea26b0a7a2..283533602bf0 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild @@ -82,6 +82,7 @@ multilib_src_compile() { --prefix=/usr --libdir="/usr/$(get_libdir)" --target="$(rust_abi)" + $(usev !debug '--release') ) cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" @@ -98,6 +99,7 @@ multilib_src_install() { --libdir="/usr/$(get_libdir)" --target="$(rust_abi)" --destdir="${ED}" + $(usex debug '--debug' '--release') ) cargo cinstall "${cargoargs[@]}" || die "cargo cinstall failed" diff --git a/net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild similarity index 95% rename from net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild rename to net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild index 04494aab9d3a..729600d9b131 100644 --- a/net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild +++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -101,6 +101,7 @@ multilib_src_compile() { --prefix=/usr --libdir="/usr/$(get_libdir)" --target="$(rust_abi)" + $(usev !debug '--release') ) cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" @@ -117,6 +118,7 @@ multilib_src_install() { --libdir="/usr/$(get_libdir)" --target="$(rust_abi)" --destdir="${ED}" + $(usex debug '--debug' '--release') ) cargo cinstall "${cargoargs[@]}" || die "cargo cinstall failed"
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/, net-libs/rustls-ffi/files/
commit: cc489ad0cbcf7a3ca56aa0664deda5d50c0b9133 Author: Sam James gentoo org> AuthorDate: Sun Apr 2 20:31:20 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 2 20:43:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc489ad0 net-libs/rustls-ffi: add 0.10.0 Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/Manifest | 27 ++ .../files/rustls-ffi-0.10.0-cargo-c.patch | 75 +++ net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild | 104 + 3 files changed, 206 insertions(+) diff --git a/net-libs/rustls-ffi/Manifest b/net-libs/rustls-ffi/Manifest index 1607e04746ec..65e689ca8593 100644 --- a/net-libs/rustls-ffi/Manifest +++ b/net-libs/rustls-ffi/Manifest @@ -4,8 +4,10 @@ DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c5 DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a1494751878e8441d463f8a514e6cb9ac859231536989e19fb1261fd864617fe31440df1b5855a0ec625521fc6fcef91 SHA512 1eb76aff9a84057f2ccb7082e9c57b015c2d71a28173089b02e7aacd09a7d311bedf0a943529611ada29f8d7b536d7ae4de256d98eee8450003a3a9a652bda4b DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST bumpalo-3.11.1.crate 81207 BLAKE2B ba76008fb5a975aca12b6f893779e18dd353a22a42cbbeecd5870622a7cbc0cd7e37036af600c570b8a55f26ea8d07f44a9aa1a8373d977b6f75bd4276730292 SHA512 70e90bee1fa4e783ff5a3b18f192b9347bafab7daaa907e74913a415a66c29acfb073fcfb46150801aa7649ab0d2ec8a610de239551565dd167bac72ab13a9bc +DIST bumpalo-3.12.0.crate 81604 BLAKE2B 2370094f0c23a3e9b75c8e523e54637189543d9df90ae7ddc349d316054d3d1abd1319e51cf1578f1630be0673fd7f65d130469b2729aa32617372e8bc5dd5f7 SHA512 37f2228f251340e82c27f2b34da2af6eb520077b3809331547cbe4887c0b4791b1a7d75a017decccef162cd02a088d504214b7a44b484a7d93eb6a278b329ee4 DIST cbindgen-0.19.0.crate 181286 BLAKE2B e09931704cfe0f0f777e67c66fdfd08820e8185a7ad475521eca2d6819d1d0a92791d5cd5dfb2b2199e911da9e8a92dfa09ec20d2912f1073d456f7932944438 SHA512 dc31896c75d43fa7efb6256b861b7d4a51b9b0e4dc605bcaf769b32cba2dc0b7a5c49b01f0ff48ada08488ad8c020c3bbb645d6796046caf0bd7d9eaae25a962 DIST cc-1.0.77.crate 60723 BLAKE2B 93720cee6c5721ec43b3f502b0879043afc44049e2ce528addebd8b6cf182a8e370143d67e32a965f1ef4fc07e55c87aaf95c0b1b5f9b85eb4e743a95b17bdf5 SHA512 38a421818bbb22fa6a6bd871a7d69add88932db68683ec91d1b4ce1ba68ea2b9272c42c35f437030614cb522f43db964e3a8f1223dcdef9158090b00d17afe2b +DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST clap-2.34.0.crate 202210 BLAKE2B f383adf1d757ac4b68995132b33837686ce451f85a02a8d05d2c746da398510d05d46330f3efade063c3952aacb1754cdac73dd0afcae0df5340a89f9353aa1c SHA512 c648a761b9996a7e7464a538bb53621bae22090b846a42c3b729beca3363958ae67e3da9f93f58b10a10e043cadf7ff930388680d168646178c2824177832db8 DIST fastrand-1.8.0.crate 11369 BLAKE2B 93e911ffcec559e30b2fefa44c4d74d1ffa9b8ef1904ace608b8576210bcd41a2b4c7adffc00cd3bb40996110d07316cf8068f4754a879c6cb47e3d41304d406 SHA512 82cbc2b29b97fa3fa2c9372d3e8c390586a7b39f6c7d8c45f9b779bdfdaa2e8a3b44bc7bfcb3367c18120726facc753c9827cf63a8fb4ddc2667509b16333cb1 @@ -13,23 +15,37 @@ DIST hashbrown-0.12.3.crate 102968 BLAKE2B 492072f27eaec45abd2c5d7405c614c0c6a82 DIST heck-0.3.3.crate 10260 BLAKE2B dc756738081d855583f239908f671e9b5dde72ebfb577f6387b1a169817a03332464cf67071708a4c4f06b1ecb222118e8c719073ccdec1c0f938e5ef378b13f SHA512 b3498e033f44e03206421e565efec5b21d13107b60d35e4476331c44e6effd75c81f7678f2452c822eefd581209a2ffefd2034779cca2d8b4fac4583bbbf777f DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632fd5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a DIST indexmap-1.9.2.crate 54627 BLAKE2B dbfa551d33305db06b59d07c1b4bf8d4596a67ff1caa03062d07f6d78b4604ac0533d1c1fe3c371702dd7e65a012bfb960d79c76db37e264d0b44be576969285 SHA512 946c54881a347892dfcb55648a2b881d3a4d113424b8c76d8957980a834895318d11336dc438a04601916cca787420708ad7e271f965c38bfeae511ec1dedf85
[gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/files/, net-libs/rustls-ffi/
commit: bc63dc594a7c8c8f9c9ffaeff8f7bcc6c3c826a8 Author: Sam James gentoo org> AuthorDate: Sun Dec 11 00:25:26 2022 + Commit: Sam James gentoo org> CommitDate: Sun Dec 11 22:50:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc63dc59 net-libs/rustls-ffi: new package, add 0.9.1 Bug: https://bugs.gentoo.org/885099 Signed-off-by: Sam James gentoo.org> net-libs/rustls-ffi/Manifest | 61 ++ .../files/rustls-ffi-0.9.1-cargo-c.patch | 61 ++ .../files/rustls-ffi-0.9.1-tests-32-bit.patch | 106 ++ net-libs/rustls-ffi/metadata.xml | 11 ++ net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild| 123 + 5 files changed, 362 insertions(+) diff --git a/net-libs/rustls-ffi/Manifest b/net-libs/rustls-ffi/Manifest new file mode 100644 index ..1607e04746ec --- /dev/null +++ b/net-libs/rustls-ffi/Manifest @@ -0,0 +1,61 @@ +DIST ansi_term-0.12.1.crate 24838 BLAKE2B f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791 SHA512 b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671 +DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a1494751878e8441d463f8a514e6cb9ac859231536989e19fb1261fd864617fe31440df1b5855a0ec625521fc6fcef91 SHA512 1eb76aff9a84057f2ccb7082e9c57b015c2d71a28173089b02e7aacd09a7d311bedf0a943529611ada29f8d7b536d7ae4de256d98eee8450003a3a9a652bda4b +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST bumpalo-3.11.1.crate 81207 BLAKE2B ba76008fb5a975aca12b6f893779e18dd353a22a42cbbeecd5870622a7cbc0cd7e37036af600c570b8a55f26ea8d07f44a9aa1a8373d977b6f75bd4276730292 SHA512 70e90bee1fa4e783ff5a3b18f192b9347bafab7daaa907e74913a415a66c29acfb073fcfb46150801aa7649ab0d2ec8a610de239551565dd167bac72ab13a9bc +DIST cbindgen-0.19.0.crate 181286 BLAKE2B e09931704cfe0f0f777e67c66fdfd08820e8185a7ad475521eca2d6819d1d0a92791d5cd5dfb2b2199e911da9e8a92dfa09ec20d2912f1073d456f7932944438 SHA512 dc31896c75d43fa7efb6256b861b7d4a51b9b0e4dc605bcaf769b32cba2dc0b7a5c49b01f0ff48ada08488ad8c020c3bbb645d6796046caf0bd7d9eaae25a962 +DIST cc-1.0.77.crate 60723 BLAKE2B 93720cee6c5721ec43b3f502b0879043afc44049e2ce528addebd8b6cf182a8e370143d67e32a965f1ef4fc07e55c87aaf95c0b1b5f9b85eb4e743a95b17bdf5 SHA512 38a421818bbb22fa6a6bd871a7d69add88932db68683ec91d1b4ce1ba68ea2b9272c42c35f437030614cb522f43db964e3a8f1223dcdef9158090b00d17afe2b +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST clap-2.34.0.crate 202210 BLAKE2B f383adf1d757ac4b68995132b33837686ce451f85a02a8d05d2c746da398510d05d46330f3efade063c3952aacb1754cdac73dd0afcae0df5340a89f9353aa1c SHA512 c648a761b9996a7e7464a538bb53621bae22090b846a42c3b729beca3363958ae67e3da9f93f58b10a10e043cadf7ff930388680d168646178c2824177832db8 +DIST fastrand-1.8.0.crate 11369 BLAKE2B 93e911ffcec559e30b2fefa44c4d74d1ffa9b8ef1904ace608b8576210bcd41a2b4c7adffc00cd3bb40996110d07316cf8068f4754a879c6cb47e3d41304d406 SHA512 82cbc2b29b97fa3fa2c9372d3e8c390586a7b39f6c7d8c45f9b779bdfdaa2e8a3b44bc7bfcb3367c18120726facc753c9827cf63a8fb4ddc2667509b16333cb1 +DIST hashbrown-0.12.3.crate 102968 BLAKE2B 492072f27eaec45abd2c5d7405c614c0c6a8221425e901bb6174bfa1688ee524408a618650126d6c683b7285b9bf0a21dcdbff7347e4d8f97bf7111defa1b7e5 SHA512 b3700fcd659a21a6b9b3777c18b37a83bf25542b4e8f2b963779a122f5d22e1742c064cfc03e649583e7dd5c6e90ca8407f8c51a0e8755f6a108682853022f76 +DIST heck-0.3.3.crate 10260 BLAKE2B dc756738081d855583f239908f671e9b5dde72ebfb577f6387b1a169817a03332464cf67071708a4c4f06b1ecb222118e8c719073ccdec1c0f938e5ef378b13f SHA512 b3498e033f44e03206421e565efec5b21d13107b60d35e4476331c44e6effd75c81f7678f2452c822eefd581209a2ffefd2034779cca2d8b4fac4583bbbf777f