Openssl 0.9.8 incompatibility

Dirk Meyer dirk.meyer at dinoex.sub.org
Thu Sep 29 12:05:35 PDT 2005


Hallo Jim Trigg,

> Well, apparently openssl 0.9.8 is more fragile than 0.9.7g; two of my
> installed ports won't rebuild with it.  There's an easy workaround for
> security/cyrus-sasl2 -- make it with WITHOUT_NTLM defined.  I haven't
> figured out exactly how comms/kermit broke, though.

security/cyrus-sasl2 is already patched.
it needed in ntlm.c the line:
#include "md5.h"


kermit says:
[...]
In file included from /usr/local/include/openssl/x509.h:96,
                 from /usr/local/include/openssl/ssl.h:183,
                 from ck_ssl.h:43,
                 from ckcmai.c:607:
/usr/local/include/openssl/rsa.h:324: syntax error before `25'


The patch below fixes this.
As thsi portz don't have a dedicated MAINTAINTER,
i was able to commited this fix to the port.

Thanks for reporting

btw, the macro EM is nowhere used in the kermit code.

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]

--- ck_ssl.h.orig       Sun Mar 14 18:08:23 2004
+++ ck_ssl.h    Thu Sep 29 20:31:23 2005
@@ -39,6 +39,7 @@
  * definitions there is no reason to have it included by openssl/evp.h
  */
 #define OPENSSL_NO_MDC2
+#undef EM
 #include <openssl/des.h>
 #include <openssl/ssl.h>
 #include <openssl/x509v3.h>



More information about the freebsd-ports mailing list