Building ircd-hybrid with SSL support
-------------------------------------

As of 1:7.0-6, SSL support, both for clients and server links, is not
included in the default build of ircd-hybrid. However, because many people
find it an absolute necessity, the build system allows you to build with
OpenSSL ($ prompts can be run as users, # should be run as root.):

1. $ apt-get source ircd-hybrid
   You'll need to have some deb-src lines in your /etc/apt/sources.list.

2. # apt-get build-dep ircd-hybrid
   # apt-get install libssl-dev fakeroot
   This will pull in everything you need to build the package.

3. $ cd ircd-hybrid-...
   $ USE_OPENSSL=1 fakeroot debian/rules binary

   Watch the packages build!

4. You should now be left with a package with the same version as the Debian
   revision, with '.ssl1' appended to it.

   This can be installed like so:
   # dpkg -i ircd-hybrid_<VERSION>.ssl1_<YOURARCH>.deb,

   where VERSION is the Debian version and YOURARCH is one of i386, powerpc,
   etc.

Why OpenSSL cannot be linked in by default
------------------------------------------

The OpenSSL license and the GPLv2 license are fundamentally incompatible,
because the OpenSSL license imposes advertising requirements on people
using the software, contrary to clause 6 of the GPL. Whilst the GPLv3 adds
the capability for exclusions to this rule, it is not practical to change
the license of ircd-hybrid accordingly owing to the large numbers of authors.

At the time of writing (April 2013) it appears that the only practical way
to get SSL support enabled by default would be to switch to a different
SSL library (for example GnuTLS or yaSSL).

Please see Debian bug #697376 for additional information.
