git: dd75360fe538 - stable/13 - ssh: drop $FreeBSD$ from crypto/openssh

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Fri, 07 Oct 2022 01:39:41 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=dd75360fe538f3ff8919bfd1eb20dca94093ebe4

commit dd75360fe538f3ff8919bfd1eb20dca94093ebe4
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-04-22 23:05:44 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-10-07 01:39:00 +0000

    ssh: drop $FreeBSD$ from crypto/openssh
    
    After we moved to git $FreeBSD$ is no longer expanded and serves no
    purpose.  Remove them from OpenSSH to reduce diffs against upstream.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 835ee05f3c754d905099a3500f421dc01fab028f)
---
 crypto/openssh/FREEBSD-upgrade       | 2 --
 crypto/openssh/auth.c                | 1 -
 crypto/openssh/auth2.c               | 1 -
 crypto/openssh/freebsd-configure.sh  | 5 +----
 crypto/openssh/freebsd-namespace.sh  | 2 --
 crypto/openssh/freebsd-post-merge.sh | 2 --
 crypto/openssh/freebsd-pre-merge.sh  | 2 --
 crypto/openssh/krb5_config.h         | 1 -
 crypto/openssh/packet.c              | 1 -
 crypto/openssh/pathnames.h           | 1 -
 crypto/openssh/readconf.c            | 1 -
 crypto/openssh/readconf.h            | 1 -
 crypto/openssh/sandbox-capsicum.c    | 1 -
 crypto/openssh/servconf.c            | 1 -
 crypto/openssh/session.c             | 1 -
 crypto/openssh/ssh-agent.1           | 1 -
 crypto/openssh/ssh-agent.c           | 1 -
 crypto/openssh/ssh-gss.h             | 1 -
 crypto/openssh/ssh.1                 | 1 -
 crypto/openssh/ssh.c                 | 1 -
 crypto/openssh/ssh_config            | 1 -
 crypto/openssh/ssh_config.5          | 1 -
 crypto/openssh/sshconnect.c          | 1 -
 crypto/openssh/sshd.8                | 1 -
 crypto/openssh/sshd.c                | 1 -
 crypto/openssh/sshd_config           | 1 -
 crypto/openssh/sshd_config.5         | 1 -
 crypto/openssh/umac128.c             | 1 -
 crypto/openssh/version.h             | 1 -
 29 files changed, 1 insertion(+), 36 deletions(-)

diff --git a/crypto/openssh/FREEBSD-upgrade b/crypto/openssh/FREEBSD-upgrade
index 28c7dec068fb..82e1234a7bab 100644
--- a/crypto/openssh/FREEBSD-upgrade
+++ b/crypto/openssh/FREEBSD-upgrade
@@ -198,5 +198,3 @@ Labs, ThinkSec, Nescafé, the Aberlour Glenlivet Distillery Co.,
 Suzanne Vega, and a Sanford's #69 Deluxe Marker.
 
 					-- des@FreeBSD.org
-
-$FreeBSD$
diff --git a/crypto/openssh/auth.c b/crypto/openssh/auth.c
index ad5a14e05ae8..0852a2d85728 100644
--- a/crypto/openssh/auth.c
+++ b/crypto/openssh/auth.c
@@ -24,7 +24,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/crypto/openssh/auth2.c b/crypto/openssh/auth2.c
index ec17c4b0b256..6f43c0979f19 100644
--- a/crypto/openssh/auth2.c
+++ b/crypto/openssh/auth2.c
@@ -24,7 +24,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/crypto/openssh/freebsd-configure.sh b/crypto/openssh/freebsd-configure.sh
index 3cde318ade58..28c9564435b2 100755
--- a/crypto/openssh/freebsd-configure.sh
+++ b/crypto/openssh/freebsd-configure.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 #
-# $FreeBSD$
-#
 
 configure_args="
     --prefix=/usr
@@ -49,10 +47,9 @@ mv config.h config.h.sk-builtin
 sh configure $configure_args --without-kerberos5 --without-security-key-builtin
 
 # Extract the difference
-echo '/* $Free''BSD$ */' > krb5_config.h
 diff -u config.h.kerberos5 config.h |
 	sed -n '/^-#define/s/^-//p' |
-	grep -Ff /dev/stdin config.h.kerberos5 >> krb5_config.h
+	grep -Ff /dev/stdin config.h.kerberos5 > krb5_config.h
 
 # Extract the difference - SK
 diff -u config.h.sk-builtin config.h |
diff --git a/crypto/openssh/freebsd-namespace.sh b/crypto/openssh/freebsd-namespace.sh
index 79416247aff9..b347700b95f7 100755
--- a/crypto/openssh/freebsd-namespace.sh
+++ b/crypto/openssh/freebsd-namespace.sh
@@ -6,8 +6,6 @@
 # other libraries or applications which link with libssh, either directly
 # or indirectly (e.g. through PAM loading pam_ssh).
 #
