[git] gnupg-doc - branch, master, updated. dff46b6668fe0f673f3880c854657d06fe8c953b

by Werner Koch cvs at cvs.gnupg.org
Tue Oct 13 07:02:23 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, master has been updated
       via  dff46b6668fe0f673f3880c854657d06fe8c953b (commit)
       via  4ee0800866b01dfcc2de68701a5d10e91f0573ab (commit)
      from  d4b11c37cc0991a6befce8659d51d7d1ff2a5ed6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dff46b6668fe0f673f3880c854657d06fe8c953b
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Oct 13 06:58:43 2015 +0200

    Add a ping command to the donate script.

diff --git a/cgi/procdonate.cgi b/cgi/procdonate.cgi
index bb95ca0..71e4006 100755
--- a/cgi/procdonate.cgi
+++ b/cgi/procdonate.cgi
@@ -681,6 +681,18 @@ sub complete_sepa ()
 }
 
 
+# Send a PING command to see whether payprocd is alive.
+sub ping_pong ()
+{
+    my %data = ();
+
+    if (payproc ('PING', \%data )) {
+       print $q->header(-type=>'text/HTML', -charset=>'utf-8');
+       print "\n";
+       print "<p>OK</p>\n";
+    }
+}
+
 
 #
 # Main
@@ -698,6 +710,10 @@ elsif ($mode eq '') {
     # No mode: Show empty template.
     write_main_page();
 }
+elsif ($mode eq 'ping') {
+    # Check aliveness
+    ping_pong();
+}
 elsif ($mode eq 'main') {
     # Returning from the donation start page
     check_donation();
@@ -722,6 +738,10 @@ elsif ($mode eq 'checkout-paypal') {
     # The approved Paypal payment has been approved - charge.
     complete_paypal_checkout();
 }
+elsif ($mode eq 'pong') {
+    # Helper to test a script checking PING.
+    fail "Error connecting to payprocd: Forced to fail";
+}
 else {
     fail('Internal error: Unknown mode');
 }

commit 4ee0800866b01dfcc2de68701a5d10e91f0573ab
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Oct 13 06:56:23 2015 +0200

    web: Remove dead link to Korean documentation.
    
    --
    GnuPG-bug-id: 2124

diff --git a/web/documentation/guides.org b/web/documentation/guides.org
index e25aff7..a442f3f 100644
--- a/web/documentation/guides.org
+++ b/web/documentation/guides.org
@@ -81,8 +81,7 @@
 
    The [[https://emailselfdefense.fsf.org/][Email Self-Defense]] site is an introduction with infographic.
 
-   At [[http://kldp.org/~yong/misc/gnupg/][kldp.org]] you can find some Korean language information on GnuPG.
-   [[http://gnupg.hclippr.com/][Japanese language documentation]] is also available.
+   Documentation in the [[http://gnupg.hclippr.com/][Japanese]] language.
 
    Julien Francoz, alias CoCoZ, wrote a guide for French users
    entitled [[http://francoz.net/doc/gpg/gpg.html][Utilisation de GnuPG]] , which covers the basic usage of

-----------------------------------------------------------------------

Summary of changes:
 cgi/procdonate.cgi           | 20 ++++++++++++++++++++
 web/documentation/guides.org |  3 +--
 2 files changed, 21 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list