summaryrefslogtreecommitdiff
path: root/Ports/alpine/patches/ReadMe.md
diff options
context:
space:
mode:
authorTaj Morton <tajmorton@gmail.com>2022-11-27 17:49:01 -0800
committerLinus Groh <mail@linusgroh.de>2022-12-03 22:12:13 +0000
commit14baf35441681263363d1b713d955f7f8cc6d05f (patch)
tree0151506432afd17686565185134ca90b28b31179 /Ports/alpine/patches/ReadMe.md
parent69f41eb062bf2c3ca4495201915a3b660ea73df5 (diff)
downloadserenity-14baf35441681263363d1b713d955f7f8cc6d05f.zip
Ports/alpine: Add patches to build Alpine on Serenity
Diffstat (limited to 'Ports/alpine/patches/ReadMe.md')
-rw-r--r--Ports/alpine/patches/ReadMe.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/Ports/alpine/patches/ReadMe.md b/Ports/alpine/patches/ReadMe.md
new file mode 100644
index 0000000000..c3998a2f90
--- /dev/null
+++ b/Ports/alpine/patches/ReadMe.md
@@ -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
+