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

MacPorts noreply at macports.org
Mon Apr 29 23:53:40 UTC 2019


#56560: squid3 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:  worksforme   |   Keywords:
      Port:  squid3       |
--------------------------+--------------------

Comment (by essandess):

 @jmroot

 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/56560#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list