bootptest: use getifaddrs(3) to find an interface
The getif() restored in 6c3c05c5f131 is not really functional. Put it
back into history and implement [supposedly] desired functionality with
getifaddrs(3). Put getether() into history as well.
Reported by: llm-postcr
Fixes: 6c3c05c5f131637b95574faead1bf3219978ad1d
bootpgw: use getifaddrs(3) to find interface closest to 'your' address
The daemon is supposed to relay BOOTP packets between interfaces, and
of course routing replies back to original interface was incorrect.
Bring back a fresh implementation of getif() into handle_reply() that
uses a more modern API, but makes selection using the old logic.
Reported by: llm-postcr
Fixes: d4452259e75f3891b77302270e6f69057e2d9f2e
audio/speech_tools: New port, the Edinburgh Speech Tools Library 2.5.1
The Edinburgh Speech Tools Library is a collection of C++ classes,
functions and related programs for manipulating the objects used in
speech processing: waveforms, parameter files, utterances, grammars.
It includes CSTR's fork of the SIOD Scheme interpreter, wagon, and
audio output support. It is the foundation of Festival (and of the
voice-building tools of festvox and flite), which so far bundled its
own copy.
Built with meson from upstream's latest commit, and tested with
upstream's test suite -- whose script outputs are also compared with
the expected ones. Besides the libraries, headers and programs, a
configured copy of the old make-framework is installed under
lib/speech_tools (ESTDIR), as Festival's build expects it.
FreeBSD-specific changes:
- textproc/rxp is used instead of the bundled XML parser, whose
sources are not even extracted;
[12 lines not shown]
audio/speech_tools: Start with festival's patches to its bundled copy
The upcoming audio/speech_tools port fixes some of the same problems,
which audio/festival has been patching in its bundled copy of the
Edinburgh Speech Tools. Copy those patches over unchanged -- so that
their history can be followed -- before adapting them to the new port
in the next commit:
patch-speech__tools_main_sig2fv__main.cc -> patch-main_sig2fv__main.cc
patch-voxware
patch-speech_tools_include_EST_unix.h
audio/festival keeps using its copies until it is updated to use the
new port.
PR: 299348
Co-Authored-By: Claude Opus 5.5 (effort medium)
dtrace/powerpc: continue after a conditional branch that isn't taken
When the pid provider emulated a bc, bclr or bcctr that wasn't taken,
it left the new pc at 0. The traced process jumped to address 0 and
died with SIGSEGV.
Go on with the next instruction instead.
Reported by: llm-postcr
Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D62431
dtrace/powerpc: emulate the xor of USDT is-enabled sites
dtrace -G turns the call at an is-enabled site into xor r3,r3,r3. In
a 32-bit process the tracepoint for that site ends up on the xor
itself, and the pid provider doesn't know that instruction, so since
22aad251ed64 it refuses the tracepoint and the probe can't be enabled.
dtrace doesn't say so. 64-bit processes aren't affected, their
tracepoint is on the nop after the xor.
Emulate xor rA,rS,rS.
Reported by: llm-postcr
Reviewed by: adrian
Fixes: 22aad251ed64 ("dtrace/powerpc: refuse pid tracepoints that would need a single step")
MFC with: 22aad251ed64
Differential Revision: https://reviews.freebsd.org/D62448
linuxulator/powerpc: look AT_PLATFORM up by PVR
The feature bits don't tell the CPUs apart well enough. e5500 and e6500
are ISA 2.06 as well, so they got power7, and Linux programs that check
for it may then use VSX, which neither core has.
Use a table keyed by the PVR instead, with the names Linux uses. This
also sorts out ppc970, POWER5, POWER7+, POWER11 and Cell.
Reported by: llm-postcr
Suggested by: jhibbits
Approved by: jhibbits (blanket)
Fixes: 79d5c5beab28 ("linuxulator/powerpc: report the CPU family in AT_PLATFORM")
textproc/fcitx5-configtool: Add missing KF6 dependencies
fcitx5-config-qt links to libKF6DBusAddons and libKF6WindowSystem.
Both are already pulled in by other KDE dependencies, so the resulting
package does not change and no PORTREVISION bump is needed.
if_bridge: Fix a NULL dereference on frames injected by netmap
A frame that a netmap application writes to a bridge's host ring
enters bridge_input() with the bridge itself as the receiving
interface. bridge_input() looks up the member that owns the source
address and continues with that member as ifp, but since 85967694b459
it takes bif from ifp->if_bridge before the lookup, so bif stays NULL.
The first injected frame with a known source address panics in
bridge_vfilter_in(), so any netmap application on a bridge, such as
Suricata in inline mode, panics the kernel as soon as it passes traffic.
Take the member from the address table entry instead, and add a test
that passes traffic through a bridge in netmap mode.
Reviewed by: kp
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D62445
www/bunkerweb: Update to 1.6.19
This release keeps secret settings out of reach of users without the
write permission in the interface and the API, restricts the Let's
Encrypt DNS credentials to admins, and no longer reads an ACL bootstrap
"false" as true.
Changelog: https://github.com/bunkerity/bunkerweb/releases/tag/v1.6.19
Sponsored by: Netzkommune GmbH
converters/py-unidecode: Revert PORTNAME change
This would break the new setuptools update so patch setup.py instead.
PR: 301438
Reported by: vishwin
Fixes: 719a9f6c3105
Merge commit a558d6560437 from llvm-project (by A. Jiang):
[CodeGen] Get rid of incorrect `std` template specializations (#160804)
This patch renames comparators
- from `std::equal_to<llvm::rdf::RegisterRef>` to
`llvm::rdf::RegisterRefEqualTo`, and
- from `std::less<llvm::rdf::RegisterRef>` to
`llvm::rdf::RegisterRefLess`.
The original specializations don't satisfy the requirements for the
original `std` templates by being stateful and
non-default-constructible, so they make the program have UB due to C++17
[namespace.std]/2, C++20/23 [namespace.std]/5.
> A program may explicitly instantiate a class template defined in the
standard library only if the declaration
> - depends on the name of at least one program-defined type, and
> - the instantiation meets the standard library requirements for the
[7 lines not shown]
bootpd: preserve request flags in reply
RFC 1542 §5.4: "the server MUST preserve the state of the BROADCAST flag
so that the relay agent can correctly act upon it."
Reported by: llm-postcr
Fixes: 7d8b5bd3f15ba99343e2d93c53ac73cc4bc550f0