[arch-commits] Commit in gpgme/repos (3 files)

Christian Hesse eworm at archlinux.org
Tue Mar 26 19:55:25 UTC 2019


    Date: Tuesday, March 26, 2019 @ 19:55:23
  Author: eworm
Revision: 349240

archrelease: copy trunk to testing-x86_64

Added:
  gpgme/repos/testing-x86_64/
  gpgme/repos/testing-x86_64/0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch
    (from rev 349239, gpgme/trunk/0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch)
  gpgme/repos/testing-x86_64/PKGBUILD
    (from rev 349239, gpgme/trunk/PKGBUILD)

----------------------------------------------------------+
 0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch |  100 +++++++++++++
 PKGBUILD                                                 |   61 +++++++
 2 files changed, 161 insertions(+)

Copied: gpgme/repos/testing-x86_64/0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch (from rev 349239, gpgme/trunk/0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch)
===================================================================
--- testing-x86_64/0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch	                        (rev 0)
+++ testing-x86_64/0001-qt-Use-tofu-conflict-test-keys-without-expiry.patch	2019-03-26 19:55:23 UTC (rev 349240)
@@ -0,0 +1,100 @@
+From 66376f3e206a1aa791d712fb8577bb3490268f60 Mon Sep 17 00:00:00 2001
+From: Andre Heinecke <aheinecke at gnupg.org>
+Date: Wed, 9 Jan 2019 08:25:21 +0100
+Subject: qt: Use tofu conflict test keys without expiry
+
+* lang/qt/tests/t-tofuinfo.cpp: Use new test keys without
+expiry.
+
+--
+The old keys expired on 2019-01-06.
+
+GnuPG-Bug-Id: T3815
+---
+ lang/qt/tests/t-tofuinfo.cpp | 58 +++++++++++++++++++++++---------------------
+ 1 file changed, 30 insertions(+), 28 deletions(-)
+
+diff --git a/lang/qt/tests/t-tofuinfo.cpp b/lang/qt/tests/t-tofuinfo.cpp
+index b7161028..2d881069 100644
+--- a/lang/qt/tests/t-tofuinfo.cpp
++++ b/lang/qt/tests/t-tofuinfo.cpp
+@@ -69,46 +69,48 @@ static const char testMsg1[] =
+ 
+ static const char conflictKey1[] = "-----BEGIN PGP PUBLIC KEY BLOCK-----\n"
+ "\n"
+-"mDMEWG+w/hYJKwYBBAHaRw8BAQdAiq1oStvDYg8ZfFs5DgisYJo8dJxD+C/AA21O\n"
+-"K/aif0O0GXRvZnVfY29uZmxpY3RAZXhhbXBsZS5jb22IlgQTFggAPhYhBHoJBLaV\n"
+-"DamYAgoa1L5BwMOl/x88BQJYb7D+AhsDBQkDwmcABQsJCAcCBhUICQoLAgQWAgMB\n"
+-"Ah4BAheAAAoJEL5BwMOl/x88GvwA/0SxkbLyAcshGm2PRrPsFQsSVAfwaSYFVmS2\n"
+-"cMVIw1PfAQDclRH1Z4MpufK07ju4qI33o4s0UFpVRBuSxt7A4P2ZD7g4BFhvsP4S\n"
+-"CisGAQQBl1UBBQEBB0AmVrgaDNJ7K2BSalsRo2EkRJjHGqnp5bBB0tapnF81CQMB\n"
+-"CAeIeAQYFggAIBYhBHoJBLaVDamYAgoa1L5BwMOl/x88BQJYb7D+AhsMAAoJEL5B\n"
+-"wMOl/x88OR0BAMq4/vmJUORRTmzjHcv/DDrQB030DSq666rlckGIKTShAPoDXM9N\n"
+-"0gZK+YzvrinSKZXHmn0aSwmC1/hyPybJPEljBw==\n"
+-"=p2Oj\n"
++"mDMEXDWgpxYJKwYBBAHaRw8BAQdAguVu4qkx8iw4eU+TQ4vvcKG7IdcZvbMhw3Zc\n"
++"npGf0+u0GXRvZnVfY29uZmxpY3RAZXhhbXBsZS5jb22IkAQTFggAOBYhBO6ovNDG\n"
++"nLzbR1TlMJYJ0fjlWbUrBQJcNaCnAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA\n"
++"AAoJEJYJ0fjlWbUrLaMBALegwkv2+sEcmKZqxt8JscYvFiEuycv2+rKHaZA0eDoN\n"
++"AP97W4XrJb5x49J5jDDdeko8k00uGqiiuAXJo27/i/phA7g4BFw1oKcSCisGAQQB\n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END PGP MESSAGE-----\n";
+ 
+ static const char conflictMsg2[] = "-----BEGIN PGP MESSAGE-----\n"
+ "\n"
+-"owGbwMvMwCGWyVDbmL9q4RvG01xJDBH5GyvS8vO5OkpZGMQ4GGTFFFnmpbjJHVG+\n"
+-"b/DJQ6QIppaVCaSQgYtTACaySZHhr/SOPrdFJ89KrcwKY5i1XnflXYf2PK76SafK\n"
+-"tkxXuXzvJAvDX4kCybuqFk3HXCexz2+IrnZ+5X5EqOnuo3ens2cte+uzlhMA\n"
+-"=BIAi\n"
++"owGbwMvMwCH2MZF7d5Lk9omMp4WTGGJMFwZ4lRaXKLj7hSpklihydZSyMIhxMMiK\n"
++"KbLw7ZA+L2Dy9fM2ew5+mCZWJpAOBi5OAZhIUhIjw7bV+xS+cR0quqhmcY2Dl3WW\n"
++"8Ufr+rRNufOPyIdoO6nEXGH47/B+E1+oxS6e5f5n7MJ3aHBO+s345sipGV/4f665\n"
++"9mmiGjsA\n"
++"=8oJA\n"
+ "-----END PGP MESSAGE-----\n";
+ 
+ class TofuInfoTest: public QGpgMETest
+-- 
+cgit v1.2.1-16-g7d87
+

