mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Update to 2.22.2.
This commit is contained in:
parent
66e0731bd7
commit
1f74f7fc54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213722
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mousetweaks
|
||||
PORTVERSION= 2.22.1
|
||||
PORTVERSION= 2.22.2
|
||||
CATEGORIES= accessibility
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome2
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
+}
|
@ -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_ */
|
Loading…
Reference in New Issue
Block a user