[svn] GnuPG - r4473 - in trunk: . doc doc/examples g10 scripts sm tools

svn author wk cvs at cvs.gnupg.org
Fri Apr 13 13:45:08 CEST 2007


Author: wk
Date: 2007-04-13 13:45:05 +0200 (Fri, 13 Apr 2007)
New Revision: 4473

Added:
   trunk/scripts/mail-to-translators
Modified:
   trunk/README.maint
   trunk/TODO
   trunk/doc/ChangeLog
   trunk/doc/Makefile.am
   trunk/doc/examples/README
   trunk/doc/examples/gpgconf.conf
   trunk/doc/gpg.texi
   trunk/g10/ChangeLog
   trunk/g10/call-agent.c
   trunk/scripts/ChangeLog
   trunk/sm/ChangeLog
   trunk/sm/call-agent.c
   trunk/tools/ChangeLog
   trunk/tools/gpgconf-comp.c
Log:
g10/ and sm/
	* call-agent.c (start_agent): Don't use log_error when using the
	fallback hack to start the agent.  This is bug 782.
scripts/
	* mail-to-translators: Copied from 1.4. and adjusted.
tools/
	* gpgconf-comp.c: Allow changing of --allow-mark-trusted.

	* gpg-connect-agent.c (main): New option --decode and commands
	decode and undecode.
	(read_and_print_response): Implement option.


Modified: trunk/README.maint
===================================================================
--- trunk/README.maint	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/README.maint	2007-04-13 11:45:05 UTC (rev 4473)
@@ -3,7 +3,18 @@
 
 Here are some notes on how to maintain GnuPG.
 
+Release Planning:
+=================
 
+If you are planning a new release and strings have changed you should
+send a notification to all tyranslators, so that they have time to
+update their translations.  scripts/mail-to-translators is useful for
+this.  It might need some tweaking and it needs to be armored for
+actual sending.  Running it as is to see what will happen is a good
+idea, though.
+
+
+
 Release process:
 ================
 

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/TODO	2007-04-13 11:45:05 UTC (rev 4473)
@@ -1,6 +1,6 @@
                                                               -*- outline -*-
 
-* src/base64
+* src/base64                                                  
 ** Make parsing more robust
    Currently we don't cope with overlong lines in the best way.
 ** Check that we really release the ksba reader/writer objects.
@@ -129,4 +129,7 @@
    scdaemon stays as a zombie and gpg-agent does not perform any more
    commands.
 
+* configure check
+** Update autoconf and use AC_PROG_CC_C89
+ to make sure that a compiant compiler is used 
 

Modified: trunk/doc/ChangeLog
===================================================================
--- trunk/doc/ChangeLog	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/doc/ChangeLog	2007-04-13 11:45:05 UTC (rev 4473)
@@ -1,3 +1,8 @@
+2007-04-10  Werner Koch  <wk at g10code.com>
+
+	* gpg.texi (GPG Configuration Options): Document --batch, no-tty,
+	--yes and --no.
+
 2007-03-08  Werner Koch  <wk at g10code.com>
 
 	* gnupg-logo.png, gnupg-logo.eps, gnupg-logo.pdf: New.

Modified: trunk/doc/Makefile.am
===================================================================
--- trunk/doc/Makefile.am	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/doc/Makefile.am	2007-04-13 11:45:05 UTC (rev 4473)
@@ -23,7 +23,7 @@
 	   examples/gpgconf.conf
 
 EXTRA_DIST = DETAILS HACKING TRANSLATE OpenPGP KEYSERVER samplekeys.asc \
-	     gnupg-logo.eps gnupg-logo.jpg gnupg-logo.pdf \
+	     gnupg-logo.eps gnupg-logo.pdf \
              gnupg-card-architecture.eps gnupg-card-architecture.png \
              gnupg-card-architecture.pdf \
              faq.raw FAQ faq.html gnupg7.texi \

Modified: trunk/doc/examples/README
===================================================================
--- trunk/doc/examples/README	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/doc/examples/README	2007-04-13 11:45:05 UTC (rev 4473)
@@ -6,4 +6,4 @@
 trustlist.txt   A list of trustworthy root certificates 
                 (Please check yourself whether you actually trust them)
 
-
+gpgconf.conf    A sample configuration file for gpgconf.

