diff -u -r -N squid-4.0.11/ChangeLog squid-4.0.12/ChangeLog --- squid-4.0.11/ChangeLog 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/ChangeLog 2016-07-02 01:26:44.000000000 +1200 @@ -1,3 +1,19 @@ +Changes to squid-4.0.12 (01 Jul 2016): + + - Regression Fix: shell issues with require_smblib definition + - Regression Bug 4532: pid_filename not working as documented + - Regression Bug 4504: Too many WARNING: Ignoring error setting CA certificate locations + - Bug 4516: security_file_certgen man page update + - Bug 4446: undefined reference to 'libecap::Name::Name' + - Bug 4376: clang cannot build Squid eCAP code + - HTTP/1.1: Update all stored headers on 304 revalidation + - TLS: Authority Key Identifier certificate extension + - Add a script to find kid-specific cache.log lines + - Cleanup cppunit detection and use + - ... and several performance improvements + - ... and some unit test updates + - ... and all fixes from 3.5.20 + Changes to squid-4.0.11 (09 Jun 2016): - Bug 4517: error: comparison between signed and unsigned integer @@ -172,6 +188,25 @@ - ... and many documentation changes - ... and much code cleanup and polishing +Changes to squid-3.5.20 (01 Jul 2016): + + - Bug 4523: smblib compile fails on NetBSD + - Bug 4485: off-by-one out-of-bounds Parser::Tokenizer::int64() read errors + - Bug 3579: assertion failed 'MemPools[type]' from dst_as ACL + - Fix icons loading speed + - Fix OpenSSL detection on FreeBSD + - Fix assertion failed: Write.cc:38: 'fd_table[conn->fd].flags.open' + - Fix SEGFAULT parsing malformed adaptation service configuration + - Fix ConnStateData::In::maybeMakeSpaceAvailable() logic + - Do not override user defined -std option + - Do not allow low-level debugging to hide important/critical messages + - Do not make bogus recvmsg(2) calls when closing UDS sockets + - Support unified EUI format code in external_acl_type + +Changes to squid-3.5.19 (09 May 2016): + + - Regression Bug 4515: interception proxy hangs + Changes to squid-3.5.18 (06 May 2016): - Bug 4510: stale comment about 32KB limit on shared memory cache entries diff -u -r -N squid-4.0.11/compat/Makefile.am squid-4.0.12/compat/Makefile.am --- squid-4.0.11/compat/Makefile.am 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/compat/Makefile.am 2016-07-02 01:26:44.000000000 +1200 @@ -94,7 +94,7 @@ testPreCompiler_SOURCES= \ testPreCompiler.h \ testPreCompiler.cc -testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) +testPreCompiler_LDADD= $(LIBCPPUNIT_LIBS) testPreCompiler_LDFLAGS= # os/ subdir prevents us using src/TestHeaders.am diff -u -r -N squid-4.0.11/compat/Makefile.in squid-4.0.12/compat/Makefile.in --- squid-4.0.11/compat/Makefile.in 2016-06-10 08:34:20.000000000 +1200 +++ squid-4.0.12/compat/Makefile.in 2016-07-02 01:28:12.000000000 +1200 @@ -181,8 +181,7 @@ am_testPreCompiler_OBJECTS = testPreCompiler.$(OBJEXT) testPreCompiler_OBJECTS = $(am_testPreCompiler_OBJECTS) am__DEPENDENCIES_1 = -testPreCompiler_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) +testPreCompiler_DEPENDENCIES = $(am__DEPENDENCIES_1) testPreCompiler_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(testPreCompiler_LDFLAGS) \ @@ -500,7 +499,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -519,7 +517,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -535,7 +532,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -552,6 +548,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -625,9 +623,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -727,7 +722,7 @@ CLEANFILES = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la @@ -814,7 +809,7 @@ testPreCompiler.h \ testPreCompiler.cc -testPreCompiler_LDADD = $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) +testPreCompiler_LDADD = $(LIBCPPUNIT_LIBS) testPreCompiler_LDFLAGS = all: all-am diff -u -r -N squid-4.0.11/configure squid-4.0.12/configure --- squid-4.0.11/configure 2016-06-10 08:35:21.000000000 +1200 +++ squid-4.0.12/configure 2016-07-02 01:29:18.000000000 +1200 @@ -1,7 +1,7 @@ #! /bin/sh # From configure.ac Revision. # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Squid Web Proxy 4.0.11. +# Generated by GNU Autoconf 2.69 for Squid Web Proxy 4.0.12. # # Report bugs to . # @@ -595,8 +595,8 @@ # Identity of this package. PACKAGE_NAME='Squid Web Proxy' PACKAGE_TARNAME='squid' -PACKAGE_VERSION='4.0.11' -PACKAGE_STRING='Squid Web Proxy 4.0.11' +PACKAGE_VERSION='4.0.12' +PACKAGE_STRING='Squid Web Proxy 4.0.12' PACKAGE_BUGREPORT='http://bugs.squid-cache.org/' PACKAGE_URL='' @@ -667,9 +667,8 @@ LIBOBJS LIB_DB ALLOCA -SQUID_CPPUNIT_INC -SQUID_CPPUNIT_LA -SQUID_CPPUNIT_LIBS +LIBCPPUNIT_LIBS +LIBCPPUNIT_CFLAGS ENABLE_XPROF_STATS_FALSE ENABLE_XPROF_STATS_TRUE ENABLE_UNLINKD_FALSE @@ -732,15 +731,10 @@ ADAPTATION_LIBS ENABLE_ADAPTATION_FALSE ENABLE_ADAPTATION_TRUE -ECAP_LIBS ENABLE_ECAP_FALSE ENABLE_ECAP_TRUE EXT_LIBECAP_LIBS EXT_LIBECAP_CFLAGS -PKG_CONFIG_LIBDIR -PKG_CONFIG_PATH -PKG_CONFIG -ICAP_LIBS ENABLE_ICAP_CLIENT_FALSE ENABLE_ICAP_CLIENT_TRUE XMLLIB @@ -846,7 +840,9 @@ ENABLE_POD2MAN_DOC_TRUE POD2MAN PERL -CPPUNITCONFIG +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG RM TR CHMOD @@ -1059,7 +1055,7 @@ enable_stacktraces enable_cpu_profiling enable_x_accelerator_vary -with_cppunit_basedir +with_cppunit with_libcap with_maxfd with_filedescriptors @@ -1085,10 +1081,10 @@ BUILDCXX CXXCPP CPP -LT_SYS_LIBRARY_PATH PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR +LT_SYS_LIBRARY_PATH EXT_LIBECAP_CFLAGS EXT_LIBECAP_LIBS LIBGNUTLS_CFLAGS @@ -1097,6 +1093,8 @@ LIBOPENSSL_LIBS LIB_KRB5_CFLAGS LIB_KRB5_LIBS +LIBCPPUNIT_CFLAGS +LIBCPPUNIT_LIBS PO2HTML PO2TEXT BUILDCXXFLAGS' @@ -1650,7 +1648,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Squid Web Proxy 4.0.11 to adapt to many kinds of systems. +\`configure' configures Squid Web Proxy 4.0.12 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1721,7 +1719,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Squid Web Proxy 4.0.11:";; + short | recursive ) echo "Configuration of Squid Web Proxy 4.0.12:";; esac cat <<\_ACEOF @@ -2028,9 +2026,7 @@ XBS5_LPBIG_OFFBIG (legacy, large pointers and files) or default (The default for your OS) --with-valgrind-debug Include debug instrumentation for use with valgrind - --with-cppunit-basedir=PATH - Path where the cppunit headers are libraries can be - found + --without-cppunit Do not use cppunit test framework --without-libcap disable usage of Linux capabilities library to control privileges @@ -2054,13 +2050,13 @@ BUILDCXX path to compiler for building compile-time tools. e.g. cf_gen CXXCPP C++ preprocessor CPP C preprocessor - LT_SYS_LIBRARY_PATH - User-defined run-time library search path. PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path + LT_SYS_LIBRARY_PATH + User-defined run-time library search path. EXT_LIBECAP_CFLAGS C compiler flags for EXT_LIBECAP, overriding pkg-config EXT_LIBECAP_LIBS @@ -2077,6 +2073,10 @@ C compiler flags for LIB_KRB5, overriding pkg-config LIB_KRB5_LIBS linker flags for LIB_KRB5, overriding pkg-config + LIBCPPUNIT_CFLAGS + C compiler flags for LIBCPPUNIT, overriding pkg-config + LIBCPPUNIT_LIBS + linker flags for LIBCPPUNIT, overriding pkg-config PO2HTML Absolute path to po2html executable PO2TEXT Absolute path to po2txt executable BUILDCXXFLAGS @@ -2148,7 +2148,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Squid Web Proxy configure 4.0.11 +Squid Web Proxy configure 4.0.12 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -3252,7 +3252,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Squid Web Proxy $as_me 4.0.11, which was +It was created by Squid Web Proxy $as_me 4.0.12, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4119,7 +4119,7 @@ # Define the identity of the package. PACKAGE='squid' - VERSION='4.0.11' + VERSION='4.0.12' cat >>confdefs.h <<_ACEOF @@ -7640,16 +7640,26 @@ fi -# Extract the first word of "cppunit-config", so it can be a program name with args. -set dummy cppunit-config; ac_word=$2 +RM="$RM -f" + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CPPUNITCONFIG+:} false; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else - case $CPPUNITCONFIG in + case $PKG_CONFIG in [\\/]* | ?:[\\/]*) - ac_cv_path_CPPUNITCONFIG="$CPPUNITCONFIG" # Let the user override the test with a path. + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -7659,7 +7669,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_CPPUNITCONFIG="$as_dir/$ac_word$ac_exec_ext" + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7667,21 +7677,90 @@ done IFS=$as_save_IFS - test -z "$ac_cv_path_CPPUNITCONFIG" && ac_cv_path_CPPUNITCONFIG="false" ;; esac fi -CPPUNITCONFIG=$ac_cv_path_CPPUNITCONFIG -if test -n "$CPPUNITCONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNITCONFIG" >&5 -$as_echo "$CPPUNITCONFIG" >&6; } +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi -RM="$RM -f" +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 @@ -22391,10 +22470,8 @@ unset squid_tmp_define -ICAP_LIBS="" -if test "x$enable_icap_client" != "xno" ; then - ICAP_LIBS="icap/libicap.la" - squid_opt_use_adaptation=yes +if test "x$enable_icap_client" != "xno"; then : + squid_opt_use_adaptation="yes" fi if test "x$enable_icap_client" != "xno"; then ENABLE_ICAP_CLIENT_TRUE= @@ -22405,7 +22482,6 @@ fi - squid_opt_use_ecap=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support eCAP" >&5 $as_echo_n "checking whether to support eCAP... " >&6; } @@ -22429,126 +22505,6 @@ fi - - - - - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi -fi - if test "x$squid_opt_use_ecap" != "xno"; then if test "x$enable_loadable_modules" != "xyes" @@ -22650,12 +22606,97 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: eCAP support requires pkg-config to verify the correct library version. Trouble may follow." >&5 $as_echo "$as_me: eCAP support requires pkg-config to verify the correct library version. Trouble may follow." >&6;} fi -fi -ECAP_LIBS="" -if test "x$squid_opt_use_ecap" = "xyes"; then - ECAP_LIBS="ecap/libecapsquid.la" + +# save state, key is squid_ecap_state +squid_ecap_state_CFLAGS="${CFLAGS}" +squid_ecap_state_CXXFLAGS="${CXXFLAGS}" +squid_ecap_state_LDFLAGS="${LDFLAGS}" +squid_ecap_state_LIBS="${LIBS}" +squid_ecap_state_CC="${CC}" +squid_ecap_state_CXX="${CXX}" +squid_ecap_state_CPPFLAGS="${CPPFLAGS}" +squid_ecap_state_squid_saved_vars="" +for squid_util_var_tosave in $squid_ecap_state_squid_saved_vars +do + squid_util_var_tosave2="squid_ecap_state_${squid_util_var_tosave}" + eval "${squid_util_var_tosave2}=\"${squid_util_var_tosave}\"" +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lecap will link" >&5 +$as_echo_n "checking whether -lecap will link... " >&6; } + CXXFLAGS="$CXXFLAGS $EXT_LIBECAP_CFLAGS" + LIBS="$LIBS $EXT_LIBECAP_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + + const libecap::Name test("test", libecap::Name::NextId()); + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } squid_opt_use_adaptation=yes + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + if test "x$squid_opt_use_ecap" = "xyes"; then : + as_fn_error $? "eCAP library will not link. + You may need to rebuild libecap using the same version of GCC as Squid. + There have been breaking ABI changes in the libstdc++ STL with GCC 5." "$LINENO" 5 +else + { $as_echo "$as_me:${as_lineno-$LINENO}: eCAP library will not link. + You may need to rebuild libecap using the same version of GCC as Squid. + There have been breaking ABI changes in the libstdc++ STL with GCC 5." >&5 +$as_echo "$as_me: eCAP library will not link. + You may need to rebuild libecap using the same version of GCC as Squid. + There have been breaking ABI changes in the libstdc++ STL with GCC 5." >&6;} + squid_opt_use_ecap="no" + +fi + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +# rollback state, key is squid_ecap_state +CFLAGS="${squid_ecap_state_CFLAGS}" +CXXFLAGS="${squid_ecap_state_CXXFLAGS}" +LDFLAGS="${squid_ecap_state_LDFLAGS}" +LIBS="${squid_ecap_state_LIBS}" +CC="${squid_ecap_state_CC}" +CXX="${squid_ecap_state_CXX}" +CPPFLAGS="${squid_ecap_state_CPPFLAGS}" +for squid_util_var_tosave in $squid_ecap_state_squid_saved_vars +do + squid_util_var_tosave2="\$squid_ecap_state_${squid_util_var_tosave}" + eval "$squid_util_var_tosave=\"${squid_util_var_tosave2}\"" +done + +# commit state, key is squid_ecap_state +unset squid_ecap_state_CFLAGS +unset squid_ecap_state_CXXFLAGS +unset squid_ecap_state_LDFLAGS +unset squid_ecap_state_LIBS +unset squid_ecap_state_CC +unset squid_ecap_state_CXX +unset squid_ecap_state_CPPFLAGS +for squid_util_var_tosave in $squid_ecap_state_squid_saved_vars +do + unset ${squid_util_var_tosave} +done + + fi squid_tmp_define="" @@ -22680,7 +22721,6 @@ fi - ADAPTATION_LIBS="" if test "x$squid_opt_use_adaptation" = "xyes"; then ADAPTATION_LIBS="adaptation/libadaptation.la" @@ -32822,7 +32862,7 @@ fi AUTH_MODULES="" -require_smblib=0 +require_smblib="no" # Check whether --enable-auth-basic was given. if test "${enable_auth_basic+set}" = set; then : @@ -33374,7 +33414,9 @@ done - require_smblib=`test "x$BUILD_HELPER" = "xSMB_LM"` + if test "x$BUILD_HELPER" = "xSMB_LM"; then : + require_smblib="yes" +fi fi @@ -33947,7 +33989,9 @@ done - require_smblib=`test "x$BUILD_HELPER" = "xSMB_LM"` + if test "x$BUILD_HELPER" = "xSMB_LM"; then : + require_smblib="yes" +fi fi @@ -34052,7 +34096,7 @@ done - if $require_smblib; then + if test "x$require_smblib" = "xyes"; then ENABLE_SMBLIB_TRUE= ENABLE_SMBLIB_FALSE='#' else @@ -35376,43 +35420,104 @@ $as_echo "$as_me: X-Accelerator-Vary support enabled: $enable_x_accelerator_vary" >&6;} -if $CPPUNITCONFIG --help >/dev/null; then - squid_cv_cppunit_version="`$CPPUNITCONFIG --version`" - { $as_echo "$as_me:${as_lineno-$LINENO}: using system installed cppunit version $squid_cv_cppunit_version" >&5 -$as_echo "$as_me: using system installed cppunit version $squid_cv_cppunit_version" >&6;} - unset squid_cv_cppunit_version - SQUID_CPPUNIT_LIBS="`$CPPUNITCONFIG --libs`" - SQUID_CPPUNIT_LA='' - SQUID_CPPUNIT_INC="`$CPPUNITCONFIG --cflags`" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail." >&5 -$as_echo "$as_me: WARNING: cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail." >&2;} - SQUID_CPPUNIT_LA='' - SQUID_CPPUNIT_LIBS='' - SQUID_CPPUNIT_INC='' +# Check whether --with-cppunit was given. +if test "${with_cppunit+set}" = set; then : + withval=$with_cppunit; + case $with_cppunit in #( + yes|no) : + ;; #( + *) : + + if test ! -d "$withval"; then : + as_fn_error $? "--with-cppunit PATH does not point to a directory" "$LINENO" 5 +fi + LIBCPPUNIT_CFLAGS="-I$with_cppunit/include" + LIBCPPUNIT_LIBS="-L$with_cppunit/lib -lcppunit" + ;; +esac + fi +if test "x$with_cppunit" != "xno"; then : -# Check whether --with-cppunit-basedir was given. -if test "${with_cppunit_basedir+set}" = set; then : - withval=$with_cppunit_basedir; -if test -f "$withval/include/cppunit/TestCase.h"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using cppunit includes from $withval" >&5 -$as_echo "$as_me: Using cppunit includes from $withval" >&6;} - SQUID_CPPUNIT_INC="-I${withval}/include" -else - as_fn_error $? "Cannot find cppunit at $withval" "$LINENO" 5 -fi -if test -f "$withval/lib/libcppunit.la"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using cppunit lib from $withval" >&5 -$as_echo "$as_me: Using cppunit lib from $withval" >&6;} - SQUID_CPPUNIT_LA="${withval}/lib/libcppunit.la" - SQUID_CPPUNIT_LIBS='$(SQUID_CPPUNIT_LA)' + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCPPUNIT" >&5 +$as_echo_n "checking for LIBCPPUNIT... " >&6; } + +if test -n "$LIBCPPUNIT_CFLAGS"; then + pkg_cv_LIBCPPUNIT_CFLAGS="$LIBCPPUNIT_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBCPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit" 2>/dev/null` else - as_fn_error $? "Cannot find cppunit at $withval" "$LINENO" 5 + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBCPPUNIT_LIBS"; then + pkg_cv_LIBCPPUNIT_LIBS="$LIBCPPUNIT_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBCPPUNIT_LIBS=`$PKG_CONFIG --libs "cppunit" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried fi + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no fi + if test $_pkg_short_errors_supported = yes; then + LIBCPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cppunit" 2>&1` + else + LIBCPPUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "cppunit" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBCPPUNIT_PKG_ERRORS" >&5 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cppunit does not appear to be installed. Squid does not require this, but code testing with 'make check' will fail." >&5 +$as_echo "$as_me: WARNING: cppunit does not appear to be installed. Squid does not require this, but code testing with 'make check' will fail." >&2;} + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cppunit does not appear to be installed. Squid does not require this, but code testing with 'make check' will fail." >&5 +$as_echo "$as_me: WARNING: cppunit does not appear to be installed. Squid does not require this, but code testing with 'make check' will fail." >&2;} + +else + LIBCPPUNIT_CFLAGS=$pkg_cv_LIBCPPUNIT_CFLAGS + LIBCPPUNIT_LIBS=$pkg_cv_LIBCPPUNIT_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + squid_cv_cppunit_version="`pkg-config cppunit --version`" + { $as_echo "$as_me:${as_lineno-$LINENO}: using system installed cppunit version $squid_cv_cppunit_version" >&5 +$as_echo "$as_me: using system installed cppunit version $squid_cv_cppunit_version" >&6;} + { squid_cv_cppunit_version=; unset squid_cv_cppunit_version;} # save state, key is squid_cppunit_state @@ -35430,8 +35535,9 @@ eval "${squid_util_var_tosave2}=\"${squid_util_var_tosave}\"" done -CXXFLAGS="$CXXFLAGS $SQUID_CPPUNIT_INC" -for ac_header in cppunit/extensions/HelperMacros.h + as_fn_append CXXFLAGS $LIBCPPUNIT_CFLAGS + as_fn_append LIBS $LIBCPPUNIT_LIBS + for ac_header in cppunit/extensions/HelperMacros.h do : ac_fn_cxx_check_header_mongrel "$LINENO" "cppunit/extensions/HelperMacros.h" "ac_cv_header_cppunit_extensions_HelperMacros_h" "$ac_includes_default" if test "x$ac_cv_header_cppunit_extensions_HelperMacros_h" = xyes; then : @@ -35473,8 +35579,9 @@ +fi - +fi # Force some compilers to use ANSI features # @@ -42492,7 +42599,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Squid Web Proxy $as_me 4.0.11, which was +This file was extended by Squid Web Proxy $as_me 4.0.12, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -42558,7 +42665,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -Squid Web Proxy config.status 4.0.11 +Squid Web Proxy config.status 4.0.12 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -u -r -N squid-4.0.11/configure.ac squid-4.0.12/configure.ac --- squid-4.0.11/configure.ac 2016-06-10 08:35:21.000000000 +1200 +++ squid-4.0.12/configure.ac 2016-07-02 01:29:17.000000000 +1200 @@ -5,7 +5,7 @@ ## Please see the COPYING and CONTRIBUTORS files for details. ## -AC_INIT([Squid Web Proxy],[4.0.11],[http://bugs.squid-cache.org/],[squid]) +AC_INIT([Squid Web Proxy],[4.0.12],[http://bugs.squid-cache.org/],[squid]) AC_PREREQ(2.61) AC_CONFIG_HEADERS([include/autoconf.h]) AC_CONFIG_AUX_DIR(cfgaux) @@ -115,10 +115,11 @@ AC_PATH_PROG(CHMOD, chmod, $FALSE) AC_PATH_PROG(TR, tr, $FALSE) AC_PATH_PROG(RM, rm, $FALSE) -AC_PATH_PROG(CPPUNITCONFIG, cppunit-config, false) dnl Libtool 2.2.6 requires: rm -f RM="$RM -f" +PKG_PROG_PKG_CONFIG + AC_PATH_PROG(PERL, perl, none) if test "x$ac_cv_path_PERL" = "xnone"; then AC_MSG_FAILURE([Perl is required to compile Squid. Please install Perl and then re-run configure ]) @@ -966,13 +967,8 @@ SQUID_YESNO([$enableval],[Unrecognized argument to --disable-icap-client: $enableval]) ]) SQUID_DEFINE_BOOL(ICAP_CLIENT,${enable_icap_client:=yes}, [Enable ICAP client features in Squid]) -ICAP_LIBS="" -if test "x$enable_icap_client" != "xno" ; then - ICAP_LIBS="icap/libicap.la" - squid_opt_use_adaptation=yes -fi +AS_IF(test "x$enable_icap_client" != "xno", squid_opt_use_adaptation="yes") AM_CONDITIONAL(ENABLE_ICAP_CLIENT, test "x$enable_icap_client" != "xno") -AC_SUBST(ICAP_LIBS) squid_opt_use_ecap=1 AC_MSG_CHECKING(whether to support eCAP) @@ -989,9 +985,6 @@ ] ) -dnl Necessary if the first PKG_CHECK_MODULES call is conditional -PKG_PROG_PKG_CONFIG - dnl Perform configuration consistency checks for eCAP if test "x$squid_opt_use_ecap" != "xno"; then @@ -1010,16 +1003,33 @@ else AC_MSG_NOTICE([eCAP support requires pkg-config to verify the correct library version. Trouble may follow.]) fi -fi -ECAP_LIBS="" -if test "x$squid_opt_use_ecap" = "xyes"; then - ECAP_LIBS="ecap/libecapsquid.la" + SQUID_STATE_SAVE(squid_ecap_state) + AC_MSG_CHECKING([whether -lecap will link]) + CXXFLAGS="$CXXFLAGS $EXT_LIBECAP_CFLAGS" + LIBS="$LIBS $EXT_LIBECAP_LIBS" + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],[[ + const libecap::Name test("test", libecap::Name::NextId()); + ]])],[ + AC_MSG_RESULT(yes) squid_opt_use_adaptation=yes + ],[ + AC_MSG_RESULT(no) + AS_IF( + test "x$squid_opt_use_ecap" = "xyes", AC_MSG_ERROR([eCAP library will not link. + You may need to rebuild libecap using the same version of GCC as Squid. + There have been breaking ABI changes in the libstdc++ STL with GCC 5.]), + + [AC_MSG_NOTICE([eCAP library will not link. + You may need to rebuild libecap using the same version of GCC as Squid. + There have been breaking ABI changes in the libstdc++ STL with GCC 5.]) + squid_opt_use_ecap="no" + ]) + ]) + SQUID_STATE_ROLLBACK(squid_ecap_state) fi SQUID_DEFINE_BOOL(USE_ECAP,${squid_opt_use_ecap:=no},[Whether to use eCAP support]) AM_CONDITIONAL(ENABLE_ECAP, test "x$squid_opt_use_ecap" = "xyes") -AC_SUBST(ECAP_LIBS) dnl enable adaptation if requested by specific adaptation mechanisms ADAPTATION_LIBS="" @@ -2472,7 +2482,7 @@ SQUID_DEFINE_BOOL(USE_AUTH,$enable_auth,[Enable support for authentication]) AM_CONDITIONAL(ENABLE_AUTH, test "x$enable_auth" != "xno") AUTH_MODULES="" -require_smblib=0 +require_smblib="no" AC_ARG_ENABLE(auth-basic, AS_HELP_STRING([--enable-auth-basic="list of helpers"], @@ -2532,7 +2542,7 @@ done AC_SUBST(AUTH_MODULES) AC_SUBST(AUTH_LIBS_TO_BUILD) -AM_CONDITIONAL(ENABLE_SMBLIB, $require_smblib) +AM_CONDITIONAL(ENABLE_SMBLIB, test "x$require_smblib" = "xyes") dnl Select logging daemon helpers to build AC_ARG_ENABLE(log-daemon-helpers, @@ -2713,45 +2723,29 @@ [Enable support for the X-Accelerator-Vary HTTP header]) AC_MSG_NOTICE([X-Accelerator-Vary support enabled: $enable_x_accelerator_vary]) - -if $CPPUNITCONFIG --help >/dev/null; then - squid_cv_cppunit_version="`$CPPUNITCONFIG --version`" - AC_MSG_NOTICE([using system installed cppunit version $squid_cv_cppunit_version]) - unset squid_cv_cppunit_version - SQUID_CPPUNIT_LIBS="`$CPPUNITCONFIG --libs`" - SQUID_CPPUNIT_LA='' - SQUID_CPPUNIT_INC="`$CPPUNITCONFIG --cflags`" -else - AC_MSG_WARN([cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail.]) - SQUID_CPPUNIT_LA='' - SQUID_CPPUNIT_LIBS='' - SQUID_CPPUNIT_INC='' -fi - -AC_ARG_WITH(cppunit-basedir, - AS_HELP_STRING([--with-cppunit-basedir=PATH], - [Path where the cppunit headers are libraries can be found ]), [ -if test -f "$withval/include/cppunit/TestCase.h"; then - AC_MSG_NOTICE([Using cppunit includes from $withval]) - SQUID_CPPUNIT_INC="-I${withval}/include" -else - AC_MSG_ERROR(Cannot find cppunit at $withval) -fi -if test -f "$withval/lib/libcppunit.la"; then - AC_MSG_NOTICE([Using cppunit lib from $withval]) - SQUID_CPPUNIT_LA="${withval}/lib/libcppunit.la" - SQUID_CPPUNIT_LIBS='$(SQUID_CPPUNIT_LA)' -else - AC_MSG_ERROR(Cannot find cppunit at $withval) -fi +AC_ARG_WITH([cppunit], AS_HELP_STRING([--without-cppunit],[Do not use cppunit test framework]),[ + AS_CASE($with_cppunit, [yes|no],[], + [ + AS_IF([test ! -d "$withval"],AC_MSG_ERROR([--with-cppunit PATH does not point to a directory])) + LIBCPPUNIT_CFLAGS="-I$with_cppunit/include" + LIBCPPUNIT_LIBS="-L$with_cppunit/lib -lcppunit" + ]) +]) +AS_IF([test "x$with_cppunit" != "xno"],[ + PKG_CHECK_MODULES([LIBCPPUNIT],[cppunit],[ + squid_cv_cppunit_version="`pkg-config cppunit --version`" + AC_MSG_NOTICE([using system installed cppunit version $squid_cv_cppunit_version]) + AS_UNSET(squid_cv_cppunit_version) + + SQUID_STATE_SAVE(squid_cppunit_state) + AS_VAR_APPEND(CXXFLAGS,[$LIBCPPUNIT_CFLAGS]) + AS_VAR_APPEND(LIBS,[$LIBCPPUNIT_LIBS]) + AC_CHECK_HEADERS(cppunit/extensions/HelperMacros.h) + SQUID_STATE_ROLLBACK(squid_cppunit_state) + ],[ + AC_MSG_WARN([cppunit does not appear to be installed. Squid does not require this, but code testing with 'make check' will fail.]) + ]) ]) -SQUID_STATE_SAVE(squid_cppunit_state) -CXXFLAGS="$CXXFLAGS $SQUID_CPPUNIT_INC" -AC_CHECK_HEADERS(cppunit/extensions/HelperMacros.h) -SQUID_STATE_ROLLBACK(squid_cppunit_state) -AC_SUBST(SQUID_CPPUNIT_LIBS) -AC_SUBST(SQUID_CPPUNIT_LA) -AC_SUBST(SQUID_CPPUNIT_INC) # Force some compilers to use ANSI features # diff -u -r -N squid-4.0.11/contrib/Makefile.in squid-4.0.12/contrib/Makefile.in --- squid-4.0.11/contrib/Makefile.in 2016-06-10 08:34:20.000000000 +1200 +++ squid-4.0.12/contrib/Makefile.in 2016-07-02 01:28:12.000000000 +1200 @@ -212,7 +212,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -231,7 +230,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -247,7 +245,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -264,6 +261,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -337,9 +336,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/doc/Makefile.in squid-4.0.12/doc/Makefile.in --- squid-4.0.11/doc/Makefile.in 2016-06-10 08:34:20.000000000 +1200 +++ squid-4.0.12/doc/Makefile.in 2016-07-02 01:28:12.000000000 +1200 @@ -267,7 +267,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -286,7 +285,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -302,7 +300,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -319,6 +316,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -392,9 +391,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/doc/manuals/Makefile.in squid-4.0.12/doc/manuals/Makefile.in --- squid-4.0.11/doc/manuals/Makefile.in 2016-06-10 08:34:21.000000000 +1200 +++ squid-4.0.12/doc/manuals/Makefile.in 2016-07-02 01:28:12.000000000 +1200 @@ -207,7 +207,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -226,7 +225,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -242,7 +240,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -259,6 +256,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -332,9 +331,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/doc/release-notes/Makefile.in squid-4.0.12/doc/release-notes/Makefile.in --- squid-4.0.11/doc/release-notes/Makefile.in 2016-06-10 08:34:21.000000000 +1200 +++ squid-4.0.12/doc/release-notes/Makefile.in 2016-07-02 01:28:13.000000000 +1200 @@ -207,7 +207,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -226,7 +225,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -242,7 +240,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -259,6 +256,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -332,9 +331,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/doc/release-notes/release-4.html squid-4.0.12/doc/release-notes/release-4.html --- squid-4.0.11/doc/release-notes/release-4.html 2016-06-10 09:27:51.000000000 +1200 +++ squid-4.0.12/doc/release-notes/release-4.html 2016-07-02 02:22:44.000000000 +1200 @@ -2,10 +2,10 @@ - Squid 4.0.11 release notes + Squid 4.0.12 release notes -