-# $FreeBSD$
-#
 
 set -e
 
diff --git a/crypto/openssh/freebsd-post-merge.sh b/crypto/openssh/freebsd-post-merge.sh
index b9e4cbddc7e8..ede469cf8283 100755
--- a/crypto/openssh/freebsd-post-merge.sh
+++ b/crypto/openssh/freebsd-post-merge.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 #
-# $FreeBSD$
-#
 
 xargs perl -n -i -e '
 	print;
diff --git a/crypto/openssh/freebsd-pre-merge.sh b/crypto/openssh/freebsd-pre-merge.sh
index f98e71822a0c..20376fb52351 100755
--- a/crypto/openssh/freebsd-pre-merge.sh
+++ b/crypto/openssh/freebsd-pre-merge.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 #
-# $FreeBSD$
-#
 
 :>keywords
 :>rcsid
diff --git a/crypto/openssh/krb5_config.h b/crypto/openssh/krb5_config.h
index af1f80bb599a..2a6d35fbe3fd 100644
--- a/crypto/openssh/krb5_config.h
+++ b/crypto/openssh/krb5_config.h
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
 #define GSSAPI 1
 #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE 1
 #define HAVE_GSSAPI_GSSAPI_H 1
diff --git a/crypto/openssh/packet.c b/crypto/openssh/packet.c
index fb65e6eb700e..a4d0537c7742 100644
--- a/crypto/openssh/packet.c
+++ b/crypto/openssh/packet.c
@@ -38,7 +38,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include "openbsd-compat/sys-queue.h"
diff --git a/crypto/openssh/pathnames.h b/crypto/openssh/pathnames.h
index eafa7d4efa41..205c9b0f696e 100644
--- a/crypto/openssh/pathnames.h
+++ b/crypto/openssh/pathnames.h
@@ -1,5 +1,4 @@
 /* $OpenBSD: pathnames.h,v 1.31 2019/11/12 19:33:08 markus Exp $ */
-/* $FreeBSD$ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
diff --git a/crypto/openssh/readconf.c b/crypto/openssh/readconf.c
index d01716d6ea65..0a59470a74ae 100644
--- a/crypto/openssh/readconf.c
+++ b/crypto/openssh/readconf.c
@@ -13,7 +13,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/crypto/openssh/readconf.h b/crypto/openssh/readconf.h
index be67885e3903..31f4acb47084 100644
--- a/crypto/openssh/readconf.h
+++ b/crypto/openssh/readconf.h
@@ -1,5 +1,4 @@
 /* $OpenBSD: readconf.h,v 1.146 2021/12/19 22:14:47 djm Exp $ */
-/* $FreeBSD$ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
diff --git a/crypto/openssh/sandbox-capsicum.c b/crypto/openssh/sandbox-capsicum.c
index dc3a22538872..ad241f6fd027 100644
--- a/crypto/openssh/sandbox-capsicum.c
+++ b/crypto/openssh/sandbox-capsicum.c
@@ -15,7 +15,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #ifdef SANDBOX_CAPSICUM
 
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c
index 6ab8e66f09e2..6eaf9c2876ff 100644
--- a/crypto/openssh/servconf.c
+++ b/crypto/openssh/servconf.c
@@ -12,7 +12,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/socket.h>
diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c
index 375ccb671d80..ba0bbffdb440 100644
--- a/crypto/openssh/session.c
+++ b/crypto/openssh/session.c
@@ -34,7 +34,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
diff --git a/crypto/openssh/ssh-agent.1 b/crypto/openssh/ssh-agent.1
index 8844b2eb45e8..e918691ba9f7 100644
--- a/crypto/openssh/ssh-agent.1
+++ b/crypto/openssh/ssh-agent.1
@@ -1,5 +1,4 @@
 .\" $OpenBSD: ssh-agent.1,v 1.73 2022/03/31 17:27:27 naddy Exp $
-.\" $FreeBSD$
 .\"
 .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
 .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
diff --git a/crypto/openssh/ssh-agent.c b/crypto/openssh/ssh-agent.c
index a777d8b1c18c..479c77d1a945 100644
--- a/crypto/openssh/ssh-agent.c
+++ b/crypto/openssh/ssh-agent.c
@@ -35,7 +35,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/resource.h>
diff --git a/crypto/openssh/ssh-gss.h b/crypto/openssh/ssh-gss.h
index e19009770f5d..8e3cf2c0d79d 100644
--- a/crypto/openssh/ssh-gss.h
+++ b/crypto/openssh/ssh-gss.h
@@ -1,5 +1,4 @@
 /* $OpenBSD: ssh-gss.h,v 1.15 2021/01/27 10:05:28 djm Exp $ */