Modified: trunk/doc/examples/gpgconf.conf
===================================================================
--- trunk/doc/examples/gpgconf.conf	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/doc/examples/gpgconf.conf	2007-04-13 11:45:05 UTC (rev 4473)
@@ -52,8 +52,7 @@
 #-------------------------------------------------------------------
 
 
-# Allow all users to change the allow-mark-trusted option.
-# (This was the default prior to gnupg 2.0.3)
-* gpg-agent allow-mark-trusted [change]
+# Deny all users to change the allow-mark-trusted option.
+* gpg-agent allow-mark-trusted [no-change]
 
 

Modified: trunk/doc/gpg.texi
===================================================================
--- trunk/doc/gpg.texi	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/doc/gpg.texi	2007-04-13 11:45:05 UTC (rev 4473)
@@ -908,6 +908,28 @@
 @opindex quiet
 Try to be as quiet as possible.
 
+ at item --batch
+ at itemx --no-batch
+ at opindex batch
+ at opindex no-batch
+Use batch mode.  Never ask, do not allow interactive commands.
+ at option{--no-batch} disables this option.
+
+ at item --no-tty
+ at opindex no-tty
+Make sure that the TTY (terminal) is never used for any output.
+This option is needed in some cases because GnuPG sometimes prints
+warnings to the TTY even if @option{--batch} is used.
+
+ at item --yes
+ at opindex yes
+Assume "yes" on most questions.
+
+ at item --no
+ at opindex no
+Assume "no" on most questions.
+
+
 @item --list-options @code{parameters}
 @opindex list-options
 This is a space or comma delimited string that gives options used when

Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/g10/ChangeLog	2007-04-13 11:45:05 UTC (rev 4473)
@@ -1,3 +1,8 @@
+2007-04-13  Werner Koch  <wk at g10code.com>
+
+	* call-agent.c (start_agent): Don't use log_error when using the
+	fallback hack to start the agent.  This is bug 782.
+
 2007-04-05  David Shaw  <dshaw at jabberwocky.com>
 
 	From STABLE-BRANCH-1-4

Modified: trunk/g10/call-agent.c
===================================================================
--- trunk/g10/call-agent.c	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/g10/call-agent.c	2007-04-13 11:45:05 UTC (rev 4473)
@@ -157,7 +157,7 @@
       xfree (infostr);
       if (gpg_err_code (rc) == GPG_ERR_ASS_CONNECT_FAILED)
         {
-          log_error (_("can't connect to the agent - trying fall back\n"));
+          log_info (_("can't connect to the agent - trying fall back\n"));
           force_pipe_server = 1;
           return start_agent ();
         }

Modified: trunk/scripts/ChangeLog
===================================================================
--- trunk/scripts/ChangeLog	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/scripts/ChangeLog	2007-04-13 11:45:05 UTC (rev 4473)
@@ -1,3 +1,7 @@
+2007-04-04  Werner Koch  <wk at g10code.com>
+
+	* mail-to-translators: Copied from 1.4. and adjusted.
+
 2004-09-30  Werner Koch  <wk at g10code.com>
 
 	* config.guess, config.sub: Updated.

