HardenedBSD/src ea384a0usr.bin/diff diffreg.c, usr.bin/diff/tests diff_test.sh

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+11-0usr.bin/diff/tests/diff_test.sh
+2-1usr.bin/diff/diffreg.c
+13-12 files

HardenedBSD/ports 7dac9ecaudio/playgsf Makefile, net-mgmt/metronome/files metronome.in

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+346-365www/rustypaste/Makefile.crates
+297-335www/rustypaste/distinfo
+165-185www/rustypaste-cli/distinfo
+110-120www/rustypaste-cli/Makefile.crates
+35-0net-mgmt/metronome/files/metronome.in
+9-12audio/playgsf/Makefile
+962-1,01712 files not shown
+999-1,03818 files

HardenedBSD/ports 065f61caudio/playgsf Makefile

audio/playgsf: Improve port

* Pacify portlint/portfmt/portclippy
* Convert post-extract to EXTRACT_AFTER_ARGS to reduce I/O
  (skips extracting)

PR:             278765
DeltaFile
+9-12audio/playgsf/Makefile
+9-121 files

HardenedBSD/ports eceefb2multimedia/x265 distinfo

multimedia/x265: Refresh distfile

Footer in patch file now reports 2.45.0 instead of 2.42.0 which causes
a checksum mismatch

PR:             279017
Reported by:    makoto90 at pm.me
Approved by:    portmgr (blanket, build fix)
DeltaFile
+2-2multimedia/x265/distinfo
+2-21 files

HardenedBSD/ports 9ae1e22. UIDs GIDs, net-mgmt/metronome Makefile pkg-plist

net-mgmt/metronome: Add rc.d script

PR:             239819
Reported by:    freebsd_at_dns_d_company, tremere_at_cainites_d_net
DeltaFile
+35-0net-mgmt/metronome/files/metronome.in
+16-2net-mgmt/metronome/Makefile
+1-1UIDs
+1-1GIDs
+1-0net-mgmt/metronome/pkg-plist
+54-45 files

HardenedBSD/ports 492c3dfwww/rustypaste Makefile.crates distinfo

www/rustypaste: Update to 0.15.0

changeLog:
https://github.com/orhun/rustypaste/blob/v0.15.0/CHANGELOG.md

PR:             278881
Approved by:    submitter is maintainer
DeltaFile
+346-365www/rustypaste/Makefile.crates
+297-335www/rustypaste/distinfo
+1-2www/rustypaste/Makefile
+644-7023 files

HardenedBSD/ports a317406www/rustypaste-cli distinfo Makefile.crates

www/rustypaste-cli: Update to 0.9.0

changeLog:
https://github.com/orhun/rustypaste-cli/blob/v0.9.0/CHANGELOG.md

PR:             278882
Approved by:    submitter is maintainer
DeltaFile
+165-185www/rustypaste-cli/distinfo
+110-120www/rustypaste-cli/Makefile.crates
+1-2www/rustypaste-cli/Makefile
+276-3073 files

HardenedBSD/ports bd1e0bax11-wm/fvwm2 Makefile

x11-wm/fvwm2: Add a GPLv2 license

PR:             279109
Reported by:    Chris Hutchinson <portmaster at bsdforge.com>
Submitted by:   Chris Hutchinson <portmaster at bsdforge.com>
DeltaFile
+4-1x11-wm/fvwm2/Makefile
+4-11 files

HardenedBSD/ports 804916agraphics/mesa-devel distinfo Makefile

graphics/mesa-devel: update to 24.1.b.1176

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/eebc4ec264e...b4bd3807045
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+5-52 files

HardenedBSD/ports f08fd88emulators/rpcs3 distinfo Makefile

emulators/rpcs3: update to 0.0.32.16476

Changes:        https://github.com/RPCS3/rpcs3/compare/ba379ceba2...9ceb22a2c0
DeltaFile
+3-3emulators/rpcs3/distinfo
+2-2emulators/rpcs3/Makefile
+5-52 files

HardenedBSD/src fb623aausr.bin/diff diffreg.c, usr.bin/diff/tests diff_test.sh

diff: honour -B flag with -q

PR:             278988
Reviewed by:    bapt
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45220
DeltaFile
+11-0usr.bin/diff/tests/diff_test.sh
+2-1usr.bin/diff/diffreg.c
+13-12 files

HardenedBSD/src c63a1bb. Makefile.inc1, sys/dev/cxgbe t4_filter.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+10-42sys/dev/cxgbe/tom/t4_ddp.c
+7-43sys/dev/cxgbe/tom/t4_tls.c
+5-38sys/dev/cxgbe/t4_filter.c
+42-0sys/dev/cxgbe/common/common.h
+4-38sys/dev/cxgbe/tom/t4_tom.c
+18-1Makefile.inc1
+86-1624 files not shown
+102-16810 files

