FreeBSD/src 96c7e70lib/libpfctl libpfctl.c, sbin/pfctl pfctl_radix.c

pf: convert DIOCRCLRASTATS to netlink

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+60-18lib/libpfctl/libpfctl.c
+40-0sys/netpfil/pf/pf_nl.c
+7-1sbin/pfctl/pfctl_radix.c
+2-0sys/netpfil/pf/pf_nl.h
+109-194 files

FreeBSD/src 2eec2bctests/sys/netpfil/pf nat.sh

pf tests: avoid cleanup failures on skipped tests

If we skip the nat:binat_* tests (e.g. because pf.ko isn't loaded) the
inetd_tester.pid file isn't created. We still run the cleanup function,
which tries to use this file to clean up the test environment. This
results in 'broken: Test case cleanup did not terminate successfully'.
Avoid this by checking if the pid file exists before using it.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+2-2tests/sys/netpfil/pf/nat.sh
+2-21 files

FreeBSD/src c2e7a52lib/libpfctl libpfctl.c libpfctl.h, sbin/pfctl pfctl_radix.c

pf: move DIOCRCLRASTATS into libpfctl

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+25-0lib/libpfctl/libpfctl.c
+1-17sbin/pfctl/pfctl_radix.c
+2-0lib/libpfctl/libpfctl.h
+28-173 files

FreeBSD/src 190c1f3sbin/pfctl parse.y

pfctl: allow network programs select DSCP_VA for network ToS

OK stsp@

Obtained from:  OpenBSD, phessler <phessler at openbsd.org>, f8a2f73b65
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+1-0sbin/pfctl/parse.y
+1-01 files

HardenedBSD/src 03b193econtrib/ncurses/progs infocmp.c, sys/contrib/openzfs/include/os/freebsd/spl/sys cmn_err.h kmem.h

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+8-8sys/contrib/openzfs/include/os/freebsd/spl/sys/cmn_err.h
+2-2sys/contrib/openzfs/include/os/freebsd/spl/sys/kmem.h
+2-2sys/crypto/chacha20/chacha.c
+2-2sys/contrib/openzfs/include/sys/spa.h
+1-1contrib/ncurses/progs/infocmp.c
+1-1sys/contrib/openzfs/include/sys/vdev.h
+16-161 files not shown
+17-177 files

HardenedBSD/src b66d62esys/contrib/openzfs/include/os/freebsd/spl/sys cmn_err.h kmem.h, sys/contrib/openzfs/include/sys spa.h vdev.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+8-8sys/contrib/openzfs/include/os/freebsd/spl/sys/cmn_err.h
+2-2sys/contrib/openzfs/include/sys/spa.h
+2-2sys/contrib/openzfs/include/os/freebsd/spl/sys/kmem.h
+2-2sys/crypto/chacha20/chacha.c
+1-1sys/contrib/openzfs/include/sys/vdev.h
+1-1sys/contrib/openzfs/include/sys/zfs_debug.h
+16-161 files not shown
+17-177 files

LLVM/project 869163bmlir/include/mlir/Transforms Passes.td Passes.h, mlir/lib/Transforms RemoveDeadValues.cpp

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+184-328mlir/lib/Transforms/RemoveDeadValues.cpp
+110-45mlir/test/Transforms/remove-dead-values.mlir
+10-0mlir/include/mlir/Transforms/Passes.td
+1-0mlir/include/mlir/Transforms/Passes.h
+305-3734 files

HardenedBSD/src bcd9ea8sys/contrib/openzfs/include/os/freebsd/spl/sys cmn_err.h kmem.h, sys/contrib/openzfs/include/sys spa.h vdev.h

zfs: rename several printf attribute declarations to __printf__

For kernel builds, we redefine `__printf__` to `__freebsd_kprintf__`, to
support FreeBSD kernel printf(9) extensions with clang.

In OpenZFS various printf related functions are declared with
__attribute__((format(printf, X, Y))), so these won't work with the
above redefinition. With clang 21 and higher, this leads to errors
similar to:

    sys/contrib/openzfs/module/zfs/spa_misc.c:414:38: error: passing 'printf' format string where 'freebsd_kprintf' format string is expected [-Werror,-Wformat]
      414 |         (void) vsnprintf(buf, sizeof (buf), fmt, adx);
          |                                             ^

Since attribute names can always be spelled with leading and trailing
double underscores, rename these instances.

Note that in FreeBSD proper we usually use `__printflike` from
<sys/cdefs.h>, but that does not apply to OpenZFS.

    [4 lines not shown]
DeltaFile
+8-8sys/contrib/openzfs/include/os/freebsd/spl/sys/cmn_err.h
+2-2sys/contrib/openzfs/include/os/freebsd/spl/sys/kmem.h
+2-2sys/contrib/openzfs/include/sys/spa.h
+1-1sys/contrib/openzfs/include/sys/vdev.h
+1-1sys/contrib/openzfs/include/sys/zfs_debug.h
+14-145 files

FreeBSD/src bcd9ea8sys/contrib/openzfs/include/os/freebsd/spl/sys cmn_err.h kmem.h, sys/contrib/openzfs/include/sys spa.h vdev.h

zfs: rename several printf attribute declarations to __printf__

For kernel builds, we redefine `__printf__` to `__freebsd_kprintf__`, to
support FreeBSD kernel printf(9) extensions with clang.

In OpenZFS various printf related functions are declared with
__attribute__((format(printf, X, Y))), so these won't work with the
above redefinition. With clang 21 and higher, this leads to errors
similar to:

    sys/contrib/openzfs/module/zfs/spa_misc.c:414:38: error: passing 'printf' format string where 'freebsd_kprintf' format string is expected [-Werror,-Wformat]
      414 |         (void) vsnprintf(buf, sizeof (buf), fmt, adx);
          |                                             ^

Since attribute names can always be spelled with leading and trailing
double underscores, rename these instances.

Note that in FreeBSD proper we usually use `__printflike` from
<sys/cdefs.h>, but that does not apply to OpenZFS.

    [4 lines not shown]
DeltaFile
+8-8sys/contrib/openzfs/include/os/freebsd/spl/sys/cmn_err.h
+2-2sys/contrib/openzfs/include/os/freebsd/spl/sys/kmem.h
+2-2sys/contrib/openzfs/include/sys/spa.h
+1-1sys/contrib/openzfs/include/sys/vdev.h
+1-1sys/contrib/openzfs/include/sys/zfs_debug.h
+14-145 files

HardenedBSD/src 667259bcontrib/ncurses/progs infocmp.c

ncurses: avoid warnings about too-long initializer strings

Increase the size of `assoc::from` to 8 bytes, to avoid warnings from
clang 21 similar to:

    contrib/ncurses/progs/infocmp.c:702:10: error: initializer-string for character array is too long, array size is 4 but initializer has size 5 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
      702 |     DATA("\033[2J", "ED2"),     /* clear page */
          |          ^~~~~~~~~
    contrib/ncurses/progs/infocmp.c:716:10: error: initializer-string for character array is too long, array size is 4 but initializer has size 5 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
      716 |     DATA("\033[!p", "DECSTR"),  /* soft reset */
          |          ^~~~~~~~~

Reviewed by:    markj
Obtained from:  https://invisible-island.net/archives/ncurses/6.5/ncurses-6.5-20241207.patch.gz
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54371
DeltaFile
+1-1contrib/ncurses/progs/infocmp.c
+1-11 files

FreeBSD/src 667259bcontrib/ncurses/progs infocmp.c

ncurses: avoid warnings about too-long initializer strings

Increase the size of `assoc::from` to 8 bytes, to avoid warnings from
clang 21 similar to:

    contrib/ncurses/progs/infocmp.c:702:10: error: initializer-string for character array is too long, array size is 4 but initializer has size 5 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
      702 |     DATA("\033[2J", "ED2"),     /* clear page */
          |          ^~~~~~~~~
    contrib/ncurses/progs/infocmp.c:716:10: error: initializer-string for character array is too long, array size is 4 but initializer has size 5 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
      716 |     DATA("\033[!p", "DECSTR"),  /* soft reset */
          |          ^~~~~~~~~

Reviewed by:    markj
Obtained from:  https://invisible-island.net/archives/ncurses/6.5/ncurses-6.5-20241207.patch.gz
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54371
DeltaFile
+1-1contrib/ncurses/progs/infocmp.c
+1-11 files

LLVM/project 6897234llvm/lib/Transforms/Utils CloneFunction.cpp

fix
DeltaFile
+16-3llvm/lib/Transforms/Utils/CloneFunction.cpp
+16-31 files

FreeBSD/src 710ec40sys/crypto/chacha20 chacha.c

crypto: avoid warnings about too-long initializer strings

Mark `sigma` and `tau` as `__non_string`, to avoid warnings from clang
21 similar to:

    sys/crypto/chacha20/chacha.c:53:31: error: initializer-string for character array is too long, array size is 16 but initializer has size 17 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
       53 | static const char sigma[16] = "expand 32-byte k";
          |                               ^~~~~~~~~~~~~~~~~~
    sys/crypto/chacha20/chacha.c:54:29: error: initializer-string for character array is too long, array size is 16 but initializer has size 17 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
       54 | static const char tau[16] = "expand 16-byte k";
          |                             ^~~~~~~~~~~~~~~~~~

MFC after:      3 days
Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D54364
DeltaFile
+2-2sys/crypto/chacha20/chacha.c
+2-21 files

HardenedBSD/src 710ec40sys/crypto/chacha20 chacha.c

crypto: avoid warnings about too-long initializer strings

Mark `sigma` and `tau` as `__non_string`, to avoid warnings from clang
21 similar to:

    sys/crypto/chacha20/chacha.c:53:31: error: initializer-string for character array is too long, array size is 16 but initializer has size 17 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
       53 | static const char sigma[16] = "expand 32-byte k";
          |                               ^~~~~~~~~~~~~~~~~~
    sys/crypto/chacha20/chacha.c:54:29: error: initializer-string for character array is too long, array size is 16 but initializer has size 17 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
       54 | static const char tau[16] = "expand 16-byte k";
          |                             ^~~~~~~~~~~~~~~~~~

MFC after:      3 days
Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D54364
DeltaFile
+2-2sys/crypto/chacha20/chacha.c
+2-21 files

LLVM/project b1d47f4mlir/include/mlir/Transforms Passes.td Passes.h, mlir/lib/Transforms RemoveDeadValues.cpp

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+203-311mlir/lib/Transforms/RemoveDeadValues.cpp
+110-45mlir/test/Transforms/remove-dead-values.mlir
+10-0mlir/include/mlir/Transforms/Passes.td
+1-0mlir/include/mlir/Transforms/Passes.h
+324-3564 files

FreeBSD/doc 784d600website/content/en/status/report-2025-10-2025-12 freebsd-git-weekly.adoc

Status/2025Q4/freebsd-git-weekly.adoc: Add report

Pull Request:   https://github.com/freebsd/freebsd-doc/pull/590
DeltaFile
+15-0website/content/en/status/report-2025-10-2025-12/freebsd-git-weekly.adoc
+15-01 files

FreeBSD/doc efb4912website/content/en/status/report-2025-10-2025-12 mongodb80.adoc

Status/2025Q4/mongodb80.adoc: Add report

Pull Request:   https://github.com/freebsd/freebsd-doc/pull/587
DeltaFile
+25-0website/content/en/status/report-2025-10-2025-12/mongodb80.adoc
+25-01 files

FreeBSD/ports 5f1badcwww/py-django-solo Makefile distinfo

www/py-django-solo: Update to 2.4.0

* Switch to the PEP517 build framework.

Changelog since 2.2.0:

https://github.com/lazybird/django-solo/blob/2.4.0/CHANGES

PR:             291801
Approved by:    Ivan Rozhuk (maintainer)
DeltaFile
+13-5www/py-django-solo/Makefile
+3-3www/py-django-solo/distinfo
+16-82 files

FreeBSD/ports 92c2029www/py-django-sortedm2m Makefile distinfo

www/py-django-sortedm2m: Update to 4.0.0

* Switch to the PEP517 build framework.

* Use GitHub because no sdist tarballs are available at PyPI.

* Update WWW to point to new upstream repository.

Changelog:

https://github.com/jazzband/django-sortedm2m/releases/tag/4.0.0

PR:             291772
Approved by:    Kevin Golding (maintainer)
DeltaFile
+8-6www/py-django-sortedm2m/Makefile
+3-3www/py-django-sortedm2m/distinfo
+11-92 files

FreeBSD/ports 23c5a2bwww/py-django-polymorphic Makefile distinfo

www/py-django-polymorphic: Update to 4.3.0

* Switch to the PEP517 build framework.

Changelog since 3.1.0:

https://github.com/jazzband/django-polymorphic/releases/tag/v4.3.0

PR:             291770
Approved by:    Kevin Golding (maintainer)
DeltaFile
+5-4www/py-django-polymorphic/Makefile
+3-3www/py-django-polymorphic/distinfo
+8-72 files

FreeBSD/ports 21900d6www/py-django-photologue Makefile distinfo

www/py-django-photologue: Update to 3.18

* Switch to the PEP517 build framework.

* Update WWW to point to actual upstream repository.

Changelog:

https://github.com/richardbarran/django-photologue/blob/3.18/CHANGELOG.txt

PR:             291773
Approved by:    Kevin Golding (maintainer)
DeltaFile
+8-7www/py-django-photologue/Makefile
+3-3www/py-django-photologue/distinfo
+11-102 files

FreeBSD/ports 5021dbewww/py-django-registration Makefile distinfo

www/py-django-registration: Update to 5.2.1

Changelog since 3.4:

https://github.com/ubernostrum/django-registration/compare/3.4...5.2.1

PR:             291771
Approved by:    Kevin Golding (maintainer)
DeltaFile
+5-6www/py-django-registration/Makefile
+3-3www/py-django-registration/distinfo
+8-92 files

FreeBSD/ports 2fca6cewww/py-django-bleach Makefile

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

* Upstream has been archived in November 2024 because py-bleach is no
  longer supported.

PR:             291716
Approved by:    sunpoet (maintainer)
DeltaFile
+3-0www/py-django-bleach/Makefile
+3-01 files

FreeBSD/ports 0edf508www/py-django-tagging Makefile

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

* Upstream is inactive since 5+ years and is no compatibility with
  newer versions of Django.

* Although www/py-django42 will not reach its EoL until April, set the
  EXPIRATION_DATE accordingly at the end of 2026Q1 to get a clean cut
  with regard to the quarterly branch.

PR:             291714
Approved by:    Kevin Golding (maintainer)
DeltaFile
+3-0www/py-django-tagging/Makefile
+3-01 files

FreeBSD/ports b4ddf2fdeskutils/py-paperless Makefile

deskutils/py-paperless: Deprecate/Set to expire

* The upstream project has been archived in 2021 and there's no
  compatibility for Django 5+. Users are advised to migrate over to
  deskutils/py-paperless-ngx.

* Although www/py-django42 will not reach its EoL until April, set the
  EXPIRATION_DATE accordingly at the end of 2026Q1 to get a clean cut
  with regard to the quarterly branch.

PR:             291711
Approved by:    grembo (maintainer)
DeltaFile
+3-0deskutils/py-paperless/Makefile
+3-01 files

FreeBSD/ports 2657810www/py-django-star-ratings Makefile

www/py-django-star-ratings: Deprecate/Set to expire

* Upstream has been archived in May 2025.

PR:             291715
Approved by:    Kevin Golding (maintainer)
DeltaFile
+3-0www/py-django-star-ratings/Makefile
+3-01 files

FreeBSD/ports 264a6d2textproc/py-zensical distinfo Makefile.crates

textproc/py-zensical: Update to 0.0.15

Changelogs since 0.0.11:

https://github.com/zensical/zensical/releases/tag/v0.0.15
https://github.com/zensical/zensical/releases/tag/v0.0.14
https://github.com/zensical/zensical/releases/tag/v0.0.13
https://github.com/zensical/zensical/releases/tag/v0.0.12
DeltaFile
+93-93textproc/py-zensical/distinfo
+45-45textproc/py-zensical/Makefile.crates
+1-2textproc/py-zensical/Makefile
+139-1403 files

FreeBSD/ports 491d509www/py-django-cron Makefile

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

* Upstream project is inactive since 3+ years and there's no
  compatibility for Django 5.2 or newer.

* Although www/py-django42 will not reach its EoL until April, set the
  EXPIRATION_DATE accordingly at the end of 2026Q1 to get a clean cut
  with regard to the quarterly branch.

PR:             291707
DeltaFile
+3-0www/py-django-cron/Makefile
+3-01 files

FreeBSD/ports 4351634www/py-django42 Makefile

www/py-django42: Deprecate/Set to expire

* Set a deprecation note and let it expire to the end of May to give
  enough time to switch all affected ports over to Django 5.2 which is
  the next LTS release.

  The plan is to make every consumer ready for Django 5.2 during 2026Q1
  and then switch everything to Django 5.2 after 2026Q2 has branched.

PR:             291707
With hat:       python
Differential Revision:  https://reviews.freebsd.org/D54248
DeltaFile
+3-0www/py-django42/Makefile
+3-01 files

LLVM/project a512318mlir/lib/Analysis SliceWalk.cpp

[mlir][Analysis] Improve `RegionBranchOpInterface` API usage
DeltaFile
+10-50mlir/lib/Analysis/SliceWalk.cpp
+10-501 files