Mon May 4 09:13:35 2015 UTC ()
Changes 3.5.4:
* Fix X509 server certificate domain matching
* Bug 3775: Disable HTTP/1.1 pipeline feature for pinned connections
* Cleanup: Display correct error code in debugging output for IoCallback::finish
* Cleanup: Fix spelling error in debug message in parseHttpRequest()
* Cleanup: Add whitespace to make debug message in writeComplete() more readable
* Add Kerberos support for MAC OS X 10.x
* Bug 4234: comm_connect_addr uses errno incorrectly
* Fix 'access_log none' to prevent following logs being used
* Unexpected SQUID_X509_V_ERR_DOMAIN_MISMATCH errors while accessing sites with valid certificates
* Docs: Update CONTRIBUTORS
* Ensure class Lock counter remains within bounds
* Portability: Add hacks to define C++11 explicit N-bit type limits
* Fix SSL_get_peer_certificate memory leak
* Bug 4231 pt2: comm_open_uds does not provide description for newly opened FD
* Bug 4231 pt1: fd_open() not correctly handling empty descriptions
* Negotiate Kerberos authentication request size exceeds output buffer size.
* Do not increment an iterator invalidated by std::map::erase().
* Fix require-proxy-header preventing HTTPS proxying and ssl-bump
* Fix atomics check broken by C++11 #include added in v3.5 branch r13783
* Support for resuming TLS sessions
* Bug 4212: ssl_crtd crashes with corrupt database
* Fix rev.13795 ServerName class
* Add server_name ACL matching server name(s) obtained from various sources
* Bug 4226: digest_edirectory_auth: found but cannot be built
* Invalid request->clientConnectionManager object used by Ssl::PeerConnector::handleNegotiateError
* Bug 4198: assertion failed: client_side.h:364: "sslServerBump == srvBump"
* Fix cross-compile issues with SSL_get_certificate()
* Docs: RFC 7238 obsoleted by RFC 7538
* Boilerplate: reference Translator copyrights in CREDITS
* Cleanup: Place explicit size on ref-count lock counter
* Cleanup: extend SBuf debugging information
* digest_edirectory_auth: Fix -lnettle dependency error


(adam)
diff -r1.44 -r1.45 pkgsrc/www/squid3/Makefile
diff -r1.31 -r1.32 pkgsrc/www/squid3/distinfo
diff -r1.15 -r1.16 pkgsrc/www/squid3/options.mk
diff -r1.5 -r1.6 pkgsrc/www/squid3/patches/patch-configure

cvs diff -r1.44 -r1.45 pkgsrc/www/squid3/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/www/squid3/Attic/Makefile 2015/02/19 01:10:23 1.44
+++ pkgsrc/www/squid3/Attic/Makefile 2015/05/04 09:13:34 1.45
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.44 2015/02/19 01:10:23 taca Exp $ 1# $NetBSD: Makefile,v 1.45 2015/05/04 09:13:34 adam Exp $
2 2
3DISTNAME= squid-3.5.2 3DISTNAME= squid-3.5.4
4CATEGORIES= www 4CATEGORIES= www
5MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ \ 5MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ \
6 ftp://ftp.squid-cache.org/pub/squid/ \ 6 ftp://ftp.squid-cache.org/pub/squid/ \
7 http://ftp.nluug.nl/internet/squid/ 7 http://ftp.nluug.nl/internet/squid/
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.squid-cache.org/ 11HOMEPAGE= http://www.squid-cache.org/
12COMMENT= Post-Harvest_cached WWW proxy cache and accelerator 12COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
13LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
14 14
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16USE_TOOLS+= perl:run gmake 16USE_TOOLS+= perl:run gmake

