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
69 changes: 69 additions & 0 deletions aws-c-auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
package:
name: aws-c-auth
version: 0.6.27
epoch: 0
description: "C99 library implementation of AWS client-side authentication: standard credentials providers and signing"
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- build-base
- cmake
- samurai
- aws-c-cal-dev
- aws-c-common-dev
- aws-c-compression-dev
- aws-c-http-dev
- aws-c-io-dev
- aws-c-sdkutils-dev
- openssl-dev
- s2n-tls-dev

pipeline:
- uses: fetch
with:
expected-sha256: f54ba35e93b702fa075869ef0390641712bfc28f4c30146ffeeb67511558dfeb
uri: https://github.com/awslabs/aws-c-auth/archive/refs/tags/v${{package.version}}.tar.gz

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
$CMAKE_CROSSOPTS
cmake --build build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build

- uses: strip

subpackages:
- name: aws-c-auth-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-c-auth "${{targets.subpkgdir}}"/usr/lib/
dependencies:
runtime:
- aws-c-auth
description: aws-c-auth dev

update:
enabled: true
github:
identifier: awslabs/aws-c-auth
strip-prefix: v
use-tag: true
63 changes: 63 additions & 0 deletions aws-c-cal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
package:
name: aws-c-cal
version: 0.5.26
epoch: 0
description: "AWS Crypto Abstraction Layer: Cross-Platform, C99 wrapper for cryptography primitives"
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- aws-c-common-dev
- build-base
- busybox
- ca-certificates-bundle
- cmake
- openssl-dev
- samurai

pipeline:
- uses: fetch
with:
expected-sha256: 9db3c8b896b25c48d01a4edad7afd2be19c766ebdf407c510550ff23bace2a2f
uri: https://github.com/awslabs/aws-c-cal/archive/refs/tags/v${{package.version}}.tar.gz

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
$CMAKE_CROSSOPTS
cmake --build build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build

- uses: strip

subpackages:
- name: aws-c-cal-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-c-cal "${{targets.subpkgdir}}"/usr/lib/
dependencies:
runtime:
- aws-c-cal
description: aws-c-cal dev

update:
enabled: true
github:
identifier: awslabs/aws-c-cal
strip-prefix: v
use-tag: true
65 changes: 65 additions & 0 deletions aws-c-common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
package:
name: aws-c-common
version: 0.8.19
epoch: 0
description: Core c99 package for AWS SDK for C including cross-platform primitives, configuration, data structures, and error handling
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- build-base
- cmake
- samurai
- python3-dev

pipeline:
- uses: fetch
with:
expected-sha256: 022ff2e78536d452c4c4699f9cbd918140d51d5dccace47d41d5daaef49a1818
uri: https://github.com/awslabs/aws-c-common/archive/refs/tags/v${{package.version}}.tar.gz

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
$CMAKE_CROSSOPTS
cmake --build build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build

- uses: strip

subpackages:
- name: aws-c-common-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-c-common "${{targets.subpkgdir}}"/usr/lib/
dependencies:
runtime:
- aws-c-common
description: aws-c-common dev

update:
enabled: true
github:
identifier: awslabs/aws-c-common
strip-prefix: v
use-tag: true
# we got this weird version https://github.com/awslabs/aws-c-common/releases/tag/v08.14
# so we use filter v0. for now
tag-filter: v0.
59 changes: 59 additions & 0 deletions aws-c-compression.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
package:
name: aws-c-compression
version: 0.2.16
epoch: 0
description: C99 implementation of huffman encoding/decoding
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- aws-c-common-dev
- build-base
- busybox
- ca-certificates-bundle
- cmake
- samurai

pipeline:
- uses: fetch
with:
expected-sha256: 044b1dbbca431a07bde8255ef9ec443c300fc60d4c9408d4b862f65e496687f4
uri: https://github.com/awslabs/aws-c-compression/archive/refs/tags/v${{package.version}}.tar.gz

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
$CMAKE_CROSSOPTS
cmake --build build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build

- uses: strip

subpackages:
- name: aws-c-compression-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-c-compression "${{targets.subpkgdir}}"/usr/lib/
description: aws-c-compression dev

update:
enabled: true
github:
identifier: awslabs/aws-c-compression
strip-prefix: v
use-tag: true
66 changes: 66 additions & 0 deletions aws-c-http.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
package:
name: aws-c-http
version: 0.7.7
epoch: 0
description: AWS C99 implementation of the HTTP/1.1 and HTTP/2 specifications
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- aws-c-cal-dev
- aws-c-common-dev
- aws-c-compression-dev
- aws-c-io-dev
- build-base
- busybox
- ca-certificates-bundle
- cmake
- s2n-tls-dev
- samurai

pipeline:
- uses: fetch
with:
expected-sha256: 3e149d11e36bea9b208469020d7f019c10e9454c3f8018190b0e21a3a6579bd4
uri: https://github.com/awslabs/aws-c-http/archive/refs/tags/v${{package.version}}.tar.gz

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
$CMAKE_CROSSOPTS
cmake --build build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build

- uses: strip

subpackages:
- name: aws-c-http-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-c-http "${{targets.subpkgdir}}"/usr/lib/
dependencies:
runtime:
- aws-c-http
description: aws-c-http dev

update:
enabled: true
github:
identifier: awslabs/aws-c-http
strip-prefix: v
use-tag: true
67 changes: 67 additions & 0 deletions aws-c-io.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
package:
name: aws-c-io
version: 0.13.21
epoch: 0
description: Module for the AWS SDK for C handling all IO and TLS work for application protocols
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- aws-c-cal-dev
- aws-c-common-dev
- busybox
- build-base
- ca-certificates-bundle
- cmake
- s2n-tls-dev
- openssl-dev
- samurai

pipeline:
- uses: fetch
with:
expected-sha256: f7811e2dc9ce2875410cf5eee45d1d4a3304d597a6df866384cbd98ed6341bd5
uri: https://github.com/awslabs/aws-c-io/archive/refs/tags/v${{package.version}}.tar.gz

- runs: |
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
CFLAGS="$CFLAGS -flto=auto" \
CXXFLAGS="$CXXFLAGS -flto=auto" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF \
$CMAKE_CROSSOPTS
cmake --build build

- runs: |
DESTDIR="${{targets.destdir}}" cmake --install build

- uses: strip

subpackages:
- name: aws-c-io-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/aws-c-io "${{targets.subpkgdir}}"/usr/lib/
dependencies:
runtime:
- openssl-dev
- aws-c-io
description: aws-c-io dev

update:
enabled: true
github:
identifier: awslabs/aws-c-io
strip-prefix: v
use-tag: true
Loading