Skip to content
Merged
Show file tree
Hide file tree
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
64 changes: 64 additions & 0 deletions curl-rustls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package:
name: curl-rustls
version: 8.1.2
epoch: 1
description: "URL retrieval utility and library"
copyright:
- license: MIT
dependencies:
runtime:
- libcurl-rustls4

environment:
contents:
packages:
- wolfi-base
- busybox
- ca-certificates-bundle
- build-base
- nghttp2-dev
- openssl-dev
- zlib-dev
- brotli-dev
- rustls-ffi

pipeline:
- uses: fetch
with:
uri: https://curl.se/download/curl-${{package.version}}.tar.xz
expected-sha256: 31b1118eb8bfd43cd95d9a3f146f814ff874f6ed3999b29d94f4d1e7dbac5ef6

- uses: autoconf/configure
with:
opts: |
--enable-ipv6 \
--enable-unix-sockets \
--without-openssl \
--with-rustls \
--with-nghttp2 \
--with-pic \
--disable-ldap \
--without-libssh2

- uses: autoconf/make

- runs: |
make install DESTDIR="/home/build/curl-rustls"

subpackages:
- name: "libcurl-rustls4"
description: "curl library (rustls backend)"
dependencies:
provider-priority: 10
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "/home/build/curl-rustls"/usr/lib/libcurl.so.* "${{targets.subpkgdir}}"/usr/lib/
strip "${{targets.subpkgdir}}"/usr/lib/libcurl.so.*

update:
enabled: true
version-separator: _
github:
identifier: curl/curl
strip-prefix: curl-
36 changes: 1 addition & 35 deletions curl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: curl
version: 8.1.2
epoch: 0
epoch: 1
description: "URL retrieval utility and library"
copyright:
- license: MIT
Expand All @@ -17,7 +17,6 @@ environment:
- openssl-dev
- zlib-dev
- brotli-dev
- rustls-ffi

pipeline:
- uses: fetch
Expand All @@ -41,33 +40,13 @@ pipeline:

- uses: autoconf/make-install

- uses: autoconf/configure
with:
opts: |
--enable-ipv6 \
--enable-unix-sockets \
--without-openssl \
--with-rustls \
--with-nghttp2 \
--with-pic \
--disable-ldap \
--without-libssh2

- uses: autoconf/make

- runs: |
make install DESTDIR="/home/build/curl-rustls"

- uses: strip

subpackages:
- name: "curl-dev"
description: "headers for libcurl"
pipeline:
- uses: split/dev
dependencies:
runtime:
- libcurl4

- name: "curl-doc"
description: "documentation for curl"
Expand All @@ -77,25 +56,12 @@ subpackages:
- name: "libcurl-openssl4"
description: "curl library (openssl backend)"
dependencies:
provides:
- libcurl4=7.87.1
provider-priority: 5
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libcurl.so.* "${{targets.subpkgdir}}"/usr/lib/

- name: "libcurl-rustls4"
description: "curl library (rustls backend)"
dependencies:
provides:
- libcurl4=7.87.1
provider-priority: 10
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "/home/build/curl-rustls"/usr/lib/libcurl.so.* "${{targets.subpkgdir}}"/usr/lib/

update:
enabled: true
version-separator: _
Expand Down
1 change: 1 addition & 0 deletions packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ krb5-conf
krb5
libtirpc
rustls-ffi
curl-rustls
spire-server
kustomize
alpine-keys
Expand Down