Created attachment 525 [details] Add squid package Caching proxy for HTTP, HTTPS and FTP. This package disables HTCP, WCCP and SNMP AgentX support in squid to keep the binary as small as possible.
+SQUID_MAKE_OPT = HOSTCXX=g++ should probably be +SQUID_MAKE_OPT = HOSTCXX=$(CXX_FOR_BUILD) BTW, why not using directly the CXX_FOR_BUILD environment variable in the configure.in/Makefile.am of Squid ? These environment variables are already passed to the ./configure script. It's probably not needed in this case, but passing CXXFLAGS_FOR_BUILD might also be a good thing, since it is used to pass the correct -I flags to the host headers in the $(HOST_DIR).
The patch is a rip from gentoo, so yeah it could be updated to avoid the kludge. This package is a good example of the usefulness of the HOOK_POST_UNINSTALL i've mentioned in irc. The uninstall target from the Makefile fails to remove some stuff, most notably from $(TARGET_DIR)/usr/share/errors and $(TARGET_DIR)/usr/share/icons IIRC. I'll rework the patch, this package is low priority though - better get it right than stick it for 2009.08.
Created attachment 527 [details] Add squid package (2)
Thanks for the improvements. The patch looks good now (but I didn't test it). Could you also submit the squid patch upstream ?
http://www.squid-cache.org/bugs/show_bug.cgi?id=2662 Basically the only big change they need to do with respect to the original patch is consider that $build may be wrong thus just pick up CXX_FOR_BUILD or HOSTCXX in configure.
Created attachment 601 [details] New package: squid-3.0.STABLE17 Bump squid to 3.0.STABLE17, fixes some stability issues. Enable heap removal policies in the package build, keep squidclient (useful for stats) and bump threads/FDs to handle some moderate load.
Created attachment 739 [details] New package squid-3.0STABLE19 Bump to squid-3.0STABLE19, bugfixes.
Created attachment 781 [details] New package squid-3.0STABLE20 Bump again to 3.0STABLE20.
Created attachment 801 [details] squid-3.0.STABLE20 package Enabled transparent netfilter mode. Enabled SSL mode when openssl is installed.
Created attachment 863 [details] New package squid-3.0STABLE21 Bump to 3.0STABLE21.
Move milestone to 2010.05 since enhancements will not be handled before the release of 2010.02.
Committed, thanks