core/libgcrypt to 1.8.2-1

This commit is contained in:
Kevin Mihelich 2017-12-22 12:43:24 +00:00
parent 56478bbfd8
commit 48f21b5461

View file

@ -6,21 +6,33 @@
# - fix screwed up capability detection
pkgname=libgcrypt
pkgver=1.8.1
pkgver=1.8.2
pkgrel=1
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(i686 x86_64)
arch=(x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error')
options=('!emptydirs')
# https://www.gnupg.org/download/integrity_check.html
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
# https://gnupg.org/download/integrity_check.html
sha1sums=('dd35f00da45602afe81e01f4d60c40bbdd826fe6'
source=(https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
sha1sums=('ab8aae5d7a68f8e0988f90e11e7f6a4805af5c8d'
'SKIP')
validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>"
'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
options=(!makeflags)
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}