Repository navigation
build: add pinned curl 8.23.0 + OpenSSL 3.5.9 recipes for the AppImage (#2774) - #23
Merged
Merged
Conversation
…e (#2774) The glibc-2.28 AppImage inherits libcurl 7.61.1 (2018, EOL) and OpenSSL 1.1.1k (EOL) from the AlmaLinux 8 base: both are rebuilt here as pinned, locked artifacts, the same way Qt/FFmpeg/PipeWire arrive (obs-rust/obs-studio#2774). - `recipes/linux/openssl.sh` pins 3.5.9 (the LTS line). curl 8.18+ refuses OpenSSL older than 3.0, so the base's 1.1.1k cannot back a pinned libcurl. - `recipes/linux/curl.sh` pins 8.23.0 and keeps the two properties the SRPM rebuild it replaces carried (obs-rust/obs-studio#1085): `--with-ca-fallback` (no RHEL `/etc/pki/tls/certs/ca-bundle.crt` compiled in; honours SSL_CERT_FILE on Debian/Ubuntu/Arch hosts) and brotli decoded by the pinned 1.2.1 rather than the base's 1.0.6. - Both recipes assert their own output at build time: the RHEL CA path is absent from `libcurl.so.4`, brotli/OpenSSL resolve to the pinned prefixes, and `curl_version()` reports the pinned build. Measured in the manylinux_2_28 image (glibc 2.28): curl 8.23.0 (x86_64-pc-linux-gnu) libcurl/8.23.0 OpenSSL/3.5.9 zlib/1.3.2 brotli/1.2.1 soname libcurl.so.4; NEEDED libssl.so.3, libcrypto.so.3, libbrotlidec.so.1 The image only needs perl-IPC-Cmd/perl-Time-Piece, which OpenSSL's Configure requires and manylinux's minimal perl does not ship. Packed artifacts (built and asserted locally, published after this merges): curl-8.23.0-linux-x86_64-glibc2.28-release.tar.zst sha256 a4f803b5e569ca5e707779583a646f22929438c5e025ef3ab97b0b09181335b1 openssl-3.5.9-linux-x86_64-glibc2.28-release.tar.zst sha256 d8fe8a82a4417f0374ad40af2e6581146e0a2fe9ccc6895363c716d13b41958f The obs-studio half (replace the Dockerfile's SRPM rebuild with these locked prefixes) follows in its own PR on obs-rust/obs-studio.
This was referenced Oct 28, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of obs-rust/obs-studio#2774 (the obs-studio half follows in its own PR).
Why
The glibc-2.28 AppImage inherits
libcurl7.61.1 (2018, EOL) andOpenSSL1.1.1k (EOL) from the AlmaLinux 8 base —
build-aux/appimage/manylinux/Dockerfilerebuilds curl from AlmaLinux's source RPM, which is how it got the pinned brotli
1.2.1 (#22) but not a supported curl. Both become pinned, locked artifacts here,
the same way Qt/FFmpeg/PipeWire arrive.
What
recipes/linux/openssl.sh— OpenSSL 3.5.9 (the LTS line, supportedpast 2030). curl 8.18+ refuses OpenSSL older than 3.0, so the base's 1.1.1k
cannot back a pinned libcurl. Deliberately not put on the image's
CMake/pkg-config path: the rest of the tree still consumes the base's 1.1.1k,
and re-pointing all of it is a separate unit. OpenSSL symbols are versioned
(
OPENSSL_3.0.0/OPENSSL_1_1_0), so both libraries can be loaded in oneprocess.
recipes/linux/curl.sh— curl 8.23.0 (2026-10-14), keeping the twoproperties the SRPM rebuild it replaces carried (bug: AppImage (glibc 2.28 base): HTTPS requests fail on non-RHEL hosts because the bundled libcurl looks for /etc/pki/tls/certs/ca-bundle.crt obs-studio#1085):
--with-ca-fallbackwith--without-ca-bundle --without-ca-path(no RHEL/etc/pki/tls/certs/ca-bundle.crtcompiled in; honours theSSL_CERT_FILEAppRun points at the host bundle), and brotli decoded by the pinned 1.2.1
(
--with-brotli=/opt/obs-deps/brotli), not the base's 1.0.6.from
libcurl.so.4,lddresolving brotli/OpenSSL to the pinned prefixes,and
curl_version()printing the pinned build.brotli opensslbeforecurlinbuild.sh's default list;summaries.jsongains both tools.Measured
Built in the
manylinux_2_28image (glibc 2.28), packed by this repo's own CLI:curl-8.23.0-linux-x86_64-glibc2.28-release.tar.zsta4f803b5e569ca5e707779583a646f22929438c5e025ef3ab97b0b09181335b1openssl-3.5.9-linux-x86_64-glibc2.28-release.tar.zstd8fe8a82a4417f0374ad40af2e6581146e0a2fe9ccc6895363c716d13b41958fThe soname is still
libcurl.so.4, so the frontend's existingNEEDEDentry isunchanged. The archives are published to
curl-8.23.0/openssl-3.5.9releases after this merges (they are already built and sha-pinned above).
Tests
tests/test_curl_recipe.pyandtests/test_openssl_recipe.pypin the versionfloors, the sha256-pinned sources, the CA contract, the prefix wiring and the
build order.
uv run --group dev pytest40 passed;ruff check/ruff format --checkclean. This repo has no PR CI beyond lint.The image gains
perl-IPC-Cmd/perl-Time-Piece: OpenSSL'sConfigureneedsthem and manylinux's minimal perl does not ship them.