FreeBSD/ports bacf4d0net/sniffnet distinfo Makefile.crates

net/sniffnet: Update to 1.4.2

Changelog: https://github.com/GyulyVGC/sniffnet/blob/v1.4.2/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+313-333net/sniffnet/distinfo
+155-165net/sniffnet/Makefile.crates
+1-2net/sniffnet/Makefile
+469-5003 files

FreeBSD/src 51c5e2blib/libsys Makefile.sys

libsys: install manpage links for jail_attach_jd/jail_remove_jd

This was a minor oversight from their introduction.

Commit message by kevans@.

Fixes:  851dc7f859c23 ("jail: add jail descriptors")
Reviewed by:    kevans
DeltaFile
+3-1lib/libsys/Makefile.sys
+3-11 files

FreeBSD/doc 5d9a726website/content/en/releases/15.0R schedule.adoc

15.0: Add BETA5 to schedule

Package set builds are ongoing; I'm going to call this week BETA5 but
hopefully next week we can have RC1.

With hat:       re (cperciva)
Sponsored by:   https://www.patreon.com/cperciva
DeltaFile
+4-4website/content/en/releases/15.0R/schedule.adoc
+4-41 files

FreeBSD/doc e33d3f3website/content/en/projects summerofcode.adoc

GSoC: Add link to 2025 projects wiki page

While here, condense the list of past project pages for brevity.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+23-21website/content/en/projects/summerofcode.adoc
+23-211 files

FreeBSD/ports 31afb00textproc/harper distinfo Makefile.crates

textproc/harper: Update to 0.71.0
DeltaFile
+359-161textproc/harper/distinfo
+178-79textproc/harper/Makefile.crates
+1-1textproc/harper/Makefile
+538-2413 files

FreeBSD/src d53618dsys/dev/random random_harvestq.c, sys/dev/random/fenestrasX fx_pool.c

random: CTASSERT check sizeof random_source_descr[]

Ensure that the number of elements of random_source_descr[]
and fxrng_ent_char[] matches that of enum random_entropy_source.

Reviewed by:    cem
Differential Revision: https://reviews.freebsd.org/D53255
(cherry picked from commit 8bd9a9e9e4cb3e293c1639319692ce201eb8fc53)
DeltaFile
+4-2sys/dev/random/random_harvestq.c
+2-1sys/dev/random/fenestrasX/fx_pool.c
+6-32 files

FreeBSD/src 3a9bcf8sys/dev/random/fenestrasX fx_pool.c

random: fenestrasX: Add missing entropy sources

Reviewed by: cem
Fixes: 1492c8c0d qcom_rnd: add initial qualcomm prng driver.
Fixes: 9eecef052 Add an Armv8 rndr random number provider
Fixes: b2f8b2dc8 sys: Add an SMCCC Random Number Generator driver
Differential Revision:  https://reviews.freebsd.org/D53292
(cherry picked from commit 93b02f69a6f6ffb833227c2fd56d48daac128156)
DeltaFile
+9-0sys/dev/random/fenestrasX/fx_pool.c
+9-01 files

FreeBSD/src 1860271etc/mtree BSD.include.dist

etc/mtree/BSD.include.dist: Remove libipt-dev

This package only exists on amd64, which means on other platforms we
produce an empty package containing nothing but this directory, and
without a base package (libipt) that package fails to install due to
a missing dependency.

For now, fix this by removing the libipt-dev package tag, which moves
this directory to clibs.

Approved by:    re (cperciva)
Fixes: 436618a427b4 ("etc/mtree: Add package tags for /usr/include")
Reported by:    cperciva
MFC after:      3 seconds

(cherry picked from commit 2a8a6179eb6cef8ba1a417a4c8a1f7063c704533)
(cherry picked from commit ccd948829cc8e2456123fbafcb694261f0109d94)
DeltaFile
+1-1etc/mtree/BSD.include.dist
+1-11 files

