GNU TLS FOR WINDOWS -- Instructions for the Windows port of GnuTLS Copyright (C) 2006, 2007, 2008 Simon Josefsson See the end for copying conditions.
| Index of /gnutls4win |
Name Last modified Size Description
Parent Directory 09-Feb-2010 11:34 -
AddToPath.nsh 07-May-2008 13:39 10k
COPYING 07-May-2008 13:39 18k
Makefile 03-Feb-2010 21:19 23k
PGP-KEYS 30-Apr-2009 13:17 33k
README 26-May-2008 13:27 6k
debify.sh 06-May-2009 18:17 2k
gnutls-1.6.3.exe 07-May-2008 15:18 22.9M
gnutls-1.6.3.exe.sig 07-May-2008 15:18 1k
gnutls-2.0.2.exe 07-May-2008 15:18 12.1M
gnutls-2.0.2.exe.sig 07-May-2008 15:18 1k
gnutls-2.2.5.exe 19-May-2008 22:50 12.7M
gnutls-2.2.5.exe.sig 19-May-2008 22:50 1k
gnutls-2.2.5.zip 19-May-2008 22:50 4.6M
gnutls-2.2.5.zip.sig 19-May-2008 22:50 1k
gnutls-2.4.0.exe 18-Jun-2008 17:49 13.6M
gnutls-2.4.0.exe.sig 18-Jun-2008 17:49 1k
gnutls-2.4.0.zip 18-Jun-2008 17:49 5.2M
gnutls-2.4.0.zip.sig 18-Jun-2008 17:49 1k
gnutls-2.4.1.exe 30-Jun-2008 23:29 13.5M
gnutls-2.4.1.exe.sig 30-Jun-2008 23:29 1k
gnutls-2.4.1.zip 30-Jun-2008 23:29 5.2M
gnutls-2.4.1.zip.sig 30-Jun-2008 23:29 1k
gnutls-2.4.2.exe 16-Sep-2008 00:23 13.8M
gnutls-2.4.2.exe.sig 16-Sep-2008 00:15 1k
gnutls-2.4.2.zip 16-Sep-2008 00:15 5.4M
gnutls-2.4.2.zip.sig 16-Sep-2008 00:15 1k
gnutls-2.5.5.exe 29-Aug-2008 13:40 13.6M
gnutls-2.5.5.exe.sig 29-Aug-2008 13:40 1k
gnutls-2.5.5.zip 29-Aug-2008 13:40 5.2M
gnutls-2.5.5.zip.sig 29-Aug-2008 13:40 1k
gnutls-2.5.9.exe 29-Sep-2008 14:02 13.4M
gnutls-2.5.9.exe.sig 29-Sep-2008 14:02 1k
gnutls-2.5.9.zip 29-Sep-2008 14:02 4.8M
gnutls-2.5.9.zip.sig 29-Sep-2008 14:02 1k
gnutls-2.6.0.exe 06-Oct-2008 09:44 13.4M
gnutls-2.6.0.exe.sig 06-Oct-2008 09:44 1k
gnutls-2.6.0.zip 06-Oct-2008 09:44 4.8M
gnutls-2.6.0.zip.sig 06-Oct-2008 09:44 1k
gnutls-2.6.1.exe 10-Nov-2008 11:44 13.4M
gnutls-2.6.1.exe.sig 10-Nov-2008 11:44 1k
gnutls-2.6.1.zip 10-Nov-2008 11:44 4.8M
gnutls-2.6.1.zip.sig 10-Nov-2008 11:44 1k
gnutls-2.6.2.exe 12-Nov-2008 15:36 13.4M
gnutls-2.6.2.exe.sig 12-Nov-2008 15:36 1k
gnutls-2.6.2.zip 12-Nov-2008 15:36 4.8M
gnutls-2.6.2.zip.sig 12-Nov-2008 15:36 1k
gnutls-2.6.3.exe 12-Dec-2008 20:38 13.4M
gnutls-2.6.3.exe.sig 12-Dec-2008 20:38 1k
gnutls-2.6.3.zip 12-Dec-2008 20:38 4.8M
gnutls-2.6.3.zip.sig 12-Dec-2008 20:38 1k
gnutls-2.6.4.exe 06-Feb-2009 21:34 13.5M
gnutls-2.6.4.exe.sig 06-Feb-2009 21:34 1k
gnutls-2.6.4.zip 06-Feb-2009 21:34 4.9M
gnutls-2.6.4.zip.sig 06-Feb-2009 21:34 1k
gnutls-2.6.5.exe 11-Apr-2009 22:42 13.5M
gnutls-2.6.5.exe.sig 11-Apr-2009 22:42 1k
gnutls-2.6.5.zip 11-Apr-2009 22:42 4.9M
gnutls-2.6.6.exe 30-Apr-2009 12:50 13.5M
gnutls-2.6.6.exe.sig 30-Apr-2009 12:50 1k
gnutls-2.6.6.zip 30-Apr-2009 12:50 4.9M
gnutls-2.6.6.zip.sig 30-Apr-2009 12:50 1k
gnutls-2.8.0.exe 27-May-2009 08:41 14.8M
gnutls-2.8.0.exe.sig 27-May-2009 08:41 1k
gnutls-2.8.0.zip 27-May-2009 08:41 5.2M
gnutls-2.8.0.zip.sig 27-May-2009 08:41 1k
gnutls-2.8.1.exe 10-Jun-2009 18:30 14.8M
gnutls-2.8.1.exe.sig 10-Jun-2009 18:30 1k
gnutls-2.8.1.zip 10-Jun-2009 18:30 5.2M
gnutls-2.8.1.zip.sig 10-Jun-2009 18:30 1k
gnutls-2.8.2.exe 10-Aug-2009 15:10 14.7M
gnutls-2.8.2.exe.sig 10-Aug-2009 15:10 1k
gnutls-2.8.2.zip 10-Aug-2009 15:10 5.2M
gnutls-2.8.2.zip.sig 10-Aug-2009 15:10 1k
gnutls-2.8.3.exe 13-Aug-2009 12:29 14.7M
gnutls-2.8.3.exe.sig 13-Aug-2009 12:29 1k
gnutls-2.8.3.zip 13-Aug-2009 12:29 5.2M
gnutls-2.8.3.zip.sig 13-Aug-2009 12:29 1k
gnutls-2.8.4.exe 18-Sep-2009 11:12 14.7M
gnutls-2.8.4.exe.sig 18-Sep-2009 11:12 1k
gnutls-2.8.4.zip 18-Sep-2009 11:12 5.2M
gnutls-2.8.4.zip.sig 18-Sep-2009 11:12 1k
gnutls-2.8.5.exe 02-Nov-2009 12:54 14.7M
gnutls-2.8.5.exe.sig 02-Nov-2009 12:54 1k
gnutls-2.8.5.zip 02-Nov-2009 12:54 5.2M
gnutls-2.8.5.zip.sig 02-Nov-2009 12:54 1k
gnutls-2.9.2.exe 14-Aug-2009 16:01 14.7M
gnutls-2.9.2.exe.sig 14-Aug-2009 16:01 1k
gnutls-2.9.2.zip 14-Aug-2009 16:01 5.2M
gnutls-2.9.2.zip.sig 14-Aug-2009 16:01 1k
gnutls-2.9.3.exe 19-Aug-2009 23:23 14.8M
gnutls-2.9.3.exe.sig 19-Aug-2009 23:23 1k
gnutls-2.9.3.zip 19-Aug-2009 23:23 5.3M
gnutls-2.9.3.zip.sig 19-Aug-2009 23:23 1k
gnutls-2.9.4.exe 03-Sep-2009 12:03 14.8M
gnutls-2.9.4.exe.sig 03-Sep-2009 12:03 1k
gnutls-2.9.4.zip 03-Sep-2009 12:03 5.3M
gnutls-2.9.4.zip.sig 03-Sep-2009 12:03 1k
gnutls-2.9.5.exe 10-Sep-2009 09:57 14.9M
gnutls-2.9.5.exe.sig 10-Sep-2009 09:57 1k
gnutls-2.9.5.zip 10-Sep-2009 09:57 5.3M
gnutls-2.9.5.zip.sig 10-Sep-2009 09:57 1k
gnutls-2.9.7.exe 06-Oct-2009 15:43 14.9M
gnutls-2.9.7.exe.sig 06-Oct-2009 15:43 1k
gnutls-2.9.7.zip 06-Oct-2009 15:43 5.3M
gnutls-2.9.7.zip.sig 06-Oct-2009 15:43 1k
gnutls-2.9.8.exe 05-Nov-2009 17:41 14.9M
gnutls-2.9.8.exe.sig 05-Nov-2009 17:41 1k
gnutls-2.9.8.zip 05-Nov-2009 17:41 5.3M
gnutls-2.9.8.zip.sig 05-Nov-2009 17:41 1k
gnutls-2.9.9.exe 10-Nov-2009 07:58 14.9M
gnutls-2.9.9.exe.sig 10-Nov-2009 07:58 1k
gnutls-2.9.9.zip 10-Nov-2009 07:58 5.3M
gnutls-2.9.9.zip.sig 10-Nov-2009 07:58 1k
gnutls-logo.bmp 07-May-2008 14:39 11k
gnutls.nsi 03-Apr-2009 05:17 19k
gnutls4win.jpg 07-May-2008 14:45 106k
gsasl-1.1.zip 25-Mar-2009 16:18 527k
gsasl-1.2.zip 13-Jun-2009 19:54 528k
gsasl-1.2.zip.sig 13-Jun-2009 19:54 1k
gsasl-1.3.90.zip 06-Nov-2009 12:05 592k
gsasl-1.3.90.zip.sig 06-Nov-2009 12:05 1k
gsasl-1.3.91.zip 06-Nov-2009 16:35 589k
gsasl-1.3.91.zip.sig 06-Nov-2009 16:35 1k
gsasl-1.3.zip 08-Oct-2009 17:42 591k
gsasl-1.3.zip.sig 08-Oct-2009 17:42 1k
gsasl-1.4.0.zip 17-Nov-2009 20:02 588k
gsasl-1.4.0.zip.sig 17-Nov-2009 20:02 1k
gss-0.1.1.zip 03-Apr-2009 13:09 7.6M
libgcrypt-1.4.4.zip 07-May-2009 07:28 1.5M
libgcrypt-1.4.4.zip.sig 07-May-2009 07:28 1k
libgcrypt-1.4.5.zip 14-Dec-2009 12:08 1.6M
libgcrypt-1.4.5.zip.sig 14-Dec-2009 12:08 1k
libgpg-error-1.7.zip 06-May-2009 18:17 118k
libgpg-error-1.7.zip.sig 06-May-2009 18:17 1k
libidn-1.12.zip 23-Jan-2009 14:48 418k
libidn-1.12.zip.sig 23-Jan-2009 21:07 1k
libidn-1.13.zip 06-Mar-2009 18:39 421k
libidn-1.14.zip 03-Apr-2009 14:36 421k
libidn-1.15.zip 08-Jun-2009 12:48 422k
libidn-1.15.zip.sig 08-Jun-2009 12:48 1k
libidn-1.16.zip 12-Jan-2010 12:44 424k
libidn-1.16.zip.sig 12-Jan-2010 12:45 1k
libntlm-1.1.zip 24-Sep-2009 09:39 54k
libntlm-1.1.zip.sig 24-Sep-2009 09:39 1k
libntlm-1.2.zip 06-Nov-2009 10:46 54k
libntlm-1.2.zip.sig 06-Nov-2009 10:46 1k
libssh2-1.0.zip 23-Jan-2009 12:45 1.7M
libssh2-1.1.zip 03-Apr-2009 05:17 1.7M
libssh2-1.2.1.zip 29-Sep-2009 14:26 1.7M
libssh2-1.2.1.zip.sig 29-Sep-2009 14:26 1k
libssh2-1.2.2.zip 25-Nov-2009 18:41 1.8M
libssh2-1.2.2.zip.sig 25-Nov-2009 18:41 1k
libssh2-1.2.3.zip 03-Feb-2010 21:17 1.8M
libssh2-1.2.3.zip.sig 03-Feb-2010 21:17 1k
libssh2-1.2.zip 11-Aug-2009 02:40 1.7M
libssh2-1.2.zip.sig 11-Aug-2009 02:40 1k
libtasn1-1.8.zip 03-Apr-2009 04:15 277k
libtasn1-2.1.zip 07-May-2009 08:07 277k
libtasn1-2.1.zip.sig 07-May-2009 08:06 1k
libtasn1-2.2.zip 20-May-2009 12:09 277k
libtasn1-2.2.zip.sig 20-May-2009 12:09 1k
libtasn1-2.3.zip 29-Jul-2009 22:41 261k
libtasn1-2.3.zip.sig 29-Jul-2009 22:41 1k
libtasn1-2.4.zip 18-Jan-2010 09:08 262k
libtasn1-2.4.zip.sig 18-Jan-2010 09:08 1k
mingw32-gnutls_2.2.5-1_all.deb 26-May-2008 10:15 4.1M
mingw32-gnutls_2.4.0-1_all.deb 18-Jun-2008 17:49 4.8M
mingw32-gnutls_2.4.1-1_all.deb 30-Jun-2008 23:29 4.8M
mingw32-gnutls_2.4.2-1_all.deb 16-Sep-2008 00:15 5.0M
mingw32-gnutls_2.5.5-1_all.deb 29-Aug-2008 13:40 4.8M
mingw32-gnutls_2.5.9-1_all.deb 29-Sep-2008 14:02 4.4M
mingw32-gnutls_2.6.0-1_all.deb 06-Oct-2008 09:44 4.4M
mingw32-gnutls_2.6.1-1_all.deb 10-Nov-2008 11:44 4.4M
mingw32-gnutls_2.6.2-1_all.deb 12-Nov-2008 15:36 4.4M
mingw32-gnutls_2.6.3-1_all.deb 12-Dec-2008 20:38 4.4M
mingw32-gnutls_2.6.4-1_all.deb 06-Feb-2009 21:34 4.5M
mingw32-gnutls_2.6.5-1_all.deb 11-Apr-2009 22:42 4.5M
mingw32-gnutls_2.6.6-1_all.deb 30-Apr-2009 12:50 4.5M
mingw32-gnutls_2.8.0-1_all.deb 27-May-2009 08:41 4.7M
mingw32-gnutls_2.8.1-1_all.deb 10-Jun-2009 18:30 4.7M
mingw32-gnutls_2.8.2-1_all.deb 10-Aug-2009 15:10 4.7M
mingw32-gnutls_2.8.3-1_all.deb 13-Aug-2009 12:29 4.7M
mingw32-gnutls_2.8.4-1_all.deb 18-Sep-2009 11:12 4.7M
mingw32-gnutls_2.8.5-1_all.deb 02-Nov-2009 12:54 4.7M
mingw32-gnutls_2.9.2-1_all.deb 14-Aug-2009 16:01 4.7M
mingw32-gnutls_2.9.3-1_all.deb 19-Aug-2009 23:29 4.8M
mingw32-gnutls_2.9.4-1_all.deb 03-Sep-2009 12:03 4.8M
mingw32-gnutls_2.9.5-1_all.deb 10-Sep-2009 09:57 4.8M
mingw32-gnutls_2.9.7-1_all.deb 06-Oct-2009 15:43 4.8M
mingw32-gnutls_2.9.8-1_all.deb 05-Nov-2009 17:41 4.8M
mingw32-gnutls_2.9.9-1_all.deb 10-Nov-2009 07:58 4.8M
mingw32-gsasl_1.1-1_all.deb 25-Mar-2009 16:18 429k
mingw32-gsasl_1.2-1_all.deb 13-Jun-2009 19:54 428k
mingw32-gsasl_1.3-1_all.deb 08-Oct-2009 17:42 488k
mingw32-gsasl_1.3.90-1_all.deb 06-Nov-2009 12:05 488k
mingw32-gsasl_1.3.91-1_all.deb 06-Nov-2009 16:35 484k
mingw32-gsasl_1.4.0-1_all.deb 17-Nov-2009 20:02 485k
mingw32-gss_0.1.1-1_all.deb 03-Apr-2009 13:09 6.6M
mingw32-libgcrypt_1.4.4-1_all.deb 07-May-2009 07:28 1.5M
mingw32-libgcrypt_1.4.5-1_all.deb 14-Dec-2009 12:08 1.5M
mingw32-libgpg-error_1.7-1_all.deb 06-May-2009 18:17 114k
mingw32-libidn_1.12-1_all.deb 23-Jan-2009 14:48 376k
mingw32-libidn_1.13-1_all.deb 06-Mar-2009 18:39 379k
mingw32-libidn_1.14-1_all.deb 03-Apr-2009 14:36 378k
mingw32-libidn_1.15-1_all.deb 08-Jun-2009 12:48 378k
mingw32-libidn_1.16-1_all.deb 12-Jan-2010 12:44 379k
mingw32-libntlm_1.1-1_all.deb 24-Sep-2009 09:39 55k
mingw32-libntlm_1.2-1_all.deb 06-Nov-2009 10:46 55k
mingw32-libssh2_1.0-1_all.deb 23-Jan-2009 12:45 1.7M
mingw32-libssh2_1.1-1_all.deb 03-Apr-2009 05:17 1.7M
mingw32-libssh2_1.2-1_all.deb 11-Aug-2009 02:40 1.7M
mingw32-libssh2_1.2.1-1_all.deb 29-Sep-2009 14:26 1.7M
mingw32-libssh2_1.2.2-1_all.deb 25-Nov-2009 18:41 1.7M
mingw32-libssh2_1.2.3-1_all.deb 03-Feb-2010 21:17 1.7M
mingw32-libtasn1_1.8-1_all.deb 03-Apr-2009 04:15 251k
mingw32-libtasn1_2.1-1_all.deb 07-May-2009 08:07 251k
mingw32-libtasn1_2.2-1_all.deb 20-May-2009 12:09 251k
mingw32-libtasn1_2.3-1_all.deb 29-Jul-2009 22:41 234k
mingw32-libtasn1_2.4-1_all.deb 18-Jan-2010 09:08 235k
mingw32-shishi_0.0.40-1_all.deb 03-Apr-2009 13:07 6.4M
patch-gnutls282.diff 10-Aug-2009 15:01 1k
patch-libssh2-1.2.diff 11-Aug-2009 02:38 1k
shishi-0.0.40.zip 03-Apr-2009 13:07 7.3M
GNU TLS FOR WINDOWS -- Instructions for the Windows port of GnuTLS Copyright (C) 2006, 2007, 2008 Simon Josefsson See the end for copying conditions.
This directory contain files that will build a Windows installer for GnuTLS. The GnuTLS DLL and the normal GnuTLS command-line tools are included. The related helper libraries are also installed: libgpg-error, libgcrypt, and libtasn1. Naturally, full documentation is included, in HTML and PDF formats.
A ZIP file with all the built tools is provided if you want to extract and copy only some files more easily.
A Debian package is provided as well, contributed by Enrico Tassi, if you are building a MinGW project that use GnuTLS on a Debian system and want to reduce manual installation steps.
This work is based on the normal releases of GnuTLS, libtasn1, libgpg-error, and libgcrypt. The source code and any patches are included in installer, and can (optionally) be installed on the target system.
The core GnuTLS library is available under the LGPLv2 license. Some parts of the package is available under the GPL license, such as the libgnutls-extra library, and the command line tools.
The build infrastructure to produce the GnuTLS for Windows builds are released under GPL version 2 or later.
If you find this work useful to you, please contribute back! Contributions will help me develop and make future releases of GnuTLS.
If you need commercial grade support, please contact me directly, since I'm available as a consultant.
Transfer the "gnutls-*.exe" file to a Windows box and run it. After the installation has finished, you should be able to run the "gnutls-cli" tools from a CMD.EXE prompt.
I'm using Debian x86 testing with the MinGW cross-compiler and the NSIS installer. You will need Wine to run the self tests for "make check".
# apt-get install make mingw32 nsis wine
First checkout the files in this directory as follows:
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnutls co gnutls4win
You may browse the files in CVS.
Typing "make" should build libgpg-error, libgcrypt, libtasn1 and gnutls, and then build the binary installer using NSIS and a ZIP file with all the files.
If this fails, start by trying to get libtasn1 to build. Type "make libtasn1". Then continue with the other packages. After that, the only remaining part is the installer.
Link with the libgnutls.dll.a file. If you are using MinGW instead of Cygwin, replace /cygdrive/c with /c below.
$ cat > foo.c
#include <gnutls/gnutls.h>
int main (void)
{
printf ("foo %s\n", gnutls_check_version (NULL));
}
^D
$ gcc -o foo foo.c -I/cygdrive/c/Program\ Files/GnuTLS/include /cygdrive/c/Program\ Files/GnuTLS/lib/libgnutls.dll.a
Then run the program.
$ ./foo foo 1.6.0 $
The first step is create an import library. Start a MSVS Command Prompt, and go to the GnuTLS installation directory.
C:\Program Files\GnuTLS\bin>lib /def:libgnutls-26.def ...
This will create a libgnutls-26.lib that can be used as a import library for Visual Studio projects.
Build a sample program to test it as follows:
C:\Program Files\GnuTLS\bin>cl foo.c -I../include -Dssize_t=long libgnutls-26.lib ... C:\Program Files\GnuTLS\bin>foo foo 1.6.0 C:\Program Files\GnuTLS\bin>
These steps are not fully polished yet, but appear to work.
Some of the command line tools (e.g., gnutls-cli) uses select() to check whether there is data to be read from stdin or from the network. The select function doesn't work with file descriptors under Windows, so this currently does not work. I'm working on solving this. Update! This was improved by 1.5.1, but still not perfect. Reports on that are solicited.
Initializing libgcrypt takes a long time on some systems, there has been reports that it can take around 10 seconds. There is a patch for libgcrypt to solve this, and there are non-official libgcrypt DLL's that can be used as a drop-in. See http://www.securitypunk.com/libgcrypt/ and http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/1787. Note that it is not clear whether the patch is the right solution or not.
Ask on help-gnutls@gnu.org for general problems, and discuss any suggested modifications gnutls-dev@gnupg.org. If you wish to contact me directly, try simon@josefsson.org.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
$Id: README.html,v 1.8 2008/05/26 11:27:05 jas Exp $