Commit Graph
40033 Commits
Author SHA1 Message Date
Khem Raj d72d11b798 doxygen: strip build paths from the generated sources
configgen.py writes the absolute path of config.xml into the header of
every file it generates, so generated_src/configvalues.h, which is
shipped in the doxygen-src package, carries the recipe build directory:

  WARNING: doxygen-1.18.0-r0 do_package_qa: QA Issue: File
  /usr/src/debug/doxygen/1.18.0/generated_src/configvalues.h in package
  doxygen-src contains reference to TMPDIR [buildpaths]

On builders whose HOME is a parent of the build tree the same file e.g.
yocto autobuilder, also trips the build-host HOME variant of the check.

flex leaks the path of the lex file the same way: it emits a #line
directive for the %top{} block even when called with --noline, and
post_lex.py rewrites it to the absolute path of the original .l file.
Those .cpp files are not shipped today, but the leak is the same one.

Strip ${B}/ and ${S}/ from everything under generated_src/ during
do_install, before do_package picks the sources up, so the references
become relative.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-30 11:19:47 -07:00
Ankur Tyagi fee2d5d20d python3-colorlog: upgrade 6.11.0 -> 6.12.0
Changelog:
https://github.com/borntyping/python-colorlog/releases/tag/v6.12.0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:19 -07:00
Ankur Tyagi 26bb92a95d python3-cmd2: upgrade 4.2.1 -> 4.2.2
Changelog:
https://github.com/python-cmd2/cmd2/releases/tag/4.2.2

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:19 -07:00
Ankur Tyagi 52cb877f2c python3-discovery: upgrade 1.5.2 -> 1.6.0
Changelog:
https://github.com/tox-dev/python-discovery/releases/tag/1.5.3
https://github.com/tox-dev/python-discovery/releases/tag/1.6.0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:19 -07:00
Ankur Tyagi bd3e7528e2 python3-simplejson: upgrade 4.1.1 -> 4.1.2
Changelog:
https://github.com/simplejson/simplejson/releases/tag/v4.1.2

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:19 -07:00
Ankur Tyagi a9ded29815 python3-sdbus: upgrade 0.14.2 -> 0.14.3
Changelog:
https://github.com/python-sdbus/python-sdbus/releases/tag/0.14.3

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:19 -07:00
Ankur Tyagi b1fef8e1dd python3-tox: upgrade 4.60.0 -> 4.61.1
Changelog:
https://github.com/tox-dev/tox/releases/tag/4.60.1
https://github.com/tox-dev/tox/releases/tag/4.61.0
https://github.com/tox-dev/tox/releases/tag/4.61.1

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:19 -07:00
Ankur Tyagi 66d3f2e11a python3-virtualenv: upgrade 21.7.4 -> 21.7.7
Changelog:
https://github.com/pypa/virtualenv/releases/tag/21.7.5
https://github.com/pypa/virtualenv/releases/tag/21.7.6
https://github.com/pypa/virtualenv/releases/tag/21.7.7

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:18 -07:00
Ankur Tyagi 2f7977478e grpc: upgrade 1.83.0 -> 1.83.1
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:18 -07:00
Ankur Tyagi 8b6a79bfab dovecot: upgrade 2.4.4 -> 2.4.5
License-Update: Simplify and standardize copyright handling[1]

Changelog:
https://github.com/dovecot/core/blob/2.4.5/NEWS

[1]https://github.com/dovecot/core/commit/2a5809c115ed270c26fdca5c9b0c29a369706210

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:18 -07:00
Ankur Tyagi 42ff50bdfb mpd: upgrade 0.24.14 -> 0.24.15
Changelog:
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.15/NEWS

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:18 -07:00
Ankur Tyagi b6c09f6630 open62541: upgrade 1.5.6 -> 1.5.7
Changelog:
https://github.com/open62541/open62541/releases/tag/v1.5.7

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:18 -07:00
Nate Kent 0a1705b8f9 nng: upgrade 1.11 -> 1.12.3
These are bug fix releases, including fixes for a few security bugs.
Running ptest on nodistro qemux86-64 shows all tests passing, including
the previously failing 'httpclient' test.

