Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/squid26/Makefile,v retrieving revision 1.189 diff -u -r1.189 Makefile --- Makefile 9 Jul 2006 15:20:10 -0000 1.189 +++ Makefile 9 Jul 2006 20:37:13 -0000 @@ -145,6 +145,7 @@ SQUID_ARP_ACL "Enable ACLs based on ethernet address" off \ SQUID_PF "Enable transparent proxying with PF" off \ SQUID_IPFILTER "Enable transp. proxying with IPFilter" off \ + SQUID_IPFW "Enable transparent proxying with IPFW" off \ SQUID_FOLLOW_XFF "Follow X-Forwarded-For headers" off \ SQUID_ICAP "Enable ICAP client functionality" off \ SQUID_AUFS "Enable the aufs storage scheme" off \ @@ -331,6 +332,9 @@ CONFIGURE_ARGS+= --enable-ipf-transparent .endif .endif +.if defined(WITH_SQUID_IPFW) +CFLAGS+= -DIPFW_TRANSPARENT +.endif .if defined(WITH_SQUID_FOLLOW_XFF) CONFIGURE_ARGS+= --enable-follow-x-forwarded-for .endif Index: files/patch-src-client_side.c =================================================================== RCS file: files/patch-src-client_side.c diff -N files/patch-src-client_side.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-client_side.c 9 Jul 2006 20:37:13 -0000 @@ -0,0 +1,16 @@ +--- ./src/client_side.c.orig Thu Jul 6 11:44:18 2006 ++++ ./src/client_side.c Thu Jul 6 11:52:07 2006 +@@ -4490,6 +4490,13 @@ + return -1; + } + } ++#elif IPFW_TRANSPARENT ++static int inline ++clientNatLookup(ConnStateData * conn) ++{ ++ static time_t last_reported = 0; ++ return 0; ++} + #else + static int inline + clientNatLookup(ConnStateData * conn)