From nobody Mon Mar 18 10:02:18 2024 X-Original-To: dev-commits-src-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 4Tyr4V457tz5D7ws; Mon, 18 Mar 2024 10:02: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 4Tyr4V3XgCz4p2B; Mon, 18 Mar 2024 10:02:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710756138; 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=yAWaLhcx2kQZX00gjiieFfIeNIXdymJz89AhHQX4de4=; b=EUdyFjKrU0n0KHsNlyIev6V9+x1T3+BiXIIL5UXdPShHN7iHLThIKtWZ7grYPKCnWEtEVk G/pfCPHuoB5/TYUWUIXPw+H9VOCqGF70NevA1oVTv7h2Z//vJtEt8MNDLDwXG4LtEZr6SW 1U0t1wmAzDKg1IJfv6MoLKZ06u5JqTV0fKhJDFd21TpnwsFwh56BFCxyV/Tgn5mWMVGwM6 GIUJEmdxaObZVqwM/+qBBOIE3I8KSdxyVF7AdSVIIMKXP7Y1H5lD0tAB2923C3NsvB54UD 985J+Ubdjzri2Q7hn8waO4tbucs7Cu9SRAwsEvytHyCvfIUxLWYOXgTGUQFa6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710756138; a=rsa-sha256; cv=none; b=vcqUpWr2LIWUDfC/cHoCy7fquQrZMuW2f3/0/Na0oWUq6rFJq6Oq4Yn1S7BqXo9uQcETxb qF174loqPYhHJg7vqPlBiTNCXRnJWMdnonPuLiqRjYZVO40Q6EW2fOweoX/5dMNFhJT4HR tBG87glnFiIRr3AsRGAHiAGTvAYjMmkLdn210xebXzlkHldtxrc3VvCIX/sHpArjytJQd5 N6nqeZrAwu/M67R7WPe/3LAj+uuJ+eY6zlJacbNMVKPrGJKKQSSwMgP9Qq95k7R7pKAgoq yJKx8H2EhRUbuz49koFMdOYmJ6ywe8TBgO9/FNXeWcFhcrH2G4s9rwAGfr1G+w== 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=1710756138; 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=yAWaLhcx2kQZX00gjiieFfIeNIXdymJz89AhHQX4de4=; b=jK3ECz2Gz8ENLnf4bKK5K/6X4bck3p/W9j/U/hK+Miv2SNDdmGXGe7QtGrnNvar1HPyqcH +TGENcYoeyhUhMWE1DXakb+w4qZmLUQBqHTBY1C/PHSuvhEGidl2VGG5jtrGCqWt4NScxe wMpPypif7YU3+cXNXqjXGmrRjWW8qi7QgC4EH180PQC5GWp3DPbzzOW7SHF8GFBiPzSfd1 ilcG/eiYL5Ou/rJH7ZoYX2iNv+hOsRUhPhPT/431kUVJTKCXrvMP7FOsqnvbpcZZRtuZS+ kcIRn4pjCG2d4CnUHprX+pZBCZOQWaiA/w/cuVYKrxRqdAaU+69aSgxoIXo4Ig== 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 4Tyr4V37g7zJfr; Mon, 18 Mar 2024 10:02:18 +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 42IA2IkU007120; Mon, 18 Mar 2024 10:02:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42IA2ILr007117; Mon, 18 Mar 2024 10:02:18 GMT (envelope-from git) Date: Mon, 18 Mar 2024 10:02:18 GMT Message-Id: <202403181002.42IA2ILr007117@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Osipov Subject: git: 85c3ef77cc9f - main - freebsd-update: mark "cron" as fetched as "fetch" itself List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: michaelo X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 Auto-Submitted: auto-generated The branch main has been updated by michaelo: URL: https://cgit.FreeBSD.org/src/commit/?id=85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 commit 85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 Author: Michael Osipov AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov CommitDate: 2024-03-18 10:01:59 +0000 freebsd-update: mark "cron" as fetched as "fetch" itself The change in 33bd05c3187d7b49c80cf1b0132b405c105d0833 was incomplete because it did not mark "cron" as ISFETCHED=1 although it performs the same operations as "install", but less output and does not perform a hard exit. Mark result as such and make "install" know that updates have been fetched. PR: 277699 Approved by: jrm (mentor), emaste, cperciva MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D44356 --- usr.sbin/freebsd-update/freebsd-update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index a3e56127f9eb..88a0a4439e50 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -3457,6 +3457,7 @@ cmd_cron () { [ ${VERBOSELEVEL} = "debug" ]; then mail -s "`hostname` security updates" ${MAILTO} < ${TMPFILE} fi + ISFETCHED=1 rm ${TMPFILE} }