From nobody Mon Apr 01 19:20:08 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 4V7gnh1jvgz5GgPZ; Mon, 1 Apr 2024 19:20:08 +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 4V7gnh1BSxz4snL; Mon, 1 Apr 2024 19:20:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711999208; 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=Nd/m+NzGkZbPWGhyjDGTFTd19/mmo0P1ynp309fauEI=; b=R2oKoZkvYMoM8jtig5iBJlvqCcEEbpJGidNUWwOqrH+vr1Ov/l8w0LzZL+BYoI9C6Rrp0H xgrUBlAYd57iBBqWN+nhKHilYTabu7ezp8uR+dNnUwbu618Y8sot6cztva6FAAWlCwGOUl smRsnnYvogdq9ErRxgpbhnievrKI5EPK4dsfX23Xn02IIfhEX37wLICArw3wUgZvHe0Ib5 kBpA/eno10geEG3lmE3V6XVKPP4ptnrB0K/vOd4+NBxmLUwFXPk9FJ8OpCOOiNWpMOAJpw x4Vy2hG5XbVeUQsnJxPNixkxFEgtDVUD5hW49D/oYfqiF0jh7bK76mTMYROFLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711999208; a=rsa-sha256; cv=none; b=qiX2RW6hik+0m8uCJ2fIEGY5K5Gp7PAor+oJVbY7j85fZsNornfZJfg1T4mtdB2q7o6Dbe 4dEQVypBzOgqulaYxRBeg/0aWaRVLvTEOr5mLuD958/xiBRgXoXE16Vs0QCcuPAcuX/3Vb xrTIjPMIthfwglwdGOeT0VhQNbXb59yu1oRSckqFN5+17QjEvom3BNemf3zYxdk1PlYMrw UbQ0glIponKT8VuhorG4B4g37XJYMiXJSxN4Uc7bV+QfAqXevNcxOi7bZ4EyrmWj57Ihha Z50gm0A06oJJrVm7z+nZ6CzFC5HG62H+x7Rdv9Y3S2ebD5DrNv2irK7+0xhfDg== 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=1711999208; 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=Nd/m+NzGkZbPWGhyjDGTFTd19/mmo0P1ynp309fauEI=; b=s00i0zL1PER7QbqCVD5azKba5w9AWgSLHrdFcA2oiMbgMB25BMDrGDFEB0wo/5fTlKWxfz RIq9bRCEAyBiQt/IyttBgWmetgzMZL1/fqVBOJvJ/KVLGM0qW8X60kRJy7g5ilW5W6c+5B u1eBL31N3YqXtbcn5wMrM+Amrw1rOdrC5PGC66rELgGo1dNCat4eT6Ree0rCpKdmGcRWcS zbwAOtYYjHuiZLXUL52Isc+0rSxBnSOplO+OE+hEWpnyWngeKc0XDjI6K8NOuDCRtcLL8x MdRrA157BnC3tljvTE+e/t16qumU4QjfReBos3KMqAu0v8N2nRq3AkqCoA/5cQ== 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 4V7gnh0nwkzHjc; Mon, 1 Apr 2024 19:20:08 +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 431JK8Nm031201; Mon, 1 Apr 2024 19:20:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 431JK8tQ031197; Mon, 1 Apr 2024 19:20:08 GMT (envelope-from git) Date: Mon, 1 Apr 2024 19:20:08 GMT Message-Id: <202404011920.431JK8tQ031197@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Osipov Subject: git: fc5208028a78 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: fc5208028a78b014bdb1c77264c5b8c1823f9281 Auto-Submitted: auto-generated The branch stable/13 has been updated by michaelo: URL: https://cgit.FreeBSD.org/src/commit/?id=fc5208028a78b014bdb1c77264c5b8c1823f9281 commit fc5208028a78b014bdb1c77264c5b8c1823f9281 Author: Michael Osipov AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov CommitDate: 2024-04-01 19:19:50 +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 551d40418240..9af6e8d711ed 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} }