aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS2
-rw-r--r--ChangeLog4
-rw-r--r--NEWS8
-rw-r--r--README3
-rw-r--r--configure.in4
-rw-r--r--gpgme.txt91
-rw-r--r--gpgme/ChangeLog5
-rw-r--r--gpgme/debug.c18
-rw-r--r--gpgme/gpgme.h2
9 files changed, 131 insertions, 6 deletions
diff --git a/AUTHORS b/AUTHORS
index 76ba895a..8a87e949 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,5 +1,5 @@
Program: gpgme
-Maintainer: Werner Koch <[email protected]>
+Maintainer: <[email protected]>
diff --git a/ChangeLog b/ChangeLog
index 1f99d46b..414dbb01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-12 Werner Koch <[email protected]>
+
+ Releases 0.2.2.
+
2001-04-05 Werner Koch <[email protected]>
* configure.in (NEED_GPG_VERSION): Set to 1.0.4g
diff --git a/NEWS b/NEWS
index 9fbde076..c5bb19a2 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 11966b1b..a3b75e64 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 91c1d025..b898e577 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 00000000..e78fbaa0
--- /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 <[email protected]>
+
+%%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 <[email protected]>.
+
+%%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-news:
+
+%%help-list:
+
+%%help-news:
+
+
+%%dev-news:
+
+%%bug-list:
+
+%%bug-database:
+
+%%entry written by: Werner Koch <[email protected]>
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index a8242e5b..6f29a64d 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-01 Werner Koch <[email protected]>
+
+ * debug.c (_gpgme_debug_begin): Fixed a /tmp race. Noted by
+ Johannes Poehlmann.
+
2001-05-28 Werner Koch <[email protected]>
* version.c (gpgme_check_engine): Stop version number parsing at
diff --git a/gpgme/debug.c b/gpgme/debug.c
index c18f3d37..8770768e 100644
--- a/gpgme/debug.c
+++ b/gpgme/debug.c
@@ -25,6 +25,11 @@
#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"
@@ -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 2f95e886..0f04b4b3 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"