Squid 4.0.11 release notes

+

Squid 4.0.12 release notes

Squid Developers


@@ -61,7 +61,7 @@

1. Notice

-

The Squid Team are pleased to announce the release of Squid-4.0.11 for testing.

+

The Squid Team are pleased to announce the release of Squid-4.0.12 for testing.

This new release is available for download from http://www.squid-cache.org/Versions/v4/ or the mirrors.

@@ -495,6 +495,10 @@ certificate checks is provided for testing and as an example for writing custom helpers.

+
--without-cppunit
+

The cppunit testing framework is auto-detected and used when available. +This option can be used to disable it explicitly.

+

@@ -526,6 +530,9 @@

+
--with-cppunit-basedir
+

Replaced by --with-cppunit=PATH. +Please prefer the default auto-detection though.

diff -u -r -N squid-4.0.11/errors/Makefile.in squid-4.0.12/errors/Makefile.in --- squid-4.0.11/errors/Makefile.in 2016-06-10 08:34:21.000000000 +1200 +++ squid-4.0.12/errors/Makefile.in 2016-07-02 01:28:13.000000000 +1200 @@ -208,7 +208,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -227,7 +226,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -243,7 +241,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -260,6 +257,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -333,9 +332,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/icons/Makefile.in squid-4.0.12/icons/Makefile.in --- squid-4.0.11/icons/Makefile.in 2016-06-10 08:34:21.000000000 +1200 +++ squid-4.0.12/icons/Makefile.in 2016-07-02 01:28:13.000000000 +1200 @@ -237,7 +237,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -256,7 +255,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -272,7 +270,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -289,6 +286,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -362,9 +361,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/include/version.h squid-4.0.12/include/version.h --- squid-4.0.11/include/version.h 2016-06-10 08:35:21.000000000 +1200 +++ squid-4.0.12/include/version.h 2016-07-02 01:29:18.000000000 +1200 @@ -7,7 +7,7 @@ */ #ifndef SQUID_RELEASE_TIME -#define SQUID_RELEASE_TIME 1465504370 +#define SQUID_RELEASE_TIME 1467379594 #endif /* diff -u -r -N squid-4.0.11/lib/libTrie/Makefile.in squid-4.0.12/lib/libTrie/Makefile.in --- squid-4.0.11/lib/libTrie/Makefile.in 2016-06-10 08:34:22.000000000 +1200 +++ squid-4.0.12/lib/libTrie/Makefile.in 2016-07-02 01:28:14.000000000 +1200 @@ -531,7 +531,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -550,7 +549,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -566,7 +564,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -583,6 +580,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -656,9 +655,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -759,7 +755,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/lib/libTrie/test/Makefile.in squid-4.0.12/lib/libTrie/test/Makefile.in --- squid-4.0.11/lib/libTrie/test/Makefile.in 2016-06-10 08:34:23.000000000 +1200 +++ squid-4.0.12/lib/libTrie/test/Makefile.in 2016-07-02 01:28:15.000000000 +1200 @@ -462,7 +462,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -481,7 +480,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -497,7 +495,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -514,6 +511,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -587,9 +586,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -689,7 +685,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(top_srcdir)/include @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/lib/Makefile.am squid-4.0.12/lib/Makefile.am --- squid-4.0.11/lib/Makefile.am 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/lib/Makefile.am 2016-07-02 01:26:44.000000000 +1200 @@ -88,9 +88,9 @@ tests/testRFC1738.cc tests_testRFC1738_LDADD= \ - $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) \ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) tests_testRFC1738_LDFLAGS = $(LIBADD_DL) diff -u -r -N squid-4.0.11/lib/Makefile.in squid-4.0.12/lib/Makefile.in --- squid-4.0.11/lib/Makefile.in 2016-06-10 08:34:22.000000000 +1200 +++ squid-4.0.12/lib/Makefile.in 2016-07-02 01:28:14.000000000 +1200 @@ -204,9 +204,10 @@ @ENABLE_XPROF_STATS_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/lib/profiler/libprofiler.la am__DEPENDENCIES_3 = $(top_builddir)/compat/libcompatsquid.la \ $(am__DEPENDENCIES_2) -tests_testRFC1738_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(top_builddir)/lib/libmiscencoding.la \ - $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_3) +tests_testRFC1738_DEPENDENCIES = \ + $(top_builddir)/lib/libmiscencoding.la \ + $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_3) tests_testRFC1738_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testRFC1738_LDFLAGS) \ @@ -570,7 +571,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -589,7 +589,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -605,7 +604,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -622,6 +620,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -695,9 +695,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -797,7 +794,7 @@ CLEANFILES = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la @@ -848,9 +845,9 @@ tests/testRFC1738.cc tests_testRFC1738_LDADD = \ - $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS) \ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) tests_testRFC1738_LDFLAGS = $(LIBADD_DL) diff -u -r -N squid-4.0.11/lib/ntlmauth/Makefile.in squid-4.0.12/lib/ntlmauth/Makefile.in --- squid-4.0.11/lib/ntlmauth/Makefile.in 2016-06-10 08:34:23.000000000 +1200 +++ squid-4.0.12/lib/ntlmauth/Makefile.in 2016-07-02 01:28:15.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(top_srcdir)/lib @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/lib/profiler/Makefile.in squid-4.0.12/lib/profiler/Makefile.in --- squid-4.0.11/lib/profiler/Makefile.in 2016-06-10 08:34:23.000000000 +1200 +++ squid-4.0.12/lib/profiler/Makefile.in 2016-07-02 01:28:16.000000000 +1200 @@ -486,7 +486,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -505,7 +504,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -521,7 +519,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -538,6 +535,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -611,9 +610,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -714,7 +710,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/lib/rfcnb/Makefile.in squid-4.0.12/lib/rfcnb/Makefile.in --- squid-4.0.11/lib/rfcnb/Makefile.in 2016-06-10 08:34:24.000000000 +1200 +++ squid-4.0.12/lib/rfcnb/Makefile.in 2016-07-02 01:28:16.000000000 +1200 @@ -462,7 +462,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -481,7 +480,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -497,7 +495,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -514,6 +511,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -587,9 +586,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -689,7 +685,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(top_srcdir)/lib @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/lib/smblib/Makefile.in squid-4.0.12/lib/smblib/Makefile.in --- squid-4.0.11/lib/smblib/Makefile.in 2016-06-10 08:34:24.000000000 +1200 +++ squid-4.0.12/lib/smblib/Makefile.in 2016-07-02 01:28:16.000000000 +1200 @@ -463,7 +463,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -482,7 +481,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -498,7 +496,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -515,6 +512,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -588,9 +587,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -690,7 +686,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(top_srcdir)/lib @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/lib/smblib/smblib.c squid-4.0.12/lib/smblib/smblib.c --- squid-4.0.11/lib/smblib/smblib.c 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/lib/smblib/smblib.c 2016-07-02 01:26:44.000000000 +1200 @@ -150,12 +150,12 @@ service we are going to call, sine some servers want it in uppercase */ for (i=0; i < strlen(server); i++) - called[i] = toupper(server[i]); + called[i] = xtoupper(server[i]); called[strlen(server)] = 0; /* Make it a string */ for (i=0; i < strlen(con -> myname); i++) - calling[i] = toupper(con -> myname[i]); + calling[i] = xtoupper(con -> myname[i]); calling[strlen(con -> myname)] = 0; /* Make it a string */ @@ -266,12 +266,12 @@ service we are going to call, sine some servers want it in uppercase */ for (i=0; i < strlen(host); i++) - called[i] = toupper(host[i]); + called[i] = xtoupper(host[i]); called[strlen(host)] = 0; /* Make it a string */ for (i=0; i < strlen(con -> myname); i++) - calling[i] = toupper(con -> myname[i]); + calling[i] = xtoupper(con -> myname[i]); calling[strlen(con -> myname)] = 0; /* Make it a string */ diff -u -r -N squid-4.0.11/lib/snmplib/Makefile.in squid-4.0.12/lib/snmplib/Makefile.in --- squid-4.0.11/lib/snmplib/Makefile.in 2016-06-10 08:34:25.000000000 +1200 +++ squid-4.0.12/lib/snmplib/Makefile.in 2016-07-02 01:28:17.000000000 +1200 @@ -258,7 +258,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -277,7 +276,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -293,7 +291,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -310,6 +307,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -383,9 +382,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/Makefile.am squid-4.0.12/Makefile.am --- squid-4.0.11/Makefile.am 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/Makefile.am 2016-07-02 01:26:44.000000000 +1200 @@ -48,7 +48,7 @@ check: have-cppunit check-recursive have-cppunit: - @if test "$(SQUID_CPPUNIT_INC)$(SQUID_CPPUNIT_LA)$(SQUID_CPPUNIT_LIBS)" = "" ; then \ + @if test "$(LIBCPPUNIT_CFLAGS)$(LIBCPPUNIT_LIBS)" = "" ; then \ echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \ exit 1 ; \ fi diff -u -r -N squid-4.0.11/Makefile.in squid-4.0.12/Makefile.in --- squid-4.0.11/Makefile.in 2016-06-10 08:34:20.000000000 +1200 +++ squid-4.0.12/Makefile.in 2016-07-02 01:28:11.000000000 +1200 @@ -295,7 +295,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -314,7 +313,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -330,7 +328,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -347,6 +344,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -420,9 +419,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -1020,7 +1016,7 @@ check: have-cppunit check-recursive have-cppunit: - @if test "$(SQUID_CPPUNIT_INC)$(SQUID_CPPUNIT_LA)$(SQUID_CPPUNIT_LIBS)" = "" ; then \ + @if test "$(LIBCPPUNIT_CFLAGS)$(LIBCPPUNIT_LIBS)" = "" ; then \ echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \ exit 1 ; \ fi diff -u -r -N squid-4.0.11/RELEASENOTES.html squid-4.0.12/RELEASENOTES.html --- squid-4.0.11/RELEASENOTES.html 2016-06-10 09:27:51.000000000 +1200 +++ squid-4.0.12/RELEASENOTES.html 2016-07-02 02:22:44.000000000 +1200 @@ -2,10 +2,10 @@ - Squid 4.0.11 release notes + Squid 4.0.12 release notes -

Squid 4.0.11 release notes

+

Squid 4.0.12 release notes

Squid Developers


@@ -61,7 +61,7 @@

1. Notice

-

The Squid Team are pleased to announce the release of Squid-4.0.11 for testing.

+

The Squid Team are pleased to announce the release of Squid-4.0.12 for testing.

This new release is available for download from http://www.squid-cache.org/Versions/v4/ or the mirrors.

@@ -495,6 +495,10 @@ certificate checks is provided for testing and as an example for writing custom helpers.

+
--without-cppunit
+

The cppunit testing framework is auto-detected and used when available. +This option can be used to disable it explicitly.

+

@@ -526,6 +530,9 @@

+
--with-cppunit-basedir
+

Replaced by --with-cppunit=PATH. +Please prefer the default auto-detection though.

