distributable: url: https://www.openssl.org/source/openssl-{{version.raw}}.tar.gz sha: ${{url}}.sha256 sig: ${{url}}.asc strip-components: 1 versions: github: openssl/openssl/releases strip: /^OpenSSL / provides: - bin/openssl - bin/c_rehash dependencies: curl.se/ca-certs: '*' build: dependencies: perl.org: 5 script: | patch -p1 in - openssl dgst -sha256 -out out ./in - run: test "$(cat ./out)" = "SHA2-256(./in)= $SAMPLE" if: ^3 - run: test "$(cat ./out)" = "SHA256(./in)= $SAMPLE" if: ^1 # test the certs work - run: pkgx wget tea.xyz if: ^1 # ^^ can't test openssl 3 yet since like, what uses it even?! # especially since our curl and wget are hard-locked to ^1.1 for now env: SAMPLE: c87e2ca771bab6024c269b933389d2a92d4941c848c52f155b9b84e1f109fe35