From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 18 21:44:37 2003 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 666C116A4B3 for ; Sat, 18 Oct 2003 21:44:37 -0700 (PDT) Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mx1.FreeBSD.org (Postfix) with SMTP id 9167443FEC for ; Sat, 18 Oct 2003 21:44:34 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg137.cms.usa.net (165.212.11.137) by cmsoutbound.mx.net with SMTP; 19 Oct 2003 04:44:34 -0000 Received: from optimator.noacks.org [65.69.2.71] by uadvg137.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.11E) with ESMTP id 097HJseSf0359M37; Sun, 19 Oct 2003 04:44:31 GMT X-USANET-Auth: 65.69.2.71 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 027651A9; Sat, 18 Oct 2003 23:44:30 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28610-05; Sat, 18 Oct 2003 23:44:29 -0500 (CDT) Received: from alumni.rice.edu (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 75E2DF5; Sat, 18 Oct 2003 23:44:29 -0500 (CDT) Message-ID: <3F9216AB.4060909@alumni.rice.edu> Date: Sat, 18 Oct 2003 23:44:27 -0500 From: Jon Noack User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam McLaurin References: <20031019001346.2c2c77c7.adam.mclaurin@gmx.net> In-Reply-To: <20031019001346.2c2c77c7.adam.mclaurin@gmx.net> Content-Type: multipart/mixed; boundary="------------090307070102000206000806" X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-ports-bugs@freebsd.org cc: adrian@freebsd.org Subject: Re: www/squid to 2.5.STABLE4 ? X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 04:44:37 -0000 This is a multi-part message in MIME format. --------------090307070102000206000806 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I already submitted a PR for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/58090 All adrian@ has to do is commit it... As an alternative (while you wait), you may update the port yourself with the attached diff (replacing "/path/to" with the location you saved squid.diff): 1) login as root and cvsup ports tree 2) cd /usr/ports/www/squid 3) patch -p1 < /path/to/squid.diff 4) portupgrade squid (or whatever port update scheme you use) Steps 2 and 3 are the only ones added to the normal cvsup/portupgrade routine. NOTE: You may want to remove the .orig files generated after the patch to ensure you don't get confused after future cvsups. They shouldn't hurt anything but my BSD sense of order tells me they should go away :). This is what the patch process looks like for me: ****************************************************************** $ patch -p1 < ~noackjr/squid.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ruN /usr/ports/www/squid/Makefile squid/Makefile |--- /usr/ports/www/squid/Makefile Sun Jul 27 03:45:10 2003 |+++ squid/Makefile Wed Oct 15 14:06:01 2003 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 16. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ruN /usr/ports/www/squid/distinfo squid/distinfo |--- /usr/ports/www/squid/distinfo Sun Jul 27 03:45:11 2003 |+++ squid/distinfo Wed Oct 15 14:07:54 2003 -------------------------- Patching file distinfo using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ruN /usr/ports/www/squid/pkg-plist squid/pkg-plist |--- /usr/ports/www/squid/pkg-plist Sun Jul 27 03:45:11 2003 |+++ squid/pkg-plist Tue Sep 16 14:40:00 2003 -------------------------- Patching file pkg-plist using Plan A... Hunk #1 succeeded at 461. Hunk #2 succeeded at 871. done ****************************************************************** I have been using this for a week or so now with no issues. Jon Adam McLaurin said the following on 10/18/2003 11:13 PM: > http://www.squid-cache.org/Versions/v2/2.5/squid-2.5.STABLE3-STABLE4.diff > > diff -rupN squid-2.5.STABLE3/ChangeLog squid-2.5.STABLE4/ChangeLog > --- squid-2.5.STABLE3/ChangeLog Sun May 25 07:03:25 2003 > +++ squid-2.5.STABLE4/ChangeLog Sun Sep 14 17:44:48 2003 > @@ -1,3 +1,77 @@ > +Changes to squid-2.5.STABLE4 (15 Sep 2003): > + - Lithuanian error messages added to the distribution > + - Bug #660: segfauld if more than one custom deny_info line > + - cache_dir disd documentation cleanup > + - check open of /dev/null to avoid 100% CPU loop in badly > + configured chroot environments > + - documentation update on uri_whitespace to refer to the correct RFC > + - Bug #655: icmpRecv: recv: (11) Resource temporarily unavailable > + - Bug #683: external_acl does not wait for ident lookups to complete > + - aufs: Fix a minor use-after-free problem which could cause the > + count of opening filedescriptors to grow larger than it should > + - Syntax changes to make GCC-3.3 accept Squid without complaints > + - Warning if CARP server defined in incorrect load factor order > + - neighbor_type_domain documentation update > + - http_header_access now works when using cache peers > + - high_memory_warning now uses sbrk as fallback mechanism on > + platforms where neither mallinfo or mstats are available. > + - hosts_file now handles comments at the end of lines correcly > + - storeCheckCachable() Stats corrected for release_request and > + wrong_content_length. > + - cachePeerPingsSent MIB type corrected > + - unused minimum_retry_timeout directive removed > + - Bug #702: ERR_TO_BIG spanish translation > + - Bug #705: Memory leak on deny_info TCP_RESET > + - Code cleanup to fix compile error in httpHeaderDelById > + - Bug #699: Host header now forwarded exactly where it was in the > + original request to work around certain broken firewalls or > + load balancers which fail if this header is too far into the > + request headers. > + - Bug #704: Memory leak on reply_body_max_size > + - Bug #686: requests denied due to http_reply_access are now > + logged with TCP_DENIED (instead of TCP_MISS, etc). > + - Bug #708: ie_refresh now sends no-cache to have the reload > + request propagate properly in cache meshes > + - Bug #700: Crashes related to ftpTimeout: timeout in SENT_PASV state > + - Bug #709: cbdata.c:186: "c->valid" assertion due to peer > + digest not found > + - Bug #710: round-robin cache_dir selection incorrectly > + compares max-size. > + - Statistics corrections in HTTP header statitics > + - QUICKSTART cleanups > + - Bug #715: statCounter.syscalls.disk counters treated > + inconsistently. Now increment the counters in AUFS > + functions and for unlinkd. > + - Improvements to the (experimental) COSS storage scheme. > + - Bug #721: User name field in access.log sometimes blank > + - Bug #94: assertion failed: http.c: "-1 == cfd || > + FD_SOCKET == fd_table[cfd].type" > + - Bug #716: assertion failed: client_side.c:1478: "size > 0" > + - Bug #732: aufs calculates number of threads and limits wrongly > + - Bug #663: Username not logged into access.log in case of /407 > + - Bug #267: Form POSTing troubles with NTLM authentication > + and occationally in differen other error conditions. > + - Bug #736: ICP dynamic timeout algorithm ignores multicast. > + - Bug #733: No explicit error message when ncsa_auth can't access > + passwd file > + - Bug #267, #757: POST with NTLM stops after persistent connection > + timeout > + - Bug #742: Wrong status code on access denials if delay_access > + is used. Most notably 407 instead of 403 could be returned. > + - Bug #763: segfault if using ntlm in http_reply_access > + - Bug #638: assertion error if using proxy_auth in delay_access > + - Bug #756: segmentation fault if using ntlm proxy_auth in delay_access > + - The issue of reply_body_max_size limiting the size of error > + messages no longer applies. > + - external_acl_type concurrency= option renamed to children= to > + prepare for Squid-3 upgrades. Old syntax still accepted for the > + duration of the Squid-2.5 release. > + - number of filedescriptors rounded down to an even multiple of 64 > + to work around issues in certain libc implementations. > + - winbind helpers less noisy in cache.log on restarts/shutdown. > + - Squid now automatically restarts helpers if too many of them > + have crashed. > + > > ****** > > > Any chance of getting www/squid updated to 2.5.STABLE4 soon? There's a couple > bug fixes in there that I'd love to get my hands on. Is updating the port overly > complex? > > Thanks. -- Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi. - Larry Wall --------------090307070102000206000806 Content-Type: text/plain; name="squid.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="squid.diff" diff -ruN /usr/ports/www/squid/Makefile squid/Makefile --- /usr/ports/www/squid/Makefile Sun Jul 27 03:45:10 2003 +++ squid/Makefile Wed Oct 15 14:06:01 2003 @@ -7,7 +7,7 @@ PORTNAME= squid PORTVERSION= 2.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -16,34 +16,15 @@ ftp://ftp.net.lut.ac.uk/squid/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,} MASTER_SITE_SUBDIR= squid-2/STABLE -DISTNAME= squid-2.5.STABLE3 +DISTNAME= squid-2.5.STABLE4 EXTRACT_SUFX= .tar.bz2 DIST_SUBDIR= squid2.5 PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ -PATCHFILES= squid-2.5.STABLE3-deny_info.patch \ - squid-2.5.STABLE3-cache_dir_doc.patch \ - squid-2.5.STABLE3-devnull.patch \ - squid-2.5.STABLE3-log_quote.patch \ - squid-2.5.STABLE3-rfc_reference.patch \ - squid-2.5.STABLE3-external_acl_ident.patch \ - squid-2.5.STABLE3-gcc-3_3.patch \ - squid-2.5.STABLE3-carpfactor.patch \ - squid-2.5.STABLE3-neighbor_type_domain.patch \ - squid-2.5.STABLE3-header_access_peer.patch \ - squid-2.5.STABLE3-memwarnsbrk.patch \ - squid-2.5.STABLE3-hostscomments.patch \ - squid-2.5.STABLE3-store_check_cachable_stats.patch \ - squid-2.5.STABLE3-cachePeerPingsSentsnmp.patch \ - squid-2.5.STABLE3-minimum_retry_timeout.patch \ - squid-2.5.STABLE3-tcp_reset_leak.patch \ - squid-2.5.STABLE3-hostheader.patch \ - squid-2.5.STABLE3-reply_body_max_size.patch \ - squid-2.5.STABLE3-ie_refresh.patch \ - squid-2.5.STABLE3-http_reply_access-denied.patch \ - squid-2.5.STABLE3-SENT_PASV.patch \ - squid-2.5.STABLE3-peer_digest_not_found_assertion.patch \ - squid-2.5.STABLE3-round_robin_max_size.patch +PATCHFILES= squid-2.5.STABLE4-reconfigure_message.patch \ + squid-2.5.STABLE4-digest_auth_pwchange.patch \ + squid-2.5.STABLE4-redirect_login_space.patch \ + squid-2.5.STABLE4-fqdnnegcache.patch PATCH_DIST_STRIP= -p1 MAINTAINER= adrian@freebsd.org diff -ruN /usr/ports/www/squid/distinfo squid/distinfo --- /usr/ports/www/squid/distinfo Sun Jul 27 03:45:11 2003 +++ squid/distinfo Wed Oct 15 14:07:54 2003 @@ -1,24 +1,5 @@ -MD5 (squid2.5/squid-2.5.STABLE3.tar.bz2) = ed5eb7835d00fdecc7dd7c1837542df2 -MD5 (squid2.5/squid-2.5.STABLE3-deny_info.patch) = fd6d2d1a5a75b06e86b743f51866c861 -MD5 (squid2.5/squid-2.5.STABLE3-cache_dir_doc.patch) = e7f6d2bd28430e10999b12001cbb4cae -MD5 (squid2.5/squid-2.5.STABLE3-devnull.patch) = a31d669461e2893996f27b5d10ab06b9 -MD5 (squid2.5/squid-2.5.STABLE3-log_quote.patch) = 9e391cbb39226abc89281cd4138ddb98 -MD5 (squid2.5/squid-2.5.STABLE3-rfc_reference.patch) = 48996215282d80caf3b5cbbbdb7965b7 -MD5 (squid2.5/squid-2.5.STABLE3-external_acl_ident.patch) = a7ab2152b202bf9941ee8200f20b3032 -MD5 (squid2.5/squid-2.5.STABLE3-gcc-3_3.patch) = 49195dd7f3745c0f54c0ca07068b2d67 -MD5 (squid2.5/squid-2.5.STABLE3-carpfactor.patch) = ac2a5f8304b29951ee3579cce10a6ea6 -MD5 (squid2.5/squid-2.5.STABLE3-neighbor_type_domain.patch) = 3edd72ec42e0b49b36096a6a8fff6b2a -MD5 (squid2.5/squid-2.5.STABLE3-header_access_peer.patch) = 5015f95e0db20ddcb25082a92f8861a8 -MD5 (squid2.5/squid-2.5.STABLE3-memwarnsbrk.patch) = 47cc7566f9584c6f8c764afcb95ce636 -MD5 (squid2.5/squid-2.5.STABLE3-hostscomments.patch) = dabea14824e5b3d48b211c933471036a -MD5 (squid2.5/squid-2.5.STABLE3-store_check_cachable_stats.patch) = 04477bf0722026a67bbd6954b02c9374 -MD5 (squid2.5/squid-2.5.STABLE3-cachePeerPingsSentsnmp.patch) = b0ecd095062a21d72b15a817f4e821b5 -MD5 (squid2.5/squid-2.5.STABLE3-minimum_retry_timeout.patch) = b265b000b2f5d48a385f68c6d987cbea -MD5 (squid2.5/squid-2.5.STABLE3-tcp_reset_leak.patch) = 49c5aeb54467e7cbf44edd2271006bb3 -MD5 (squid2.5/squid-2.5.STABLE3-hostheader.patch) = b786122d2353e1e607d1d02e18a86b61 -MD5 (squid2.5/squid-2.5.STABLE3-reply_body_max_size.patch) = f869e793478ad6c3c706424d0236dcaa -MD5 (squid2.5/squid-2.5.STABLE3-ie_refresh.patch) = 82bfba0cde950541c6aef5e8b52db010 -MD5 (squid2.5/squid-2.5.STABLE3-http_reply_access-denied.patch) = 2abe9bd50e6561251dfd96d2583d15bc -MD5 (squid2.5/squid-2.5.STABLE3-SENT_PASV.patch) = c394ec388054b1f86d419006250400bd -MD5 (squid2.5/squid-2.5.STABLE3-peer_digest_not_found_assertion.patch) = f071e6e3ba5a56ce5d0350d7528b597c -MD5 (squid2.5/squid-2.5.STABLE3-round_robin_max_size.patch) = 081a220c874765395394baa4482a8913 +MD5 (squid2.5/squid-2.5.STABLE4.tar.bz2) = 9894a1fe855b0cccdc14fbf014060990 +MD5 (squid2.5/squid-2.5.STABLE4-reconfigure_message.patch) = a746143deab8b609730660916a297618 +MD5 (squid2.5/squid-2.5.STABLE4-digest_auth_pwchange.patch) = e5020f5b87a92c4d9621ce25403d691b +MD5 (squid2.5/squid-2.5.STABLE4-redirect_login_space.patch) = 2374ed6dae7ef57c009e2428284d6b65 +MD5 (squid2.5/squid-2.5.STABLE4-fqdnnegcache.patch) = ae1b7cce41ca403ebd7115d4506b0c25 diff -ruN /usr/ports/www/squid/pkg-plist squid/pkg-plist --- /usr/ports/www/squid/pkg-plist Sun Jul 27 03:45:11 2003 +++ squid/pkg-plist Tue Sep 16 14:40:00 2003 @@ -461,6 +461,30 @@ etc/squid/errors/Korean/ERR_URN_RESOLVE etc/squid/errors/Korean/ERR_WRITE_ERROR etc/squid/errors/Korean/ERR_ZERO_SIZE_OBJECT +etc/squid/errors/Lithuanian/ERR_ACCESS_DENIED +etc/squid/errors/Lithuanian/ERR_CACHE_ACCESS_DENIED +etc/squid/errors/Lithuanian/ERR_CACHE_MGR_ACCESS_DENIED +etc/squid/errors/Lithuanian/ERR_CANNOT_FORWARD +etc/squid/errors/Lithuanian/ERR_CONNECT_FAIL +etc/squid/errors/Lithuanian/ERR_DNS_FAIL +etc/squid/errors/Lithuanian/ERR_FORWARDING_DENIED +etc/squid/errors/Lithuanian/ERR_FTP_DISABLED +etc/squid/errors/Lithuanian/ERR_FTP_FAILURE +etc/squid/errors/Lithuanian/ERR_FTP_PUT_CREATED +etc/squid/errors/Lithuanian/ERR_FTP_PUT_ERROR +etc/squid/errors/Lithuanian/ERR_FTP_PUT_MODIFIED +etc/squid/errors/Lithuanian/ERR_INVALID_REQ +etc/squid/errors/Lithuanian/ERR_INVALID_URL +etc/squid/errors/Lithuanian/ERR_LIFETIME_EXP +etc/squid/errors/Lithuanian/ERR_NO_RELAY +etc/squid/errors/Lithuanian/ERR_ONLY_IF_CACHED_MISS +etc/squid/errors/Lithuanian/ERR_READ_ERROR +etc/squid/errors/Lithuanian/ERR_READ_TIMEOUT +etc/squid/errors/Lithuanian/ERR_SOCKET_FAILURE +etc/squid/errors/Lithuanian/ERR_UNSUP_REQ +etc/squid/errors/Lithuanian/ERR_URN_RESOLVE +etc/squid/errors/Lithuanian/ERR_WRITE_ERROR +etc/squid/errors/Lithuanian/ERR_ZERO_SIZE_OBJECT etc/squid/errors/Polish/ERR_ACCESS_DENIED etc/squid/errors/Polish/ERR_CACHE_ACCESS_DENIED etc/squid/errors/Polish/ERR_CACHE_MGR_ACCESS_DENIED @@ -847,6 +871,7 @@ @dirrm etc/squid/errors/Italian @dirrm etc/squid/errors/Japanese @dirrm etc/squid/errors/Korean +@dirrm etc/squid/errors/Lithuanian @dirrm etc/squid/errors/Polish @dirrm etc/squid/errors/Portuguese @dirrm etc/squid/errors/Romanian --------------090307070102000206000806--