Ports: Add a ca-certificates "port"

This commit is contained in:
Tim Schumacher 2022-03-09 02:21:28 +01:00 committed by Brian Gianforcaro
parent 5200cdac43
commit 813a1f2865
Notes: sideshowbarker 2024-07-17 22:01:16 +09:00
2 changed files with 20 additions and 0 deletions

View file

@ -16,6 +16,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`brogue`](brogue/) | BrogueCE | 1.9.3 | https://github.com/tmewett/BrogueCE | | [`brogue`](brogue/) | BrogueCE | 1.9.3 | https://github.com/tmewett/BrogueCE |
| [`byacc`](byacc/) | Berkeley Yacc | 20210808 | https://invisible-island.net/byacc/byacc.html | | [`byacc`](byacc/) | Berkeley Yacc | 20210808 | https://invisible-island.net/byacc/byacc.html |
| [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ | | [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ |
| [`ca-certificates`](ca-certificates/) | Mozilla CA certificate store | 2022-02-01 | https://curl.se/docs/caextract.html |
| [`carl`](carl/) | Crypto Ancienne Resource Loader | 1.5 | https://github.com/classilla/cryanc | | [`carl`](carl/) | Crypto Ancienne Resource Loader | 1.5 | https://github.com/classilla/cryanc |
| [`ccache`](ccache/) | ccache | 4.5.1 | https://ccache.dev/ | | [`ccache`](ccache/) | ccache | 4.5.1 | https://ccache.dev/ |
| [`c-ray`](c-ray/) | C-Ray | c094d64 | https://github.com/vkoskiv/c-ray | | [`c-ray`](c-ray/) | C-Ray | c094d64 | https://github.com/vkoskiv/c-ray |

View file

@ -0,0 +1,19 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ca-certificates
version=2022-02-01
files="https://curl.se/ca/cacert-${version}.pem cacert-${version}.pem 1d9195b76d2ea25c2b5ae9bee52d05075244d78fcd9c58ee0b6fac47d395a5eb"
auth_type=sha256
workdir="."
configure() {
return
}
build() {
return
}
install() {
mkdir -p "${SERENITY_INSTALL_ROOT}/etc/ssl/certs"
cp -vf "cacert-${version}.pem" "${SERENITY_INSTALL_ROOT}/etc/ssl/certs/ca-certificates.crt"
}