Skip to content
Snippets Groups Projects
Commit 77a6bfec authored by Timo Teräs's avatar Timo Teräs Committed by Natanael Copa
Browse files

community/lua-resty-openssl: new aport

adding directly to community because this is a dependency
for lua-resty-jwt

(cherry picked from commit 8c038f70)
(cherry picked from commit d79ab28e)
parent 515b242b
No related branches found
No related tags found
No related merge requests found
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=lua-resty-openssl
pkgver=1.5.1
pkgrel=0
pkgdesc="FFI-based OpenSSL binding for OpenResty"
url="https://github.com/fffonion/lua-resty-openssl"
# ppc64le, riscv64, loongarch64: no luajit/openresty
# armhf, armv7, s390x, x86: ffi broken -> test suite fails
arch="aarch64 x86_64"
license="BSD-2-Clause"
depends="
libcrypto3
libssl3
luajit
"
checkdepends="
bash
ca-certificates
openresty
perl-utils
perl-test-nginx
"
source="https://github.com/fffonion/lua-resty-openssl/archive/refs/tags/$pkgver/lua-resty-openssl-$pkgver.tar.gz"
package() {
mkdir -p "$pkgdir/usr/share/lua/common"
cp -r ./lib/resty "$pkgdir/usr/share/lua/common"
}
check() {
prove -r t
}
sha512sums="
1facb9491cf5acf7072b900d7c1179f1f3e6bfe64437065e2e5e2648de49eea69fbe17a62796adac3051fd795f733d468c2b3335cfa0e746f413a50503195072 lua-resty-openssl-1.5.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment