mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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.
This commit is contained in:
parent
82a8277b6c
commit
6ae6e18d5f
11
README.maint
11
README.maint
@ -3,6 +3,17 @@
|
||||
|
||||
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:
|
||||
================
|
||||
|
5
TODO
5
TODO
@ -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
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-04-10 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpg.texi (GPG Configuration Options): Document --batch, no-tty,
|
||||
--yes and --no.
|
||||
|
||||
2007-03-08 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gnupg-logo.png, gnupg-logo.eps, gnupg-logo.pdf: New.
|
||||
|
@ -23,7 +23,7 @@ examples = examples/README examples/scd-event examples/trustlist.txt \
|
||||
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 \
|
||||
|
@ -6,4 +6,4 @@ scd-event A handler script used with scdaemon
|
||||
trustlist.txt A list of trustworthy root certificates
|
||||
(Please check yourself whether you actually trust them)
|
||||
|
||||
|
||||
gpgconf.conf A sample configuration file for gpgconf.
|
||||
|
@ -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]
|
||||
|
||||
|
||||
|
22
doc/gpg.texi
22
doc/gpg.texi
@ -908,6 +908,28 @@ Reset verbose level to 0.
|
||||
@opindex quiet
|
||||
Try to be as quiet as possible.
|
||||
|
||||
@item --batch
|
||||
@itemx --no-batch
|
||||
@opindex batch
|
||||
@opindex no-batch
|
||||
Use batch mode. Never ask, do not allow interactive commands.
|
||||
@option{--no-batch} disables this option.
|
||||
|
||||
@item --no-tty
|
||||
@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.
|
||||
|
||||
@item --yes
|
||||
@opindex yes
|
||||
Assume "yes" on most questions.
|
||||
|
||||
@item --no
|
||||
@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
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-04-13 Werner Koch <wk@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@jabberwocky.com>
|
||||
|
||||
From STABLE-BRANCH-1-4
|
||||
|
@ -157,7 +157,7 @@ start_agent (void)
|
||||
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 ();
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
2007-04-04 Werner Koch <wk@g10code.com>
|
||||
|
||||
* mail-to-translators: Copied from 1.4. and adjusted.
|
||||
|
||||
2004-09-30 Werner Koch <wk@g10code.com>
|
||||
|
||||
* config.guess, config.sub: Updated.
|
||||
|
79
scripts/mail-to-translators
Executable file
79
scripts/mail-to-translators
Executable file
@ -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@gnupg.org
|
||||
To: $addr
|
||||
Mail-Followup-To: translations@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@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
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-04-13 Werner Koch <wk@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@g10code.com>
|
||||
|
||||
* fingerprint.c (gpgsm_get_fingerprint): Add caching.
|
||||
|
@ -164,7 +164,7 @@ start_agent (ctrl_t ctrl)
|
||||
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);
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
2007-04-03 Werner Koch <wk@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.
|
||||
|
@ -498,7 +498,7 @@ static gc_option_t gc_options_gpg_agent[] =
|
||||
{ "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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user