pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/gpgme



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 29 13:27:47 UTC 2026

Modified Files:
        pkgsrc/security/gpgme: Makefile PLIST distinfo
        pkgsrc/security/gpgme/patches: patch-Makefile.in

Log Message:
gpgme: update to 2.0.1.

Noteworthy changes in version 2.0.1 (2025-09-23)   [C45/A0/R1]
------------------------------------------------

 * gnupg-manage-keys: New tool as a framework for adding features
   which would normally be implemented by a script.  Right now it
   supports the commands "identify" and "delete-expired-keys".

 * Extend the internal gpgsm_assuan_simple_command to consume diag
   output.  This fixes a possible lockup.  [T7759]

 * Clean up get_max_fds implementation.  [T7694]

 * Adjust for changes to the posix test(1) command.  [T7807]

 * Make it easier to maintain gpgme.h by using forward declarations.
   [rM6a1f72b470]

 Release-info: https://dev.gnupg.org/T7817

Noteworthy changes in version 2.0.0 (2025-06-03)   [C45/A0/R0]
------------------------------------------------

 * The C++ bindings, the Qt bindings, and the Python bindings were
   split off of gpgme. They are now released separately.  [T7262]

 * New function gpgme_op_random_bytes to get cryptographically
   strong random bytes from gpg.  [T6694]

 * New function gpgme_op_random_value to get a cryptographically
   strong unsigned integer random value.   [T6694]

 * New decrypt flag to skip the actual decryption so that information
   about the recipients can be retrieved.

 * New flag for key generate to mark a (sub)key as group owned.

 * If the key passed to gpgme_signers_add was retrieved with an exact
   pattern (fingerprint with '!' suffix), the requested subkey is used
   for signing.  This reflects the behaviour of gpg but is a minor
   semantic change.  [T3325]

 * The timestamp and expires fields in gpgme_subkey_t, gpgme_key_sig,
   and gpgme_new_signature_t are changed from signed long to unsigned
   long to better cope with 32bit time_t implementations.  These
   fields should in reality never see an error value (-1).

 * Removed the gpgme_attr_t enums and their functions which were
   deprecated since 2003.  [rMd54d6eaa64]

 * Removed the never implemented or announced GPGME_EXPORT_MODE_NOUID
   flags.  [rMd54d6eaa64]

 * Removed the entire trustlist feature which worked anyway only for a
   short period in 2003.  [T4834]

 * Interface changes relative to the 1.24 branch:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgme_op_random_bytes                   NEW.
 gpgme_op_random_value                   NEW.
 GPGME_RANDOM_MODE_NORMAL                NEW.
 GPGME_RANDOM_MODE_ZBASE32               NEW.
 GPGME_DECRYPT_LISTONLY                  NEW.
 gpgme_subkey_t                          EXT: New field 'subkey_match'.
 GPGME_CREATE_GROUP                      NEW.
 gpgme_attr_t                            REMOVED.
 gpgme_get_sig_ulong_attr                REMOVED.
 gpgme_get_sig_string_attr               REMOVED.
 gpgme_key_get_string_attr               REMOVED.
 gpgme_key_get_ulong_attr                REMOVED.
 gpgme_key_sig_get_string_attr           REMOVED.
 gpgme_key_sig_get_ulong_attr            REMOVED.
 gpgme_trust_item_get_string_attr        REMOVED.
 gpgme_trust_item_get_int_attr           REMOVED.
 GPGME_EXPORT_MODE_NOUID                 REMOVED.
 GPGME_EVENT_NEXT_TRUSTITEM              REMOVED.
 gpgme_trust_item_t                      REMOVED.
 GpgmeTrustItem                          REMOVED.
 gpgme_op_trustlist_start                REMOVED.
 gpgme_op_trustlist_next                 REMOVED.
 gpgme_op_trustlist_end                  REMOVED.
 gpgme_trust_item_ref                    REMOVED.
 gpgme_trust_item_unref                  REMOVED.
 gpgme_trust_item_release                REMOVED.

 Release-info: https://dev.gnupg.org/T7673


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 pkgsrc/security/gpgme/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/security/gpgme/PLIST
cvs rdiff -u -r1.63 -r1.64 pkgsrc/security/gpgme/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/gpgme/patches/patch-Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gpgme/Makefile
diff -u pkgsrc/security/gpgme/Makefile:1.127 pkgsrc/security/gpgme/Makefile:1.128
--- pkgsrc/security/gpgme/Makefile:1.127        Wed Jan 28 10:50:49 2026
+++ pkgsrc/security/gpgme/Makefile      Thu Jan 29 13:27:47 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.127 2026/01/28 10:50:49 wiz Exp $
+# $NetBSD: Makefile,v 1.128 2026/01/29 13:27:47 wiz Exp $
 