-/* $FreeBSD$ */
 /*
  * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
  *
diff --git a/crypto/openssh/ssh.1 b/crypto/openssh/ssh.1
index 9c6f5b798778..be43e87134b2 100644
--- a/crypto/openssh/ssh.1
+++ b/crypto/openssh/ssh.1
@@ -34,7 +34,6 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $OpenBSD: ssh.1,v 1.430 2022/03/31 17:27:27 naddy Exp $
-.\" $FreeBSD$
 .Dd $Mdocdate: March 31 2022 $
 .Dt SSH 1
 .Os
diff --git a/crypto/openssh/ssh.c b/crypto/openssh/ssh.c
index e1c8011bba8c..860ad31954a0 100644
--- a/crypto/openssh/ssh.c
+++ b/crypto/openssh/ssh.c
@@ -41,7 +41,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
diff --git a/crypto/openssh/ssh_config b/crypto/openssh/ssh_config
index 792a47f333ee..7c7ad542e4ef 100644
--- a/crypto/openssh/ssh_config
+++ b/crypto/openssh/ssh_config
@@ -1,5 +1,4 @@
 #	$OpenBSD: ssh_config,v 1.35 2020/07/17 03:43:42 dtucker Exp $
-#	$FreeBSD$
 
 # This is the ssh client system-wide configuration file.  See
 # ssh_config(5) for more information.  This file provides defaults for
diff --git a/crypto/openssh/ssh_config.5 b/crypto/openssh/ssh_config.5
index 2762e25004b4..7f0120c217d9 100644
--- a/crypto/openssh/ssh_config.5
+++ b/crypto/openssh/ssh_config.5
@@ -34,7 +34,6 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $OpenBSD: ssh_config.5,v 1.371 2022/03/31 17:58:44 naddy Exp $
-.\" $FreeBSD$
 .Dd $Mdocdate: March 31 2022 $
 .Dt SSH_CONFIG 5
 .Os
diff --git a/crypto/openssh/sshconnect.c b/crypto/openssh/sshconnect.c
index d175ccdccec2..8030583c50aa 100644
--- a/crypto/openssh/sshconnect.c
+++ b/crypto/openssh/sshconnect.c
@@ -14,7 +14,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/wait.h>
diff --git a/crypto/openssh/sshd.8 b/crypto/openssh/sshd.8
index db4c35da847c..1043185c539c 100644
--- a/crypto/openssh/sshd.8
+++ b/crypto/openssh/sshd.8
@@ -34,7 +34,6 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $OpenBSD: sshd.8,v 1.318 2022/03/31 17:27:27 naddy Exp $
-.\" $FreeBSD$
 .Dd $Mdocdate: March 31 2022 $
 .Dt SSHD 8
 .Os
diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c
index 99fae00aa7ce..d3da2fa10969 100644
--- a/crypto/openssh/sshd.c
+++ b/crypto/openssh/sshd.c
@@ -43,7 +43,6 @@
  */
 
 #include "includes.h"
-__RCSID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
diff --git a/crypto/openssh/sshd_config b/crypto/openssh/sshd_config
index 1be5dcad866c..84250a46a6d6 100644
--- a/crypto/openssh/sshd_config
+++ b/crypto/openssh/sshd_config
@@ -1,5 +1,4 @@
 #	$OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $
-#	$FreeBSD$
 
 # This is the sshd server system-wide configuration file.  See
 # sshd_config(5) for more information.
diff --git a/crypto/openssh/sshd_config.5 b/crypto/openssh/sshd_config.5
index ef5da8a1655a..20938e49f586 100644
--- a/crypto/openssh/sshd_config.5
+++ b/crypto/openssh/sshd_config.5
@@ -34,7 +34,6 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $OpenBSD: sshd_config.5,v 1.340 2022/03/31 17:58:44 naddy Exp $
-.\" $FreeBSD$
 .Dd $Mdocdate: March 31 2022 $
 .Dt SSHD_CONFIG 5
 .Os
diff --git a/crypto/openssh/umac128.c b/crypto/openssh/umac128.c
index 88b242a6fd5c..7d8798f10f8b 100644
--- a/crypto/openssh/umac128.c
+++ b/crypto/openssh/umac128.c
@@ -1,5 +1,4 @@
 /* $OpenBSD: umac128.c,v 1.2 2018/02/08 04:12:32 dtucker Exp $ */
-/* $FreeBSD$ */
 
 /* undo ssh_namespace.h munging */
 #undef umac_new
diff --git a/crypto/openssh/version.h b/crypto/openssh/version.h
index 52b1897c57b0..f4800eaa05e8 100644
--- a/crypto/openssh/version.h
+++ b/crypto/openssh/version.h
@@ -1,5 +1,4 @@
 /* $OpenBSD: version.h,v 1.93 2022/02/23 11:07:09 djm Exp $ */
-/* $FreeBSD$ */
 
 #define SSH_VERSION	"OpenSSH_9.0"