FreeBSD/src 99e138fsys/security/mac mac_prison.c mac_policy.h, sys/security/mac_stub mac_stub.c

kern: mac: add a prison_cleanup entry point

The MAC framework provides a lot of useful functionality that can be
configured per-jail without requiring the use of labels.  Having another
entry point that we invoke just for general prison cleanup rather than
freeing the label is useful to allow a module that can otherwise work
off of a series of MAC entry points + sysctls for configuration to free
its per-jail configuration without having to bring in osd(9).

One such example in the wild is HardenedBSD's secadm, but some of my
own personal use had wanted it as well- it was simply overlooked in the
final version because my first policy made more sense with labels.  On
that note, it's expected that prison_cleanup and prison_destroy_label
will effectively be mutually exclusive -- the former only used when
a label isn't needed, the latter when it is.

Note that prison_cleanup isn't perfectly symmetrical w.r.t.
prison_created: the latter takes a label as well, because it's called
later in jail setup and a better point for propagation than when the

    [11 lines not shown]
DeltaFile
+9-0sys/security/mac_test/mac_test.c
+7-0sys/security/mac_stub/mac_stub.c
+3-0sys/security/mac/mac_prison.c
+3-0sys/security/mac/mac_policy.h
+1-1sys/sys/param.h
+23-15 files

FreeBSD/ports 8eafb85devel/py-ty distinfo Makefile.crates

devel/py-ty: Update to 0.0.17

Changelog: https://github.com/astral-sh/ty/blob/0.0.17/CHANGELOG.md

Reported by:    Repology
DeltaFile
+19-17devel/py-ty/distinfo
+8-7devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+28-253 files

FreeBSD/ports d4f0ba9misc/crush distinfo Makefile

misc/crush: Update to 0.43.0

Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.42.0
- https://github.com/charmbracelet/crush/releases/tag/v0.43.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-1misc/crush/Makefile
+6-62 files

FreeBSD/ports 41f8859finance/homebox distinfo Makefile

finance/homebox: Update to 0.23.1

ChangeLogs:
https://github.com/sysadminsmedia/homebox/compare/v0.22.3...v0.23.1
DeltaFile
+7-7finance/homebox/distinfo
+3-4finance/homebox/Makefile
+10-112 files

FreeBSD/ports b596203security/netbird distinfo Makefile

security/netbird: Update 0.64.3 => 0.65.0

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.64.4
https://github.com/netbirdio/netbird/releases/tag/v0.64.5
https://github.com/netbirdio/netbird/releases/tag/v0.64.6
https://github.com/netbirdio/netbird/releases/tag/v0.65.0

Commit log:
https://github.com/netbirdio/netbird/compare/v0.64.3...v0.65.0

PR:             293166
Security:       CWE-639
MFH:            2026Q1
(cherry picked from commit 017c6673b5ab92e36deb712c6b98c300cefde1fa)
DeltaFile
+5-5security/netbird/distinfo
+1-3security/netbird/Makefile
+6-82 files

FreeBSD/ports ac4e023security/netbird distinfo Makefile

security/netbird: Update to 0.64.3

PR:             292826
(cherry picked from commit 972cee21eeffabdd722a5d7c92d890d2e08115c7)
DeltaFile
+5-5security/netbird/distinfo
+1-1security/netbird/Makefile
+6-62 files

FreeBSD/ports 26febd0security/netbird distinfo Makefile

security/netbird: Update 0.64.1 => 0.64.2

Changelog:
https://github.com/netbirdio/netbird/releases/tag/v0.64.2

Commit log:
https://github.com/netbirdio/netbird/compare/v0.64.1...v0.64.2

PR:     292762
(cherry picked from commit dd390032a0877d566e5126170ed30556b47e497c)
DeltaFile
+5-5security/netbird/distinfo
+1-1security/netbird/Makefile
+6-62 files

FreeBSD/ports b4949b5security/netbird distinfo Makefile

security/netbird: Update 0.64.0 => 0.64.1

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.64.1

Commit log:
https://github.com/netbirdio/netbird/compare/v0.64.0...v0.64.1

PR:     292685
(cherry picked from commit fd51f5991377a9876c256a7ed9a768d2ca09c99b)
DeltaFile
+5-5security/netbird/distinfo
+1-1security/netbird/Makefile
+6-62 files

FreeBSD/ports 97acec9security/netbird distinfo Makefile

security/netbird: Update 0.63.0 => 0.64.0

Changelog:
https://github.com/netbirdio/netbird/releases/tag/v0.64.0

Commit log:
https://github.com/netbirdio/netbird/compare/v0.63.0...v0.64.0

PR:     292619
(cherry picked from commit 89da1f59069e81e82909e844fecd0adcafa3b38f)
DeltaFile
+5-5security/netbird/distinfo
+1-1security/netbird/Makefile
+6-62 files

FreeBSD/ports fecdeaasecurity/netbird distinfo Makefile

