diff options
Diffstat (limited to 'net-libs/quiche')
-rw-r--r-- | net-libs/quiche/Manifest | 7 | ||||
-rw-r--r-- | net-libs/quiche/quiche-0.16.0.ebuild | 236 | ||||
-rw-r--r-- | net-libs/quiche/quiche-9999.ebuild | 6 |
3 files changed, 245 insertions, 4 deletions
diff --git a/net-libs/quiche/Manifest b/net-libs/quiche/Manifest index 9544e35a817c..dc95dc57007b 100644 --- a/net-libs/quiche/Manifest +++ b/net-libs/quiche/Manifest @@ -66,6 +66,7 @@ DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8 DIST lazycell-1.3.0.crate 12502 BLAKE2B dca2d3f46823a52dcf87b7d6103fc4f1f83bc5247ce361946ac2d9df239fb43ce4b418104503698dff0242480cd014996e77da4ae0a88f3cedbce4eb9d3c9ef8 SHA512 f9d627afc28b61e9687a3f72260eb013401fd64057647641ff2e763770d7380ab1d2d8cbb4a3c8818d53d504c618a3b46aaf701f72f4d7b25d226042824c2f8d DIST libc-0.2.126.crate 590481 BLAKE2B 1000de6b9fa2b3ff025b961e504d6d20b401f37cdeda6710187d18ad2dfe8ec89142bba65486d7853f1796897b58f343c5a34dd6381a0d0794b615635ac31175 SHA512 9bbb17f64a7503819616a71076ebe8ee317daf07b17b9fff783a4459da0439aecee535c09e7185bf148b1993e6fc958d182a490fc9c9a7b9fb635429c491ca44 DIST libc-0.2.134.crate 603330 BLAKE2B afca337bf7120e933c56745a51261156f4af7cc58427f623b9cdf1b2d5fc67fb2bc7c078ccab3cf232024e5013e8edcbbb0baab6a8a3762f9b20d975ed92411d SHA512 fcc142061df7b363b2dacec5fb3c9a19e63addd8210678117f681b8e1b62e5784cb78067639df464f32e22c9ab4d0932bbe1c01cc992348cc0fad4a46cc7b1c3 +DIST libc-0.2.135.crate 604591 BLAKE2B 195f342d1136f63c308371f001c9fc270e151fbda7b316321d319b57bcd46f206bb8b06196f5e9cf8a35b0c397d909f370aef8b119f4bc0eb75b9e245d8e7b4a SHA512 dc8e8fc918c5184de6ae7414b523b06ae91cde252e837e863f8477e9722ccb206a0b27762ac204830e8d09071413029c03802a3ed93bff274c33b2a4055e7806 DIST libloading-0.7.3.crate 27378 BLAKE2B da36353819cbbc85dbb3196585970b431eb5570140978fed8a6b5e46bec2560b373e20fc108b9520589bfd1f804eea57a524a0cb497620d4a8fd11030e9c4818 SHA512 58da6e73f86aa05132949939507a128188ec2e26e2245e23b1534d90673c9909c7d5220aa4aeab2c16249f7433b4d0f98f20c94b8b1f7434c7abadc8b8039ae9 DIST libm-0.2.2.crate 113226 BLAKE2B 126ff68b4ccc7c4e3043095c84ef010bffdc1f76d3c0c871441d1ecaaa044534506844fd6accf145f94cfdbb611fbb1fb13ce976521911dcfe77d57c3c81463a SHA512 5aed180dec326ed9ee2fb90dfd94127ee5f75804f7ce7fa0ed5c7e1f0533215690553551da44c055f9ad47170ca32971467fb378f7328a3c22930832388eed75 DIST libm-0.2.5.crate 113322 BLAKE2B 1893273dda30ca8eb6f614992069893dca39288fd4a2f3c49827dd3ffc64030f1729a9761f01f5fe649db64c6ed15a8ba47d93ed9484de1c19bd3de57700f567 SHA512 4d56501fdc86011f1b707b349c409564c85c2484b185adf9dc5d5a8a8fcca8c0e172c95ee5dbfb428b7b13d8cfb1e23c596d3ae3bfa878f2019fabd3258c7863 @@ -96,6 +97,7 @@ DIST qlog-0.7.0.crate 20584 BLAKE2B 122f4b5b669f1c658e408d48e4e4f5c9cb76a117ee36 DIST qlog-0.8.0.crate 20596 BLAKE2B 263e63cedd99eda5f591090d47e70ecb5098bcb6f2be2ca5c518b9256b10cf30750fafd87c23312d1e5a7b7fe064f9bea08f7f4facb5572e25010b6ee0cdd46c SHA512 66ec87691d4d3ae5ae5aba48948106c82523657601da1229f3b86a6a846fe8ee7c2c159fbfeba96c98e0633bedd4b5d6ad30757541f57fa62573558987c2a744 DIST quiche-0.14.0.crate 3616806 BLAKE2B 7379c6aa83dafd8948820e4ed93409516daf13344ec70a8ec0049db03a1a584acbc635a5ea1c92885781a09fe4f2de1ba842fbeb493cfc9920b6d2c0ad2de8d0 SHA512 61f0d0beec39732cbb185807ae1c159fba1ea13ad5e168bbef9065b79ec6d0e6a06435894fd90bb4b7777ed84a3b620b4ae85cab07d0ce2e6dd214133d2b8ce9 DIST quiche-0.15.0.crate 3663943 BLAKE2B 9c99326efbaaad7296f758cb63f86b7710b7e684602085ffb11361b9140fdcc47dc8b6c9113151af07bd8cab774683a0d26215106394b528bf9c22b8c13dd510 SHA512 1bacdd7e7a346379ea0a50aff77d27df0ca5398d4035e2013782e0c210d5e0e73c41f223eaa5001263c5ead897cf402fadbd69ddb271891c1640f437d9b0de2a +DIST quiche-0.16.0.crate 3665045 BLAKE2B 4c5af3021e16ececcdf788a18695547bebe0ba56d8a0407f52feede1ab55ebc5804dba80760a7ce49a3e905fad17dde1ab5c1bd781b90bed4e9c8d87b4b8a5b8 SHA512 b31c1acd09684d1fc14f089f4b4eb61a68fa0edb405929722b6f608a9b3204da187a6d9b86e7e8caa94f3db58ba0e81f26ac62cfa3b5f31b5704b944b784be24 DIST quote-1.0.18.crate 28911 BLAKE2B 623872402cb185a57e2ffb1bfe4105c49c152c33c44c8054af59df7bb193d14416ea2caa7b28b3f9b9ae6985bec7fc7825bc946e2e41915d2744c887a51559b6 SHA512 3fa537aa96a8970104411471b0e4b7b9339583d552c1d9297737a59ef5301af41da105b92aeace87376e1395e379153f6551bfcfe9c740e6945064426f5f6f84 DIST quote-1.0.21.crate 28030 BLAKE2B 547344ba9272874f5fbb4bd27a69ef5be99823e10e1318afe71971b18f37e9c73d54168f16efb82c53a332e4874c80a82ea951fb2c85fad50cdfe783622b79fc SHA512 0728eb4df7e1f7c4d32ab08c901c2c969db8eb46b03bcec3e4956a4f6b360939d32abc6b6ebd7a31058e8e9b69c3d995a24cb484f93656f05b4ee963be1c74fc DIST rayon-1.3.0.crate 143294 BLAKE2B c52c0ca7f3424eb6c251f91a4a8f556ff40120889b91fb0e4dce36401cbc653310c16393c12b73b29d56eb04846e06c04942b7fd41173cd8fcd8dc11046163f7 SHA512 176af1a8148026954e271ece820c67b215223cdf11b80ff4e3229e4871ad87ce9c21c0b5b5c9f1c9e8063102ed0722c3e5194c13bbe77d8688fdf81e0ba8a599 @@ -123,6 +125,7 @@ DIST serde_derive-1.0.137.crate 54831 BLAKE2B 19a0324c18bd00da4feabcf83dd78de2ff DIST serde_derive-1.0.145.crate 54860 BLAKE2B 0c80f1b8844e044bce28c3fd8e46ac732de21736622fd7b2235c41d9a909d7ad224e8e7ba5fa3e5de2cfba5e48a4116f97e9b7eb31b0201c01bc98d40a78d16d SHA512 267389f8cd6d3a7b7d4a4d3226346999294e2fbef7446ff1cd1183dfb4fd17409f5891f6c2cae113b79cffdaca07f2037fd2f4108f93723e6baa5153bb9a61c6 DIST serde_json-1.0.81.crate 144480 BLAKE2B 3c95d56e65c6673ebe9ef0aa41ba184c5246cbcfb0dd9edf8e87ca6cab736d195ce8b6349846806ba7047854d579517d2d19bbfa932c90b700f06e54cf49b131 SHA512 9f224b2182db2fdddfe1878d05d857c52a60a38f9b4fdfc87c09c20efc8b6ec2419bc60e4b18a0852ed080b09332773eac372f8356af5ac0ddf3da8212345cb8 DIST serde_json-1.0.85.crate 144635 BLAKE2B 03d2de5563c8b8e9150b656b62329a87a5dc42c1fe389e40291a3b2a7232e2342b6e52f6625ecfaa8cde4420017a0db82b2ef332f82f2fc1caa50b98e544031b SHA512 b9ba5c8f5e5c977d31c720995317c99486897a064993784e8abd4e35e0c9ccf20d421552b4436cd88420b5e6fe1d7ebc411bbc2e803cf1732e133c29365834bc +DIST serde_json-1.0.86.crate 144680 BLAKE2B 666aa0fd8956966aa4bdbfcd88699ae3ab31ec4ad3041c4c3c7b66a86b79829c17d937b0d558a0c34754e10b15cc2100c10e5479302b4af3efda73df73287845 SHA512 86922c40ce32f03c5128e899ce161e186dc35decd3e0672ed347a82f59452f2a3ba0284c342548b17e4b8dba7b13a3d98749ae8981c725ee853537f6e6b40092 DIST serde_with-1.13.0.crate 108768 BLAKE2B 62725ef3df86036e10607ba28aefd69acc07476c82e3cdf78240fab0d89f185c33beefd06170998f52cc7097a928c349735f8069d2b55240690641d22cc50a1a SHA512 7dbd5278e51167e08fb0a07c3aec7a90101042f088ad3b27bb15c4bb56481eb0e51d0283ae7f07fe8154c11b0bd7d44cbe8e4dcb8db1295a2d4f18ab7f82f1df DIST serde_with-1.14.0.crate 114325 BLAKE2B 5681438f6e9ce0032a0b0bd224dd4ee9680a6b4818a93cd8e7990e2e88b1425f81540de6dfe71f5162b8ea516c44458d5f095f815e86079e3dc011880968c685 SHA512 643183189980641b904fd181a699faeebb95ce1eea4805cad8ac72f32a2d47dd4aaaf146f7489c0a062f7867076860cae1aa73e12cb96d542fb0991231a51923 DIST serde_with_macros-1.5.2.crate 21426 BLAKE2B c20e198b3657516b30601dcc8d9a1eca54111644f42922ea18542c16ec8084a6b31bd318b1de9da3181ebe9050f58d119a95daea05b375d87ee68def69213bf4 SHA512 4619ce9f35b7659f5641eb3b3891910a7780c76911968b53cdae9fc6b03ca66643157707c67f6ac5d16f657d7f3332671430e828d111d7fc8968683523b93fba @@ -144,6 +147,7 @@ DIST tinyvec_macros-0.1.0.crate 1817 BLAKE2B a3d1966bf57c11afcd026269135a6189f14 DIST unicode-bidi-0.3.8.crate 36575 BLAKE2B c0442dd47a8ee81f575b28e34c9781ccf507b53ea96d1d4df2e8117231e8e67579031e4244a2dacfd6f4c24ec01fbbd4da7c9ab72ad50af51ef56d7d813b6444 SHA512 810b5be48159ecbca542c715496f279518285c3b09f7c39451986f94e6c259fab1057512a2148bf99ba9abf76e861a24456b547cc2273f0b45ed5d3ce9dfe3d5 DIST unicode-ident-1.0.0.crate 34224 BLAKE2B 62100357db87b74e44166a70a1d0f911281fc7410571554e9e89c94f3529920d1d43a8cdf3a3bf163c8acb8e9f575e83a024cb94217b84ecddc582751486954e SHA512 ccdad29fc63f71c507cdf276b02a5bb7fad44dffa123bf04d5b1495eb9c26bd7ec42ad6e11717eb10dc6499693047952c6b766c40d7b0696bd011779649d5fc9 DIST unicode-ident-1.0.4.crate 35491 BLAKE2B b92d4f09ec86fe1e0b403b8cb0787989c313f29e6b24961fc2ca046ee5e3b50f43f49469a290880412dd37fc1b46cbeb9123e9636e1f39e425f722a5aa44ad08 SHA512 db41d5c3f72cfaf654b4c250e18ac0ac077a816fd582f1548ed384653f467c15f85fcfbbb4ed2f9e8182587181abf1db14059d50f3e43b60434ddf38c8f65d89 +DIST unicode-ident-1.0.5.crate 35455 BLAKE2B 7e14ce97ac53a88ccec015dea690918a673dc5b49e44de7fdcb5421871da35c4f514c6db9a363d6f4bfcf2e9a61a50a593d345d0b6f388ea882b17a00cd0335d SHA512 d355370daac356d900cd4c0a792d6c0eff114524c4bffce4d7e74469fe2117883ee00bf0e27d950b72e88739473f2045d5f83440a0aedfede97b4d9163b64a6c DIST unicode-normalization-0.1.19.crate 107353 BLAKE2B 4c69d50efcae131eb4b91d385a64b49412a11ba913b3c0364cd04ad107d59e31adbda74d34ed13a065d9a7825d79fb740e82a4dc66b7813a9837af4352ac9e16 SHA512 7459e9d2867308cac80a98d8dd0b0cce797e2830ea5ff55b878f7a37a6f5e1f0bc14340e1a29955298d660ba2be57754a1478d74851b1b90576dd5bc4231729f DIST unicode-normalization-0.1.22.crate 122604 BLAKE2B 3f3430b279cc0ce1595392c869442ce676ab097154c688779ebcf726e10c497df59be2cd7bb2f84f99499a9df0654760a10ac92224c17d74775aeebe291241e1 SHA512 a5810d5e9cd93dbb80e013997aa9d38e60834619483a6623eb2859ec5d59a5aec3fc4db123dc7f4e2fe9f2b8799cf6af48bdff22d69a00a23707240e8bf3bb3c DIST unicode-width-0.1.10.crate 18968 BLAKE2B 6174e307fd3ee290d0a5d1d31233baaa5315cdb73f19b8580718e9f9eb04cfd3aeaeb474af1e50c4b9fecc6fc777937dedc527c9dc9ed14ccf42af099e591f31 SHA512 9836a8d489d18ea1ecfe1957ed6d5da7dce825e138cd1848aef093fa8d2eb83fcf01eabb1a2446df4f5ede4e67316e9e81b5d58b59d4e8c5d67870e8fa5dca3b @@ -186,5 +190,6 @@ DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac96759816 DIST ws2_32-sys-0.2.1.crate 4697 BLAKE2B 52a7a3f57bcd73156730ada4d78fe12a54a498c9064e0928e09de13a95bd9237f884538e5f9368b47a7ac3c425f0f798c26bad85f20bed4ea26c2fa16c779b97 SHA512 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f EBUILD quiche-0.14.0.ebuild 4813 BLAKE2B dc4626b68bf895f48089d35a8003f98ef6c5f6c3f4a6e9a70a17dfd434c89d5e9df0c46375f7563061f7d1ccf67b3e981fd3fff965fb4d9b611d64b2bf61ab14 SHA512 5962a4774278afcbb260d7c01755a5180d461134d46210e5abd6ed6dd412d07fdfb96a30d4da952635e811369d47288353f085e390afbb7b0b28966f87f463c1 EBUILD quiche-0.15.0.ebuild 4816 BLAKE2B e63aec2b4428810b778b9ed9abd55979fbbf4c496f3159497651477d1e94618a27558be2e4b0a65679e818e543fc0c24722930c700de62964bc592102bbe5dc5 SHA512 36273bebc26619edbca7ae159db767e1ddd12e09ea4657efa24ef20e0a17cd594a21653f76d0a9645cd1daa78bc1ffe7f8211513202a28fae4db7f59cb07123d -EBUILD quiche-9999.ebuild 4816 BLAKE2B e63aec2b4428810b778b9ed9abd55979fbbf4c496f3159497651477d1e94618a27558be2e4b0a65679e818e543fc0c24722930c700de62964bc592102bbe5dc5 SHA512 36273bebc26619edbca7ae159db767e1ddd12e09ea4657efa24ef20e0a17cd594a21653f76d0a9645cd1daa78bc1ffe7f8211513202a28fae4db7f59cb07123d +EBUILD quiche-0.16.0.ebuild 4816 BLAKE2B 1070b477e723806302584c28001aed68717950548fd8a3d197bcfcd189923dba81ffb23ca97b48241589f3c136cc8cec693bccfa821767b1ad224ff38d190391 SHA512 062eefefe6d476a018217f02461bc4907a17f73a3f827fb41f765682583da9b8bd256be06f28895cfa52e842c8851c6d62a84130e1102144893fb3d227938a6a +EBUILD quiche-9999.ebuild 4816 BLAKE2B 1070b477e723806302584c28001aed68717950548fd8a3d197bcfcd189923dba81ffb23ca97b48241589f3c136cc8cec693bccfa821767b1ad224ff38d190391 SHA512 062eefefe6d476a018217f02461bc4907a17f73a3f827fb41f765682583da9b8bd256be06f28895cfa52e842c8851c6d62a84130e1102144893fb3d227938a6a MISC metadata.xml 331 BLAKE2B d0c7e9933d0377d9aa5c8c4249c3171ed475025e74cb36354ffea5e184acd2ca7239b577335c86bf48a456bbccf777ff4c4229f5c676f35bf3db41c52cdc0637 SHA512 3604e6eff391505fb81b215004b6e8ca4b240ee36413fc96b76e044dab63cdb1df2dcb55783a37e828c4a330679297fd6f58e4f53da66c29d966e8949ce85093 diff --git a/net-libs/quiche/quiche-0.16.0.ebuild b/net-libs/quiche/quiche-0.16.0.ebuild new file mode 100644 index 000000000000..02cee6aec3b4 --- /dev/null +++ b/net-libs/quiche/quiche-0.16.0.ebuild @@ -0,0 +1,236 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +anyhow-1.0.26 +ansi_term-0.11.0 +aho-corasick-0.7.18 +arrayvec-0.7.2 +atty-0.2.14 +autocfg-1.1.0 +backtrace-0.3.37 +backtrace-sys-0.1.31 +bindgen-0.60.1 +bitflags-1.3.2 +boring-2.1.0 +boring-sys-2.1.0 +bstr-0.2.12 +bumpalo-3.11.0 +byteorder-1.3.4 +cast-0.2.3 +cc-1.0.73 +cexpr-0.6.0 +cfg-if-0.1.10 +cfg-if-1.0.0 +clang-sys-1.4.0 +clap-2.33.3 +cmake-0.1.48 +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.13.4 +darling_core-0.13.4 +darling_macro-0.13.4 +data-encoding-2.3.2 +env_logger-0.8.4 +fnv-1.0.7 +foreign-types-0.5.0 +foreign-types-macros-0.2.2 +foreign-types-shared-0.3.1 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +glob-0.3.0 +hashbrown-0.12.3 +hermit-abi-0.1.19 +humantime-2.1.0 +ident_case-1.0.1 +idna-0.1.5 +iovec-0.1.4 +itertools-0.8.2 +itoa-1.0.4 +js-sys-0.3.60 +kernel32-sys-0.2.2 +lazycell-1.3.0 +lazy_static-1.4.0 +libc-0.2.135 +libloading-0.7.3 +libm-0.2.5 +log-0.4.17 +matches-0.1.9 +maybe-uninit-2.0.0 +memchr-2.5.0 +memoffset-0.5.3 +minimal-lexical-0.2.1 +mio-0.8.4 +miow-0.4.0 +net2-0.2.37 +nom-7.1.1 +num-traits-0.2.15 +num_cpus-1.12.0 +octets-0.2.0 +peeking_take_while-0.1.2 +indexmap-1.9.1 +once_cell-1.15.0 +oorandom-11.1.0 +percent-encoding-1.0.1 +plotters-0.2.12 +proc-macro2-1.0.46 +qlog-0.8.0 +quote-1.0.21 +rayon-1.3.0 +rayon-core-1.7.0 +regex-1.6.0 +regex-automata-0.2.0 +regex-syntax-0.6.27 +ring-0.16.20 +rustc_version-0.2.3 +rustc-hash-1.1.0 +rustversion-1.0.6 +rust_decimal-1.26.1 +ryu-1.0.11 +same-file-1.0.6 +scopeguard-1.1.0 +sfv-0.9.2 +semver-0.9.0 +semver-parser-0.7.0 +serde-1.0.145 +serde_derive-1.0.145 +serde_json-1.0.86 +serde_with-1.14.0 +serde_with_macros-1.5.2 +shlex-1.1.0 +slab-0.4.7 +smallvec-1.4.0 +spin-0.5.2 +strsim-0.8.0 +strsim-0.10.0 +syn-1.0.102 +termcolor-1.1.2 +textwrap-0.11.0 +tinytemplate-1.0.3 +tinyvec-1.6.0 +tinyvec_macros-0.1.0 +unicode-bidi-0.3.8 +unicode-ident-1.0.5 +unicode-normalization-0.1.22 +unicode-width-0.1.10 +unicode-xid-0.2.4 +unicode-xid-0.2.3 +untrusted-0.7.1 +url-1.7.2 +vec_map-0.8.2 +version_check-0.9.4 +walkdir-2.3.1 +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 +wasm-bindgen-webidl-0.2.75 +wasi-0.11.0+wasi-snapshot-preview1 +web-sys-0.3.60 +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 +windows_aarch64_msvc-0.36.1 +windows_i686_gnu-0.36.1 +windows_i686_msvc-0.36.1 +windows_x86_64_gnu-0.36.1 +windows_x86_64_msvc-0.36.1 +windows-sys-0.36.1 +ws2_32-sys-0.2.1 +" + +inherit cargo cmake flag-o-matic rust-toolchain multilib-minimal + +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 + CMAKE_USE_DIR="${S}/quiche/deps/boringssl" +else + CRATES+=" ${P//_/-}" + SRC_URI="$(cargo_crate_uris ${CRATES})" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + S="${WORKDIR}/${P//_/-}" + CMAKE_USE_DIR="${S}/deps/boringssl" +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=( COPYING README.md ) + +BDEPEND=" + >=virtual/rust-1.56.0[${MULTILIB_USEDEP}] + dev-util/cmake +" +DEPEND="" +RDEPEND="" + +BUILD_DIR="${WORKDIR}/${P}" + +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() { + cmake_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_src_configure +} + +multilib_src_compile() { + BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_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/$(rust_abi)/release/quiche.pc || die + insinto "/usr/$(get_libdir)/pkgconfig" + doins target/$(rust_abi)/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 +} diff --git a/net-libs/quiche/quiche-9999.ebuild b/net-libs/quiche/quiche-9999.ebuild index a9c2d3cc7132..02cee6aec3b4 100644 --- a/net-libs/quiche/quiche-9999.ebuild +++ b/net-libs/quiche/quiche-9999.ebuild @@ -60,7 +60,7 @@ js-sys-0.3.60 kernel32-sys-0.2.2 lazycell-1.3.0 lazy_static-1.4.0 -libc-0.2.134 +libc-0.2.135 libloading-0.7.3 libm-0.2.5 log-0.4.17 @@ -103,7 +103,7 @@ semver-0.9.0 semver-parser-0.7.0 serde-1.0.145 serde_derive-1.0.145 -serde_json-1.0.85 +serde_json-1.0.86 serde_with-1.14.0 serde_with_macros-1.5.2 shlex-1.1.0 @@ -119,7 +119,7 @@ tinytemplate-1.0.3 tinyvec-1.6.0 tinyvec_macros-0.1.0 unicode-bidi-0.3.8 -unicode-ident-1.0.4 +unicode-ident-1.0.5 unicode-normalization-0.1.22 unicode-width-0.1.10 unicode-xid-0.2.4 |