cvs diff -r1.31 -r1.32 pkgsrc/www/squid3/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/www/squid3/Attic/distinfo 2015/02/19 01:10:23 1.31
+++ pkgsrc/www/squid3/Attic/distinfo 2015/05/04 09:13:34 1.32
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: distinfo,v 1.31 2015/02/19 01:10:23 taca Exp $ 1$NetBSD: distinfo,v 1.32 2015/05/04 09:13:34 adam Exp $
2 2
3SHA1 (squid-3.5.2.tar.xz) = 9c546d72df741c9ddaa6da87baa2112503bcbb45 3SHA1 (squid-3.5.4.tar.xz) = 71a04a5f7c4c38464a8a08ae1089c47abcea0e49
4RMD160 (squid-3.5.2.tar.xz) = 57d93f15987adea3789219d633d9d9e7b1dc8b63 4RMD160 (squid-3.5.4.tar.xz) = 3bf031032aa131ebb58c859d56740e29e7a290a9
5Size (squid-3.5.2.tar.xz) = 2282116 bytes 5Size (squid-3.5.4.tar.xz) = 2289772 bytes
6SHA1 (patch-compat_compat.h) = d6cd93fa7a6d0faad3bf1aca8ae4fa5c984fe288 6SHA1 (patch-compat_compat.h) = d6cd93fa7a6d0faad3bf1aca8ae4fa5c984fe288
7SHA1 (patch-configure) = 2e9b7570bfc58285c5288075af35a283852c7492 7SHA1 (patch-configure) = 4e658ac4722695f52412f77e168f31a2f523bb1b
8SHA1 (patch-errors_Makefile.in) = afbac822ac84d5e1734d55fc625e949ae0b85289 8SHA1 (patch-errors_Makefile.in) = afbac822ac84d5e1734d55fc625e949ae0b85289
9SHA1 (patch-src_Makefile.in) = 7233a92a4f6ecc06d88e125f08f7413e0741f3b6 9SHA1 (patch-src_Makefile.in) = 7233a92a4f6ecc06d88e125f08f7413e0741f3b6
10SHA1 (patch-src_SquidNew.cc) = eef6e72e168cf7f40518fab13dc2f55ed0268db9 10SHA1 (patch-src_SquidNew.cc) = eef6e72e168cf7f40518fab13dc2f55ed0268db9
11SHA1 (patch-src_base_TidyPointer.h) = 93428d26bb2479fc845764a324658eaacd26588e 11SHA1 (patch-src_base_TidyPointer.h) = 93428d26bb2479fc845764a324658eaacd26588e
12SHA1 (patch-src_ip_Intercept.cc) = 80de6ca56d61e389641b35515e3509b264b1950f 12SHA1 (patch-src_ip_Intercept.cc) = 80de6ca56d61e389641b35515e3509b264b1950f
13SHA1 (patch-src_store.cc) = 055d98a59103b02a51876a5c8ffed9514954beb4 13SHA1 (patch-src_store.cc) = 055d98a59103b02a51876a5c8ffed9514954beb4
14SHA1 (patch-tools_Makefile.in) = 3a7678c63a11a35fabef091a3b18e63859f0796f 14SHA1 (patch-tools_Makefile.in) = 3a7678c63a11a35fabef091a3b18e63859f0796f

cvs diff -r1.15 -r1.16 pkgsrc/www/squid3/Attic/options.mk (expand / switch to unified diff)

