diff options
-rw-r--r-- | accessibility/mousetweaks/Makefile | 2 | ||||
-rw-r--r-- | accessibility/mousetweaks/distinfo | 6 | ||||
-rw-r--r-- | security/seahorse/Makefile | 3 | ||||
-rw-r--r-- | security/seahorse/distinfo | 6 | ||||
-rw-r--r-- | security/seahorse/files/patch-libseahorse_seahorse-secure-memory.c | 42 | ||||
-rw-r--r-- | security/seahorse/files/patch-libseahorse_seahorse-secure-memory.h | 11 |
6 files changed, 8 insertions, 62 deletions
diff --git a/accessibility/mousetweaks/Makefile b/accessibility/mousetweaks/Makefile index fa454bc318f7..670963ea17b2 100644 --- a/accessibility/mousetweaks/Makefile +++ b/accessibility/mousetweaks/Makefile @@ -7,7 +7,7 @@ # PORTNAME= mousetweaks -PORTVERSION= 2.22.1 +PORTVERSION= 2.22.2 CATEGORIES= accessibility MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/accessibility/mousetweaks/distinfo b/accessibility/mousetweaks/distinfo index 9c42fe5879d3..815d7899b0b4 100644 --- a/accessibility/mousetweaks/distinfo +++ b/accessibility/mousetweaks/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/mousetweaks-2.22.1.tar.bz2) = 16ef7e51728c27c7ea3378a9f296f352 -SHA256 (gnome2/mousetweaks-2.22.1.tar.bz2) = 3600d4ea32c3e9b9a7d70730b4c8f96f78a90c53bd032b3cad66cc253a3736f8 -SIZE (gnome2/mousetweaks-2.22.1.tar.bz2) = 758163 +MD5 (gnome2/mousetweaks-2.22.2.tar.bz2) = befc5e98668d655a581f623c8ff15bba +SHA256 (gnome2/mousetweaks-2.22.2.tar.bz2) = c6f0853291c2ca297a4711b9bdb10698894edb3f1fbca7f6aa079b77cfad1a8e +SIZE (gnome2/mousetweaks-2.22.2.tar.bz2) = 772847 diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index f993c9aeea58..4dd8f43a385b 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -7,8 +7,7 @@ # PORTNAME= seahorse -PORTVERSION= 2.22.1 -PORTREVISION= 3 +PORTVERSION= 2.22.2 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/security/seahorse/distinfo b/security/seahorse/distinfo index bf887594f435..c653ae02e18e 100644 --- a/security/seahorse/distinfo +++ b/security/seahorse/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/seahorse-2.22.1.tar.bz2) = e0e409ab825c954b5937b8b115dd5118 -SHA256 (gnome2/seahorse-2.22.1.tar.bz2) = e9791ad2d5ca9013db14310340227f8e5b1a519f2525066d10061c6d1b6f9c47 -SIZE (gnome2/seahorse-2.22.1.tar.bz2) = 2195121 +MD5 (gnome2/seahorse-2.22.2.tar.bz2) = 729654701cba82ce4b3cf26c73af1dd9 +SHA256 (gnome2/seahorse-2.22.2.tar.bz2) = c0b217462274eb07223c97651e15e633c2fa1087886362848e94cd696158aeba +SIZE (gnome2/seahorse-2.22.2.tar.bz2) = 2121631 diff --git a/security/seahorse/files/patch-libseahorse_seahorse-secure-memory.c b/security/seahorse/files/patch-libseahorse_seahorse-secure-memory.c deleted file mode 100644 index 4a6300bd26b9..000000000000 --- a/security/seahorse/files/patch-libseahorse_seahorse-secure-memory.c +++ /dev/null @@ -1,42 +0,0 @@ ---- libseahorse/seahorse-secure-memory.c.orig 2008-04-12 12:09:58.000000000 -0400 -+++ libseahorse/seahorse-secure-memory.c 2008-04-12 12:10:05.000000000 -0400 -@@ -97,13 +97,31 @@ - void - seahorse_secure_memory_init () - { -- GMemVTable vtable; -- -- memset (&vtable, 0, sizeof (vtable)); -- vtable.malloc = switch_malloc; -- vtable.realloc = switch_realloc; -- vtable.free = switch_free; -- vtable.calloc = switch_calloc; -- g_mem_set_vtable (&vtable); -+ if (seahorse_try_gk_secure_memory() == TRUE) { -+ GMemVTable vtable; -+ -+ memset (&vtable, 0, sizeof (vtable)); -+ vtable.malloc = switch_malloc; -+ vtable.realloc = switch_realloc; -+ vtable.free = switch_free; -+ vtable.calloc = switch_calloc; -+ g_mem_set_vtable (&vtable); -+ } else { -+ g_warning ("Unable to allocate secure memory from gnome-keyring.\n"); -+ g_warning ("Proceeding with insecure password memory instead.\n"); -+ } - } - -+gboolean -+seahorse_try_gk_secure_memory () -+{ -+ gpointer p; -+ -+ p = gnome_keyring_memory_try_alloc (10); -+ if (p != NULL) { -+ gnome_keyring_memory_free (p); -+ return TRUE; -+ } -+ -+ return FALSE; -+} diff --git a/security/seahorse/files/patch-libseahorse_seahorse-secure-memory.h b/security/seahorse/files/patch-libseahorse_seahorse-secure-memory.h deleted file mode 100644 index 354b563ac779..000000000000 --- a/security/seahorse/files/patch-libseahorse_seahorse-secure-memory.h +++ /dev/null @@ -1,11 +0,0 @@ ---- libseahorse/seahorse-secure-memory.h.orig 2008-04-11 09:33:34.000000000 -0400 -+++ libseahorse/seahorse-secure-memory.h 2008-04-11 09:34:12.000000000 -0400 -@@ -34,6 +34,7 @@ - } while (0) - - /* This must be called before any glib/gtk/gnome functions */ --void seahorse_secure_memory_init (void); -+void seahorse_secure_memory_init (void); -+gboolean seahorse_try_gk_secure_memory (void); - - #endif /* _SEAHORSE_SECURE_MEMORY_H_ */ |