FreeBSD/src 76d756erelease Makefile.vm

Makefile.vm: Split error condition

Make it clear which of two possible cases applies.

Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D56837
DeltaFile
+4-3release/Makefile.vm
+4-31 files

FreeBSD/src bc9f667usr.sbin/bhyve pci_virtio_scsi.c

bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression

If anyone would build bhyve with -DNDEBUG, any code in the expression
in assert() won't be executed.  Instead put the return value in a
temporary variable to assert that it has the expected value.

Reviewed by: emaste, markj (earlier version)
Fixes: 2a514d377b37 ("bhyve/virtio-scsi: Preallocate all I/O requests")
Differential Revision: https://reviews.freebsd.org/D55803
DeltaFile
+4-2usr.sbin/bhyve/pci_virtio_scsi.c
+4-21 files

FreeBSD/ports 595cf85www/firefox distinfo Makefile

www/firefox: update to 150.0.2 (rc2)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/150.0.2/releasenotes/

(cherry picked from commit 5f469675f3391d02aae83741c79bee2952af2a21)
DeltaFile
+3-3www/firefox/distinfo
+2-1www/firefox/Makefile
+5-42 files

FreeBSD/ports 5f46967www/firefox distinfo Makefile

www/firefox: update to 150.0.2 (rc2)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/150.0.2/releasenotes/
DeltaFile
+3-3www/firefox/distinfo
+2-1www/firefox/Makefile
+5-42 files

FreeBSD/ports 86891eddevel/nspr distinfo

devel/nspr: update to 4.39

add distinfo forgotten in
fed3d4e2ca197525244774201dc9686461904031

Pointy Hat: /me
DeltaFile
+3-3devel/nspr/distinfo
+3-31 files

FreeBSD/ports 02898f7www/firefox-esr distinfo Makefile

www/firefox-esr: update to 140.10.2 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/140.10.2/releasenotes/

(cherry picked from commit ba5672970e48fe44db547e2decb0e61159c61d61)
DeltaFile
+3-3www/firefox-esr/distinfo
+1-1www/firefox-esr/Makefile
+4-42 files

FreeBSD/ports 5c969f1www/firefox distinfo Makefile

www/firefox: update to 150.0.2 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/150.0.2/releasenotes/

(cherry picked from commit 1b4b514a635f585ad673a8ef7ca31b77a8c5440e)
DeltaFile
+3-3www/firefox/distinfo
+1-1www/firefox/Makefile
+4-42 files

FreeBSD/ports ba56729www/firefox-esr distinfo Makefile

www/firefox-esr: update to 140.10.2 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/140.10.2/releasenotes/
DeltaFile
+3-3www/firefox-esr/distinfo
+1-1www/firefox-esr/Makefile
+4-42 files

FreeBSD/ports 1b4b514www/firefox distinfo Makefile

www/firefox: update to 150.0.2 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/150.0.2/releasenotes/
DeltaFile
+3-3www/firefox/distinfo
+1-1www/firefox/Makefile
+4-42 files

FreeBSD/ports fed3d4edevel/nspr Makefile

devel/nspr: update to 4.39

Announcement:
  https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/S3z0rOO1xpg
DeltaFile
+1-1devel/nspr/Makefile
+1-11 files

FreeBSD/ports b9dea12math/pffft Makefile

math/pffft: correct CMake parameter name
DeltaFile
+1-1math/pffft/Makefile
+1-11 files

FreeBSD/src 0ae114fusr.bin/lockf/tests lockf_test.sh

lockf: Test that lockf does not spin on fd

Approved by:    re (cperciva)
PR:             294832
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56723

(cherry picked from commit 0733afdb4dad58cfe7ad7f5994e26bf148d78199)
(cherry picked from commit 8e5f92b6b22c82af1192575781788eb2c8fed448)
DeltaFile
+18-0usr.bin/lockf/tests/lockf_test.sh
+18-01 files

FreeBSD/src d0f618eusr.bin/lockf lockf.c

lockf: Avoid spinning when operating on an fd

When operating on a file descriptor, acquire_lock() would ignore the
flags argument and always operate in non-blocking mode, resulting in
unnecessary busy-looping.

Approved by:    re (cperciva)
PR:             294832
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56722

(cherry picked from commit d90513ea85693da0ca5955173609f4e81e38ae16)
(cherry picked from commit 651b82e64ef4f753d8f4c1793f359de39744526c)
DeltaFile
+5-1usr.bin/lockf/lockf.c
+5-11 files

FreeBSD/src c4be32ausr.bin/tail reverse.c

