2023-01-19 11:34:57 +03:00
|
|
|
distributable: ~
|
|
|
|
|
|
|
|
versions:
|
2023-04-15 05:09:06 +03:00
|
|
|
url: "https://curl.se/docs/caextract.html"
|
|
|
|
match: /cacert-2\d+-\d+-\d+.pem/
|
|
|
|
strip:
|
|
|
|
- /cacert-/
|
|
|
|
- /\.pem/
|
2023-01-19 11:34:57 +03:00
|
|
|
|
|
|
|
runtime:
|
|
|
|
env:
|
|
|
|
SSL_CERT_FILE: ${{prefix}}/ssl/cert.pem
|
2023-04-01 07:52:23 +03:00
|
|
|
# FIXME: this should go into git-scm.org
|
|
|
|
# once https://github.com/teaxyz/cli/issues/497
|
|
|
|
# is resolved
|
|
|
|
GIT_SSL_CAINFO: ${{prefix}}/ssl/cert.pem
|
2023-01-19 11:34:57 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
|
|
|
script: |
|
2023-03-02 20:40:54 +03:00
|
|
|
mkdir -p "{{prefix}}/ssl"
|
2023-01-19 11:34:57 +03:00
|
|
|
URL_VER=$(echo {{version.raw}} | tr -- . -)
|
2023-03-02 20:40:54 +03:00
|
|
|
curl -k https://curl.se/ca/cacert-$URL_VER.pem -o "{{prefix}}"/ssl/cert.pem
|
2023-01-19 11:34:57 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
|
|
|
script: curl https://tea.xyz
|