Commit graph

153 commits

Author SHA1 Message Date
tnn
61a6f9e6d1 gpgme: add patch from upstream to not require C++14 2022-08-19 11:15:16 +00:00
tnn
bdfcf19d24 fix copy-paste 2022-08-18 10:38:26 +00:00
tnn
27851dc432 gpgme: filed upstream bug 2022-08-18 09:53:02 +00:00
tnn
fcc1d4e76e gpgme: needs C++14 now 2022-08-17 20:53:54 +00:00
wiz
12fdfccd92 gpgme: update to 1.18.0.
Noteworthy changes in version 1.18.0 (2022-08-10)
-------------------------------------------------

 * New keylist mode to force refresh via external methods.  [T5951]

 * The keylist operations now create an import result to report the
   result of the locate keylist modes.  [T5951]

 * core: Return BAD_PASSPHRASE error code on symmetric decryption
   failure.  [T5939]

 * cpp, qt: Do not export internal symbols anymore.  [T5906]

 * cpp, qt: Support revocation of own OpenPGP keys.  [T5904]

 * qt: The file name of (signed and) encrypted data can now be set.  [T6056]

 * cpp, qt: Support setting the primary user ID.  [T5938]

 * python: Fix segv(NULL) when inspecting contect after exeception.  [T6060]
2022-08-17 17:46:43 +00:00
wiz
38c1d1d717 gpgme: update to 1.17.1.
Noteworthy changes in version 1.17.1 (2022-03-06)
-------------------------------------------------

 * qt: Fix a bug in the ABI compatibility of 1.17.0.  [T5834]