HardenedBSD/src de477e4sys/dev/sound unit.c, sys/dev/sound/pcm sound.c vchan.c

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+39-442sys/dev/sound/pcm/sound.c
+187-19sys/dev/sound/pcm/vchan.c
+173-28sys/dev/sound/pcm/channel.c
+44-156sys/dev/sound/pcm/dsp.c
+0-188sys/dev/sound/unit.c
+31-73sys/dev/sound/pcm/sound.h
+474-90636 files not shown
+547-1,13442 files

HardenedBSD/ports 4177e17devel/llvm-devel pkg-plist, devel/qt6-base/files patch-src_plugins_tls_openssl_qsslsocket__openssl__symbols__p.h patch-src_plugins_tls_openssl_qx509__openssl.cpp

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+416-0games/veloren-weekly/files/patch-rust-1.78.0-vek
+4-46devel/qt6-base/files/patch-src_plugins_tls_openssl_qsslsocket__openssl__symbols__p.h
+3-45devel/qt6-base/files/patch-src_plugins_tls_openssl_qx509__openssl.cpp
+10-22devel/qt6-base/files/patch-src_plugins_tls_openssl_qsslsocket__openssl__symbols.cpp
+7-11textproc/difftastic/distinfo
+14-3devel/llvm-devel/pkg-plist
+454-12719 files not shown
+504-18125 files

HardenedBSD/src 64a00f8sys/dev/cxgbe t4_filter.c, sys/dev/cxgbe/common common.h

cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place.

MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+10-42sys/dev/cxgbe/tom/t4_ddp.c
+7-43sys/dev/cxgbe/tom/t4_tls.c
+5-38sys/dev/cxgbe/t4_filter.c
+42-0sys/dev/cxgbe/common/common.h
+4-38sys/dev/cxgbe/tom/t4_tom.c
+68-1615 files

HardenedBSD/src cca3506sys/dev/cxgbe t4_sched.c

cxgbe(4): sc->port is indexed by port_id and not tx_chan.

MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+1-1sys/dev/cxgbe/t4_sched.c
+1-11 files

HardenedBSD/ports 6b8bbb4devel/qt6-base/files patch-src_plugins_tls_openssl_qsslsocket__openssl__symbols__p.h patch-src_plugins_tls_openssl_qx509__openssl.cpp

devel/qt6-base: remove dead LibreSSL preprocessor/code

- remove guards for LibreSSL < 3.9
- CRYPTO_free since 3.9 accepts file and line arguments as OpenSSL
DeltaFile
+4-46devel/qt6-base/files/patch-src_plugins_tls_openssl_qsslsocket__openssl__symbols__p.h
+3-45devel/qt6-base/files/patch-src_plugins_tls_openssl_qx509__openssl.cpp
+10-22devel/qt6-base/files/patch-src_plugins_tls_openssl_qsslsocket__openssl__symbols.cpp
+17-1133 files

HardenedBSD/ports 145551cgames/veloren-weekly/files patch-rust-1.78.0-vek

games/veloren-weekly: Add missing rust 1.78.0 fix after b352c01459d9

PR:             278938
Reported by:    pkg-fallout
DeltaFile
+416-0games/veloren-weekly/files/patch-rust-1.78.0-vek
+416-01 files

HardenedBSD/ports 384f997games/veloren-weekly/files patch-rust-1.78.0

games/veloren-weekly: annotate upstream fix
DeltaFile
+1-0games/veloren-weekly/files/patch-rust-1.78.0
+1-01 files

HardenedBSD/src 61ad1dd. Makefile.inc1

Improve broken-on-gcc checks

Mark powerpc* and riscv broken.

Refactor and add a TRY_GCC_BROKEN option to build anyway.  This
simplifies things for people trying to get gcc builds working
while letting other developers know that they aren't expected to work.

Reviewed by:    jhb, emaste
Improves:       4c0dfd5959bd4 arm: fail early on gcc builds
Differential Revision:  https://reviews.freebsd.org/D45230
DeltaFile
+18-1Makefile.inc1
+18-11 files

HardenedBSD/src 1062db3lib/libcxxrt Makefile

libcxxrt: allow build with gcc13 and --no-undefined-version

GCC 13 supports _Float16 and __int128 on fewer architectures than clang
and thus libcxxrt compiled with gcc13 is sometimes missing related
symbols.  Hack around this by explicitly appending --undefined-version
to LDFLAGS in problematic cases.

Reviewed by:    theraven, dim
Differential Revision:  https://reviews.freebsd.org/D45233
DeltaFile
+10-0lib/libcxxrt/Makefile
+10-01 files

HardenedBSD/src f7d45c5usr.sbin/bhyve tpm_ppi_qemu.c

bhyve: avoid side effect in assertion

An assert() was setting the error variable instead of checking it.