tail(1): Fix -r (reverse) to work on pseudo filesystems

Pseudo filesystems (e.g., procfs) advertise a zero file size.
Fix reverse() to handle such a case similarly as forward() so
that '-r' works on pseudo filesystems.

Approved by:    re (cperciva)
Signed-off-by:  Aaron LI <aly at aaronly.me>
Reviewed by:    pouria, Ricardo Branco <rbranco at suse.de>, des
Fixes:          1fb3caee7 ("tail: Do not trust st_size if it equals zero.")
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2080

(cherry picked from commit 4feeca3193c316c18472cd40f215446fda3bd739)
(cherry picked from commit 771a65210018c68198ea413df10225e87a0ea909)
DeltaFile
+1-1usr.bin/tail/reverse.c
+1-11 files

FreeBSD/src 6a3966fsys/dev/vt vt_core.c

vt_core: don't draw the splash if a panic occurred

The shutdown splash draws over all the useful info if ddb(4) is
disabled. Don't draw the splash screen if we're rebooting because of a
panic.

Approved by:    re (cperciva)
MFC after:      3 days

(cherry picked from commit bc83f414583ccaf337ef3b7c019df7727d6a3aae)
(cherry picked from commit 3aabec5c8c6a74a4e50640b399a825d9f7adca9a)
DeltaFile
+3-0sys/dev/vt/vt_core.c
+3-01 files

FreeBSD/ports 8c4d649www/apache24 Makefile Makefile.options

www/apache24: Add GDBM option

This adds a GDBM option which defaults to on and makes the libgdm
dependency conditional on that option.

Clean up removed TLS module

PR:              291447
Differential Revision:  https://reviews.freebsd.org/D56843
MFH:            2026Q2

(cherry picked from commit 0527e6e893b978cc44b770424df0cd53f392e799)
DeltaFile
+7-5www/apache24/Makefile
+3-1www/apache24/Makefile.options
+0-2www/apache24/Makefile.options.desc
+10-83 files

FreeBSD/ports 0527e6ewww/apache24 Makefile Makefile.options

www/apache24: Add GDBM option

This adds a GDBM option which defaults to on and makes the libgdm
dependency conditional on that option.

Clean up removed TLS module

PR:              291447
Differential Revision:  https://reviews.freebsd.org/D56843
MFH:            2026Q2
DeltaFile
+7-5www/apache24/Makefile
+3-1www/apache24/Makefile.options
+0-2www/apache24/Makefile.options.desc
+10-83 files

FreeBSD/ports 309dee4misc/ollama distinfo Makefile

misc/ollama: update 0.23.0 → 0.23.1
DeltaFile
+11-11misc/ollama/distinfo
+6-6misc/ollama/Makefile
+17-172 files

FreeBSD/src 448b4c3sys/fs/nfsclient nfs_clsubs.c nfsnode.h

nfs_clsubs.c: Fix ncl_getcookie() when "pos" is negative

In ncl_getcookie(), a very large value for "off" for
a directory can result in "pos" being set to a bogus
value (including a negative one), due to truncation.
When "pos" is negative, is can skip past the
while (pos >= NFSNUMCOOKIES) loop and return a
bogus pointer instead of NULL.

This patch changes the type to u_int and also adds
a sanity check for a very large "off" to ensure that
a NULL pointer is returned for this case.

This bug has been in the code for decades and I am
not aware of any report of it causing a problem for
users.

Reviewed by:    markj
Reported by:    Joshua Rogers of AISLE Research Team

    [2 lines not shown]
DeltaFile
+9-1sys/fs/nfsclient/nfs_clsubs.c
+1-1sys/fs/nfsclient/nfsnode.h
+10-22 files

FreeBSD/src e3e5b86. README.md

README.md: Add packages/ directory

Fixes:  bb75b0d581f7 ("packages: Convert world to a subdir build")
MFC after:      2 weeks
Reviewed by:    des, emaste
Differential Revision:  https://reviews.freebsd.org/D56839
DeltaFile
+1-0README.md
+1-01 files

FreeBSD/src 3d89281sys/kern subr_eventhandler.c

eventhandler: Fix the NODEBUG build

Reported by:    Michael Butler <imb at protected-networks.net>
Fixes:          735b16d490ae ("eventhandler: Fix a race when pruning eventhandlers")
DeltaFile
+3-1sys/kern/subr_eventhandler.c
+3-11 files

FreeBSD/ports 05a0f78graphics/p5-Image-ExifTool-devel distinfo Makefile