security/netbird: Update 0.62.2 => 0.63.0

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.62.3
https://github.com/netbirdio/netbird/releases/tag/v0.63.0

Commit log:
https://github.com/netbirdio/netbird/compare/v0.62.2...v0.63.0

PR:     292509
(cherry picked from commit ace5c2161763f91787c659eb000cb3ec74409ef9)
DeltaFile
+5-5security/netbird/distinfo
+1-2security/netbird/Makefile
+6-72 files

FreeBSD/ports 017c667security/netbird distinfo Makefile

security/netbird: Update 0.64.3 => 0.65.0

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.64.4
https://github.com/netbirdio/netbird/releases/tag/v0.64.5
https://github.com/netbirdio/netbird/releases/tag/v0.64.6
https://github.com/netbirdio/netbird/releases/tag/v0.65.0

Commit log:
https://github.com/netbirdio/netbird/compare/v0.64.3...v0.65.0

PR:             293166
Security:       CWE-639
MFH:            2026Q1
DeltaFile
+5-5security/netbird/distinfo
+2-5security/netbird/Makefile
+7-102 files

FreeBSD/ports fb751basysutils/backrest distinfo Makefile

sysutils/backrest: Update to 1.11.2

ChangeLog: https://github.com/garethgeorge/backrest/releases/tag/v1.11.2
DeltaFile
+7-7sysutils/backrest/distinfo
+4-5sysutils/backrest/Makefile
+11-122 files

FreeBSD/ports 141378bwww/filebrowser Makefile, www/filepizza Makefile

