From nobody Tue Dec 19 08:23:15 2023 X-Original-To: dev-commits-ports-all@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 4SvV7p71K7z54sY7; Tue, 19 Dec 2023 08:23:18 +0000 (UTC) (envelope-from git@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 4SvV7l4SyNz4bP7; Tue, 19 Dec 2023 08:23:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702974195; 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; bh=nyhq5ux1MIQHZU9beXm12aXUOmdTW7UCwpL8ZWu3tI8=; b=F+w9HOYmAPj7Db+2wb6FIwlL9CxQg1VEdRqPEqpjpMboUf0v5VmBXYbzEi5mkKR6JiZS6F xMF1703uDLzsBmzbHExKkPUUKwv89HYL/FxsdeJ0cTQCIvSSDZYUWrBaRUCFnq1LALDfR8 KeKUq0h5mLFzaLcD04JzChx5wWyLG084H/OB4rPJteSrToqWHlWes0+50FJPGLkYX6IYdW cJ9J4kzRW8roX+jbTxnx0vM/+KL6WBmxOlFWotXl1QaPqFcqNqcBS22FzEKa73cuJRL74h HkGdQZaEe7sNDJQ0hdITU6XkBZUxXsJkPnkG+0cNeBcaGO+fEy3ZBJR0oHCspA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702974195; a=rsa-sha256; cv=none; b=UQOxTXcouNRtEZo4OpJ2aypSPPqFPkRNCLtiGcrknwVPfyHe8TpvnP+zmisTE74RCusC0D CqlGWosAxuZCgaZx1N2LCq5vb36E7Wg0GW1OklWLLvXRzwXW7PdsTIAMEuh/BKIYWoTat/ 6VZ1SUvegKQK1eUU7oH52TI1xnTk3D6GA7hENwLYFdgZc20HF9kDeCfd0j/aErlByY52en RGHO6MimY0Zth97JVvCfWAX+2WsdUVLp1HaDjaaCEEyQdbOrN4ePeysUH9TkiSqSb+nHHF mb6yjqUneunyZMuV2oZPuUjOVINHIeTPyQvJglyyPyCeFXHhBhWqN743btHKTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702974195; 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; bh=nyhq5ux1MIQHZU9beXm12aXUOmdTW7UCwpL8ZWu3tI8=; b=ai2ufxHY/FHevVr8YygeAQwd/58zN3A6OmDuDJoCddTHhIZ+5qeq+GP3A8IwB49zMROqae tAglaGzk3Ygq0rT7F6azwzMPVVMK96KfHkKEfAGDMVNunN5AhgRHwqr0zTqcAiRwo3/+CS r4b4CUhdYpAmxkazSTtRNIP7UAPwxiklcKrQfYehDaXVxqCvy19NqPOCDV+oJeuXhsuuzx Qj9EX6GoACjU25R7vKJdJhZlaX0e6aHNrjPtpQCkC1Z9S+SMQ46C8Lw4UtJAyaRi2Bw1hB FGLjgBlesmEsVsU7eqOVFo+tBFH3AkyEpfQJxZCUzI3khYYkiZWTpf3i6IsWPw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4SvV7l3QrMzxZx; Tue, 19 Dec 2023 08:23:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BJ8NFdu012035; Tue, 19 Dec 2023 08:23:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BJ8NFVE012032; Tue, 19 Dec 2023 08:23:15 GMT (envelope-from git) Date: Tue, 19 Dec 2023 08:23:15 GMT Message-Id: <202312190823.3BJ8NFVE012032@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 5bd7ce7d6d16 - main - Tools/scripts/update-rust-port.sh: Fix failures that occurred for some ports List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5bd7ce7d6d16989b3b31d070c5faf985051a3bee Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5bd7ce7d6d16989b3b31d070c5faf985051a3bee commit 5bd7ce7d6d16989b3b31d070c5faf985051a3bee Author: Yuri Victorovich AuthorDate: 2023-12-19 08:22:05 +0000 Commit: Yuri Victorovich CommitDate: 2023-12-19 08:22:05 +0000 Tools/scripts/update-rust-port.sh: Fix failures that occurred for some ports --- Tools/scripts/update-rust-port.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Tools/scripts/update-rust-port.sh b/Tools/scripts/update-rust-port.sh index 80edc8347f71..57d8f0641f9c 100755 --- a/Tools/scripts/update-rust-port.sh +++ b/Tools/scripts/update-rust-port.sh @@ -64,24 +64,23 @@ BEGIN { in_cargo_crates = 0 } print $0 -}' < Makefile.new > Makefile.new1 && -/bin/mv Makefile.new1 Makefile.new +}' < Makefile.new > Makefile # update distinfo -make -f Makefile.new makesum +make makesum # replace the placeholder while IFS= read -r line; do if [ "$line" = "#@@@PLACEHOLDER@@@" ]; then - make -f Makefile.new cargo-crates | grep -v '^=' + make cargo-crates | grep -v '^=' else echo "$line" fi -done < Makefile.new > Makefile.new1 && -mv Makefile.new1 Makefile.new - -# move Makefile.new +done < Makefile > Makefile.new && mv Makefile.new Makefile +# clean +make clean + # update distinfo -make clean makesum +make makesum