Date: Friday, January 25, 2019 @ 06:33:22 Author: andyrtr Revision: 344681
archrelease: copy trunk to core-x86_64 Added: libgcrypt/repos/core-x86_64/PKGBUILD (from rev 344680, libgcrypt/trunk/PKGBUILD) Deleted: libgcrypt/repos/core-x86_64/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-25 06:33:05 UTC (rev 344680) +++ PKGBUILD 2019-01-25 06:33:22 UTC (rev 344681) @@ -1,52 +0,0 @@ -# Maintainer: Andreas Radke <andy...@archlinux.org> - -# after a .so bump first rebuild dirmngr -# with sudo testing-x86_64-build -- -I libgcrypt-1.6.0-1-x86_64.pkg.tar.xz -# then cp /usr/lib/libgcrypt.so.11 /var/lib/archbuild/staging-x86_64/root/usr/lib/ and do staging-x86_64-build - -pkgname=libgcrypt -pkgver=1.8.4 -pkgrel=1 -pkgdesc="General purpose cryptographic library based on the code from GnuPG" -arch=(x86_64) -url="http://www.gnupg.org" -license=('LGPL') -depends=('libgpg-error') -options=('!emptydirs') -# https://www.gnupg.org/download/integrity_check.html -source=(https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) -sha1sums=('4a8ef9db6922f3a31992aca5640b4198a69b58fc' - 'SKIP') -validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gni...@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} - ./configure --prefix=/usr \ - --disable-static \ - --disable-padlock-support - make -} - -check() { - cd ${pkgname}-${pkgver} - make check -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install -} Copied: libgcrypt/repos/core-x86_64/PKGBUILD (from rev 344680, libgcrypt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-25 06:33:22 UTC (rev 344681) @@ -0,0 +1,52 @@ +# Maintainer: Andreas Radke <andy...@archlinux.org> + +# after a .so bump first rebuild dirmngr +# with sudo testing-x86_64-build -- -I libgcrypt-1.6.0-1-x86_64.pkg.tar.xz +# then cp /usr/lib/libgcrypt.so.11 /var/lib/archbuild/staging-x86_64/root/usr/lib/ and do staging-x86_64-build + +pkgname=libgcrypt +pkgver=1.8.4 +pkgrel=1 +pkgdesc="General purpose cryptographic library based on the code from GnuPG" +arch=(x86_64) +url="https://www.gnupg.org" +license=('LGPL') +depends=('libgpg-error') +options=('!emptydirs') +# https://www.gnupg.org/download/integrity_check.html +source=(https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) +sha1sums=('4a8ef9db6922f3a31992aca5640b4198a69b58fc' + 'SKIP') +validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gni...@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} + ./configure --prefix=/usr \ + --disable-static \ + --disable-padlock-support + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +}