From nobody Fri Mar 15 09:13:00 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 4Twz706nYWz5D06Y; Fri, 15 Mar 2024 09:13:00 +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 4Twz703snFz4tMB; Fri, 15 Mar 2024 09:13:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710493980; 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=Vx4Cck+Qnw8bKL2BVY8Tk3JI15J3o51LVegkQiRwmP8=; b=x7MBjCVTWGL9DDz90nI5T62vGxcP6cjD7vR6mFUEDuxvjtpw8nugGC5rC+LbD425o2NFry teOJyscKxrM6HsidawQi6lsP4WSWVsUVH8TNt8kQxBO8rqT6vVt5DI2QviQl+KDKSosRPy oUEUx0H4mRtiD7ZtmMHyIb0VZlVp+RcWDsrmeHy2o7WirdXZQe/sXVivzDiHVdk3FwNbS/ 5IpNgmSBJX219XcVJcWHQmBdddXAeyRUnVctX+4gh9QM66uspqMbQnO5HoFBqGADHLpney AUlaYFeAMLFF/xLEQrZjFKkZSJwaEfox69WkGELbztUmkMMtXCrXmVqXOjZYPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710493980; a=rsa-sha256; cv=none; b=wxvMpbz7dDgmFxuCmK8WLEWd6bUXQdJPsQSDwKLZQDRm+iUTJXKJguU9gcXFzmLVmxvCIG ST+Q5rLlhU3O7WfoFnrZ7JejvAxPC4YLWsM09vDk3noxcDWvbhv0LFDIVuLBLIk1A25xZb A0WkHs59ace/EB7mkZCpLsrf9At3WzRXWn5gdsJT0T6cuT6f7k0nT8j0g11EcFoZCBIF84 eaIrp0iJEwmPu3wzA9232vRMlVPkIOrD0zs8+G7lxleYvUkFzlTCIwYS6MfPGVPDMmV0BL LIpXuoDGukD7wmXb7+L8PkAn+6pl4qk9keqy/UlSAR018ik57nbRzH9+0dGFuw== 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=1710493980; 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=Vx4Cck+Qnw8bKL2BVY8Tk3JI15J3o51LVegkQiRwmP8=; b=DWt12DjEEXQfxpBu7mgW3LJu6F+jvvhAQZW+iLe1NKxxNdL+om5W8Y3xHSIxUPedis9PSH AajJeyAlvQDAs8CrAn8czpmcqn4wH/L3TOnNAoPDRI0TGcSsDTpRt6B18BMOMKEXJTqOgZ DFgwLwBFJwiBl/97kQLGXPkGHmFBiePgbZy7htCQLdi6JWhYBVJsRSggciuRdDDKjHEMC3 2ELyoGJMcJNYiV1D5QLbAjwjxZ9E2Dle2egvI6hJk1wCs6q/K3BjcL30VRw3MVyqpFs5cH kYs/rg4vGKf9Kdsd9oTR/KH2KHyvv4C+kZf6lkYEMXpYpKj2ioz/ZV45a+RjTg== 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 4Twz703T1Bz14jQ; Fri, 15 Mar 2024 09:13:00 +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 42F9D0gO022871; Fri, 15 Mar 2024 09:13:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42F9D0mc022868; Fri, 15 Mar 2024 09:13:00 GMT (envelope-from git) Date: Fri, 15 Mar 2024 09:13:00 GMT Message-Id: <202403150913.42F9D0mc022868@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 406f9fd0a7d8 - stable/14 - md5.1: Fix the GNU mode example when using a digest file 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: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 406f9fd0a7d8051e2d461b4b5673a9116a993a25 Auto-Submitted: auto-generated The branch stable/14 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=406f9fd0a7d8051e2d461b4b5673a9116a993a25 commit 406f9fd0a7d8051e2d461b4b5673a9116a993a25 Author: Gordon Bergling AuthorDate: 2024-03-12 14:44:48 +0000 Commit: Gordon Bergling CommitDate: 2024-03-15 09:12:48 +0000 md5.1: Fix the GNU mode example when using a digest file The last example in the manpage md5(1) wants to demonstrate GNU mode (md5sum), but uses BSD mode (md5) instead. In GNU mode, the -c option does not compare against a hash string passed as parameter. Instead, it expects a digest file, as created under the name digest for /boot/loader.conf in the example above. PR: 276560 Reviewed by: mhorne, des Differential Revision: https://reviews.freebsd.org/D44098 (cherry picked from commit f3343fe4a64fe6a25b4e09ab9061a45f82e5abc1) --- sbin/md5/md5.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1 index 0a8dc46f3b1f..b530292c8269 100644 --- a/sbin/md5/md5.1 +++ b/sbin/md5/md5.1 @@ -1,4 +1,4 @@ -.Dd February 13, 2024 +.Dd March 12, 2024 .Dt MD5 1 .Os .Sh NAME @@ -367,7 +367,7 @@ for .Pa /boot/loader.conf in the example above. .Bd -literal -offset indent -$ md5 -c digest /boot/loader.conf +$ md5sum -c digest /boot/loader.conf: OK .Ed .Pp