NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/52514: squid breaks on FreeBSD due to IPF enabled option

>Number:         52514
>Category:       install
>Synopsis:       squid breaks on FreeBSD due to IPF enabled option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 30 14:30:00 +0000 2017
>Originator:     Angel Adames
>Release:        2017Q2
FutureLink Corporation
FreeBSD flc1 11.0-RELEASE-p12 FreeBSD 11.0-RELEASE-p12 #0: Wed Aug  9 10:03:39 UTC 2017  amd64
The package www/squid3 breaks on FreeBSD due to --enable-ipf-transparent being enabled by default through the framework. The legacy option to enable/disable this is squid.ipf. Nevertheless, it shouldn't be enabled by default since it has been reportedly breaking some system builds (including linux and some BSD systems).
Simply run bmake configure in squid package directory on a FreeBSD machine. This will trough the following output in the configure phase:

> configure: error: unable to make IPFilter work with netinet/ headers.

Also, by looking at config.log more details could be gathered. 
Using the options framework, adding this to mk.conf:

PKG_OPTIONS.squid+=    -squid-ipf

OR applying this patch so squid-ipf is not enabled by default on FreeBSD systems:


---	2017-05-03 08:38:45.000000000 +0000
@@ -33,12 +33,12 @@ PKG_SUPPORTED_OPTIONS+=	squid-netfilter
-.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || \
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || \
     ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
-.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD") && \
+.if ${OPSYS} == "NetBSD" && \

Home | Main Index | Thread Index | Old Index