Program: gpgme
-Maintainer: Werner Koch <wk@g10code.com>
+Maintainer: <gpgme@g10code.com>
FSF <gnu@gnu.org>
+2001-06-12 Werner Koch <wk@gnupg.org>
+
+ Releases 0.2.2.
+
2001-04-05 Werner Koch <wk@gnupg.org>
* configure.in (NEED_GPG_VERSION): Set to 1.0.4g
+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)
------------------------------------------------
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
# 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
##############################################
--- /dev/null
+%%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 <gpgme@g10code.com>
+
+%%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 <wk@gnupg.org>.
+
+%%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 <wk@gnupg.org>
+2001-06-01 Werner Koch <wk@gnupg.org>
+
+ * debug.c (_gpgme_debug_begin): Fixed a /tmp race. Noted by
+ Johannes Poehlmann.
+
2001-05-28 Werner Koch <wk@gnupg.org>
* version.c (gpgme_check_engine): Stop version number parsing at
#include <stdarg.h>
#include <unistd.h>
#include <ctype.h>
+#ifndef HAVE_DOSISH_SYSTEM
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+#endif
#include <assert.h>
#include "util.h"
/* 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 );
* 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"