multimedia/recordmydesktop: Add missing deps
Fixes build with multimedia/libtheora 1.2.0.
audio/libvorbis wasn't needed by libtheora, but this port was
piggybacking off of it.
With hat: multimedia@
games/nexuiz: Add missing deps
Fixes build with multimedia/libtheora 1.2.0.
audio/libvorbis wasn't needed by libtheora, but this port was
piggybacking off of it.
With hat: multimedia@
netlink: Don't directly access ifnet members
Summary:
Remove the final direct access of struct ifnet members from netlink.
Since only the first address is used, create the iterator and then free,
without fully iterating.
Reviewed By: kp
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D42972
(cherry picked from commit b224af946a17b8e7a7b4942157556b5bc86dd6fb)
mac_ipacl: Use IfAPI
Use `if_t` instead of `struct ifnet *`, and if_name() accessor.
Sponsored by: Juniper Networks, Inc.
(cherry picked from commit b820820ece099a73511d7daec407d78f38185a9b)
astro/gpscorrelate: Take maintainership.
There is a new maintainer upstream, Dan Fandrich,
and he has new versions and FreeBSD in his CI pipelines.
Update to 2.3 coming up.
unionfs: detect common deadlock-producing mount misconfigurations
When creating a unionfs mount, it's fairly easy to shoot oneself
in the foot by specifying upper and lower file hierarchies that
resolve back to the same vnodes. This is fairly easy to do if
the sameness is not obvious due to aliasing through nullfs or other
unionfs mounts (as in the associated PR), and will produce either
deadlock or failed locking assertions on any attempt to use the
resulting unionfs mount.
Leverage VOP_GETLOWVNODE() to detect the most common cases of
foot-shooting at mount time and fail the mount with EDEADLK.
This is not meant to be an exhaustive check for all possible
deadlock-producing scenarios, but it is an extremely cheap and
simple approach that, unlike previous proposed fixes, also works
in the presence of nullfs aliases.
PR: 172334
Reported by: ngie, Karlo Miličević <karlo98.m at gmail.com>
[5 lines not shown]
unionfs: Implement VOP_GETLOWVNODE
This function returns the vnode that will be used to resolve the
access type specified in the 'flags' argument, and is useful for
optimal behavior of vn_copy_file_range(). While most filesystems
can simply use the default implementation which returns the passed-
in vnode, unionfs (like nullfs) ideally should resolve the access
request to whichever base layer vnode will be used for the I/O.
For unionfs, write accesses must be resolved through the upper vnode,
while read accesses will be resolved through the upper vnode if
present or the lower vnode otherwise. Provide a simple
unionfs_getlowvnode() implementation that reflects this policy.
Reviewed by: kib, olce
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D53988
(cherry picked from commit 5c025978fc3649730329994eecc56ada119e6717)
m4: avoid warnings about too-long initializer strings
Mark `digits` as `__non_string`, to avoid warnings from clang 21 similar
to:
usr.bin/m4/misc.c:123:27: error: initializer-string for character array is too long, array size is 36 but initializer has size 37 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
123 | static char digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MFC after: 3 days
makefs: avoid warnings about too-long initializer strings
Mark `direntry::deName` as `__non_string`, to avoid warnings from clang
21 similar to:
usr.sbin/makefs/msdos/msdosfs_vnops.c:512:4: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
512 | { ". ", /* the . entry */
| ^~~~~~~~~~~~~
usr.sbin/makefs/msdos/msdosfs_vnops.c:522:4: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
522 | { ".. ", /* the .. entry */
| ^~~~~~~~~~~~~
MFC after: 3 days
net-p2p/prowlarr: Fix rc script for 15 after SSL version bump
PR: 291736
Approved by: Michiel van Baak Jansen <michiel at vanbaak.eu> (maintainer, implicit)
MFH: 2025Q4
(cherry picked from commit 0530c673f13cfaff1070e76f39e8008b15a6dd46)
net-p2p/lidarr: Fix rc script for 15 after SSL version bump
PR: 291736
Approved by: Michiel van Baak Jansen <michiel at vanbaak.eu> (maintainer, implicit)
MFH: 2025Q4
(cherry picked from commit 82e117b6ee954427493a75f7cb5c566b9eed3246)
net-p2p/readarr: Fix rc script for 15 after SSL version bump
PR: 291736
Approved by: Michiel van Baak Jansen <michiel at vanbaak.eu> (maintainer, implicit)
MFH: 2025Q4
(cherry picked from commit 41399888591fb9c86e48ba9c6f21de1b62f64001)