ports/131878: www/squid: Bug with kerberos heimdal negotiate auth.

Thomas-Martin Seck tmseck at web.de
Sun Mar 8 18:50:04 UTC 2009


The following reply was made to PR ports/131878; it has been noted by GNATS.

From: Thomas-Martin Seck <tmseck at web.de>
To: bug-followup at FreeBSD.org
Cc: pol at opk.ru
Subject: Re: ports/131878: www/squid: Bug with kerberos heimdal negotiate auth.
Date: Sun, 8 Mar 2009 19:48:30 +0100

 On closer examination it occured to me that it might be smarter not to
 assume that FreeBSD always fits the little endian assumption. So I guess
 we better instrument what configure found out about the system...
 
 Could you try this patch against www/squid?
 
 Index: files/patch-squid_kerb_auth
 ===================================================================
 --- files/patch-squid_kerb_auth	(revision 1555)
 +++ files/patch-squid_kerb_auth	(revision 1561)
 @@ -557,3 +557,23 @@
   #define gss_nt_service_name GSS_C_NT_HOSTBASED_SERVICE
   #else
   #include <gssapi/gssapi.h>
 +--- helpers/negotiate_auth/squid_kerb_auth/spnegohelp/derparse.c.orig	2007-05-15 01:36:32.000000000 +0200
 ++++ helpers/negotiate_auth/squid_kerb_auth/spnegohelp/derparse.c	2009-03-08 19:39:03.000000000 +0100
 +@@ -22,12 +22,17 @@
 + //
 + /////////////////////////////////////////////////////////////
 + 
 ++#include "config.h"
 + #include <stdlib.h>
 + #include <stdio.h>
 + #include <memory.h>
 + #include "spnego.h"
 + #include "derparse.h"
 + 
 ++#ifndef WORDS_BIGENDIAN
 ++#define __LITTLE_ENDIAN__ 1
 ++#endif
 ++
 + //
 + // The GSS Mechanism OID enumeration values (SPNEGO_MECH_OID) control which offset in
 + // the array below, that a mechanism can be found.



More information about the freebsd-ports-bugs mailing list