Copied: trunk/scripts/mail-to-translators (from rev 4441, branches/STABLE-BRANCH-1-4/scripts/mail-to-translators)
===================================================================
--- branches/STABLE-BRANCH-1-4/scripts/mail-to-translators	2007-03-05 10:22:56 UTC (rev 4441)
+++ trunk/scripts/mail-to-translators	2007-04-13 11:45:05 UTC (rev 4473)
@@ -0,0 +1,79 @@
+#!/bin/sh
+# mail a compressed version of the current translation to the Last-Translator
+#
+
+# remove the colon to armor this script.
+SENDMAIL=": /usr/sbin/sendmail"
+
+for file in *.po; do
+    addr=$(head -100 $file | awk '/^# ?Designated-Translator:/ { printf "%s", $0; exit 0}' | sed 's/.*\(<.*>\).*/\1/')
+    if [ -z "$addr" ]; then
+    addr=$(awk '/Last-Translator:/ { printf "%s", $0; exit 0}' $file | sed 's/.*\(<.*>\).*/\1/')
+    fi
+    ll=$(basename $file .po)    
+
+    if ! msgfmt -vc $file 2>&1| egrep -q 'fuzzy|untranslated|error'; then
+        echo "$file: okay" >&2
+        continue;
+    fi    
+
+    if ! echo "$addr" | grep -q @ ; then
+        echo "$file: no translator known" >&2
+        continue;
+    fi
+
+    echo "$file: sending to $addr"
+    ( cat <<EOF
+From: translations at gnupg.org
+To: $addr
+Mail-Followup-To: translations at gnupg.org
+Subject: GnuPG 2.0 translation ($ll)
+Date: $(date -R)
+Mime-Version: 1.0
+Content-Type: multipart/mixed; boundary="=-=-="
+
+--=-=-=
+
+Hi!
+
+We are preparing for a new 2.0 release of GnuPG and like you to ask to
+update your translation. 
+
+Please find attached the very latest version of the PO file for your
+GnuPG translation ($file).
+
+It is important to have a basic understanding of GnuPG's functionality
+to do a correct translation.  A false translation might lead to
+security problems.  Furthermore the TP Robot is not able to handle
+more than one version of a project (we maintain 1.4 and 2.0) and thus
+I'd ask you *not to use the TP Robot* for GnuPG.
+
+Output of msgfmt is:
+$(msgfmt --check --statistics $file 2>&1 | head)
+
+If you are not able to continue the translation work, I suggest to
+pass this message on to another translator and drop a a short note to
+gnupg-hackers at gnupg.org .
+
+
+Thanks,
+
+  Werner
+
+
+--=-=-=
+Content-Type: application/octet-stream
+Content-Disposition: attachment; filename=gnupg-${file}.bz2
+Content-Transfer-Encoding: base64
+
+EOF
+
+bzip2 <$file | mimencode 
+
+echo ""
+echo "--=-=-=--"
+echo ""
+    ) | $SENDMAIL -oi "$addr"
+
+done
+

Modified: trunk/sm/ChangeLog
===================================================================
--- trunk/sm/ChangeLog	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/sm/ChangeLog	2007-04-13 11:45:05 UTC (rev 4473)
@@ -1,3 +1,8 @@
+2007-04-13  Werner Koch  <wk at g10code.com>
+
+	* call-agent.c (start_agent): Don't use log_error when using the
+	fallback hack to start the agent.  This is bug 782.
+
 2007-03-20  Werner Koch  <wk at g10code.com>
 
 	* fingerprint.c (gpgsm_get_fingerprint): Add caching.

Modified: trunk/sm/call-agent.c
===================================================================
--- trunk/sm/call-agent.c	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/sm/call-agent.c	2007-04-13 11:45:05 UTC (rev 4473)
@@ -164,7 +164,7 @@
       xfree (infostr);
       if (gpg_err_code (rc) == GPG_ERR_ASS_CONNECT_FAILED)
         {
-          log_error (_("can't connect to the agent - trying fall back\n"));
+          log_info (_("can't connect to the agent - trying fall back\n"));
           force_pipe_server = 1;
           return start_agent (ctrl);
         }

Modified: trunk/tools/ChangeLog
===================================================================
--- trunk/tools/ChangeLog	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/tools/ChangeLog	2007-04-13 11:45:05 UTC (rev 4473)
@@ -1,5 +1,7 @@
 2007-04-03  Werner Koch  <wk at g10code.com>
 
+	* gpgconf-comp.c: Allow changing of --allow-mark-trusted.
+
 	* gpg-connect-agent.c (main): New option --decode and commands
 	decode and undecode.
 	(read_and_print_response): Implement option.

Modified: trunk/tools/gpgconf-comp.c
===================================================================
--- trunk/tools/gpgconf-comp.c	2007-04-06 03:46:03 UTC (rev 4472)
+++ trunk/tools/gpgconf-comp.c	2007-04-13 11:45:05 UTC (rev 4473)
@@ -498,7 +498,7 @@
    { "ignore-cache-for-signing", GC_OPT_FLAG_RUNTIME,
      GC_LEVEL_BASIC, "gnupg", "do not use the PIN cache when signing",
      GC_ARG_TYPE_NONE, GC_BACKEND_GPG_AGENT },
-   { "allow-mark-trusted", GC_OPT_FLAG_RUNTIME | GC_OPT_FLAG_NO_CHANGE,
+   { "allow-mark-trusted", GC_OPT_FLAG_RUNTIME,
      GC_LEVEL_ADVANCED, "gnupg", "allow clients to mark keys as \"trusted\"",
      GC_ARG_TYPE_NONE, GC_BACKEND_GPG_AGENT },
    { "min-passphrase-len", GC_OPT_FLAG_RUNTIME,




More information about the Gnupg-commits mailing list