Hello!

On Sun, Dec 18, 2005 at 09:42:55AM +0300, Andrey N. Oktyabrski wrote:
>Andreas Vögele wrote:
>>>>I've attached a port of Exim 4.60, which includes the setting

>>>Please provide a unified diff against -current.

>>-FLAVORS=no_exiscan no_x11 mysql postgresql ldap iconv
>>+FLAVORS=no_exiscan no_x11 mysql postgresql sqlite3 ldap iconv sasl
>Have You any plans for spf flavor? I have the port for libspf2-1.0.4 and 
>exim-4.50 port with this flavor.

>.if ${FLAVOR:L:Mspf}
>EXIM_MAKECAT+=          "EXPERIMENTAL_SPF=yes\n"
>EXIM_EXTRA_LIBS+=       -L${LOCALBASE}/lib -lspf2
>EXIM_LDFLAGS+=          -L${LOCALBASE}/lib -lspf2
>EXIM_CFLAGS+=           -DSPF -I${LOCALBASE}/include
>LIB_DEPENDS+=           spf2.1:libspf2-*:mail/libspf2
>.endif

If you're doing libspf2, you could perhaps have use of this patch.
Fixed a crash with some SPF records for us.

Kind regards,

Hannah.

Index: src/libspf2/spf_compile.c
===================================================================
--- src/libspf2/spf_compile.c   (revision 24561)
+++ src/libspf2/spf_compile.c   (revision 24562)
@@ -736,7 +736,7 @@
      * expand the buffer
      */
 
-    len = sizeof( struct in_addr );
+    len = sizeof( struct in6_addr );
     if ( spfi->mech_buf_len - spfi->header.mech_len < len )
     {
        SPF_mech_t *new_first;

Reply via email to