aports/main/libksba/APKBUILD
2023-11-18 00:07:28 +00:00

39 lines
878 B
Plaintext

# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libksba
pkgver=1.6.5
pkgrel=0
pkgdesc="Libksba is a CMS and X.509 access library"
url="https://www.gnupg.org/software/libksba/index.html"
arch="all"
license="LGPL-3.0-only AND GPL-2.0-only AND GPL-3.0-only"
makedepends="libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.gnupg.org/ftp/gcrypt/libksba/libksba-$pkgver.tar.bz2"
# secfixes:
# 1.6.3-r0:
# - CVE-2022-47629
# 1.6.2-r0:
# - CVE-2022-3515
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
959312ac0bb2dabcdd22217266daccdf3938d62ff2936c767cade76888757ece1bb6fe79f2c679db03d1baf3919757265d0ded216fee8b8d235e94a70fcf05de libksba-1.6.5.tar.bz2
"