pkgsrc/security/seahorse/patches/patch-aa
jmmv 980d24aa63 Update to 0.7.8:
seahorse 0.7.8
--------------

    * HKP key server support.
    * Reworked drag-and-drop. Now works between Seahorse windows.
    * Added a dialog for adding key servers simply and correctly.
    * Add option to agent 'Authorize' window to turn off prompting
      for authorization [Adam Schriber]
    * Handle empty passwords properly in agent [Adam Schreiber]
    * Keep agent window on top [Adam Schreiber]
    * Removed libeel dependency.
    * Better keyboard handling in the recipients dialog.
    * Fix some rare gnome-vfs problems.
    * Many smaller bug fixes.

seahorse 0.7.7
--------------

    * Working keyserver sync (including upload) support.
    * Compatibility with GNOME 2.10.
    * Nautilus plugin now works with Nautilus 2.10 [Fernando Herrera]
    * Cleaned up and simplified columns in the Key Manager.
    * Fix problems with entering expiry dates.
    * Remove 'Text Mode' option. Clarify 'ASCII Armor' option.
    * Removed lots of 'jargon' from the interface.
    * Can now drag keys from a key list to nautilus.
    * Many smaller bug fixes.

seahorse 0.7.6
--------------

    * Compatible with GPG 1.4
    * Initial LDAP key server searching and importing support.
    * Show descriptive icons (eg: secret, public keys) in the main
      Key Manager window. [Adam Schreiber]
    * Monitor keyring and refresh key list automatically across
      processes, such as gedit plugin, recipient selection etc...
    * Decryption 'Open With' in nautilus for PGP encrypted and
      signed files. [Adam Schreiber]
    * Added Backup Keyrings functionality. [Adam Schreiber]
    * Prompt for signer when no default key is selected.
    * Display UIDs properly in the seahorse-agent status window.
    * Allow selection of a signing key in the Recipients dialog.
    * More usable HIG friendly Key Properties dialog [Jim Pharis]
    * Fix problems with 0 length files being created on error.
    * Gnome HIG compliancy fixes
    * Allow deletion of UIDs from the Key Manager window.
    * Show all UIDs in the Recipient selection dialog.
    * Prompt before overwriting files.
    * More efficient operations on large files.
    * Enable gedit plugin by default.
    * Many smaller bug fixes.
2005-05-19 21:14:11 +00:00

39 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.7 2005/05/19 21:14:11 jmmv Exp $
--- libseahorse/seahorse-util.c.orig 2005-05-01 19:30:09.000000000 +0000
+++ libseahorse/seahorse-util.c
@@ -230,11 +230,12 @@ seahorse_util_write_data_to_file (const
gchar *buffer;
gint nread;
- /*
- * TODO: gpgme_data_seek doesn't work for us right now
- * probably because of different off_t sizes
- */
- gpgme_data_rewind (data);
+ /* Reset the read pointer in data */
+ if (gpgme_data_seek (data, 0, SEEK_SET) == -1)
+ {
+ gpg_err_code_t e = gpg_err_code_from_errno (errno);
+ return GPG_E (e);
+ }
file = seahorse_vfs_data_create (path, SEAHORSE_VFS_WRITE, &err);
if (file != NULL) {
@@ -275,11 +276,11 @@ seahorse_util_write_data_to_text (gpgme_
guint nread = 0;
GString *string;
- /*
- * TODO: gpgme_data_seek doesn't work for us right now
- * probably because of different off_t sizes
- */
- gpgme_data_rewind (data);
+ /* Reset the read pointer in data */
+ if (gpgme_data_seek (data, 0, SEEK_SET) == -1)
+ {
+ return NULL;
+ }
string = g_string_new ("");
buffer = g_new (gchar, size);