From: Werner Koch Date: Tue, 12 Jun 2001 07:37:15 +0000 (+0000) Subject: Ready to release 0.2.2 X-Git-Tag: gpgme-0-2-2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a34ec3a7d17f331adad0002ad5b6b1dca00d4179;p=gpgme.git Ready to release 0.2.2 --- diff --git a/AUTHORS b/AUTHORS index 76ba895..8a87e94 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,5 @@ Program: gpgme -Maintainer: Werner Koch +Maintainer: FSF diff --git a/ChangeLog b/ChangeLog index 1f99d46..414dbb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-06-12 Werner Koch + + Releases 0.2.2. + 2001-04-05 Werner Koch * configure.in (NEED_GPG_VERSION): Set to 1.0.4g diff --git a/NEWS b/NEWS index 9fbde07..c5bb19a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +Noteworthy changes in version 0.2.2 (2001-06-12) +------------------------------------------------ + + * Implemented a key cache. + + * Fixed a race condition under W32 and some other bug fixes. + + Noteworthy changes in version 0.2.1 (2001-04-02) ------------------------------------------------ diff --git a/README b/README index 11966b1..a3b75e6 100644 --- a/README +++ b/README @@ -7,7 +7,8 @@ If you want to hack on it, start with one of the tests/t-foo programs. You need the latest CVS version of GnuPG 1.0, see http://www.gnupg.org/cvs-access.html . -You need at least GnuPG 1.0.4d (but don't use a 1.1.x version). +You need at least GnuPG 1.0.4h (but don't use a 1.1.x version). +However, it is suggested that you updated to 1.0.6. To build the W32 version, use diff --git a/configure.in b/configure.in index 91c1d02..b898e57 100644 --- a/configure.in +++ b/configure.in @@ -31,10 +31,10 @@ AM_MAINTAINER_MODE # AGE, set REVISION to 0. # 3. Interfaces removed (BAD, breaks upward compatibility): Increment # CURRENT, set AGE and REVISION to 0. -AM_INIT_AUTOMAKE(gpgme,0.2.1a) +AM_INIT_AUTOMAKE(gpgme,0.2.2) LIBGPGME_LT_CURRENT=3 LIBGPGME_LT_AGE=3 -LIBGPGME_LT_REVISION=0 +LIBGPGME_LT_REVISION=1 NEED_GPG_VERSION=1.0.4h ############################################## diff --git a/gpgme.txt b/gpgme.txt new file mode 100644 index 0000000..e78fbaa --- /dev/null +++ b/gpgme.txt @@ -0,0 +1,91 @@ +%%comments: +Copyright (C) 2001 Free Software Foundation, Inc. + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 or +any later version published by the Free Software Foundation; with no +Invariant Sections, with no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license is included in the file COPYING. + +%%name: GPGME + +%%short-description: GnuPG Made Easy + +%%full-description: GPGME is a library designed to make access to +GnuPG easier for applications. It provides a +High-Level Crypto API for encryption, decryption, signing, signature +verification and key management. Currently it uses GnuPG as +its backend but the API isn't restricted to this engine; in fact it is +planned to add other backends to it. + +%%category: security, libraries + +%%license: GPL +%%license verified by: +%%license verified on: + +%%maintainer: g10 Code GmbH + +%%updated: 2001-06-01 + +%%keywords: encryption, public key, digital signature, GnuPG + +%%interface: + +%%programs: + +%%GNU: no + +%%web-page: http://www.gnupg.org/gpgme.html + +%%support: paid extension/consulting from http://www.g10code.com + +%%doc: English programmer reference in Texinfo, Postscript, HTML included + +%%developers: Werner Koch . + +%%contributors: + +%%sponsors: + +%%source: ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/ + +%%debian: + +%%redhat: + +%%repository: See http://www.gnupg.org/cvs-access.html + +%%related: + +%%source-language: C + +%%supported-languages: C, C++ + +%%use-requirements: GnuPG 1.0.5 + +%%build-prerequisites: + +%%weak-prerequisites: + +%%source-prerequisites: + +%%version: 0.2.1 alpha released on 2001-04-02 + +%%announce-list: announce@gnupg.org announce-request@gnupg.org + +%%announce-news: + +%%help-list: + +%%help-news: + +%%dev-list: gnupg-devel@gnupg.org gnupg-devel-request@gnupg.org + +%%dev-news: + +%%bug-list: + +%%bug-database: + +%%entry written by: Werner Koch diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index a8242e5..6f29a64 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2001-06-01 Werner Koch + + * debug.c (_gpgme_debug_begin): Fixed a /tmp race. Noted by + Johannes Poehlmann. + 2001-05-28 Werner Koch * version.c (gpgme_check_engine): Stop version number parsing at diff --git a/gpgme/debug.c b/gpgme/debug.c index c18f3d3..8770768 100644 --- a/gpgme/debug.c +++ b/gpgme/debug.c @@ -25,6 +25,11 @@ #include #include #include +#ifndef HAVE_DOSISH_SYSTEM + #include + #include + #include +#endif #include #include "util.h" @@ -163,7 +168,18 @@ _gpgme_debug_begin ( void **helper, int level, const char *text) /* Oh what a pitty that we don't have a asprintf or snprintf under * Windoze. We definitely should write our own clib for W32! */ sprintf ( ctl->fname, "/tmp/gpgme_debug.%d.%p", getpid (), ctl ); - ctl->fp = fopen (ctl->fname, "w+"); + #if defined (__GLIBC__) || defined (HAVE_DOSISH_SYSTEM) + ctl->fp = fopen (ctl->fname, "w+x"); + #else + { + int fd = open (ctl->fname, O_WRONLY|O_TRUNC|O_CREAT|O_EXCL, + S_IRUSR|S_IWUSR ); + if (fd == -1) + ctl->fp = NULL; + else + ctl->fp = fdopen (fd, "w+"); + } + #endif if (!ctl->fp) { _gpgme_debug (255,__FILE__ ":" STR2(__LINE__)": failed to create `%s'", ctl->fname ); diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h index 2f95e88..0f04b4b 100644 --- a/gpgme/gpgme.h +++ b/gpgme/gpgme.h @@ -44,7 +44,7 @@ extern "C" { * let autoconf (using the AM_PATH_GPGME macro) check that this * header matches the installed library. * Warning: Do not edit the next line. configure will do that for you! */ -#define GPGME_VERSION "0.2.1a" +#define GPGME_VERSION "0.2.2"