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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1BE113835C for ; Sat, 1 May 2021 12:22:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02E80E0D18; Sat, 1 May 2021 12:22:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1E63E0D18 for ; Sat, 1 May 2021 12:22:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F32A340AB5 for ; Sat, 1 May 2021 12:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 83CD873D for ; Sat, 1 May 2021 12:22:29 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1619871679.b88ecf49381e3cae77f113ddd54a3eadae2fd473.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rustup/rustup-9999.ebuild X-VCS-Directories: dev-util/rustup/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: b88ecf49381e3cae77f113ddd54a3eadae2fd473 X-VCS-Branch: master Date: Sat, 1 May 2021 12:22:29 +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: 7236fa80-a37a-43ce-bc59-862ac4481992 X-Archives-Hash: 148313b03855cef0eedbc710c25ecce7 commit: b88ecf49381e3cae77f113ddd54a3eadae2fd473 Author: Georgy Yakovlev gentoo org> AuthorDate: Sat May 1 12:11:57 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sat May 1 12:21:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88ecf49 dev-util/rustup: update live ebuild Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> dev-util/rustup/rustup-9999.ebuild | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/dev-util/rustup/rustup-9999.ebuild b/dev-util/rustup/rustup-9999.ebuild index ccdc91c9c6b..36bc896f0bc 100644 --- a/dev-util/rustup/rustup-9999.ebuild +++ b/dev-util/rustup/rustup-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,7 +24,6 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Un SLOT="0" IUSE="" -# requires old libressl-2.5, so openssl only for now. DEPEND=" app-arch/xz-utils net-misc/curl:=[http2,ssl] @@ -48,8 +47,21 @@ src_unpack() { } src_configure() { - local myfeatures=( no-self-update ) - cargo_src_configure + # modeled after ci/run.bash upstream + # reqwest-rustls-tls requires ring crate, which is not very portable. + local myfeatures=( + no-self-update + curl-backend + reqwest-backend + reqwest-default-tls + ) + case ${ARCH} in + ppc*|mips*|riscv*|s390*) + ;; + *) myfeatures+=( reqwest-rustls-tls ) + ;; + esac + cargo_src_configure --no-default-features } src_compile() {