Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 11:43:11 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86452: security/cyrus-sasl2 does not compile with openssl 0.9.8
Message-ID:  <200509220943.j8M9hBfU055022@home.dinoex.sub.de>
Resent-Message-ID: <200509220950.j8M9o6pu073906@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86452
>Category:       ports
>Synopsis:       security/cyrus-sasl2 does not compile with openssl 0.9.8
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 22 09:50:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.4-STABLE
>Organization:
privat
>Environment:

	FreeBSD 5.4-STABLE #4: Fri Jun 10 16:47:43 CEST 2005

>Description:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/include -Wall -W -pipe -W -W
all -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wconversion -Wformat -W
id-clash-30 -Wimplicit -Wimplicit-function-delcaration -Wimplicit-int -Wlong-long -Wmain -Wmissing-declarations -Wmissin
g-prototypes -Wnested-externs -Wno-import -Wno-parentheses -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type
 -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtraditional -Wtrigraphs -Wunused -Wwrite-strings -c ntlm.c -Wp,-
MD,.deps/ntlm.TPlo  -fPIC -DPIC -o .libs/ntlm.lo
In file included from ntlm.c:94:
../include/sasl.h:347: warning: function declaration isn't a prototype
In file included from ../include/saslplug.h:14,
                 from ntlm.c:96:
../include/hmac-md5.h:11: syntax error before `MD5_CTX'


>How-To-Repeat:

	cd /usr/ports/security/openssl && make install
	cd /usr/ports/security/cyrus-sasl2 && make

>Fix:

	apply or approve thsi patch:

- fix build with openssl-0.9.8

Index: files/patch-ntlm.c
===================================================================
RCS file: files/patch-ntlm.c
diff -N files/patch-ntlm.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-ntlm.c	22 Sep 2005 09:39:40 -0000
@@ -0,0 +1,10 @@
+--- plugins/ntlm.c.orig	Fri Dec 24 17:06:14 2004
++++ plugins/ntlm.c	Thu Sep 22 11:26:31 2005
+@@ -74,6 +74,7 @@
+ #endif /* WIN32 */
+ 
+ #include <openssl/md4.h>
++#include <openssl/md5.h>
+ #include <openssl/hmac.h>
+ #include <openssl/des.h>
+ #include <openssl/opensslv.h>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509220943.j8M9hBfU055022>