diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-02-01 21:26:59 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-02-01 21:26:59 +0000 |
commit | 6a68d2a6501095a7dc55c7fd87d513263562ef6f (patch) | |
tree | 83c08240656e82f283c4fd2e23cbd85dba534eab /security/seahorse/files | |
parent | 8cf9cd521fa6b57a6af06e4c9821742cfdb51d7d (diff) | |
download | ports-6a68d2a6501095a7dc55c7fd87d513263562ef6f.tar.gz ports-6a68d2a6501095a7dc55c7fd87d513263562ef6f.zip |
* Update maintainer email address
* Fix daemonization of seahorse-agent
* Keep seahorse-agent from taking up 100% of the CPU [1]
* Add support for gnupg 1.4
Submitted by: marcus [1]
maintainer
Notes
Notes:
svn path=/head/; revision=127875
Diffstat (limited to 'security/seahorse/files')
3 files changed, 62 insertions, 0 deletions
diff --git a/security/seahorse/files/patch-agent_seahorse-agent-io.c b/security/seahorse/files/patch-agent_seahorse-agent-io.c new file mode 100644 index 000000000000..73f68960ed3f --- /dev/null +++ b/security/seahorse/files/patch-agent_seahorse-agent-io.c @@ -0,0 +1,32 @@ +--- agent/seahorse-agent-io.c.orig Fri Jan 28 15:52:18 2005 ++++ agent/seahorse-agent-io.c Fri Jan 28 15:54:19 2005 +@@ -377,12 +377,18 @@ + gsize length; + GError *err = NULL; + gboolean ret = TRUE; ++ GIOStatus status; + + if (condition & G_IO_IN) { + /* Read 1 line from the io channel, including newline character */ +- g_io_channel_read_line (source, &string, &length, NULL, &err); ++ status = g_io_channel_read_line (source, &string, &length, NULL, &err); + +- if (err != NULL) { ++ if (status == G_IO_STATUS_EOF) { ++ free_conn (cn); ++ ret = FALSE; ++ } ++ ++ else if (err != NULL) { + g_critical ("couldn't read from socket: %s", err->message); + g_clear_error (&err); + free_conn (cn); +@@ -398,7 +404,7 @@ + g_free (string); + } + +- if (condition & G_IO_HUP) { ++ else if (condition & G_IO_HUP) { + free_conn (cn); + ret = FALSE; /* removes watch */ + } diff --git a/security/seahorse/files/patch-agent_seahorse-agent.c b/security/seahorse/files/patch-agent_seahorse-agent.c new file mode 100644 index 000000000000..577649bbf7a2 --- /dev/null +++ b/security/seahorse/files/patch-agent_seahorse-agent.c @@ -0,0 +1,19 @@ +--- agent/seahorse-agent.c.orig Mon Jan 31 11:14:02 2005 ++++ agent/seahorse-agent.c Mon Jan 31 11:14:48 2005 +@@ -309,7 +309,6 @@ + * All functions after this point have to print messages + * nicely and not just called exit() + */ +- daemonize (sockname); + + /* Handle some signals */ + signal (SIGINT, on_quit); +@@ -322,6 +321,8 @@ + /* Initialize our sub systems */ + seahorse_agent_actions_init (); + seahorse_agent_cache_init (); ++ ++ daemonize (sockname); + + if (seahorse_agent_io_init () == -1) + return 1; /* message already printed */ diff --git a/security/seahorse/files/patch-libseahorse_seahorse-gpg-options.c b/security/seahorse/files/patch-libseahorse_seahorse-gpg-options.c new file mode 100644 index 000000000000..2eca53c2d888 --- /dev/null +++ b/security/seahorse/files/patch-libseahorse_seahorse-gpg-options.c @@ -0,0 +1,11 @@ +--- libseahorse/seahorse-gpg-options.c.orig Wed Jan 26 12:11:42 2005 ++++ libseahorse/seahorse-gpg-options.c Wed Jan 26 12:11:57 2005 +@@ -31,7 +31,7 @@ + #include "seahorse-gpg-options.h" + + #define GPG_CONF_HEADER "# FILE CREATED BY SEAHORSE\n\n" +-#define GPG_VERSION_PREFIX "1.2." ++#define GPG_VERSION_PREFIX "1.4." + + static gchar gpg_homedir[MAXPATHLEN]; + static gboolean gpg_options_inited = FALSE; |