--- pkgsrc/www/squid3/Attic/options.mk 2015/01/22 09:32:49 1.15
+++ pkgsrc/www/squid3/Attic/options.mk 2015/05/04 09:13:34 1.16
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: options.mk,v 1.15 2015/01/22 09:32:49 obache Exp $ 1# $NetBSD: options.mk,v 1.16 2015/05/04 09:13:34 adam Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.squid 3PKG_OPTIONS_VAR= PKG_OPTIONS.squid
4PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-aufs squid-backend-diskd \ 4PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-aufs squid-backend-diskd \
5 squid-backend-rock squid-backend-ufs squid-carp squid-unlinkd \ 5 squid-backend-rock squid-backend-ufs squid-carp squid-unlinkd \
6 squid-kerberos-helper squid-ldap-helper squid-pam-helper 6 squid-kerberos-helper squid-ldap-helper squid-pam-helper
7PKG_OPTIONS_LEGACY_OPTS+= diskd:squid-backend-diskd \ 7PKG_OPTIONS_LEGACY_OPTS+= diskd:squid-backend-diskd \
8 null:squid-backend-null ufs:squid-backend-ufs \ 8 null:squid-backend-null ufs:squid-backend-ufs \
9 linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ 9 linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \
10 pf-transparent:squid-pf unlinkd:squid-unlinkd \ 10 pf-transparent:squid-pf unlinkd:squid-unlinkd \
11 arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp 11 arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp
12 12
13PLIST_VARS+= diskd snmp unlinkd 13PLIST_VARS+= diskd snmp unlinkd
14PLIST_VARS+= ba_LDAP ba_NCSA ba_NIS ba_PAM ba_getpwnam 14PLIST_VARS+= ba_LDAP ba_NCSA ba_PAM ba_getpwnam
15PLIST_VARS+= da_file da_LDAP 15PLIST_VARS+= da_file da_LDAP
16PLIST_VARS+= na_sml_lm 16PLIST_VARS+= na_sml_lm
17PLIST_VARS+= ta_kerberos 17PLIST_VARS+= ta_kerberos
18PLIST_VARS+= eacl_file_userip eacl_LDAP_group eacl_unix_group 18PLIST_VARS+= eacl_file_userip eacl_LDAP_group eacl_unix_group
19PLIST_VARS+= ssl 19PLIST_VARS+= ssl
20 20
21PKG_SUGGESTED_OPTIONS= inet6 snmp ssl squid-backend-diskd squid-carp \ 21PKG_SUGGESTED_OPTIONS= inet6 snmp ssl squid-backend-diskd squid-carp \
22 squid-pam-helper squid-unlinkd 22 squid-pam-helper squid-unlinkd
23 23
24.include "../../mk/bsd.prefs.mk" 24.include "../../mk/bsd.prefs.mk"
25 25
26.if !empty(OPSYS:MLinux) 26.if !empty(OPSYS:MLinux)
27PKG_SUPPORTED_OPTIONS+= squid-netfilter 27PKG_SUPPORTED_OPTIONS+= squid-netfilter
@@ -49,27 +49,28 @@ PKG_SUGGESTED_OPTIONS+= squid-pf @@ -49,27 +49,28 @@ PKG_SUGGESTED_OPTIONS+= squid-pf
49.if ${OPSYS} == "Darwin" 49.if ${OPSYS} == "Darwin"
50PKG_SUPPORTED_OPTIONS+= squid-ipfw 50PKG_SUPPORTED_OPTIONS+= squid-ipfw
51PKG_SUGGESTED_OPTIONS+= squid-ipfw 51PKG_SUGGESTED_OPTIONS+= squid-ipfw
52.endif 52.endif
53 53
54# limited platform support squid-arp-acl 54# limited platform support squid-arp-acl
55.if !empty(OPSYS:MFreeBSD) || !empty(OPSYS:MNetBSD) || !empty(OPSYS:MOpenBSD) || !empty(OPSYS:MLinux) || !empty(OPSYS:MSunOS) 55.if !empty(OPSYS:MFreeBSD) || !empty(OPSYS:MNetBSD) || !empty(OPSYS:MOpenBSD) || !empty(OPSYS:MLinux) || !empty(OPSYS:MSunOS)
56PKG_SUPPORTED_OPTIONS+= squid-arp-acl 56PKG_SUPPORTED_OPTIONS+= squid-arp-acl
57.endif 57.endif
58 58
59.include "../../mk/bsd.options.mk" 59.include "../../mk/bsd.options.mk"
60 60
61SQUID_BACKENDS?= ufs 61SQUID_BACKENDS?= ufs
62SQUID_BASIC_AUTH_HELPERS?= NCSA NIS getpwnam 62# Note: NIS helper cannot be build; it requires crypt.h header file.
 63SQUID_BASIC_AUTH_HELPERS?= NCSA getpwnam
