misc/claude-code: New port: Agentic coding tool from Anthropic that lives in your terminal
This is the latest Claude Code CLI that comes only in the binary form.
Previous commit moved previous, NodeJS based claude-code
into claude-code-legacy because of some patches that are there.
Note: Using Claude Code does not strictly require Anthropic's
hosted proprietary models. The tool can interact with open
models via Ollama's Anthropic Messages API compatibility layer.
Users can run these models locally on their own hardware for free,
or utilize Ollama's cloud subscription open weights models for
expanded performance. Some open weights models (like DeepSeek v4 pro)
available via the Ollama cloud are almost as capable as Anthropic's
models for most purposes.
net-mgmt/omada5: Fix mongodb configuration
The omada.properties config file was missing the override to force
mongodb to be externally managed which caused the daemon to fail to start.
The controller cannot manage mongodb by itself when running on FreeBSD so this
has always been a requirement that was mistakenly absent from the port.
Also fix ownership of some files and directories served by the controller's
webserver as an internal process automatically downloads icons for
newly released TP-Link hardware models and fills the log with errors if
the directory and files are not writable.
MFH: 2026Q2
(cherry picked from commit b8c78c0e013b32058307de5c37a9d8d30aa5f4ad)
net-mgmt/omada5: Fix mongodb configuration
The omada.properties config file was missing the override to force
mongodb to be externally managed which caused the daemon to fail to start.
The controller cannot manage mongodb by itself when running on FreeBSD so this
has always been a requirement that was mistakenly absent from the port.
Also fix ownership of some files and directories served by the controller's
webserver as an internal process automatically downloads icons for
newly released TP-Link hardware models and fills the log with errors if
the directory and files are not writable.
MFH: 2026Q2
jail: call PR_METHOD_ATTACH again (with old jail) if the first call fails
jail_attach lets modules do attachment-specific work by calling
osd_jail_call(PR_METHOD_ATTACH). If one of the modules returns an
error, the call needs to be repeated with the thread's current prison,
so possible earlier modules and undo any changes they may have made.
(cherry picked from commit e91e8ebefadcce9d57c8ff945ff70050cbbe1ce1)
audio/piper-phonemize: Correct COMMENT
It was just copied from audio/piper. Piper is a "Fast, local neural
text to speech system" while piper-phonemize is one of its dependencies.
Reviewed by: jrm
Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57819
libcxxrt: Fix diagnostics for derived classes
In terminate_with_diagnostics the cast_to arguments were swapped, so it
always failed. The diagnostic handler produced output like "Terminating
due to uncaught exception 0x24891e08000 of type std::runtime_error".
Now, e->what() will actually be included in the output, e.g.
"Terminating due to uncaught exception 0x2bba49208000 'Model file
doesn't exist' of type std::runtime_error".
Reviewed by: dim
Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57822
p9fs: Remove the "cancel" transport method
Nothing calls it, and the existing virtio transport doesn't implement
it. No functional change intended.
MFC after: 1 week
Revert "fts: refactor to use fd-relative operations internally"
This reverts commit e03ed9daeb49fffa1d16b8d00240c65e92650d01.
The change to the size of struct FTSENT is breaking backwards
compatibility for some binaries. Jitendra is working on a new version
that will move the new field into a private struct.
Reported by: bdrewery
Fixes: e03ed9daeb4 ("fts: refactor to use fd-relative operations")
Sponsored by: ConnectWise
linuxkpi: Define `ULL()`
It simply appends "ULL" to its argument.
The amdgpu DRM driver used it at some point in the development cycle of
Linux 6.14 but the use case was dropped later. Let's still add it to
linuxkpi because it will help if we need to do a git bisect in drm-kmod.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57703
linuxkpi: Defined more Intel vendor/family/model constants
The i915 DRM driver started to use them in Linux 6.14.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57699
linuxkpi: Define and fill `struct cpuinfo_x86->x86_stepping`
This will be used in a follow-up commit to implement `x86_match_cpu()`.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57698
linuxkpi: Add <linux/cgroup_dmem.h>
In this header, we declare empty stubs for all functions, as if
`CONFIG_CGROUP_DMEM` was disabled is Linux.
The DRM TTM memory manager started to use this in Linux 6.14.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57702
linuxkpi: Define `struct vfsmount` in <linux/mount.h>
In the context of the DRM drivers, this is used to show GEM objects in a
shmfs virtual filesystem. The new `shmem_file_setup_with_mnt()` - also
introduced in this commit as an alias to `shmem_file_setup()` - takes a
`struct vfsmount` as its first argument to indicate which shmfs mount
should be used.
For now, the structure is empty. As we don't present GEM objects in a
virtual filesystem right now, we can defer the actual implementation of
this structure once we have an actual use for it.
The DRM generic code started to use it in Linux 6.13.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57572
qat: driver updates to enhance qat infrastructure
- Updated QAT infrastructure FW version/AE mask/num_banks fields
to facilitate integration of future QAT products.
- Exposed service as sym;asym instead of cy for gen4
- Enhanced cpaGetInstances() for accurate instance retrieval
- Added 57-bit virtual address support to lac_lock_free_stack
- Minor bug fixes and improvements
Signed-off-by: Hareshx Sankar Raj <hareshx.sankar.raj at intel.com>
Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D57746
science/minc-tools: split from science/minc2 and upgrade to 2-3-00
minc2 is obsolete: this package is now split into two parts: libminc and
minc-tools.