Almost all kernel configuration files contain in their header the following Handbook link: https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html However, that links to an outdated version of the Handbook, and should be: https://www.FreeBSD.org/doc/en/books/handbook/kernelconfig-config.html The following 35 kernel configuration files are affected: # grep -Rl "en_US.ISO8859-1" /usr/src/sys/*/conf/ /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/GENERIC-KCSAN /usr/src/sys/amd64/conf/MINIMAL /usr/src/sys/arm/conf/ALPINE /usr/src/sys/arm/conf/APALIS-IMX6 /usr/src/sys/arm/conf/ARMADAXP /usr/src/sys/arm/conf/COLIBRI-VF50 /usr/src/sys/arm/conf/COSMIC /usr/src/sys/arm/conf/EFIKA_MX /usr/src/sys/arm/conf/GENERIC /usr/src/sys/arm/conf/VERSATILEPB /usr/src/sys/arm/conf/IMX53 /usr/src/sys/arm/conf/IMX6 /usr/src/sys/arm/conf/JETSON-TK1 /usr/src/sys/arm/conf/QUARTZ /usr/src/sys/arm/conf/RPI-B /usr/src/sys/arm/conf/SOCDK /usr/src/sys/arm/conf/SOCFPGA /usr/src/sys/arm/conf/SOCKIT /usr/src/sys/arm/conf/SOCKIT-BERI /usr/src/sys/arm/conf/TEGRA124 /usr/src/sys/arm/conf/VYBRID /usr/src/sys/arm/conf/ZEDBOARD /usr/src/sys/arm64/conf/GENERIC /usr/src/sys/arm64/conf/GENERIC-UP /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/MINIMAL /usr/src/sys/mips/conf/ERL /usr/src/sys/mips/conf/OCTEON1 /usr/src/sys/mips/conf/XLP64 /usr/src/sys/mips/conf/XLPN32 /usr/src/sys/powerpc/conf/GENERIC /usr/src/sys/powerpc/conf/GENERIC64 /usr/src/sys/powerpc/conf/GENERIC64LE /usr/src/sys/riscv/conf/GENERIC
Created attachment 224107 [details] Patch for src/* Mega patch for all of src attached. RELNOTES_LANG in release/Makefile doesn't seem to do anything, but the removal might need testing.
Should the new link be: https://docs.freebsd.org/en/books/handbook/kernelconfig/
8.4 at <https://docs.freebsd.org/en/books/handbook/kernelconfig-config.html> does appear to be outdated, compared to 8.4 at <https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config> The former refers to: > Section A.3, “Using Subversion” If one begins at the FreeBSD home page, then the FreeBSD Handbook finds 'Using Subversion' at section _4_ of Appendix A, <https://docs.freebsd.org/en/books/handbook/mirrors/#svn>.
I concur, the correct link is: https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
Created attachment 224244 [details] New patch New patch attached.
yoink
https://reviews.freebsd.org/D30265 opened
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c1a148873d6488f1dac1cfb207a5927cef89888e commit c1a148873d6488f1dac1cfb207a5927cef89888e Author: Ceri Davies <ceri@FreeBSD.org> AuthorDate: 2021-05-20 08:26:02 +0000 Commit: Ceri Davies <ceri@FreeBSD.org> CommitDate: 2021-05-20 08:27:10 +0000 sys/*/conf/*, docs: fix links to handbook While here, fix all links to older en_US.ISO8859-1 documentation in the src/ tree. PR: 255026 Reported by: Michael Büker <freebsd@michael-bueker.de> Reviewed by: dbaio Approved by: blackend (mentor), re (gjb) MFC after: 10 days Differential Revision: https://reviews.freebsd.org/D30265 UPDATING | 2 +- release/Makefile | 1 - share/man/man4/mac.4 | 4 ++-- share/man/man7/release.7 | 6 +++--- share/man/man9/mac.9 | 4 ++-- share/man/man9/pci.9 | 4 ++-- sys/amd64/conf/GENERIC | 2 +- sys/amd64/conf/GENERIC-KCSAN | 2 +- sys/amd64/conf/GENERIC-NODEBUG | 2 +- sys/amd64/conf/MINIMAL | 2 +- sys/arm/conf/ALPINE | 2 +- sys/arm/conf/APALIS-IMX6 | 2 +- sys/arm/conf/ARMADAXP | 2 +- sys/arm/conf/COLIBRI-VF50 | 2 +- sys/arm/conf/COSMIC | 2 +- sys/arm/conf/EFIKA_MX | 2 +- sys/arm/conf/GENERIC | 2 +- sys/arm/conf/GENERIC-NODEBUG | 2 +- sys/arm/conf/IMX53 | 2 +- sys/arm/conf/IMX6 | 2 +- sys/arm/conf/JETSON-TK1 | 2 +- sys/arm/conf/QUARTZ | 2 +- sys/arm/conf/RPI-B | 2 +- sys/arm/conf/SOCDK | 2 +- sys/arm/conf/SOCFPGA | 2 +- sys/arm/conf/SOCKIT | 2 +- sys/arm/conf/SOCKIT-BERI | 2 +- sys/arm/conf/TEGRA124 | 2 +- sys/arm/conf/VYBRID | 2 +- sys/arm/conf/ZEDBOARD | 2 +- sys/arm64/conf/GENERIC | 2 +- sys/arm64/conf/GENERIC-NODEBUG | 2 +- sys/arm64/conf/GENERIC-UP | 2 +- sys/contrib/zstd/FREEBSD-upgrade | 2 +- sys/i386/conf/GENERIC | 2 +- sys/i386/conf/GENERIC-NODEBUG | 2 +- sys/i386/conf/MINIMAL | 2 +- sys/mips/conf/ERL | 2 +- sys/mips/conf/OCTEON1 | 2 +- sys/mips/conf/XLP64 | 2 +- sys/mips/conf/XLPN32 | 2 +- sys/powerpc/conf/GENERIC | 2 +- sys/powerpc/conf/GENERIC-NODEBUG | 2 +- sys/powerpc/conf/GENERIC64 | 2 +- sys/powerpc/conf/GENERIC64-NODEBUG | 2 +- sys/powerpc/conf/GENERIC64LE | 2 +- sys/riscv/conf/GENERIC | 2 +- sys/riscv/conf/GENERIC-NODEBUG | 2 +- usr.bin/fortune/datfiles/freebsd-tips | 3 +-- usr.bin/timeout/timeout.1 | 6 +++--- usr.sbin/lpr/lpd/printcap | 2 +- usr.sbin/mergemaster/mergemaster.8 | 7 +++---- usr.sbin/ppp/ppp.8 | 8 +++----- 53 files changed, 63 insertions(+), 68 deletions(-)
Looks like it's all fixed in -CURRENT. Is this bug waiting for backports to the -STABLE branches, or can it be closed?
Yes, I'll MFC them back to 12- and 13-stable.
^Triage: set flag for MFC to 13. 12 is now OBE, though.
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=677a7402cea46eb253a241b443471ab072e2b6a7 commit 677a7402cea46eb253a241b443471ab072e2b6a7 Author: Ceri Davies <ceri@FreeBSD.org> AuthorDate: 2021-05-20 08:26:02 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-01-10 03:07:46 +0000 sys/*/conf/*, docs: fix links to handbook While here, fix all links to older en_US.ISO8859-1 documentation in the src/ tree. PR: 255026 Reported by: Michael Büker <freebsd@michael-bueker.de> Reviewed by: dbaio Differential Revision: https://reviews.freebsd.org/D30265 (cherry picked from commit c1a148873d6488f1dac1cfb207a5927cef89888e) bin/timeout/timeout.1 | 4 ++-- release/Makefile | 1 - share/man/man4/mac.4 | 2 +- share/man/man7/release.7 | 4 ++-- share/man/man9/mac.9 | 4 ++-- share/man/man9/pci.9 | 4 ++-- sys/amd64/conf/GENERIC | 2 +- sys/amd64/conf/GENERIC-KCSAN | 2 +- sys/amd64/conf/MINIMAL | 2 +- sys/arm/conf/ALPINE | 2 +- sys/arm/conf/APALIS-IMX6 | 2 +- sys/arm/conf/ARMADAXP | 2 +- sys/arm/conf/COLIBRI-VF50 | 2 +- sys/arm/conf/COSMIC | 2 +- sys/arm/conf/EFIKA_MX | 2 +- sys/arm/conf/GENERIC | 2 +- sys/arm/conf/IMX53 | 2 +- sys/arm/conf/IMX6 | 2 +- sys/arm/conf/JETSON-TK1 | 2 +- sys/arm/conf/QUARTZ | 2 +- sys/arm/conf/RPI-B | 2 +- sys/arm/conf/SOCDK | 2 +- sys/arm/conf/SOCFPGA | 2 +- sys/arm/conf/SOCKIT | 2 +- sys/arm/conf/SOCKIT-BERI | 2 +- sys/arm/conf/TEGRA124 | 2 +- sys/arm/conf/VERSATILEPB | 2 +- sys/arm/conf/VYBRID | 2 +- sys/arm/conf/ZEDBOARD | 2 +- sys/arm64/conf/GENERIC | 2 +- sys/arm64/conf/GENERIC-UP | 2 +- sys/contrib/zstd/FREEBSD-upgrade | 2 +- sys/i386/conf/GENERIC | 2 +- sys/i386/conf/MINIMAL | 2 +- sys/mips/conf/ERL | 2 +- sys/mips/conf/OCTEON1 | 2 +- sys/mips/conf/XLP64 | 2 +- sys/mips/conf/XLPN32 | 2 +- sys/powerpc/conf/GENERIC | 2 +- sys/powerpc/conf/GENERIC64 | 2 +- sys/powerpc/conf/GENERIC64LE | 2 +- sys/riscv/conf/GENERIC | 2 +- usr.bin/fortune/datfiles/freebsd-tips | 3 +-- usr.sbin/lpr/lpd/printcap | 2 +- usr.sbin/mergemaster/mergemaster.8 | 5 ++--- usr.sbin/ppp/ppp.8 | 8 +++----- 46 files changed, 52 insertions(+), 57 deletions(-)