summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am50
-rw-r--r--NEWS3
-rw-r--r--README14
-rw-r--r--README-alpha3
-rw-r--r--acconfig.h8
-rw-r--r--configure.in109
7 files changed, 34 insertions, 159 deletions
diff --git a/ChangeLog b/ChangeLog
index cf1186f4..2e51f35e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-19 Werner Koch <wk@gnupg.org>
+
+ Major change:
+ Removed all GnuPG stuff and renamed this piece of software
+ to gcrypt. The directory gcrypt has been renamed to src.
+
2000-11-14 Werner Koch <wk@gnupg.org>
Version 1.1.2 released.
diff --git a/Makefile.am b/Makefile.am
index 82971545..bc5a8bdc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,35 +1,8 @@
## Process this file with automake to produce Makefile.in
-#if COMPILE_LIBGCRYPT
-#gcrypt = gcrypt
-#my_clean_gcrypt =
-#else
-#gcrypt =
-#my_clean_gcrypt = gcrypt/Makefile
-#endif
-
-gcrypt = gcrypt
-my_clean_gcrypt =
-
-if CROSS_COMPILING
-checks =
-else
-checks = checks
-endif
-
-if COMPILE_AGENT
-agent = agent
-else
-agent =
-endif
-
-SUBDIRS = intl zlib jnlib util mpi cipher ${gcrypt} g10 po tools \
- ${agent} doc ${checks}
-EXTRA_DIST = README-alpha PROJECTS BUGS
-# gettext never gets it right, so we take here care of deleting the
-# symlink. my_clean_gcrypt is just a kludge until we can include
-# libgcrypt.
-DISTCLEANFILES = gnupg-defs.h intl/libintl.h ${my_clean_gcrypt}
+SUBDIRS = jnlib util mpi cipher src doc
+EXTRA_DIST = README-alpha BUGS
+DISTCLEANFILES = gcrypt-defs.h
# Add all the files listed in "distfiles" files to the distribution,
@@ -51,20 +24,3 @@ dist-hook:
echo "$(VERSION)" > $(distdir)/VERSION
-if MAINTAINER_MODE
-# This is only useful within my local environment (wk)
-cvs-get:
- rsync -Cavuzb --exclude scratch --exclude .deps \
- wkoch@sigtrap.guug.de:work/gnupg .
-
-cvs-put:
- rsync -Cavuzb --exclude .deps --exclude scratch \
- . wkoch@sigtrap.guug.de:work/gnupg
-
-cvs-sync: cvs-get cvs-put
-
-endif
-
-
-.PHONY: cvs-get cvs-put cvs-sync
-
diff --git a/NEWS b/NEWS
new file mode 100644
index 00000000..e815ed0d
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,3 @@
+
+
+GnuPG has been spitted into libgcrypt and GnuPG.
diff --git a/README b/README
index 4d30cb21..07bb5439 100644
--- a/README
+++ b/README
@@ -1,19 +1,9 @@
- GnuPG - The GNU Privacy Guard
+ gcrypt the GNU crypto library
-------------------------------
Version 1.1
- WARNING: This is the current development branch
- of GnuPG. THIS SHOULD NOT BE USED IN
- A PRODUCTION ENVIRONMENT. It will
- change quite often and may have serious
- problems. Use the GnuPG from the stable
- Branch 1.0.x for real work. The next
- stable release will be 1.2
+ WARNING: This is work in PROGRESS!
-This version has been released due to the included libgcrypt which is
-used by GNUTLS and might be of use for other software too.
-
-GPG itself does not work and will not be installed.
diff --git a/README-alpha b/README-alpha
index 5655bc67..e8b8aa50 100644
--- a/README-alpha
+++ b/README-alpha
@@ -1,5 +1,3 @@
-The 1.1 series are the current development branch of GnuPG.
-
DO NOT USE IN A PRODUCTION ENVIRONMENT!
THERE MIGHT EVEN BE SECURITY PROBLEMS!
@@ -11,5 +9,4 @@ It will probably needs GCC and GLIBC to build due to
some debugging code. Please don't complain if it does not
work on other machines. We will make it work again later.
-Use GnuPG from the stable 1.0.x series for real work.
diff --git a/acconfig.h b/acconfig.h
index 3c1d32e2..faf251b4 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -17,8 +17,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
-#ifndef GNUPG_CONFIG_H
-#define GNUPG_CONFIG_H
+#ifndef GCRYPT_CONFIG_H
+#define GCRYPT_CONFIG_H
/* need this, because some autoconf tests rely on this (e.g. stpcpy)
* and it should be used for new programs
@@ -111,6 +111,6 @@
@BOTTOM@
-#include "gnupg-defs.h"
+#include "gcrypt-defs.h"
-#endif /*GNUPG_CONFIG_H*/
+#endif /*GCRYPT_CONFIG_H*/
diff --git a/configure.in b/configure.in
index 1e5cb5f2..6df0428c 100644
--- a/configure.in
+++ b/configure.in
@@ -8,7 +8,7 @@ dnl Must reset CDPATH so that bash's cd does not print to stdout
CDPATH=
AC_PREREQ(2.13)
-AC_INIT(g10/gpg.c)
+AC_INIT(src/gcrypt.h)
AC_CONFIG_AUX_DIR(scripts)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_SYSTEM
@@ -19,7 +19,7 @@ AC_CANONICAL_SYSTEM
# AGE, set REVISION to 0.
# 3. Interfaces removed (BAD, breaks upward compatibility): Increment
# CURRENT, set AGE and REVISION to 0.
-AM_INIT_AUTOMAKE(gnupg,1.1.2)
+AM_INIT_AUTOMAKE(gcrypt,1.1.2a)
LIBGCRYPT_LT_CURRENT=1
LIBGCRYPT_LT_AGE=0
LIBGCRYPT_LT_REVISION=0
@@ -31,7 +31,7 @@ AC_SUBST(LIBGCRYPT_LT_REVISION)
-ALL_LINGUAS="da de eo es_ES fr id it ja nl pl pt_BR pt_PT ru sv"
+# ALL_LINGUAS="da de eo es_ES fr id it ja nl pl pt_BR pt_PT ru sv"
static_modules="sha1 md5 rmd160"
static_random_module=""
@@ -117,24 +117,6 @@ if test "$use_m_guard" = yes ; then
AC_DEFINE(M_GUARD)
fi
-
-AC_MSG_CHECKING([whether included zlib is requested])
-AC_ARG_WITH(included-zlib,
- [ --with-included-zlib use the zlib code included here],
-[g10_force_zlib=yes], [g10_force_zlib=no] )
-AC_MSG_RESULT($g10_force_zlib)
-
-dnl
-dnl Check wether we want to compile libgcrypt
-dnl
-AC_MSG_CHECKING([whether compilation of libgcrypt is requested])
-AC_ARG_ENABLE(libgcrypt,
- [ --enable-libgcrypt compile the libgcrypt [default=yes]],
-[compile_libgcrypt="$enableval"],[compile_libgcrypt=no])
-AC_MSG_RESULT($compile_libgcrypt)
-AM_CONDITIONAL(COMPILE_LIBGCRYPT, test x$compile_libgcrypt = xyes)
-
-
dnl
dnl Check whether we want to use Linux capabilities
dnl
@@ -146,8 +128,6 @@ AC_MSG_RESULT($use_capabilities)
-
-
AM_MAINTAINER_MODE
dnl Checks for programs.
@@ -186,13 +166,7 @@ AC_ISC_POSIX
AC_PROG_INSTALL
AC_PROG_AWK
GPH_PROG_DOCBOOK
-GNUPG_CHECK_FAQPROG
-
-dnl
-dnl Build shared libraries only when compilation of libgcrypt
-dnl has been requested
-dnl
AM_DISABLE_STATIC
AM_PROG_LIBTOOL
@@ -200,7 +174,7 @@ AM_PROG_LIBTOOL
MPI_OPT_FLAGS=""
-try_gettext=yes
+try_gettext=no
case "${target}" in
*-*-mingw32*)
# special stuff for Windoze NT
@@ -323,25 +297,10 @@ AC_SUBST(MPI_OPT_FLAGS)
dnl Checks for libraries.
-if test "$try_gettext" = yes; then
-AM_GNU_GETTEXT
-else
USE_NLS=no
USE_INCLUDED_LIBINTL=no
AC_SUBST(USE_NLS)
AC_SUBST(USE_INCLUDED_LIBINTL)
-fi
-
-dnl Where is the GTK+ toolkit
-if test "$cross_compiling" = yes ; then
- CFLAGS="$CFLAGS -I/home/wk/work/gtk+w32/include/gtk+/gdk/win32 \
- -I/home/wk/work/gtk+w32/include -I/home/wk/work/gtk+w32/include/gtk+"
- LIBS="$LIBS -L/home/wk/work/gtk+w32/lib -lgtk -lgdk -lglib"
- compile_agent=no
-else
- AM_PATH_GTK(1.2.1, compile_agent=yes,compile_agent=no)
-fi
-AM_CONDITIONAL(COMPILE_AGENT, test x$compile_agent = xyes)
dnl Solaris needs -lsocket and -lnsl. Unisys system includes
@@ -684,30 +643,6 @@ AC_SUBST(MPI_EXTRA_ASM_OBJS)
MPI_SFLAGS="$ac_cv_mpi_sflags"
AC_SUBST(MPI_SFLAGS)
-dnl Do we have zlib? Must do it here because Solaris failed
-dnl when compiling a conftest (due to the "-lz" from LIBS).
-use_local_zlib=yes
-if test "$g10_force_zlib" = "yes"; then
- :
-else
- AC_CHECK_HEADERS(zlib.h)
- if test "$ac_cv_header_zlib_h" = yes ; then
- AC_CHECK_LIB(z,deflateInit2_,use_local_zlib=no,:)
- fi
-fi
-
-if test "$use_local_zlib" = yes ; then
- AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, true)
- GNUPG_LINK_FILES(zlib/zlib.h, zlib.h )
- GNUPG_LINK_FILES(zlib/zconf.h, zconf.h )
- ZLIBS="../zlib/libzlib.a"
-else
- AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, false)
- ZLIBS=
- LIBS="-lz $LIBS"
-fi
-AC_SUBST(ZLIBS)
-
# Allow users to append something to the version string without
# flagging it as development version. The user version part is
@@ -719,10 +654,6 @@ if echo "$VERSION" | sed 's/-.*//' | grep "$tmp_pat" >/dev/null ; then
AC_DEFINE(IS_DEVELOPMENT_VERSION)
fi
-dnl Temp workarounds
-GNUPG_LINK_FILES(gcrypt/gcrypt.h, gcrypt.h )
-GNUPG_LINK_FILES(include/types.h, types.h )
-
AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
GNUPG_DO_LINK_FILES
@@ -738,10 +669,10 @@ if test "$GCC" = yes; then
fi
dnl
-dnl Make the version number in gcrypt/gcrypt.h the same as the one here.
+dnl Make the version number in src/gcrypt.h the same as the one here.
dnl (this is easier than to have a *.in file just for one substitution)
dnl
-GNUPG_FIX_HDR_VERSION(gcrypt/gcrypt.h, GCRYPT_VERSION)
+GNUPG_FIX_HDR_VERSION(src/gcrypt.h, GCRYPT_VERSION)
GCRYPT_LIBS="-L${libdir} -lgcrypt"
GCRYPT_CFLAGS=""
@@ -750,8 +681,8 @@ AC_SUBST(GCRYPT_CFLAGS)
AC_OUTPUT_COMMANDS([
chmod +x scripts/db2html
-chmod +x gcrypt/gcrypt-config
-cat >gnupg-defs.tmp <<G10EOF
+chmod +x src/gcrypt-config
+cat >gcrypt-defs.tmp <<G10EOF
/* Generated automatically by configure */
#ifdef HAVE_DRIVE_LETTERS
#define GNUPG_LOCALEDIR "c:/lib/gnupg/locale"
@@ -769,13 +700,13 @@ cat >gnupg-defs.tmp <<G10EOF
#endif
#endif
G10EOF
-if cmp -s gnupg-defs.h gnupg-defs.tmp 2>/dev/null; then
- echo "gnupg-defs.h is unchanged"
- rm -f gnupg-defs.tmp
+if cmp -s gcrypt-defs.h gcrypt-defs.tmp 2>/dev/null; then
+ echo "gcrypt-defs.h is unchanged"
+ rm -f gcrypt-defs.tmp
else
- rm -f gnupg-defs.h
- mv gnupg-defs.tmp gnupg-defs.h
- echo "gnupg-defs.h created"
+ rm -f gcrypt-defs.h
+ mv gcrypt-defs.tmp gcrypt-defs.h
+ echo "gcrypt-defs.h created"
fi
],[
prefix=$prefix
@@ -789,21 +720,13 @@ DATADIRNAME=$DATADIRNAME
AC_OUTPUT([
Makefile
scripts/db2html
-intl/Makefile
-po/Makefile.in
jnlib/Makefile
util/Makefile
mpi/Makefile
cipher/Makefile
-g10/Makefile
-agent/Makefile
doc/Makefile
doc/version.sgml
-tools/Makefile
-zlib/Makefile
-checks/Makefile
-gcrypt/Makefile
-gcrypt/gcrypt-config
+src/Makefile
+src/gcrypt-config
])
-dnl *-*wedit:notab*-* Please keep this as the last line.