Ports: Add port that downloads and install cacert to system

This commit is contained in:
Bananymous 2024-08-22 14:23:50 +03:00
parent 500f774b7f
commit 9ea969be1f
1 changed files with 18 additions and 0 deletions

18
ports/ca-certificates/build.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash ../install.sh
NAME='ca-certificates'
VERSION='2024-07-02'
DOWNLOAD_URL="https://curl.se/ca/cacert-$VERSION.pem#1bf458412568e134a4514f5e170a328d11091e071c7110955c9884ed87972ac9"
configure() {
:
}
build() {
:
}
install() {
mkdir -p "$BANAN_SYSROOT/etc/ssl/certs"
cp -v "../cacert-$VERSION.pem" "$BANAN_SYSROOT/etc/ssl/certs/ca-certificates.crt"
}