Received: by mail.netbsd.org (Postfix, from userid 605) id 3421E84D7C; Mon, 8 Jun 2020 22:37:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AFB1384D60 for ; Mon, 8 Jun 2020 22:37:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Qn60mzdKirKj for ; Mon, 8 Jun 2020 22:37:29 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0A63884D20 for ; Mon, 8 Jun 2020 22:37:29 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EDCB8FB27; Mon, 8 Jun 2020 22:37:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159165584828870" MIME-Version: 1.0 Date: Mon, 8 Jun 2020 22:37:28 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20200608223728.EDCB8FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_159165584828870 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: he Date: Mon Jun 8 22:37:28 UTC 2020 Modified Files: pkgsrc/lang/rust: cargo.mk Log Message: It looks like "checksum" is optional, and "source" isn't for "external" packages, so use the latter. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/rust/cargo.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_159165584828870 Content-Disposition: inline Content-Length: 822 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/rust/cargo.mk diff -u pkgsrc/lang/rust/cargo.mk:1.14 pkgsrc/lang/rust/cargo.mk:1.15 --- pkgsrc/lang/rust/cargo.mk:1.14 Mon Jun 8 17:13:39 2020 +++ pkgsrc/lang/rust/cargo.mk Mon Jun 8 22:37:28 2020 @@ -1,4 +1,4 @@ -# $NetBSD: cargo.mk,v 1.14 2020/06/08 17:13:39 he Exp $ +# $NetBSD: cargo.mk,v 1.15 2020/06/08 22:37:28 he Exp $ # # Common logic that can be used by packages that depend on cargo crates # from crates.io. This lets existing pkgsrc infrastructure fetch and verify @@ -64,6 +64,6 @@ cargo-vendor-crates: show-cargo-depends: ${RUN}${AWK} '/^name = / { split($$3, a, "\""); name=a[2]; } \ /^version = / { split($$3, a, "\""); vers=a[2]; } \ - /^checksum = / { \ + /^source = / { \ print "CARGO_CRATE_DEPENDS+=\t" name "-" vers; \ }' ${WRKSRC}/Cargo.lock --_----------=_159165584828870--