Page MenuHome GnuPG

No OneTemporary

diff --git a/ChangeLog b/ChangeLog
index b1ffb20..ba67861 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,336 +1,341 @@
+2008-09-02 Marcus Brinkmann <marcus@g10code.com>
+
+ * configure.ac: Post-release cleanup.
+ * doc/website/download.xhtml: Update.
+
2008-09-02 Marcus Brinkmann <marcus@g10code.com>
* Released version 1.2.0.
* doc/manual/Makefile.am (CLEANFILES): Add $(images_eps).
(images_eps): New variable.
(scute.dvi): Depend on $(images_eps) instead of $(images_pdf).
2008-08-23 Marcus Brinkmann <marcus@g10code.com>
* src/Makefile.am [HAVE_W32_SYSTEM]: Build autonomous DLL.
2008-08-23 Marcus Brinkmann <marcus@g10code.com>
* src/agent.c (gnupg_allow_set_foregound_window)
[!HAVE_W32_SYSTEM]: Define it.
2008-08-23 Marcus Brinkmann <marcus@g10code.com>
* src/Makefile.am [HAVE_W32_SYSTEM]: Build autonomous DLL.
* src/dllmain.c (DllMain): New file.
* src/cert-gpgsm.c: Include "debug.h". Use
assuan_pipe_connect_ext instead of assuan_pipe_connect everywhere.
* src/agent.c (WINVER) [HAVE_W32_SYSTEM]: Define symbol.
[HAVE_W32_SYSTEM]: Include <windows.h>. Do this before including
<assuan.h>.
(gnupg_allow_set_foregound_window): New function.
(agent_connect): Use Sleep() instead of _sleep().
(default_inq_cb): New function, and use it in all transactions.
(agent_configure): Don't bail out if ttytname is not defined. Set
allow-pinentry-notify.
* tests/t-support.h [_WIN32]: Include <windows.h>.
(init_cryptoki) [_WIN32]: Call WSAStartup.
2008-08-21 Marcus Brinkmann <marcus@g10code.com>
* src/scute.def: Start at @1 instead of @0.
2008-08-21 Marcus Brinkmann <marcus@g10code.com>
* src/agent.c (agent_configure): Fix cut and paste error.
2008-08-11 Marcus Brinkmann <marcus@g10code.com>
* src/agent.c (spawn_process_detachted) [! HAVE_W32_SYSTEM]: Remove.
(agent_configure): Ignore error with old versions of gpg-agent.
2008-08-08 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Update svn macros.
(BUILD_REVISION, BUILD_FILEVERSION, BUILD_TIMESTAMP): New.
(AC_CONFIG_OUTPUT): Add src/versioninfo.rc.
(GPG_AGENT_DEFAULT, GPG_AGENT): New.
(AC_REPLACE_FUNCS): Add vasprintf and stpcpy.
(AC_CHECK_FUNCS): Add ttyname, localtime_r and timegm.
* src/stpcpy.h, src/stpcpy.c, src/realloc.c: New file from gnulib.
* src/vasprintf.c: New file from libiberty.
* src/support.h [!HAVE_STPCPY]: Include "stpcpy.h".
[!HAVE_TTYNAME]: Define simple replacement function.
(get_gpgsm_path, get_gpg_agent_path)
(default_homedir, make_filename): New prototypes.
* src/Makefile.am: Add W32 support.
(libscute_la_SOURCES): Add get-path.c.
(EXTRA_DIST): Add versioninfo.rc.in.
* src/versioninfo.rc.in: New file.
* src/get-path.c: New file.
* src/agent.c (PATHSEP_C): New macro.
(build_w32_commandline_copy)
(build_w32_commandline) [HAVE_W32_SYSTEM]: New functions.
(spawn_process_deatched): New function.
(agent_connect): Start gpg-agent if it is not running yet.
(agent_configure): Also pass xauthority and pinentry-user-data.
* src/cert-gpgsm.c (COMPAT_FALLBACK) [!HAVE_W32_SYSTEM]: New
macro.
(export_cert_compat) [!COMPAT_FALLBACK]: Remove.
(export_cert) [!COMPAT_FALLBACK]: Don't call export_cert_compat.
Don't create (unused) output pipe cruft.
* src/cert-object.c (time_to_ck_date) [!HAVE_LOCALTIME_R]: Fall
back to localtime.
* tests/t-getslotinfo.c (main) [WIN32]: Call _sleep instead sleep.
* src/cryptoki.h (CRYPTOKI_EXPORTS): Define symbol.
* src/error-mapping.h: Do not include <error.h>.
(scute_sys_to_ck): Change type of ERR to int.
* src/error-mapping.c: Do not include <error.h>.
(scute_sys_to_ck): Change type of ERR to int.
* src/slots.c (slot_create_session): Change type of ERR to int.
2007-05-03 Marcus Brinkmann <marcus@g10code.de>
Released version 1.1.0.
* doc/manual/Makefile.am (images_pdf, CLEANFILES): New variables.
(scute.dvi, scute.pdf): New dependencies.
(%.eps, %.pdf): New rules.
* configure.ac: Check for convert and epstopdf.
* doc/manual/scute.texi (Authentication With Service): Avoid
@indicateurl in TeX output, as this seems to be broken (in
texi2dvi 1.34).
* doc/manual/Makefile.am (images, EXTRA_DIST): New variables.
2007-04-30 Marcus Brinkmann <marcus@g10code.de>
* src/agent.h (scute_agent_is_trusted): New prototype. Include
<stdbool.h>.
* src/agent.c (scute_agent_is_trusted): New implementation.
* src/cert.h (struct cert): New member IS_TRUSTED.
* src/cert-gpgsm.c (export_cert): Set CERT->is_trusted.
* src/cert-object.c (scute_attr_cert): Set CKA_TRUSTED to
CERT->is_trusted.
* tests/t-getattribute.c: Support new option '--printable'.
* src/table.c (scute_table_dealloc): Return, but not a value.
2007-02-09 Marcus Brinkmann <marcus@g10code.de>
* src/pkcs11.h: Add definitions for SHA.
2006-12-17 Marcus Brinkmann <marcus@g10code.de>
* src/pkcs11.h: Minor cosmetic changes. Require CRYPTOKI_GNU now
to switch on the GNU API, and do not check what CRYPTOKI_COMPAT is
defined to, just if it is defined at all.
* src/pkcs11.h [__WIN32]: Changed to [_WIN32 ||
CRYPTOKI_FORCE_WIN32] at the end.
Submitted by Alon Bar-Lev.
2006-12-11 Marcus Brinkmann <marcus@g10code.de>
* src/pkcs11.h (CKO_VENDOR_DEFINED): Fixed syntax error.
2006-12-10 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (NEED_GPG_ERROR_VERSION): Bump to 1.4.
* src/pkcs11.h [CRYPTOKI_COMPAT]: Rewrote the compatibility layer.
2006-12-09 Marcus Brinkmann <marcus@g10code.de>
* src/pkcs11.h [__cplusplus]: Protect with extern "C".
Do not use the C++ keyword "template" in parameter lists.
Submitted by Alon Bar-Lev.
* src/pkcs11.h [__WIN32]: Changed to [_WIN32 ||
CRYPTOKI_FORCE_WIN32].
(ck_rv_t): Changed to unsigned long.
(CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR,
CRYPTOKI_VERSION_REVISION): New macros.
(CKO_VENDOR_DEFINED, CKH_VENDOR_DEFINED, CKK_VENDOR_DEFINED,
CKC_VENDOR_DEFINED, CKA_VENDOR_DEFINED, CKM_VENDOR_DEFINED,
CKF_EXTENSION, CKR_VENDOR_DEFINED): Add cast to suppress compiler
warning.
Submitted by Alon Bar-Lev.
* src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
Removed.
2006-11-30 Marcus Brinkmann <marcus@g10code.de>
* m4/autobuild.m4: New file.
* configure.ac: Invoke AB_INIT.
2006-11-29 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (CFLAGS): Remove variable.
2006-11-27 Marcus Brinkmann <marcus@g10code.de>
* src/pkcs11.h: Add more definitions provided by Andreas Jellinghaus.
* README (Copyright and License): Update copyright notice. Also
for all other files.
* AUTHORS (Maintainer): Removed RSA Security Inc.
* include/pkcs11t.h, include/pkcs11f.h, include/pkcs11.h,
include/disclaimer.txt, include/cryptoki-w32.h,
include/cryptoki-generic.h, include/README, include/Makefile.am:
Files removed.
* configure.ac (AC_CONFIG_FILES): Removed include/Makefile.
* Makefile.am (SUBDIRS): Removed include directory.
2006-11-24 Marcus Brinkmann <marcus@g10code.de>
* src/pkcs11.h: New file.
* src/Makefile.am (libscute_la_SOURCES): Add pkcs11.h.
* src/cryptoki.h: Include "pkcs11.h" instead of original PKCS #11
header file.
* tests/t-support.h (mechanism_type_str): Remove most mechanisms.
2006-11-23 Marcus Brinkmann <marcus@g10code.de>
* src/cert-gpgsm.c (search_certs_line): Don't overwrite CERT->uid.
2006-11-21 Marcus Brinkmann <marcus@g10code.de>
* src/cert-gpgsm.c (search_certs_line): Fix off-by-one error.
(export_cert_cb): Fix bug if EXP->buffer_size is 0.
* src/cert-gpgsm.c (cert_reset): Free CERT->cert_der if set.
(export_cert): Reimplement using data channel.
(export_cert_compat): This contains the old version for
compatibility.
* src/cert.h (MAX_CERT_SIZE): Macro removed.
(struct cert): Changed member CERT_DER into a pointer.
* configure.ac (AC_CONFIG_FILES): Add doc/manual/Makefile.
* doc/Makefile.am (SUBDIRS): New variable.
* doc/manual/Makefile, doc/manual/scute.texi, doc/manual/gpl.texi,
doc/manual/mdate-sh, doc/manual/texinfo.tex,
doc/manual/firefox-cm.png, doc/manual/firefox-cm-view-detail.png,
doc/manual/firefox-cm-view.png,
doc/manual/firefox-dm-load-after.png,
doc/manual/firefox-dm-load-before.png,
doc/manual/firefox-dm-load.png,
doc/manual/firefox-dm-token-present.png,
doc/manual/firefox-pref.png, doc/manual/firefox-pref-view.png: New
files.
2006-11-11 Marcus Brinkmann <marcus@g10code.de>
* Released version 1.0.0.
2006-11-11 Marcus Brinkmann <marcus@g10code.de>
* src/error-mapping.c (scute_gpg_err_to_ck): Report error on debug
stream.
* src/slots.c (add_object): New function.
(slot_init): Rewritten using add_object.
* src/gpgsm.c: Include "gpgsm.h".
(struct search): Replace members ATTRP, ATTR_COUNTP, PRV_ATTRP,
PRV_ATTR_COUNTP by CERT_GET_CB, HOOK.
(search_cb): Rewritten to add all certificates for a certain key
(scute_gpgsm_get_cert): Take a callback function instead of
attribute pointers.
* gpgsm.h (scute_gpgsm_get_cert): Adjust prototype.
and also the certificate chain.
* src/cert.h (scute_gpgsm_search_certs_by_fpr): New prototype.
(struct cert): New member chain_id.
* src/cert-gpgsm.c (struct search_ctx_by_grip): Rename to ...
(struct search_ctx): ... this. Rename field GRIP to PATTERN, and
add new field FIELD.
(search_certs_by_grip): Rename function to ...
(search_certs): ... this.
(scute_gpgsm_search_certs_by_fpr): Change user of the above.
(scute_gpgsm_search_certs_by_fpr): New function.
(search_certs_line): Store chain ID.
2006-11-07 Marcus Brinkmann <marcus@g10code.de>
* src/p11-gettokeninfo.c (C_GetTokenInfo): Fix assignment.
2006-11-06 Marcus Brinkmann <marcus@g10code.de>
* doc/website/format/web.css: Set margin to 0.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
Makefile.am (SUBDIRS): Add doc/.
doc/, doc/website/, doc/website/format: New directories.
doc/Makefile.am, doc/website/index.xhtml,
doc/website/documentation.xhtml, doc/website/download.xhtml,
doc/website/contact.xhtml, doc/website/format/web.css,
doc/website/format/scute-logo.svg,
doc/website/format/scute-border.jpg: New files.
2006-10-30 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (PACKAGE, VERSION): Define these variables.
* src/Makefile.am (libscute_la_CPPFLAGS): Fix include path for
VPATH builds.
* configure.ac (VERSION_MAJOR, VERSION_MINOR): New variable
definitions.
* src/gpgsm.h: Fix syntax error.
* src/table.c, src/table.h: Rewritten.
* src/slots.c: Reorganized and rewritten to use the new table
interface. Include gpgsm.h.
* src/p11-signinit.c, src/p11-sign.c, src/p11-getslotlist.c,
src/p11-getsessioninfo.c, src/p11-getmechanismlist.c,
src/p11-getattributevalue.c, src/p11-findobjectsinit.c,
src/p11-findobjectsfinal.c, src/p11-findobjects.c,
src/p11-closesession.c: Adjust callers.
2006-10-26 Marcus Brinkmann <marcus@g10code.de>
* src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
defined.
* src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
CRYPTOKI_VERSION_MINOR): Move macros to ...
* src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
... here
* src/gpgsm.c (gpgsm_get_cert): Rename to ...
(scute_gpgsm_get_cert): ... this.
* src/gpgsm.h: New file.
* src/Makefile.am (libscute_la_SOURCES): Add gpgsm.h.
* src/slots.c (gpgsm_get_cert): Remove prototype.
(slots_update_slot): Call scute_gpgsm_get_cert, not gpgsm_get_cert.
* src/error-mapping.c (scute_gpg_err_to_ck): Map GPG_ERR_NO_AGENT
to CKR_GENERAL_ERROR.
* src/agent.h (struct agent_card_info_s): Remove member error.
Prefix external functions with scute_ if not already done so, also
for callers.
* src/agent.c: Include <stdarg.h>. Replace one-letter variable
names by proper ones. Replace assuan_error_t with gpg_error_t
everywhere.
(agent_connect, agent_simple_cmd, agent_configure): New functions.
(scute_agent_initialize): Use these new functions.
ing of common code. Lots of cleanups.
(scute_agent_finalize): Clear agent_ctx. Add debug message.
2006-10-13 Werner Koch <wk@g10code.com>
* src/cert-gpgsm.c (MAX_LINE_LEN): Increased.
* src/locking.c: Include string.h for memset declaration.
* configure.ac: New option --disable-optimization.
2006-08-02 Marcus Brinkmann <marcus@g10code.de>
* Initial version.
Copyright 2006, 2007, 2008 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/NEWS b/NEWS
index 8e510a2..551d262 100644
--- a/NEWS
+++ b/NEWS
@@ -1,39 +1,44 @@
+Noteworthy changes in version 1.3.0 (unreleased)
+------------------------------------------------
+
+ * ...
+
Noteworthy changes in version 1.2.0 (2008-09-02)
------------------------------------------------
* Ported to Windows 32.
* GPG Agent can now be launched on demand.
Noteworthy changes in version 1.1.0 (2007-05-03)
------------------------------------------------
* Scute now comes with a manual.
* Code licensed from RSA Security Inc. has been removed due to
licensing issues ("advertisment clause").
* A memory leak has been fixed. Note that you need libassuan 1.0.1
to fix another memory leak.
* Scute now supports certificates larger than the kernel pipe buffer
with GPGSM versions later than 2.0.0 (exclusive).
* Scute now sets the CKA_TRUSTED attribute to something useful.
Noteworthy changes in version 1.0.0 (2006-11-11)
------------------------------------------------
* Initial release.
Copyright 2006 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/configure.ac b/configure.ac
index fad95cc..079aedd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,381 +1,381 @@
# configure.ac: Configure script for Scute.
# Copyright (C) 2006, 2007, 2008 g10 Code GmbH
#
# This file is part of Scute.
#
# Scute is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Scute is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Scute; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# In addition, as a special exception, g10 Code GmbH gives permission
# to link this library: with the Mozilla Foundation's code for
# Mozilla (or with modified versions of it that use the same license
# as the "Mozilla" code), and distribute the linked executables. You
# must obey the GNU General Public License in all respects for all of
# the code used other than "Mozilla". If you modify this file, you
# may extend this exception to your version of the file, but you are
# not obligated to do so. If you do not wish to do so, delete this
# exception statement from your version.
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
min_automake_version="1.9.3"
# Version number: Remember to change it immediately *after* a release.
# Make sure to run "svn up" before a "make dist".
# See below for the LT versions.
#
# The CVS version is usually the next intended release version with
# the string "-cvs" appended. The reason for this is that tests for a
# specific feature can already be done under the assumption that the
# CVS version is the most recent one in a branch. To disable the CVS
# version for the real release, just comment out the my_iscvs macro.
# Note, that we are now using Subversion instead of CVS and append the
# SVN revision number to the "cvs" suffix. To make this most useful
# for snapshot releases please do an "svn up" right before recreating
# the configure script, so that a proper revision number for all files
# is available when running a "make distcheck".
m4_define(my_version, [1.2.0])
-m4_define(my_issvn, no)
+m4_define(my_issvn, yes)
m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \
|| echo 'Revision: 0')|sed -n '/^Revision:/ {s/[^0-9]//gp;q;}')]))
AC_INIT([scute],
[my_version[]m4_if(my_issvn,[yes],[-svn[]svn_revision])],
[marcus@g10code.com])
# LT Version numbers, remember to change them just *before* a release.
# (Code changed: REVISION++)
# (Interfaces added/removed/changed: CURRENT++, REVISION=0)
# (Interfaces added: AGE++)
# (Interfaces removed/changed: AGE=0)
#
LIBSCUTE_LT_CURRENT=0
LIBSCUTE_LT_AGE=0
LIBSCUTE_LT_REVISION=1
# Version numbers reported by the PKCS #11 module to its users.
VERSION_MAJOR=1
VERSION_MINOR=0
NEED_GPG_ERROR_VERSION=1.4
NEED_LIBASSUAN_VERSION=0.6.10
NEED_GPGSM_VERSION=1.9.6
# Some status variables to give feedback at the end of a configure run.
have_gpg_error=no
have_libassuan=no
BUILD_REVISION=svn_revision
PACKAGE=$PACKAGE_NAME
VERSION=$PACKAGE_VERSION
AC_CONFIG_SRCDIR([src/cryptoki.h])
AC_CONFIG_HEADER([config.h])
dnl FIXME: Enable this with autoconf 2.59.
dnl AC_CONFIG_MACRO_DIR(m4)
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
# Autobuilder support.
AB_INIT
# Enable GNU extensions on systems that have them.
AC_GNU_SOURCE
AH_VERBATIM([_REENTRANT],
[/* To allow the use of scute in multithreaded programs we have to use
special features from the library. */
#ifndef _REENTRANT
# define _REENTRANT 1
#endif])
# Checks for programs.
AC_PROG_CC
AC_ARG_ENABLE(optimization,
AC_HELP_STRING([--disable-optimization],
[disable compiler optimization]),
[if test $enableval = no ; then
CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]]//'`
fi])
AC_SUBST(LIBSCUTE_LT_CURRENT)
AC_SUBST(LIBSCUTE_LT_AGE)
AC_SUBST(LIBSCUTE_LT_REVISION)
AC_DEFINE_UNQUOTED(NEED_GPGSM_VERSION, "$NEED_GPGSM_VERSION",
[Min. needed GPGSM version.])
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version of this package])
AC_DEFINE_UNQUOTED(VERSION_MAJOR, $VERSION_MAJOR, [Major version number])
AC_DEFINE_UNQUOTED(VERSION_MINOR, $VERSION_MINOR, [Minor version number])
# Don't default to build static libs.
AC_DISABLE_STATIC
AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_RC
AC_PROG_LIBTOOL
# For now we hardcode the use of version scripts. It would be better
# to write a test for this or even implement this within libtool.
have_ld_version_script=no
case "${host}" in
*-*-linux*)
have_ld_version_script=yes
;;
*-*-gnu*)
have_ld_version_script=yes
;;
esac
AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
GPGSM_DEFAULT=no
GPG_AGENT_DEFAULT=no
have_w32_system=no
case "${host}" in
*-mingw32*)
# special stuff for Windoze NT
GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe'
GPG_AGENT_DEFAULT='c:\\gnupg\\gpg-agent.exe'
have_w32_system=yes
;;
*)
;;
esac
if test "$have_w32_system" = yes; then
AC_DEFINE(HAVE_W32_SYSTEM,1, [Defined if we run on a W32 API based system])
fi
AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes)
# Generate values for the DLL version info
if test "$have_w32_system" = yes; then
BUILD_TIMESTAMP=`date --iso-8601=minutes`
changequote(,)dnl
BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
changequote([,])dnl
BUILD_FILEVERSION="${BUILD_FILEVERSION}${BUILD_REVISION}"
fi
AC_SUBST(BUILD_REVISION)
AC_SUBST(BUILD_TIMESTAMP)
AC_SUBST(BUILD_FILEVERSION)
# Checks for libraries.
AC_CHECK_FUNCS([ttyname localtime_r timegm])
AC_REPLACE_FUNCS([vasprintf stpcpy])
# The error code library. Error codes are sent over the IPC layer and
# have to be interpreted.
AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSION",
have_gpg_error=yes, have_gpg_error=no)
# The IPC library.
AM_PATH_LIBASSUAN("$NEED_LIBASSUAN_VERSION",
have_libassuan=yes, have_libassuan=no)
# GPGSM
NO_OVERRIDE=no
AC_ARG_WITH(gpgsm,
AC_HELP_STRING([--with-gpgsm=PATH], [use GpgSM binary at PATH]),
GPGSM=$withval, NO_OVERRIDE=yes)
if test "$NO_OVERRIDE" = "yes" || test "$GPGSM" = "yes"; then
GPGSM=
NO_OVERRIDE=yes
if test "$cross_compiling" != "yes"; then
AC_PATH_PROG(GPGSM, gpgsm)
fi
if test -z "$GPGSM"; then
GPGSM="$GPGSM_DEFAULT"
fi
fi
if test "$GPGSM" = no; then
if test "$NO_OVERRIDE" = "yes"; then
if test "$cross_compiling" != "yes"; then
AC_MSG_WARN([
***
*** Could not find GpgSM, install GpgSM or use --with-gpgsm=PATH to enable it
***])
else
AC_MSG_ERROR([
***
*** Can not determine path to GpgSM when cross-compiling, use --with-gpgsm=PATH
***])
fi
fi
else
AC_DEFINE_UNQUOTED(GPGSM_PATH, "$GPGSM", [Path to the GPGSM binary.])
AC_DEFINE(ENABLE_GPGSM,1,[Whether GPGSM support is enabled])
fi
AM_CONDITIONAL(HAVE_GPGSM, test "$GPGSM" != "no")
dnl Check for GPGSM version requirement.
GPGSM_VERSION=unknown
ok=maybe
if test -z "$GPGSM" -o "x$GPGSM" = "xno"; then
ok=no
else
if test "$cross_compiling" = "yes"; then
AC_MSG_WARN([GPGSM version can not be checked when cross compiling])
ok=no
else
if test ! -x "$GPGSM"; then
AC_MSG_WARN([GPGSM not executable, version check disabled])
ok=no
fi
fi
fi
if test "$ok" = "maybe"; then
AC_MSG_CHECKING(for GPGSM >= $NEED_GPGSM_VERSION)
req_major=`echo $NEED_GPGSM_VERSION | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
req_minor=`echo $NEED_GPGSM_VERSION | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
req_micro=`echo $NEED_GPGSM_VERSION | \
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
gpgsm_version=`$GPGSM --version | grep ^gpgsm`
major=`echo $gpgsm_version | \
sed 's/^gpgsm (GnuPG) \([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
minor=`echo $gpgsm_version | \
sed 's/^gpgsm (GnuPG) \([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
micro=`echo $gpgsm_version | \
sed 's/^gpgsm (GnuPG) \([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
GPGSM_VERSION=`echo $gpgsm_version | sed 's/^gpgsm (GnuPG) //'`
if test "$major" -gt "$req_major"; then
ok=yes
else
if test "$major" -eq "$req_major"; then
if test "$minor" -gt "$req_minor"; then
ok=yes
else
if test "$minor" -eq "$req_minor"; then
if test "$micro" -ge "$req_micro"; then
ok=yes
fi
fi
fi
fi
fi
if test "$ok" = "yes"; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
AC_MSG_WARN([GPGSM must be at least version $NEED_GPGSM_VERSION])
fi
fi
gpgsm_ok="$ok"
# GPG_AGENT
NO_OVERRIDE=no
AC_ARG_WITH(gpg-agent,
AC_HELP_STRING([--with-gpg-agent=PATH], [use GPG Agent binary at PATH]),
GPG_AGENT=$withval, NO_OVERRIDE=yes)
if test "$NO_OVERRIDE" = "yes" || test "$GPG_AGENT" = "yes"; then
GPG_AGENT=
NO_OVERRIDE=yes
if test "$cross_compiling" != "yes"; then
AC_PATH_PROG(GPG_AGENT, gpg-agent)
fi
if test -z "$GPG_AGENT"; then
GPG_AGENT="$GPG_AGENT_DEFAULT"
fi
fi
if test "$GPG_AGENT" = no; then
if test "$NO_OVERRIDE" = "yes"; then
if test "$cross_compiling" != "yes"; then
AC_MSG_WARN([
***
*** Could not find GPG Agent, install GPG Agent or use --with-gpg-agent=PATH to enable it
***])
else
AC_MSG_ERROR([
***
*** Can not determine path to GPG Agent when cross-compiling, use --with-gpg-agent=PATH
***])
fi
fi
else
AC_DEFINE_UNQUOTED(GPG_AGENT_PATH, "$GPG_AGENT", [Path to the GPG_AGENT binary.])
AC_DEFINE(ENABLE_GPG_AGENT,1, [Whether GPG Agent support is enabled])
fi
AM_CONDITIONAL(HAVE_GPG_AGENT, test "$GPG_AGENT" != "no")
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
# Checks for library functions.
AC_FUNC_REALLOC
# Check for programs needed for the manual.
AC_CHECK_PROG(CONVERT, convert, convert)
AC_CHECK_PROG(EPSTOPDF, epstopdf, epstopdf)
# Test if tests can be run
ok=yes
AM_CONDITIONAL(RUN_TESTS, test "$ok" = "yes")
# Print errors here so that they are visible all
# together and the user can acquire them all together.
die=no
if test "$have_gpg_error" = "no"; then
die=yes
AC_MSG_NOTICE([[
***
*** You need libgpg-error to build this program.
** This library is for example available at
*** ftp://ftp.gnupg.org/pub/gcrypt/libgpg-error
*** (at least version $NEED_GPG_ERROR_VERSION is required.)
***]])
fi
if test "$have_libassuan" = "no"; then
die=yes
AC_MSG_NOTICE([[
***
*** You need libassuan to build this program.
*** This library is for example available at
*** ftp://ftp.gnupg.org/pub/gcrypt/alpha/libassuan/
*** (at least version $NEED_LIBASSUAN_VERSION is required).
***]])
fi
if test "$die" = "yes"; then
AC_MSG_ERROR([[
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***]])
fi
AC_CONFIG_FILES([Makefile
src/Makefile
tests/Makefile
doc/manual/Makefile
doc/Makefile
src/versioninfo.rc])
AC_OUTPUT
diff --git a/doc/website/download.xhtml b/doc/website/download.xhtml
index 7845da2..2e395ff 100644
--- a/doc/website/download.xhtml
+++ b/doc/website/download.xhtml
@@ -1,123 +1,147 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- download.xhtml
- Copyright (C) 2006 g10 Code GmbH
+ Copyright (C) 2006, 2008 g10 Code GmbH
This file is part of Scute.
Scute is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Scute is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with Scute; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
In addition, as a special exception, g10 Code GmbH gives permission
to link this library: with the Mozilla Foundation's code for
Mozilla (or with modified versions of it that use the same license
as the "Mozilla" code), and distribute the linked executables. You
must obey the GNU General Public License in all respects for all of
the code used other than "Mozilla". If you modify this file, you
may extend this exception to your version of the file, but you are
not obligated to do so. If you do not wish to do so, delete this
exception statement from your version. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Scute</title>
<link rel="stylesheet" type="text/css" href="format/web.css"/>
</head>
<body>
<div id="body">
<div id="toc">
<object type="image/svg+xml" data="format/scute-logo.svg">
Scute
</object>
<h1>Table Of Content</h1>
<ul>
<li><a href="index.xhtml">Introduction</a></li>
<li><a href="documentation.xhtml">Documentation</a></li>
<li><a href="download.xhtml">Download</a></li>
<li><a href="contact.xhtml">Discussion</a></li>
</ul>
</div>
<div id="main">
<h1>Download</h1>
<p>
Scute is currently available in source format only, and
- should compile on any recent GNU/Linux system.
-
- The most recent release of Scute is version 1.0.0. The
+ should compile on any recent GNU/Linux system. It can also
+ be cross-built for Windows 32-bit using MingW32.
+ </p>
+ <p>
+ The most recent release of Scute is version 1.2.0. The
+ following files belong to this release.
+ <table>
+ <caption>The files released with Scute 1.2.0.</caption>
+ <tr><th>File</th><th>Description</th><th>Signature</th></tr>
+ <tr><td><a href="ftp://ftp.gnupg.org/gcrypt/scute/scute-1.2.0.tar.bz2">Scute 1.2.0 source package</a>
+ </td><td>The source code of Scute 1.2.0</td>
+ <td><a href="ftp://ftp.gnupg.org/gcrypt/scute/scute-1.2.0.tar.bz2.sig">Digital Signature</a></td></tr>
+ </table>
+ </p>
+ <p>
+ The previous release of Scute was version 1.1.0. The
+ following files belong to this release.
+ <table>
+ <caption>The files released with Scute 1.1.0.</caption>
+ <tr><th>File</th><th>Description</th><th>Signature</th></tr>
+ <tr><td><a href="ftp://ftp.gnupg.org/gcrypt/scute/scute-1.1.0.tar.bz2">Scute 1.1.0 source package</a>
+ </td><td>The source code of Scute 1.1.0</td>
+ <td><a href="ftp://ftp.gnupg.org/gcrypt/scute/scute-1.1.0.tar.bz2.sig">Digital Signature</a></td></tr>
+ </table>
+ </p>
+ <p>
+ The first release of Scute was version 1.0.0. The
following files belong to this release.
<table>
<caption>The files released with Scute 1.0.0.</caption>
<tr><th>File</th><th>Description</th><th>Signature</th></tr>
<tr><td><a href="ftp://ftp.gnupg.org/gcrypt/scute/scute-1.0.0.tar.bz2">Scute 1.0.0 source package</a>
</td><td>The source code of Scute 1.0.0</td>
<td><a href="ftp://ftp.gnupg.org/gcrypt/scute/scute-1.0.0.tar.bz2.sig">Digital Signature</a></td></tr>
</table>
</p>
<h2>Prerequisites</h2>
<p>Scute requires the following packages to compile:
<table>
<caption>Compile-time dependencies of Scute</caption>
<tr><th>Package</th><th>Min. Version</th></tr>
<tr><td><a
href="http://www.gnupg.org/related_software/libgpg-error/">libgpg-error</a></td><td>0.7</td></tr>
<tr><td><a
href="http://www.gnupg.org/related_software/libassuan/">libassuan</a></td><td>0.6.10</td></tr>
</table>
</p>
<p>Scute also requires the following packages to run:
<table>
<caption>Run-time dependencies of Scute</caption>
<tr><th>Package</th><th>Min. Version</th></tr>
<tr><td><a
href="http://www.mozilla.com/">Firefox</a></td><td>any</td></tr>
<tr><td><a
href="http://www.gnupg.org/">GnuPG</a></td><td>2.0</td></tr>
<tr><td><a
href="http://www.gnupg.org/related_software/pinentry/">PinEntry</a></td><td>0.7.0</td></tr>
</table>
</p>
<h2>Installation</h2>
<p>
Canonical installation instructions can be found in the file
<code>INSTALL</code> in the top-level directory of the
source package. Instructions for users of Scute are
available in the <a href="documentation.xhtml">documentation
section</a>.
</p>
<h2>Development</h2>
<p>
The source of Scute is managed with the version control
system <a
href="http://subversion.tigris.org/">Subversion</a>. The
repository can be retrieved with the following command:
<pre>
$ svn co svn://cvs.gnupg.org/scute/trunk scute
</pre>
Please send an e-mail to the <a
href="http://lists.gnupg.org/mailman/listinfo/gnupg-devel">GnuPG
development mailing list</a> if you are interested in
participating in the Scute development.
</p>
<p>
A web interface to the <a
href="http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/?root=Scute">Scute
source repository</a> is available on-line, and contains
up-to-date as well as archived versions of all files
included in the Scute source package, including the most
recent development changes.
</p>
</div>
</div>
</body>
</html>

File Metadata

Mime Type
text/x-diff
Expires
Tue, May 5, 6:13 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
20/10/42f1161e16ac685bbdd37d6f6f9a

Event Timeline