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