Copied: gpgme/repos/testing-x86_64/PKGBUILD (from rev 349239, gpgme/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-03-26 19:55:23 UTC (rev 349240)
@@ -0,0 +1,61 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgbase=gpgme
+pkgname=(gpgme qgpgme python-gpgme)
+pkgver=1.13.0
+pkgrel=1
+pkgdesc="A C wrapper library for GnuPG"
+arch=('x86_64')
+url='https://www.gnupg.org/related_software/gpgme/'
+license=('LGPL')
+makedepends=('libgpg-error' 'gnupg' 'qt5-base' 'python' 'swig')
+source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('d4b23e47a9e784a63e029338cce0464a82ce0ae4af852886afda410f9e39c630'
+            'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --disable-fd-passing \
+    --disable-static \
+    --disable-gpgsm-test
+  make
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  make check
+}
+
+package_gpgme() {
+  depends=('libgpg-error' 'gnupg>=2')
+  options=('!emptydirs')
+
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # split qgpgme
+  rm -r "${pkgdir}"/usr/include/{qgpgme,QGpgME}/
+  rm -r "${pkgdir}"/usr/lib/{cmake/QGpgme/,libqgpgme.*}
+  rm -r "${pkgdir}"/usr/lib/python*
+}
+
+package_qgpgme() {
+  pkgdesc="Qt bindings for GPGme"
+  depends=('gpgme' 'qt5-base')
+
+  cd ${pkgbase}-${pkgver}/lang/qt
+  make DESTDIR="${pkgdir}" install
+}
+
+package_python-gpgme() {
+  pkgdesc="Python bindings for GPGme"
+  depends=('gpgme' 'python')
+
+  cd ${pkgbase}-${pkgver}/lang/python
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list