Changelogs:
* https://github.com/nanomsg/nng/releases/tag/v1.12.3
* https://github.com/nanomsg/nng/releases/tag/v1.12.2
* https://github.com/nanomsg/nng/releases/tag/v1.12.1
* https://github.com/nanomsg/nng/releases/tag/v1.12.0

Signed-off-by: Nate Kent <nate@nkent.net>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 23:00:18 -07:00
Khem Raj 1b9aff4c00 python3-pytest-sugar: deselect test broken by pytest hook-signature skew
test_report_header defines an inline conftest.py using the
pytest_report_header(startdir) hook signature; newer pytest pluggy
hook-signature validation rejects "startdir" (renamed to start_path
long ago), so the nested pytest subprocess it spawns exits with
PluginValidationError/INTERNAL_ERROR, and the outer assert
result.ret == 0 fails. Version-skew in pytest-sugars own test suite,
not a runtime bug.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:06 -07:00
Khem Raj e8ff0094d6 python3-time-machine: load pytester plugin for testdir fixture in ptest
test_marker_function/_and_fixture/_class/_module use the "testdir"
fixture, provided by pytest builtin pytester plugin. That plugin is
not autoloaded; upstream pyproject.toml sets addopts = "-p pytester"
but that file is not shipped into the ptest tree, so the fixture is
unavailable and these 4 tests error out (fixture testdir not found).
Pass -p pytester directly in run-ptest.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:06 -07:00
Khem Raj 765f779e87 python3-time-machine: fix ptest tzdata/dateutil issues
time_machine's C-level time/timezone patching relies on libc's
tzset()//usr/share/zoneinfo, which requires the system tzdata package -
distinct from python3-tzdata (Python's importlib zoneinfo data), which
the recipe already had. Add tzdata to RDEPENDS:${PN}-ptest.

Deselect test_destination_datetime_tzinfo_non_zoneinfo:  it builds an
aware datetime from dateutil's tz.gettz("America/Chicago") and expects
the CST (-6h) offset at the 1970 epoch. OE builds /usr/share/zoneinfo
in "slim" format (zic -b slim); dateutil's tzfile parser mishandles
the pre-first-transition instant of a slim tzfile and returns a 0
(UTC) offset there, so the epoch maps to 0 instead of 21600. Python's
own zoneinfo reads the same file correctly, so this is a
dateutil/slim-tzdata limitation, not a time_machine bug.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:06 -07:00
Khem Raj 1dc7ebf01c python3-wrapt: add python3-image for colorsys used by test_deferred_patching
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00
Khem Raj 5c5e2576f6 python3-uvicorn: skip websocket tests unsupported/unstable under ptest
Skip test_send_binary_data_to_server_bigger_than_default_on_websockets,
test_multiprocess_health_check and test_multiprocess_sighup, and drop
use_colors from the test config, all of which don't hold up in the
ptest QEMU environment.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00
Khem Raj ea48e4000b python3-typing-inspection: skip test broken by CPython 3.13.15 Literal dedup
test_literal_values_unhashable_type asserts that duplicate unhashable
Literal values (e.g. Literal[[1, 'a'], [1, 'a']]) are preserved, but
CPython 3.13.15+ deduplicates unhashable Literal args at construction
time (python/cpython#153914). Upstream fixed this the same way
starting in 0.4.4 by skipping the test on newer Python; backport that
same guard here since this recipe is pinned to 0.4.2.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00
Khem Raj d89e202c6d python3-typer: fix ptest rich text-wrapping and subprocess PYTHONPATH
Force a wide console (COLUMNS=200) so rich does not wrap/truncate the
error-panel text. Several tests assert on trailing substrings ("is a
file", "is a directory", "unknown error") of long error messages
that get word-wrapped - and thus split - inside an 80-column rich
panel when stdout is not a tty (as in the ptest QEMU environment). A
wide terminal keeps the message on one line.

test_binary_stderr spawns a fresh interpreter to run the test file as
a script; the file does "from tests.utils import ...", so the ptest
root (the parent of tests/) must be importable in that subprocess -
export it via PYTHONPATH.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00
Khem Raj 7528dca88c python3-rapidjson: deselect test broken by modern CPython refcounting
test_endarray_leak asserts sys.getrefcount(j1['v']) == 3, but modern
CPython's specialized dict/subscript bytecode holds one fewer
temporary reference during the call, so the real count is 2 regardless
of environment (reproduces on plain upstream CPython 3.13, unrelated
to this target). Upstream test-authoring assumption broken by CPython
internals, not a packaging issue.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00
Khem Raj 94f51886d4 python3-pyzmq: deselect test_process_teardown (fork-safety flake under qemu)
test_process_teardown forks a child process while the parent has an
active zmq/asyncio context (ZeroMQ's own docs call forking with a live
context+IO-thread undefined behavior); under qemu's slower/different
scheduling the forked child intermittently dies with exit code 1
instead of exiting 0. Reproduces reliably on target but never locally
(isolated, whole-file, or whole-suite runs all pass), consistent with
an environment-specific fork-safety issue rather than a logic bug.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:05 -07:00
Khem Raj 7aa282b1cc python3-pylint: fix astroid 4.1.2 functional-test fixture mismatches
astroid 4.1.2 (the version this distro packages) changed how it
resolves the enclosing scope/parent name and end_lineno for decorated
functions, singledispatch registrations, positional-only-arg checks
and a few other node kinds. These functional tests were pinned against
an older astroid's output and fail with plain output-text mismatches
(not logic errors) once run against 4.1.2. Regenerated the expected
.txt fixtures against astroid==4.1.2, mirroring the existing
0001-Adjust-test-expectations-for-ptest.patch approach for this
recipe.

tests/functional/u/undefined/undefined_variable.314.txt is pylint's
own Python-3.14-specific override of undefined_variable.txt (see
FunctionalTestFile.expected_output, which prefers a
"<base>.<ver>.txt" file over the plain one when it matches the
running interpreter). The distro's target Python is 3.14.7, so this
file - not the plain .txt - is what actually gets read during ptest,
and it still carried the pre-4.1.2 astroid values for the same two
lines. Applied the identical fix there too.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj cfe0f858c2 python3-pydbus: skip ptest cases gracefully when dbus-launch is missing
Guard each shell test case with a dbus-launch availability check and
emit SKIP instead of hard-failing when it isn't installed.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj 8fb8a8d4e1 python3-pydantic: fix ptest ruff-version skew, pytest.warns skew, missing dep
test_docs.py lint-checks every doc/docstring code example through
ruff (via pytest-examples). The installed ruff's rule set is not
version-locked to what pydantic's examples were written for, so ~130
style rules (import sorting, future-annotations, datetime-tz, etc.)
get flagged as failures that are not runtime bugs. Disable only the
lint step in test_docs.py; the examples are still executed.

test_deprecated_fields.py uses pytest.warns(Warning, callable,
match=...); newer pytest forwards match= to the callable instead of
consuming it, so these raise "unexpected keyword argument 'match'".
pytest API version skew; deselect via the existing -k mechanism.

test_internal.py's test_representation_integrations needs asttokens
(via executing/devtools.debug); add python3-asttokens to
RDEPENDS:${PN}-ptest.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj 970c6b66b9 python3-orjson: skip OOM-prone/unrelated tests on memory-constrained target
test_dict_empty round-trips a 4096x4096 nested structure through JSON,
materializing ~16.7M real dict objects on loads() (~900MB+ RSS), which
gets OOM-killed on the memory-constrained qemu ptest target.

test_fake.py instantiates Faker with 9 locales at once, pulling in a
similarly large amount of locale provider data, for what is a
Unicode-robustness smoke test rather than core JSON logic.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj 459f241b39 python3-flask: fix ptest failures from pytest/werkzeug version skew
tests/test_cli.py and tests/conftest.py use pytest's monkeypatch
"not set" sentinel, renamed from lowercase 'notset' to 'NOTSET' in
pytest 9.1; rewrite the references in the installed ptest copy.

werkzeug 3.1.x's get_host() no longer raises SecurityError for a Host
header with invalid/non-printable characters when no trusted_hosts is
configured (flask's default) - it silently returns "" and the request
routes to a 404 instead of the 400 test_bad_environ_raises_bad_request
expects against older werkzeug. Version-skew, not a flask bug; skip
the test.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj 18dd7b4b79 python3-filelock: fix ptest cache-dir permissions and missing tasks/pythonpath
tests/ imports itself as "tests.*" and pulls in "capabilities" from
the sibling tasks/ dir; upstream's pyproject.toml sets
[tool.pytest] pythonpath = [".", "tasks"] to make both resolve, so
ship tasks/ and pyproject.toml into the ptest install too.

Also disable pytest's cache plugin: the non-root "tester" user ptest
runs as can't write a cache dir under the read-only-to-them
/usr/lib/python3-filelock/ptest install path.

Add python3-pytest-timeout, used by the test suite.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj 63ebdf7e98 python3-bleak: fetch git tag with tests/ for ptest instead of PyPI sdist
The PyPI sdist ships no tests/ directory at all, so ptest had nothing
to run from it (pytest exits 5, "no tests collected"). Fetch the
matching git tag instead, which does include tests/, mirroring
python3-pydantic's fetch pattern.

Also set asyncio_mode=auto via a ptest-local pytest.ini:
tests/test_adapter_deprecation.py has plain "async def" tests with no
@pytest.mark.asyncio marker; they rely on upstream's pyproject.toml
setting asyncio_mode=auto, which isn't shipped into the ptest package.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-29 21:43:04 -07:00
Khem Raj c024e49756 srt: Match SRCREV to tag
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 21:43:03 -07:00
Thomas Bonnefille 1a71a3e63f fitimage.bbclass: add command line property
Since version 0.9 of the fit image specification, it is possible to
embed the command line in the fit image.
Add the option to embed a command line argument for the next boot stage
in the fit image.

Link: https://github.com/open-source-firmware/flat-image-tree/releases/tag/v0.9

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 10:41:46 -07:00
Jaipaul Cheernam 480b369ae5 googletest: upgrade 1.17.0 -> 1.18.0
Release Log: https://github.com/google/googletest/releases/tag/v1.18.0

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-29 10:41:46 -07:00
Jaipaul Cheernam 7fd7419390 pjproject: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_TIME opaque. Backport upstream fix using
ASN1_TIME_to_tm() API.

Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/3923fad2e4f6]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:16 -07:00
Jaipaul Cheernam f4e34250ad libcoap: fix build with OpenSSL 4.0
OpenSSL 4.0 removes ENGINE API entirely. Backport upstream fix
that guards all ENGINE references with version check.

Upstream-Status: Backport [https://github.com/obgm/libcoap/commit/5ea8b7d5e956]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:16 -07:00
Jaipaul Cheernam 4b53361ea4 ntopng: fix build with OpenSSL 4.0
OpenSSL 4.0 returns const X509_NAME* from X509_get_subject_name().
Cast where non-const API (X509_NAME_oneline, X509_NAME_get_text_by_NID)
requires it.

Upstream-Status: Backport [https://github.com/ntop/ntopng/pull/10830]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:16 -07:00
Jaipaul Cheernam 335021f7cd libesmtp: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_STRING opaque. Use accessor functions.

Upstream-Status: Submitted [https://github.com/libesmtp/libESMTP/pull/34]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:16 -07:00
Jaipaul Cheernam bc4eee367c znc: fix build with OpenSSL 4.0
OpenSSL 4.0 adds const qualifiers to X509_NAME and ASN1_STRING
returns. Backport upstream fix.

Upstream-Status: Backport [https://github.com/znc/znc/commit/c6b7fece1ec3]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:15 -07:00
Jaipaul Cheernam 2e8eba02ec snort3: fix build with OpenSSL 4.0
OpenSSL 4.0 returns const pointers from X509_get_subject_name(),
X509_get_issuer_name(), X509_NAME_get_entry(), and
X509_NAME_ENTRY_get_data().

Upstream-Status: Submitted [https://github.com/snort3/snort3/pull/477]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:15 -07:00
Jaipaul Cheernam 12024b3aea freeradius: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_STRING opaque. Use ASN1_STRING accessor
functions.

Upstream-Status: Submitted [https://github.com/FreeRADIUS/freeradius-server/pull/5841]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:15 -07:00
Jaipaul Cheernam 0978404d83 civetweb: fix build with OpenSSL 4.0
OpenSSL 4.0 adds const qualifiers to X509_NAME returns.

Upstream-Status: Submitted [https://github.com/civetweb/civetweb/pull/1423]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:15 -07:00
Jaipaul Cheernam bf9adc2954 lftp: fix build with OpenSSL 4.0
Backport upstream fix allowing build with OpenSSL 4.x.

Upstream-Status: Backport [https://github.com/lavv17/lftp/commit/68d42105d788]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:15 -07:00
Jaipaul Cheernam d6c472cc16 imapfilter: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_INTEGER opaque. Use ASN1_STRING accessors.

Upstream-Status: Submitted [https://github.com/lefcha/imapfilter/pull/317]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:15 -07:00
Jaipaul Cheernam e335b7e6c8 boinc-client: fix build with OpenSSL 4.0
OpenSSL 4.0 returns const X509_NAME* from X509_get_subject_name().
Minimal fix for the const qualifier issue in cert_verify_file.

Upstream-Status: Submitted [https://github.com/BOINC/boinc/pull/7209]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam c98c633afe thrift: fix build with OpenSSL 4.0
OpenSSL 4.0 removes SSLv3_method(), per-version TLS method functions,
ERR_remove_state(), ASN1_STRING_data(), and returns const pointers
from X509 accessor functions. Fix both C++ and C GLib bindings.

Upstream-Status: Submitted [https://github.com/apache/thrift/pull/3752]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam c4a28775b9 python3-grpcio: fix build with OpenSSL 4.0
python3-grpcio bundles grpc 1.78.0 C core which has the same
OpenSSL 4.0 const and opaque type issues as grpc 1.83.0.

Upstream-Status: Submitted [https://github.com/grpc/grpc/pull/41932]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam 273228675b grpc: fix build with OpenSSL 4.0
OpenSSL 4.0 returns const pointers from X509 accessor functions,
makes ASN1_OCTET_STRING opaque, and deprecates HMAC one-shot API.

Four patches addressing credentials, TSI transport security, and
TSI utils.

Upstream-Status: Submitted [https://github.com/grpc/grpc/pull/41932]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam 13ed6c9fc5 opensc: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_STRING opaque. Use accessor functions.

Upstream-Status: Backport [https://github.com/OpenSC/OpenSC/commit/8226c67d832f]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam a1c389825e pkcs11-helper: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_TIME opaque. Replace manual field access
with ASN1_TIME_to_tm() API.

Upstream-Status: Backport [https://github.com/OpenSC/pkcs11-helper/commit/59cc22b8d656]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam 5d9afa02d7 libtorrent-rasterbar: fix build with OpenSSL 4.0
OpenSSL 4.0 makes ASN1_IA5STRING opaque. Backport upstream fix.

Upstream-Status: Backport [https://github.com/arvidn/libtorrent/commit/50bd3a46c2c5]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:14 -07:00
Jaipaul Cheernam 1491529800 libnet-ssleay-perl: fix build with OpenSSL 4.0
Backport three patches from upstream PR #553 (merged):
- Fix SSLv3 in OpenSSL 4.0.0
- Remove support for some TLS functions
- Support opaque ASN1_STRING

Upstream-Status: Backport [https://github.com/radiator-software/p5-net-ssleay/pull/553]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-27 23:33:13 -07:00