Accepting request 483173 from security:privacy
gpgme 1.9.0 OBS-URL: https://build.opensuse.org/request/show/483173 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=86
This commit is contained in:
parent
35580c25b1
commit
14426c5156
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33
|
||||
size 1298407
|
Binary file not shown.
3
gpgme-1.9.0.tar.bz2
Normal file
3
gpgme-1.9.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b29fedb8bfad775e70eafac5b0590621683b2d9869db994568e6401f4034ceb
|
||||
size 1344222
|
BIN
gpgme-1.9.0.tar.bz2.sig
Normal file
BIN
gpgme-1.9.0.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,24 +0,0 @@
|
||||
Index: gpgme-1.8.0/lang/qt/src/qgpgmenewcryptoconfig.cpp
|
||||
===================================================================
|
||||
--- gpgme-1.8.0.orig/lang/qt/src/qgpgmenewcryptoconfig.cpp
|
||||
+++ gpgme-1.8.0/lang/qt/src/qgpgmenewcryptoconfig.cpp
|
||||
@@ -49,6 +49,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
+#include <functional>
|
||||
|
||||
using namespace QGpgME;
|
||||
using namespace GpgME;
|
||||
Index: gpgme-1.8.0/lang/qt/src/threadedjobmixin.h
|
||||
===================================================================
|
||||
--- gpgme-1.8.0.orig/lang/qt/src/threadedjobmixin.h
|
||||
+++ gpgme-1.8.0/lang/qt/src/threadedjobmixin.h
|
||||
@@ -51,6 +51,7 @@
|
||||
#include "job.h"
|
||||
|
||||
#include <cassert>
|
||||
+#include <functional>
|
||||
|
||||
namespace QGpgME
|
||||
{
|
@ -1,3 +1,75 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 18:01:47 UTC 2017 - astieger@suse.com
|
||||
|
||||
- gpgme 1.9.0:
|
||||
* Clarified meaning of the 'expire' parameter of gpgme_op_createkey
|
||||
and gpgme_op_createsubkey. New flag to force a key without an
|
||||
expiration date.
|
||||
* New function gpgme_op_keylist_from_data_start to list keys from
|
||||
data objects without importing them.
|
||||
* New function gpgme_op_set_uid_flag to flag a key as primary.
|
||||
* New function gpgme_op_decrypt_ext to run decryption with special
|
||||
flags. This can for example be used to unwrap keys (remove only
|
||||
the encryption layer).
|
||||
* New encryption flags to wrap a key (adding an encryption layer to
|
||||
an OpenPGP message) or to create anonymously encrypted messages.
|
||||
* Support for adduid and revuid operations in the C++ bindings.
|
||||
* Support for smartcard key generation in the C++ bindings.
|
||||
* Several new functions for the Python binding.
|
||||
* Many smaller bug fixes.
|
||||
* Interface changes relative to the 1.8.0 release:
|
||||
gpgme_op_createkey CHANGED: Meaning of 'expire' parameter.
|
||||
gpgme_op_createsubkey CHANGED: Meaning of 'expire' parameter.
|
||||
GPGME_CREATE_NOEXPIRE NEW.
|
||||
gpgme_key_t EXTENDED: New field 'origin'.
|
||||
gpgme_key_t EXTENDED: New field 'last_update'.
|
||||
gpgme_subkey_t EXTENDED: New field 'is_de_vs'.
|
||||
gpgme_user_id_t EXTENDED: New field 'origin'.
|
||||
gpgme_user_id_t EXTENDED: New field 'last_update'.
|
||||
gpgme_op_keylist_from_data_start NEW.
|
||||
gpgme_op_set_uid_flag_start NEW.
|
||||
gpgme_op_set_uid_flag NEW.
|
||||
gpgme_op_decrypt_ext_start NEW.
|
||||
gpgme_op_decrypt_ext NEW.
|
||||
GPGME_ENCRYPT_THROW_KEYIDS NEW.
|
||||
GPGME_ENCRYPT_WRAP NEW.
|
||||
GPGME_DECRYPT_VERIFY NEW.
|
||||
GPGME_DECRYPT_UNWRAP NEW.
|
||||
gpgme_data_rewind UN-DEPRECATE.
|
||||
cpp: Context::revUid(const Key&, const char*) NEW.
|
||||
cpp: Context::startRevUid(const Key&, const char*) NEW.
|
||||
cpp: Context::addUid(const Key&, const char*) NEW.
|
||||
cpp: Context::startAddUid(const Key&, const char*) NEW.
|
||||
cpp: Key::UserID::revoke() NEW.
|
||||
cpp: Key::addUid() NEW.
|
||||
cpp: Key::isDeVs NEW.
|
||||
cpp: GpgGenCardKeyInteractor NEW.
|
||||
cpp: Subkey::keyGrip NEW.
|
||||
cpp: Subkey::isDeVs NEW.
|
||||
cpp: Data::toKeys NEW.
|
||||
cpp: Context::setDecryptFlags NEW.
|
||||
cpp: Context::decrypt EXTENDED: Flags added.
|
||||
cpp: Context::startDecrypt EXTENDED: Flags added.
|
||||
cpp: Context::decryptAndVerify EXTENDED: Flags added.
|
||||
cpp: Context::startCombinedDecryptionAndVerification EXTENDED: Flags.
|
||||
cpp: Context::encryptFlags EXTENDED: New flags.
|
||||
qt: CryptoConfig::stringValueList() NEW.
|
||||
py: Context.__init__ EXTENDED: New keyword arg home_dir.
|
||||
py: Context.home_dir NEW.
|
||||
py: Context.keylist EXTENDED: New keyword arg mode.
|
||||
py: Context.keylist EXTENDED: New keyword arg source.
|
||||
py: Context.create_key NEW.
|
||||
py: Context.create_subkey NEW.
|
||||
py: Context.key_add_uid NEW.
|
||||
py: Context.key_revoke_uid NEW.
|
||||
py: Context.key_sign NEW.
|
||||
py: Context.key_tofu_policy NEW.
|
||||
py: core.pubkey_algo_string NEW.
|
||||
py: core.addrspec_from_uid NEW.
|
||||
- drop upstreamed patches:
|
||||
* gpgme-include_functional.patch
|
||||
* remove-a-forgotten-instance-of-libsuffix.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 21:54:04 UTC 2017 - lbeltrame@kde.org
|
||||
|
||||
|
25
gpgme.spec
25
gpgme.spec
@ -17,18 +17,12 @@
|
||||
|
||||
|
||||
# Enable Qt bindings on TW and 42.3 (needed for KDE PIM)
|
||||
%if 0%{?suse_version} >= 1330 || 0%{?sle_version} >= 120300
|
||||
%global with_qt 1
|
||||
%endif
|
||||
|
||||
%define with_qt 0%{?suse_version} >= 1330 || 0%{?sle_version} >= 120300
|
||||
# Only enable Python bindings with TW, or tests will fail with an older gpg
|
||||
# https://bugs.gnupg.org/gnupg/issue3008
|
||||
%if 0%{?suse_version} >= 1330
|
||||
%global with_python 1
|
||||
%endif
|
||||
|
||||
%define with_python 0%{?suse_version} >= 1330
|
||||
Name: gpgme
|
||||
Version: 1.8.0
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: Programmatic library interface to GnuPG
|
||||
License: LGPL-2.1+ and GPL-3.0+
|
||||
@ -40,22 +34,19 @@ Source2: baselibs.conf
|
||||
Source3: gpgme.keyring
|
||||
# used to have a fixed timestamp
|
||||
Source99: %{name}.changes
|
||||
#PATCH-FIX-UPSTREAM: remove-a-forgotten-instance-of-libsuffix.diff - Fix cmake files (or it will break KDE software building)
|
||||
Patch1: remove-a-forgotten-instance-of-libsuffix.diff
|
||||
Patch2: gpgme-include_functional.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gpg2 >= 2.0.10
|
||||
BuildRequires: libassuan-devel >= 2.0.2
|
||||
BuildRequires: libgpg-error-devel >= 1.17
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?with_python}
|
||||
BuildRequires: python-devel >= 2.7
|
||||
BuildRequires: python3-devel >= 3.4
|
||||
%endif
|
||||
BuildRequires: swig
|
||||
Requires(post): %{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?with_python}
|
||||
BuildRequires: python-devel >= 2.7
|
||||
BuildRequires: python3-devel >= 3.4
|
||||
%endif
|
||||
%if 0%{with_qt}
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
@ -184,8 +175,6 @@ This package contains the bindings to use the library in Qt C++ applications.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99})
|
||||
|
@ -1,33 +0,0 @@
|
||||
From 572c1aac107125ce62230251713349348373db5a Mon Sep 17 00:00:00 2001
|
||||
From: Heiko Becker <heirecka@exherbo.org>
|
||||
Date: Wed, 16 Nov 2016 23:09:45 +0100
|
||||
Subject: [PATCH] Remove a forgotten instance of @libsuffix@
|
||||
|
||||
* lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove a forgotten
|
||||
instance of @libsuffix@.
|
||||
--
|
||||
|
||||
b2c07bd47bd608afa5cc819b60a7b5bb8c9dd96a removed @libsuffix@ from
|
||||
cmake config files, but missed one instance.
|
||||
|
||||
Signed-off-by: Heiko Becker <heirecka@exherbo.org>
|
||||
---
|
||||
lang/cpp/src/GpgmeppConfig.cmake.in.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lang/cpp/src/GpgmeppConfig.cmake.in.in b/lang/cpp/src/GpgmeppConfig.cmake.in.in
|
||||
index 928d19f..cbe9713 100644
|
||||
--- a/lang/cpp/src/GpgmeppConfig.cmake.in.in
|
||||
+++ b/lang/cpp/src/GpgmeppConfig.cmake.in.in
|
||||
@@ -63,7 +63,7 @@ add_library(Gpgmepp SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Gpgmepp PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/gpgme++;@resolved_includedir@"
|
||||
- INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@"
|
||||
+ INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme.so;@LIBASSUAN_LIBS@"
|
||||
IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp.so"
|
||||
)
|
||||
|
||||
--
|
||||
2.8.0.rc3
|
||||
|
Loading…
x
Reference in New Issue
Block a user