[MacPorts] #58019: squid4 port file has no --enable-http-violations option or variant

MacPorts noreply at macports.org
Mon Apr 29 23:55:01 UTC 2019


#58019: squid4 port file has no --enable-http-violations option or variant
--------------------------+--------------------
  Reporter:  essandess    |      Owner:  jmroot
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  duplicate    |   Keywords:
      Port:  squid4       |
--------------------------+--------------------

Comment (by essandess):

 @jmroot I do not believe that this is correct.

 The {{{./configure}}} file code shows that {{{--enable-http-violations}}}
 must be set explicitly. I know this is true for version 4, and also
 believe it was true for version 3.

 1. I observe that {{{squid}}} does not modify headers unless it is
 configured explicitly with this flag.

 2. I checked its {{{./configure}}} file and see that it is not set by
 default. Sanity checking:

 {{{
 ( cd ~/Downloads/ ; tar xkf
 /opt/local/var/macports/distfiles/squid4/squid-4.6.tar.xz )
 cd ~/Downloads/squid-4.6/
 less ./configure
 }}}

 {{{
 # Check whether --enable-http-violations was given.
 if test "${enable_http_violations+set}" = set; then :
   enableval=$enable_http_violations;
 }}}

 As you can see, unless {{{--enable-http-violations}}} is explicitly passed
 to {{{./configure}}}, it isn't set.

-- 
Ticket URL: <https://trac.macports.org/ticket/58019#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list