63SQUID_DIGEST_AUTH_HELPERS?= file 64SQUID_DIGEST_AUTH_HELPERS?= file
64SQUID_NTLM_AUTH_HELPERS?= fake smb_lm 65SQUID_NTLM_AUTH_HELPERS?= fake smb_lm
65SQUID_EXTERNAL_ACL_HELPERS?= file_userip unix_group 66SQUID_EXTERNAL_ACL_HELPERS?= file_userip unix_group
66 67
67# squid's code has preference as: 68# squid's code has preference as:
68# squid-ipf > squid-pf > squid-netfilter 69# squid-ipf > squid-pf > squid-netfilter
69# So, options.mk introduce preference as: 70# So, options.mk introduce preference as:
70# squid-netfilter > squid-pf > squid-ipf 71# squid-netfilter > squid-pf > squid-ipf
71.if !empty(PKG_OPTIONS:Msquid-netfilter) 72.if !empty(PKG_OPTIONS:Msquid-netfilter)
72CONFIGURE_ARGS+= --enable-linux-netfilter 73CONFIGURE_ARGS+= --enable-linux-netfilter
73.elif !empty(PKG_OPTIONS:Msquid-pf) 74.elif !empty(PKG_OPTIONS:Msquid-pf)
74CONFIGURE_ARGS+= --enable-pf-transparent 75CONFIGURE_ARGS+= --enable-pf-transparent
75.elif !empty(PKG_OPTIONS:Msquid-ipf) 76.elif !empty(PKG_OPTIONS:Msquid-ipf)

cvs diff -r1.5 -r1.6 pkgsrc/www/squid3/patches/Attic/patch-configure (expand / switch to unified diff)

--- pkgsrc/www/squid3/patches/Attic/patch-configure 2015/01/22 11:38:58 1.5
+++ pkgsrc/www/squid3/patches/Attic/patch-configure 2015/05/04 09:13:35 1.6
@@ -1,42 +1,24 @@ @@ -1,42 +1,24 @@
1$NetBSD: patch-configure,v 1.5 2015/01/22 11:38:58 obache Exp $ 1$NetBSD: patch-configure,v 1.6 2015/05/04 09:13:35 adam Exp $
2 2
3* int64_t GNU atomic operations are used, check them instead. 
4* Portability fix. 3* Portability fix.
5 4
6--- configure.orig 2015-01-13 12:54:26.000000000 +0000 5--- configure.orig 2015-05-01 11:29:25.000000000 +0000
7+++ configure 6+++ configure
8@@ -20128,8 +20128,14 @@ $as_echo "cross-compiler cant tell" >&6; 7@@ -32733,7 +32733,7 @@ done
9 else 
10 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
11 /* end confdefs.h. */ 
12- 
13- int n = 0; 
14+$ac_includes_default 
15+#ifdef HAVE_INTTYPES_H 
16+# include <inttypes.h> 
17+#endif 
18+#ifdef HAVE_STDINT_H 
19+# include <stdint.h> 
20+#endif 
21+ int64_t n = 0; 
22  
23 int 
24 main () 
25@@ -32600,7 +32606,7 @@ done 
26 ## Please see the COPYING and CONTRIBUTORS files for details. 8 ## Please see the COPYING and CONTRIBUTORS files for details.
27 ## 9 ##
28  10
29-if test "x$with_krb5" == "xyes"; then 11-if test "x$with_krb5" == "xyes"; then
30+if test "x$with_krb5" = "xyes"; then 12+if test "x$with_krb5" = "xyes"; then
31 BUILD_HELPER="kerberos" 13 BUILD_HELPER="kerberos"
32 fi 14 fi
33  15
34@@ -33141,7 +33147,7 @@ done 16@@ -33292,7 +33292,7 @@ done
35 ## Please see the COPYING and CONTRIBUTORS files for details. 17 ## Please see the COPYING and CONTRIBUTORS files for details.
36 ## 18 ##
37  19
38-if test "x$with_krb5" == "xyes"; then 20-if test "x$with_krb5" == "xyes"; then
39+if test "x$with_krb5" = "xyes"; then 21+if test "x$with_krb5" = "xyes"; then
40 BUILD_HELPER="kerberos_ldap_group" 22 BUILD_HELPER="kerberos_ldap_group"
41  23 if test "x$with_apple_krb5" = "xyes" ; then
42 squid_cv_check_sasl="auto" 24 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5