-DISTNAME=      gpgme-1.24.3
-PKGREVISION=   1
+DISTNAME=      gpgme-2.0.1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GNUPG:=gpgme/}
 EXTRACT_SUFX=  .tar.bz2
@@ -19,7 +18,6 @@ USE_TOOLS+=           gmake
 GNU_CONFIGURE=         yes
 PTHREAD_OPTS+=         require
 INFO_FILES=            yes
-CONFIGURE_ARGS+=       --enable-languages="cl cpp"
 
 SUBST_CLASSES+=                pthread
 SUBST_FILES.pthread=   src/gpgme-config.in

Index: pkgsrc/security/gpgme/PLIST
diff -u pkgsrc/security/gpgme/PLIST:1.26 pkgsrc/security/gpgme/PLIST:1.27
--- pkgsrc/security/gpgme/PLIST:1.26    Wed Nov  6 21:01:45 2024
+++ pkgsrc/security/gpgme/PLIST Thu Jan 29 13:27:47 2026
@@ -1,58 +1,13 @@
-@comment $NetBSD: PLIST,v 1.26 2024/11/06 21:01:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2026/01/29 13:27:47 wiz Exp $
+bin/gnupg-key-manage
 bin/gpgme-config
 bin/gpgme-json
 bin/gpgme-tool
-include/gpgme++/configuration.h
-include/gpgme++/context.h
-include/gpgme++/data.h
-include/gpgme++/decryptionresult.h
-include/gpgme++/defaultassuantransaction.h
-include/gpgme++/editinteractor.h
-include/gpgme++/encryptionresult.h
-include/gpgme++/engineinfo.h
-include/gpgme++/error.h
-include/gpgme++/eventloopinteractor.h
-include/gpgme++/exception.h
-include/gpgme++/global.h
-include/gpgme++/gpgaddexistingsubkeyeditinteractor.h
-include/gpgme++/gpgadduserideditinteractor.h
-include/gpgme++/gpgagentgetinfoassuantransaction.h
-include/gpgme++/gpggencardkeyinteractor.h
-include/gpgme++/gpgmefw.h
-include/gpgme++/gpgmepp_export.h
-include/gpgme++/gpgmepp_version.h
-include/gpgme++/gpgrevokekeyeditinteractor.h
-include/gpgme++/gpgsetexpirytimeeditinteractor.h
-include/gpgme++/gpgsetownertrusteditinteractor.h
-include/gpgme++/gpgsignkeyeditinteractor.h
-include/gpgme++/importresult.h
-include/gpgme++/interfaces/assuantransaction.h
-include/gpgme++/interfaces/dataprovider.h
-include/gpgme++/interfaces/passphraseprovider.h
-include/gpgme++/interfaces/progressprovider.h
-include/gpgme++/interfaces/statusconsumer.h
-include/gpgme++/key.h
-include/gpgme++/keygenerationresult.h
-include/gpgme++/keylistresult.h
-include/gpgme++/notation.h
-include/gpgme++/result.h
-include/gpgme++/scdgetinfoassuantransaction.h
-include/gpgme++/signingresult.h
-include/gpgme++/statusconsumerassuantransaction.h
-include/gpgme++/swdbresult.h
-include/gpgme++/tofuinfo.h
-include/gpgme++/trustitem.h
-include/gpgme++/verificationresult.h
-include/gpgme++/vfsmountresult.h
 include/gpgme.h
 info/gpgme.info