FreeBSD/src 4291f03release/tools gce.conf

release: Make fetch happen in GCE images

We want to fetch distfiles, regardless of whether they contain known
vulnerabilities or we're building images for a different version of
FreeBSD.

Approved by:    re (cperciva)
Reviewed by:    ivy
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D53569

(cherry picked from commit 8234c1899b305bcd23323a5870e459028b91bfe4)
(cherry picked from commit 3b01c7da327853e9f3347ff0cae9d075460f5a27)
DeltaFile
+3-2release/tools/gce.conf
+3-21 files

FreeBSD/src dab5efbrelease/tools gce.conf

release: Don't try to fetch distfiles for pkgbase

In order to comply with the require that GCE images must include their
source code, we fetch distfiles for all of the packages installed into
GCE images.  This fails for obvious reasons for packages with an origin
of base/*; filter those out to generate the list to fetch.

Approved by:    re (cperciva)
Reviewed by:    ivy
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D53568

(cherry picked from commit 05b3a45cd065c93cc1262d31675e3e102784400a)
(cherry picked from commit 92ab9516c8a5d196b60ac8f6df777de745aaa219)
DeltaFile
+1-1release/tools/gce.conf
+1-11 files

FreeBSD/src f512ec4release Makefile.vm

release: GCE builds depend on ftp

GCE images are required by Google to include their source code; we do
this by extracting {src,ports}.txz into the images, from the (legacy)
distribution sets.

Make sure those distribution sets actually exist.

Approved by:    re (cperciva)
Reviewed by:    ivy
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D53567

(cherry picked from commit 7f536b1c1146c4bc5cde336e1fe7a083f2874f11)
(cherry picked from commit a1b00e368926198a163015bfe21171f2d582c703)
DeltaFile
+7-0release/Makefile.vm
+7-01 files

FreeBSD/src f438cf7release/tools vmimage.subr

vmimage.subr: pkg autoremove after pkg install

A bug in pkg, which somehow only surfaced as a consequence of pkgbase,
results in pkg install sometimes pulling in false dependencies.  This
problem might be limited to cases when the lib32 pkgbase packages are
not installed.  In the case of EC2 "small" images, installing the
ebsnvme-id package results in binutils, gcc12-devel, gmp, indexinfo,
liblz4, mpc, mpfr, and zstd packages being installed.

These false dependencies are however not recorded as dependencies --
at some level pkg does understand that they're not needed -- so running
pkg autoremove immediately after pkg install cleans them up.

Note: This does not remove lines from METALOG corresponding to these
packages, and makefs emits an error when it attempts to create the
filesystem but cannot find the files listed in METALOG -- but makefs
does seem to complete normally despite the error messages.

This change should be reverted once the pkg issue has been located and

    [10 lines not shown]
DeltaFile
+9-0release/tools/vmimage.subr
+9-01 files

FreeBSD/src 299dfb3. Makefile.inc1

Makefile.incl1: .WAIT before distribute in etc

In order to make sure that man pages are all installed before we run
makewhatis to generate mandoc.db files, we have long placed etc at the
end of the list of subdirectories being recursed into by the build.
In order to support installworld -jN, a .WAIT was more recently added
here.

With the recent adoption by the release engineering team of parallel
*release* builds (aka 'make release -jN') it is now also necessary to
add the same .WAIT before recursing for the 'distribute' target, as we
otherwise end up with distribution sets containing incomplete mandoc.db
files.

Approved by:    re (cperciva)
Reviewed by:    bdrewery
PR:             289683
MFC after:      3 days
Sponsored by:   https://www.patreon.com/cperciva

    [4 lines not shown]
DeltaFile
+1-1Makefile.inc1
+1-11 files

FreeBSD/src 0888e32release/tools gce.conf

release: Spell metalog_add_data conventionally

Approved by:    re (cperciva)
Reviewed by:    markj
MFC after:      3 days
Fixes: f1995d6fc13f ("release: Prepare GCE cloudware images for building as non-root")
Differential Revision:  https://reviews.freebsd.org/D53530

(cherry picked from commit c3a3af1346684eedf836fb62f874092ce602697e)
(cherry picked from commit 6e47589eb067e5a22cce9f351ecf12bd2ffa9e4d)
DeltaFile
+1-1release/tools/gce.conf
+1-11 files

FreeBSD/src 76fb5c2sys/kern kern_prot.c

setcred(): Fix RACCT resource accounting on credentials change

When credentials are changed, we need to adjust the sum of resources
associated to the initial and new process' user IDs (and old and new
login classes and jails, but setcred() does not change them) for them to
stay consistent.

Approved by:    re (cperciva)
PR:             290352
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D53457

(cherry picked from commit 2be5127c4a31bacac9b4158395bfa844f6033626)
(cherry picked from commit 2e76660cb71dc113a4f4e0eb05eb190d7fc99e7f)
DeltaFile
+16-1sys/kern/kern_prot.c
+16-11 files

FreeBSD/src c3a27fasys/kern kern_prot.c kern_loginclass.c

kern: Fix credentials leaks on RACCT but no RCTL

Affected system calls: setuid(), setreuid(), setresuid(), jail_attach(),
setloginclass().

In these system calls, the crhold() calls that, on RACCT, make the
just-installed process credentials survive a concurrent change of the
same credentials just after PROC_UNLOCK() were not matched by
a corresponding crfree() when RCTL is off.  In fact, in that latter
case, they are simply not necessary, so wrap them with '#ifdef RCTL'
stances.  'kern_rctl.c' causes a compile error if RACCT is not defined
but RCTL is, so ease reading by not nesting '#ifdef's.

Approved by:    re (cperciva)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D53456

(cherry picked from commit f4315ff8b3fee71eb0098864a84618f2f8ba85d5)
(cherry picked from commit 4db768b01cd78666949bbd67ba611e9e47ed710d)
DeltaFile
+6-0sys/kern/kern_prot.c
+2-0sys/kern/kern_loginclass.c
+2-0sys/kern/kern_jail.c
+10-03 files

FreeBSD/src 1e5405dsys/netpfil/pf pf_ioctl.c, tests/sys/netpfil/pf/ioctl validation.c

pf: improve DIOCRCLRTABLES validation

Unterminated strings in the anchor or name could cause crashes.
Validate them, and add a test case.

Approved by:    re (cperciva)
Reported by:    Ilja Van Sprundel <ivansprundel at ioactive.com>
MFC after:      3 days
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 1da3c0ca5b1decaa9cf55859cd134bdcd1218116)
(cherry picked from commit 909528f8a13004e15c08c4793a6a349716f90447)
DeltaFile
+33-0tests/sys/netpfil/pf/ioctl/validation.c
+11-0sys/netpfil/pf/pf_ioctl.c
+44-02 files

FreeBSD/src 05c3c8csys/netpfil/pf if_pfsync.c, tests/sys/netpfil/pf/ioctl validation.c

pf: improve add state validation

Both for the DIOCADDSTATE ioctl and for states imported through pfsync packets.
Add a test case to exercise this code path.

Approved by:    re (cperciva)
Reported by:    Ilja Van Sprundel <ivansprundel at ioactive.com>
MFC after:      3 days
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit faacc0d968816cf8714c974b6d8df6191cfb0e0d)
(cherry picked from commit 4891e6f1c0ee9d81ca36b9d74d8ef4ef20690621)
DeltaFile
+25-0tests/sys/netpfil/pf/ioctl/validation.c
+3-0sys/netpfil/pf/if_pfsync.c
+28-02 files

FreeBSD/src 06edf53tests/sys/fs/fusefs bad_server.cc mockfs.cc

fusefs: Fix intermittency in the BadServer.ShortWrite test case

We were using the m_quit bit for two similar but distinct uses:

* To instruct the server to quit
* To cope with the kernel forcibly unmounting the fs

Fix the intermittent test failure by adding a separate bit,
m_expect_unmount, to handle cases like the latter.

Approved by:    re (cperciva)
Reported by:    Siva Mahadevan <me at svmhdvn.name>
MFC after:      1 week
Revied by:      Siva Mahadevan <me at svmhdvn.name>
Differential Revision: https://reviews.freebsd.org/D53357

(cherry picked from commit d86025c1d49c84c4dc8c3635c83c078ad56e5a53)
(cherry picked from commit f0cf086c05d86f962d259895bcb50ba8ca4c10e0)
DeltaFile
+4-4tests/sys/fs/fusefs/bad_server.cc
+3-2tests/sys/fs/fusefs/mockfs.cc
+3-0tests/sys/fs/fusefs/mockfs.hh
+10-63 files

FreeBSD/src 914064ctests/sys/fs/fusefs bad_server.cc

fusefs: fix intermittency in the BadServer.ShortWrite test

This test implicitly depended on the order in which two threads
completed.  If the test thread finished first, the test would pass.  But
if the mock file system thread did, it would attempt to read from an
unmounted file system, and fail.  As a result, the test would randomly
fail once out of every several thousand executions.  Fix it by telling
the mock file system's event loop to exit without attempting to read any
more events.

Approved by:    re (cperciva)
Reported by:    Siva Mahadevan <me at svmhdvn.name>
MFC after:      1 week
Reviewed by:    Siva Mahadevan <me at svmhdvn.name>
Differential Revision: https://reviews.freebsd.org/D53080

(cherry picked from commit d1bd541b385d49d2ae3a8bad9df72779b606e208)
(cherry picked from commit a1c3537148a59f6a1c86ebcb686b2e2c8e404b5f)
DeltaFile
+5-0tests/sys/fs/fusefs/bad_server.cc
+5-01 files

FreeBSD/src a711949sys/fs/fuse fuse_internal.c fuse_vnops.c, tests/sys/fs/fusefs xattr.cc

fusefs: respect the server's FUSE_SETXATTR_EXT flag

FUSE protocol 7.33 extended the FUSE_SETXATTR request format.  But the
extension is optional.  The server must opt-in by setting the
FUSE_SETXATTR_IN flag during FUSE_INIT.  We were wrongly using the
extended format for any server using protocol 7.33 or later.

Approved by:    re (cperciva)
PR:             290547
Co-authored-by: CismonX <admin at cismon.net>
Fixes:          d5e3cf41e89 ("fusefs: Upgrade FUSE protocol to version 7.33")
MFC after:      3 days

(cherry picked from commit e8449c0e0fcb8a3eb5872cbee5c3dde4b05a5f50)
(cherry picked from commit a23bd71deaad478cbe41ae756b96ea7a32537311)
DeltaFile
+52-15tests/sys/fs/fusefs/xattr.cc
+4-1sys/fs/fuse/fuse_internal.c
+2-2sys/fs/fuse/fuse_vnops.c
+1-0sys/fs/fuse/fuse_ipc.h
+59-184 files

FreeBSD/src ba5626detc/mtree BSD.include.dist BSD.usr.dist

etc/mtree: Add package tags for /usr/include

Set the default package to clibs-dev, since that's where the vast
majority of include files comes from.  Add explicit package tags
for the directories which are installed in their own package.

Approved by:    re (cperciva)
MFC after:      1 day
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53577

(cherry picked from commit 436618a427b4baaf42d8221ef07d14e3ba787d3a)
(cherry picked from commit 736771f631557213269692f3a5611a1f0bdab2bd)
DeltaFile
+28-28etc/mtree/BSD.include.dist
+16-16etc/mtree/BSD.usr.dist
+44-442 files

FreeBSD/src 011bfe6release/packages/sets base-dbg.ucl

packages: Make set-base-dbg depend on set-optional-dbg

As set-base depends on set-optional, so should set-base-dbg depend on
set-optional-dbg.  Otherwise, people who install set-base-dbg will be
missing a bunch of debug packages.

Approved by:    re (cperciva)
MFC after:      1 day
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53575

(cherry picked from commit 3bcb2977704556ebf5c8847eaa7a46692b0bc1d0)
(cherry picked from commit 5f1d2ef1f52f50c255d96dfdfe84980fcf638509)
DeltaFile
+3-0release/packages/sets/base-dbg.ucl
+3-01 files

FreeBSD/src 190e1cdkrb5/lib/kadm5clnt Makefile

libkadm5clnt: Fix library symlink install

libkadm5clnt_mit installs a symlink from libkadm5clnt.so for backward
compatibility, but it neglected to include the package tags, so the
symlink was missing from pkgbase builds.  Add ${DEV_TAG_ARGS} to the
install command.

Approved by:    re (cperciva)
Reported by:    Mark Millard <marklmi at yahoo.com>
MFC after:      1 day
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53574

(cherry picked from commit 707507c27f69f16de0ce3efee21b20d4f76328f8)
(cherry picked from commit dd9ba3201b1c46a9412b499289e65f5ebebb6ee5)
DeltaFile
+2-1krb5/lib/kadm5clnt/Makefile
+2-11 files

FreeBSD/src 2e2e70blib/libcasper Makefile.inc, lib/libcasper/libcasper Makefile

libcasper: Move everything to the libcasper package

The libcasper package exists to contain libcasper, but for some reason
only the libcap_net service was in the package, with libcasper itself
and the rest of the services being in runtime.  Move everything to the
libcasper package, except tests which stay in the tests package.

Approved by:    re (cperciva)
MFC after:      1 day
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53576

(cherry picked from commit b8697ac70ebfce2d8e3df6c67bbf37910793b199)
(cherry picked from commit 25eb50f68bd59c28364fd187e935885e6e360f17)
DeltaFile
+2-0lib/libcasper/services/tests/Makefile
+2-0lib/libcasper/tests/Makefile
+0-2lib/libcasper/libcasper/Makefile
+2-0lib/libcasper/Makefile.inc
+0-2lib/libcasper/services/cap_dns/Makefile
+0-2lib/libcasper/services/cap_fileargs/Makefile
+6-66 files not shown
+6-1812 files

FreeBSD/src 753cef7cddl/contrib/opensolaris/cmd/dtrace dtrace.1

dtrace.1: Fix mdoc macros around -x

There should be no space between -x's "arg" and "=value".

MFC after:      3 days
DeltaFile
+1-1cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
+1-11 files

FreeBSD/ports e57be54net/onedrive distinfo Makefile

net/onedrive: Update 2.5.7 => 2.5.9

Changelogs:
https://github.com/abraunegg/onedrive/releases/tag/v2.5.8
https://github.com/abraunegg/onedrive/releases/tag/v2.5.9

PR:     290848
DeltaFile
+3-3net/onedrive/distinfo
+1-1net/onedrive/Makefile
+1-0net/onedrive/pkg-plist
+5-43 files

FreeBSD/ports d281cfcwww/firefox distinfo Makefile

www/firefox: update to 145.0 (rc2)

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

(cherry picked from commit 09baee4c354cf77f12b666007c8d507ea1e8c8be)
DeltaFile
+3-3www/firefox/distinfo
+2-1www/firefox/Makefile
+5-42 files

FreeBSD/ports 09baee4www/firefox distinfo Makefile

www/firefox: update to 145.0 (rc2)

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

FreeBSD/src 9fe88e5cddl/contrib/opensolaris/cmd/dtrace dtrace.1, share/man/man4 dtrace_pid.4 Makefile

dtrace_pid.4: Document the DTrace PID provider

MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D51287
DeltaFile
+99-0share/man/man4/dtrace_pid.4
+2-1cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
+1-0share/man/man4/Makefile
+102-13 files