summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-04-15 09:16:07 -0400
committerCraig Andrews <candrews@gentoo.org>2021-04-15 09:16:30 -0400
commit22fdd8dedfc1d45cf68c722002c4a9640c5eba28 (patch)
tree177934fda6a00f7eaa3f035757a3350735faf43e
parentmedia-sound/jack2: bump to 1.9.18 (diff)
downloadgentoo-22fdd8dedfc1d45cf68c722002c4a9640c5eba28.tar.gz
gentoo-22fdd8dedfc1d45cf68c722002c4a9640c5eba28.tar.bz2
gentoo-22fdd8dedfc1d45cf68c722002c4a9640c5eba28.zip
net-libs/quiche: 0.8.1 version bump
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--net-libs/quiche/Manifest1
-rw-r--r--net-libs/quiche/quiche-0.8.1.ebuild219
2 files changed, 220 insertions, 0 deletions
diff --git a/net-libs/quiche/Manifest b/net-libs/quiche/Manifest
index 89695949c2f..a7bec20a376 100644
--- a/net-libs/quiche/Manifest
+++ b/net-libs/quiche/Manifest
@@ -109,6 +109,7 @@ DIST quiche-0.5.1.crate 3265682 BLAKE2B 1d404317e48a62ac2cb3759aae51f0b91eb87d9c
DIST quiche-0.6.0.crate 3264703 BLAKE2B f5703d86866b4ff11fba3c620e65da26050d744202bb520783c91f9925e030f0bf5ff2c75af02a015006d9b8a3991092df15a523dd316d7973df06c694927529 SHA512 c73a06d8f426193c6a0859a4a1beb453382c6dd67e70e1ea58999a5585d468442ea86457f3dbaed1d6d5dd33fc204a5c9aeed26de1072563d6951c4f386c957c
DIST quiche-0.7.0.crate 3405961 BLAKE2B e873c97fb6cec335297753f53dc8db74fca8716fb9ef25f5d5d5fbed6e34943205e15eceb4988c3e061e557dfe20efa38c70850938b23d9f5520f89296581e7f SHA512 35d6bb736900c6715dab5a1706729591e884fbf8e652a161ce4b140a799e0d752aa14a414902418a8b97e3e77d27759d61c17a53ba6d8d289238d37bbfd8fb37
DIST quiche-0.8.0.crate 3522026 BLAKE2B f039c8fa2fbb90201cea4b737d6d8540d4b5f7a558e7034263873fa190bfb3d8c33ae395f4160a40949891a9131ff1f06dfefa131e57cda9fdc6a31d857bbbb6 SHA512 ecab57cf7830c6f4778703f59d55adbd756253fe0bddb1ad4deabab6b5edc213b9e24b849ce8e276952824f93a3a6e52effd92d5fd92ada7a3a3891004c873de
+DIST quiche-0.8.1.crate 3522157 BLAKE2B 69ac246f3de61edf0f0f3f39534c732baa6264fc916c4088e67a5c6a172c1d66d11759b38bd543791fae965b7142922c1a3805a135f9e7fec820f88a4d8e2150 SHA512 053d2312a80a1dd2031d5cd204725321e7c24328903be353f89e15e916aadaa33703e4c0caa7d0afa4aedf5d11c292112ad78fa511db10cc6afd6e329d6c0919
DIST quote-1.0.7.crate 25170 BLAKE2B 9597c94ac365bb6e9d632738a88ece2da7818cb9f3fa0e755324e693eb513c76347032737025375a486319caad13c22ae13bcb257703eacdf2fdc755cbac0de2 SHA512 b7cb576c07419854f71072a88e4216f50d78196703d3d8a1068dfd0f2ccb1e417c3a865ec3be613b46e74e46654f64378f527800701f74d50352cb766a885953
DIST quote-1.0.8.crate 24997 BLAKE2B 53f8d9e363e2697b580f4bfa39257a6ea1d1899f6cd73f96233cb476de1aecd0c4bca9a8856d128af81ae0f428be71c19b0d2e4816d856bff20030c4cc9258b5 SHA512 448d06465d93d384bf31b0249fd143a92edc4b9be8bb3a8c1a86366241be6469c3874dac98acb3810d5177b106d7307c7d9e879f91cce2e278a319ef1935577f
DIST quote-1.0.9.crate 25042 BLAKE2B 26ef31e89fd2f0cc21ff65f8072f30c7977ac634d2536cf9845a0894d6659f62a96cd0a6ee48f7706036c2c1b898ef8c9167bd62714ad0c9cba4fb02f30922af SHA512 dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8
diff --git a/net-libs/quiche/quiche-0.8.1.ebuild b/net-libs/quiche/quiche-0.8.1.ebuild
new file mode 100644
index 00000000000..1f5b5a82e1a
--- /dev/null
+++ b/net-libs/quiche/quiche-0.8.1.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CRATES="
+anyhow-1.0.26
+ansi_term-0.11.0
+aho-corasick-0.7.15
+arrayvec-0.4.11
+atty-0.2.14
+autocfg-1.0.1
+backtrace-0.3.37
+backtrace-sys-0.1.31
+bindgen-0.57.0
+bitflags-1.2.1
+boring-sys-1.1.1
+bstr-0.2.12
+bumpalo-3.6.1
+byteorder-1.3.4
+cast-0.2.3
+cc-1.0.67
+cexpr-0.4.0
+cfg-if-0.1.10
+cfg-if-1.0.0
+clang-sys-1.2.0
+clap-2.33.3
+cmake-0.1.45
+criterion-0.3.1
+criterion-plot-0.4.1
+crossbeam-deque-0.7.3
+crossbeam-epoch-0.8.2
+crossbeam-queue-0.2.1
+crossbeam-utils-0.7.2
+csv-1.1.3
+csv-core-0.1.10
+either-1.5.3
+darling-0.12.3
+darling_core-0.12.3
+darling_macro-0.12.3
+env_logger-0.8.3
+fnv-1.0.7
+fuchsia-zircon-0.3.3
+fuchsia-zircon-sys-0.3.3
+glob-0.3.0
+hashbrown-0.9.1
+hermit-abi-0.1.18
+humantime-2.1.0
+ident_case-1.0.1
+idna-0.1.5
+iovec-0.1.4
+itertools-0.8.2
+itoa-0.4.7
+js-sys-0.3.50
+kernel32-sys-0.2.2
+lazycell-1.3.0
+lazy_static-1.4.0
+libc-0.2.93
+libloading-0.7.0
+libm-0.2.1
+log-0.4.14
+matches-0.1.8
+maybe-uninit-2.0.0
+memchr-2.3.4
+memoffset-0.5.3
+mio-0.6.23
+miow-0.2.2
+net2-0.2.37
+nom-5.1.2
+num-traits-0.2.11
+num_cpus-1.12.0
+peeking_take_while-0.1.2
+indexmap-1.6.2
+once_cell-1.7.2
+oorandom-11.1.0
+percent-encoding-1.0.1
+plotters-0.2.12
+proc-macro2-1.0.26
+qlog-0.4.0
+quote-1.0.9
+rayon-1.3.0
+rayon-core-1.7.0
+regex-1.4.5
+regex-automata-0.1.9
+regex-syntax-0.6.23
+ring-0.16.20
+rustc_version-0.2.3
+rustc-hash-1.1.0
+rustversion-1.0.4
+ryu-1.0.5
+same-file-1.0.6
+scopeguard-1.1.0
+semver-0.9.0
+semver-parser-0.7.0
+serde-1.0.125
+serde_derive-1.0.125
+serde_json-1.0.64
+serde_with-1.8.0
+serde_with_macros-1.4.1
+shlex-0.1.1
+slab-0.4.2
+smallvec-1.4.0
+spin-0.5.2
+strsim-0.8.0
+strsim-0.10.0
+syn-1.0.69
+termcolor-1.1.2
+textwrap-0.11.0
+tinytemplate-1.0.3
+tinyvec-1.2.0
+tinyvec_macros-0.1.0
+unicode-bidi-0.3.5
+unicode-normalization-0.1.17
+unicode-width-0.1.8
+unicode-xid-0.1.0
+unicode-xid-0.2.1
+untrusted-0.7.1
+url-1.7.2
+vec_map-0.8.2
+version_check-0.9.3
+walkdir-2.3.1
+wasm-bindgen-0.2.73
+wasm-bindgen-backend-0.2.73
+wasm-bindgen-macro-0.2.73
+wasm-bindgen-macro-support-0.2.73
+wasm-bindgen-shared-0.2.73
+wasm-bindgen-webidl-0.2.73
+web-sys-0.3.50
+which-3.1.1
+winapi-0.2.8
+winapi-0.3.9
+winapi-build-0.1.1
+winapi-i686-pc-windows-gnu-0.4.0
+winapi-util-0.1.5
+winapi-x86_64-pc-windows-gnu-0.4.0
+ws2_32-sys-0.2.1
+"
+
+inherit cargo cmake-utils flag-o-matic multilib-minimal rust-toolchain
+
+DESCRIPTION="Implementation of the QUIC transport protocol and HTTP/3"
+HOMEPAGE="https://github.com/cloudflare/quiche"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/cloudflare/${PN}.git"
+ inherit git-r3
+else
+ CRATES+=" ${P//_/-}"
+ SRC_URI="$(cargo_crate_uris ${CRATES})"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ S="${WORKDIR}/${P//_/-}"
+fi
+
+LICENSE="|| ( Apache-2.0 Boost-1.0 )
+ || ( Apache-2.0 MIT )
+ || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT )
+ BSD-2
+ BSD
+ ISC
+ MIT
+ || ( Unlicense MIT )
+ openssl"
+SLOT="0/0"
+IUSE=""
+DOCS=( CODEOWNERS COPYING README.md )
+
+BDEPEND="
+ >=virtual/rust-1.47.0[${MULTILIB_USEDEP}]
+ dev-util/cmake
+"
+DEPEND=""
+RDEPEND=""
+
+CMAKE_USE_DIR="${S}/deps/boringssl"
+
+src_unpack() {
+ if [[ "${PV}" == *9999* ]]; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ tar -xf "${DISTDIR}/${P//_/-}.crate" -C "${WORKDIR}" || die
+ fi
+}
+
+src_prepare() {
+ default
+ cmake-utils_src_prepare
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ append-flags "-fPIC"
+ local mycmakeargs=(
+ -DOPENSSL_NO_ASM=ON
+ -DBUILD_SHARED_LIBS=OFF
+ )
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_configure
+}
+
+multilib_src_compile() {
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_compile bssl
+ QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_compile --features "ffi pkg-config-meta" --target="$(rust_abi)"
+}
+
+multilib_src_test() {
+ QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_test --target="$(rust_abi)"
+}
+
+multilib_src_install() {
+ sed -i -e "s:libdir=.\+:libdir=${EPREFIX}/usr/$(get_libdir):" -e "s:includedir=.\+:includedir=${EPREFIX}/usr/include:" target/release/quiche.pc || die
+ insinto "/usr/$(get_libdir)/pkgconfig"
+ doins target/release/quiche.pc
+ doheader -r include/*
+ dolib.so "target/$(rust_abi)/release/libquiche.so"
+ QA_FLAGS_IGNORED+=" usr/$(get_libdir)/libquiche.so" # rust libraries don't use LDFLAGS
+ QA_SONAME+=" usr/$(get_libdir)/libquiche.so" # https://github.com/cloudflare/quiche/issues/165
+
+}