1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 03:57:45 +00:00

Ports/alpine: Add patches to build Alpine on Serenity

This commit is contained in:
Taj Morton 2022-11-27 17:49:01 -08:00 committed by Linus Groh
parent 69f41eb062
commit 14baf35441
6 changed files with 357 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Patches for alpine on SerenityOS
## `0001-Compiler-helpers-for-build-system-not-host.patch`
Compiler helpers for build system, not host.
## `0002-Add-serenity-as-OS-type-in-Alpine.patch`
Add serenity as OS type in Alpine.
## `0003-Add-Alpine-system-configuration-file-that-specifies-.patch`
Add Alpine system configuration file that specifies location of CA certificates.
The system-certs-file configuration option is provided to
SSL_CTX_load_verify_locations() as the CAfile argument (via
imap/src/osdep/unix/ssl_unix.c).
system-certs-file and CAfile are used (as opposed to
system-certs-path and CApath, used to specify a directory)
because certificate files within the CApath directory must follow a
specific naming convention, where the filename matches the CA subject
name hash value.
See man 3 SSL_CTX_set_default_verify_paths for details on how OpenSSL
looks up CA certificates.
https://www.openssl.org/docs/man3.0/man3/SSL_CTX_set_default_verify_paths.html