From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC5B115802F for ; Fri, 31 Mar 2023 15:48:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C183BE07F6; Fri, 31 Mar 2023 15:48:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 900C4E07F6 for ; Fri, 31 Mar 2023 15:48:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57154340F68 for ; Fri, 31 Mar 2023 15:48:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC73A8E6 for ; Fri, 31 Mar 2023 15:47:59 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1680277207.e7e52ebd87a523e38046512684ae4cd4e8e56109.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/conduit/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/conduit/Manifest net-im/conduit/conduit-0.5.0-r1.ebuild X-VCS-Directories: net-im/conduit/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: e7e52ebd87a523e38046512684ae4cd4e8e56109 X-VCS-Branch: dev Date: Fri, 31 Mar 2023 15:47:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3c99414f-aa5c-4960-b7cb-b7ac46dc80b0 X-Archives-Hash: 484f0b49c7812e3e389f1122c9f99003 commit: e7e52ebd87a523e38046512684ae4cd4e8e56109 Author: Julien Roy jroy ca> AuthorDate: Fri Mar 31 15:39:39 2023 +0000 Commit: Julien Roy jroy ca> CommitDate: Fri Mar 31 15:40:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7e52ebd net-im/conduit: add 0.5.0-r1, clean up ebuild, use GIT_CRATES Signed-off-by: Julien Roy jroy.ca> net-im/conduit/Manifest | 3 + net-im/conduit/conduit-0.5.0-r1.ebuild | 584 +++++++++++++++++++++++++++++++++ 2 files changed, 587 insertions(+) diff --git a/net-im/conduit/Manifest b/net-im/conduit/Manifest index 8cfcc3396..42b8581d5 100644 --- a/net-im/conduit/Manifest +++ b/net-im/conduit/Manifest @@ -149,6 +149,7 @@ DIST headers-0.3.8.crate 67904 BLAKE2B 53425c36437b77bf01adcd1194e775b17031af2f4 DIST headers-core-0.2.0.crate 2380 BLAKE2B b9edc2634ef43c53372038a67713785656bf5c030ae285bce287b7b130abc04bf56e66fcc2c67e3eda162d64b008c9a45a1f7be990d248da3ec1c18b361f33bc SHA512 1d502e6a3b2ad70a0d1e410c55864ddbf4118ea073ff7697e6b763cd18748d91f074b36451c015e3bbadad4400d099f4a2e350c609f44daee4ad40398633a8fd DIST heck-0.4.0.crate 11161 BLAKE2B 13b8bc39cf3ab90e71433e3c7b3e5f1c19404bec58dc4298dca05d94d5c14c2fc97350de737cb78aa45196b1241aa8f1ccf3a11ca309da5fe0f6a657673412b3 SHA512 33bdbf4ff9ecc4f4d74cf06590e056f4d96bf0d990d5381b9da5b65682b2495ed74e27b45419c2afa986c1f6200909d5175b137ae73ced5cc8ac869e4e1bce8f DIST heed-f6f825da7fb2c758867e05ad973ef800a6fe1d5d.crate 34435 BLAKE2B 68015eeec752389bdc4177ca85fad2817ff7485d1204c0991371f4c21c5065ba4615d3c7125e1ff3bb53875030e942dca4eacda493cf80d4eb8f5b6c5ae78f30 SHA512 74ce15b35a81527dd5989666b83e84aa67d8de1fdfaf72ef0ec0250538346a8897fa3f62d5f3c596e727852d853a54ce09c31f660bf6939103212b7ab5e976f4 +DIST heed-f6f825da7fb2c758867e05ad973ef800a6fe1d5d.gh.tar.gz 34435 BLAKE2B 68015eeec752389bdc4177ca85fad2817ff7485d1204c0991371f4c21c5065ba4615d3c7125e1ff3bb53875030e942dca4eacda493cf80d4eb8f5b6c5ae78f30 SHA512 74ce15b35a81527dd5989666b83e84aa67d8de1fdfaf72ef0ec0250538346a8897fa3f62d5f3c596e727852d853a54ce09c31f660bf6939103212b7ab5e976f4 DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a DIST hermit-abi-0.2.6.crate 13027 BLAKE2B 4df5306639511a5f69594e903f8ce62482cbbfbfe272a91a12f407483dbac4e87c2d7e5668cc06ca5c0fc149ca93a3152fe6ad4bb3b96cacf56a22cb635e5b7f SHA512 bad8442bb822a9c99f6536db16523c80f5139af6a139bcc359c03725c59ff935816e2ecc5c491dc362ac75ab2dff41ab1e9dd29431f5e9a109b60eb9b7a8dc28 DIST hmac-0.12.1.crate 42657 BLAKE2B 5d432a666dbcf9077a98e1f8a4aaa3afc88f3d88553cf7a2356d117c66f38efafe686c148598ad67ae89d64ee3edf56387a6f89b75dd9ab5eee63e13953dcead SHA512 77d4bf51f4633a8c36712ce3178945141df31cd645eafcf4bd130b8ecd7cb498bf1ee6f2d9c8dfbbc9f97ac638919fcc81bd3ee600a1b27c3be3fa87313aa0b8 @@ -323,11 +324,13 @@ DIST regex-syntax-0.6.28.crate 299288 BLAKE2B 8554370e269e888e603c403089aa6eb4a0 DIST remove_dir_all-0.5.0.crate 8651 BLAKE2B 4ce249473bc67b5ab0c3e04665a67b3c73224565071cb2055ddd461a775fef18ce0e973f281e53f5416bdad506e9b53da184078986950be3a07c534360b4544b SHA512 876681ae98ac9a9cf0447397446ca7afb4e254cf0cfdd7a9b8702eb94cfda5230ac4daeaa067a3f07ae303b920d1a97fa4a0da76b80b4545eab1080bee8c1574 DIST remove_dir_all-0.5.3.crate 9184 BLAKE2B ab7ef94e0230ddc9b363f038254a180881bbc20eb04a254f97e6f71ed491c99ba1c88f5e85632d450243882a4a0df63f3b8b183bc1fbca9caf30ec23d577b1d7 SHA512 50417d6d8a33912193a1ed37eb72b47431b12ae65d2780cdb7080c3d141e63819da13751c3fb737685cea322f70b36d413389c3dc01aa12b4dce615aefed0e2c DIST reqwest-57b7cf4feb921573dfafad7d34b9ac6e44ead0bd.crate 186730 BLAKE2B 10ac4475ea33b250e0987b13c567863a3c04c124ea114d75c186433868d8b01e12fcb1ad79c415a5d1ff91ce9a2d1999892fe7b9e211cd2049b64f30334af40a SHA512 249d25775c3a2447098d5908a89bd75eecec4f025e78e33c5af9d85cefacc65da06fccfae17b3e72faa32eaa61f13aee5ee49cf469b33d2b128038f8b5865d43 +DIST reqwest-57b7cf4feb921573dfafad7d34b9ac6e44ead0bd.gh.tar.gz 186730 BLAKE2B 10ac4475ea33b250e0987b13c567863a3c04c124ea114d75c186433868d8b01e12fcb1ad79c415a5d1ff91ce9a2d1999892fe7b9e211cd2049b64f30334af40a SHA512 249d25775c3a2447098d5908a89bd75eecec4f025e78e33c5af9d85cefacc65da06fccfae17b3e72faa32eaa61f13aee5ee49cf469b33d2b128038f8b5865d43 DIST resolv-conf-0.7.0.crate 17352 BLAKE2B 32b565a11d5d752e2cce2ac7b44e483b8a682220c99a9ca34d0a440d87cb5a874c407d474e47757f128bc5d78ea57940452eb099ea6fa433d8f6d1fe881f4302 SHA512 538b97f88fee8b82f15845f9a596e09757e3c2869c4e8708ddff97e19348e9f88d4bcf75e810d2aee47113fa64d550a9fe2deac6fc38d95242ebc20228e9b5f4 DIST ring-0.16.20.crate 5082615 BLAKE2B 6011eb7148c2d2ab410e564a06604f4350e07ea030e4d7dcb30574b977f0b0c7e53e09f6e6dbb2d068cdf110262876c48dfaeeef1b691932a056fe149916d934 SHA512 d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191 DIST rle-decode-fast-1.0.3.crate 62086 BLAKE2B 402d56595936734f36597c18e816a798ade6a8636b27e79acdedd4069da38e22e6ded5f2358ef0f0d509ea752e828fa294a4a9ac6d99cf26472fe21a505302c9 SHA512 f647cfd9ae0bbaca4a189cd1f8d1f8531f6dc0ffa1fd296c75cfe405fc9060e25be74581558a9195364ea90e32c7ccd60e066d21704cae836d41606b5799301a DIST rocksdb-0.17.0.crate 89115 BLAKE2B 47b3bd0c291dfc190bdc650ac0c8f7df7c9e1814c36cb074a41eed1ea85d387dc956d89238aba7fbba1e93590d0fca1f91524a9c79f64c6411b6cffb3785f9bb SHA512 2f003b581bca951a224ac5ddb0ec2b9dfe7712f0ddf4cfb79801c790367e5bebad3f3a139f0d690aec2f38ad7adb57229c5933b106f23f85b3d3235239121e6f DIST ruma-67d0f3cc04a8d1dc4a8a1ec947519967ce11ce26.crate 579571 BLAKE2B ed1c88b3531c3bbe962140871a48804bc73cfd83d5bc13db4f3e59df27cc11623f36c65816272a8aa0f68ff1c9de9336cacdff192be2894693c27977e97c6705 SHA512 53906223d12e536ba4e897e0ce87a0d7456008f37d38d75025bb2c412bb60ad2a81d36a85af99505598eeef593f56af5507b26b34b70b309f899d1c313ffee5c +DIST ruma-67d0f3cc04a8d1dc4a8a1ec947519967ce11ce26.gh.tar.gz 579571 BLAKE2B ed1c88b3531c3bbe962140871a48804bc73cfd83d5bc13db4f3e59df27cc11623f36c65816272a8aa0f68ff1c9de9336cacdff192be2894693c27977e97c6705 SHA512 53906223d12e536ba4e897e0ce87a0d7456008f37d38d75025bb2c412bb60ad2a81d36a85af99505598eeef593f56af5507b26b34b70b309f899d1c313ffee5c DIST rusqlite-0.28.0.crate 137504 BLAKE2B fced73b74c49fa75f673126709c619c6c712f665bd295766c3eaf074456efc48ec8c3019c9ee96a57bdd02b346cc1d071e5a7fc7fdb4a35013e0efff45dc4643 SHA512 a38205b2437ffb50bf8a14304b4a30a62993957a348f03b37d09fabb9269fcbdb35dafab496f7cecdcefb7353720ffc0580822d9b231e0f75cee23b6f7344857 DIST rust-argon2-1.0.0.crate 27428 BLAKE2B 2bf22192e6eba871f7aa97e15532fd514967d4924e058614a264118f9cf8116b656b7940416c9a5b0c0403722777d47271b855b9ebda51e08b05005d5cbc8f9d SHA512 a2e9b5159bb30da894a5b3d8912ed9e92c4e602ee7a2a4a790e6df4654db7807d4419727c536f69a0e3fb1dea8ac72ac3f467ab86a7dcf32c48a3570c4fa0e99 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 diff --git a/net-im/conduit/conduit-0.5.0-r1.ebuild b/net-im/conduit/conduit-0.5.0-r1.ebuild new file mode 100644 index 000000000..5f92ecb1d --- /dev/null +++ b/net-im/conduit/conduit-0.5.0-r1.ebuild @@ -0,0 +1,584 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler-1.0.2 + adler32-1.2.0 + ahash-0.7.6 + aho-corasick-0.7.20 + alloc-no-stdlib-2.0.4 + alloc-stdlib-0.2.2 + anes-0.1.6 + anyhow-1.0.68 + arc-swap-1.5.1 + arrayref-0.3.6 + arrayvec-0.7.2 + assert_matches-1.5.0 + assign-1.1.1 + async-channel-1.8.0 + async-compression-0.3.15 + async-stream-0.3.3 + async-stream-impl-0.3.3 + async-trait-0.1.58 + async-trait-0.1.61 + atomic-0.5.1 + atty-0.2.14 + autocfg-1.1.0 + axum-0.5.17 + axum-core-0.2.9 + axum-server-0.4.4 + base-x-0.2.11 + base64-0.13.1 + base64-0.20.0 + base64-0.21.0 + base64ct-1.5.3 + bincode-1.3.3 + bindgen-0.59.2 + bitflags-1.3.2 + blake2b_simd-1.0.0 + block-buffer-0.10.3 + block-buffer-0.9.0 + brotli-3.3.4 + brotli-decompressor-2.3.2 + brotli-decompressor-2.3.4 + bumpalo-3.11.1 + bumpalo-3.12.0 + bytemuck-1.12.3 + byteorder-1.4.3 + bytes-1.3.0 + cast-0.3.0 + castaway-0.1.2 + cc-1.0.77 + cc-1.0.78 + cexpr-0.6.0 + cfg-if-0.1.10 + cfg-if-1.0.0 + ciborium-0.2.0 + ciborium-io-0.2.0 + ciborium-ll-0.2.0 + clang-sys-1.4.0 + clap-3.1.18 + clap-3.2.23 + clap-4.0.27 + clap-4.1.1 + clap_derive-4.0.21 + clap_derive-4.1.0 + clap_lex-0.2.4 + clap_lex-0.3.0 + clap_lex-0.3.1 + color_quant-1.1.0 + combine-4.6.6 + concurrent-queue-2.1.0 + console_error_panic_hook-0.1.7 + const-oid-0.9.1 + const_fn-0.4.9 + constant_time_eq-0.1.5 + cookie-0.15.2 + cookie_store-0.15.1 + core-foundation-0.9.3 + core-foundation-sys-0.8.3 + cpufeatures-0.2.5 + crc-2.1.0 + crc-catalog-1.1.1 + crc32fast-1.3.2 + criterion-0.4.0 + criterion-plot-0.5.0 + crossbeam-0.8.2 + crossbeam-channel-0.5.6 + crossbeam-deque-0.8.2 + crossbeam-epoch-0.9.13 + crossbeam-queue-0.3.8 + crossbeam-utils-0.8.14 + crypto-common-0.1.6 + curl-0.4.44 + curl-sys-0.4.59+curl-7.86.0 + curve25519-dalek-3.2.0 + dashmap-5.4.0 + data-encoding-2.3.2 + data-encoding-2.3.3 + der-0.6.0 + der-0.6.1 + digest-0.10.6 + digest-0.9.0 + directories-4.0.1 + dirs-sys-0.3.7 + discard-1.0.4 + doc-comment-0.3.3 + ed25519-1.5.2 + ed25519-1.5.3 + ed25519-dalek-1.0.1 + either-1.8.0 + encoding_rs-0.8.31 + enum-as-inner-0.3.4 + enum-as-inner-0.5.1 + env_logger-0.8.4 + errno-0.2.8 + errno-dragonfly-0.1.2 + event-listener-2.5.3 + fallible-iterator-0.2.0 + fallible-streaming-iterator-0.1.9 + fastrand-1.6.0 + fastrand-1.8.0 + figment-0.10.8 + flate2-1.0.25 + fnv-1.0.7 + foreign-types-0.3.2 + foreign-types-shared-0.1.1 + form_urlencoded-1.1.0 + fs2-0.4.3 + fs_extra-1.2.0 + futf-0.1.5 + futures-0.3.25 + futures-channel-0.3.25 + futures-core-0.3.25 + futures-executor-0.3.25 + futures-io-0.3.25 + futures-lite-1.12.0 + futures-macro-0.3.25 + futures-sink-0.3.25 + futures-task-0.3.25 + futures-util-0.3.25 + generic-array-0.14.6 + getrandom-0.1.16 + getrandom-0.2.8 + gif-0.11.4 + glob-0.3.0 + glob-0.3.1 + h2-0.3.15 + half-1.8.2 + hashbrown-0.12.3 + hashlink-0.8.1 + headers-0.3.8 + headers-core-0.2.0 + heck-0.4.0 + hermit-abi-0.1.19 + hermit-abi-0.2.6 + hmac-0.12.1 + hostname-0.3.1 + html5ever-0.25.2 + http-0.2.8 + http-body-0.4.5 + http-range-header-0.3.0 + httparse-1.8.0 + httpdate-1.0.2 + humantime-2.1.0 + hyper-0.14.23 + hyper-rustls-0.23.1 + hyper-rustls-0.23.2 + hyper-tls-0.5.0 + idna-0.2.3 + idna-0.3.0 + image-0.24.5 + indexmap-1.9.2 + inlinable_string-0.1.15 + instant-0.1.12 + integer-encoding-3.0.4 + io-lifetimes-1.0.4 + ipconfig-0.2.2 + ipconfig-0.3.1 + ipnet-2.5.1 + ipnet-2.7.1 + is-terminal-0.4.2 + isahc-1.3.1 + isahc-1.7.2 + itertools-0.10.5 + itoa-1.0.4 + itoa-1.0.5 + jobserver-0.1.25 + jpeg-decoder-0.3.0 + js-sys-0.3.60 + js_int-0.2.2 + js_option-0.1.1 + jsonwebtoken-8.1.1 + konst-0.2.19 + konst_macro_rules-0.2.19 + konst_proc_macros-0.2.11 + lazy_static-1.4.0 + lazycell-1.3.0 + libc-0.2.137 + libc-0.2.139 + libflate-1.2.0 + libflate_lz77-1.1.0 + libloading-0.7.4 + libnghttp2-sys-0.1.7+1.45.0 + librocksdb-sys-6.20.3 + libsqlite3-sys-0.25.2 + libz-sys-1.1.8 + linked-hash-map-0.5.6 + linux-raw-sys-0.1.4 + lmdb-rkv-sys-0.11.2 + lock_api-0.4.9 + log-0.4.17 + lru-cache-0.1.2 + mac-0.1.1 + maplit-1.0.2 + markup5ever-0.10.1 + match_cfg-0.1.0 + matchers-0.1.0 + matches-0.1.9 + matchit-0.5.0 + memchr-2.5.0 + memoffset-0.7.1 + mime-0.3.16 + mime_guess-2.0.4 + minimal-lexical-0.2.1 + miniz_oxide-0.6.2 + mio-0.8.5 + native-tls-0.2.11 + native-tls-0.2.8 + new_debug_unreachable-1.0.4 + nom-7.1.1 + nu-ansi-term-0.46.0 + num-bigint-0.4.3 + num-integer-0.1.45 + num-rational-0.4.1 + num-traits-0.2.15 + num_cpus-1.14.0 + num_cpus-1.15.0 + once_cell-1.16.0 + once_cell-1.17.0 + oorandom-11.1.3 + opaque-debug-0.3.0 + openssl-0.10.29 + openssl-0.10.45 + openssl-macros-0.1.0 + openssl-probe-0.1.5 + openssl-src-111.24.0+1.1.1s + openssl-sys-0.9.55 + openssl-sys-0.9.80 + opentelemetry-0.18.0 + opentelemetry-jaeger-0.17.0 + opentelemetry-semantic-conventions-0.10.0 + opentelemetry_api-0.18.0 + opentelemetry_sdk-0.18.0 + ordered-float-1.1.1 + os_str_bytes-6.4.1 + overload-0.1.1 + page_size-0.4.2 + parking-2.0.0 + parking_lot-0.11.2 + parking_lot-0.12.1 + parking_lot_core-0.8.6 + parking_lot_core-0.9.4 + parking_lot_core-0.9.6 + paste-1.0.9 + pear-0.2.3 + pear_codegen-0.2.3 + peeking_take_while-0.1.2 + pem-1.1.0 + percent-encoding-2.2.0 + persy-1.3.4 + phf-0.10.1 + phf-0.8.0 + phf_codegen-0.8.0 + phf_generator-0.10.0 + phf_generator-0.8.0 + phf_macros-0.10.0 + phf_shared-0.10.0 + phf_shared-0.8.0 + pin-project-1.0.12 + pin-project-internal-1.0.12 + pin-project-lite-0.2.9 + pin-utils-0.1.0 + pkcs8-0.9.0 + pkg-config-0.3.26 + plotters-0.3.4 + plotters-backend-0.3.4 + plotters-svg-0.3.3 + png-0.17.7 + polling-2.5.2 + ppv-lite86-0.2.17 + precomputed-hash-0.1.1 + proc-macro-crate-1.2.1 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro-hack-0.5.19 + proc-macro-hack-0.5.20+deprecated + proc-macro-hack-0.5.4 + proc-macro2-1.0.47 + proc-macro2-1.0.50 + proc-macro2-diagnostics-0.9.1 + psl-types-2.0.11 + publicsuffix-2.2.3 + pulldown-cmark-0.9.2 + quick-error-1.2.3 + quote-1.0.21 + quote-1.0.23 + rand-0.7.3 + rand-0.8.5 + rand_chacha-0.2.2 + rand_chacha-0.3.1 + rand_core-0.5.1 + rand_core-0.6.4 + rand_hc-0.2.0 + rand_pcg-0.2.1 + rayon-1.3.1 + rayon-1.6.1 + rayon-core-1.10.1 + redox_syscall-0.2.16 + redox_users-0.4.3 + regex-1.5.6 + regex-1.7.0 + regex-1.7.1 + regex-automata-0.1.10 + regex-syntax-0.6.28 + remove_dir_all-0.5.0 + remove_dir_all-0.5.3 + resolv-conf-0.7.0 + ring-0.16.20 + rle-decode-fast-1.0.3 + rocksdb-0.17.0 + rusqlite-0.28.0 + rust-argon2-1.0.0 + rustc-hash-1.1.0 + rustc_version-0.2.3 + rustix-0.36.6 + rustls-0.20.7 + rustls-0.20.8 + rustls-native-certs-0.6.2 + rustls-pemfile-0.2.1 + rustls-pemfile-1.0.1 + rustls-pemfile-1.0.2 + ryu-1.0.11 + ryu-1.0.12 + same-file-1.0.6 + schannel-0.1.20 + schannel-0.1.21 + scoped-tls-1.0.1 + scopeguard-1.1.0 + sct-0.7.0 + sd-notify-0.4.1 + security-framework-2.7.0 + security-framework-sys-2.6.1 + semver-0.9.0 + semver-1.0.16 + semver-parser-0.7.0 + serde-1.0.147 + serde-1.0.152 + serde_derive-1.0.147 + serde_derive-1.0.152 + serde_json-1.0.87 + serde_json-1.0.89 + serde_json-1.0.91 + serde_urlencoded-0.7.1 + serde_yaml-0.9.14 + serde_yaml-0.9.16 + sha-1-0.10.0 + sha1-0.10.5 + sha1-0.6.1 + sha1_smol-1.0.0 + sha2-0.9.9 + sharded-slab-0.1.4 + shlex-1.1.0 + signal-hook-registry-1.4.0 + signature-1.6.4 + simple_asn1-0.6.2 + siphasher-0.3.10 + slab-0.4.7 + sluice-0.5.5 + smallvec-1.10.0 + smol-1.2.5 + socket2-0.3.19 + socket2-0.4.7 + spin-0.5.2 + spki-0.6.0 + standback-0.2.17 + stdweb-0.4.20 + stdweb-derive-0.5.3 + stdweb-internal-macros-0.2.9 + stdweb-internal-runtime-0.1.5 + string_cache-0.8.4 + string_cache_codegen-0.5.2 + strsim-0.10.0 + subslice-0.2.3 + subtle-2.4.1 + syn-1.0.103 + syn-1.0.107 + sync_wrapper-0.1.1 + synchronoise-1.0.1 + synstructure-0.12.6 + tempfile-3.3.0 + tendril-0.4.3 + termcolor-1.0.4 + termcolor-1.2.0 + textwrap-0.16.0 + thiserror-1.0.37 + thiserror-1.0.38 + thiserror-impl-1.0.37 + thiserror-impl-1.0.38 + thread_local-1.1.4 + threadpool-1.8.1 + thrift-0.16.0 + tikv-jemalloc-ctl-0.5.0 + tikv-jemalloc-sys-0.5.2+5.3.0-patched + tikv-jemallocator-0.5.0 + time-0.2.27 + time-0.3.17 + time-core-0.1.0 + time-macros-0.1.1 + time-macros-0.2.6 + time-macros-impl-0.1.2 + tinytemplate-1.1.0 + tinytemplate-1.2.1 + tinyvec-1.6.0 + tinyvec_macros-0.1.0 + tokio-1.22.0 + tokio-1.24.2 + tokio-macros-1.8.0 + tokio-macros-1.8.2 + tokio-native-tls-0.3.0 + tokio-rustls-0.23.4 + tokio-socks-0.5.1 + tokio-stream-0.1.11 + tokio-util-0.6.10 + tokio-util-0.7.4 + toml-0.5.10 + toml-0.5.9 + toml_datetime-0.5.0 + toml_edit-0.15.0 + tower-0.4.13 + tower-http-0.3.4 + tower-layer-0.3.2 + tower-service-0.3.2 + tracing-0.1.37 + tracing-attributes-0.1.23 + tracing-core-0.1.30 + tracing-flame-0.2.0 + tracing-futures-0.2.5 + tracing-log-0.1.3 + tracing-opentelemetry-0.18.0 + tracing-subscriber-0.3.16 + trust-dns-proto-0.20.4 + trust-dns-proto-0.22.0 + trust-dns-resolver-0.20.4 + trust-dns-resolver-0.22.0 + try-lock-0.2.3 + try-lock-0.2.4 + trybuild-1.0.76 + typenum-1.15.0 + typenum-1.16.0 + uncased-0.9.7 + unicase-2.6.0 + unicode-bidi-0.3.8 + unicode-ident-1.0.5 + unicode-ident-1.0.6 + unicode-normalization-0.1.22 + unicode-xid-0.2.4 + unsafe-libyaml-0.2.4 + unsafe-libyaml-0.2.5 + unsigned-varint-0.7.1 + untrusted-0.7.1 + url-2.3.1 + utf-8-0.7.6 + uuid-1.2.2 + valuable-0.1.0 + vcpkg-0.2.15 + version_check-0.9.4 + waker-fn-1.0.0 + waker-fn-1.1.0 + walkdir-2.3.2 + want-0.3.0 + wasi-0.11.0+wasi-snapshot-preview1 + wasi-0.9.0+wasi-snapshot-preview1 + wasm-bindgen-0.2.83 + wasm-bindgen-backend-0.2.83 + wasm-bindgen-futures-0.4.33 + wasm-bindgen-macro-0.2.83 + wasm-bindgen-macro-support-0.2.83 + wasm-bindgen-shared-0.2.83 + wasm-bindgen-test-0.3.33 + wasm-bindgen-test-macro-0.3.33 + web-sys-0.3.60 + webpki-0.22.0 + webpki-roots-0.22.6 + weezl-0.1.7 + wepoll-ffi-0.1.2 + widestring-0.4.3 + widestring-0.5.1 + wildmatch-2.1.1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + windows-sys-0.36.1 + windows-sys-0.42.0 + windows_aarch64_gnullvm-0.42.0 + windows_aarch64_gnullvm-0.42.1 + windows_aarch64_msvc-0.36.1 + windows_aarch64_msvc-0.42.0 + windows_aarch64_msvc-0.42.1 + windows_i686_gnu-0.36.1 + windows_i686_gnu-0.42.0 + windows_i686_gnu-0.42.1 + windows_i686_msvc-0.36.1 + windows_i686_msvc-0.42.0 + windows_i686_msvc-0.42.1 + windows_x86_64_gnu-0.36.1 + windows_x86_64_gnu-0.42.0 + windows_x86_64_gnu-0.42.1 + windows_x86_64_gnullvm-0.42.0 + windows_x86_64_gnullvm-0.42.1 + windows_x86_64_msvc-0.36.1 + windows_x86_64_msvc-0.42.0 + windows_x86_64_msvc-0.42.1 + winreg-0.10.1 + winreg-0.6.2 + winreg-0.7.0 + xshell-0.1.17 + xshell-macros-0.1.17 + yansi-0.5.1 + yap-0.8.1 + zeroize-1.5.7 + zeroize_derive-1.3.2 + zeroize_derive-1.3.3 + zigzag-0.1.0 +" + +declare -A GIT_CRATES=( + [ruma]="https://github.com/ruma/ruma;67d0f3cc04a8d1dc4a8a1ec947519967ce11ce26;ruma-%commit%/crates/ruma" + [reqwest]="https://github.com/timokoesters/reqwest;57b7cf4feb921573dfafad7d34b9ac6e44ead0bd" + [heed]="https://github.com/timokoesters/heed;f6f825da7fb2c758867e05ad973ef800a6fe1d5d;heed-%commit%/heed" +) + +inherit cargo systemd + +# As of 0.5.0, Conduit uses specific commits of these +# crates so they need to be added to SRC_URI manually +CONDUITCOMMIT="53f14a2c4c216b529cc63137d8704573197aed19" +RUMACOMMIT="67d0f3cc04a8d1dc4a8a1ec947519967ce11ce26" +REQCOMMIT="57b7cf4feb921573dfafad7d34b9ac6e44ead0bd" +HEEDCOMMIT="f6f825da7fb2c758867e05ad973ef800a6fe1d5d" + +DESCRIPTION="A Matrix homeserver written in Rust" +HOMEPAGE="https://gitlab.com/famedly/conduit" +SRC_URI="https://gitlab.com/famedly/${PN}/-/archive/v${PV}/${P}.tar.bz2 + $(cargo_crate_uris) +" + +S="${WORKDIR}/${PN}-v${PV}-${CONDUITCOMMIT}" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="acct-user/conduit" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/clang" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_install() { + cargo_src_install + + keepdir "/var/lib/matrix-conduit" + fowners conduit:conduit "/var/lib/matrix-conduit" + fperms 700 "/var/lib/matrix-conduit" + + insinto "/etc/conduit" + doins "${FILESDIR}/conduit.toml" + newinitd "${FILESDIR}/conduit.initd" "conduit" + newconfd "${FILESDIR}/conduit.confd" "conduit" + systemd_dounit "${FILESDIR}/conduit.service" +}