*/*: Add more information about instructions for creating assets

Reported by:    bapt@
DeltaFile
+2-0www/filebrowser/Makefile
+2-0www/filepizza/Makefile
+2-0www/gatus/Makefile
+2-0www/github-release-monitor/Makefile
+2-0www/homepage/Makefile
+2-0www/pocket-id/Makefile
+12-011 files not shown
+34-017 files

FreeBSD/doc df27c83documentation/static/pgpkeys bms.key

Update FreeBSD public key to use my new personal Yubikey 5 NFC.
DeltaFile
+32-45documentation/static/pgpkeys/bms.key
+32-451 files

FreeBSD/ports e6fbff1net-im/telegram-desktop distinfo Makefile

net-im/telegram-desktop: update 6.5.0 -> 6.5.1

ChangeLog:      https://github.com/telegramdesktop/tdesktop/compare/v6.5.0...v6.5.1

Sponsored by:   tipi.work
DeltaFile
+3-3net-im/telegram-desktop/distinfo
+1-2net-im/telegram-desktop/Makefile
+4-52 files

FreeBSD/ports 4fb0ecclang/quickjs-ng distinfo Makefile

lang/quickjs-ng: update: 0.11.0 -> 0.12.1

ChangeLog:      https://github.com/quickjs-ng/quickjs/compare/v0.11.0...v0.12.1

Sponsored by:   tipi.work
DeltaFile
+3-3lang/quickjs-ng/distinfo
+1-1lang/quickjs-ng/Makefile
+4-42 files

FreeBSD/ports aa7a14esecurity/wazuh-dashboard distinfo

security/wazuh-dashboard: Fix distinfo

Reported by:    girgen
DeltaFile
+3-3security/wazuh-dashboard/distinfo
+3-31 files

FreeBSD/ports fdcb9cawww/firefox-esr distinfo Makefile

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

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

(cherry picked from commit 8b3dd5e7794110d4ba9ab817481f5890033e703d)
DeltaFile
+3-3www/firefox-esr/distinfo
+1-2www/firefox-esr/Makefile
+4-52 files

FreeBSD/ports 26c4bbewww/firefox distinfo Makefile

www/firefox: update to 147.0.4 (rc1)

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

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

FreeBSD/ports 8b3dd5ewww/firefox-esr distinfo Makefile

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

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

FreeBSD/ports b742d70www/firefox distinfo Makefile

www/firefox: update to 147.0.4 (rc1)

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

FreeBSD/src 07c4eb5sys/compat/freebsd32 freebsd32.h

sys/compat/freebsd32: Fix i386 compilation

The compile assertion now failing is due to the change '__int64_t' =>
'__int32_t' as the type of 'time32_t' on i386, which is the correct
value.  The use of 'freebsd32.h' on i386 may seem strange, but it comes
from 'kern_umtx.c' including it unconditionally as it needs 'struct
umutex32'.

Fixes:          87632ddf67b0 ("openzfs sys/types32.h: use abi_compat.h for time32_t")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/compat/freebsd32/freebsd32.h
+1-11 files

FreeBSD/src 2ce028esys/kern link_elf_obj.c, sys/sys elf_common.h

sys: ELF: Rename SHN_FBSD_CACHED => SHN_FREEBSD_CACHED

All other FreeBSD-specific constants have FREEBSD fully spelled out in
their names.  Be consistent.

No functional change (intended).

Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55224
DeltaFile
+2-2sys/kern/link_elf_obj.c
+2-1sys/sys/elf_common.h
+4-32 files

FreeBSD/src f2c2e5bshare/man/man4 multicast.4

multicast.4: Fix disabling multicast forwarding

Reviewed by: markj, glebius
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D55266
DeltaFile
+22-4share/man/man4/multicast.4
+22-41 files

FreeBSD/ports be18d9fsecurity/libgcrypt/files patch-mpi_ec.c patch-cipher_ecc.c

security/libgcrypt: Fix Curve25519 key validation

Starting with version 1.12.0, libgcrypt was failing to validate
Curve25519 secret keys on FreeBSD-main.  This resulted in failures such
as in the example below.  Incorporate the patch from
https://dev.gnupg.org/T8094 to fix the problem.

% TEMP_GPG=$(mktemp -d)

% GNUPGHOME=$TEMP_GPG gpg --batch --import < ./test/openpgp4-secret-key.asc
gpg: keybox '/tmp/tmp.gkqFaMAlVu/pubring.kbx' created
gpg: /tmp/tmp.gkqFaMAlVu/trustdb.gpg: trustdb created
gpg: key 7E6ABE924645CC60: public key "Notmuch Test Suite (INSECURE!) <test_suite at notmuchmail.org>" imported
gpg: key 7E6ABE924645CC60: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1


    [10 lines not shown]
DeltaFile
+162-0security/libgcrypt/files/patch-mpi_ec.c
+153-0security/libgcrypt/files/patch-cipher_ecc.c
+117-0security/libgcrypt/files/patch-cipher_ecc-eddsa.c
+68-0security/libgcrypt/files/patch-cipher_ecc-sm2.c
+37-0security/libgcrypt/files/patch-cipher_ecc-misc.c
+28-0security/libgcrypt/files/patch-cipher_ecc-ecdh.c
+565-07 files not shown
+678-013 files

FreeBSD/ports a104966graphics/darktable pkg-plist Makefile, graphics/darktable/files patch-src_iop_lens.cc

graphics/darktable: Update to 5.4.1

Release notes:
* https://github.com/darktable-org/darktable/releases/tag/release-5.4.0
* https://github.com/darktable-org/darktable/releases/tag/release-5.4.1

PR:             292928
Submitted by:   Matthieu Volat <mazhe at alkumuna.eu> (initial patch)
DeltaFile
+8-4graphics/darktable/pkg-plist
+5-5graphics/darktable/files/patch-src_iop_lens.cc
+5-3graphics/darktable/Makefile
+3-3graphics/darktable/distinfo
+21-154 files

FreeBSD/src fd52a9bcontrib/diff/src diff3.c, gnu/usr.bin/diff3 Makefile

diff3: Use a format string to quiet a compiler warning

And bump WARNS to 2
DeltaFile
+1-1contrib/diff/src/diff3.c
+1-1gnu/usr.bin/diff3/Makefile
+2-22 files

FreeBSD/src 08208cdbin/timeout timeout.c timeout.1

timeout: Clean up

* Annotate logv() and fix format string bug.

* Don't reinvent str2sig(3).

* Reorganize kill_self() so we unblock signals as late as possible, and
  use raise(2) instead of kill(2).

* Explicitly close unused pipe descriptors.

* Use correct type to collect result of read(2) and write(2).

* Compare return values to 0, not -1.

* Sort local variables according to style(9).

* Reduce unnecessary nesting.


    [8 lines not shown]
DeltaFile
+73-85bin/timeout/timeout.c
+1-1bin/timeout/timeout.1
+74-862 files

FreeBSD/src b253243usr.bin/diff/tests diff_test.sh

diff: Tweak recursion tests

The -r flag is not required to compare two directories; it is only
required to compare them recursively, i.e. descend into their common
subdirectories.  Adjust tests that use -r needlessly, and adjust the
dirloop test to verify that these two cases remain distinct.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55262
DeltaFile
+16-14usr.bin/diff/tests/diff_test.sh
+16-141 files

FreeBSD/src 790f1d1usr.bin/diff diff.c, usr.bin/diff/tests diff_test.sh

diff: Tweak range of -C and -U arguments

POSIX uses the terms “positive decimal integer” for -C and “non-negative
decimal integer” for -U, which translates into lower bounds of 1 for -C
and 0 for -U.

POSIX does not specify a minimum upper bound for either mode, but as of
5fc739eb5949 both our backends support context sizes up to and including
INT_MAX, so use that.

Having had the opportunity to consult the Unix System Test Suite, the
diff test cases found therein happen to precisely match these bounds.

While here, switch to using strtonum() to parse numerical arguments, and
try to be more consistent in how we report usage errors.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55261
DeltaFile
+38-24usr.bin/diff/tests/diff_test.sh
+26-18usr.bin/diff/diff.c
+64-422 files