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 errordiff -r1.44 -r1.45 pkgsrc/www/squid3/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= squid-3.5.2 | 3 | DISTNAME= squid-3.5.4 | |
4 | CATEGORIES= www | 4 | CATEGORIES= www | |
5 | MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ \ | 5 | MASTER_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/ | |
8 | EXTRACT_SUFX= .tar.xz | 8 | EXTRACT_SUFX= .tar.xz | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.squid-cache.org/ | 11 | HOMEPAGE= http://www.squid-cache.org/ | |
12 | COMMENT= Post-Harvest_cached WWW proxy cache and accelerator | 12 | COMMENT= Post-Harvest_cached WWW proxy cache and accelerator | |
13 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
14 | 14 | |||
15 | USE_LANGUAGES= c c++ | 15 | USE_LANGUAGES= c c++ | |
16 | USE_TOOLS+= perl:run gmake | 16 | USE_TOOLS+= perl:run gmake |
@@ -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 | |||
3 | SHA1 (squid-3.5.2.tar.xz) = 9c546d72df741c9ddaa6da87baa2112503bcbb45 | 3 | SHA1 (squid-3.5.4.tar.xz) = 71a04a5f7c4c38464a8a08ae1089c47abcea0e49 | |
4 | RMD160 (squid-3.5.2.tar.xz) = 57d93f15987adea3789219d633d9d9e7b1dc8b63 | 4 | RMD160 (squid-3.5.4.tar.xz) = 3bf031032aa131ebb58c859d56740e29e7a290a9 | |
5 | Size (squid-3.5.2.tar.xz) = 2282116 bytes | 5 | Size (squid-3.5.4.tar.xz) = 2289772 bytes | |
6 | SHA1 (patch-compat_compat.h) = d6cd93fa7a6d0faad3bf1aca8ae4fa5c984fe288 | 6 | SHA1 (patch-compat_compat.h) = d6cd93fa7a6d0faad3bf1aca8ae4fa5c984fe288 | |
7 | SHA1 (patch-configure) = 2e9b7570bfc58285c5288075af35a283852c7492 | 7 | SHA1 (patch-configure) = 4e658ac4722695f52412f77e168f31a2f523bb1b | |
8 | SHA1 (patch-errors_Makefile.in) = afbac822ac84d5e1734d55fc625e949ae0b85289 | 8 | SHA1 (patch-errors_Makefile.in) = afbac822ac84d5e1734d55fc625e949ae0b85289 | |
9 | SHA1 (patch-src_Makefile.in) = 7233a92a4f6ecc06d88e125f08f7413e0741f3b6 | 9 | SHA1 (patch-src_Makefile.in) = 7233a92a4f6ecc06d88e125f08f7413e0741f3b6 | |
10 | SHA1 (patch-src_SquidNew.cc) = eef6e72e168cf7f40518fab13dc2f55ed0268db9 | 10 | SHA1 (patch-src_SquidNew.cc) = eef6e72e168cf7f40518fab13dc2f55ed0268db9 | |
11 | SHA1 (patch-src_base_TidyPointer.h) = 93428d26bb2479fc845764a324658eaacd26588e | 11 | SHA1 (patch-src_base_TidyPointer.h) = 93428d26bb2479fc845764a324658eaacd26588e | |
12 | SHA1 (patch-src_ip_Intercept.cc) = 80de6ca56d61e389641b35515e3509b264b1950f | 12 | SHA1 (patch-src_ip_Intercept.cc) = 80de6ca56d61e389641b35515e3509b264b1950f | |
13 | SHA1 (patch-src_store.cc) = 055d98a59103b02a51876a5c8ffed9514954beb4 | 13 | SHA1 (patch-src_store.cc) = 055d98a59103b02a51876a5c8ffed9514954beb4 | |
14 | SHA1 (patch-tools_Makefile.in) = 3a7678c63a11a35fabef091a3b18e63859f0796f | 14 | SHA1 (patch-tools_Makefile.in) = 3a7678c63a11a35fabef091a3b18e63859f0796f |
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.squid | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.squid | |
4 | PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-aufs squid-backend-diskd \ | 4 | PKG_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 | |
7 | PKG_OPTIONS_LEGACY_OPTS+= diskd:squid-backend-diskd \ | 7 | PKG_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 | |||
13 | PLIST_VARS+= diskd snmp unlinkd | 13 | PLIST_VARS+= diskd snmp unlinkd | |
14 | PLIST_VARS+= ba_LDAP ba_NCSA ba_NIS ba_PAM ba_getpwnam | 14 | PLIST_VARS+= ba_LDAP ba_NCSA ba_PAM ba_getpwnam | |
15 | PLIST_VARS+= da_file da_LDAP | 15 | PLIST_VARS+= da_file da_LDAP | |
16 | PLIST_VARS+= na_sml_lm | 16 | PLIST_VARS+= na_sml_lm | |
17 | PLIST_VARS+= ta_kerberos | 17 | PLIST_VARS+= ta_kerberos | |
18 | PLIST_VARS+= eacl_file_userip eacl_LDAP_group eacl_unix_group | 18 | PLIST_VARS+= eacl_file_userip eacl_LDAP_group eacl_unix_group | |
19 | PLIST_VARS+= ssl | 19 | PLIST_VARS+= ssl | |
20 | 20 | |||
21 | PKG_SUGGESTED_OPTIONS= inet6 snmp ssl squid-backend-diskd squid-carp \ | 21 | PKG_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) | |
27 | PKG_SUPPORTED_OPTIONS+= squid-netfilter | 27 | PKG_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" | |
50 | PKG_SUPPORTED_OPTIONS+= squid-ipfw | 50 | PKG_SUPPORTED_OPTIONS+= squid-ipfw | |
51 | PKG_SUGGESTED_OPTIONS+= squid-ipfw | 51 | PKG_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) | |
56 | PKG_SUPPORTED_OPTIONS+= squid-arp-acl | 56 | PKG_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 | |||
61 | SQUID_BACKENDS?= ufs | 61 | SQUID_BACKENDS?= ufs | |
62 | SQUID_BASIC_AUTH_HELPERS?= NCSA NIS getpwnam | 62 | # Note: NIS helper cannot be build; it requires crypt.h header file. | |
63 | SQUID_BASIC_AUTH_HELPERS?= NCSA getpwnam | |||
63 | SQUID_DIGEST_AUTH_HELPERS?= file | 64 | SQUID_DIGEST_AUTH_HELPERS?= file | |
64 | SQUID_NTLM_AUTH_HELPERS?= fake smb_lm | 65 | SQUID_NTLM_AUTH_HELPERS?= fake smb_lm | |
65 | SQUID_EXTERNAL_ACL_HELPERS?= file_userip unix_group | 66 | SQUID_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) | |
72 | CONFIGURE_ARGS+= --enable-linux-netfilter | 73 | CONFIGURE_ARGS+= --enable-linux-netfilter | |
73 | .elif !empty(PKG_OPTIONS:Msquid-pf) | 74 | .elif !empty(PKG_OPTIONS:Msquid-pf) | |
74 | CONFIGURE_ARGS+= --enable-pf-transparent | 75 | CONFIGURE_ARGS+= --enable-pf-transparent | |
75 | .elif !empty(PKG_OPTIONS:Msquid-ipf) | 76 | .elif !empty(PKG_OPTIONS:Msquid-ipf) |
@@ -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 |