Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions projects/curl.se/ssl3/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
distributable:
url: https://curl.se/download/curl-{{version}}.tar.bz2
strip-components: 1

versions:
github: curl/curl/releases
strip: /^curl /
# 8.18+ requires opensslv3
ignore: /[0-7]\.\d+\.\d+/

dependencies:
openssl.org: ^3
curl.se/ca-certs: "*"
zlib.net: ^1.2.11

build:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix={{prefix}}
- --with-openssl
# causes weird downstream bugs in php
- --without-libpsl
# uses openssl’s certs (which we control)
- --with-ca-fallback

test:
- curl -i pkgx.sh
- curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org

# provides:
# - bin/curl
# - bin/curl-config