diff -u -r -N squid-4.0.11/scripts/find-alive.pl squid-4.0.12/scripts/find-alive.pl --- squid-4.0.11/scripts/find-alive.pl 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/scripts/find-alive.pl 2016-07-02 01:26:44.000000000 +1200 @@ -97,8 +97,12 @@ } elsif (my @deIds = (/$reDestructor/)) { my $id = join(':', @deIds); - #warn("unborn: $_") unless $AliveCount{$id}; - $AliveImage{$id} = undef() unless --$AliveCount{$id}; + if ($AliveCount{$id}) { + $AliveImage{$id} = undef() unless --$AliveCount{$id}; + } else { + #warn("unborn: $_"); + # do nothing; we are probably looking at a partial log + } } } diff -u -r -N squid-4.0.11/scripts/Makefile.in squid-4.0.12/scripts/Makefile.in --- squid-4.0.11/scripts/Makefile.in 2016-06-10 08:34:25.000000000 +1200 +++ squid-4.0.12/scripts/Makefile.in 2016-07-02 01:28:17.000000000 +1200 @@ -210,7 +210,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -229,7 +228,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -245,7 +243,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -262,6 +259,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -335,9 +334,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/src/acl/external/AD_group/Makefile.in squid-4.0.12/src/acl/external/AD_group/Makefile.in --- squid-4.0.11/src/acl/external/AD_group/Makefile.in 2016-06-10 08:34:31.000000000 +1200 +++ squid-4.0.12/src/acl/external/AD_group/Makefile.in 2016-07-02 01:28:24.000000000 +1200 @@ -472,7 +472,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -491,7 +490,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -507,7 +505,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -524,6 +521,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -597,9 +596,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -699,7 +695,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/delayer/ext_delayer_acl.8 squid-4.0.12/src/acl/external/delayer/ext_delayer_acl.8 --- squid-4.0.11/src/acl/external/delayer/ext_delayer_acl.8 2016-06-10 09:28:37.000000000 +1200 +++ squid-4.0.12/src/acl/external/delayer/ext_delayer_acl.8 2016-07-02 02:23:27.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "EXT_DELAYER_ACL 8" -.TH EXT_DELAYER_ACL 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH EXT_DELAYER_ACL 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/acl/external/delayer/Makefile.in squid-4.0.12/src/acl/external/delayer/Makefile.in --- squid-4.0.11/src/acl/external/delayer/Makefile.in 2016-06-10 08:34:33.000000000 +1200 +++ squid-4.0.12/src/acl/external/delayer/Makefile.in 2016-07-02 01:28:26.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = ext_delayer_acl $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/eDirectory_userip/Makefile.in squid-4.0.12/src/acl/external/eDirectory_userip/Makefile.in --- squid-4.0.11/src/acl/external/eDirectory_userip/Makefile.in 2016-06-10 08:34:33.000000000 +1200 +++ squid-4.0.12/src/acl/external/eDirectory_userip/Makefile.in 2016-07-02 01:28:27.000000000 +1200 @@ -475,7 +475,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -494,7 +493,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -510,7 +508,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -527,6 +524,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -600,9 +599,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -702,7 +698,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/file_userip/Makefile.in squid-4.0.12/src/acl/external/file_userip/Makefile.in --- squid-4.0.11/src/acl/external/file_userip/Makefile.in 2016-06-10 08:34:34.000000000 +1200 +++ squid-4.0.12/src/acl/external/file_userip/Makefile.in 2016-07-02 01:28:27.000000000 +1200 @@ -473,7 +473,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/kerberos_ldap_group/Makefile.in squid-4.0.12/src/acl/external/kerberos_ldap_group/Makefile.in --- squid-4.0.11/src/acl/external/kerberos_ldap_group/Makefile.in 2016-06-10 08:34:34.000000000 +1200 +++ squid-4.0.12/src/acl/external/kerberos_ldap_group/Makefile.in 2016-07-02 01:28:28.000000000 +1200 @@ -503,7 +503,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -522,7 +521,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -538,7 +536,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -555,6 +552,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -628,9 +627,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -730,7 +726,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(srcdir) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/LDAP_group/Makefile.in squid-4.0.12/src/acl/external/LDAP_group/Makefile.in --- squid-4.0.11/src/acl/external/LDAP_group/Makefile.in 2016-06-10 08:34:32.000000000 +1200 +++ squid-4.0.12/src/acl/external/LDAP_group/Makefile.in 2016-07-02 01:28:25.000000000 +1200 @@ -475,7 +475,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -494,7 +493,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -510,7 +508,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -527,6 +524,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -600,9 +599,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -702,7 +698,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/LM_group/Makefile.in squid-4.0.12/src/acl/external/LM_group/Makefile.in --- squid-4.0.11/src/acl/external/LM_group/Makefile.in 2016-06-10 08:34:32.000000000 +1200 +++ squid-4.0.12/src/acl/external/LM_group/Makefile.in 2016-07-02 01:28:25.000000000 +1200 @@ -473,7 +473,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/Makefile.in squid-4.0.12/src/acl/external/Makefile.in --- squid-4.0.11/src/acl/external/Makefile.in 2016-06-10 08:34:32.000000000 +1200 +++ squid-4.0.12/src/acl/external/Makefile.in 2016-07-02 01:28:25.000000000 +1200 @@ -266,7 +266,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -285,7 +284,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -301,7 +299,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -318,6 +315,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -391,9 +390,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/src/acl/external/session/Makefile.in squid-4.0.12/src/acl/external/session/Makefile.in --- squid-4.0.11/src/acl/external/session/Makefile.in 2016-06-10 08:34:35.000000000 +1200 +++ squid-4.0.12/src/acl/external/session/Makefile.in 2016-07-02 01:28:28.000000000 +1200 @@ -472,7 +472,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -491,7 +490,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -507,7 +505,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -524,6 +521,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -597,9 +596,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -699,7 +695,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/SQL_session/ext_sql_session_acl.8 squid-4.0.12/src/acl/external/SQL_session/ext_sql_session_acl.8 --- squid-4.0.11/src/acl/external/SQL_session/ext_sql_session_acl.8 2016-06-10 09:28:45.000000000 +1200 +++ squid-4.0.12/src/acl/external/SQL_session/ext_sql_session_acl.8 2016-07-02 02:23:34.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "EXT_SQL_SESSION_ACL 8" -.TH EXT_SQL_SESSION_ACL 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH EXT_SQL_SESSION_ACL 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/acl/external/SQL_session/Makefile.in squid-4.0.12/src/acl/external/SQL_session/Makefile.in --- squid-4.0.11/src/acl/external/SQL_session/Makefile.in 2016-06-10 08:34:33.000000000 +1200 +++ squid-4.0.12/src/acl/external/SQL_session/Makefile.in 2016-07-02 01:28:26.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = ext_sql_session_acl $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/time_quota/Makefile.in squid-4.0.12/src/acl/external/time_quota/Makefile.in --- squid-4.0.11/src/acl/external/time_quota/Makefile.in 2016-06-10 08:34:35.000000000 +1200 +++ squid-4.0.12/src/acl/external/time_quota/Makefile.in 2016-07-02 01:28:29.000000000 +1200 @@ -472,7 +472,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/unix_group/Makefile.in squid-4.0.12/src/acl/external/unix_group/Makefile.in --- squid-4.0.11/src/acl/external/unix_group/Makefile.in 2016-06-10 08:34:36.000000000 +1200 +++ squid-4.0.12/src/acl/external/unix_group/Makefile.in 2016-07-02 01:28:29.000000000 +1200 @@ -473,7 +473,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/external/wbinfo_group/ext_wbinfo_group_acl.8 squid-4.0.12/src/acl/external/wbinfo_group/ext_wbinfo_group_acl.8 --- squid-4.0.11/src/acl/external/wbinfo_group/ext_wbinfo_group_acl.8 2016-06-10 09:28:48.000000000 +1200 +++ squid-4.0.12/src/acl/external/wbinfo_group/ext_wbinfo_group_acl.8 2016-07-02 02:23:38.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "EXT_WBINFO_GROUP_ACL 8" -.TH EXT_WBINFO_GROUP_ACL 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH EXT_WBINFO_GROUP_ACL 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/acl/external/wbinfo_group/Makefile.in squid-4.0.12/src/acl/external/wbinfo_group/Makefile.in --- squid-4.0.11/src/acl/external/wbinfo_group/Makefile.in 2016-06-10 08:34:36.000000000 +1200 +++ squid-4.0.12/src/acl/external/wbinfo_group/Makefile.in 2016-07-02 01:28:29.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = ext_wbinfo_group_acl $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/acl/Makefile.in squid-4.0.12/src/acl/Makefile.in --- squid-4.0.11/src/acl/Makefile.in 2016-06-10 08:34:31.000000000 +1200 +++ squid-4.0.12/src/acl/Makefile.in 2016-07-02 01:28:23.000000000 +1200 @@ -587,7 +587,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -606,7 +605,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -622,7 +620,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -639,6 +636,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -712,9 +711,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -815,7 +811,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/adaptation/ecap/Makefile.in squid-4.0.12/src/adaptation/ecap/Makefile.in --- squid-4.0.11/src/adaptation/ecap/Makefile.in 2016-06-10 08:34:37.000000000 +1200 +++ squid-4.0.12/src/adaptation/ecap/Makefile.in 2016-07-02 01:28:31.000000000 +1200 @@ -489,7 +489,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -508,7 +507,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -524,7 +522,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -541,6 +538,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -614,9 +613,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -717,7 +713,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/adaptation/ecap/ServiceRep.cc squid-4.0.12/src/adaptation/ecap/ServiceRep.cc --- squid-4.0.11/src/adaptation/ecap/ServiceRep.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/ecap/ServiceRep.cc 2016-07-02 01:26:44.000000000 +1200 @@ -236,7 +236,7 @@ bool Adaptation::Ecap::ServiceRep::up() const { - return theService; + return bool(theService); } bool Adaptation::Ecap::ServiceRep::wantsUrl(const SBuf &urlPath) const diff -u -r -N squid-4.0.11/src/adaptation/History.cc squid-4.0.12/src/adaptation/History.cc --- squid-4.0.11/src/adaptation/History.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/History.cc 2016-07-02 01:26:44.000000000 +1200 @@ -150,9 +150,9 @@ void Adaptation::History::recordMeta(const HttpHeader *lm) { lastMeta.clean(); - lastMeta.update(lm, NULL); + lastMeta.update(lm); - allMeta.update(lm, NULL); + allMeta.update(lm); allMeta.compact(); } diff -u -r -N squid-4.0.11/src/adaptation/icap/Makefile.in squid-4.0.12/src/adaptation/icap/Makefile.in --- squid-4.0.11/src/adaptation/icap/Makefile.in 2016-06-10 08:34:38.000000000 +1200 +++ squid-4.0.12/src/adaptation/icap/Makefile.in 2016-07-02 01:28:31.000000000 +1200 @@ -484,7 +484,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -503,7 +502,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -519,7 +517,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -536,6 +533,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -609,9 +608,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -712,7 +708,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/adaptation/icap/ServiceRep.cc squid-4.0.12/src/adaptation/icap/ServiceRep.cc --- squid-4.0.11/src/adaptation/icap/ServiceRep.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/icap/ServiceRep.cc 2016-07-02 01:26:44.000000000 +1200 @@ -34,9 +34,6 @@ Adaptation::Icap::ServiceRep::ServiceRep(const ServiceConfigPointer &svcCfg): AsyncJob("Adaptation::Icap::ServiceRep"), Adaptation::Service(svcCfg), sslContext(NULL), -#if USE_OPENSSL - sslSession(NULL), -#endif theOptions(NULL), theOptionsFetcher(0), theLastUpdate(0), theBusyConns(0), theAllWaiters(0), diff -u -r -N squid-4.0.11/src/adaptation/icap/ServiceRep.h squid-4.0.12/src/adaptation/icap/ServiceRep.h --- squid-4.0.11/src/adaptation/icap/ServiceRep.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/icap/ServiceRep.h 2016-07-02 01:26:44.000000000 +1200 @@ -111,9 +111,7 @@ virtual void noteAdaptationAnswer(const Answer &answer); Security::ContextPtr sslContext; -#if USE_OPENSSL - SSL_SESSION *sslSession; -#endif + Security::SessionStatePointer sslSession; private: // stores Prepare() callback info diff -u -r -N squid-4.0.11/src/adaptation/icap/Xaction.cc squid-4.0.12/src/adaptation/icap/Xaction.cc --- squid-4.0.11/src/adaptation/icap/Xaction.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/icap/Xaction.cc 2016-07-02 01:26:44.000000000 +1200 @@ -725,8 +725,7 @@ if (check) check->dst_peer_name = *host; - if (icapService->sslSession) - SSL_set_session(ssl, icapService->sslSession); + Security::GetSessionResumeData(Security::SessionPointer(ssl), icapService->sslSession); return ssl; } @@ -738,13 +737,7 @@ return; const int fd = serverConnection()->fd; - auto ssl = fd_table[fd].ssl.get(); - assert(ssl); - if (!SSL_session_reused(ssl)) { - if (icapService->sslSession) - SSL_SESSION_free(icapService->sslSession); - icapService->sslSession = SSL_get1_session(ssl); - } + Security::GetSessionResumeData(fd_table[fd].ssl, icapService->sslSession); } void diff -u -r -N squid-4.0.11/src/adaptation/Makefile.am squid-4.0.12/src/adaptation/Makefile.am --- squid-4.0.11/src/adaptation/Makefile.am 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/Makefile.am 2016-07-02 01:26:44.000000000 +1200 @@ -8,20 +8,11 @@ include $(top_srcdir)/src/Common.am include $(top_srcdir)/src/TestHeaders.am -## make a list of directories for configured adaptation schemes +DIST_SUBDIRS= ecap icap SUBDIRS = -if ENABLE_ICAP_CLIENT -SUBDIRS += icap -endif - -if ENABLE_ECAP -SUBDIRS += ecap -endif - noinst_LTLIBRARIES = libadaptation.la -## start with the code shared among all adaptation schemes libadaptation_la_SOURCES = \ AccessCheck.cc \ AccessCheck.h \ @@ -55,7 +46,15 @@ History.cc \ History.h -# add libraries for specific adaptation schemes -libadaptation_la_LIBADD = $(ECAP_LIBS) $(ICAP_LIBS) +libadaptation_la_LIBADD = + +if ENABLE_ECAP +SUBDIRS += ecap +libadaptation_la_LIBADD += ecap/libecapsquid.la +endif + +if ENABLE_ICAP_CLIENT +SUBDIRS += icap +libadaptation_la_LIBADD += icap/libicap.la +endif -libadaptation_la_DEPENDENCIES = $(ECAP_LIBS) $(ICAP_LIBS) diff -u -r -N squid-4.0.11/src/adaptation/Makefile.in squid-4.0.12/src/adaptation/Makefile.in --- squid-4.0.11/src/adaptation/Makefile.in 2016-06-10 08:34:37.000000000 +1200 +++ squid-4.0.12/src/adaptation/Makefile.in 2016-07-02 01:28:30.000000000 +1200 @@ -90,8 +90,10 @@ host_triplet = @host@ check_PROGRAMS = @ENABLE_LOADABLE_MODULES_TRUE@am__append_1 = $(INCLTDL) -@ENABLE_ICAP_CLIENT_TRUE@am__append_2 = icap -@ENABLE_ECAP_TRUE@am__append_3 = ecap +@ENABLE_ECAP_TRUE@am__append_2 = ecap +@ENABLE_ECAP_TRUE@am__append_3 = ecap/libecapsquid.la +@ENABLE_ICAP_CLIENT_TRUE@am__append_4 = icap +@ENABLE_ICAP_CLIENT_TRUE@am__append_5 = icap/libicap.la subdir = src/adaptation ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude/ax_with_prog.m4 \ @@ -164,7 +166,7 @@ CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) -am__DEPENDENCIES_1 = +libadaptation_la_DEPENDENCIES = $(am__append_3) $(am__append_5) am_libadaptation_la_OBJECTS = AccessCheck.lo AccessRule.lo Answer.lo \ Config.lo DynamicGroupCfg.lo Elements.lo Initiate.lo \ Initiator.lo Iterator.lo Message.lo Service.lo \ @@ -471,7 +473,6 @@ TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/cfgaux/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) -DIST_SUBDIRS = icap ecap am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/cfgaux/depcomp \ $(top_srcdir)/cfgaux/test-driver $(top_srcdir)/src/Common.am \ $(top_srcdir)/src/TestHeaders.am @@ -528,7 +529,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -547,7 +547,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -563,7 +562,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -580,6 +578,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -653,9 +653,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -756,13 +753,14 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la COMPAT_LIB = $(top_builddir)/compat/libcompatsquid.la $(LIBPROFILER) subst_perlshell = sed -e 's,[@]PERL[@],$(PERL),g' <$(srcdir)/$@.pl.in >$@ || ($(RM) -f $@ ; exit 1) -SUBDIRS = $(am__append_2) $(am__append_3) +DIST_SUBDIRS = ecap icap +SUBDIRS = $(am__append_2) $(am__append_4) noinst_LTLIBRARIES = libadaptation.la libadaptation_la_SOURCES = \ AccessCheck.cc \ @@ -797,10 +795,7 @@ History.cc \ History.h - -# add libraries for specific adaptation schemes -libadaptation_la_LIBADD = $(ECAP_LIBS) $(ICAP_LIBS) -libadaptation_la_DEPENDENCIES = $(ECAP_LIBS) $(ICAP_LIBS) +libadaptation_la_LIBADD = $(am__append_3) $(am__append_5) all: all-recursive .SUFFIXES: diff -u -r -N squid-4.0.11/src/adaptation/ServiceConfig.cc squid-4.0.12/src/adaptation/ServiceConfig.cc --- squid-4.0.11/src/adaptation/ServiceConfig.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/adaptation/ServiceConfig.cc 2016-07-02 01:26:44.000000000 +1200 @@ -69,8 +69,19 @@ { key = ConfigParser::NextToken(); String method_point = ConfigParser::NextToken(); + if (!method_point.size()) { + debugs(3, DBG_CRITICAL, "ERROR: " << cfg_filename << ':' << config_lineno << ": " << + "Missing vectoring point in adaptation service definition"); + return false; + } + method = parseMethod(method_point.termedBuf()); point = parseVectPoint(method_point.termedBuf()); + if (method == Adaptation::methodNone && point == Adaptation::pointNone) { + debugs(3, DBG_CRITICAL, "ERROR: " << cfg_filename << ':' << config_lineno << ": " << + "Unknown vectoring point '" << method_point << "' in adaptation service definition"); + return false; + } // reset optional parameters in case we are reconfiguring bypass = routing = false; @@ -105,7 +116,7 @@ // Check if option is set twice if (options.find(name) != options.end()) { - debugs(3, DBG_CRITICAL, cfg_filename << ':' << config_lineno << ": " << + debugs(3, DBG_CRITICAL, "ERROR: " << cfg_filename << ':' << config_lineno << ": " << "Duplicate option \"" << name << "\" in adaptation service definition"); return false; } @@ -160,7 +171,7 @@ // is the service URI set? if (!grokkedUri) { - debugs(3, DBG_CRITICAL, cfg_filename << ':' << config_lineno << ": " << + debugs(3, DBG_CRITICAL, "ERROR: " << cfg_filename << ':' << config_lineno << ": " << "No \"uri\" option in adaptation service definition"); return false; } diff -u -r -N squid-4.0.11/src/anyp/Makefile.in squid-4.0.12/src/anyp/Makefile.in --- squid-4.0.11/src/anyp/Makefile.in 2016-06-10 08:34:38.000000000 +1200 +++ squid-4.0.12/src/anyp/Makefile.in 2016-07-02 01:28:32.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/DB/basic_db_auth.8 squid-4.0.12/src/auth/basic/DB/basic_db_auth.8 --- squid-4.0.11/src/auth/basic/DB/basic_db_auth.8 2016-06-10 09:29:13.000000000 +1200 +++ squid-4.0.12/src/auth/basic/DB/basic_db_auth.8 2016-07-02 02:24:02.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "BASIC_DB_AUTH 8" -.TH BASIC_DB_AUTH 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH BASIC_DB_AUTH 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/auth/basic/DB/Makefile.in squid-4.0.12/src/auth/basic/DB/Makefile.in --- squid-4.0.11/src/auth/basic/DB/Makefile.in 2016-06-10 08:34:39.000000000 +1200 +++ squid-4.0.12/src/auth/basic/DB/Makefile.in 2016-07-02 01:28:32.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = basic_db_auth $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/fake/Makefile.in squid-4.0.12/src/auth/basic/fake/Makefile.in --- squid-4.0.11/src/auth/basic/fake/Makefile.in 2016-06-10 08:34:44.000000000 +1200 +++ squid-4.0.12/src/auth/basic/fake/Makefile.in 2016-07-02 01:28:38.000000000 +1200 @@ -467,7 +467,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -486,7 +485,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -502,7 +500,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -519,6 +516,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -592,9 +591,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -694,7 +690,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/getpwnam/Makefile.in squid-4.0.12/src/auth/basic/getpwnam/Makefile.in --- squid-4.0.11/src/auth/basic/getpwnam/Makefile.in 2016-06-10 08:34:45.000000000 +1200 +++ squid-4.0.12/src/auth/basic/getpwnam/Makefile.in 2016-07-02 01:28:38.000000000 +1200 @@ -473,7 +473,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/LDAP/Makefile.in squid-4.0.12/src/auth/basic/LDAP/Makefile.in --- squid-4.0.11/src/auth/basic/LDAP/Makefile.in 2016-06-10 08:34:39.000000000 +1200 +++ squid-4.0.12/src/auth/basic/LDAP/Makefile.in 2016-07-02 01:28:33.000000000 +1200 @@ -473,7 +473,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/Makefile.in squid-4.0.12/src/auth/basic/Makefile.in --- squid-4.0.11/src/auth/basic/Makefile.in 2016-06-10 08:34:40.000000000 +1200 +++ squid-4.0.12/src/auth/basic/Makefile.in 2016-07-02 01:28:33.000000000 +1200 @@ -522,7 +522,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -541,7 +540,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -557,7 +555,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -574,6 +571,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -647,9 +646,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -750,7 +746,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/NCSA/Makefile.in squid-4.0.12/src/auth/basic/NCSA/Makefile.in --- squid-4.0.11/src/auth/basic/NCSA/Makefile.in 2016-06-10 08:34:40.000000000 +1200 +++ squid-4.0.12/src/auth/basic/NCSA/Makefile.in 2016-07-02 01:28:34.000000000 +1200 @@ -494,7 +494,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -513,7 +512,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -529,7 +527,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -546,6 +543,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -619,9 +618,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -721,7 +717,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/NIS/Makefile.in squid-4.0.12/src/auth/basic/NIS/Makefile.in --- squid-4.0.11/src/auth/basic/NIS/Makefile.in 2016-06-10 08:34:41.000000000 +1200 +++ squid-4.0.12/src/auth/basic/NIS/Makefile.in 2016-07-02 01:28:34.000000000 +1200 @@ -489,7 +489,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -508,7 +507,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -524,7 +522,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -541,6 +538,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -614,9 +613,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -716,7 +712,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/PAM/Makefile.in squid-4.0.12/src/auth/basic/PAM/Makefile.in --- squid-4.0.11/src/auth/basic/PAM/Makefile.in 2016-06-10 08:34:41.000000000 +1200 +++ squid-4.0.12/src/auth/basic/PAM/Makefile.in 2016-07-02 01:28:35.000000000 +1200 @@ -472,7 +472,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -491,7 +490,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -507,7 +505,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -524,6 +521,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -597,9 +596,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -699,7 +695,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/POP3/basic_pop3_auth.8 squid-4.0.12/src/auth/basic/POP3/basic_pop3_auth.8 --- squid-4.0.11/src/auth/basic/POP3/basic_pop3_auth.8 2016-06-10 09:29:20.000000000 +1200 +++ squid-4.0.12/src/auth/basic/POP3/basic_pop3_auth.8 2016-07-02 02:24:09.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "BASIC_POP3_AUTH 8" -.TH BASIC_POP3_AUTH 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH BASIC_POP3_AUTH 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/auth/basic/POP3/Makefile.in squid-4.0.12/src/auth/basic/POP3/Makefile.in --- squid-4.0.11/src/auth/basic/POP3/Makefile.in 2016-06-10 08:34:42.000000000 +1200 +++ squid-4.0.12/src/auth/basic/POP3/Makefile.in 2016-07-02 01:28:35.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = basic_pop3_auth $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/RADIUS/Makefile.in squid-4.0.12/src/auth/basic/RADIUS/Makefile.in --- squid-4.0.11/src/auth/basic/RADIUS/Makefile.in 2016-06-10 08:34:42.000000000 +1200 +++ squid-4.0.12/src/auth/basic/RADIUS/Makefile.in 2016-07-02 01:28:36.000000000 +1200 @@ -494,7 +494,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -513,7 +512,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -529,7 +527,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -546,6 +543,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -619,9 +618,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -721,7 +717,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/SASL/Makefile.in squid-4.0.12/src/auth/basic/SASL/Makefile.in --- squid-4.0.11/src/auth/basic/SASL/Makefile.in 2016-06-10 08:34:43.000000000 +1200 +++ squid-4.0.12/src/auth/basic/SASL/Makefile.in 2016-07-02 01:28:36.000000000 +1200 @@ -473,7 +473,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -492,7 +491,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -508,7 +506,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -525,6 +522,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -598,9 +597,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -700,7 +696,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/SMB/Makefile.in squid-4.0.12/src/auth/basic/SMB/Makefile.in --- squid-4.0.11/src/auth/basic/SMB/Makefile.in 2016-06-10 08:34:43.000000000 +1200 +++ squid-4.0.12/src/auth/basic/SMB/Makefile.in 2016-07-02 01:28:37.000000000 +1200 @@ -477,7 +477,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -496,7 +495,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -512,7 +510,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -529,6 +526,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -602,9 +601,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -704,7 +700,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/SMB_LM/Makefile.in squid-4.0.12/src/auth/basic/SMB_LM/Makefile.in --- squid-4.0.11/src/auth/basic/SMB_LM/Makefile.in 2016-06-10 08:34:43.000000000 +1200 +++ squid-4.0.12/src/auth/basic/SMB_LM/Makefile.in 2016-07-02 01:28:37.000000000 +1200 @@ -490,7 +490,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -509,7 +508,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -525,7 +523,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -542,6 +539,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -615,9 +614,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -717,7 +713,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/basic/SMB_LM/required.m4 squid-4.0.12/src/auth/basic/SMB_LM/required.m4 --- squid-4.0.11/src/auth/basic/SMB_LM/required.m4 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/auth/basic/SMB_LM/required.m4 2016-07-02 01:26:44.000000000 +1200 @@ -10,5 +10,5 @@ if test "x$auto_auth_basic_modules" != "xyes";then BUILD_HELPER="SMB_LM" AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER=""]) - require_smblib=`test "x$BUILD_HELPER" = "xSMB_LM"` + AS_IF([test "x$BUILD_HELPER" = "xSMB_LM"],[require_smblib="yes"]) fi diff -u -r -N squid-4.0.11/src/auth/basic/SSPI/Makefile.in squid-4.0.12/src/auth/basic/SSPI/Makefile.in --- squid-4.0.11/src/auth/basic/SSPI/Makefile.in 2016-06-10 08:34:44.000000000 +1200 +++ squid-4.0.12/src/auth/basic/SSPI/Makefile.in 2016-07-02 01:28:37.000000000 +1200 @@ -498,7 +498,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -517,7 +516,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -533,7 +531,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -550,6 +547,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -623,9 +622,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -725,7 +721,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/digest/eDirectory/Makefile.in squid-4.0.12/src/auth/digest/eDirectory/Makefile.in --- squid-4.0.11/src/auth/digest/eDirectory/Makefile.in 2016-06-10 08:34:46.000000000 +1200 +++ squid-4.0.12/src/auth/digest/eDirectory/Makefile.in 2016-07-02 01:28:40.000000000 +1200 @@ -491,7 +491,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -510,7 +509,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -526,7 +524,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -543,6 +540,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -616,9 +615,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -718,7 +714,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/digest/file/Makefile.in squid-4.0.12/src/auth/digest/file/Makefile.in --- squid-4.0.11/src/auth/digest/file/Makefile.in 2016-06-10 08:34:47.000000000 +1200 +++ squid-4.0.12/src/auth/digest/file/Makefile.in 2016-07-02 01:28:40.000000000 +1200 @@ -494,7 +494,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -513,7 +512,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -529,7 +527,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -546,6 +543,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -619,9 +618,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -721,7 +717,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/digest/LDAP/Makefile.in squid-4.0.12/src/auth/digest/LDAP/Makefile.in --- squid-4.0.11/src/auth/digest/LDAP/Makefile.in 2016-06-10 08:34:45.000000000 +1200 +++ squid-4.0.12/src/auth/digest/LDAP/Makefile.in 2016-07-02 01:28:39.000000000 +1200 @@ -491,7 +491,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -510,7 +509,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -526,7 +524,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -543,6 +540,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -616,9 +615,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -718,7 +714,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/digest/Makefile.in squid-4.0.12/src/auth/digest/Makefile.in --- squid-4.0.11/src/auth/digest/Makefile.in 2016-06-10 08:34:46.000000000 +1200 +++ squid-4.0.12/src/auth/digest/Makefile.in 2016-07-02 01:28:39.000000000 +1200 @@ -522,7 +522,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -541,7 +540,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -557,7 +555,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -574,6 +571,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -647,9 +646,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -750,7 +746,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/Makefile.in squid-4.0.12/src/auth/Makefile.in --- squid-4.0.11/src/auth/Makefile.in 2016-06-10 08:34:39.000000000 +1200 +++ squid-4.0.12/src/auth/Makefile.in 2016-07-02 01:28:32.000000000 +1200 @@ -527,7 +527,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -546,7 +545,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -562,7 +560,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -579,6 +576,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -652,9 +651,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -755,7 +751,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/negotiate/kerberos/Makefile.in squid-4.0.12/src/auth/negotiate/kerberos/Makefile.in --- squid-4.0.11/src/auth/negotiate/kerberos/Makefile.in 2016-06-10 08:34:48.000000000 +1200 +++ squid-4.0.12/src/auth/negotiate/kerberos/Makefile.in 2016-07-02 01:28:42.000000000 +1200 @@ -515,7 +515,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -534,7 +533,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -550,7 +548,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -567,6 +564,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -640,9 +639,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -742,7 +738,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(srcdir) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/negotiate/Makefile.in squid-4.0.12/src/auth/negotiate/Makefile.in --- squid-4.0.11/src/auth/negotiate/Makefile.in 2016-06-10 08:34:47.000000000 +1200 +++ squid-4.0.12/src/auth/negotiate/Makefile.in 2016-07-02 01:28:41.000000000 +1200 @@ -523,7 +523,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -542,7 +541,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -558,7 +556,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -575,6 +572,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -648,9 +647,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -751,7 +747,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/negotiate/SSPI/Makefile.in squid-4.0.12/src/auth/negotiate/SSPI/Makefile.in --- squid-4.0.11/src/auth/negotiate/SSPI/Makefile.in 2016-06-10 08:34:48.000000000 +1200 +++ squid-4.0.12/src/auth/negotiate/SSPI/Makefile.in 2016-07-02 01:28:41.000000000 +1200 @@ -470,7 +470,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -489,7 +488,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -505,7 +503,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -522,6 +519,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -595,9 +594,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -697,7 +693,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/negotiate/wrapper/Makefile.in squid-4.0.12/src/auth/negotiate/wrapper/Makefile.in --- squid-4.0.11/src/auth/negotiate/wrapper/Makefile.in 2016-06-10 08:34:48.000000000 +1200 +++ squid-4.0.12/src/auth/negotiate/wrapper/Makefile.in 2016-07-02 01:28:42.000000000 +1200 @@ -470,7 +470,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -489,7 +488,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -505,7 +503,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -522,6 +519,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -595,9 +594,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -697,7 +693,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/ntlm/fake/Makefile.in squid-4.0.12/src/auth/ntlm/fake/Makefile.in --- squid-4.0.11/src/auth/ntlm/fake/Makefile.in 2016-06-10 08:34:50.000000000 +1200 +++ squid-4.0.12/src/auth/ntlm/fake/Makefile.in 2016-07-02 01:28:44.000000000 +1200 @@ -472,7 +472,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -491,7 +490,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -507,7 +505,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -524,6 +521,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -597,9 +596,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -699,7 +695,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/ntlm/Makefile.in squid-4.0.12/src/auth/ntlm/Makefile.in --- squid-4.0.11/src/auth/ntlm/Makefile.in 2016-06-10 08:34:49.000000000 +1200 +++ squid-4.0.12/src/auth/ntlm/Makefile.in 2016-07-02 01:28:43.000000000 +1200 @@ -522,7 +522,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -541,7 +540,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -557,7 +555,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -574,6 +571,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -647,9 +646,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -750,7 +746,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/ntlm/SMB_LM/Makefile.in squid-4.0.12/src/auth/ntlm/SMB_LM/Makefile.in --- squid-4.0.11/src/auth/ntlm/SMB_LM/Makefile.in 2016-06-10 08:34:49.000000000 +1200 +++ squid-4.0.12/src/auth/ntlm/SMB_LM/Makefile.in 2016-07-02 01:28:43.000000000 +1200 @@ -474,7 +474,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -493,7 +492,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -509,7 +507,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -526,6 +523,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -599,9 +598,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -701,7 +697,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/auth/ntlm/SMB_LM/required.m4 squid-4.0.12/src/auth/ntlm/SMB_LM/required.m4 --- squid-4.0.11/src/auth/ntlm/SMB_LM/required.m4 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/auth/ntlm/SMB_LM/required.m4 2016-07-02 01:26:44.000000000 +1200 @@ -13,5 +13,5 @@ if test "$squid_host_os" != "mingw" -a "x$auto_auth_ntlm_modules" != "xyes"; then BUILD_HELPER="SMB_LM" AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER=""]) - require_smblib=`test "x$BUILD_HELPER" = "xSMB_LM"` + AS_IF([test "x$BUILD_HELPER" = "xSMB_LM"],[require_smblib="yes"]) fi diff -u -r -N squid-4.0.11/src/auth/ntlm/SSPI/Makefile.in squid-4.0.12/src/auth/ntlm/SSPI/Makefile.in --- squid-4.0.11/src/auth/ntlm/SSPI/Makefile.in 2016-06-10 08:34:50.000000000 +1200 +++ squid-4.0.12/src/auth/ntlm/SSPI/Makefile.in 2016-07-02 01:28:44.000000000 +1200 @@ -475,7 +475,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -494,7 +493,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -510,7 +508,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -527,6 +524,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -600,9 +599,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -702,7 +698,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/base/Makefile.in squid-4.0.12/src/base/Makefile.in --- squid-4.0.11/src/base/Makefile.in 2016-06-10 08:34:51.000000000 +1200 +++ squid-4.0.12/src/base/Makefile.in 2016-07-02 01:28:45.000000000 +1200 @@ -484,7 +484,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -503,7 +502,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -519,7 +517,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -536,6 +533,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -609,9 +608,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -712,7 +708,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/cache_cf.cc squid-4.0.12/src/cache_cf.cc --- squid-4.0.11/src/cache_cf.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/cache_cf.cc 2016-07-02 01:26:44.000000000 +1200 @@ -946,6 +946,10 @@ } } #endif + + if (Config.readAheadGap <= 0) { + fatalf("read_ahead_gap must be greater than 0 bytes"); + } } /** Parse a line containing an obsolete directive. diff -u -r -N squid-4.0.11/src/CachePeer.cc squid-4.0.12/src/CachePeer.cc --- squid-4.0.11/src/CachePeer.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/CachePeer.cc 2016-07-02 01:26:44.000000000 +1200 @@ -42,7 +42,6 @@ domain(NULL), #if USE_OPENSSL sslContext(NULL), - sslSession(NULL), #endif front_end_https(0), connection_auth(2 /* auto */) @@ -102,9 +101,6 @@ #if USE_OPENSSL if (sslContext) SSL_CTX_free(sslContext); - - if (sslSession) - SSL_SESSION_free(sslSession); #endif } diff -u -r -N squid-4.0.11/src/CachePeer.h squid-4.0.12/src/CachePeer.h --- squid-4.0.11/src/CachePeer.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/CachePeer.h 2016-07-02 01:26:44.000000000 +1200 @@ -184,9 +184,7 @@ /// security settings for peer connection Security::PeerOptions secure; Security::ContextPtr sslContext; -#if USE_OPENSSL - SSL_SESSION *sslSession; -#endif + Security::SessionStatePointer sslSession; int front_end_https; int connection_auth; diff -u -r -N squid-4.0.11/src/cf.data.pre squid-4.0.12/src/cf.data.pre --- squid-4.0.11/src/cf.data.pre 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/cf.data.pre 2016-07-02 01:26:44.000000000 +1200 @@ -5650,6 +5650,17 @@ DOC_START The amount of data the cache will buffer ahead of what has been sent to the client when retrieving an object from another server. + + This also influences the maximum network read(2)/write(2) sizes in some + circumstances. Reducing the size of this buffer will decrease + per-connection memory usage at the cost of more read(2)/write(2) calls. + Conversely, increasing the size of this buffer will decrease the number of + read(2)/write(2) calls at the cost of memory usage, potentially improving + performance. + + Squid does not slow does the response delivery to the client in order to + fill the buffer. + DOC_END NAME: negative_ttl diff -u -r -N squid-4.0.11/src/cf_gen.cc squid-4.0.12/src/cf_gen.cc --- squid-4.0.11/src/cf_gen.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/cf_gen.cc 2016-07-02 01:26:44.000000000 +1200 @@ -478,11 +478,13 @@ fout << "static void" << std::endl << "default_line(const char *s)" << std::endl << "{" << std::endl << - " LOCAL_ARRAY(char, tmp_line, BUFSIZ);" << std::endl << - " xstrncpy(tmp_line, s, BUFSIZ);" << std::endl << - " xstrncpy(config_input_line, s, BUFSIZ);" << std::endl << + " int len = strlen(s) +1;" << std::endl << + " char *tmp_line = xstrndup(s, len);" << std::endl << + " ProcessMacros(tmp_line, len);" << std::endl << + " xstrncpy(config_input_line, tmp_line, len);" << std::endl << " config_lineno++;" << std::endl << " parse_line(tmp_line);" << std::endl << + " xfree(tmp_line);" << std::endl << "}" << std::endl << std::endl; fout << "static void" << std::endl << "default_all(void)" << std::endl << diff -u -r -N squid-4.0.11/src/clients/Makefile.in squid-4.0.12/src/clients/Makefile.in --- squid-4.0.11/src/clients/Makefile.in 2016-06-10 08:34:52.000000000 +1200 +++ squid-4.0.12/src/clients/Makefile.in 2016-07-02 01:28:45.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/client_side.cc squid-4.0.12/src/client_side.cc --- squid-4.0.11/src/client_side.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/client_side.cc 2016-07-02 01:26:44.000000000 +1200 @@ -1012,12 +1012,9 @@ http->uri = xstrdup(uri); setLogUri (http, uri); auto *context = new Http::Stream(clientConnection, http); - StoreIOBuffer tempBuffer; - tempBuffer.data = context->reqbuf; - tempBuffer.length = HTTP_REQBUF_SZ; clientStreamInit(&http->client_stream, clientGetMoreData, clientReplyDetach, clientReplyStatus, new clientReplyContext(http), clientSocketRecipient, - clientSocketDetach, context, tempBuffer); + clientSocketDetach, context, context->getClientStreamBuffer()); return context; } @@ -1359,15 +1356,11 @@ http->req_sz = hp->messageHeaderSize(); Http::Stream *result = new Http::Stream(csd->clientConnection, http); - StoreIOBuffer tempBuffer; - tempBuffer.data = result->reqbuf; - tempBuffer.length = HTTP_REQBUF_SZ; - ClientStreamData newServer = new clientReplyContext(http); ClientStreamData newClient = result; clientStreamInit(&http->client_stream, clientGetMoreData, clientReplyDetach, clientReplyStatus, newServer, clientSocketRecipient, - clientSocketDetach, newClient, tempBuffer); + clientSocketDetach, newClient, result->getClientStreamBuffer()); /* set url */ debugs(33,5, "Prepare absolute URL from " << @@ -2570,8 +2563,8 @@ ++incoming_sockets_accepted; // Socket is ready, setup the connection manager to start using it - ConnStateData *connState = Http::NewServer(xact); - AsyncJob::Start(connState); // usually async-calls readSomeData() + auto *srv = Http::NewServer(xact); + AsyncJob::Start(srv); // usually async-calls readSomeData() } #if USE_OPENSSL @@ -2657,7 +2650,7 @@ return; } - if (SSL_session_reused(ssl)) { + if (Security::SessionIsResumed(fd_table[fd].ssl)) { debugs(83, 2, "clientNegotiateSSL: Session " << SSL_get_session(ssl) << " reused on FD " << fd << " (" << fd_table[fd].ipaddr << ":" << (int)fd_table[fd].remote_port << ")"); } else { @@ -2798,8 +2791,8 @@ ++incoming_sockets_accepted; // Socket is ready, setup the connection manager to start using it - ConnStateData *connState = Https::NewServer(xact); - AsyncJob::Start(connState); // usually async-calls postHttpsAccept() + auto *srv = Https::NewServer(xact); + AsyncJob::Start(srv); // usually async-calls postHttpsAccept() } void diff -u -r -N squid-4.0.11/src/client_side_request.cc squid-4.0.12/src/client_side_request.cc --- squid-4.0.11/src/client_side_request.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/client_side_request.cc 2016-07-02 01:26:44.000000000 +1200 @@ -357,7 +357,7 @@ * correctness. */ if (header) - request->header.update(header, NULL); + request->header.update(header); http->log_uri = xstrdup(urlCanonicalClean(request)); diff -u -r -N squid-4.0.11/src/comm/Makefile.in squid-4.0.12/src/comm/Makefile.in --- squid-4.0.11/src/comm/Makefile.in 2016-06-10 08:34:52.000000000 +1200 +++ squid-4.0.12/src/comm/Makefile.in 2016-07-02 01:28:46.000000000 +1200 @@ -485,7 +485,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -504,7 +503,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -520,7 +518,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -537,6 +534,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -610,9 +609,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -713,7 +709,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/comm.cc squid-4.0.12/src/comm.cc --- squid-4.0.11/src/comm.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/comm.cc 2016-07-02 01:26:44.000000000 +1200 @@ -110,7 +110,7 @@ /* prevent those nasty RST packets */ char buf[SQUID_TCP_SO_RCVBUF]; - if (fd_table[fd].flags.nonblocking) { + if (fd_table[fd].flags.nonblocking && fd_table[fd].type != FD_MSGHDR) { while (FD_READ_METHOD(fd, buf, SQUID_TCP_SO_RCVBUF) > 0) {}; } #endif @@ -1774,7 +1774,7 @@ // amount of time. We must re-validate that it is active and usable. // If the connection has been closed already. Cancel this read. - if (!Comm::IsConnOpen(read.theRead.conn)) { + if (!fd_table || !Comm::IsConnOpen(read.theRead.conn)) { if (read.closer != NULL) { read.closer->cancel("Connection closed before."); read.closer = NULL; diff -u -r -N squid-4.0.11/src/Common.am squid-4.0.12/src/Common.am --- squid-4.0.11/src/Common.am 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/Common.am 2016-07-02 01:26:44.000000000 +1200 @@ -47,7 +47,7 @@ -I$(top_srcdir)/lib \ -I$(top_srcdir)/src \ -I$(top_builddir)/include \ - $(SQUID_CPPUNIT_INC) + $(LIBCPPUNIT_CFLAGS) ## Kerberos headers require their include path. ## Because we use libcompat for comm_err.h header protections ... diff -u -r -N squid-4.0.11/src/DiskIO/AIO/Makefile.in squid-4.0.12/src/DiskIO/AIO/Makefile.in --- squid-4.0.11/src/DiskIO/AIO/Makefile.in 2016-06-10 08:34:25.000000000 +1200 +++ squid-4.0.12/src/DiskIO/AIO/Makefile.in 2016-07-02 01:28:17.000000000 +1200 @@ -491,7 +491,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -510,7 +509,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -526,7 +524,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -543,6 +540,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -616,9 +615,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -719,7 +715,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/DiskIO/Blocking/Makefile.in squid-4.0.12/src/DiskIO/Blocking/Makefile.in --- squid-4.0.11/src/DiskIO/Blocking/Makefile.in 2016-06-10 08:34:26.000000000 +1200 +++ squid-4.0.12/src/DiskIO/Blocking/Makefile.in 2016-07-02 01:28:18.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/DiskIO/DiskDaemon/Makefile.in squid-4.0.12/src/DiskIO/DiskDaemon/Makefile.in --- squid-4.0.11/src/DiskIO/DiskDaemon/Makefile.in 2016-06-10 08:34:26.000000000 +1200 +++ squid-4.0.12/src/DiskIO/DiskDaemon/Makefile.in 2016-07-02 01:28:19.000000000 +1200 @@ -499,7 +499,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -518,7 +517,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -534,7 +532,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -551,6 +548,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -624,9 +623,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -727,7 +723,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/DiskIO/DiskThreads/Makefile.in squid-4.0.12/src/DiskIO/DiskThreads/Makefile.in --- squid-4.0.11/src/DiskIO/DiskThreads/Makefile.in 2016-06-10 08:34:27.000000000 +1200 +++ squid-4.0.12/src/DiskIO/DiskThreads/Makefile.in 2016-07-02 01:28:19.000000000 +1200 @@ -493,7 +493,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -512,7 +511,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -528,7 +526,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -545,6 +542,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -618,9 +617,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -721,7 +717,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/DiskIO/IpcIo/Makefile.in squid-4.0.12/src/DiskIO/IpcIo/Makefile.in --- squid-4.0.11/src/DiskIO/IpcIo/Makefile.in 2016-06-10 08:34:27.000000000 +1200 +++ squid-4.0.12/src/DiskIO/IpcIo/Makefile.in 2016-07-02 01:28:19.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/DiskIO/Makefile.in squid-4.0.12/src/DiskIO/Makefile.in --- squid-4.0.11/src/DiskIO/Makefile.in 2016-06-10 08:34:28.000000000 +1200 +++ squid-4.0.12/src/DiskIO/Makefile.in 2016-07-02 01:28:20.000000000 +1200 @@ -545,7 +545,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -564,7 +563,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -580,7 +578,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -597,6 +594,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -670,9 +669,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -773,7 +769,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/DiskIO/Mmapped/Makefile.in squid-4.0.12/src/DiskIO/Mmapped/Makefile.in --- squid-4.0.11/src/DiskIO/Mmapped/Makefile.in 2016-06-10 08:34:28.000000000 +1200 +++ squid-4.0.12/src/DiskIO/Mmapped/Makefile.in 2016-07-02 01:28:20.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/dns/Makefile.in squid-4.0.12/src/dns/Makefile.in --- squid-4.0.11/src/dns/Makefile.in 2016-06-10 08:34:53.000000000 +1200 +++ squid-4.0.12/src/dns/Makefile.in 2016-07-02 01:28:46.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/esi/Include.cc squid-4.0.12/src/esi/Include.cc --- squid-4.0.11/src/esi/Include.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/esi/Include.cc 2016-07-02 01:26:44.000000000 +1200 @@ -278,7 +278,7 @@ void ESIInclude::prepareRequestHeaders(HttpHeader &tempheaders, ESIVarState *vars) { - tempheaders.update (&vars->header(), NULL); + tempheaders.update(&vars->header()); tempheaders.removeHopByHopEntries(); } diff -u -r -N squid-4.0.11/src/esi/Makefile.in squid-4.0.12/src/esi/Makefile.in --- squid-4.0.11/src/esi/Makefile.in 2016-06-10 08:34:53.000000000 +1200 +++ squid-4.0.12/src/esi/Makefile.in 2016-07-02 01:28:47.000000000 +1200 @@ -502,7 +502,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -521,7 +520,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -537,7 +535,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -554,6 +551,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -627,9 +626,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -730,7 +726,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/eui/Makefile.in squid-4.0.12/src/eui/Makefile.in --- squid-4.0.11/src/eui/Makefile.in 2016-06-10 08:34:54.000000000 +1200 +++ squid-4.0.12/src/eui/Makefile.in 2016-07-02 01:28:48.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/format/Makefile.in squid-4.0.12/src/format/Makefile.in --- squid-4.0.11/src/format/Makefile.in 2016-06-10 08:34:54.000000000 +1200 +++ squid-4.0.12/src/format/Makefile.in 2016-07-02 01:28:48.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/fs/Makefile.in squid-4.0.12/src/fs/Makefile.in --- squid-4.0.11/src/fs/Makefile.in 2016-06-10 08:34:55.000000000 +1200 +++ squid-4.0.12/src/fs/Makefile.in 2016-07-02 01:28:49.000000000 +1200 @@ -500,7 +500,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -519,7 +518,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -535,7 +533,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -552,6 +549,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -625,9 +624,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -728,7 +724,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(srcdir) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/ftp/Makefile.in squid-4.0.12/src/ftp/Makefile.in --- squid-4.0.11/src/ftp/Makefile.in 2016-06-10 08:34:55.000000000 +1200 +++ squid-4.0.12/src/ftp/Makefile.in 2016-07-02 01:28:50.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/helper/Makefile.in squid-4.0.12/src/helper/Makefile.in --- squid-4.0.11/src/helper/Makefile.in 2016-06-10 08:34:56.000000000 +1200 +++ squid-4.0.12/src/helper/Makefile.in 2016-07-02 01:28:50.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/http/Makefile.in squid-4.0.12/src/http/Makefile.in --- squid-4.0.11/src/http/Makefile.in 2016-06-10 08:34:56.000000000 +1200 +++ squid-4.0.12/src/http/Makefile.in 2016-07-02 01:28:51.000000000 +1200 @@ -523,7 +523,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -542,7 +541,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -558,7 +556,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -575,6 +572,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -648,9 +647,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -751,7 +747,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/http/one/Makefile.in squid-4.0.12/src/http/one/Makefile.in --- squid-4.0.11/src/http/one/Makefile.in 2016-06-10 08:34:57.000000000 +1200 +++ squid-4.0.12/src/http/one/Makefile.in 2016-07-02 01:28:51.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/http/RegisteredHeadersHash.cci squid-4.0.12/src/http/RegisteredHeadersHash.cci --- squid-4.0.11/src/http/RegisteredHeadersHash.cci 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/http/RegisteredHeadersHash.cci 2016-07-02 01:26:44.000000000 +1200 @@ -182,7 +182,7 @@ #line 79 "RegisteredHeadersHash.gperf" {"Referer", Http::HdrType::REFERER, Http::HdrFieldType::ftStr, HdrKind::RequestHeader}, #line 85 "RegisteredHeadersHash.gperf" - {"TE", Http::HdrType::TE, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"TE", Http::HdrType::TE, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader}, #line 94 "RegisteredHeadersHash.gperf" {"Via", Http::HdrType::VIA, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader}, {""}, @@ -191,7 +191,7 @@ #line 51 "RegisteredHeadersHash.gperf" {"Expect", Http::HdrType::EXPECT, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::RequestHeader}, #line 87 "RegisteredHeadersHash.gperf" - {"Trailer", Http::HdrType::TRAILER, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"Trailer", Http::HdrType::TRAILER, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader}, #line 80 "RegisteredHeadersHash.gperf" {"Request-Range", Http::HdrType::REQUEST_RANGE, Http::HdrFieldType::ftPRange, HdrKind::None}, #line 26 "RegisteredHeadersHash.gperf" @@ -221,7 +221,7 @@ #line 35 "RegisteredHeadersHash.gperf" {"Authorization", Http::HdrType::AUTHORIZATION, Http::HdrFieldType::ftStr, HdrKind::RequestHeader}, #line 45 "RegisteredHeadersHash.gperf" - {"Content-Range", Http::HdrType::CONTENT_RANGE, Http::HdrFieldType::ftPContRange, HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Content-Range", Http::HdrType::CONTENT_RANGE, Http::HdrFieldType::ftPContRange, HdrKind::EntityHeader}, #line 66 "RegisteredHeadersHash.gperf" {"Location", Http::HdrType::LOCATION, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader}, #line 77 "RegisteredHeadersHash.gperf" @@ -231,11 +231,11 @@ #line 49 "RegisteredHeadersHash.gperf" {"Date", Http::HdrType::DATE, Http::HdrFieldType::ftDate_1123, HdrKind::GeneralHeader}, #line 46 "RegisteredHeadersHash.gperf" - {"Content-Type", Http::HdrType::CONTENT_TYPE, Http::HdrFieldType::ftStr, HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Content-Type", Http::HdrType::CONTENT_TYPE, Http::HdrFieldType::ftStr, HdrKind::EntityHeader}, #line 91 "RegisteredHeadersHash.gperf" - {"Upgrade", Http::HdrType::UPGRADE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"Upgrade", Http::HdrType::UPGRADE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader}, #line 72 "RegisteredHeadersHash.gperf" - {"Proxy-Authenticate", Http::HdrType::PROXY_AUTHENTICATE, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader|HdrKind::Denied304Header}, + {"Proxy-Authenticate", Http::HdrType::PROXY_AUTHENTICATE, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader}, #line 33 "RegisteredHeadersHash.gperf" {"Alternate-Protocol", Http::HdrType::ALTERNATE_PROTOCOL, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader}, #line 113 "RegisteredHeadersHash.gperf" @@ -250,17 +250,17 @@ {"Proxy-Connection", Http::HdrType::PROXY_CONNECTION, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader}, {""}, #line 74 "RegisteredHeadersHash.gperf" - {"Proxy-Authorization", Http::HdrType::PROXY_AUTHORIZATION, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"Proxy-Authorization", Http::HdrType::PROXY_AUTHORIZATION, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader}, #line 55 "RegisteredHeadersHash.gperf" {"Host", Http::HdrType::HOST, Http::HdrFieldType::ftStr, HdrKind::RequestHeader}, #line 41 "RegisteredHeadersHash.gperf" - {"Content-Language", Http::HdrType::CONTENT_LANGUAGE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Content-Language", Http::HdrType::CONTENT_LANGUAGE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader}, #line 101 "RegisteredHeadersHash.gperf" {"X-Squid-Error", Http::HdrType::X_SQUID_ERROR, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader}, #line 83 "RegisteredHeadersHash.gperf" {"Set-Cookie", Http::HdrType::SET_COOKIE, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader}, #line 32 "RegisteredHeadersHash.gperf" - {"Allow", Http::HdrType::ALLOW, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Allow", Http::HdrType::ALLOW, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader}, #line 36 "RegisteredHeadersHash.gperf" {"Cache-Control", Http::HdrType::CACHE_CONTROL, Http::HdrFieldType::ftPCc, HdrKind::ListHeader|HdrKind::GeneralHeader}, #line 105 "RegisteredHeadersHash.gperf" @@ -292,7 +292,7 @@ #line 50 "RegisteredHeadersHash.gperf" {"ETag", Http::HdrType::ETAG, Http::HdrFieldType::ftETag, HdrKind::EntityHeader}, #line 62 "RegisteredHeadersHash.gperf" - {"Keep-Alive", Http::HdrType::KEEP_ALIVE, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"Keep-Alive", Http::HdrType::KEEP_ALIVE, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader}, #line 102 "RegisteredHeadersHash.gperf" {"X-Accelerator-Vary", Http::HdrType::HDR_X_ACCELERATOR_VARY, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::ReplyHeader}, #line 103 "RegisteredHeadersHash.gperf" @@ -318,15 +318,15 @@ #line 99 "RegisteredHeadersHash.gperf" {"X-Forwarded-For", Http::HdrType::X_FORWARDED_FOR, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader}, #line 42 "RegisteredHeadersHash.gperf" - {"Content-Length", Http::HdrType::CONTENT_LENGTH, Http::HdrFieldType::ftInt64, HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Content-Length", Http::HdrType::CONTENT_LENGTH, Http::HdrFieldType::ftInt64, HdrKind::EntityHeader}, #line 106 "RegisteredHeadersHash.gperf" {"Front-End-Https", Http::HdrType::FRONT_END_HTTPS, Http::HdrFieldType::ftStr, HdrKind::None}, #line 68 "RegisteredHeadersHash.gperf" {"Mime-Version", Http::HdrType::MIME_VERSION, Http::HdrFieldType::ftStr, HdrKind::GeneralHeader}, #line 44 "RegisteredHeadersHash.gperf" - {"Content-MD5", Http::HdrType::CONTENT_MD5, Http::HdrFieldType::ftStr, HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Content-MD5", Http::HdrType::CONTENT_MD5, Http::HdrFieldType::ftStr, HdrKind::EntityHeader}, #line 37 "RegisteredHeadersHash.gperf" - {"Connection", Http::HdrType::CONNECTION, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"Connection", Http::HdrType::CONNECTION, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader}, #line 53 "RegisteredHeadersHash.gperf" {"Forwarded", Http::HdrType::FORWARDED, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader}, #line 111 "RegisteredHeadersHash.gperf" @@ -338,12 +338,12 @@ #line 34 "RegisteredHeadersHash.gperf" {"Authentication-Info", Http::HdrType::AUTHENTICATION_INFO, Http::HdrFieldType::ftStr, HdrKind::ListHeader}, #line 88 "RegisteredHeadersHash.gperf" - {"Transfer-Encoding", Http::HdrType::TRANSFER_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header}, + {"Transfer-Encoding", Http::HdrType::TRANSFER_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader}, {""}, #line 108 "RegisteredHeadersHash.gperf" {"FTP-Arguments", Http::HdrType::FTP_ARGUMENTS, Http::HdrFieldType::ftStr, HdrKind::None}, #line 40 "RegisteredHeadersHash.gperf" - {"Content-Encoding", Http::HdrType::CONTENT_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader|HdrKind::Denied304Header}, + {"Content-Encoding", Http::HdrType::CONTENT_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader}, #line 73 "RegisteredHeadersHash.gperf" {"Proxy-Authentication-Info", Http::HdrType::PROXY_AUTHENTICATION_INFO, Http::HdrFieldType::ftStr, HdrKind::ListHeader}, {""}, {""}, {""}, {""}, {""}, {""}, diff -u -r -N squid-4.0.11/src/http/RegisteredHeadersHash.gperf squid-4.0.12/src/http/RegisteredHeadersHash.gperf --- squid-4.0.11/src/http/RegisteredHeadersHash.gperf 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/http/RegisteredHeadersHash.gperf 2016-07-02 01:26:44.000000000 +1200 @@ -29,21 +29,21 @@ Accept-Language, Http::HdrType::ACCEPT_LANGUAGE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::RequestHeader Accept-Ranges, Http::HdrType::ACCEPT_RANGES, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::ReplyHeader Age, Http::HdrType::AGE, Http::HdrFieldType::ftInt, HdrKind::ReplyHeader -Allow, Http::HdrType::ALLOW, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader|HdrKind::Denied304Header +Allow, Http::HdrType::ALLOW, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader Alternate-Protocol, Http::HdrType::ALTERNATE_PROTOCOL, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader Authentication-Info, Http::HdrType::AUTHENTICATION_INFO, Http::HdrFieldType::ftStr, HdrKind::ListHeader Authorization, Http::HdrType::AUTHORIZATION, Http::HdrFieldType::ftStr, HdrKind::RequestHeader Cache-Control, Http::HdrType::CACHE_CONTROL, Http::HdrFieldType::ftPCc, HdrKind::ListHeader|HdrKind::GeneralHeader -Connection, Http::HdrType::CONNECTION, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header +Connection, Http::HdrType::CONNECTION, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader Content-Base, Http::HdrType::CONTENT_BASE, Http::HdrFieldType::ftStr, HdrKind::EntityHeader Content-Disposition, Http::HdrType::CONTENT_DISPOSITION, Http::HdrFieldType::ftStr, HdrKind::None -Content-Encoding, Http::HdrType::CONTENT_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader|HdrKind::Denied304Header -Content-Language, Http::HdrType::CONTENT_LANGUAGE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader|HdrKind::Denied304Header -Content-Length, Http::HdrType::CONTENT_LENGTH, Http::HdrFieldType::ftInt64, HdrKind::EntityHeader|HdrKind::Denied304Header +Content-Encoding, Http::HdrType::CONTENT_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader +Content-Language, Http::HdrType::CONTENT_LANGUAGE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader +Content-Length, Http::HdrType::CONTENT_LENGTH, Http::HdrFieldType::ftInt64, HdrKind::EntityHeader Content-Location, Http::HdrType::CONTENT_LOCATION, Http::HdrFieldType::ftStr, HdrKind::EntityHeader -Content-MD5, Http::HdrType::CONTENT_MD5, Http::HdrFieldType::ftStr, HdrKind::EntityHeader|HdrKind::Denied304Header -Content-Range, Http::HdrType::CONTENT_RANGE, Http::HdrFieldType::ftPContRange, HdrKind::EntityHeader|HdrKind::Denied304Header -Content-Type, Http::HdrType::CONTENT_TYPE, Http::HdrFieldType::ftStr, HdrKind::EntityHeader|HdrKind::Denied304Header +Content-MD5, Http::HdrType::CONTENT_MD5, Http::HdrFieldType::ftStr, HdrKind::EntityHeader +Content-Range, Http::HdrType::CONTENT_RANGE, Http::HdrFieldType::ftPContRange, HdrKind::EntityHeader +Content-Type, Http::HdrType::CONTENT_TYPE, Http::HdrFieldType::ftStr, HdrKind::EntityHeader Cookie, Http::HdrType::COOKIE, Http::HdrFieldType::ftStr, HdrKind::None Cookie2, Http::HdrType::COOKIE2, Http::HdrFieldType::ftStr, HdrKind::None Date, Http::HdrType::DATE, Http::HdrFieldType::ftDate_1123, HdrKind::GeneralHeader @@ -59,7 +59,7 @@ If-None-Match, Http::HdrType::IF_NONE_MATCH, Http::HdrFieldType::ftStr, HdrKind::ListHeader If-Range, Http::HdrType::IF_RANGE, Http::HdrFieldType::ftDate_1123_or_ETag, HdrKind::None If-Unmodified-Since, Http::HdrType::IF_UNMODIFIED_SINCE, Http::HdrFieldType::ftDate_1123, HdrKind::None -Keep-Alive, Http::HdrType::KEEP_ALIVE, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader|HdrKind::Denied304Header +Keep-Alive, Http::HdrType::KEEP_ALIVE, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader Key, Http::HdrType::KEY, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::ReplyHeader Last-Modified, Http::HdrType::LAST_MODIFIED, Http::HdrFieldType::ftDate_1123, HdrKind::EntityHeader Link, Http::HdrType::LINK, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::EntityHeader @@ -69,9 +69,9 @@ Negotiate, Http::HdrType::NEGOTIATE, Http::HdrFieldType::ftStr, HdrKind::None Origin, Http::HdrType::ORIGIN, Http::HdrFieldType::ftStr, HdrKind::RequestHeader Pragma, Http::HdrType::PRAGMA, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader -Proxy-Authenticate, Http::HdrType::PROXY_AUTHENTICATE, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader|HdrKind::Denied304Header +Proxy-Authenticate, Http::HdrType::PROXY_AUTHENTICATE, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader Proxy-Authentication-Info, Http::HdrType::PROXY_AUTHENTICATION_INFO, Http::HdrFieldType::ftStr, HdrKind::ListHeader -Proxy-Authorization, Http::HdrType::PROXY_AUTHORIZATION, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header +Proxy-Authorization, Http::HdrType::PROXY_AUTHORIZATION, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader Proxy-Connection, Http::HdrType::PROXY_CONNECTION, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader Proxy-support, Http::HdrType::PROXY_SUPPORT, Http::HdrFieldType::ftStr, HdrKind::ListHeader Public, Http::HdrType::PUBLIC, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader @@ -82,13 +82,13 @@ Server, Http::HdrType::SERVER, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader Set-Cookie, Http::HdrType::SET_COOKIE, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader Set-Cookie2, Http::HdrType::SET_COOKIE2, Http::HdrFieldType::ftStr, HdrKind::ReplyHeader -TE, Http::HdrType::TE, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header +TE, Http::HdrType::TE, Http::HdrFieldType::ftStr, HdrKind::RequestHeader|HdrKind::HopByHopHeader Title, Http::HdrType::TITLE, Http::HdrFieldType::ftStr, HdrKind::None -Trailer, Http::HdrType::TRAILER, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader|HdrKind::Denied304Header -Transfer-Encoding, Http::HdrType::TRANSFER_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header +Trailer, Http::HdrType::TRAILER, Http::HdrFieldType::ftStr, HdrKind::HopByHopHeader +Transfer-Encoding, Http::HdrType::TRANSFER_ENCODING, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader Translate, Http::HdrType::TRANSLATE, Http::HdrFieldType::ftStr, HdrKind::None Unless-Modified-Since, Http::HdrType::UNLESS_MODIFIED_SINCE, Http::HdrFieldType::ftStr, HdrKind::None -Upgrade, Http::HdrType::UPGRADE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader|HdrKind::Denied304Header +Upgrade, Http::HdrType::UPGRADE, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader|HdrKind::HopByHopHeader User-Agent, Http::HdrType::USER_AGENT, Http::HdrFieldType::ftStr, HdrKind::RequestHeader Vary, Http::HdrType::VARY, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::ReplyHeader Via, Http::HdrType::VIA, Http::HdrFieldType::ftStr, HdrKind::ListHeader|HdrKind::GeneralHeader diff -u -r -N squid-4.0.11/src/http/Stream.cc squid-4.0.12/src/http/Stream.cc --- squid-4.0.11/src/http/Stream.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/http/Stream.cc 2016-07-02 01:26:44.000000000 +1200 @@ -11,6 +11,7 @@ #include "http/Stream.h" #include "HttpHdrContRange.h" #include "HttpHeaderTools.h" +#include "SquidConfig.h" #include "Store.h" #include "TimeOrTag.h" @@ -20,10 +21,10 @@ reply(nullptr), writtenToSocket(0), mayUseConnection_(false), - connRegistered_(false) + connRegistered_(false), + requestBuffer(nullptr) { assert(http != nullptr); - memset(reqbuf, '\0', sizeof (reqbuf)); flags.deferred = 0; flags.parsed_ok = 0; deferredparams.node = nullptr; @@ -109,12 +110,10 @@ debugs(33, 5, reply << " written " << http->out.size << " into " << clientConnection); /* More data will be coming from the stream. */ - StoreIOBuffer readBuffer; + StoreIOBuffer readBuffer = getClientStreamBuffer(); /* XXX: Next requested byte in the range sequence */ /* XXX: length = getmaximumrangelenfgth */ readBuffer.offset = getNextRangeOffset(); - readBuffer.length = HTTP_REQBUF_SZ; - readBuffer.data = reqbuf; /* we may note we have reached the end of the wanted ranges */ clientStreamRead(getTail(), http, readBuffer); } @@ -568,6 +567,18 @@ deferredparams.queuedBuffer = receivedData; } +StoreIOBuffer +Http::Stream::getClientStreamBuffer() +{ + if (!requestBuffer) { + requestBuffer = new MemBlob(Config.readAheadGap); + } + StoreIOBuffer tempBuffer; + tempBuffer.data = requestBuffer->mem; + tempBuffer.length = requestBuffer->spaceSize(); + return tempBuffer; +} + void Http::Stream::prepareReply(HttpReply *rep) { diff -u -r -N squid-4.0.11/src/http/Stream.h squid-4.0.12/src/http/Stream.h --- squid-4.0.11/src/http/Stream.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/http/Stream.h 2016-07-02 01:26:44.000000000 +1200 @@ -120,12 +120,13 @@ void deferRecipientForLater(clientStreamNode *, HttpReply *, StoreIOBuffer receivedData); + StoreIOBuffer getClientStreamBuffer(); + public: // HTTP/1.x state data Comm::ConnectionPointer clientConnection; ///< details about the client connection socket ClientHttpRequest *http; /* we pretend to own that Job */ HttpReply *reply; - char reqbuf[HTTP_REQBUF_SZ]; struct { unsigned deferred:1; ///< This is a pipelined request waiting for the current object to complete unsigned parsed_ok:1; ///< Was this parsed correctly? @@ -158,6 +159,8 @@ bool mayUseConnection_; /* This request may use the connection. Don't read anymore requests for now */ bool connRegistered_; + + MemBlob::Pointer requestBuffer; }; } // namespace Http diff -u -r -N squid-4.0.11/src/http/url_rewriters/fake/Makefile.in squid-4.0.12/src/http/url_rewriters/fake/Makefile.in --- squid-4.0.11/src/http/url_rewriters/fake/Makefile.in 2016-06-10 08:34:58.000000000 +1200 +++ squid-4.0.12/src/http/url_rewriters/fake/Makefile.in 2016-07-02 01:28:52.000000000 +1200 @@ -469,7 +469,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -488,7 +487,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -504,7 +502,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -521,6 +518,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -594,9 +593,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -696,7 +692,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/http/url_rewriters/LFS/Makefile.in squid-4.0.12/src/http/url_rewriters/LFS/Makefile.in --- squid-4.0.11/src/http/url_rewriters/LFS/Makefile.in 2016-06-10 08:34:57.000000000 +1200 +++ squid-4.0.12/src/http/url_rewriters/LFS/Makefile.in 2016-07-02 01:28:52.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = url_lfs_rewrite $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/http/url_rewriters/LFS/url_lfs_rewrite.8 squid-4.0.12/src/http/url_rewriters/LFS/url_lfs_rewrite.8 --- squid-4.0.11/src/http/url_rewriters/LFS/url_lfs_rewrite.8 2016-06-10 09:29:43.000000000 +1200 +++ squid-4.0.12/src/http/url_rewriters/LFS/url_lfs_rewrite.8 2016-07-02 02:24:36.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "URL_LFS_REWRITE 8" -.TH URL_LFS_REWRITE 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH URL_LFS_REWRITE 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/http/url_rewriters/Makefile.in squid-4.0.12/src/http/url_rewriters/Makefile.in --- squid-4.0.11/src/http/url_rewriters/Makefile.in 2016-06-10 08:34:58.000000000 +1200 +++ squid-4.0.12/src/http/url_rewriters/Makefile.in 2016-07-02 01:28:52.000000000 +1200 @@ -266,7 +266,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -285,7 +284,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -301,7 +299,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -318,6 +315,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -391,9 +390,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/src/HttpHeader.cc squid-4.0.12/src/HttpHeader.cc --- squid-4.0.11/src/HttpHeader.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/HttpHeader.cc 2016-07-02 01:26:44.000000000 +1200 @@ -155,7 +155,7 @@ HttpHeader::HttpHeader(const HttpHeader &other): owner(other.owner), len(other.len), conflictingContentLength_(false) { httpHeaderMaskInit(&mask, 0); - update(&other, NULL); // will update the mask as well + update(&other); // will update the mask as well } HttpHeader::~HttpHeader() @@ -170,7 +170,7 @@ // we do not really care, but the caller probably does assert(owner == other.owner); clean(); - update(&other, NULL); // will update the mask as well + update(&other); // will update the mask as well len = other.len; conflictingContentLength_ = other.conflictingContentLength_; } @@ -239,17 +239,39 @@ } void -HttpHeader::update (HttpHeader const *fresh, HttpHeaderMask const *denied_mask) +HttpHeader::updateWarnings() +{ + int count = 0; + HttpHeaderPos pos = HttpHeaderInitPos; + + // RFC 7234, section 4.3.4: delete 1xx warnings and retain 2xx warnings + while (HttpHeaderEntry *e = getEntry(&pos)) { + if (e->id == Http::HdrType::WARNING && (e->getInt()/100 == 1) ) + delAt(pos, count); + } +} + +bool +HttpHeader::skipUpdateHeader(const Http::HdrType id) const +{ + // RFC 7234, section 4.3.4: use fields other from Warning for update + return id == Http::HdrType::WARNING; +} + +void +HttpHeader::update(HttpHeader const *fresh) { const HttpHeaderEntry *e; HttpHeaderPos pos = HttpHeaderInitPos; assert(fresh); assert(this != fresh); + updateWarnings(); + while ((e = fresh->getEntry(&pos))) { /* deny bad guys (ok to check for Http::HdrType::OTHER) here */ - if (denied_mask && CBIT_TEST(*denied_mask, e->id)) + if (skipUpdateHeader(e->id)) continue; if (e->id != Http::HdrType::OTHER) @@ -262,7 +284,7 @@ while ((e = fresh->getEntry(&pos))) { /* deny bad guys (ok to check for Http::HdrType::OTHER) here */ - if (denied_mask && CBIT_TEST(*denied_mask, e->id)) + if (skipUpdateHeader(e->id)) continue; debugs(55, 7, "Updating header '" << Http::HeaderLookupTable.lookup(e->id).name << "' in cached entry"); diff -u -r -N squid-4.0.11/src/HttpHeader.h squid-4.0.12/src/HttpHeader.h --- squid-4.0.11/src/HttpHeader.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/HttpHeader.h 2016-07-02 01:26:44.000000000 +1200 @@ -81,7 +81,7 @@ /* Interface functions */ void clean(); void append(const HttpHeader * src); - void update (HttpHeader const *fresh, HttpHeaderMask const *denied_mask); + void update(HttpHeader const *fresh); void compact(); int parse(const char *header_start, size_t len); void packInto(Packable * p, bool mask_sensitive_info=false) const; @@ -145,6 +145,8 @@ protected: /** \deprecated Public access replaced by removeHopByHopEntries() */ void removeConnectionHeaderEntries(); + bool skipUpdateHeader(const Http::HdrType id) const; + void updateWarnings(); private: HttpHeaderEntry *findLastEntry(Http::HdrType id) const; diff -u -r -N squid-4.0.11/src/HttpReply.cc squid-4.0.12/src/HttpReply.cc --- squid-4.0.11/src/HttpReply.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/HttpReply.cc 2016-07-02 01:26:44.000000000 +1200 @@ -25,39 +25,6 @@ #include "Store.h" #include "StrList.h" -/* local constants */ - -/* If we receive a 304 from the origin during a cache revalidation, we must - * update the headers of the existing entry. Specifically, we need to update all - * end-to-end headers and not any hop-by-hop headers (rfc2616 13.5.3). - * - * This is not the whole story though: since it is possible for a faulty/malicious - * origin server to set headers it should not in a 304, we must explicitly ignore - * these too. Specifically all entity-headers except those permitted in a 304 - * (rfc2616 10.3.5) must be ignored. - * - * The list of headers we don't update is made up of: - * all hop-by-hop headers - * all entity-headers except Expires and Content-Location - * - * These headers are now stored in RegisteredHeadersHash.gperf and accessible - * as Http::HeaderLookupTable.lookup(id).denied304 - */ -static HttpHeaderMask Denied304HeadersMask; - -/* module initialization */ -void -httpReplyInitModule(void) -{ - assert(Http::scNone == 0); // HttpReply::parse() interface assumes that - httpHeaderMaskInit(&Denied304HeadersMask, 0); - - for (auto id : WholeEnum()) { - if (Http::HeaderLookupTable.lookup(id).denied304) - CBIT_SET(Denied304HeadersMask, id); - } -} - HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0), expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0), protoPrefix("HTTP/"), bodySizeMax(-2) @@ -276,8 +243,7 @@ /* clean cache */ hdrCacheClean(); /* update raw headers */ - header.update(&freshRep->header, - (const HttpHeaderMask *) &Denied304HeadersMask); + header.update(&freshRep->header); header.compact(); /* init cache */ diff -u -r -N squid-4.0.11/src/icmp/Makefile.in squid-4.0.12/src/icmp/Makefile.in --- squid-4.0.11/src/icmp/Makefile.in 2016-06-10 08:34:59.000000000 +1200 +++ squid-4.0.12/src/icmp/Makefile.in 2016-07-02 01:28:53.000000000 +1200 @@ -510,7 +510,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -532,7 +531,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -548,7 +546,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -565,6 +562,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -638,9 +637,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -741,7 +737,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/ident/Makefile.in squid-4.0.12/src/ident/Makefile.in --- squid-4.0.11/src/ident/Makefile.in 2016-06-10 08:34:59.000000000 +1200 +++ squid-4.0.12/src/ident/Makefile.in 2016-07-02 01:28:53.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/ip/Makefile.in squid-4.0.12/src/ip/Makefile.in --- squid-4.0.11/src/ip/Makefile.in 2016-06-10 08:35:00.000000000 +1200 +++ squid-4.0.12/src/ip/Makefile.in 2016-07-02 01:28:54.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/ipc/Makefile.in squid-4.0.12/src/ipc/Makefile.in --- squid-4.0.11/src/ipc/Makefile.in 2016-06-10 08:35:00.000000000 +1200 +++ squid-4.0.12/src/ipc/Makefile.in 2016-07-02 01:28:55.000000000 +1200 @@ -488,7 +488,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -507,7 +506,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -523,7 +521,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -540,6 +537,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -613,9 +612,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -716,7 +712,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/log/DB/log_db_daemon.8 squid-4.0.12/src/log/DB/log_db_daemon.8 --- squid-4.0.11/src/log/DB/log_db_daemon.8 2016-06-10 09:29:50.000000000 +1200 +++ squid-4.0.12/src/log/DB/log_db_daemon.8 2016-07-02 02:24:43.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "LOG_DB_DAEMON 8" -.TH LOG_DB_DAEMON 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH LOG_DB_DAEMON 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/log/DB/Makefile.in squid-4.0.12/src/log/DB/Makefile.in --- squid-4.0.11/src/log/DB/Makefile.in 2016-06-10 08:35:00.000000000 +1200 +++ squid-4.0.12/src/log/DB/Makefile.in 2016-07-02 01:28:55.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = log_db_daemon $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/log/file/Makefile.in squid-4.0.12/src/log/file/Makefile.in --- squid-4.0.11/src/log/file/Makefile.in 2016-06-10 08:35:01.000000000 +1200 +++ squid-4.0.12/src/log/file/Makefile.in 2016-07-02 01:28:56.000000000 +1200 @@ -469,7 +469,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -488,7 +487,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -504,7 +502,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -521,6 +518,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -594,9 +593,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -696,7 +692,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/log/Makefile.in squid-4.0.12/src/log/Makefile.in --- squid-4.0.11/src/log/Makefile.in 2016-06-10 08:35:01.000000000 +1200 +++ squid-4.0.12/src/log/Makefile.in 2016-07-02 01:28:56.000000000 +1200 @@ -526,7 +526,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -545,7 +544,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -561,7 +559,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -578,6 +575,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -651,9 +650,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -754,7 +750,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/main.cc squid-4.0.12/src/main.cc --- squid-4.0.11/src/main.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/main.cc 2016-07-02 01:26:44.000000000 +1200 @@ -1180,8 +1180,6 @@ httpHeaderInitModule(); /* must go before any header processing (e.g. the one in errorInitialize) */ - httpReplyInitModule(); /* must go before accepting replies */ - errorInitialize(); accessLogInit(); diff -u -r -N squid-4.0.11/src/Makefile.am squid-4.0.12/src/Makefile.am --- squid-4.0.11/src/Makefile.am 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/Makefile.am 2016-07-02 01:26:44.000000000 +1200 @@ -914,9 +914,9 @@ # $(TESTSOURCES) #tests_testX_LDFLAGS = $(LIBADD_DL) #tests_testX_LDADD=\ -# $(SQUID_CPPUNIT_LIBS) \ -# $(SQUID_CPPUNIT_LA) \ -# $(COMPAT_LIB) +# $(LIBCPPUNIT_LIBS) \ +# $(COMPAT_LIB) \ +# $(XTRA_LIBS) # - add other component .(h|cc) files needed to link and run tests tests_testHttpReply_SOURCES=\ @@ -1017,10 +1017,9 @@ $(top_builddir)/lib/libmisccontainers.la \ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(NETTLELIB) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -1150,8 +1149,8 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL) @@ -1169,10 +1168,9 @@ tests/stub_MemBuf.cc \ $(TESTSOURCES) tests_testBoilerplate_LDADD= \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testBoilerplate_LDFLAGS = $(LIBADD_DL) @@ -1191,9 +1189,8 @@ tests_testCharacterSet_LDFLAGS = $(LIBADD_DL) tests_testCharacterSet_LDADD= \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) ## Tests of the CacheManager module. @@ -1428,10 +1425,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testCacheManager_LDFLAGS = $(LIBADD_DL) @@ -1601,15 +1597,14 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testDiskIO_LDFLAGS = $(LIBADD_DL) tests_testDiskIO_DEPENDENCIES = \ DiskIO/libdiskio.la \ - $(SWAP_TEST_DS) \ - $(SQUID_CPPUNIT_LA) + $(SWAP_TEST_DS) tests_testDns_SOURCES= \ tests/testRFC1035.cc \ @@ -1623,10 +1618,9 @@ dns/libdns.la \ base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) + $(XTRA_LIBS) tests_testDns_LDFLAGS= $(LIBADD_DL) tests_testEvent_SOURCES = \ @@ -1860,10 +1854,9 @@ $(SNMP_LIBS) \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testEvent_LDFLAGS = $(LIBADD_DL) @@ -2099,10 +2092,9 @@ $(SNMP_LIBS) \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testEventLoop_LDFLAGS = $(LIBADD_DL) @@ -2334,10 +2326,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_test_http_range_LDFLAGS = $(LIBADD_DL) @@ -2361,9 +2352,8 @@ base/libbase.la \ sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) tests_testHttp1Parser_SOURCES = \ @@ -2406,9 +2396,8 @@ ip/libip.la \ sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testHttp1Parser_LDFLAGS = $(LIBADD_DL) @@ -2643,10 +2632,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testHttpRequest_LDFLAGS = $(LIBADD_DL) @@ -2668,9 +2656,8 @@ icmp/libicmpcore.la \ ip/libip.la \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) ## Tests for ip/* objects @@ -2685,9 +2672,8 @@ tests_testIpAddress_LDADD= \ ip/libip.la \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) tests_testIpAddress_LDFLAGS= $(LIBADD_DL) @@ -2850,10 +2836,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ CommCalls.o \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testStore_LDFLAGS = $(LIBADD_DL) @@ -2889,9 +2874,8 @@ sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testString_LDFLAGS = $(LIBADD_DL) @@ -2909,8 +2893,7 @@ DiskIO/libdiskio.la \ ipc/libipc.la \ mgr/libmgr.la \ - $(REPL_OBJS) \ - $(SQUID_CPPUNIT_LA) + $(REPL_OBJS) tests_testUfs_SOURCES = \ tests/testUfs.cc \ @@ -3076,8 +3059,8 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testUfs_LDFLAGS = $(LIBADD_DL) @@ -3249,8 +3232,8 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testRock_LDFLAGS = $(AM_CPPFLAGS) $(LIBADD_DL) @@ -3490,11 +3473,9 @@ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ - $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testURL_LDFLAGS = $(LIBADD_DL) @@ -3514,10 +3495,9 @@ tests_testSBuf_LDADD= \ sbuf/libsbuf.la \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) + $(XTRA_LIBS) tests_testSBufList_SOURCES= \ tests/testSBufList.h \ @@ -3532,10 +3512,9 @@ tests_testSBufList_LDADD=\ sbuf/libsbuf.la \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) + $(XTRA_LIBS) tests_testConfigParser_SOURCES = \ ClientInfo.h \ @@ -3567,13 +3546,12 @@ base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testConfigParser_LDFLAGS = $(LIBADD_DL) - + tests_testStatHist_SOURCES = \ tests/stub_cbdata.cc \ fatal.h \ @@ -3610,8 +3588,7 @@ base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ $(top_builddir)/lib/libmisccontainers.la \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) tests_testLookupTable_SOURCES = \ @@ -3626,10 +3603,9 @@ tests_testLookupTable_LDADD = \ sbuf/libsbuf.la \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) + $(XTRA_LIBS) tests_testEnumIterator_SOURCES = \ base/EnumIterator.h \ @@ -3642,9 +3618,8 @@ tests_testEnumIterator_LDFLAGS = $(LIBADD_DL) tests_testEnumIterator_LDADD = \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ $(XTRA_LIBS) tests_testYesNoNone_SOURCES = \ @@ -3657,7 +3632,7 @@ base/YesNoNone.h tests_testYesNoNone_LDADD= \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testYesNoNone_LDFLAGS = $(LIBADD_DL) diff -u -r -N squid-4.0.11/src/Makefile.in squid-4.0.12/src/Makefile.in --- squid-4.0.11/src/Makefile.in 2016-06-10 08:34:30.000000000 +1200 +++ squid-4.0.12/src/Makefile.in 2016-07-02 01:28:23.000000000 +1200 @@ -507,8 +507,8 @@ tests_testBoilerplate_OBJECTS = $(am_tests_testBoilerplate_OBJECTS) \ $(nodist_tests_testBoilerplate_OBJECTS) tests_testBoilerplate_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) base/libbase.la \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) + base/libbase.la $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testBoilerplate_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testBoilerplate_LDFLAGS) \ @@ -648,8 +648,7 @@ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) tests_testCacheManager_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testCacheManager_LDFLAGS) \ @@ -661,8 +660,8 @@ tests_testCharacterSet_OBJECTS = $(am_tests_testCharacterSet_OBJECTS) \ $(nodist_tests_testCharacterSet_OBJECTS) tests_testCharacterSet_DEPENDENCIES = base/libbase.la \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testCharacterSet_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testCharacterSet_LDFLAGS) \ @@ -683,8 +682,7 @@ sbuf/libsbuf.la base/libbase.la \ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) tests_testConfigParser_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testConfigParser_LDFLAGS) \ @@ -798,9 +796,8 @@ tests_testDns_OBJECTS = $(am_tests_testDns_OBJECTS) \ $(nodist_tests_testDns_OBJECTS) tests_testDns_DEPENDENCIES = dns/libdns.la base/libbase.la \ - $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) + $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) tests_testDns_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testDns_LDFLAGS) $(LDFLAGS) \ @@ -812,7 +809,7 @@ $(nodist_tests_testEnumIterator_OBJECTS) tests_testEnumIterator_DEPENDENCIES = base/libbase.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) tests_testEnumIterator_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testEnumIterator_LDFLAGS) \ @@ -951,8 +948,8 @@ store/libstore.la sbuf/libsbuf.la $(am__DEPENDENCIES_5) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testEvent_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testEvent_LDFLAGS) \ @@ -1090,8 +1087,8 @@ sbuf/libsbuf.la store/libstore.la $(am__DEPENDENCIES_5) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testEventLoop_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testEventLoop_LDFLAGS) \ @@ -1116,8 +1113,8 @@ parser/libparser.la anyp/libanyp.la SquidConfig.o \ base/libbase.la ip/libip.la sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testHttp1Parser_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testHttp1Parser_LDFLAGS) \ @@ -1157,8 +1154,7 @@ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) tests_testHttpReply_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testHttpReply_LDFLAGS) \ @@ -1299,8 +1295,7 @@ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) tests_testHttpRequest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testHttpRequest_LDFLAGS) \ @@ -1311,8 +1306,8 @@ tests_testIcmp_OBJECTS = $(am_tests_testIcmp_OBJECTS) \ $(nodist_tests_testIcmp_OBJECTS) tests_testIcmp_DEPENDENCIES = icmp/libicmpcore.la ip/libip.la \ - base/libbase.la $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + base/libbase.la $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testIcmp_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testIcmp_LDFLAGS) \ @@ -1323,8 +1318,8 @@ tests_testIpAddress_OBJECTS = $(am_tests_testIpAddress_OBJECTS) \ $(nodist_tests_testIpAddress_OBJECTS) tests_testIpAddress_DEPENDENCIES = ip/libip.la base/libbase.la \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testIpAddress_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testIpAddress_LDFLAGS) \ @@ -1337,7 +1332,7 @@ $(nodist_tests_testLookupTable_OBJECTS) tests_testLookupTable_DEPENDENCIES = sbuf/libsbuf.la base/libbase.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) tests_testLookupTable_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testLookupTable_LDFLAGS) \ @@ -1448,7 +1443,7 @@ $(nodist_tests_testSBuf_OBJECTS) tests_testSBuf_DEPENDENCIES = sbuf/libsbuf.la base/libbase.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) tests_testSBuf_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testSBuf_LDFLAGS) \ @@ -1462,7 +1457,7 @@ $(nodist_tests_testSBufList_OBJECTS) tests_testSBufList_DEPENDENCIES = sbuf/libsbuf.la base/libbase.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) tests_testSBufList_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testSBufList_LDFLAGS) \ @@ -1485,7 +1480,7 @@ tests_testStatHist_DEPENDENCIES = sbuf/libsbuf.la base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ $(top_builddir)/lib/libmisccontainers.la $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) + $(am__DEPENDENCIES_3) tests_testStatHist_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testStatHist_LDFLAGS) \ @@ -1597,9 +1592,9 @@ $(top_builddir)/lib/libmisccontainers.la \ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) CommCalls.o \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testStore_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testStore_LDFLAGS) \ @@ -1618,8 +1613,8 @@ tests_testString_DEPENDENCIES = base/libbase.la libsquid.la \ ip/libip.la sbuf/libsbuf.la $(top_builddir)/lib/libmiscutil.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testString_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testString_LDFLAGS) \ @@ -1633,8 +1628,8 @@ $(nodist_tests_testTokenizer_OBJECTS) tests_testTokenizer_DEPENDENCIES = parser/libparser.la base/libbase.la \ sbuf/libsbuf.la $(top_builddir)/lib/libmiscutil.la \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_1) tests_testTokenizer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_testTokenizer_LDFLAGS) \ @@ -1772,7 +1767,6 @@ $(top_builddir)/lib/libmisccontainers.la \ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ $(am__DEPENDENCIES_1) @@ -2027,8 +2021,7 @@ $(top_builddir)/lib/libmiscutil.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \ - $(am__DEPENDENCIES_1) + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_1) tests_test_http_range_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(AM_CXXFLAGS) $(CXXFLAGS) $(tests_test_http_range_LDFLAGS) \ @@ -2482,7 +2475,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -2505,7 +2497,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -2521,7 +2512,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -2538,6 +2528,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -2611,9 +2603,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -2715,7 +2704,7 @@ TESTS = $(check_PROGRAMS) testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(top_builddir)/src $(am__append_11) \ $(KRB5INCS) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @@ -3178,9 +3167,9 @@ # $(TESTSOURCES) #tests_testX_LDFLAGS = $(LIBADD_DL) #tests_testX_LDADD=\ -# $(SQUID_CPPUNIT_LIBS) \ -# $(SQUID_CPPUNIT_LA) \ -# $(COMPAT_LIB) +# $(LIBCPPUNIT_LIBS) \ +# $(COMPAT_LIB) \ +# $(XTRA_LIBS) # - add other component .(h|cc) files needed to link and run tests tests_testHttpReply_SOURCES = \ @@ -3283,10 +3272,9 @@ $(top_builddir)/lib/libmisccontainers.la \ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(NETTLELIB) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -3418,8 +3406,8 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -3437,10 +3425,9 @@ $(TESTSOURCES) tests_testBoilerplate_LDADD = \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -3460,9 +3447,8 @@ tests_testCharacterSet_LDFLAGS = $(LIBADD_DL) tests_testCharacterSet_LDADD = \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) tests_testCacheManager_SOURCES = \ @@ -3698,10 +3684,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -3873,16 +3858,15 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) tests_testDiskIO_LDFLAGS = $(LIBADD_DL) tests_testDiskIO_DEPENDENCIES = \ DiskIO/libdiskio.la \ - $(SWAP_TEST_DS) \ - $(SQUID_CPPUNIT_LA) + $(SWAP_TEST_DS) tests_testDns_SOURCES = \ tests/testRFC1035.cc \ @@ -3898,10 +3882,9 @@ dns/libdns.la \ base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) + $(XTRA_LIBS) tests_testDns_LDFLAGS = $(LIBADD_DL) tests_testEvent_SOURCES = \ @@ -4137,10 +4120,9 @@ $(SNMP_LIBS) \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -4377,10 +4359,9 @@ $(SNMP_LIBS) \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -4614,10 +4595,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -4642,9 +4622,8 @@ base/libbase.la \ sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) tests_testHttp1Parser_SOURCES = \ @@ -4689,9 +4668,8 @@ ip/libip.la \ sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -4927,10 +4905,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -4954,9 +4931,8 @@ icmp/libicmpcore.la \ ip/libip.la \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) tests_testIpAddress_SOURCES = \ @@ -4972,9 +4948,8 @@ tests_testIpAddress_LDADD = \ ip/libip.la \ base/libbase.la \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ - $(SQUID_CPPUNIT_LIBS) \ $(XTRA_LIBS) tests_testIpAddress_LDFLAGS = $(LIBADD_DL) @@ -5135,10 +5110,9 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ CommCalls.o \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -5173,9 +5147,8 @@ sbuf/libsbuf.la \ $(top_builddir)/lib/libmiscutil.la \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -5193,8 +5166,7 @@ DiskIO/libdiskio.la \ ipc/libipc.la \ mgr/libmgr.la \ - $(REPL_OBJS) \ - $(SQUID_CPPUNIT_LA) + $(REPL_OBJS) tests_testUfs_SOURCES = \ tests/testUfs.cc \ @@ -5361,8 +5333,8 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -5537,8 +5509,8 @@ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -5779,11 +5751,9 @@ $(top_builddir)/lib/libmiscencoding.la \ $(top_builddir)/lib/libmiscutil.la \ $(NETTLELIB) \ - $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ $(KRB5LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -5804,10 +5774,9 @@ tests_testSBuf_LDADD = \ sbuf/libsbuf.la \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) + $(XTRA_LIBS) tests_testSBufList_SOURCES = \ tests/testSBufList.h \ @@ -5823,10 +5792,9 @@ tests_testSBufList_LDADD = \ sbuf/libsbuf.la \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) + $(XTRA_LIBS) tests_testConfigParser_SOURCES = \ ClientInfo.h \ @@ -5860,9 +5828,8 @@ base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ $(SSLLIB) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) @@ -5905,8 +5872,7 @@ base/libbase.la \ $(top_builddir)/lib/libmiscutil.la \ $(top_builddir)/lib/libmisccontainers.la \ - $(SQUID_CPPUNIT_LIBS) \ - $(SQUID_CPPUNIT_LA) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) tests_testLookupTable_SOURCES = \ @@ -5922,10 +5888,9 @@ tests_testLookupTable_LDADD = \ sbuf/libsbuf.la \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(XTRA_LIBS) \ - $(SQUID_CPPUNIT_LA) + $(XTRA_LIBS) tests_testEnumIterator_SOURCES = \ base/EnumIterator.h \ @@ -5940,9 +5905,8 @@ tests_testEnumIterator_LDFLAGS = $(LIBADD_DL) tests_testEnumIterator_LDADD = \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ - $(SQUID_CPPUNIT_LA) \ $(XTRA_LIBS) tests_testYesNoNone_SOURCES = \ @@ -5957,7 +5921,7 @@ tests_testYesNoNone_LDADD = \ base/libbase.la \ - $(SQUID_CPPUNIT_LIBS) \ + $(LIBCPPUNIT_LIBS) \ $(COMPAT_LIB) \ $(XTRA_LIBS) diff -u -r -N squid-4.0.11/src/mem/Makefile.in squid-4.0.12/src/mem/Makefile.in --- squid-4.0.11/src/mem/Makefile.in 2016-06-10 08:35:02.000000000 +1200 +++ squid-4.0.12/src/mem/Makefile.in 2016-07-02 01:28:57.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/mgr/Makefile.in squid-4.0.12/src/mgr/Makefile.in --- squid-4.0.11/src/mgr/Makefile.in 2016-06-10 08:35:03.000000000 +1200 +++ squid-4.0.12/src/mgr/Makefile.in 2016-07-02 01:28:57.000000000 +1200 @@ -487,7 +487,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -506,7 +505,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -522,7 +520,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -539,6 +536,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -612,9 +611,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -715,7 +711,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/parser/Makefile.in squid-4.0.12/src/parser/Makefile.in --- squid-4.0.11/src/parser/Makefile.in 2016-06-10 08:35:03.000000000 +1200 +++ squid-4.0.12/src/parser/Makefile.in 2016-07-02 01:28:58.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/repl/Makefile.in squid-4.0.12/src/repl/Makefile.in --- squid-4.0.11/src/repl/Makefile.in 2016-06-10 08:35:04.000000000 +1200 +++ squid-4.0.12/src/repl/Makefile.in 2016-07-02 01:28:58.000000000 +1200 @@ -493,7 +493,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -512,7 +511,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -528,7 +526,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -545,6 +542,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -618,9 +617,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -721,7 +717,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(srcdir) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/sbuf/forward.h squid-4.0.12/src/sbuf/forward.h --- squid-4.0.11/src/sbuf/forward.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/sbuf/forward.h 2016-07-02 01:26:44.000000000 +1200 @@ -17,6 +17,7 @@ class SBuf; class SBufIterator; class SBufReverseIterator; +class SBufReservationRequirements; class OutOfBoundsException; class InvalidParamException; diff -u -r -N squid-4.0.11/src/sbuf/Makefile.in squid-4.0.12/src/sbuf/Makefile.in --- squid-4.0.11/src/sbuf/Makefile.in 2016-06-10 08:35:04.000000000 +1200 +++ squid-4.0.12/src/sbuf/Makefile.in 2016-07-02 01:28:59.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/sbuf/SBuf.cc squid-4.0.12/src/sbuf/SBuf.cc --- squid-4.0.11/src/sbuf/SBuf.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/sbuf/SBuf.cc 2016-07-02 01:26:44.000000000 +1200 @@ -123,6 +123,29 @@ cow(minCapacity); } +SBuf::size_type +SBuf::reserve(const SBufReservationRequirements &req) +{ + debugs(24, 8, id << " was: " << off_ << '+' << len_ << '+' << spaceSize() << + '=' << store_->capacity); + + const bool mustRealloc = !req.allowShared && store_->LockCount() > 1; + + if (!mustRealloc && spaceSize() >= req.minSpace) + return spaceSize(); // the caller is content with what we have + + /* only reallocation can make the caller happy */ + + if (!mustRealloc && len_ >= req.maxCapacity) + return spaceSize(); // but we cannot reallocate + + const size_type newSpace = std::min(req.idealSpace, maxSize - len_); + reserveCapacity(std::min(len_ + newSpace, req.maxCapacity)); + debugs(24, 7, id << " now: " << off_ << '+' << len_ << '+' << spaceSize() << + '=' << store_->capacity); + return spaceSize(); // reallocated and probably reserved enough space +} + char * SBuf::rawSpace(size_type minSpace) { diff -u -r -N squid-4.0.11/src/sbuf/SBuf.h squid-4.0.12/src/sbuf/SBuf.h --- squid-4.0.11/src/sbuf/SBuf.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/sbuf/SBuf.h 2016-07-02 01:26:44.000000000 +1200 @@ -15,6 +15,7 @@ #include "Debug.h" #include "globals.h" #include "sbuf/Exceptions.h" +#include "sbuf/forward.h" #include "sbuf/MemBlob.h" #include "sbuf/Stats.h" @@ -39,7 +40,6 @@ } SBufCaseSensitive; class CharacterSet; -class SBuf; /** Forward input const_iterator for SBufs * @@ -465,6 +465,12 @@ */ void reserveCapacity(size_type minCapacity); + /** Accommodate caller's requirements regarding SBuf's storage if possible. + * + * \return spaceSize(), which may be zero + */ + size_type reserve(const SBufReservationRequirements &requirements); + /** slicing method * * Removes SBuf prefix and suffix, leaving a sequence of 'n' @@ -686,6 +692,22 @@ SBuf& lowAppend(const char * memArea, size_type areaSize); }; +/// Named SBuf::reserve() parameters. Defaults ask for and restrict nothing. +class SBufReservationRequirements +{ +public: + typedef SBuf::size_type size_type; + + /* + * Parameters are listed in the reverse order of importance: Satisfaction of + * the lower-listed requirements may violate the higher-listed requirements. + */ + size_type idealSpace = 0; ///< if allocating anyway, provide this much space + size_type minSpace = 0; ///< allocate if spaceSize() is smaller + size_type maxCapacity = SBuf::maxSize; ///< do not allocate more than this + bool allowShared = true; ///< whether sharing our storage with others is OK +}; + /// ostream output operator inline std::ostream & operator <<(std::ostream& os, const SBuf& S) diff -u -r -N squid-4.0.11/src/security/cert_generators/file/Makefile.in squid-4.0.12/src/security/cert_generators/file/Makefile.in --- squid-4.0.11/src/security/cert_generators/file/Makefile.in 2016-06-10 08:35:05.000000000 +1200 +++ squid-4.0.12/src/security/cert_generators/file/Makefile.in 2016-07-02 01:29:00.000000000 +1200 @@ -495,7 +495,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -514,7 +513,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -530,7 +528,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -547,6 +544,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -620,9 +619,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -723,7 +719,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/security/cert_generators/file/security_file_certgen.8.in squid-4.0.12/src/security/cert_generators/file/security_file_certgen.8.in --- squid-4.0.11/src/security/cert_generators/file/security_file_certgen.8.in 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/security/cert_generators/file/security_file_certgen.8.in 2016-07-02 01:26:44.000000000 +1200 @@ -114,7 +114,7 @@ .PP For example: .if !'po4a'hide' .RS -.if !'po4a'hide' .B security_file_certgen -c -s @DEFAULT_SSL_DB_DIR@ +.if !'po4a'hide' .B @DEFAULT_SSL_CRTD@ -c -s @DEFAULT_SSL_DB_DIR@ .if !'po4a'hide' .RE . .PP @@ -126,7 +126,7 @@ Only HTTP listening port options are required to enable generation and set the signign CA certificate. For Example: .if !'po4a'hide' .RS -.if !'po4a'hide' .B http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=@SYSCONFDIR@/ssl_cert/www.sample.com.pem +.if !'po4a'hide' .B http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=@SYSCONFDIR@/ssl_cert/example.com.pem .if !'po4a'hide' .RE . .PP diff -u -r -N squid-4.0.11/src/security/cert_generators/Makefile.in squid-4.0.12/src/security/cert_generators/Makefile.in --- squid-4.0.11/src/security/cert_generators/Makefile.in 2016-06-10 08:35:05.000000000 +1200 +++ squid-4.0.12/src/security/cert_generators/Makefile.in 2016-07-02 01:29:00.000000000 +1200 @@ -266,7 +266,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -285,7 +284,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -301,7 +299,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -318,6 +315,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -391,9 +390,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/src/security/cert_validators/fake/Makefile.in squid-4.0.12/src/security/cert_validators/fake/Makefile.in --- squid-4.0.11/src/security/cert_validators/fake/Makefile.in 2016-06-10 08:35:06.000000000 +1200 +++ squid-4.0.12/src/security/cert_validators/fake/Makefile.in 2016-07-02 01:29:01.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = security_fake_certverify $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/security/cert_validators/fake/security_fake_certverify.8 squid-4.0.12/src/security/cert_validators/fake/security_fake_certverify.8 --- squid-4.0.11/src/security/cert_validators/fake/security_fake_certverify.8 2016-06-10 09:30:03.000000000 +1200 +++ squid-4.0.12/src/security/cert_validators/fake/security_fake_certverify.8 2016-07-02 02:25:00.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "SECURITY_FAKE_CERTVERIFY 8" -.TH SECURITY_FAKE_CERTVERIFY 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH SECURITY_FAKE_CERTVERIFY 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/security/cert_validators/Makefile.in squid-4.0.12/src/security/cert_validators/Makefile.in --- squid-4.0.11/src/security/cert_validators/Makefile.in 2016-06-10 08:35:06.000000000 +1200 +++ squid-4.0.12/src/security/cert_validators/Makefile.in 2016-07-02 01:29:01.000000000 +1200 @@ -266,7 +266,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -285,7 +284,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -301,7 +299,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -318,6 +315,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -391,9 +390,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/src/security/Makefile.in squid-4.0.12/src/security/Makefile.in --- squid-4.0.11/src/security/Makefile.in 2016-06-10 08:35:05.000000000 +1200 +++ squid-4.0.12/src/security/Makefile.in 2016-07-02 01:29:00.000000000 +1200 @@ -525,7 +525,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -544,7 +543,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -560,7 +558,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -577,6 +574,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -650,9 +649,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -753,7 +749,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/security/PeerOptions.cc squid-4.0.12/src/security/PeerOptions.cc --- squid-4.0.11/src/security/PeerOptions.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/security/PeerOptions.cc 2016-07-02 01:26:44.000000000 +1200 @@ -587,10 +587,12 @@ Security::PeerOptions::updateContextCa(Security::ContextPtr &ctx) { debugs(83, 8, "Setting CA certificate locations."); - +#if USE_OPENSSL + const char *path = caDir.isEmpty() ? nullptr : caDir.c_str(); +#endif for (auto i : caFiles) { #if USE_OPENSSL - if (!SSL_CTX_load_verify_locations(ctx, i.c_str(), caDir.c_str())) { + if (!SSL_CTX_load_verify_locations(ctx, i.c_str(), path)) { const int ssl_error = ERR_get_error(); debugs(83, DBG_IMPORTANT, "WARNING: Ignoring error setting CA certificate locations: " << ERR_error_string(ssl_error, NULL)); } diff -u -r -N squid-4.0.11/src/security/Session.cc squid-4.0.12/src/security/Session.cc --- squid-4.0.11/src/security/Session.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/security/Session.cc 2016-07-02 01:26:44.000000000 +1200 @@ -16,6 +16,45 @@ #define SSL_SESSION_ID_SIZE 32 #define SSL_SESSION_MAX_SIZE 10*1024 +bool +Security::SessionIsResumed(const Security::SessionPointer &s) +{ + return +#if USE_OPENSSL + SSL_session_reused(s.get()) == 1; +#elif USE_GNUTLS + gnutls_session_is_resumed(s.get()) != 0; +#else + false; +#endif +} + +void +Security::GetSessionResumeData(const Security::SessionPointer &s, Security::SessionStatePointer &data) +{ + if (!SessionIsResumed(s)) { +#if USE_OPENSSL + data.reset(SSL_get1_session(s.get())); +#elif USE_GNUTLS + gnutls_datum_t *tmp = nullptr; + (void)gnutls_session_get_data2(s.get(), tmp); + data.reset(tmp); +#endif + } +} + +void +Security::SetSessionResumeData(const Security::SessionPtr &s, const Security::SessionStatePointer &data) +{ + if (s) { +#if USE_OPENSSL + (void)SSL_set_session(s, data.get()); +#elif USE_GNUTLS + (void)gnutls_session_set_data(s, data->data, data->size); +#endif + } +} + static bool isTlsServer() { diff -u -r -N squid-4.0.11/src/security/Session.h squid-4.0.12/src/security/Session.h --- squid-4.0.11/src/security/Session.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/security/Session.h 2016-07-02 01:26:44.000000000 +1200 @@ -31,6 +31,10 @@ CtoCpp1(SSL_free, SSL *); typedef LockingPointer SessionPointer; +typedef SSL_SESSION* SessionStatePtr; +CtoCpp1(SSL_SESSION_free, SSL_SESSION *); +typedef LockingPointer SessionStatePointer; + #elif USE_GNUTLS typedef gnutls_session_t SessionPtr; CtoCpp1(gnutls_deinit, gnutls_session_t); @@ -40,13 +44,28 @@ // library functions typedef TidyPointer SessionPointer; +typedef gnutls_datum_t *SessionStatePtr; +CtoCpp1(gnutls_free, gnutls_datum_t *); +typedef TidyPointer SessionStatePointer; + #else // use void* so we can check against NULL typedef void* SessionPtr; typedef TidyPointer SessionPointer; +typedef TidyPointer SessionStatePointer; #endif +/// whether the session is a resumed one +bool SessionIsResumed(const Security::SessionPointer &); + +/// Retrieve the data needed to resume this session on a later connection +void GetSessionResumeData(const Security::SessionPointer &, Security::SessionStatePointer &); + +/// Set the data for resuming a previous session. +/// Needs to be done before using the SessionPointer for a handshake. +void SetSessionResumeData(const Security::SessionPtr &, const Security::SessionStatePointer &); + } // namespace Security #endif /* SQUID_SRC_SECURITY_SESSION_H */ diff -u -r -N squid-4.0.11/src/servers/FtpServer.cc squid-4.0.12/src/servers/FtpServer.cc --- squid-4.0.11/src/servers/FtpServer.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/servers/FtpServer.cc 2016-07-02 01:26:44.000000000 +1200 @@ -220,12 +220,18 @@ void Ftp::Server::noteMoreBodySpaceAvailable(BodyPipe::Pointer) { + if (!isOpen()) // if we are closing, nothing to do + return; + shovelUploadData(); } void Ftp::Server::noteBodyConsumerAborted(BodyPipe::Pointer ptr) { + if (!isOpen()) // if we are closing, nothing to do + return; + ConnStateData::noteBodyConsumerAborted(ptr); closeDataConnection(); } @@ -753,15 +759,11 @@ Http::Stream *const result = new Http::Stream(clientConnection, http); - StoreIOBuffer tempBuffer; - tempBuffer.data = result->reqbuf; - tempBuffer.length = HTTP_REQBUF_SZ; - ClientStreamData newServer = new clientReplyContext(http); ClientStreamData newClient = result; clientStreamInit(&http->client_stream, clientGetMoreData, clientReplyDetach, clientReplyStatus, newServer, clientSocketRecipient, - clientSocketDetach, newClient, tempBuffer); + clientSocketDetach, newClient, result->getClientStreamBuffer()); result->flags.parsed_ok = 1; return result; @@ -1731,6 +1733,9 @@ void Ftp::Server::startWaitingForOrigin() { + if (!isOpen()) // if we are closing, nothing to do + return; + debugs(33, 5, "waiting for Ftp::Client data transfer to end"); waitingForOrigin = true; } @@ -1741,6 +1746,9 @@ Must(waitingForOrigin); waitingForOrigin = false; + if (!isOpen()) // if we are closing, nothing to do + return; + // if we have already decided how to respond, respond now if (delayedReply) { HttpReply::Pointer reply = delayedReply; diff -u -r -N squid-4.0.11/src/servers/Makefile.in squid-4.0.12/src/servers/Makefile.in --- squid-4.0.11/src/servers/Makefile.in 2016-06-10 08:35:06.000000000 +1200 +++ squid-4.0.12/src/servers/Makefile.in 2016-07-02 01:29:02.000000000 +1200 @@ -482,7 +482,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -501,7 +500,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -517,7 +515,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -534,6 +531,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -607,9 +606,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -710,7 +706,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/servers/Server.cc squid-4.0.12/src/servers/Server.cc --- squid-4.0.11/src/servers/Server.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/servers/Server.cc 2016-07-02 01:26:44.000000000 +1200 @@ -61,26 +61,24 @@ } } -bool +/// Prepare inBuf for I/O. This method balances several conflicting desires: +/// 1. Do not read too few bytes at a time. +/// 2. Do not waste too much buffer space. +/// 3. Do not [re]allocate or memmove the buffer too much. +/// 4. Obey Config.maxRequestBufferSize limit. +void Server::maybeMakeSpaceAvailable() { - if (inBuf.spaceSize() < 2) { - const SBuf::size_type haveCapacity = inBuf.length() + inBuf.spaceSize(); - if (haveCapacity >= Config.maxRequestBufferSize) { - debugs(33, 4, "request buffer full: client_request_buffer_max_size=" << Config.maxRequestBufferSize); - return false; - } - if (haveCapacity == 0) { - // haveCapacity is based on the SBuf visible window of the MemBlob buffer, which may fill up. - // at which point bump the buffer back to default. This allocates a new MemBlob with any un-parsed bytes. - inBuf.reserveCapacity(CLIENT_REQ_BUF_SZ); - } else { - const SBuf::size_type wantCapacity = min(static_cast(Config.maxRequestBufferSize), haveCapacity*2); - inBuf.reserveCapacity(wantCapacity); - } - debugs(33, 2, "growing request buffer: available=" << inBuf.spaceSize() << " used=" << inBuf.length()); - } - return (inBuf.spaceSize() >= 2); + // The hard-coded parameters are arbitrary but seem reasonable. + // A careful study of Squid I/O and parsing patterns is needed to tune them. + SBufReservationRequirements requirements; + requirements.minSpace = 1024; // smaller I/Os are not worth their overhead + requirements.idealSpace = CLIENT_REQ_BUF_SZ; // we expect few larger I/Os + requirements.maxCapacity = Config.maxRequestBufferSize; + requirements.allowShared = true; // allow because inBuf is used immediately + inBuf.reserve(requirements); + if (!inBuf.spaceSize()) + debugs(33, 4, "request buffer full: client_request_buffer_max_size=" << Config.maxRequestBufferSize); } void diff -u -r -N squid-4.0.11/src/servers/Server.h squid-4.0.12/src/servers/Server.h --- squid-4.0.11/src/servers/Server.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/servers/Server.h 2016-07-02 01:26:44.000000000 +1200 @@ -90,7 +90,7 @@ public: /// grows the available read buffer space (if possible) - bool maybeMakeSpaceAvailable(); + void maybeMakeSpaceAvailable(); // Client TCP connection details from comm layer. Comm::ConnectionPointer clientConnection; diff -u -r -N squid-4.0.11/src/snmp/Makefile.in squid-4.0.12/src/snmp/Makefile.in --- squid-4.0.11/src/snmp/Makefile.in 2016-06-10 08:35:07.000000000 +1200 +++ squid-4.0.12/src/snmp/Makefile.in 2016-07-02 01:29:02.000000000 +1200 @@ -483,7 +483,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -502,7 +501,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -518,7 +516,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -535,6 +532,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -608,9 +607,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -711,7 +707,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/ssl/BlindPeerConnector.cc squid-4.0.12/src/ssl/BlindPeerConnector.cc --- squid-4.0.11/src/ssl/BlindPeerConnector.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/ssl/BlindPeerConnector.cc 2016-07-02 01:26:44.000000000 +1200 @@ -46,8 +46,7 @@ SBuf *host = new SBuf(peer->secure.sslDomain); SSL_set_ex_data(ssl, ssl_ex_index_server, host); - if (peer->sslSession) - SSL_set_session(ssl, peer->sslSession); + Security::SetSessionResumeData(ssl, peer->sslSession); } else { SBuf *hostName = new SBuf(request->url.host()); SSL_set_ex_data(ssl, ssl_ex_index_server, (void*)hostName); @@ -70,13 +69,9 @@ return; } - const int fd = serverConnection()->fd; - Security::SessionPtr ssl = fd_table[fd].ssl.get(); - if (serverConnection()->getPeer() && !SSL_session_reused(ssl)) { - if (serverConnection()->getPeer()->sslSession) - SSL_SESSION_free(serverConnection()->getPeer()->sslSession); - - serverConnection()->getPeer()->sslSession = SSL_get1_session(ssl); + if (auto *peer = serverConnection()->getPeer()) { + const int fd = serverConnection()->fd; + Security::GetSessionResumeData(fd_table[fd].ssl, peer->sslSession); } } diff -u -r -N squid-4.0.11/src/ssl/gadgets.cc squid-4.0.12/src/ssl/gadgets.cc --- squid-4.0.11/src/ssl/gadgets.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/ssl/gadgets.cc 2016-07-02 01:26:44.000000000 +1200 @@ -264,13 +264,95 @@ return certKey; } +/// Check if mimicCert certificate has the Authority Key Identifier extension +/// and if yes add the extension to cert certificate with the same fields if +/// possible. If the issuerCert certificate does not have the Subject Key +/// Identifier extension (required to build the keyIdentifier field of +/// AuthorityKeyIdentifier) then the authorityCertIssuer and +/// authorityCertSerialNumber fields added. +static bool +mimicAuthorityKeyId(Security::CertPointer &cert, Security::CertPointer const &mimicCert, Security::CertPointer const &issuerCert) +{ + if (!mimicCert.get() || !issuerCert.get()) + return false; + + Ssl::AUTHORITY_KEYID_Pointer akid((AUTHORITY_KEYID *)X509_get_ext_d2i(mimicCert.get(), NID_authority_key_identifier, nullptr, nullptr)); + + bool addKeyId = false, addIssuer = false; + if (akid.get()) { + addKeyId = (akid.get()->keyid != nullptr); + addIssuer = (akid.get()->issuer && akid.get()->serial); + } + + if (!addKeyId && !addIssuer) + return false; // No need to add AuthorityKeyIdentifier + + Ssl::ASN1_OCTET_STRING_Pointer issuerKeyId; + if (addKeyId) { + X509_EXTENSION *ext; + // Check if the issuer has the Subject Key Identifier extension + const int indx = X509_get_ext_by_NID(issuerCert.get(), NID_subject_key_identifier, -1); + if (indx >= 0 && (ext = X509_get_ext(issuerCert.get(), indx))) { + issuerKeyId.reset((ASN1_OCTET_STRING *)X509V3_EXT_d2i(ext)); + } + } + + Ssl::X509_NAME_Pointer issuerName; + Ssl::ASN1_INT_Pointer issuerSerial; + if (issuerKeyId.get() == nullptr || addIssuer) { + issuerName.reset(X509_NAME_dup(X509_get_issuer_name(issuerCert.get()))); + issuerSerial.reset(M_ASN1_INTEGER_dup(X509_get_serialNumber(issuerCert.get()))); + } + + Ssl::AUTHORITY_KEYID_Pointer theAuthKeyId(AUTHORITY_KEYID_new()); + if (!theAuthKeyId.get()) + return false; + theAuthKeyId.get()->keyid = issuerKeyId.release(); + if (issuerName && issuerSerial) { + Ssl::GENERAL_NAME_STACK_Pointer genNames(sk_GENERAL_NAME_new_null()); + if (genNames.get()) { + if (GENERAL_NAME *aname = GENERAL_NAME_new()) { + sk_GENERAL_NAME_push(genNames.get(), aname); + aname->type = GEN_DIRNAME; + aname->d.dirn = issuerName.release(); + theAuthKeyId.get()->issuer = genNames.release(); + theAuthKeyId.get()->serial = issuerSerial.release(); + } + } + } + + // The Authority Key Identifier extension should include KeyId or/and both + /// issuer name and issuer serial + if (!theAuthKeyId.get()->keyid && (!theAuthKeyId.get()->issuer || !theAuthKeyId.get()->serial)) + return false; + + const X509V3_EXT_METHOD *method = X509V3_EXT_get_nid(NID_authority_key_identifier); + if (!method) + return false; + + unsigned char *ext_der = NULL; + int ext_len = ASN1_item_i2d((ASN1_VALUE *)theAuthKeyId.get(), &ext_der, ASN1_ITEM_ptr(method->it)); + Ssl::ASN1_OCTET_STRING_Pointer extOct(M_ASN1_OCTET_STRING_new()); + extOct.get()->data = ext_der; + extOct.get()->length = ext_len; + Ssl::X509_EXTENSION_Pointer extAuthKeyId(X509_EXTENSION_create_by_NID(NULL, NID_authority_key_identifier, 0, extOct.get())); + if (!extAuthKeyId.get()) + return false; + + extOct.release(); + if (!X509_add_ext(cert.get(), extAuthKeyId.get(), -1)) + return false; + + return true; +} + /// Copy certificate extensions from cert to mimicCert. /// Returns the number of extensions copied. // Currently only extensions which are reported by the users that required are // mimicked. More safe to mimic extensions would be added here if users request // them. static int -mimicExtensions(Security::CertPointer & cert, Security::CertPointer const & mimicCert) +mimicExtensions(Security::CertPointer & cert, Security::CertPointer const &mimicCert, Security::CertPointer const &issuerCert) { static int extensions[]= { NID_key_usage, @@ -333,6 +415,9 @@ } } + if (mimicAuthorityKeyId(cert, mimicCert, issuerCert)) + ++added; + // We could also restrict mimicking of the CA extension to CA:FALSE // because Squid does not generate valid fake CA certificates. @@ -409,7 +494,7 @@ } } - addedExtensions += mimicExtensions(cert, properties.mimicCert); + addedExtensions += mimicExtensions(cert, properties.mimicCert, properties.signWithX509); // According to RFC 5280, using extensions requires v3 certificate. if (addedExtensions) diff -u -r -N squid-4.0.11/src/ssl/gadgets.h squid-4.0.12/src/ssl/gadgets.h --- squid-4.0.11/src/ssl/gadgets.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/ssl/gadgets.h 2016-07-02 01:26:44.000000000 +1200 @@ -15,6 +15,9 @@ #if HAVE_OPENSSL_TXT_DB_H #include #endif +#if HAVE_OPENSSL_X509V3_H +#include +#endif #include namespace Ssl @@ -54,6 +57,9 @@ CtoCpp1(ASN1_INTEGER_free, ASN1_INTEGER *) typedef TidyPointer ASN1_INT_Pointer; +CtoCpp1(ASN1_OCTET_STRING_free, ASN1_OCTET_STRING *) +typedef TidyPointer ASN1_OCTET_STRING_Pointer; + CtoCpp1(TXT_DB_free, TXT_DB *) typedef TidyPointer TXT_DB_Pointer; @@ -69,6 +75,18 @@ sk_free_wrapper(sk_X509_NAME, STACK_OF(X509_NAME) *, X509_NAME_free) typedef TidyPointer X509_NAME_STACK_Pointer; +CtoCpp1(AUTHORITY_KEYID_free, AUTHORITY_KEYID *) +typedef TidyPointer AUTHORITY_KEYID_Pointer; + +sk_free_wrapper(sk_GENERAL_NAME, STACK_OF(GENERAL_NAME) *, GENERAL_NAME_free) +typedef TidyPointer GENERAL_NAME_STACK_Pointer; + +CtoCpp1(GENERAL_NAME_free, GENERAL_NAME *) +typedef TidyPointer GENERAL_NAME_Pointer; + +CtoCpp1(X509_EXTENSION_free, X509_EXTENSION *) +typedef TidyPointer X509_EXTENSION_Pointer; + /** \ingroup SslCrtdSslAPI * Create 1024 bits rsa key. diff -u -r -N squid-4.0.11/src/ssl/Makefile.in squid-4.0.12/src/ssl/Makefile.in --- squid-4.0.11/src/ssl/Makefile.in 2016-06-10 08:35:07.000000000 +1200 +++ squid-4.0.12/src/ssl/Makefile.in 2016-07-02 01:29:03.000000000 +1200 @@ -488,7 +488,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -507,7 +506,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -523,7 +521,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -540,6 +537,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -613,9 +612,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -716,7 +712,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/store/id_rewriters/file/Makefile.in squid-4.0.12/src/store/id_rewriters/file/Makefile.in --- squid-4.0.11/src/store/id_rewriters/file/Makefile.in 2016-06-10 08:35:09.000000000 +1200 +++ squid-4.0.12/src/store/id_rewriters/file/Makefile.in 2016-07-02 01:29:04.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = storeid_file_rewrite $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/store/id_rewriters/file/storeid_file_rewrite.8 squid-4.0.12/src/store/id_rewriters/file/storeid_file_rewrite.8 --- squid-4.0.11/src/store/id_rewriters/file/storeid_file_rewrite.8 2016-06-10 09:29:00.000000000 +1200 +++ squid-4.0.12/src/store/id_rewriters/file/storeid_file_rewrite.8 2016-07-02 02:23:49.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "STOREID_FILE_REWRITE 8" -.TH STOREID_FILE_REWRITE 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH STOREID_FILE_REWRITE 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/src/store/id_rewriters/Makefile.in squid-4.0.12/src/store/id_rewriters/Makefile.in --- squid-4.0.11/src/store/id_rewriters/Makefile.in 2016-06-10 08:35:08.000000000 +1200 +++ squid-4.0.12/src/store/id_rewriters/Makefile.in 2016-07-02 01:29:04.000000000 +1200 @@ -266,7 +266,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -285,7 +284,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -301,7 +299,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -318,6 +315,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -391,9 +390,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/src/store/Makefile.in squid-4.0.12/src/store/Makefile.in --- squid-4.0.11/src/store/Makefile.in 2016-06-10 08:35:08.000000000 +1200 +++ squid-4.0.12/src/store/Makefile.in 2016-07-02 01:29:04.000000000 +1200 @@ -523,7 +523,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -542,7 +541,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -558,7 +556,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -575,6 +572,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -648,9 +647,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -751,7 +747,7 @@ TESTS = testHeaders AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/src/store.cc squid-4.0.12/src/store.cc --- squid-4.0.11/src/store.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/store.cc 2016-07-02 01:26:44.000000000 +1200 @@ -599,8 +599,6 @@ void StoreEntry::setPrivateKey() { - const cache_key *newkey; - if (key && EBIT_TEST(flags, KEY_PRIVATE)) return; /* is already private */ @@ -614,12 +612,9 @@ hashDelete(); } - if (mem_obj && mem_obj->hasUris()) { + if (mem_obj && mem_obj->hasUris()) mem_obj->id = getKeyCounter(); - newkey = storeKeyPrivate(mem_obj->storeId(), mem_obj->method, mem_obj->id); - } else { - newkey = storeKeyPrivate("JUNK", Http::METHOD_NONE, getKeyCounter()); - } + const cache_key *newkey = storeKeyPrivate(); assert(hash_lookup(store_table, newkey) == NULL); EBIT_SET(flags, KEY_PRIVATE); diff -u -r -N squid-4.0.11/src/store_key_md5.cc squid-4.0.12/src/store_key_md5.cc --- squid-4.0.11/src/store_key_md5.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/store_key_md5.cc 2016-07-02 01:26:44.000000000 +1200 @@ -80,18 +80,18 @@ } const cache_key * -storeKeyPrivate(const char *url, const HttpRequestMethod& method, int id) +storeKeyPrivate() { - static cache_key digest[SQUID_MD5_DIGEST_LENGTH]; - SquidMD5_CTX M; - assert(id > 0); - debugs(20, 3, "storeKeyPrivate: " << method << " " << url); - SquidMD5Init(&M); - SquidMD5Update(&M, (unsigned char *) &id, sizeof(id)); - SquidMD5Update(&M, (unsigned char *) &method, sizeof(method)); - SquidMD5Update(&M, (unsigned char *) url, strlen(url)); - SquidMD5Final(digest, &M); - return digest; + // only the count field is required + // others just simplify searching for keys in a multi-process cache.log + static struct { + uint64_t count; + pid_t pid; + int32_t kid; + } key = { 0, getpid(), KidIdentifier }; + assert(sizeof(key) == SQUID_MD5_DIGEST_LENGTH); + ++key.count; + return reinterpret_cast(&key); } const cache_key * diff -u -r -N squid-4.0.11/src/store_key_md5.h squid-4.0.12/src/store_key_md5.h --- squid-4.0.11/src/store_key_md5.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/store_key_md5.h 2016-07-02 01:26:44.000000000 +1200 @@ -25,7 +25,7 @@ const cache_key *storeKeyPublic(const char *, const HttpRequestMethod&); const cache_key *storeKeyPublicByRequest(HttpRequest *); const cache_key *storeKeyPublicByRequestMethod(HttpRequest *, const HttpRequestMethod&); -const cache_key *storeKeyPrivate(const char *, const HttpRequestMethod&, int); +const cache_key *storeKeyPrivate(); int storeKeyHashBuckets(int); int storeKeyNull(const cache_key *); void storeKeyInit(void); diff -u -r -N squid-4.0.11/src/tests/stub_libsecurity.cc squid-4.0.12/src/tests/stub_libsecurity.cc --- squid-4.0.11/src/tests/stub_libsecurity.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/stub_libsecurity.cc 2016-07-02 01:26:44.000000000 +1200 @@ -48,3 +48,10 @@ Security::HandshakeParser::HandshakeParser() STUB bool Security::HandshakeParser::parseHello(const SBuf &) STUB_RETVAL(false) +#include "security/Session.h" +namespace Security { +bool SessionIsResumed(const Security::SessionPointer &) STUB_RETVAL(false) +void GetSessionResumeData(const Security::SessionPointer &, Security::SessionStatePointer &) STUB +void SetSessionResumeData(const Security::SessionPtr &, const Security::SessionStatePointer &) STUB +} // namespace Security + diff -u -r -N squid-4.0.11/src/tests/stub_SBuf.cc squid-4.0.12/src/tests/stub_SBuf.cc --- squid-4.0.11/src/tests/stub_SBuf.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/stub_SBuf.cc 2016-07-02 01:26:44.000000000 +1200 @@ -53,6 +53,7 @@ void SBuf::forceSize(size_type newSize) STUB const char* SBuf::c_str() STUB_RETVAL("") void SBuf::reserveCapacity(size_type minCapacity) STUB +SBuf::size_type SBuf::reserve(const SBufReservationRequirements &) STUB_RETVAL(0) SBuf& SBuf::chop(size_type pos, size_type n) STUB_RETVAL(*this) SBuf& SBuf::trim(const SBuf &toRemove, bool atBeginning, bool atEnd) STUB_RETVAL(*this) SBuf SBuf::substr(size_type pos, size_type n) const STUB_RETVAL(*this) diff -u -r -N squid-4.0.11/src/tests/stub_SBufDetailedStats.cc squid-4.0.12/src/tests/stub_SBufDetailedStats.cc --- squid-4.0.11/src/tests/stub_SBufDetailedStats.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/stub_SBufDetailedStats.cc 2016-07-02 01:26:44.000000000 +1200 @@ -14,8 +14,8 @@ class StatHist; -void recordSBufSizeAtDestruct(SBuf::size_type) STUB_NOP +void recordSBufSizeAtDestruct(SBuf::size_type) {} // STUB_NOP const StatHist * collectSBufDestructTimeStats() STUB_RETVAL(nullptr) -void recordMemBlobSizeAtDestruct(SBuf::size_type) STUB_NOP +void recordMemBlobSizeAtDestruct(SBuf::size_type) {} // STUB_NOP const StatHist * collectMemBlobDestructTimeStats() STUB_RETVAL(nullptr) diff -u -r -N squid-4.0.11/src/tests/testRock.cc squid-4.0.12/src/tests/testRock.cc --- squid-4.0.11/src/tests/testRock.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/testRock.cc 2016-07-02 01:26:44.000000000 +1200 @@ -146,8 +146,6 @@ httpHeaderInitModule(); /* must go before any header processing (e.g. the one in errorInitialize) */ - httpReplyInitModule(); /* must go before accepting replies */ - mem_policy = createRemovalPolicy(Config.replPolicy); inited = true; diff -u -r -N squid-4.0.11/src/tests/testSBuf.cc squid-4.0.12/src/tests/testSBuf.cc --- squid-4.0.11/src/tests/testSBuf.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/testSBuf.cc 2016-07-02 01:26:44.000000000 +1200 @@ -813,6 +813,40 @@ } void +testSBuf::testReserve() +{ + SBufReservationRequirements requirements; + // use unusual numbers to ensure we dont hit a lucky boundary situation + requirements.minSpace = 10; + requirements.idealSpace = 82; + requirements.maxCapacity = 259; + requirements.allowShared = true; + + // for each possible starting buffer length within the capacity + for (SBuf::size_type startLength = 0; startLength <= requirements.maxCapacity; ++startLength) { + std::cerr << "."; + SBuf b; + b.reserveCapacity(startLength); + CPPUNIT_ASSERT_EQUAL(b.length(), static_cast(0)); + CPPUNIT_ASSERT_EQUAL(b.spaceSize(), startLength); + + // check that it never grows outside capacity. + // do 5 excess cycles to check that. + for (SBuf::size_type filled = 0; filled < requirements.maxCapacity +5; ++filled) { + CPPUNIT_ASSERT_EQUAL(b.length(), min(filled, requirements.maxCapacity)); + auto x = b.reserve(requirements); + // the amount of space advertized must not cause users to exceed capacity + CPPUNIT_ASSERT(x <= requirements.maxCapacity - filled); + CPPUNIT_ASSERT(b.spaceSize() <= requirements.maxCapacity - filled); + // the total size of buffer must not cause users to exceed capacity + CPPUNIT_ASSERT(b.length() + b.spaceSize() <= requirements.maxCapacity); + if (x > 0) + b.append('X'); + } + } +} + +void testSBuf::testStartsWith() { static SBuf casebuf("THE QUICK"); diff -u -r -N squid-4.0.11/src/tests/testSBuf.h squid-4.0.12/src/tests/testSBuf.h --- squid-4.0.11/src/tests/testSBuf.h 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/testSBuf.h 2016-07-02 01:26:44.000000000 +1200 @@ -49,6 +49,7 @@ CPPUNIT_TEST( testCopy ); CPPUNIT_TEST( testStringOps ); CPPUNIT_TEST( testGrow ); + CPPUNIT_TEST( testReserve ); CPPUNIT_TEST( testSBufStream ); CPPUNIT_TEST( testAutoFind ); CPPUNIT_TEST( testStdStringOps ); @@ -87,6 +88,7 @@ void testCopy(); void testStringOps(); void testGrow(); + void testReserve(); void testStartsWith(); void testSBufStream(); void testFindFirstOf(); diff -u -r -N squid-4.0.11/src/tests/testUfs.cc squid-4.0.12/src/tests/testUfs.cc --- squid-4.0.11/src/tests/testUfs.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tests/testUfs.cc 2016-07-02 01:26:44.000000000 +1200 @@ -76,8 +76,6 @@ httpHeaderInitModule(); /* must go before any header processing (e.g. the one in errorInitialize) */ - httpReplyInitModule(); /* must go before accepting replies */ - inited = true; } diff -u -r -N squid-4.0.11/src/tools.cc squid-4.0.12/src/tools.cc --- squid-4.0.11/src/tools.cc 2016-06-10 08:32:57.000000000 +1200 +++ squid-4.0.12/src/tools.cc 2016-07-02 01:26:44.000000000 +1200 @@ -718,6 +718,8 @@ mode_t old_umask; char buf[32]; + debugs(50, DBG_IMPORTANT, "creating PID file: " << Config.pidFilename); + if ((f = Config.pidFilename) == NULL) return; @@ -751,6 +753,7 @@ removePidFile() { if (Config.pidFilename && strcmp(Config.pidFilename, "none") != 0) { + debugs(50, DBG_IMPORTANT, "removing PID file: " << Config.pidFilename); enter_suid(); safeunlink(Config.pidFilename, 0); leave_suid(); diff -u -r -N squid-4.0.11/test-suite/Makefile.in squid-4.0.12/test-suite/Makefile.in --- squid-4.0.11/test-suite/Makefile.in 2016-06-10 08:35:09.000000000 +1200 +++ squid-4.0.12/test-suite/Makefile.in 2016-07-02 01:29:05.000000000 +1200 @@ -565,7 +565,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -584,7 +583,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -600,7 +598,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -617,6 +614,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -690,9 +689,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -792,7 +788,7 @@ CLEANFILES = $(STUBS) stub_libmem.cc squid-conf-tests AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(srcdir) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/test-suite/stub_SBuf.cc squid-4.0.12/test-suite/stub_SBuf.cc --- squid-4.0.11/test-suite/stub_SBuf.cc 2016-06-10 09:30:12.000000000 +1200 +++ squid-4.0.12/test-suite/stub_SBuf.cc 2016-07-02 02:25:10.000000000 +1200 @@ -53,6 +53,7 @@ void SBuf::forceSize(size_type newSize) STUB const char* SBuf::c_str() STUB_RETVAL("") void SBuf::reserveCapacity(size_type minCapacity) STUB +SBuf::size_type SBuf::reserve(const SBufReservationRequirements &) STUB_RETVAL(0) SBuf& SBuf::chop(size_type pos, size_type n) STUB_RETVAL(*this) SBuf& SBuf::trim(const SBuf &toRemove, bool atBeginning, bool atEnd) STUB_RETVAL(*this) SBuf SBuf::substr(size_type pos, size_type n) const STUB_RETVAL(*this) diff -u -r -N squid-4.0.11/tools/helper-mux/helper-mux.8 squid-4.0.12/tools/helper-mux/helper-mux.8 --- squid-4.0.11/tools/helper-mux/helper-mux.8 2016-06-10 09:30:16.000000000 +1200 +++ squid-4.0.12/tools/helper-mux/helper-mux.8 2016-07-02 02:25:14.000000000 +1200 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "HELPER-MUX 8" -.TH HELPER-MUX 8 "2016-06-09" "perl v5.22.2" "User Contributed Perl Documentation" +.TH HELPER-MUX 8 "2016-07-01" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -u -r -N squid-4.0.11/tools/helper-mux/Makefile.in squid-4.0.12/tools/helper-mux/Makefile.in --- squid-4.0.11/tools/helper-mux/Makefile.in 2016-06-10 08:35:10.000000000 +1200 +++ squid-4.0.12/tools/helper-mux/Makefile.in 2016-07-02 01:29:06.000000000 +1200 @@ -421,7 +421,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -440,7 +439,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -456,7 +454,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -473,6 +470,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -546,9 +545,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -648,7 +644,7 @@ CLEANFILES = helper-mux $(am__append_2) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/tools/Makefile.in squid-4.0.12/tools/Makefile.in --- squid-4.0.11/tools/Makefile.in 2016-06-10 08:35:10.000000000 +1200 +++ squid-4.0.12/tools/Makefile.in 2016-07-02 01:29:06.000000000 +1200 @@ -547,7 +547,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -566,7 +565,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -582,7 +580,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -599,6 +596,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -672,9 +671,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -775,7 +771,7 @@ stub_cbdata.cc stub_libmem.cc STUB.h cachemgr.cgi.8 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) -I$(srcdir) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/tools/purge/Makefile.in squid-4.0.12/tools/purge/Makefile.in --- squid-4.0.11/tools/purge/Makefile.in 2016-06-10 08:35:11.000000000 +1200 +++ squid-4.0.12/tools/purge/Makefile.in 2016-07-02 01:29:06.000000000 +1200 @@ -491,7 +491,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -510,7 +509,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -526,7 +524,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -543,6 +540,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -616,9 +615,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -718,7 +714,7 @@ CLEANFILES = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/tools/squidclient/Makefile.in squid-4.0.12/tools/squidclient/Makefile.in --- squid-4.0.11/tools/squidclient/Makefile.in 2016-06-10 08:35:11.000000000 +1200 +++ squid-4.0.12/tools/squidclient/Makefile.in 2016-07-02 01:29:07.000000000 +1200 @@ -540,7 +540,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -559,7 +558,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -575,7 +573,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -592,6 +589,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -665,9 +664,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ @@ -767,7 +763,7 @@ CLEANFILES = test_tools.cc stub_debug.cc time.cc stub_libmem.cc STUB.h AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/lib -I$(top_srcdir)/src \ - -I$(top_builddir)/include $(SQUID_CPPUNIT_INC) $(KRB5INCS) \ + -I$(top_builddir)/include $(LIBCPPUNIT_CFLAGS) $(KRB5INCS) \ $(am__append_1) @ENABLE_XPROF_STATS_FALSE@LIBPROFILER = @ENABLE_XPROF_STATS_TRUE@LIBPROFILER = $(top_builddir)/lib/profiler/libprofiler.la diff -u -r -N squid-4.0.11/tools/systemd/Makefile.in squid-4.0.12/tools/systemd/Makefile.in --- squid-4.0.11/tools/systemd/Makefile.in 2016-06-10 08:35:11.000000000 +1200 +++ squid-4.0.12/tools/systemd/Makefile.in 2016-07-02 01:29:07.000000000 +1200 @@ -207,7 +207,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -226,7 +225,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -242,7 +240,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -259,6 +256,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -332,9 +331,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@ diff -u -r -N squid-4.0.11/tools/sysvinit/Makefile.in squid-4.0.12/tools/sysvinit/Makefile.in --- squid-4.0.11/tools/sysvinit/Makefile.in 2016-06-10 08:35:11.000000000 +1200 +++ squid-4.0.12/tools/sysvinit/Makefile.in 2016-07-02 01:29:07.000000000 +1200 @@ -207,7 +207,6 @@ CHMOD = @CHMOD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CPPUNITCONFIG = @CPPUNITCONFIG@ CRYPTLIB = @CRYPTLIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ @@ -226,7 +225,6 @@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ -ECAP_LIBS = @ECAP_LIBS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -242,7 +240,6 @@ FGREP = @FGREP@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ -ICAP_LIBS = @ICAP_LIBS@ INCLTDL = @INCLTDL@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -259,6 +256,8 @@ LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ LIBADD_DLOPEN = @LIBADD_DLOPEN@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ +LIBCPPUNIT_CFLAGS = @LIBCPPUNIT_CFLAGS@ +LIBCPPUNIT_LIBS = @LIBCPPUNIT_LIBS@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBLTDL = @LIBLTDL@ @@ -332,9 +331,6 @@ SMBCLIENT = @SMBCLIENT@ SNMPLIB = @SNMPLIB@ SQUID_CFLAGS = @SQUID_CFLAGS@ -SQUID_CPPUNIT_INC = @SQUID_CPPUNIT_INC@ -SQUID_CPPUNIT_LA = @SQUID_CPPUNIT_LA@ -SQUID_CPPUNIT_LIBS = @SQUID_CPPUNIT_LIBS@ SQUID_CXXFLAGS = @SQUID_CXXFLAGS@ SSLLIB = @SSLLIB@ STOREID_REWRITE_HELPERS = @STOREID_REWRITE_HELPERS@