misc/gwhich: update GNU which to the latest version 2.25
- Bug fix for an out of bounds stack read (by Daniel Anderson)
- Scripts regenerated with automake 1.18.1 and autoconf 2.73
- Install a bunch of documentation files and convert EXAMPLES
option into DOCS (one file does not warrant this separation)
- While here, provide a more sensible and useful COMMENT text
Reported by: portscout
filesystems/httpdirfs: 1.2.10 => 1.3.1
* Since 1.2.11 (e50d690) upstream added core unit testing suite using
the Unity framework, which hadn't yet ported to FreeBSD. So commented
out it's inclusion in meson build manifest.
* Removed patches needed to build the port on i386 and with previous
versions of ftp/curl as it builds without them now.
Approved by: db@, yuri@ (Mentors, implicit)
crashinfo: Create core.txt.last symlink
When saving a coredump, savecore(8) maintains .last symlinks for the
info and vmcore artifacts, but not for the crashinfo text report.
Make crashinfo(8) create the link, pointing at the current
core.txt.<bounds> file.
This makes /var/crash/core.txt.last track the same core dump as
info.last and vmcore.last.
[mhorne: I tweaked the submission, such that the link will be created as
soon as the core.txt.X file is generated; not only after a successful
report has been written.]
Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: mhorne
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/2199
devel/py-defusedcsv: add new port
defusedcsv is a drop-in replacement for Python's csv module
that mitigates CSV injection attacks in spreadsheet software.
WWW: https://github.com/raphaelm/defusedcsv
Sponsored by: Netzkommune GmbH
virtual_oss(8): Fix buffer overflow in voss_compressor() call
This particular calls swaps the samples and maxchan arguments, which can
cause a buffer overflow in p_ch_chain if maxchan exceeds its bounds
(VMAX_CHAN).
Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: emaste
usb: Add missing mtx lock and unlock in pushing dma queue
Accessing usb_xfer_queue requires bus lock, we added this missing lock
in here to prevent racing issue.
Reviewed by: adrian
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57293
Mk/bsd.port.mk: Add EXTRACT_ENV
Add an EXTRACT_ENV variable which defaults to LC_ALL=C.UTF-8. We set
LC_ALL=C globally to ensure our scripts work the way we intend them to,
but this causes tar and unzip to fail to extract distfiles containing
names that cannot be expressed in ASCII. This was previously masked by
a bug in libarchive which caused tar and unzip to fail to notice that
these names were unconvertible and just pass them through unchanged.
MFH: 2026Q2
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D57295
(cherry picked from commit 98103f19430200b36e9adcb10ed8831ce9ffc42f)
Mk/bsd.port.mk: Add EXTRACT_ENV
Add an EXTRACT_ENV variable which defaults to LC_ALL=C.UTF-8. We set
LC_ALL=C globally to ensure our scripts work the way we intend them to,
but this causes tar and unzip to fail to extract distfiles containing
names that cannot be expressed in ASCII. This was previously masked by
a bug in libarchive which caused tar and unzip to fail to notice that
these names were unconvertible and just pass them through unchanged.
MFH: 2026Q2
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D57295
sound: Centralize and improve hot-swapping
Introduce pcm_hotswap(), which is responsible for sending devctl
SND/CONN notifications.
There are two user-visible improvements with this patch:
First, in pcm_unregister(), instead of just sending a SND/CONN/NODEV
notification when all devices have detached, we also switch to the new
default device if the previously default one has detached, but there are
more left.
Second, in pcm_register(), if the device happens to also be the new
default device, we hot-swap to it. Additionally, if hw.snd.default_auto
is set to 2, then we will essentially be hot-swapping to the newest
attached device.
The latter is especially useful for laptops like the Framework 16, which
comes with a built-in snd_hda(4) speaker-microphone-only device, and
[16 lines not shown]
rc: virtual_oss: Wait for process to exit
Sometimes virtual_oss processes do not exit immediatelly. If we do not
wait for the processes to fully exit before returning from
virtual_oss_stop(), then the service restart operation might call
virtual_oss_start() too early and fail, because it will think the
service wasn't stopped and is still running.
Reported by: jrm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: 0mp, jrm
Pull-Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/33
rc: virtual_oss: Define some variables in rc.conf
They will now be part of /etc/defaults/rc.conf and be accessible by
sysrc(8).
Fixes: 70e27ecba518 ("virtual_oss: Introduce virtual_oss_default_control_device rc variable")
PR: 295560
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: 0mp, jrm
Pull-Reqeust: https://ron-dev.freebsd.org/FreeBSD/src/pulls/33
rc: virtual_oss: Handle absent pidfile properly
Instead of throwing errors from the programs that use it, print a
warning if the file does not exist.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: 0mp, jrm
Pull-Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/33
deskutils/py-paperless-ngx: Move away from py-dj52-* ports
* The counterparts of the py-dj52-* ports were switched to Django 5.2
in ce59801b72ef, thus move py-paperless-ngx to those ones.
* Rename py-dj52-django-treenode to py-django-treenode, since there's
no equivalent for it yet.
* Bump PORTREVISION due changed dependencies.
PR: 291707
Approved by: grembo (maintainer, via private mail)
www/py-django-auditlog: Update to 3.4.0
* There is already a newer version available, but stick with this one
for now to stay in sync with the py-dj52 counterpart. This is being
done as a precaution to avoid any potential issues later on when
py-paperless-ngx is switched from py-dj52-django-auditlog to this
port.
Changelog since 3.0.0:
https://github.com/jazzband/django-auditlog/blob/v3.4.0/CHANGELOG.md
Approved by: grembo (maintainer, via private mail)
www/py-django-multiselectfield: Update to 0.1.13
* There are already newer versions available, but stick with this one
for now to stay in sync with the py-dj52 counterpart. This is being
done as a precaution to avoid any potential issues later on when
py-paperless-ngx is switched from py-dj52-django-multiselectfield to
this port.
* Also switch to the PEP517 build framework to make the port future
proof while I'm here.
Changelog:
https://github.com/goinnn/django-multiselectfield/blob/v0.1.13/CHANGES.rst
Approved by: grembo (maintainer, via private mail)