git: 0ec81f6a531b - main - openssh: Add date bump command to FREEBSD-upgrade instructions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Aug 2026 18:47:11 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ec81f6a531bf7b3b06e869c99295f3d4ab9ed8e
commit 0ec81f6a531bf7b3b06e869c99295f3d4ab9ed8e
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-08-24 01:36:25 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-08-24 18:47:03 +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
---
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