Reported by:    Coverity Scan
CID:            1521431
Reviewed by:    jhb
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1244
DeltaFile
+1-1usr.sbin/bhyve/tpm_ppi_qemu.c
+1-11 files

HardenedBSD/ports 09c591ctextproc/difftastic distinfo Makefile

textproc/difftastic: update 0.57.0 → 0.58.0
DeltaFile
+7-11textproc/difftastic/distinfo
+3-6textproc/difftastic/Makefile
+10-172 files

HardenedBSD/src 2b36982sys/dev/sound/pcm sound.c

sound: Fix oss_sysinfo->numcards

According to the OSS manual, oss_sysinfo->numcards holds the number of
detected audio devices in the system, while the current ncards variable,
whose value is assigned to oss_sysinfo->numcards, holds the number of
currently registered devices only.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    dev_submerge.ch, emaste
Differential Revision:  https://reviews.freebsd.org/D45136

(cherry picked from commit 59d98edae3e1a6fffd292e4393c49862d624f25f)
DeltaFile
+3-6sys/dev/sound/pcm/sound.c
+3-61 files

HardenedBSD/src 8b4e2basys/dev/sound/pcm mixer.c

sound: Remove nmix variable from mixer_oss_mixerinfo()

nmix is used to compare against oss_mixerinfo->dev, which is a
user-supplied value to select the mixer device (if not -1, in which case
we'll select the default one) we want to fetch the information of. It is
also used to set oss_mixerinfo->dev in case it is -1.

However, nmix is at best redundant, since we have the loop counter
already (i), and confusing at worst.

For example, suppose a system with 3 mixer devices. We call
SNDCTL_MIXERINFO with oss_mixerinfo->dev=1, meaning we want to get
information for /dev/mixer1. Suppose /dev/mixer0 detaches while inside
the loop, so we'll hit the loop's "continue" case, and nmix won't get
incremented (i.e will stay 0 for now). At this point nmix counts 1
device less, so when it reaches 1, we'll be fetching /dev/mixer2's
information instead of /dev/mixer1's.

This is also true in case the mixer device disappears prior to the call

    [12 lines not shown]
DeltaFile
+4-6sys/dev/sound/pcm/mixer.c
+4-61 files

HardenedBSD/src 7814ed2sys/dev/sound/pci/hda hdaa_patches.c hdac.h

snd_hda: Rename LENOVO_I* to LENOVO_IDEAPAD*

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D45105

(cherry picked from commit 278953360e0e6187c3f7c688cb49254df1567f0b)
DeltaFile
+2-2sys/dev/sound/pci/hda/hdaa_patches.c
+2-2sys/dev/sound/pci/hda/hdac.h
+4-42 files

HardenedBSD/src 15aa868sys/dev/sound/pcm dsp.c, sys/sys soundcard.h

sound: Rename oss_audioinfo->real_device to oss_audioinfo->legacy_device

The OSS manual now documents this field as "legacy_device".

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    dev_submerge.ch
Differential Revision:  https://reviews.freebsd.org/D45138

(cherry picked from commit 24d5cc14dd60b49553ff3ee7830305621f782ff1)
DeltaFile
+2-2sys/dev/sound/pcm/dsp.c
+1-1sys/sys/soundcard.h
+3-32 files

HardenedBSD/src a19d42bsys/dev/sound/pcm sound.c

sound: Remove ncards variable from sound_oss_card_info()

The loop counter is also the card's index, so ncards is redundant.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    dev_submerge.ch
Differential Revision:  https://reviews.freebsd.org/D45144

(cherry picked from commit 305db91d4b92a5d53826dcb6df39fc8a1f3b427e)
DeltaFile
+2-4sys/dev/sound/pcm/sound.c
+2-41 files

HardenedBSD/src 9a62001sys/dev/sound/pci/hda hdaa_patches.c hdac.h

snd_hda: Add patch for Lenovo Ideapad 3

Reported by:    bsd-lists at bsdforge.com
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D45100

(cherry picked from commit 54cc353f505dbc5f19168b6b1417b6736433d9ae)
DeltaFile
+2-1sys/dev/sound/pci/hda/hdaa_patches.c
+1-0sys/dev/sound/pci/hda/hdac.h
+3-12 files

HardenedBSD/src 71b9b8dsys/arm/allwinner a10_codec.c, sys/arm/broadcom/bcm2835 bcm2835_audio.c

arm: Remove stray references to dev/sound/chip.h

Fixes:          923e0040a59a ("sound: Move chip.h contents to pcm/sound.h")
Reported by:    Jenkins CI
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit a3513995f549e2e649b89a1fecbfb351d9825bac)
DeltaFile
+0-1sys/arm/broadcom/bcm2835/bcm2835_audio.c
+0-1sys/arm/allwinner/a10_codec.c
+0-1sys/arm/freescale/imx/imx6_ssi.c
+0-1sys/arm/freescale/vybrid/vf_sai.c
+0-44 files