summaryrefslogtreecommitdiff
path: root/user/bearssl/APKBUILD
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2023-11-06 23:56:37 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2023-11-06 23:56:37 +0000
commitae223a0a56098533195f5e780d82119ede8c9312 (patch)
treeb9ca7fa13d0815fe9f4962f891ec6704f2a129f9 /user/bearssl/APKBUILD
parenta9baa21bd7f3d98938a24017772249682d018f4a (diff)
downloadpackages-ae223a0a56098533195f5e780d82119ede8c9312.tar.gz
packages-ae223a0a56098533195f5e780d82119ede8c9312.tar.bz2
packages-ae223a0a56098533195f5e780d82119ede8c9312.tar.xz
packages-ae223a0a56098533195f5e780d82119ede8c9312.zip
user/bearssl: upgrade to 0.6_git20230221
Diffstat (limited to 'user/bearssl/APKBUILD')
-rw-r--r--user/bearssl/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/user/bearssl/APKBUILD b/user/bearssl/APKBUILD
index 868c043af..1562c7c32 100644
--- a/user/bearssl/APKBUILD
+++ b/user/bearssl/APKBUILD
@@ -1,19 +1,22 @@
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=bearssl
-pkgver=0.6
-pkgrel=1
+pkgver=0.6_git20230221
+_pkgcommit=79c060eea3eea1257797f15ea1608a9a9923aa6f
+pkgrel=0
pkgdesc="The BearSSL implementation of the SSL/TLS protocol"
-url="https://bearssl.org/"
+url=https://bearssl.org/
arch="all"
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-dev"
-source="https://bearssl.org/$pkgname-$pkgver.tar.gz
+source="bearssl-$pkgver.tar.gz::https://bearssl.org/gitweb/?p=BearSSL;a=snapshot;h=$_pkgcommit;sf=tgz
bearssl-brssl-dynamic.patch
"
+builddir=$PWD/src/BearSSL-${_pkgcommit:0:7}
+
build() {
make \
CC=gcc \
@@ -38,5 +41,5 @@ package() {
ln -sf "libbearssl.so.${pkgver%%.*}" "$pkgdir/lib/libbearssl.so"
}
-sha512sums="f9ed25683cfc6c4abe7f1203a2b82ed101ee4c9e0f9ab60755b6a09c8d1e8e4f64d413624e7bb9c4b0033f909a2e4568a1d916cc6ce4736222900691e1f8359a bearssl-0.6.tar.gz
+sha512sums="bffe5171f3ef27d8f141a43f5b485dcb659b20f1fc65d68c8f6e04f26dd99aadfc39a5943f5d6952f032533e2a709da9083c634f3dcc387b5c2ad64c1785bf6b bearssl-0.6_git20230221.tar.gz
f5fe047862eb355a662ccb1b95c2ca4a870ac0f8d3f4cada5396d2f6a6635647db53fbeb038f9a7651b84d6cda32b6415ce0f69a8da92636d3b3b76578114d5c bearssl-brssl-dynamic.patch"