Hello community, here is the log from the commit of package gpg2 for openSUSE:Factory checked in at 2016-08-31 00:00:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gpg2 (Old) and /work/SRC/openSUSE:Factory/.gpg2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gpg2" Changes: -------- --- /work/SRC/openSUSE:Factory/gpg2/gpg2.changes 2016-08-06 20:36:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gpg2.new/gpg2.changes 2016-08-31 00:00:38.000000000 +0200 @@ -1,0 +2,71 @@ +Fri Aug 19 21:22:22 UTC 2016 - [email protected] + +- GnuPG 2.1.15: + * gpg: Remove the --tofu-db-format option and support for the + split TOFU database. + * gpg: Add option --sender to prepare for coming features. + * gpg: Add option --input-size-hint to help progress indicators. + * gpg: Extend the PROGRESS status line with the counted unit. + * gpg: Avoid publishing the GnuPG version by default with --armor. + * gpg: Properly ignore legacy keys in the keyring cache. + * gpg: Always print fingerprint records in --with-colons mode. + * gpg: Make sure that keygrips are printed for each subkey in + --with-colons mode. + * gpg: New import filter "drop-sig". + * gpgsm: Fix a bug in the machine-readable key listing. + * gpg,gpgsm: Block signals during keyring updates to limits the + effects of a Ctrl-C at the wrong time. + * g13: Add command --umount and other fixes for dm-crypt. + * agent: Fix regression in SIGTERM handling. + * agent: Cleanup of the ssh-agent code. + * agent: Allow import of overly long keys. + * scd: Fix problems with card removal. + * dirmngr: Remove all code for running as a system service. + * tools: Make gpg-wks-client conforming to the specs. + * tests: Improve the output of the new regression test tool. + * tests: Distribute the standalone test runner. + * tests: Run each test in a clean environment. + * Spelling and grammar fixes. +- fix build error, adding + 0001-common-Follow-up-to-14479e2-fix-void-return-in-non-v.patch + +------------------------------------------------------------------- +Sun Aug 14 14:12:40 UTC 2016 - [email protected] + +- GnuPG 2.1.14: + * gpg: Removed options --print-dane-records and --print-pka-records. + The new export options "export-pka" and "export-dane" can instead + be used with the export command. + * gpg: New options --import-filter and --export-filter. + * gpg: New import options "import-show" and "import-export". + * gpg: New option --no-keyring. + * gpg: New command --quick-revuid. + * gpg: New options -f/--recipient-file and -F/--hidden-recipient-file + to directly specify encryption keys. + * gpg: New option --mimemode to indicate that the content is a MIME + part. Does only enable --textmode right now. + * gpg: New option --rfc4880bis to allow experiments with proposed + changes to the current OpenPGP specs. + * gpg: Fix regression in the "fetch" sub-command of --card-edit. + * gpg: Fix regression since 2.1 in option --try-all-secrets. + * gpgv: Change default options for extra security. + * gpgsm: No more root certificates are installed by default. + * agent: "updatestartuptty" does now affect more environment + variables. + * scd: The option --homedir does now work with scdaemon. + * scd: Support some more GEMPlus card readers. + * gpgtar: Fix handling of '-' as file name. + * gpgtar: New commands --create and --extract. + * gpgconf: Tweak for --list-dirs to better support shell scripts. + * tools: Add programs gpg-wks-client and gpg-wks-server to implement + a Web Key Service. The configure option --enable-wks-tools is + required to build them; they should be considered Beta software. + * tests: Complete rework of the openpgp part of the test suite. The + test scripts have been changed from Bourne shell scripts to Scheme + programs. A customized scheme interpreter (gpgscm) is included. + This change was triggered by the need to run the test suite on + non-Unix platforms. + * The rendering of the man pages has been improved. +- drop upstream gnupg-make_--try-all-secrets_work.patch + +------------------------------------------------------------------- Old: ---- gnupg-2.1.13.tar.bz2 gnupg-2.1.13.tar.bz2.sig gnupg-make_--try-all-secrets_work.patch New: ---- 0001-common-Follow-up-to-14479e2-fix-void-return-in-non-v.patch gnupg-2.1.15.tar.bz2 gnupg-2.1.15.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gpg2.spec ++++++ --- /var/tmp/diff_new_pack.MbMIeW/_old 2016-08-31 00:00:40.000000000 +0200 +++ /var/tmp/diff_new_pack.MbMIeW/_new 2016-08-31 00:00:40.000000000 +0200 @@ -17,7 +17,7 @@ Name: gpg2 -Version: 2.1.13 +Version: 2.1.15 Release: 0 Summary: GnuPG 2 License: GPL-3.0+ @@ -34,18 +34,18 @@ Patch8: gnupg-set_umask_before_open_outfile.patch Patch9: gnupg-detect_FIPS_mode.patch Patch11: gnupg-add_legacy_FIPS_mode_option.patch -Patch12: gnupg-make_--try-all-secrets_work.patch +Patch12: 0001-common-Follow-up-to-14479e2-fix-void-return-in-non-v.patch BuildRequires: expect BuildRequires: fdupes BuildRequires: libadns-devel -BuildRequires: libassuan-devel >= 2.4.1 +BuildRequires: libassuan-devel >= 2.4.3 # patch11 (gnupg-add_legacy_FIPS_mode_option.patch) mentions GCRYCTL_INACTIVATE_FIPS_FLAG # raising gcrypt requirement from 1.4.0 -BuildRequires: libgcrypt-devel >= 1.6.1 -BuildRequires: libgpg-error-devel >= 1.21 -BuildRequires: libksba-devel >= 1.2.0 +BuildRequires: libgcrypt-devel >= 1.7.0 +BuildRequires: libgpg-error-devel >= 1.24 +BuildRequires: libksba-devel >= 1.3.4 BuildRequires: makeinfo -BuildRequires: npth-devel >= 0.91 +BuildRequires: npth-devel >= 1.2 BuildRequires: openldap2-devel BuildRequires: pkg-config BuildRequires: readline-devel ++++++ 0001-common-Follow-up-to-14479e2-fix-void-return-in-non-v.patch ++++++ >From ae52c486ef5e71445aa0adfdac30124abff7da46 Mon Sep 17 00:00:00 2001 From: Andreas Stieger <[email protected]> Date: Fri, 19 Aug 2016 23:09:13 +0200 Subject: [PATCH] common: Follow-up to 14479e2, fix void return in non-void function * simple-pwquery.c (agent_open): return -1 in errout label as documented. Signed-off-by: Andreas Stieger <[email protected]> --- common/simple-pwquery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/simple-pwquery.c b/common/simple-pwquery.c index 240451b..0c3233b 100644 --- a/common/simple-pwquery.c +++ b/common/simple-pwquery.c @@ -285,6 +285,7 @@ agent_open (assuan_context_t *ctx) errout: assuan_release (*ctx); *ctx = NULL; + return -1; } -- 2.6.6 ++++++ gnupg-2.0.18-files-are-digests.patch ++++++ --- /var/tmp/diff_new_pack.MbMIeW/_old 2016-08-31 00:00:40.000000000 +0200 +++ /var/tmp/diff_new_pack.MbMIeW/_new 2016-08-31 00:00:40.000000000 +0200 @@ -4,11 +4,11 @@ g10/sign.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 67 insertions(+), 6 deletions(-) -Index: gnupg-2.1.13/g10/gpg.c +Index: gnupg-2.1.15/g10/gpg.c =================================================================== ---- gnupg-2.1.13.orig/g10/gpg.c -+++ gnupg-2.1.13/g10/gpg.c -@@ -358,6 +358,7 @@ enum cmd_and_opt_values +--- gnupg-2.1.15.orig/g10/gpg.c ++++ gnupg-2.1.15/g10/gpg.c +@@ -368,6 +368,7 @@ enum cmd_and_opt_values oTTYtype, oLCctype, oLCmessages, @@ -16,7 +16,7 @@ oXauthority, oGroup, oUnGroup, -@@ -770,6 +771,7 @@ static ARGPARSE_OPTS opts[] = { +@@ -791,6 +792,7 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_s (oWeakDigest, "weak-digest","@"), ARGPARSE_s_n (oUnwrap, "unwrap", "@"), ARGPARSE_s_n (oOnlySignTextIDs, "only-sign-text-ids", "@"), @@ -24,15 +24,15 @@ /* Aliases. I constantly mistype these, and assume other people do as well. */ -@@ -2247,6 +2249,7 @@ main (int argc, char **argv) +@@ -2239,6 +2241,7 @@ main (int argc, char **argv) opt.def_cert_expire = "0"; gnupg_set_homedir (NULL); opt.passphrase_repeat = 1; + opt.files_are_digests=0; - opt.emit_version = 1; /* Limit to the major number. */ + opt.emit_version = 0; opt.weak_digests = NULL; additional_weak_digest("MD5"); -@@ -2797,6 +2800,7 @@ main (int argc, char **argv) +@@ -2807,6 +2810,7 @@ main (int argc, char **argv) opt.verify_options&=~VERIFY_SHOW_PHOTOS; break; case oPhotoViewer: opt.photo_viewer = pargs.r.ret_str; break; @@ -40,11 +40,11 @@ case oForceMDC: opt.force_mdc = 1; break; case oNoForceMDC: opt.force_mdc = 0; break; -Index: gnupg-2.1.13/g10/options.h +Index: gnupg-2.1.15/g10/options.h =================================================================== ---- gnupg-2.1.13.orig/g10/options.h -+++ gnupg-2.1.13/g10/options.h -@@ -206,6 +206,7 @@ struct +--- gnupg-2.1.15.orig/g10/options.h ++++ gnupg-2.1.15/g10/options.h +@@ -212,6 +212,7 @@ struct int no_auto_check_trustdb; int preserve_permissions; int no_homedir_creation; @@ -52,10 +52,10 @@ struct groupitem *grouplist; int mangle_dos_filenames; int enable_progress_filter; -Index: gnupg-2.1.13/g10/sign.c +Index: gnupg-2.1.15/g10/sign.c =================================================================== ---- gnupg-2.1.13.orig/g10/sign.c -+++ gnupg-2.1.13/g10/sign.c +--- gnupg-2.1.15.orig/g10/sign.c ++++ gnupg-2.1.15/g10/sign.c @@ -42,6 +42,8 @@ #include "call-agent.h" #include "mbox-util.h" @@ -65,7 +65,7 @@ #ifdef HAVE_DOSISH_SYSTEM #define LF "\r\n" #else -@@ -694,8 +696,12 @@ write_signature_packets (SK_LIST sk_list +@@ -711,8 +713,12 @@ write_signature_packets (SK_LIST sk_list mk_notation_policy_etc (sig, NULL, pk); } @@ -78,7 +78,7 @@ rc = do_sign (pk, sig, md, hash_for (pk), cache_nonce); gcry_md_close (md); -@@ -753,6 +759,8 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -770,6 +776,8 @@ sign_file (ctrl_t ctrl, strlist_t filena SK_LIST sk_rover = NULL; int multifile = 0; u32 duration=0; @@ -87,7 +87,7 @@ pfx = new_progress_context (); afx = new_armor_context (); -@@ -769,7 +777,16 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -786,7 +794,16 @@ sign_file (ctrl_t ctrl, strlist_t filena fname = NULL; if( fname && filenames->next && (!detached || encryptflag) ) @@ -105,7 +105,7 @@ if(encryptflag==2 && (rc=setup_symkey(&efx.symkey_s2k,&efx.symkey_dek))) -@@ -790,7 +807,7 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -807,7 +824,7 @@ sign_file (ctrl_t ctrl, strlist_t filena goto leave; /* prepare iobufs */ @@ -114,7 +114,7 @@ inp = NULL; /* we do it later */ else { inp = iobuf_open(fname); -@@ -928,7 +945,7 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -945,7 +962,7 @@ sign_file (ctrl_t ctrl, strlist_t filena for (sk_rover = sk_list; sk_rover; sk_rover = sk_rover->next) gcry_md_enable (mfx.md, hash_for (sk_rover->pk)); @@ -123,7 +123,7 @@ iobuf_push_filter( inp, md_filter, &mfx ); if( detached && !encryptflag) -@@ -983,6 +1000,8 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -1000,6 +1017,8 @@ sign_file (ctrl_t ctrl, strlist_t filena write_status_begin_signing (mfx.md); @@ -132,7 +132,7 @@ /* Setup the inner packet. */ if( detached ) { if( multifile ) { -@@ -1023,6 +1042,45 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -1040,6 +1059,45 @@ sign_file (ctrl_t ctrl, strlist_t filena if( opt.verbose ) log_printf ("\n"); } @@ -178,7 +178,7 @@ else { /* read, so that the filter can calculate the digest */ while( iobuf_get(inp) != -1 ) -@@ -1040,8 +1098,8 @@ sign_file (ctrl_t ctrl, strlist_t filena +@@ -1058,8 +1116,8 @@ sign_file (ctrl_t ctrl, strlist_t filena /* write the signatures */ rc = write_signature_packets (sk_list, out, mfx.md, ++++++ gnupg-2.1.13.tar.bz2 -> gnupg-2.1.15.tar.bz2 ++++++ ++++ 270932 lines of diff (skipped) ++++++ gnupg-add_legacy_FIPS_mode_option.patch ++++++ --- /var/tmp/diff_new_pack.MbMIeW/_old 2016-08-31 00:00:43.000000000 +0200 +++ /var/tmp/diff_new_pack.MbMIeW/_new 2016-08-31 00:00:43.000000000 +0200 @@ -3,11 +3,11 @@ g10/gpg.c | 9 +++++++++ 2 files changed, 27 insertions(+) -Index: gnupg-2.1.13/doc/gpg.texi +Index: gnupg-2.1.15/doc/gpg.texi =================================================================== ---- gnupg-2.1.13.orig/doc/gpg.texi -+++ gnupg-2.1.13/doc/gpg.texi -@@ -1996,6 +1996,24 @@ implies, this option is for experts only +--- gnupg-2.1.15.orig/doc/gpg.texi ++++ gnupg-2.1.15/doc/gpg.texi +@@ -1992,6 +1992,24 @@ implies, this option is for experts only understand the implications of what it allows you to do, leave this off. @option{--no-expert} disables this option. @@ -32,19 +32,19 @@ @end table -Index: gnupg-2.1.13/g10/gpg.c +Index: gnupg-2.1.15/g10/gpg.c =================================================================== ---- gnupg-2.1.13.orig/g10/gpg.c -+++ gnupg-2.1.13/g10/gpg.c -@@ -398,6 +398,7 @@ enum cmd_and_opt_values - oUnwrap, +--- gnupg-2.1.15.orig/g10/gpg.c ++++ gnupg-2.1.15/g10/gpg.c +@@ -409,6 +409,7 @@ enum cmd_and_opt_values oOnlySignTextIDs, oDisableSignerUID, + oSender, + oSetLegacyFips, oNoop }; -@@ -809,6 +810,7 @@ static ARGPARSE_OPTS opts[] = { +@@ -830,6 +831,7 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_n (oAllowMultipleMessages, "allow-multiple-messages", "@"), ARGPARSE_s_n (oNoAllowMultipleMessages, "no-allow-multiple-messages", "@"), ARGPARSE_s_n (oAllowWeakDigestAlgos, "allow-weak-digest-algos", "@"), @@ -52,7 +52,7 @@ /* These two are aliases to help users of the PGP command line product use gpg with minimal pain. Many commands are common -@@ -3330,6 +3332,13 @@ main (int argc, char **argv) +@@ -3373,6 +3375,13 @@ main (int argc, char **argv) case oNoAutostart: opt.autostart = 0; break;
