mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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 commit0ec81f6a53) (cherry picked from commit2ba5b9da2b)
This commit is contained in:
1 parent
b690ed49ff
commit
2082f443dd
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user