From 70a8e0f526762c28622fae5f944f8f59f9abf728 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 25 Sep 2023 11:25:16 +0100 Subject: gentoo auto-resync : 25:09:2023 - 11:25:16 --- net-libs/rustls-ffi/Manifest | 4 +- net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild | 113 ++++++++++++++++++++ net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild | 104 ------------------- net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild | 132 ++++++++++++++++++++++++ net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild | 123 ---------------------- 5 files changed, 247 insertions(+), 229 deletions(-) create mode 100644 net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild delete mode 100644 net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild create mode 100644 net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild delete mode 100644 net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild (limited to 'net-libs/rustls-ffi') diff --git a/net-libs/rustls-ffi/Manifest b/net-libs/rustls-ffi/Manifest index f6012935cb27..844e265d28b8 100644 --- a/net-libs/rustls-ffi/Manifest +++ b/net-libs/rustls-ffi/Manifest @@ -89,6 +89,6 @@ DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9d DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 DIST winnow-0.4.1.crate 138177 BLAKE2B 9fb55dc5dbca2250c5921aebc42fd8dff7da6fc70656d5690475cf9d81d569b01e68c5134401f70759a9edbe1704cf76727efe5442961b1d220827130497b735 SHA512 390b3da6688d61d90d9bb221d95c7243968209b692737999b13326204954d1e916b390ac8a3a0e0864695ad9a073ed8a79e592ca565be374cc6e909b4166d52a -EBUILD rustls-ffi-0.10.0.ebuild 2114 BLAKE2B 2fbcc461af99cf6d67b7287418d2c6a788cf9a342975cbdf274b7dfa20dab499438437a4f6cc233fbd547e1ca95ccd0d794746fd1455c5eb24317fb45a634a05 SHA512 47d377f53442d8e7cc9173d63f23f397eefec9ae3a2fe703a150a66a29703c0efe775a6d062417ec26534cd041202835e4e83dd5d48a062a9920ff402bd43b5c -EBUILD rustls-ffi-0.9.1.ebuild 2427 BLAKE2B de42c8af365cf08af9d9abacd84c8cc99e3cb07777272f1625ab8a2fc184ba595b7e13b6699f107f31e553671667c5a2bfd6dade620bffebd0540e8b1378e9dc SHA512 c0d4e7f6bbcf36e000973f20347ab4f2ab6ee749312648cc9bb28e2c4fd26c44102742e8348a6d61c35ff6af43435a803ae4e5db7898977689c9fd703467d95c +EBUILD rustls-ffi-0.10.0-r1.ebuild 2335 BLAKE2B 1370e2d6bc6a8bb92803fd8cebb73379f950ab95497410c9e5d358880d85a8fe3a8685f303c00484d4ae195fc0c16229a2d64733198ac3cd89c0e3141eafab20 SHA512 1654ec7aece51081a056fc52cd305a9b326d28f8b76ff618a00526b8deffaa9135490ef893cb6374f8fc1166ffc3390f1f6f1350f374b615f9d06f5f78abbd7f +EBUILD rustls-ffi-0.9.1-r1.ebuild 2653 BLAKE2B 719dd2e563e2fa6d9b9713cc439d1f76e86556b0c85fceb64aae973fdafd5d10a419397a9911daf9291fefee6cbdb936847b9ca0a88fb21fc6de31c4fef4a5d4 SHA512 bc90294afedb378e6ad40daa2afa0461703750523e263079e69a4b09b5a8a76f3a09aae1c36e959d4889145067d26e2d0affbdd343a123cfdcf563248ff50caa MISC metadata.xml 322 BLAKE2B 8c95cd2d631dfe96e34412bbc1c12bce2f13f631840642f2bd52384b554b0c1eeb03e2b959921ff2cf0f15f9cdb2ba37acc016549f84c47ca6e7ad857cf3e7df SHA512 08c35857ba4e7e85d619e94b5e6f0a3203faced5f83fb7bdb63d8e25c793bfb8af1b5e1f252613fa8e60e45e3e1a5e092b64f96b8ac2156c9f336bab7a4d6ae1 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 new file mode 100644 index 000000000000..40dad3cb1c45 --- /dev/null +++ b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + autocfg-1.1.0 + base64-0.13.1 + bumpalo-3.12.0 + cc-1.0.79 + cfg-if-1.0.0 + hashbrown-0.12.3 + indexmap-1.9.3 + js-sys-0.3.61 + libc-0.2.140 + log-0.4.17 + memchr-2.5.0 + num_enum-0.5.11 + num_enum_derive-0.5.11 + once_cell-1.17.1 + proc-macro-crate-1.3.1 + proc-macro2-1.0.55 + quote-1.0.26 + ring-0.16.20 + rustls-0.21.0 + rustls-pemfile-0.2.1 + rustls-webpki-0.100.1 + rustversion-1.0.12 + sct-0.7.0 + spin-0.5.2 + syn-1.0.109 + toml_datetime-0.6.1 + toml_edit-0.19.8 + unicode-ident-1.0.8 + untrusted-0.7.1 + wasm-bindgen-0.2.84 + wasm-bindgen-backend-0.2.84 + wasm-bindgen-macro-0.2.84 + wasm-bindgen-macro-support-0.2.84 + wasm-bindgen-shared-0.2.84 + web-sys-0.3.61 + webpki-0.22.0 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-x86_64-pc-windows-gnu-0.4.0 + winnow-0.4.1 +" + +inherit cargo 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)" + +# From cargo-ebuild (note that webpki is also just ISC) +LICENSE="|| ( MIT Apache-2.0 ) BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016" +# Dependent crate licenses +LICENSE+=" ISC MIT Unicode-DFS-2016" +# 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.*" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-cargo-c.patch +) + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_compile() { + local cargoargs=( + --library-type=cdylib + --prefix=/usr + --libdir="/usr/$(get_libdir)" + --target="$(rust_abi)" + $(usev !debug '--release') + ) + + cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" +} + +multilib_src_test() { + 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() { + local cargoargs=( + --library-type=cdylib + --prefix=/usr + --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.10.0.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild deleted file mode 100644 index 00ea26b0a7a2..000000000000 --- a/net-libs/rustls-ffi/rustls-ffi-0.10.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - autocfg-1.1.0 - base64-0.13.1 - bumpalo-3.12.0 - cc-1.0.79 - cfg-if-1.0.0 - hashbrown-0.12.3 - indexmap-1.9.3 - js-sys-0.3.61 - libc-0.2.140 - log-0.4.17 - memchr-2.5.0 - num_enum-0.5.11 - num_enum_derive-0.5.11 - once_cell-1.17.1 - proc-macro-crate-1.3.1 - proc-macro2-1.0.55 - quote-1.0.26 - ring-0.16.20 - rustls-0.21.0 - rustls-pemfile-0.2.1 - rustls-webpki-0.100.1 - rustversion-1.0.12 - sct-0.7.0 - spin-0.5.2 - syn-1.0.109 - toml_datetime-0.6.1 - toml_edit-0.19.8 - unicode-ident-1.0.8 - untrusted-0.7.1 - wasm-bindgen-0.2.84 - wasm-bindgen-backend-0.2.84 - wasm-bindgen-macro-0.2.84 - wasm-bindgen-macro-support-0.2.84 - wasm-bindgen-shared-0.2.84 - web-sys-0.3.61 - webpki-0.22.0 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-x86_64-pc-windows-gnu-0.4.0 - winnow-0.4.1 -" - -inherit cargo 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)" - -# From cargo-ebuild (note that webpki is also just ISC) -LICENSE="|| ( MIT Apache-2.0 ) BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016" -# Dependent crate licenses -LICENSE+=" ISC MIT Unicode-DFS-2016" -# 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.*" - -PATCHES=( - "${FILESDIR}"/${PN}-0.10.0-cargo-c.patch -) - -src_prepare() { - default - - multilib_copy_sources -} - -multilib_src_compile() { - local cargoargs=( - --library-type=cdylib - --prefix=/usr - --libdir="/usr/$(get_libdir)" - --target="$(rust_abi)" - ) - - cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" -} - -multilib_src_test() { - cargo_src_test --target="$(rust_abi)" -} - -multilib_src_install() { - local cargoargs=( - --library-type=cdylib - --prefix=/usr - --libdir="/usr/$(get_libdir)" - --target="$(rust_abi)" - --destdir="${ED}" - ) - - cargo cinstall "${cargoargs[@]}" || die "cargo cinstall failed" -} 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 new file mode 100644 index 000000000000..aef6d683129a --- /dev/null +++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild @@ -0,0 +1,132 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + ansi_term-0.12.1 + atty-0.2.14 + autocfg-1.1.0 + base64-0.13.1 + bitflags-1.3.2 + bumpalo-3.11.1 + cbindgen-0.19.0 + cc-1.0.77 + cfg-if-1.0.0 + clap-2.34.0 + fastrand-1.8.0 + hashbrown-0.12.3 + heck-0.3.3 + hermit-abi-0.1.19 + indexmap-1.9.2 + instant-0.1.12 + itoa-1.0.4 + js-sys-0.3.60 + libc-0.2.138 + log-0.4.17 + num_enum-0.5.7 + num_enum_derive-0.5.7 + once_cell-1.16.0 + proc-macro-crate-1.2.1 + proc-macro2-1.0.47 + quote-1.0.21 + redox_syscall-0.2.16 + remove_dir_all-0.5.3 + ring-0.16.20 + rustls-0.20.4 + rustls-pemfile-0.2.1 + rustversion-1.0.9 + ryu-1.0.11 + sct-0.7.0 + serde-1.0.149 + serde_derive-1.0.149 + serde_json-1.0.89 + spin-0.5.2 + strsim-0.8.0 + syn-1.0.105 + tempfile-3.3.0 + textwrap-0.11.0 + thiserror-1.0.37 + thiserror-impl-1.0.37 + toml-0.5.9 + unicode-ident-1.0.5 + unicode-segmentation-1.10.0 + unicode-width-0.1.10 + untrusted-0.7.1 + vec_map-0.8.2 + wasm-bindgen-0.2.83 + wasm-bindgen-backend-0.2.83 + wasm-bindgen-macro-0.2.83 + wasm-bindgen-macro-support-0.2.83 + wasm-bindgen-shared-0.2.83 + web-sys-0.3.60 + webpki-0.22.0 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo 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)" + +# From cargo-ebuild (note that webpki is also just ISC) +LICENSE="|| ( MIT Apache-2.0 ) BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016" +# 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.*" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.1-cargo-c.patch + "${FILESDIR}"/${PN}-0.9.1-tests-32-bit.patch +) + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_compile() { + local cargoargs=( + --library-type=cdylib + --prefix=/usr + --libdir="/usr/$(get_libdir)" + --target="$(rust_abi)" + $(usev !debug '--release') + ) + + cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" +} + +multilib_src_test() { + 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() { + local cargoargs=( + --library-type=cdylib + --prefix=/usr + --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.ebuild deleted file mode 100644 index 04494aab9d3a..000000000000 --- a/net-libs/rustls-ffi/rustls-ffi-0.9.1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - ansi_term-0.12.1 - atty-0.2.14 - autocfg-1.1.0 - base64-0.13.1 - bitflags-1.3.2 - bumpalo-3.11.1 - cbindgen-0.19.0 - cc-1.0.77 - cfg-if-1.0.0 - clap-2.34.0 - fastrand-1.8.0 - hashbrown-0.12.3 - heck-0.3.3 - hermit-abi-0.1.19 - indexmap-1.9.2 - instant-0.1.12 - itoa-1.0.4 - js-sys-0.3.60 - libc-0.2.138 - log-0.4.17 - num_enum-0.5.7 - num_enum_derive-0.5.7 - once_cell-1.16.0 - proc-macro-crate-1.2.1 - proc-macro2-1.0.47 - quote-1.0.21 - redox_syscall-0.2.16 - remove_dir_all-0.5.3 - ring-0.16.20 - rustls-0.20.4 - rustls-pemfile-0.2.1 - rustversion-1.0.9 - ryu-1.0.11 - sct-0.7.0 - serde-1.0.149 - serde_derive-1.0.149 - serde_json-1.0.89 - spin-0.5.2 - strsim-0.8.0 - syn-1.0.105 - tempfile-3.3.0 - textwrap-0.11.0 - thiserror-1.0.37 - thiserror-impl-1.0.37 - toml-0.5.9 - unicode-ident-1.0.5 - unicode-segmentation-1.10.0 - unicode-width-0.1.10 - untrusted-0.7.1 - vec_map-0.8.2 - wasm-bindgen-0.2.83 - wasm-bindgen-backend-0.2.83 - wasm-bindgen-macro-0.2.83 - wasm-bindgen-macro-support-0.2.83 - wasm-bindgen-shared-0.2.83 - web-sys-0.3.60 - webpki-0.22.0 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-x86_64-pc-windows-gnu-0.4.0 -" - -inherit cargo 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)" - -# From cargo-ebuild (note that webpki is also just ISC) -LICENSE="|| ( MIT Apache-2.0 ) BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016" -# 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.*" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.1-cargo-c.patch - "${FILESDIR}"/${PN}-0.9.1-tests-32-bit.patch -) - -src_prepare() { - default - - multilib_copy_sources -} - -multilib_src_compile() { - local cargoargs=( - --library-type=cdylib - --prefix=/usr - --libdir="/usr/$(get_libdir)" - --target="$(rust_abi)" - ) - - cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" -} - -multilib_src_test() { - cargo_src_test --target="$(rust_abi)" -} - -multilib_src_install() { - local cargoargs=( - --library-type=cdylib - --prefix=/usr - --libdir="/usr/$(get_libdir)" - --target="$(rust_abi)" - --destdir="${ED}" - ) - - cargo cinstall "${cargoargs[@]}" || die "cargo cinstall failed" -} -- cgit v1.2.3