git: 2082f443dda8 - stable/14 - openssh: Add date bump command to FREEBSD-upgrade instructions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Oct 2026 14:41:11 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2082f443dda8f7f2bbe21ddee7c88af809348c78
commit 2082f443dda8f7f2bbe21ddee7c88af809348c78
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-08-24 01:36:25 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-10-05 14:40:50 +0000
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 0ec81f6a531bf7b3b06e869c99295f3d4ab9ed8e)
(cherry picked from commit 2ba5b9da2be10261c383035bef932cd37d52f903)
---
crypto/openssh/FREEBSD-upgrade | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/crypto/openssh/FREEBSD-upgrade b/crypto/openssh/FREEBSD-upgrade
index 6987956ce163..f536ade84788 100644
--- a/crypto/openssh/FREEBSD-upgrade
+++ b/crypto/openssh/FREEBSD-upgrade
@@ -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