openssh: Add date bump command to FREEBSD-upgrade instructions

Provide a convenient in-place sed edit command to update the FreeBSD
VersionAddendum dates with today's date.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 0ec81f6a53)
(cherry picked from commit 2ba5b9da2b)
This commit is contained in:
Ed Maste committed 2026-10-05 10:40:50 -04:00
1 parent b690ed49ff
commit 2082f443dd
1 file changed
+5
+5
View File
@@ -69,6 +69,11 @@
version.h, and update the default value in sshd_config and
sshd_config.5.
$ sed -E -i "" "s/FreeBSD-202[0-9]{5}/FreeBSD-$(date +%Y%m%d)/" \
crypto/openssh/sshd_config \
crypto/openssh/sshd_config.5 \
crypto/openssh/version.h
11) Diff against the vendor branch:
$ git diff --diff-filter=M vendor/openssh/X.YpZ HEAD:crypto/openssh