graphics/p5-Image-ExifTool-devel: Update 13.57 => 13.58

Changelog:
https://exiftool.org/history.html#v13.58

PR:             295054
Reported by:    Sergei Vyshenski <svysh.fbsd at gmail.com> (maintainer)
Approved by:    vvd (co-mentor)
DeltaFile
+3-3graphics/p5-Image-ExifTool-devel/distinfo
+1-1graphics/p5-Image-ExifTool-devel/Makefile
+4-42 files

FreeBSD/src 748402esbin/devmatch devmatch.c

devmatch: read linker.hints from all module paths

Previously, devmatch would stop at the first linker.hints file
found in kern.module_path. This meant modules installed in
/boot/modules/ were invisible to devmatch if /boot/kernel/
contained a linker.hints file (which it always does).

Merge hints from all directories in kern.module_path.
This allows third-party or out-of-tree kernel modules in
/boot/modules/ to be auto-loaded by devmatch just like
built-in modules.

Reviewed by:            imp
Differential Revivion:  https://reviews.freebsd.org/D56847
DeltaFile
+33-4sbin/devmatch/devmatch.c
+33-41 files

FreeBSD/ports 775a541graphics/drm-61-kmod/files patch-compiler__flags.mk

graphics/drm-61-kmod: Fix build on FreeBSD 15.0

PR:             294875
DeltaFile
+12-0graphics/drm-61-kmod/files/patch-compiler__flags.mk
+12-01 files

FreeBSD/ports 298bedegraphics/drm-61-kmod/files patch-i915_Makefile

graphics/drm-61-kmod: Fix build of intel bits on 15.0-RELEASE

PR:             294870 294878
DeltaFile
+16-0graphics/drm-61-kmod/files/patch-i915_Makefile
+16-01 files

FreeBSD/ports bd5bb82math/pffft Makefile

math/pffft: bsd.port.options.mk is needed for CMAKE_ARGS
DeltaFile
+6-2math/pffft/Makefile
+6-21 files

FreeBSD/src 55709c8. ObsoleteFiles.inc, usr.sbin/apm Makefile

man: Kill off MANSUBDIRs

Three architecture dependent manuals are installed to MANSUBDIRs,
creating at least two empty manual page directories on everyone's
boxxen. Move those manuals to their canonical area, enhancing clarity,
grepability, removing useless inodes, and increasing consistency with
the rest of the architecture dependent manuals which are unconditionally
installed, and noted at the top of the rendered manual.

MFC after: 3 days

(cherry picked from commit 809504f331fd3588e36b54255196379bdb59890a)
DeltaFile
+9-0ObsoleteFiles.inc
+0-1usr.sbin/apm/Makefile
+0-1usr.sbin/apmd/Makefile
+0-1usr.sbin/nvram/Makefile
+9-34 files

FreeBSD/src 4da464bshare/man/man4 ocs_fc.4

ocs_fc.4: Cleanup

+ more consistent document description
+ enumerate available options in synopsis in vt.4 style
+ tag spdx
+ tweak list rendering
+ cleanup HARDWARE
+ reflow excessively long lines silencing linter warnings
+ fix link macros

MFC after:              3 days
Reported by:            michaelo (hardware notes)
Differential Revision:  https://reviews.freebsd.org/D56753

(cherry picked from commit dd97c3d83f9a92bbeb9740ceff4c1c74c451293e)
DeltaFile
+55-38share/man/man4/ocs_fc.4
+55-381 files

FreeBSD/src 8318c2fusr.sbin/nvram nvram.8

nvram.8: Align option list and tag SPDX

MFC after:      3 days

(cherry picked from commit 33fbfceeb4d9daf1145089a10ce7b25110d8840f)
DeltaFile
+4-2usr.sbin/nvram/nvram.8
+4-21 files

FreeBSD/src aa519edshare/man/man7 ports.7

ports.7/FILES: Expand and refactor into 3 tables

Add make.conf, CHANGES, CONTRIBUTING.Md, UPDATING, and Tools/scripts.
Refactor the FILES section of the ports reference manual into a bigger
table with three sections separated by root directory. Remove preceeding
article from all but "the big Kahuna", and root dirs where reasonable.

MFC after:              3 days
Relnotes:               yes
Reported by:            adamw, arrowd, linimon
Differential Revision:  https://reviews.freebsd.org/D55441

(cherry picked from commit 28deec9b7e2b08b00160eb39de84ade6f27eb125)
DeltaFile
+29-18share/man/man7/ports.7
+29-181 files