Date: Sun, 8 Mar 2009 18:50:03 GMT From: Thomas-Martin Seck <tmseck@web.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/131878: www/squid: Bug with kerberos heimdal negotiate auth. Message-ID: <200903081850.n28Io3w3052710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/131878; it has been noted by GNATS. From: Thomas-Martin Seck <tmseck@web.de> To: bug-followup@FreeBSD.org Cc: pol@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903081850.n28Io3w3052710>