FreeBSD/ports 6b6d4f0converters/cl-babel-sbcl Makefile, databases/pgloader3 Makefile

*/*: Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.
DeltaFile
+1-1converters/cl-babel-sbcl/Makefile
+1-1databases/pgloader3/Makefile
+1-1devel/cl-alexandria-sbcl/Makefile
+1-1devel/cl-alexandria/Makefile
+1-1devel/cl-asdf-sbcl/Makefile
+1-1devel/cl-flexi-streams-sbcl/Makefile
+6-614 files not shown
+20-2020 files

FreeBSD/ports 2d29090lang/sbcl distinfo Makefile

lang/sbcl: Update to 2.6.4
DeltaFile
+3-5lang/sbcl/distinfo
+1-1lang/sbcl/Makefile
+4-62 files

FreeBSD/ports 5c27135security/syft Makefile distinfo

security/syft: fix fetch

The port tries to fetch google.golang.org/genproto and its submodules
in different versions for some reason.  This confuses our framework to
the point where it cannot fetch the port.

Fix the build by fetching the same (newer) version for both parent and
child.  The versions are ~2 months apart, which should pose no problem.

Also mark as only for aarch64, amd64 due to use of modernc.org/sqlite

Approved by:    portmgr (build fix blanket)
MFH:            2026Q2

(cherry picked from commit c86a02ab3b84ac1e4a972e1217412a401d5692de)
DeltaFile
+4-3security/syft/Makefile
+1-5security/syft/distinfo
+5-82 files

FreeBSD/ports d8a8a0agraphics/colmap distinfo Makefile

graphics/colmap: update to 4.0.4

A bug fix release.

Changelog: https://github.com/colmap/colmap/releases/tag/4.0.4

MFH:            2026Q2
(cherry picked from commit 75052c64b7fe60b39612d2e2a6b46eb659a6fde5)
DeltaFile
+3-3graphics/colmap/distinfo
+1-1graphics/colmap/Makefile
+4-42 files

FreeBSD/ports c86a02asecurity/syft Makefile distinfo

security/syft: fix fetch

The port tries to fetch google.golang.org/genproto and its submodules
in different versions for some reason.  This confuses our framework to
the point where it cannot fetch the port.

Fix the build by fetching the same (newer) version for both parent and
child.  The versions are ~2 months apart, which should pose no problem.

Also mark as only for aarch64, amd64 due to use of modernc.org/sqlite

Approved by:    portmgr (build fix blanket)
MFH:            2026Q2
DeltaFile
+4-3security/syft/Makefile
+1-5security/syft/distinfo
+5-82 files

FreeBSD/ports 1c96841games/nbsdgames distinfo Makefile

games/nbsdgames: update to 6.0.1

A bug fix release.

Changelog: https://github.com/abakh/nbsdgames/releases/tag/v6.0.1
DeltaFile
+3-3games/nbsdgames/distinfo
+1-1games/nbsdgames/Makefile
+4-42 files

FreeBSD/ports 75052c6graphics/colmap distinfo Makefile

graphics/colmap: update to 4.0.4

A bug fix release.

Changelog: https://github.com/colmap/colmap/releases/tag/4.0.4

MFH:            2026Q2
DeltaFile
+3-3graphics/colmap/distinfo
+1-1graphics/colmap/Makefile
+4-42 files

FreeBSD/ports e6956c2converters/simdutf pkg-plist

converters/simdutf: man pages only present if TOOLS options selected

This fixes the packaging if built with -TOOLS.

PR:             294895
Reported by:    smyru
Reported by:    Alessandro Sagratini <ale_sagra at hotmail.com>
DeltaFile
+3-3converters/simdutf/pkg-plist
+3-31 files

FreeBSD/ports 5e8c9e5finance/ticker distinfo Makefile

finance/ticker: update to 5.2.1

Now requires Go 1.26.

Changelog: https://github.com/achannarasappa/ticker/releases/tag/v5.2.1
DeltaFile
+5-5finance/ticker/distinfo
+2-3finance/ticker/Makefile
+7-82 files

FreeBSD/ports 12b9340www/janus distinfo Makefile

www/janus: update to 1.4.1.
DeltaFile
+3-3www/janus/distinfo
+2-2www/janus/Makefile
+5-52 files

FreeBSD/ports a093188emulators Makefile

emulators/Makefile: Sort SUBDIRs

Sponsored by:   UNIS Labs
DeltaFile
+1-1emulators/Makefile
+1-11 files

FreeBSD/ports 23c2dd2science/elmerfem distinfo Makefile

science/elmerfem: upgrade to v26.2.1

Release notes at
        https://github.com/ElmerCSC/elmerfem/releases/tag/release-26.2.1
DeltaFile
+3-3science/elmerfem/distinfo
+1-1science/elmerfem/Makefile
+4-42 files

FreeBSD/ports 4350b64devel/oci-cli distinfo Makefile

devel/oci-cli: Update 3.76.2 => 3.81.0

Changelog:
https://github.com/oracle/oci-cli/releases/tag/v3.77.0
https://github.com/oracle/oci-cli/releases/tag/v3.78.0
https://github.com/oracle/oci-cli/releases/tag/v3.79.0
https://github.com/oracle/oci-cli/releases/tag/v3.80.0
https://github.com/oracle/oci-cli/releases/tag/v3.81.0

PR:             294869
Sponsored by:   UNIS Labs
DeltaFile
+3-3devel/oci-cli/distinfo
+2-2devel/oci-cli/Makefile
+5-52 files

FreeBSD/ports 1bdc7d5devel/py-oci distinfo Makefile, devel/py-oci/files patch-pyproject.toml

devel/py-oci: Update 2.168.3 => 2.173.0

Changelog:
https://github.com/oracle/oci-python-sdk/releases/tag/v2.169.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.170.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.171.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.172.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.173.0

PR:             294869
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+13-0devel/py-oci/files/patch-pyproject.toml
+3-3devel/py-oci/distinfo
+1-1devel/py-oci/Makefile
+17-43 files

FreeBSD/src eebb643share/man/man9 sx.9, sys/compat/linuxkpi/common/include/linux rwsem.h

sx: Add `sx_has_waiters()` macro

This macro will return non-zero if there are threads waiting for this
lock; otherwise, it will return zero.

The function assumes (but does not assert) that the caller already holds
the lock and that it is interested in other threads waiting for it to
release the lock.

The motivation to add this is the implementation of
`rwsem_is_contended()` in linuxkpi.

This Linux function indicates the same thing to the caller: if other
threads are waiting for this semaphore.

The amdgpu DRM driver started to use `rwsem_is_contended()` in Linux
6.12.

Reviewed by:    bz, olce

    [2 lines not shown]
DeltaFile
+11-1share/man/man9/sx.9
+4-0sys/sys/sx.h
+1-0sys/compat/linuxkpi/common/include/linux/rwsem.h
+16-13 files

FreeBSD/src 65dc0e9sys/compat/linuxkpi/common/include/asm cpu_device_id.h intel-family.h

linuxkpi: Define `VFM_*()` macros in <asm/cpu_device_id.h>

They use another set of constants and macros in <asm/intel-family.h>.

All these macros are defined regardless of the architecture, even though
they are specific to x86. Perhaps we should restrict them using #ifdefs.

The amdgpu DRM driver started to used `VFM_MODEL()` and the
`INTEL_*LAKE*` constants in Linux 6.12.x.

Reviewed by:    bz, olce
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56585
DeltaFile
+33-0sys/compat/linuxkpi/common/include/asm/cpu_device_id.h
+9-0sys/compat/linuxkpi/common/include/asm/intel-family.h
+42-02 files

FreeBSD/ports 3654c43devel/py-patch Makefile

devel/py-patch: Deprecate/Set to expire

* The project is no longer maintained by upstream, and an alternative,
  py-patch-ng, has been available in the ports tree for some time now.

  There are no consumers left in the tree as well.
DeltaFile
+3-0devel/py-patch/Makefile
+3-01 files

FreeBSD/ports 685fa5fwww/py-django-configurations Makefile

www/py-django-configurations: Deprecate/Set to expire

* The project is no longer maintained by upstream, and an alternative,
  py-django-configurator, has been available for some time now.

  There are no consumers left in the ports tree as well.

* Set CONFLICTS_INSTALL while I'm here, because py-django-configurator
  was recently added to the ports tree.

PR:             291707
With hat:       python
DeltaFile
+5-0www/py-django-configurations/Makefile
+5-01 files

FreeBSD/ports d956871www Makefile, www/py-django-configurator Makefile pkg-descr

www/py-django-configurator: New port

django-configurator eases Django project configuration by relying on
the composability of Python classes. It extends the notion of Django’s
module based settings loading with well established object oriented
programming patterns.

This is a port of the django-configurations project which is no longer
supported.
DeltaFile
+34-0www/py-django-configurator/Makefile
+6-0www/py-django-configurator/pkg-descr
+3-0www/py-django-configurator/distinfo
+1-0www/Makefile
+44-04 files

FreeBSD/ports ba75e77net/kea-devel pkg-plist distinfo

net/kea-devel: Update to 3.1.8
DeltaFile
+20-19net/kea-devel/pkg-plist
+3-3net/kea-devel/distinfo
+1-1net/kea-devel/Makefile
+24-233 files

FreeBSD/src 6d65c91usr.sbin/etcupdate etcupdate.sh etcupdate.8

etcupdate: fix arguments order of diff command

Due to misplacement of the second -L argument of diff command, it is
treated by getopt_long as an error.

Also add -l option for a diff command that alters the way it shows
differences. Instead of printing full diff, it reports changed file
the same way as added/removed files are reported.

Reviewed by:    imp
Obtained from:  Yandex LLC
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56708
DeltaFile
+12-2usr.sbin/etcupdate/etcupdate.sh
+6-1usr.sbin/etcupdate/etcupdate.8
+18-32 files

FreeBSD/ports 49b01e2textproc/py-tokenizers distinfo Makefile.crates

textproc/py-tokenizers: Update to 0.23.1

Changelog: https://github.com/huggingface/tokenizers/releases/tag/v0.23.1

Reported by:    Repology
DeltaFile
+201-165textproc/py-tokenizers/distinfo
+99-81textproc/py-tokenizers/Makefile.crates
+1-2textproc/py-tokenizers/Makefile
+301-2483 files

FreeBSD/src 5c4021csys/net if.c

ifnet: if_detach(): Fix races with vmove operations

The rationality is that the driver private data holds a strong reference
to the interface, and the detach operation shall never fail. Given the
vmove operation, if_vmove_loan(), if_vmove_reclaim() or vnet_if_return()
is not atomic and spans multiple steps, acquire ifnet_detach_sxlock only
for if_detach_internal() and if_vmove() is not sufficient. It is possible
that the thread running if_detach() sees stale vnet, or the vmoving is
in progress, then if_unlink_ifnet() will fail.

Fix that by extending coverage of ifnet_detach_sxlock a bit to also
cover if_unlink_ifnet(), so that the entire detach and vmove operation
is serialized.

Given it is an error when the if_unlink_ifnet() fails, and if_detach()
is a public KPI, prefer panic() over assertion on failure, to indicate
explicitly that bad thing happens. That shall also prevent potential
corrupted status of the interface, which is a bit hard to diagnose.


    [6 lines not shown]
DeltaFile
+17-6sys/net/if.c
+17-61 files

FreeBSD/src 3a4c4d6tests/sys/netgraph eiface_test.sh Makefile

tests/netgraph: Add a test for races between if_detach() and vnet_if_return()

A ng_eiface(4) or physical interface does not involve the cloner hence
the detaching is a bit different with epair(4). Add more tests to cover
that.

PR:             292993
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56609

(cherry picked from commit 0988abd52352ae0977cd3e5c10316b7d94e1cac8)
DeltaFile
+67-0tests/sys/netgraph/eiface_test.sh
+2-0tests/sys/netgraph/Makefile
+69-02 files

FreeBSD/src 696d159tests/sys/net if_clone_test.sh

tests/net/if_clone_test: Add a test for races between if_detach() and if_vmove_reclaim()

Ideally we shall have tests for all possible races. It is races between
if_detach(), if_vmove_loan(), if_vmove_reclaim() and vnet_if_return().
Well that requires too many tests and it appears to be less valuable to
have them all. So focus on potential in future regressions related to
recent fixes [1] and [2] only.

[1] ee9456ce3753 ifnet: Fix races in if_vmove_reclaim()
[2] ba7f47d47dc1 ifnet: if_detach(): Fix races with vmove operations

MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56606

(cherry picked from commit f4be16983dea4904f85ac20e921ad2a8c18a0f79)
DeltaFile
+29-0tests/sys/net/if_clone_test.sh
+29-01 files

FreeBSD/src c624e04sys/net if_clone.c if.c, sys/netlink/route iface.c

if_clone: Make ifnet_detach_sxlock opaque to consumers

The change e133271fc1b5e introduced ifnet_detach_sxlock, and change
6d2a10d96fb5 widened its coverage, but there are still consumers,
net80211 and tuntap e.g., want it. Instead of sprinkling it everywhere,
make it opaque to consumers.

Out of tree drivers shall also benefit from this change.

Reviewed by:    kp
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D56298

(cherry picked from commit e9fc0c538264355bd3fd9120c650078281c2a290)
DeltaFile
+16-1sys/net/if_clone.c
+1-4sys/net/if.c
+0-3sys/netlink/route/iface.c
+17-83 files

FreeBSD/src ccfc2d9sys/net if.c

ifnet: vnet_if_return(): Avoid unnecessary recursive acquisition of ifnet_detach_sxlock

vnet_if_return() will be invocked by vnet_sysuninit() on vnet destructing,
while the lock ifnet_detach_sxlock has been acquired in vnet_destroy()
already.

With this change the order of locking is more clear. There should be no
functional change.

Reviewed by:    pouria
Fixes:          868bf82153e8 if: avoid interface destroy race
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56288

(cherry picked from commit f1fae67afbb13a41d488d0e0ec66b1805925019c)
DeltaFile
+2-2sys/net/if.c
+2-21 files

FreeBSD/src 477c3basys/net if.c

ifnet: Move SIOCSIFVNET from ifhwioctl() to ifioctl()

SIOCSIFVNET is not a hardware ioctl. Move it to where it belongs.

Where here, rewrite the logic of checking whether we are moving the
interface from and to the same vnet or not, since it is obviously not
stable to access the interface's vnet, given the current thread may
race with other threads those running if_vmove().

MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55880

(cherry picked from commit 38bd7ef62f318f791e232e217855307a9d75efa0)
DeltaFile
+27-17sys/net/if.c
+27-171 files

FreeBSD/src cef2f7bsys/net if.c

ifnet: Fix races in if_vmove_reclaim()

The thread running if_vmove_reclaim() may race with other threads those
running if_detach(), if_vmove_loan() or if_vmove_reclaim(). In case the
current thread loses race, two issues arise,

 1. It is unstable and unsafe to access ifp->if_vnet,
 2. The interface is removed from "active" list, hence if_unlink_ifnet()
    can fail.

For the first case, check against source prison's vnet instead, given
the interface is obtained from that vnet.

For the second one, return ENODEV to indicate the interface was on the
list but the current thread loses race, to distinguish from ENXIO, which
means the interface or child prison is not found. This is the same with
if_vmove_loan().

Reviewed by:    kp, pouria

    [5 lines not shown]
DeltaFile
+9-5sys/net/if.c
+9-51 files

FreeBSD/src a989b0fsys/net if.c

ifnet: Remove unreachable code

The ioctls SIOCSIFVNET and SIOCSIFRVNET are for userland only. For
SIOCSIFVNET, if_vmove_loan(), the interface is obtained from current
VNET. For SIOCSIFRVNET, if_vmove_reclaim(), a valid child prison is
held before getting the interface. In both cases the VNET of the
obtained interfaces is stable, so there's no need to check it.

No functional change intended.

Reviewed by:    glebius, jamie (for #jails)
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55828

(cherry picked from commit e0731059af912a27d0f842959218946b1daaa7d1)
DeltaFile
+0-18sys/net/if.c
+0-181 files