Ready to release 0.2.2

This commit is contained in:
Werner Koch 2001-06-12 07:37:15 +00:00
parent 4c76d6dce1
commit c3850ce332
9 changed files with 131 additions and 6 deletions

View File

@ -1,5 +1,5 @@
Program: gpgme Program: gpgme
Maintainer: Werner Koch <wk@g10code.com> Maintainer: <gpgme@g10code.com>
FSF <gnu@gnu.org> FSF <gnu@gnu.org>

View File

@ -1,3 +1,7 @@
2001-06-12 Werner Koch <wk@gnupg.org>
Releases 0.2.2.
2001-04-05 Werner Koch <wk@gnupg.org> 2001-04-05 Werner Koch <wk@gnupg.org>
* configure.in (NEED_GPG_VERSION): Set to 1.0.4g * configure.in (NEED_GPG_VERSION): Set to 1.0.4g

8
NEWS
View File

@ -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) Noteworthy changes in version 0.2.1 (2001-04-02)
------------------------------------------------ ------------------------------------------------

3
README
View File

@ -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 You need the latest CVS version of GnuPG 1.0, see
http://www.gnupg.org/cvs-access.html . 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 To build the W32 version, use

View File

@ -31,10 +31,10 @@ AM_MAINTAINER_MODE
# AGE, set REVISION to 0. # AGE, set REVISION to 0.
# 3. Interfaces removed (BAD, breaks upward compatibility): Increment # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
# CURRENT, set AGE and REVISION to 0. # 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_CURRENT=3
LIBGPGME_LT_AGE=3 LIBGPGME_LT_AGE=3
LIBGPGME_LT_REVISION=0 LIBGPGME_LT_REVISION=1
NEED_GPG_VERSION=1.0.4h NEED_GPG_VERSION=1.0.4h
############################################## ##############################################

91
gpgme.txt Normal file
View File

@ -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 <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>

View File

@ -1,3 +1,8 @@
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> 2001-05-28 Werner Koch <wk@gnupg.org>
* version.c (gpgme_check_engine): Stop version number parsing at * version.c (gpgme_check_engine): Stop version number parsing at

View File

@ -25,6 +25,11 @@
#include <stdarg.h> #include <stdarg.h>
#include <unistd.h> #include <unistd.h>
#include <ctype.h> #include <ctype.h>
#ifndef HAVE_DOSISH_SYSTEM
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#endif
#include <assert.h> #include <assert.h>
#include "util.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 /* Oh what a pitty that we don't have a asprintf or snprintf under
* Windoze. We definitely should write our own clib for W32! */ * Windoze. We definitely should write our own clib for W32! */
sprintf ( ctl->fname, "/tmp/gpgme_debug.%d.%p", getpid (), ctl ); 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) { if (!ctl->fp) {
_gpgme_debug (255,__FILE__ ":" STR2(__LINE__)": failed to create `%s'", _gpgme_debug (255,__FILE__ ":" STR2(__LINE__)": failed to create `%s'",
ctl->fname ); ctl->fname );

View File

@ -44,7 +44,7 @@ extern "C" {
* let autoconf (using the AM_PATH_GPGME macro) check that this * let autoconf (using the AM_PATH_GPGME macro) check that this
* header matches the installed library. * header matches the installed library.
* Warning: Do not edit the next line. configure will do that for you! */ * 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"