From nobody Tue Jan 3 12:54:54 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NmXkk6ML9z2lJkX for ; Tue, 3 Jan 2023 12:54:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NmXkk4gV8z4YT9 for ; Tue, 3 Jan 2023 12:54:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672750494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gtU8jc8DpHaqyt6pqpNMpzKgMacMRGxhYDCRpzHIiq0=; b=T9ugKZ5HkYQ1Xt8QaTgMQQCt7tg4HbRTLsNCiVj9guvBYtUHyf/SUrdKCXfs9vMMd2t7pl MPAKLA8QJrxtPTUfAq9cIInTYPsyBTlY6/vKBLv/WItY3W4s09B0OmQ0suGSBhRXUCjDfV S5I+aGwOOvZXi1oOScOoBiGUaoq7BuzLKx5fE355rEe+48+99VNs1OqrV47AcqLa3xO5xq +nJbIY5GkA49udwYRMwLVwBOmcZ2e0vFEA6yuNV4XV2kBWiHBRUo/bvtklINHpIxrjAKXf NINW81o/KeZ5X817EYOIOPJSOUhH385LVfyZaNg1RN0bIayTY84dIvHtyhvjVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672750494; a=rsa-sha256; cv=none; b=S2qhjprqCDduz+eoGSdjD+gTbDcWRPByTQxuZZ7MWlE36JhxMQLBy0JyEplLeR3lPM6KoH XGSGUzT3JbIuoIjAWx1XLItMZWdfLkWS/M7dbe3dpoj+eqzVn29Edh53gxWrGyPmd/ITwh 8EJ9q8mIj0Xo7ADejxL0FSQMU3gQ7qatQPy4CpzjDzneVrrCAKO89Fb8rwrsowvSmH4JgM zx6KKkt7bCdvK1xjlbB4GvxnpkR2XHKZ1nWrI8JMdogBszqCWYjg/EbZQEj3pX3VKEbmKk Y51dRVBU5hU39RoOdc3vgd0CGhbI53rS7W2xjlxxJO+W/J2p2A5MahJBP70Raw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NmXkk3cr4zX9j for ; Tue, 3 Jan 2023 12:54:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 303CssGH078762 for ; Tue, 3 Jan 2023 12:54:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 303CssxE078760 for ports-bugs@FreeBSD.org; Tue, 3 Jan 2023 12:54:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268728] Mk/Uses/cargo.mk: 'make cargo-crates' adds a line to CARGO_CRATES that cargo.mk can't handle Date: Tue, 03 Jan 2023 12:54:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268728 --- Comment #1 from Tobias Kortkamp --- Try this and please commit it if it works. #+begin_src diff diff --git a/Mk/Scripts/cargo-crates-git-common.awk b/Mk/Scripts/cargo-crates-git-common.awk index f4023bb4f880..81b218945a5b 100644 --- a/Mk/Scripts/cargo-crates-git-common.awk +++ b/Mk/Scripts/cargo-crates-git-common.awk @@ -43,7 +43,7 @@ function split_git_url(info, git_url, url, path, account, project, commit, i, d split_url(url, git_url) url["scheme"] =3D tolower(url["scheme"]) url["host"] =3D tolower(url["host"]) - if (url["scheme"] ~ /^git(\+https?)?$/) { + if (url["scheme"] ~ /^git(\+(ssh|https?))?$/) { if (url["host"] =3D=3D "github.com") { split(url["path"], path, "/") account =3D path[2] #+end_src --=20 You are receiving this mail because: You are on the CC list for the bug.=