Noteworthy changes in version 1.17.0 (2022-02-07)
-------------------------------------------------

 * New context flag "key-origin".  [#5733]

 * New context flag "import-filter".  [#5739]

 * New export mode to export secret subkeys.  [#5757]

 * Detect errors during the export of secret keys.  [#5766]

 * New function gpgme_op_receive_keys to import keys from a keyserver
   without first running a key listing.  [#5808]

 * Detect bad passphrase error in certificate import.  [T5713]

 * Allow setting --key-origin when importing keys.  [T5733]

 * Support components "keyboxd", "gpg-agent", "scdaemon", "dirmngr",
   "pinentry", and "socketdir" in gpgme_get_dirinfo.  [T5727,T5613]

 * Under Unix use poll(2) instead of select(2), when available.
   [T2385]

 * Do not use --flat_namespace when linking for macOS.  [T5610]

 * Fix results returned by gpgme_data_* functions.  [T5481]

 * Support closefrom also for glibc.  [rM4b64774b6d]

 * cpp,qt: Add support for export of secret keys and secret subkeys.
   [#5757]

 * cpp,qt: Support for adding existing subkeys to other keys.  [#5770]

 * qt: Extend ChangeExpiryJob to change expiration of primary key
   and of subkeys at the same time. [#4717]

 * qt: Expect UTF-8 on stderr on Windows.  [rM8fe1546282]

 * qt: Allow retrieving the default value of a config entry.  [T5515]

Noteworthy changes in version 1.16.0 (2021-06-24)
-------------------------------------------------

 * New context flag "cert-expire".  [#5505]

 * New data flags "io-buffer-size" and "sensitive".  [#5478]

 * Increase I/O buffer size from 512 to 4k under Windows.

 * cpp,qt: Add support for trust signatures. [#5421]

 * qt: Add support for flags in LDAP server options. [#5217]

 * qt: Fix too high memory consumption due to QProcess.  [#5475]

 * qt: Do not set empty base DN as query of keyserver URL.  [#5465]

 * qt: Extend SignKeyJob to create signatures with expiration date.
   [5506]

 * python: New optional parameter filter_signatures for decrypt.
   [#5292]
2022-04-21 09:45:34 +00:00
wiz
9316d29706 gpgme: update MASTER_SITES
Reported by Atticus on pkgsrc-users
2022-04-21 07:34:11 +00:00
nia
3df0f20e22 security: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./security/cyrus-sasl/distinfo cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2
2021-10-26 11:16:56 +00:00
nia
fa4b2904a6 security: Remove SHA1 hashes for distfiles 2021-10-07 14:53:40 +00:00
adam
9688972d78 gpgme: updated to 1.15.1
Noteworthy changes in version 1.15.1 (2021-01-08)
-------------------------------------------------
 * Fix another bug in the secret key export.
 * Make listing of signatures work if only secret keys are listed.
 * Fix build problem on FreeBSD.
 * qt: Avoid empty "rem@gnupg.org" signature notations.
 * python: Fix key_export functions.


Noteworthy changes in version 1.15.0 (2020-11-12)
-------------------------------------------------
 * New function gpgme_op_setexpire to make changing the expiration
   easier (requires GnuPG 2.1.22).
 * New function gpgme_op_revsig to revoke key signatures (requires
   GnuPG 2.2.24).
 * Support exporting secret keys.
 * cpp: Support for set expire operations in the C++ bindings.
 * cpp: Support for revoking key signatures in the C++ bindings.
 * qt: Extended ChangeExpiryJob to support changing the expiry of
   subkeys.
 * qt: Extended QuickJob to support revoking of key signatures.
 * qt: Added QDebug stream operator for GpgME::Error.
 * Require a somewhat newer version of libgpg-error (1.36).
 * Interface changes relative to the 1.14.0 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgme_op_setexpire_start                   NEW.
 gpgme_op_setexpire                         NEW.
 gpgme_op_revsig_start                      NEW.
 gpgme_op_revsig                            NEW.
 GPGME_REVSIG_LFSEP                         NEW.
 cpp: Context::setExpire                    NEW.
 cpp: Context::startSetExpire               NEW.
 cpp: EngineInfo::Version::operator<=       NEW.
 cpp: EngineInfo::Version::operator>=       NEW.
 cpp: EngineInfo::Version::operator!=       NEW.
 cpp: StatusConsumer                        NEW.
 cpp: StatusConsumerAssuanTransaction       NEW.
 cpp: Context::cancelPendingOperationImmediately NEW.
 cpp: Context::revokeSignature              NEW.
 cpp: Context::startRevokeSignature         NEW.
 cpp: UserID::Signature::operator<          NEW.
 qt: operator<<(QDebug debug, const GpgME::Error &err) NEW.
 qt: QuickJob::startRevokeSignature         NEW.
 qt: QuickJob::result                   CHANGED: Made params 'auditLogAsHtml'
                                                and 'auditLogError' optional.
2021-01-31 13:03:07 +00:00
nia
5e4ed2adbe gpgme: Requires a c++11 compiler 2020-10-25 12:53:54 +00:00
schmonz
6eda19a6f9 On macOS, the build intermittently breaks because tests intermittently
give "gpg: can't connect to the agent: File name too long". Make this
less annoying by not running tests before 'make test' (and fixing that
pkgsrc target).
2020-08-25 08:54:52 +00:00
tnn
ae761791a9 gpgme: add missing #include 2020-08-14 10:32:43 +00:00
adam
b4fbc2084f gpgme: updated to 1.14.0
Noteworthy changes in version 1.14.0
------------------------------------
 * New keylist mode to force the engine to return the keygrip.
 * New export mode to export as OpenSSH public key.
 * New context flag "extended-edit" to enable expert key edit.
 * Deprecate the anyway non working trustlist functions.
 * cpp: Add convenience API to obtain remarks.
 * cpp: The sign key edit-interactor now supports multiple signatures
   from the same key.
 * qt: Extended signkeyjob to handle remarks and multiple signatures.
 * qt: Added job API for gpg-card.
 * qt: The logging category has been changed to gpg.qgpgme to be more
       consistent with other qt logging categories.
 * Interface changes relative to the 1.13.1 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPGME_KEYLIST_MODE_WITH_KEYGRIP              NEW.
 GPGME_EXPORT_MODE_SSH                        NEW.
 gpgme_user_id_t                         EXTENDED: New field 'uidhash'.
 cpp: UserID::remark                          NEW.
 cpp: UserID::remarks                         NEW.
 cpp: GpgSignKeyEditInteractor::setDupeOk     NEW.
 cpp: Context::exportPublicKeys          EXTENDED: New param 'flags'.
 cpp: Context::startPublicKeyExport      EXTENDED: New param 'flags'.
 cpp: Context::ExportMode                     NEW.
 qt: SignKeyJob::setDupeOk                    NEW.
 qt: SignKeyJob::setRemark                    NEW.
 qt: GpgCardJob                               NEW.
 qt: ExportJob::setExportFlags                NEW.
2020-08-03 15:32:31 +00:00
markd
0a2ab79e7d gpgme: dont accidentally try to build python language bindings 2020-06-10 11:32:06 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
maya
6b47c628cc gpgme: fix for older GCC.
Remove unrecognized flag (GCC 4.8.5), default to -std=gnu99, since we have
loop initial declarations.

tested on SmartOS and CentOS 7.
2019-09-09 11:19:33 +00:00
adam
ece4a65431 gpgme: updated to 1.13.1
Noteworthy changes in version 1.13.1:
* cpp: gpgme_set_global_flag is now wrapped.
* w32: Improved handling of unicode install paths.
* w32: The gpgme_io_spawn error message is now only shown once.
* Fixed a crash introduced in 1.13.0 when working with S/MIME.
* w32: Fixed format string errors introduced in 1.13.0 that could
  cause crashes.
* w32: Fixed an error in the new diagnostic gpgsm support introduced
  in 1.13.0 that caused crashes in low fd scenarios.
* python: Fixed a DecryptionError Exception.
* python: No longer raises BadSignatures from decrypt(verify=True).
2019-07-03 20:29:54 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
adam
5ad467bead gpgme: updated to 1.13.0
Noteworthy changes in version 1.13.0:
* Support GPGME_AUDITLOG_DIAG for gpgsm.
* New context flag "trust-model".
* Removed support for WindowsCE and Windows ME.
* Aligned the gpgrt-config code with our other libaries.
* Auto-check for all installed Python versions.
* Fixed generating card key in the C++ bindings.
* Fixed a segv due to bad parameters in genkey.
* Fixed crash if the plaintext is ignored in a CMS verify.
* Fixed memleak on Windows.
* Tweaked the Windows I/O code.
* Fixed random crashes on Windows due to closing an arbitrary
  handle.
* Fixed a segv on Windows.
* Fixed test suite problems related to dtags.
* Fixed bunch of python bugs.
* Several fixes to the Common Lisp bindings.
* Fixed minor bugs in gpgme-json.
* Require trace level 8 to dump all I/O data.
* The compiler must now support variadic macros.
2019-04-03 14:28:57 +00:00
adam
5b34a05d39 gpgme: updated to 1.12.0
Noteworthy changes in version 1.12.0

 * Enhanced the JSON based interface tool gpgme-json to support Native
   Messaging as well as new Javascript code to support the browser
   site.  See lang/js/README for details.

 * Major overhaul of the Python language bindings documentation.

 * Even for old versions of gpg a missing MDC will now lead to a
   decryption failure.

 * Added context flag "auto-key-locate" to control the
   behavior of GPGME_KEYLIST_MODE_LOCATE.

 * New data function to create a data object from an estream.

 * Add more interfaces to the C++ bindings.

 * Improved error codes on decryption failure.

 * Lots of minor fixes.
2018-12-12 16:48:15 +00:00
spz
7e787fb5c6 this gpgme wants gpgrt_calloc etc that are introduced with libgpg-error 1.28 2018-10-11 17:49:26 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
adam
43a07b11e2 gpgme: updated to 1.11.1
version 1.11.1:
* Fixed build problems in the 1.11.0 release.
* Added C++ interfaces which were planned for 1.11.0.

version 1.11.0:
* New encryption API to support direct key specification including
  hidden recipients option and taking keys from a file.  This also
  allows to enforce the use of a subkey.
* New encryption flag for the new API to enforce the use of plain
  mail addresses (addr-spec).
* The import API can now tell whether v3 keys are skipped.  These old
  and basically broken keys are not anymore supported by GnuPG 2.1.
* The decrypt and verify API will now return the MIME flag as
  specified by RFC-4880bis.
* The offline mode now has an effect on gpg by disabling all network
  access.
* A failed OpenPGP verification how returns the fingerprint of the
  intended key if a recent gpg version was used for signature
  creation.
* New tool gpgme-json as native messaging server for web browsers.
  As of now public key encryption and decryption is supported.
  Requires Libgpg-error 1.29.
* New context flag "request-origin" which has an effect when used
  with GnuPG 2.2.6 or later.
* New context flag "no-symkey-cache" which has an effect when used
  with GnuPG 2.2.7 or later.
* New convenience constant GPGME_KEYLIST_MODE_LOCATE.
* Improved the Python documentation.
* Fixed a potential regression with GnuPG 2.2.6 or later.
* Fixed a crash in the Python bindings on 32 bit platforms.
* Various minor fixes.
2018-07-04 12:46:29 +00:00
leot
3ea61214bc gpgme: Improve style and comment in options.mk (NFCI)
- Move the CONFIGURE_ARGS in the `gnupg1' logic after DEPENDS to make the
  two branches symmetric
- Adjust the comment, the tests needs gpgsm, not gpg-agent

Suggested via a private email by <uwe>, thanks!
2018-06-04 07:44:35 +00:00
leot
11cee7766b gpgme: Disable tests that needs gpg-agent when built with gnupg1 option
When building with the gnupg1 option some tests force the need of
gpg-agent and fails as noticed by <uwe> via PR pkg/53160.

Adjust options.mk accordingly disabling gpgsm tests for the gnupg1
option.

Should fix PR pkg/53160 reported by <uwe>.
2018-06-03 21:18:34 +00:00
ryoon
c0820bea5d Revert PKGNAME change from gnupg2 to gnupg 2017-12-21 13:30:40 +00:00
adam
f5a2246b38 gpgme: updated to 1.10.0
Noteworthy changes in version 1.10.0:
 * Now returns more specific error codes for decryption to distinguish
   between bad passphrase, user canceled, and no secret key.
 * Now returns key origin information if available.
 * Added context flag "auto-key-retrieve" to selectively enable the
   corresponding gpg option.
 * Added flag is_de_vs to decryption and verify results.
 * py: Use SEEK_SET as default for data.seek.
 * cpp: Various new APIs.
 * Reduced spawn overhead on Linux again.  Added new configure option
   --disable-linux-getdents to disable this feature for very old
   Linux versions.
 * Improved the Python bindings build system.
 * Made the test suite less fragile.
2017-12-21 09:47:31 +00:00
wiz
f189747f78 Add commented out test environment flag for more detailed output. 2017-08-29 12:31:35 +00:00
wiz
6725c64a65 Fix pattern. 2017-08-29 12:20:25 +00:00
wiz
663a75e7ba Remove unnecessary comment. 2017-08-29 12:18:11 +00:00
wiz
2148e3b706 Remove references to gnupg21 in preparation for its removal. 2017-08-29 12:11:35 +00:00
wiz
98446e8c91 Remove librfuncs dependency here as well. 2017-08-29 11:27:07 +00:00
wiz
9e907b4033 Updated gpgme to 1.9.0.
Drop historic patches; adapt one to upstream changes
and add bug report URL.

Noteworthy changes in version 1.9.0 (2017-03-28)
------------------------------------------------

 * 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.

 [c=C29/A18/R0 cpp=C10/A4/R0 qt=C9/A2/R0]
2017-08-29 11:26:19 +00:00
tron
effe88aefd Fix build under macOS Sierra and possibly older versions as well. 2017-08-10 18:49:17 +00:00
ryoon
76aa33265c Enable C++ binding that is required by misc/libreoffice 5.4.0.3
* Use C and C++ laguages
* Bump PKGREVISION
2017-08-01 11:48:20 +00:00
wiz
430679373b Add swig bug report URL. 2017-04-05 09:31:18 +00:00
wiz
5da0771bbc Turn off swig/python detection the hard way.
Add comment about test failures.
2017-04-05 09:28:27 +00:00
wiz
e451cb4279 Remove unrecognized configure arguments. Set gpg binary name for tests. 2017-04-05 08:58:24 +00:00
wiz
0326450d0a Updated gpgme to 1.8.0.
A library was removed; recursive bump will follow soon.

Noteworthy changes in version 1.8.0 (2016-11-16)
------------------------------------------------

 * The module of the Python bindings has been renamed to 'gpg'.

 * New interface to query current software versions.

 * New feature to use gpg's --{show,override}session-key options.

 * New interface to set the sender of a mail.

 * qt: Added Distinguished Name parser from libkleo

 * The --homedir option is now used with recent gpgconf versions.

 * On 64 bit Windows systems gpgconf is now properly located.

 * The internal locking functions have been replaced by libgpg-error
   locking functions.

 * Interface changes relative to the 1.7.1 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgme_set_sender                NEW.
 gpgme_get_sender                NEW.
 gpgme_op_query_swdb             NEW.
 gpgme_op_query_swdb_result      NEW.
 gpgme_query_swdb_result_t       NEW.
 gpgme_get_ctx_flag              NEW.
 gpgme_decrypt_result_t          EXTENDED: New field session_key.
 qt: DN                          NEW.
 qt: DN::Attribute               NEW.
 qt: Job::context(Job*)          NEW.
 cpp: EngineInfo::Version::Version(const char*) NEW.
 cpp: EngineInfo::Version::Version()            NEW.
 cpp: SwdbResult                                NEW.
 cpp: Context::setSender(const char*)           NEW.
 cpp: Context::getSender()                      NEW.

 [c=C28/A17/R0 cpp=C9/A3/R0 qt=C8/A1/R0]


Noteworthy changes in version 1.7.1 (2016-10-18)
------------------------------------------------

 * Fixed problems with the new language bindings.

 * New helper function gpgme_addrspec_from_uid.

 * Use option --exit-on-status-write-error with newer gpg versions.

 * qt: Missed API from the Qt Binding inclusion has
   been added again.

 * qt: abstractimportjob.h is now installed to that
   ImportJobs can be used again.

 * qt: Fixed spelling error in API (startReceive).

 * Interface changes relative to the 1.7.0 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgme_addrspec_from_uid         NEW.
 qt: WksPublishJob::startRecieve RENAMED to ::startReceive.
 qt: MultiDeleteJob              NEW.
 qt: AbstractImportJob           NEW.
 qt: SpecialJob                  NEW.
 cpp: Signature::key(bool, bool)              NEW.
 cpp: UserID::addrSpecFromString(const char*) NEW.
 cpp: UserID::addrSpec()                      NEW.

 [c=C27/A16/R0 cpp=C8/A2/R0 qt=C7/A0/R0]


Noteworthy changes in version 1.7.0 (2016-09-21)
------------------------------------------------

 * New language bindings for Python 2 and 3.

 * New language Bindings for C++ and the Qt-Framework API.

 * New functions gpgme_op_createkey and gpgme_op_createsubkey to make
   key creation easier (requires GnuPG 2.1).

 * New functions gpgme_op_adduid and gpgme_op_revuid to make user id
   management easier (requires GnuPG 2.1).

 * New function gpgme_op_keysign to make key signing easier (requires
   GnuPG 2.1).

 * New function gpgme_op_interact to replace the now deprecated
   functions gpgme_op_edit and gpgme_op_card_edit.

 * New function gpgme_pubkey_algo_string to convert a public key
   algorithm into a GnuPG 2.1 style string.

 * Support for GnuPG 2.1's TOFU trust model.

 * Notation flags are now correctly set on verify.

 * New global flag "require-gnupg" to set a minimal gnupg version.

 * More supported items in gpgme_get_dirinfo.

 * New function gpgme_data_set_flag and flag "size-hint".

 * New function gpgme_set_ctx_flag and flags "full-status" and
   "raw-description".

 * Improved gpgme_data_identify to distinguish more file types.

 * New flag GPGME_ENCRYPT_SYMMETRIC for gpgme_op_encrypt to allow
   mixed public key and symmetric encryption.

 * New field KEYGRIP in gpgme_subkey_t.  New fields FPR in gpgme_key_t.

 * New flag GPGME_DATA_ENCODING_MIME to declare that the encrypted or
   signed data is a valid MIME part.  This is to support future GnuPG
   versions.

 * Interface changes relative to the 1.6.0 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgme_pubkey_algo_string       NEW.
 GPGME_PK_EDDSA                 NEW.
 gpgme_set_ctx_flag             NEW.
 gpgme_data_set_flag            NEW.
 gpgme_op_createkey             NEW.
 gpgme_op_createkey_start       NEW.
 gpgme_op_createsubkey          NEW.
 gpgme_op_createsubkey_start    NEW.
 gpgme_op_adduid_start          NEW.
 gpgme_op_adduid                NEW.
 gpgme_op_revuid_start          NEW.
 gpgme_op_revuid                NEW.
 gpgme_op_keysign_start         NEW.
 gpgme_op_keysign               NEW.
 gpgme_op_tofu_policy_start     NEW.
 gpgme_op_tofu_policy           NEW.
 gpgme_op_interact_start        NEW.
 gpgme_op_interact              NEW.
 gpgme_interact_cb_t            NEW.
 gpgme_op_edit_start            DEPRECATED.
 gpgme_op_edit                  DEPRECATED.
 gpgme_op_card_edit_start       DEPRECATED.
 gpgme_op_card_edit             DEPRECATED.
 gpgme_edit_cb_t                DEPRECATED.
 gpgme_status_code_t            DEPRECATED.
 gpgme_genkey_result_t          EXTENDED: New fields pubkey and seckey.
 gpgme_signature_t              EXTENDED: New field key.
 gpgme_key_t                    EXTENDED: New field fpr.
 gpgme_subkey_t                 EXTENDED: New field keygrip.
 gpgme_user_id_t                EXTENDED: New field tofu.
 gpgme_tofu_policy_t            NEW.
 gpgme_tofu_info_t              NEW.
 GPGME_STATUS_KEY_CONSIDERED    NEW.
 GPGME_STATUS_TOFU_USER         NEW.
 GPGME_STATUS_TOFU_STATS        NEW.
 GPGME_STATUS_TOFU_STATS_LONG   NEW.
 GPGME_STATUS_NOTATION_FLAGS    NEW.
 GPGME_KEYLIST_MODE_WITH_TOFU   NEW.
 GPGME_DATA_TYPE_PGP_ENCRYPTED  NEW.
 GPGME_DATA_TYPE_PGP_SIGNATURE  NEW.
 GPGME_DATA_ENCODING_MIME       NEW.
 GPGME_ENCRYPT_SYMMETRIC        NEW.
 GPGME_CREATE_SIGN              NEW.
 GPGME_CREATE_ENCR              NEW.
 GPGME_CREATE_CERT              NEW.
 GPGME_CREATE_AUTH              NEW.
 GPGME_CREATE_NOPASSWD          NEW.
 GPGME_CREATE_SELFSIGNED        NEW.
 GPGME_CREATE_NOSTORE           NEW.
 GPGME_CREATE_WANTPUB           NEW.
 GPGME_CREATE_WANTSEC           NEW.
 GPGME_CREATE_FORCE             NEW.
 GPGME_KEYSIGN_LOCAL            NEW.
 GPGME_KEYSIGN_LFSEP            NEW.
 GPGME_INTERACT_CARD            NEW.
2017-03-31 10:31:57 +00:00
wiz
ffbf5c09ae Not all the world is GNU configure.
Unbreaks mail/notmuch.
2017-03-17 08:48:30 +00:00
jperkin
a897668643 Use OPSYSVARS. 2016-02-26 09:41:05 +00:00
jperkin
4373d99d5d Remove mk/find-prefix.mk usage from the security category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:58:02 +00:00
agc
5293710fb4 Add SHA512 digests for distfiles for security category
Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:17:40 +00:00
tnn
65a5e1d0c6 fix typo 2015-10-31 18:18:33 +00:00
tnn
de97353799 match options.mk options and simplify a bit 2015-10-31 18:17:11 +00:00
richard
b8fa5045ac add depends for appropriate gnupg according to options selected
ok tnn@ re: options.mk v 1.3
2015-10-31 17:46:12 +00:00
tnn
65e84122af Add an option to toggle gnupg21 since people for unknown reasons still
want 2.0 to be the default, despite not supporting the latest crypto.
2015-10-22 19:18:34 +00:00
ryoon
b4f0050530 Bump PKGREVISION
* Do not abuse buildlink3.
* Use GnuPG 2.0 explicitly.
2015-09-24 23:33:08 +00:00
mef
a9dacf32fc Update 1.5.5 to 1.6.0
---------------------
Noteworthy changes in version 1.6.0 (2015-08-26) [C25/A14/R0]
------------------------------------------------

 * Added gpgme_set_offline to do a key listinging w/o requiring CRL.

 * Added gpgme_set_status_cb to allow a user to see some status
   messages.

 * Added an export mode for secret keys.

 * More precise error codes are returned if GnuPG >= 2.1.8 is used.

 * The passphrase handler for the loopback mode has been improved and may
   also be used with genkey.

 * [w32] The standard GnuPG 2.1 install directory is now seached for
   gpgconf.exe before a registry specified directory and the Gpg4win
   install directory.

 * [w32] gpgme-w32spawn.exe will now only be searched in the gpgme DLL
   directory.

 * Interface changes relative to the 1.5.1 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgme_set_offline              NEW.
 gpgme_get_offline              NEW.
 gpgme_set_status_cb            NEW.
 gpgme_get_status_cb            NEW.
 GPGME_EXPORT_MODE_SECRET       NEW
 GPGME_EXPORT_MODE_RAW          NEW.
 GPGME_EXPORT_MODE_PKCS12       NEW.
2015-08-27 03:39:20 +00:00