Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 17:03:51 -0400 (EDT)
From:      root@monsta.privatelabs.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        squid-bugs@ircache.net, peter@freebsd.org
Subject:   ports/21756: errors in Squid-2.3.4's configure prevent ipf configuration
Message-ID:  <200009122103.RAA88842@monsta.privatelabs.com>

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

>Number:         21756
>Category:       ports
>Synopsis:       errors in Squid-2.3.4's configure prevent ipf configuration
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 04 10:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 4.1-RC i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

	The lines in the squid's configure, that check for ip-filter
	are erroneous -- the test(1) invocations have ``=='' instead
	of ``=''.

	If I uncomment the (off-by-default):
		CONFIGURE_ARGS+= --enable-ipf-transparent
	in the port's Makefile, the configure will fail with test(1)
	complaining about syntax errors.

>How-To-Repeat:

	See description.

>Fix:

	Squid should, of course, fix this ASAP. But until that happens,
	dropping the following into /usr/ports/www/squid23/patches/patch-pl
	will ensure the port builds on *BSD:

+++ configure	Tue Sep 12 16:50:22 2000
@@ -4452,10 +4452,10 @@
 echo "configure:4460: checking if IP-Filter header files are installed" >&5
     # hold on to your hats...
     if test "$ac_cv_header_ip_compat_h" = "yes" ||
         test "$ac_cv_header_ip_fil_compat_h" = "yes" ||
-        test "$ac_cv_header_netinet_ip_compat_h" == "yes" ||
-        test "$ac_cv_header_netinet_ip_fil_compat_h" == "yes" ; then
+        test "$ac_cv_header_netinet_ip_compat_h" = "yes" ||
+        test "$ac_cv_header_netinet_ip_fil_compat_h" = "yes" ; then
         have_ipfilter_compat_header="yes"
      fi
      if test "x$have_ipfilter_compat_header" = "xyes" &&
        test "$ac_cv_header_ip_fil_h" = "yes" &&

--VAA91348.968807428/monsta.privatelabs.com--



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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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