From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 27 19:20:29 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7B1616A41F for ; Mon, 27 Jun 2005 19:20:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D4AA43D5D for ; Mon, 27 Jun 2005 19:20:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5RJKSCm012838 for ; Mon, 27 Jun 2005 19:20:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5RJKShm012837; Mon, 27 Jun 2005 19:20:28 GMT (envelope-from gnats) Resent-Date: Mon, 27 Jun 2005 19:20:28 GMT Resent-Message-Id: <200506271920.j5RJKShm012837@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas-Martin Seck Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9637816A41C for ; Mon, 27 Jun 2005 19:19:46 +0000 (GMT) (envelope-from tmseck@netcologne.de) Received: from smtp4.netcologne.de (smtp4.netcologne.de [194.8.194.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2530543D49 for ; Mon, 27 Jun 2005 19:19:45 +0000 (GMT) (envelope-from tmseck@netcologne.de) Received: from laurel.tmseck.homedns.org (xdsl-213-196-251-3.netcologne.de [213.196.251.3]) by smtp4.netcologne.de (Postfix) with SMTP id 44893DA6C2 for ; Mon, 27 Jun 2005 21:19:44 +0200 (CEST) Received: (qmail 797 invoked by uid 1001); 27 Jun 2005 19:20:05 -0000 Message-Id: <20050627192005.796.qmail@laurel.tmseck.homedns.org> Date: 27 Jun 2005 19:20:05 -0000 From: Thomas-Martin Seck To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/82703: [Maintainer] www/squid: integrate vendor patches X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas-Martin Seck List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 19:20:30 -0000 >Number: 82703 >Category: ports >Synopsis: [Maintainer] www/squid: integrate vendor patches >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jun 27 19:20:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Thomas-Martin Seck >Release: FreeBSD 4.11-STABLE i386 >Organization: a private site in Germany >Environment: FreeBSD ports collection as of June 27, 2005. >Description: - Integrate the following vendor patches as published on : + double content-length often harmless (squid bug #1305) + update spanish error pages + squid internal icons were served with slightly incorrect headers (squid bug #1275) + squid -k fails in combination with chroot (squid bug #1307) + core dump with --enable-ipf-transparent if access to NAT device is denied (squid bug #1313) + http_accel_single_host incompatible with redirection (squid bug #1314) + squid -k reconfigure caused data corruption when a cache_dir type had been changed (squid bug #1308) + SNMP getnext failed if the given OID was outside the squid MIB (squid bug #1317) - Update the follow_XFF patch accordingly >How-To-Repeat: >Fix: Apply this patch: Index: distinfo =================================================================== --- distinfo (.../www/squid) (revision 520) +++ distinfo (.../local/squid) (revision 520) @@ -1,2 +1,18 @@ MD5 (squid2.5/squid-2.5.STABLE10.tar.bz2) = e6db8bdfc783b3baed7de803c9a39e55 SIZE (squid2.5/squid-2.5.STABLE10.tar.bz2) = 1069922 +MD5 (squid2.5/squid-2.5.STABLE10-content_length.patch) = a3cc2465b99792e48c70963e0d08b1e0 +SIZE (squid2.5/squid-2.5.STABLE10-content_length.patch) = 1879 +MD5 (squid2.5/squid-2.5.STABLE10-spanish.patch) = 7542771b1f5581661aeddffff424bb74 +SIZE (squid2.5/squid-2.5.STABLE10-spanish.patch) = 17111 +MD5 (squid2.5/squid-2.5.STABLE10-internal_date.patch) = fe87792a7351c7d7a81a7b78f510ad60 +SIZE (squid2.5/squid-2.5.STABLE10-internal_date.patch) = 8150 +MD5 (squid2.5/squid-2.5.STABLE10-chroot.patch) = 2ba246a5ea04b0f2664d10baf151608d +SIZE (squid2.5/squid-2.5.STABLE10-chroot.patch) = 3062 +MD5 (squid2.5/squid-2.5.STABLE10-transparent.patch) = 225cc597ae5e7b8951e96ce2656263c1 +SIZE (squid2.5/squid-2.5.STABLE10-transparent.patch) = 4702 +MD5 (squid2.5/squid-2.5.STABLE10-redirect_flags.patch) = 3ab3faa007c77b763d4b11af5ebe694a +SIZE (squid2.5/squid-2.5.STABLE10-redirect_flags.patch) = 945 +MD5 (squid2.5/squid-2.5.STABLE10-cache_dir_change.patch) = f22729393ededbe82acdf23bb298715b +SIZE (squid2.5/squid-2.5.STABLE10-cache_dir_change.patch) = 2843 +MD5 (squid2.5/squid-2.5.STABLE10-snmp_getnext.patch) = 187e8312b9c3b1f80ce78eb6470f4d6d +SIZE (squid2.5/squid-2.5.STABLE10-snmp_getnext.patch) = 1012 Index: files/follow_xff-2.5.patch =================================================================== --- files/follow_xff-2.5.patch (.../www/squid) (revision 520) +++ files/follow_xff-2.5.patch (.../local/squid) (revision 520) @@ -341,15 +341,14 @@ ch.src_addr = r->client_addr; ch.my_addr = r->my_addr; ch.my_port = r->my_port; -Index: src/structs.h -*** src/structs.h.orig Wed Oct 6 00:56:14 2004 ---- src/structs.h Mon Oct 18 20:23:13 2004 +*** src/structs.h.orig Sun Jun 26 12:45:58 2005 +--- src/structs.h Sun Jun 26 12:48:45 2005 *************** -*** 609,614 **** ---- 609,619 ---- - int relaxed_header_parser; +*** 610,615 **** +--- 610,620 ---- int accel_uses_host_header; int accel_no_pmtu_disc; + int global_internal_static; + #if FOLLOW_X_FORWARDED_FOR + int acl_uses_indirect_client; + int delay_pool_uses_indirect_client; @@ -359,8 +358,8 @@ acl *aclList; struct { *************** -*** 627,632 **** ---- 632,640 ---- +*** 631,636 **** +--- 636,644 ---- acl_access *reply; acl_address *outgoing_address; acl_tos *outgoing_tos; @@ -371,8 +370,8 @@ acl_deny_info_list *denyInfoList; struct _authConfig { *************** -*** 1623,1628 **** ---- 1631,1641 ---- +*** 1620,1625 **** +--- 1628,1638 ---- unsigned int internal:1; unsigned int body_sent:1; unsigned int reset_tcp:1; @@ -385,8 +384,8 @@ struct _link_list { *************** -*** 1669,1674 **** ---- 1682,1690 ---- +*** 1666,1671 **** +--- 1679,1687 ---- int max_forwards; /* these in_addr's could probably be sockaddr_in's */ struct in_addr client_addr; @@ -397,8 +396,8 @@ unsigned short my_port; HttpHeader header; *************** -*** 1680,1685 **** ---- 1696,1706 ---- +*** 1677,1682 **** +--- 1693,1703 ---- const char *vary_headers; /* Used when varying entities are detected. Changes how the store key is calculated */ BODY_HANDLER *body_reader; void *body_reader_data; Index: Makefile =================================================================== --- Makefile (.../www/squid) (revision 520) +++ Makefile (.../local/squid) (revision 520) @@ -66,7 +66,7 @@ PORTNAME= squid PORTVERSION= 2.5.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -79,7 +79,14 @@ DIST_SUBDIR= squid2.5 PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ -PATCHFILES= +PATCHFILES= squid-2.5.STABLE10-content_length.patch \ + squid-2.5.STABLE10-spanish.patch \ + squid-2.5.STABLE10-internal_date.patch \ + squid-2.5.STABLE10-chroot.patch \ + squid-2.5.STABLE10-transparent.patch \ + squid-2.5.STABLE10-redirect_flags.patch \ + squid-2.5.STABLE10-cache_dir_change.patch \ + squid-2.5.STABLE10-snmp_getnext.patch PATCH_DIST_STRIP= -p1 MAINTAINER= tmseck@netcologne.de >Release-Note: >Audit-Trail: >Unformatted: