Imported Upstream version 3.0.21
[platform/upstream/gnutls.git] / README
1 GnuTLS README -- Important introductory notes.
2 Copyright (C) 2000-2012 Free Software Foundation, Inc.
3 See the end of this document for copying conditions.
4
5 GnuTLS implements the TLS/SSL (Transport Layer Security aka Secure
6 Sockets Layer) protocol.  GnuTLS is a GNU project.  Additional
7 information can be found at <http://www.gnu.org/software/gnutls/>
8 and <http://www.gnutls.org/>.
9
10
11 README
12 ------
13 This README is targeted for users of the library who build from
14 sources but do not necessarily develop.  If you are interested
15 in developing and contributing to the GnuTLS project, please
16 see README-alpha and visit
17 http://www.gnu.org/software/gnutls/manual/html_node/Contributing.html.
18
19
20 COMPILATION
21 -----------
22 A typical command sequence for building the library is shown below.
23 A complete list of options available for configure can be found
24 by running './configure --help'.
25
26     cd gnutls-<version>
27     ./configure --prefix=/usr
28     make
29     sudo make install
30
31 The commands above build and install the static archive (libgnutls.a),
32 the shared object (libgnutls.so), and additional binaries such as certtool 
33 and gnutls-cli.
34
35 The library depends on libnettle and p11-kit. Versions
36 2.10.3 and prior used libgcrypt as the default cryptographic library.
37 Nettle can be found at http://www.gnu.org/software/nettle/, while
38 p11-kit can be found at <http://p11-glue.freedesktop.org/p11-kit.html>.
39
40 To configure libnettle for installation and use by GnuTLS, a typical
41 command sequence would be:
42
43     cd nettle-<version>
44     ./configure --prefix=/usr --disable-openssl --enable-shared
45     make
46     sudo make install
47
48 For the Nettle project, --enable-shared will instruct automake and
49 friends to build and install both the static archive (libnettle.a)
50 and the shared object (libnettle.so).
51
52 In case you are compiling for an embedded system, you can disable
53 unneeded features of GnuTLS.  In general, it is usually best not to
54 disable anything (for future mailing list questions and possible bugs).
55
56 Depending on your installation, additional libraries, such as libtasn1
57 and zlib, may be required.
58
59
60 DOCUMENTATION
61 -------------
62 See the documentation in doc/ and online at
63 http://www.gnu.org/software/gnutls/manual.
64
65
66 EXAMPLES
67 --------
68 See the examples in doc/examples/ and online at 'How To Use GnuTLS in
69 Applications' at http://www.gnu.org/software/gnutls/manual.
70
71
72 SECURITY ADVISORIES
73 -------------------
74 The project collects and publishes information on past security
75 incidents and vulnerabilities.  Open information exchange, including
76 information which is [sometimes] suppressed in non-open or non-free
77 projects, is one of the goals of the GnuTLS project.  Please visit
78 http://www.gnu.org/software/gnutls/security.html.
79
80
81 MAILING LISTS
82 -------------
83 The GnuTLS project maintains mailing lists for users, developers, and
84 commits.  Please see http://www.gnu.org/software/gnutls/lists.html.
85
86
87 LICENSING
88 ---------
89 Since GnuTLS version 3.0.0, the core library has been released under
90 the GNU Lesser General Public License (LGPL) version 3 or later.
91
92 The GNU LGPL applies to the main GnuTLS library, while the
93 included applications as well as gnutls-openssl 
94 library are under the GNU GPL version 3.  The gnutls library is 
95 located in the lib/ directory, while the applications in src/ and
96 gnutls-openssl library is at extra/.
97
98 For any copyright year range specified as YYYY-ZZZZ in this package
99 note that the range specifies every single year in that closed interval.
100
101
102 BUGS
103 ----
104 Thorough testing is very important and expensive.  Often, the 
105 developers do not have access to a particular piece of hardware or 
106 configuration to reproduce a scenario.  Notifying the developers about a 
107 possible bug will greatly help the project.  
108
109 If you believe you have found a bug, please report it to bug-gnutls@gnu.org
110 together with any applicable information.  A web interface for the system
111 is available at http://savannah.gnu.org/support/?group=gnutls.
112
113 Applicable information would include why the issue is a GnuTLS bug (if
114 not readily apparent), output from 'uname -a', the version of the library or
115 tool being used, a stack trace if available ('bt full' if under gdb or
116 valgrind output), and perhaps a network trace.  Vague queries or piecemeal 
117 messages are difficult to act upon and don't help the development effort.
118
119 Additional information can be found at the project's manual.
120
121
122 PATCHES
123 -------
124 Patches are welcome and encouraged. Patches can be submitted through the 
125 bug tracking system or the mailing list.  When submitting patches, please 
126 be sure to use sources from the git repository, and preferrably from the 
127 master branch.  To create a patch for the project from a local git repository, 
128 please use the following commands. 'gnutls' should be the local directory 
129 of a previous git clone.
130
131     cd gnutls
132     git add the-file-you-modified.c another-file.c
133     git commit the-file-you-modified.c another-file.c
134     git format-patch
135
136 For more information on use of Git, visit http://git-scm.com/
137
138 ----------------------------------------------------------------------
139 Copying and distribution of this file, with or without modification,
140 are permitted in any medium without royalty provided the copyright
141 notice and this notice are preserved.