libgcrypt 1.11.0-1

This commit is contained in:
xhaa123 2024-10-15 23:03:16 +08:00
parent abe3d0d7b8
commit 8c1d43ec61

View File

@ -5,21 +5,43 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=libgcrypt
pkgver=1.10.3
pkgver=1.11.0
pkgrel=1
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=('x86_64')
url="https://www.gnupg.org"
license=('LGPL')
license=('BSD-3-Clause'
'BSD-3-Clause OR GPL-2.0-only'
'GPL-2.0-or-later'
'LGPL-2.0-or-later'
'LGPL-2.1-or-later'
'X11'
'LicenseRef-scancode-public-domain'
'LicenseRef-OCB1')
depends=('libgpg-error')
options=('!emptydirs')
source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=(8b0870897ac5ac67ded568dcfadf45969cfa8a6beb0fd60af2a9eadc2a3272aa)
sha256sums=(09120c9867ce7f2081d6aaa1775386b98c2f2f246135761aae47d81f58685b9c)
prepare() {
cd ${pkgname}-${pkgver}
# tests fail due to systemd+libseccomp preventing memory syscalls when building in chroots
# t-secmem: line 176: gcry_control (GCRYCTL_INIT_SECMEM, pool_size, 0) failed: General error
# FAIL: t-secmem
# t-sexp: line 1174: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error
# FAIL: t-sexp
sed -i "s:t-secmem::" tests/Makefile.am
sed -i "s:t-sexp::" tests/Makefile.am
autoreconf -vfi
}
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE}
${CONFIGURE} \
--disable-static \
--disable-padlock-support
make
make -C doc html