All,
The following patch allows MacOSX/Darwin to find the SSL library. With this
patch, the current CVS HEAD of httpd-2.0 compiles with mod_ssl enabled and
passes all ssl tests in the perl-framework (except for ssl/proxy since I
didn't have proxy enabled):
Index: acinclude.m4
===================================================================
RCS file: /home/cvspublic/httpd-2.0/acinclude.m4,v
retrieving revision 1.130
diff -u -r1.130 acinclude.m4
--- acinclude.m4 19 Aug 2002 07:33:45 -0000 1.130
+++ acinclude.m4 6 Sep 2002 21:30:38 -0000
@@ -461,7 +461,7 @@
ap_ssltk_libdir=""
for p in $ap_ssltk_base/lib /usr/local/openssl/lib \
/usr/local/ssl/lib /usr/local/lib /usr/lib /lib /usr/lib64; do
- if test -f "$p/libssl.a" -o -f "$p/libssl.so"; then
+ if test -f "$p/libssl.a" -o -f "$p/libssl.so" -o -f "$p/libssl.dylib";
then
ap_ssltk_libdir="$p"
break
fi
Same patch attached to prevent line-ending and word wrapping madness.
I tested this on MacOSX 10.2 (Jaguar) and on a linux box. The reason to
limit this to 10.2 is as follows: while Apple included the SSL library
binary with previous versions of the OS, the headers were missing. Some
people got results by snarfing headers from somewhere else, but mileage
varied immensely. As of the 10.2 Apple developer tools installer, there is
an optional install item that installs a BSD compatibility SDK. This has,
among others, the OpenSSL headers needed to build mod_ssl.
Enjoy,
Sander 'one line patch' Temme
--
Covalent Technologies sctemme@covalent.net
Engineering group Voice: (415) 856 4214
303 Second Street #375 South Fax: (415) 856 4210
San Francisco CA 94107
PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03 5531 AFB1 96AF B584 0AB1
=======================================================
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
=======================================================