diff --git a/.cirrus.yml b/.cirrus.yml index 345e7ab148bb..18417b52e6c9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -23,6 +23,7 @@ task: TOOLCHAIN: llvm15 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite - name: amd64-llvm16 World and kernel build and boot smoke test + only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src' || $CIRRUS_BRANCH =~ 'pull/.*' env: TARGET: amd64 TARGET_ARCH: amd64 @@ -63,7 +64,7 @@ task: TOOLCHAIN_PKG: ${TOOLCHAIN} EXTRA_MAKE_FLAGS: -s - name: amd64-gcc12 World and kernel build and boot smoke test (FreeBSD repo) - only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src' + only_if: $CIRRUS_REPO_FULL_NAME == 'freebsd/freebsd-src' && $CIRRUS_BRANCH =~ 'pull/.*' env: TARGET: amd64 TARGET_ARCH: amd64 diff --git a/.last_merge b/.last_merge index 62318cf9a01a..ddab80a9bd7b 100644 --- a/.last_merge +++ b/.last_merge @@ -1 +1 @@ -freebsd-main-20230929 +freebsd-main-20231013 diff --git a/.mailmap b/.mailmap index 273abae90fc5..2e4c03966084 100644 --- a/.mailmap +++ b/.mailmap @@ -7,3 +7,10 @@ Mina Galić Mina Galić Mina Galić +Michal Meloun +Dmitriy Alexandrov +Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> +Alfonso Gregory <83477269+gAlfonso-bit@users.noreply.github.com> +Jose Luis Duran +Val Packett +Piotr Paweł Stefaniak diff --git a/Makefile.inc1 b/Makefile.inc1 index 8e8d855d1113..3229ed4c26ae 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -3469,6 +3469,7 @@ list-old-files: .PHONY @cd ${.CURDIR}; \ ${MAKE} -f ${.CURDIR}/Makefile.inc1 ${.MAKEFLAGS} ${.TARGET} \ -V "OLD_FILES:ts\n" -V "OLD_FILES:Musr/share/*.gz:R:ts\n" \ + -V "MOVED_LIBS:ts\n" \ ${_ALL_libcompats:@v@-V "OLD_FILES:Mlib/*.so.*:S,^lib,usr/lib$v,:ts\n"@} \ ${_ALL_libcompats:@v@-V "OLD_FILES:Musr/lib/*:S,^usr/lib,usr/lib$v,:ts\n"@} | \ sort diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index b447ae9845d1..a6d0f7c6acaa 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,6 +51,13 @@ # xargs -n1 | sort | uniq -d; # done +# 20231005: Remove man page link for now gone net80211 function. +OLD_FILES+=usr/share/man/man9/ieee80211_unref_node.9.gz + +# 20231005: bsdconfig remove support for floppy and ftp +OLD_FILES+=usr/share/bsdconfig/media/floppy.subr +OLD_FILES+=usr/share/bsdconfig/media/ftp.subr + # 20230927: Man pages renamed to match the actual functions OLD_FILES+=usr/share/man/man9/cr_seeothergids.9.gz OLD_FILES+=usr/share/man/man9/cr_seeotheruids.9.gz @@ -17673,11 +17680,6 @@ OLD_FILES+=usr/share/man/man5/usbd.conf.5.gz .if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64" OLD_FILES+=usr/share/man/man8/boot_i386.8.gz .endif -.if ${TARGET_ARCH:Maarch64} != "" && ${TARGET} != "arm" && \ - ${TARGET_ARCH} != "powerpc" && ${TARGET_ARCH} != "powerpc64" && \ - ${TARGET_ARCH} != "sparc64" && ${TARGET} != "mips" -OLD_FILES+=usr/share/man/man8/ofwdump.8.gz -.endif OLD_FILES+=usr/share/man/man8/mount_reiserfs.8.gz OLD_FILES+=usr/share/man/man9/VFS_START.9.gz OLD_FILES+=usr/share/man/man9/cpu_critical_exit.9.gz diff --git a/RELNOTES b/RELNOTES index c5686a4f30fb..77d423a5c50c 100644 --- a/RELNOTES +++ b/RELNOTES @@ -10,6 +10,9 @@ newline. Entries should be separated by a newline. Changes to this file should not be MFCed. +ff01d71e48d4: + dialog(1) has been replaced by bsddialog(1) + 41582f28ddf7: FreeBSD 15.0 will not include support for 32-bit platforms. However, 64-bit systems will still be able to run older 32-bit diff --git a/UPDATING b/UPDATING index a1bcecadd357..b750b2b913b5 100644 --- a/UPDATING +++ b/UPDATING @@ -27,6 +27,17 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW: world, or to merely disable the most expensive debugging functionality at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20231010: + dialog(1) has been replaced in base by bsddialog(1), while most of the + time replacing a dialog(1) call by a bsddialog(1) call works out of the + box, bsddialog(1) is not considered as a drop-in replacement for + dialog(1). + + If you do depend on dialog(1) functionality, please install cdialog + from ports: + + pkg install cdialog + 20230927: The EARLY_AP_STARTUP kernel option is mandatory on x86. The option has been added to DEFAULTS, so it should automatically be included in diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 23868d8b3009..c393b2e49c28 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -28,7 +28,7 @@ .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" -.Dd August 24, 2023 +.Dd October 6, 2023 .Dt PS 1 .Os .Sh NAME @@ -238,6 +238,11 @@ So the header texts for multiple keywords can be changed. If all keywords have empty header texts, no header line is written. .It Fl p Display information about processes which match the specified process IDs. +It implies the use of +.Fl x . +When combined with +.Fl d , +all descendent processes are included. .It Fl r Sort by current CPU usage, instead of the combination of controlling terminal and process ID. diff --git a/bin/stty/modes.c b/bin/stty/modes.c index ce39083d7d63..3818677ddc4e 100644 --- a/bin/stty/modes.c +++ b/bin/stty/modes.c @@ -126,6 +126,8 @@ static const struct modes imodes[] = { { "-decctlq", IXANY, 0 }, { "imaxbel", IMAXBEL, 0 }, { "-imaxbel", 0, IMAXBEL }, + { "iutf8", IUTF8, 0 }, + { "-iutf8", 0, IUTF8 }, { NULL, 0, 0 }, }; diff --git a/bin/stty/print.c b/bin/stty/print.c index 07a3c2058474..33472bbccea1 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -127,6 +127,7 @@ print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) put("-inpck", INPCK, 0); put("-ignpar", IGNPAR, 0); put("-parmrk", PARMRK, 0); + put("-iutf8", IUTF8, 1); /* output flags */ tmp = tp->c_oflag; diff --git a/bin/stty/stty.1 b/bin/stty/stty.1 index 9e9405928c67..c572a657a997 100644 --- a/bin/stty/stty.1 +++ b/bin/stty/stty.1 @@ -224,6 +224,9 @@ if .Cm imaxbel is unset and the input queue is full, the next input character causes the entire input and output queues to be discarded. +.It Cm iutf8 Pq Fl iutf8 +Assume that input characters are UTF-8 encoded. Setting this flag +causes backspace to properly delete multibyte characters in canonical mode. .El .Ss Output Modes: This corresponds to the c_oflag of the termios structure. diff --git a/bin/uuidgen/Makefile b/bin/uuidgen/Makefile index f0c4ce2e3538..234ee20300eb 100644 --- a/bin/uuidgen/Makefile +++ b/bin/uuidgen/Makefile @@ -1,4 +1,5 @@ +PACKAGE= runtime PROG= uuidgen .include diff --git a/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 b/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 index 42367b99b786..1745519c2c1a 100644 --- a/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 +++ b/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 @@ -18,8 +18,6 @@ .\" CDDL HEADER END .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" -.\" $FreeBSD$ -.\" .Dd February 24, 2023 .Dt DTRACE 1 .Os diff --git a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 index c649e21bb67e..6c9657fa5406 100644 --- a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 +++ b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 @@ -19,8 +19,6 @@ .\" CDDL HEADER END .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" -.\" $FreeBSD$ -.\" .Dd February 25, 2020 .Dt LOCKSTAT 1 .Os diff --git a/cddl/usr.sbin/dwatch/dwatch b/cddl/usr.sbin/dwatch/dwatch index 9adde7eb8d49..c9af8258f4ac 100755 --- a/cddl/usr.sbin/dwatch/dwatch +++ b/cddl/usr.sbin/dwatch/dwatch @@ -1327,7 +1327,6 @@ PSARGS_ACTION=$( cat <&9 ) * SUCH DAMAGE. * * $TITLE dtrace(1) script to log process(es) triggering $PROBE $ - * \$FreeBSD$ */ $( echo "$DTRACE_PRAGMA" | awk ' diff --git a/contrib/bsddialog/.gitignore b/contrib/bsddialog/.gitignore index 8b8ec9d4ae0b..c8fc68ed8a0e 100644 --- a/contrib/bsddialog/.gitignore +++ b/contrib/bsddialog/.gitignore @@ -12,8 +12,10 @@ examples_library/calendar examples_library/checklist examples_library/datebox examples_library/form +examples_library/gauge examples_library/infobox examples_library/menu +examples_library/mixedgauge examples_library/mixedlist examples_library/msgbox examples_library/pause diff --git a/contrib/bsddialog/CHANGELOG b/contrib/bsddialog/CHANGELOG index 883fe1016d01..e6295768d906 100644 --- a/contrib/bsddialog/CHANGELOG +++ b/contrib/bsddialog/CHANGELOG @@ -1,3 +1,173 @@ +2023-08-01 Version 1.0 + + Utility: + * add: comments to --save-theme output file. + * add: blink, halfbright, highlight to --save-theme and --load-theme. + * add: theme.menu.[f_]prefixcolor to --save-theme and --load-theme. + * add: --datebox-format to set --datebox UI. + * add: --help-print-items (--help-status becomes alias). + * add: --text-escape (--colors becomes alias). + * add: new escapes \Zd, \Zk, \Zs, \ZD, \ZK, \ZS, for --text-escape. + * add: env NO_COLOR, to set blackwhite theme. + * add: $HOME/.bsddialog.conf startup theme file. + * add: env BSDDIALOG_THEMEFILE startup theme file. + * add: --left1-button