##                      _             _ 
##  _ __ ___   ___   __| |    ___ ___| |  
## | '_ ` _ \ / _ \ / _` |   / __/ __| |  
## | | | | | | (_) | (_| |   \__ \__ \ | mod_ssl - Apache Interface to SSLeay  
## |_| |_| |_|\___/ \__,_|___|___/___/_| http://www.engelschall.com/sw/mod_ssl/
##                      |_____|         
## ____________________________________________________________________________
##
## Annotated mod_ssl patch file: sslmod.patch
## Copyright (c) 1998 Ralf S. Engelschall, All Rights Reserved. 
## Created on: 11-Nov-1998
##
## This file assembles changes to existing Apache source files
## between the original Apache and the patched variant. It can be
## automatically applied to a vanilla Apache source tree with the
## 'patch' tool to upgrade those files.  Each patch snippet is
## annotated with a short description.
##
## This file contains all patches to the Apache source tree
## which add additional (but optional) support for the SSL
## module. Those changes are just to provide a little bit more
## comfort, but aren't really required.
##

+---------------------------------------------------------------------------
| Add the SSL_BASE and RSA_BASE variables, the SSL_COMPAT rule and the
| AddModule entry for mod_ssl (libssl.a). This way an SSL-aware Apache can
| still be built with the old Apache 1.2 configuration procedure and no
| extra --activate-module=ssl is required.
+---------------------------------------------------------------------------
Index: src/Configuration.tmpl
--- src/Configuration.tmpl	1998/09/22 08:42:44	1.1.1.3
+++ src/Configuration.tmpl	1998/11/08 15:34:28	1.9
@@ -26,6 +26,32 @@
 # not enabled).  The AddModule directive can be used to enable such a
 # module.  By default no such modules are defined.
 
+################################################################
+# SSL support:
+#
+# o Set SSL_BASE to either the directory of your SSLeay 
+#   source tree or the installation tree. Alternatively you can
+#   also use the value 'SYSTEM' which then indicates that SSLeay
+#   is installed under various system locations.
+#
+# o If you're a US-citizen you have to compile SSLeay with the
+#   RSAref library (which replaces the RSA code of SSLeay)
+#   because of patent legalities with the RSA algorithm used for
+#   the SSL protocol. For this situation you already have to
+#   compile SSLeay with the -DRSAref define and now you have to
+#   force Apache to link against the RSAglue library (from
+#   SSLeay) and the rsaref library (from RSA). So, set RSA_BASE
+#   to the directory of your RSAref source tree or to 'SYSTEM'
+#   (indicating that librsaref.a is installed under a system
+#   location)
+#
+# o Disable SSL_COMPAT rule to build mod_ssl without backward
+#   compatibility code for Apache-SSL 1.x, mod_ssl 2.0.x Sioux
+#   1.x and Stronghold 2.x.
+
+#SSL_BASE=/usr/local/ssl
+#RSA_BASE=/usr/local/rsa
+Rule SSL_COMPAT=yes
 
 ################################################################
 # Makefile configuration
@@ -385,4 +419,10 @@
 ## should be the last (highest priority) module.
 
 AddModule modules/standard/mod_setenvif.o
+
+## mod_ssl incorporates SSL into Apache.
+## It must stay last here to be first in execution to 
+## fake basic authorization.
+
+# AddModule modules/ssl/libssl.a
 
