mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
29 lines
650 B
YAML
29 lines
650 B
YAML
distributable: ~
|
|
|
|
versions:
|
|
url: "https://curl.se/docs/caextract.html"
|
|
match: /cacert-2\d+-\d+-\d+.pem/
|
|
strip:
|
|
- /cacert-/
|
|
- /\.pem/
|
|
|
|
runtime:
|
|
env:
|
|
SSL_CERT_FILE: ${{prefix}}/ssl/cert.pem
|
|
# 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
|
|
|
|
build:
|
|
dependencies:
|
|
curl.se: '*'
|
|
script: |
|
|
mkdir -p "{{prefix}}/ssl"
|
|
URL_VER=$(echo {{version.raw}} | tr -- . -)
|
|
curl -k https://curl.se/ca/cacert-$URL_VER.pem -o "{{prefix}}"/ssl/cert.pem
|
|
|
|
test:
|
|
dependencies:
|
|
curl.se: '*'
|
|
script: curl https://tea.xyz
|