-lib/cmake/Gpgmepp/GpgmeppConfig.cmake
-lib/cmake/Gpgmepp/GpgmeppConfigVersion.cmake
 lib/libgpgme.la
-lib/libgpgmepp.la
 lib/pkgconfig/gpgme-glib.pc
 lib/pkgconfig/gpgme.pc
-lib/pkgconfig/gpgmepp.pc
 man/man1/gpgme-json.1
 share/aclocal/gpgme.m4
 share/common-lisp/source/gpgme/gpgme-grovel.lisp

Index: pkgsrc/security/gpgme/distinfo
diff -u pkgsrc/security/gpgme/distinfo:1.63 pkgsrc/security/gpgme/distinfo:1.64
--- pkgsrc/security/gpgme/distinfo:1.63 Tue May 20 07:31:24 2025
+++ pkgsrc/security/gpgme/distinfo      Thu Jan 29 13:27:47 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.63 2025/05/20 07:31:24 adam Exp $
+$NetBSD: distinfo,v 1.64 2026/01/29 13:27:47 wiz Exp $
 
-BLAKE2s (gpgme-1.24.3.tar.bz2) = f07d24aef122ac2235fc80df981342c068976222837f90a717f3acd4944c8128
-SHA512 (gpgme-1.24.3.tar.bz2) = 3b5fc22a2f83576058ac14e744333f46df362b39f742d6c9e54a5a66828194a1312f5f365bdc15683e148821f5d591fa92a2daad83fc116f65dccf14e817ca48
-Size (gpgme-1.24.3.tar.bz2) = 1892862 bytes
-SHA1 (patch-Makefile.in) = cb7c98f165165f026cd4f67a0f9707c3599a7de1
+BLAKE2s (gpgme-2.0.1.tar.bz2) = 9a1591aa214402cb45fe5ad294d634b1f245f8939b0617cb7efed1cd2f1c8dc4
+SHA512 (gpgme-2.0.1.tar.bz2) = ad19169594b6048b11df9311080e179232ff03def08f377e7d7536a3a91e12f722cbae93e80364b73db013152b327bc3457ec9a9ddea9c660d74f389f6ab8837
+Size (gpgme-2.0.1.tar.bz2) = 1392080 bytes
+SHA1 (patch-Makefile.in) = 7858bcf3feb7895d615af2d947e168d609c53665
 SHA1 (patch-src_gpgme-config.in) = e432adabe5a8fda79053c0b48077825169d648a5

Index: pkgsrc/security/gpgme/patches/patch-Makefile.in
diff -u pkgsrc/security/gpgme/patches/patch-Makefile.in:1.3 pkgsrc/security/gpgme/patches/patch-Makefile.in:1.4
--- pkgsrc/security/gpgme/patches/patch-Makefile.in:1.3 Tue Jul 11 07:12:44 2023
+++ pkgsrc/security/gpgme/patches/patch-Makefile.in     Thu Jan 29 13:27:47 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-Makefile.in,v 1.3 2023/07/11 07:12:44 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.4 2026/01/29 13:27:47 wiz Exp $
 
 Don't run tests before TEST_TARGET.
 
---- Makefile.in.orig   2023-07-07 11:37:35.000000000 +0000
+--- Makefile.in.orig   2025-09-23 10:07:09.000000000 +0000
 +++ Makefile.in
-@@ -470,7 +470,7 @@ EXTRA_DIST = autogen.sh autogen.rc gpgme
+@@ -423,7 +423,7 @@ BUILT_SOURCES = conf/config.h
  # This artificial line is to put a dependency to conf/config.h for 'all'
  BUILT_SOURCES = conf/config.h
  @RUN_GPG_TESTS_FALSE@tests = 
 -@RUN_GPG_TESTS_TRUE@tests = tests
 +@RUN_GPG_TESTS_TRUE@tests = #tests
- SUBDIRS = src ${tests} doc lang
+ SUBDIRS = src ${tests} doc lang tools
  gen_start_date = 2011-12-01T00:00:00
  



Home | Main Index | Thread Index | Old Index