root/branches/gnu-tls-sasl/README

Revision 119, 6.4 KB (checked in by smoku, 2 years ago)

merged r107:118 from trunk

Line 
1README for Jabber Open Source Server (2.1)
2
3Thanks for downloading jabberd 2.1. Below are some basic instructions to
4get you started. Complete documentation is available at
5http://jabberd.jabberstudio.org/2/docs/
6
7-- the jabberd team
8
9
10Required packages:
11
12 - expat - XML parsing libraries
13     http://expat.sourceforge.net/
14 - Cyrus SASL - Simple Authentication and Security Layer library
15     http://asg.web.cmu.edu/sasl/
16
17Optional packages:
18
19 - GNU Libidn (0.3.0 or higher) - needed for JID canonicalisation
20     http://www.gnu.org/software/libidn/
21 - OpenSSL (0.9.6b or higher) - needed for SSL/TLS support
22     http://www.openssl.org/news/
23 - Berkeley DB (4.1.24 or higher)
24     http://www.sleepycat.com/download/
25 - OpenLDAP (2.1.0 or higher)
26     http://www.openldap.org/software/download/
27 - PostgresSQL (development libraries and headers)
28     http://www.postgresql.org/
29 - MySQL (development libraries and headers)
30     http://www.mysql.com/
31 - PAM
32     http://www.linux-pam.org/  (for Linux)
33 - SQLite (3.0 or higher)
34     http://www.sqlite.org/
35
36
37Build:
38
39  % ./configure
40  % make
41  % make install
42
43Options to ./configure:
44
45  --prefix=/path/to/install
46      Where to install everything
47
48  --enable-idn (default: enabled)
49      Compile with IDN (Stringprep) support
50
51  --enable-ssl (default: enabled)
52      Compile with SSL/TLS support
53
54  --enable-mysql (default: enabled)
55      Compile MySQL auth/reg/storage support
56
57  --enable-pgsql (default: disabled)
58      Compile PostgreSQL auth/reg/storage support
59
60  --enable-db (default: disabled)
61      Compile Berkeley DB auth/reg/storage support
62
63  --enable-sqlite (default: disabled)
64      Compile SQLite storage support
65
66  --enable-ldap (default: disabled)
67      Compile OpenLDAP auth/reg support
68
69  --enable-pam (default: disabled)
70      Compile PAM auth/reg support
71
72  --enable-pipe (default: disabled)
73      Compile pipe auth/reg support
74
75  --enable-anon (default: disabled)
76      Compile anonymous auth support
77
78  --enable-fs (default: disabled)
79      Compile filesystem storage support (NOT RECOMMENDED)
80
81  --enable-mio=BACKEND
82      Specify MIO backend to use (poll or select)
83
84  --with-extra-include-path
85  --with-extra-library-path
86      Add extra header/library search paths
87     
88  --enable-debug (default: disabled)
89      Output debugging info when run with -D
90
91  --enable-nad-debug (default: disabled)
92      Compile with NAD pointer tracking
93
94  --enable-pool-debug (default: disabled)
95      Compile with pool statistics
96
97  --enable-developer (default: disabled)
98      Compile with full warnings and debugging symbols
99
100
101Configure:
102
103  Edit $prefix/etc/(router|sm|c2s|resolver|s2s).xml to taste. In
104  particular, make sure you setup for your choice of data storage
105  correctly. If you're using the Berkeley DB backend, you'll need to
106  create /var/run/jabberd and sets its permissions so that the server
107  processes can find it.
108 
109  If you're using a SQL backend, you'll need to create an account for
110  the server to use, and create the tables. Load db-setup.mysql or
111  db-setup.pgsql from the tools/ directory into your database to do
112  this.
113
114  If you plan to use the jabberd wrapper script, make sure you look at
115  the paths in the $prefix/etc/jabber/jabberd.cfg.
116
117
118Run:
119
120  You can either run all of the pieces separately:
121
122    % $prefix/bin/router &
123    % $prefix/bin/resolver &
124    % $prefix/bin/s2s &
125    % $prefix/bin/sm &
126    % $prefix/bin/c2s &
127
128  Or you can run them all from the jabberd wrapper script:
129
130    % $prefix/jabberd &
131
132All the processes can take the following switches:
133
134    -c use an alternate config file
135    -D output lots of debugging info (if compiled with --enable-debug)
136
137
138Support:
139
140Documentation: http://jabberd.jabberstudio.org/2/docs/
141Wiki:  http://j2.openaether.org/mediawiki
142
143    Bugs to: http://j2.openaether.org/bugzilla/
144Requests to: http://j2.openaether.org/bugzilla/
145
146Everything else: jabberd@jabberstudio.org
147 (Subscribe at http://mail.jabber.org/mailman/listinfo/jabberd
148  Archives at http://mail.jabber.org/pipermail/jabberd/ )
149
150When requesting assistance, please note that the following things can
151provide useful information which may assist with finding your problem:
152
153 - debug logs (compile with --enable-debug and run with -D)
154 - running components seperately (ie without the wrapper script)
155 - config.log
156
157Please try to provide as much relevant information as possible when
158reporting problems - it will make helping you much easier.
159
160
161Copyright & License:
162 
163 jabberd - Jabber Open Source Server
164 Copyright (c) 2002-2004 Jeremie Miller, Thomas Muldowney,
165                         Ryan Eatmon, Robert Norris.
166
167 This program is free software; you can redistribute it and/or modify
168 it under the terms of the GNU General Public License as published by
169 the Free Software Foundation; either version 2 of the License, or
170 (at your option) any later version.
171
172 This program is distributed in the hope that it will be useful,
173 but WITHOUT ANY WARRANTY; without even the implied warranty of
174 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
175 GNU General Public License for more details.
176
177 You should have received a copy of the GNU General Public License
178 along with this program; if not, write to the Free Software
179 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA
180
181 As a special exception, the authors give permission to link this
182 program with the OpenSSL library and distribute the resulting binary.
183
184
185 Includes Expat (1.95.7).
186 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
187                                and Clark Cooper.
188 Copyright (c) 2001, 2002 Expat maintainers.
189
190 subst/snprintf.c and util/base64.c were originally taken from the
191 Apache web server project.
192   Originally copyright (c) 1995-2003 Apache Software Foundation.
193 
194 util/md5.c was taken from Ghostscript.
195   Originally copyright (c) 1999-2002 Aladdin Enterprises.
196 
197 util/sha1.c was taken from Mozilla.
198   Originally copyright (c) 1995-1999 Cryptography Research, Inc.
199 
200 subst/getopt.[ch] was taken from GNU Libc.
201   Originally copyright (c) 1987-1993 Free Software Foundation, Inc.
202 
203 subst/gettimeofday.c was taken from PostgreSQL.
204   Originally copyright (c) 2003 SRA, Inc. & SKC, Inc.
205 
206 subst/syslog.[ch] was taken from Bind.
207   Originally copyright (c) 2001 Internet Software Consortium.
208 
209 subst/inet_aton.c
210   Originally copyright (c) 1995-1997 Kungliga Teniska Hogskolan
211 
212 subst/ip6_misc.h
213   Originally copyright (c) 1993,1994,1997 The Regents of the University of California.
214 
215 subst/dirent.[ch]
216   Originally copyright (c) 1997,2003 Kevlin Henney.
Note: See TracBrowser for help on using the browser.