Re: [squid-users] Questions on FreeBSD port

From: Kurt Buff <kurt.buff_at_gmail.com>
Date: Sat, 1 Aug 2009 10:05:52 -0700

This worked just fine. I was able to upgrade, and all seems well.

I note the issues with the new release from today, and will look on
Monday to see if they are affecting our installation.

Many thanks for your help!

Kurt

On Thu, Jul 30, 2009 at 20:17, Amos Jeffries<squid3_at_treenet.co.nz> wrote:
> Kurt Buff wrote:
>>
>> I got a security notice from my squid box, and am trying to upgrade
>> it, without success. My command line is:
>>
>>        ./csupdoer.sh && portupgrade squid-3.0.15
>>
>> where the csupdoer.sh is just:
>>
>>     cd /usr/ports
>>     csup -L2 -z /root/csupfile && make fetchindex
>>     cd /root
>>
>> I get the following error output:
>>
>>     ===>  Applying FreeBSD patches for squid-3.0.17
>>     1 out of 1 hunks failed--saving rejects to src/HttpHeader.cc.rej
>>     1 out of 1 hunks failed--saving rejects to src/HttpHeader.h.rej
>>     => Patch patch-HttpHeader failed to apply cleanly.
>>     *** Error code 1
>>
>>     Stop in /usr/ports/www/squid30.
>>     *** Error code 1
>>
>>     Stop in /usr/ports/www/squid30.
>>     ** Command failed [exit code 1]: /usr/bin/script -qa
>> /tmp/portupgrade20090729-8913-10ps8hy-0 env UPGRADE_TOOL=portupgrade
>> UPGRADE_PORT=squid-3.0.15 UPGRADE_PORT_VER=3.0.15 make
>>     ** Fix the problem and try again.
>>     ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>>             ! www/squid30 (squid-3.0.15)    (patch error)
>>
>> I believe that this is a result of my applying some patches that gave
>> me the ability to filter some headers,
>>
>> My question: Have these patches been incorporated, and regardless of
>> the answer, how should I proceed to upgrade, so that I retain the
>> functionality that the patches I applied are in effect afterwards?
>
> Yes these patches have been added upstream.
> Remove them from the custom ones applied during build.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE17
>  Current Beta Squid 3.1.0.12
>
Received on Sat Aug 01 2009 - 17:06:01 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 12:00:06 MDT