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
This commit is contained in:
Ed Maste committed 2026-08-24 14:47:03 -04:00
1 parent 417d6470cb
commit 0ec81f6a53
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